-
Notifications
You must be signed in to change notification settings - Fork 34
Treat campaign orchestrator markdown (*.campaign.g.md) as debug artifacts #8508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add `*.campaign.g.md` to `.gitignore` to prevent committing generated files - Remove `*.campaign.g.md` from `.gitattributes` (no longer needed if not committed) - Update `ensureGitAttributes()` to remove obsolete campaign.g.md entries - Update `purgeOrphanedCampaignOrchestrators()` to no-op (files are now debug artifacts) - Update tests to verify campaign.g.md entries are NOT in .gitattributes - Remove previously tracked .campaign.g.md files from git (will be regenerated locally) - Add documentation comments explaining the new behavior Co-authored-by: mnkiefer <[email protected]>
These files are now treated as debug artifacts and should not be committed. They will be regenerated locally when running `gh aw compile`. Co-authored-by: mnkiefer <[email protected]>
Copilot
AI
changed the title
[WIP] Treat generated orchestrator markdown as debug artifact
Treat campaign orchestrator markdown (*.campaign.g.md) as debug artifacts
Jan 1, 2026
Contributor
|
@copilot: Update campaign spec documentation. |
Update all campaign documentation to clarify that .campaign.g.md files are: - Generated locally as debug artifacts during compilation - Not committed to git (in .gitignore) - Only source .campaign.md and compiled .campaign.g.lock.yml are tracked Changes: - Update campaign overview, specs, CLI commands, and getting started guides - Fix links in labs.mdx to point to .campaign.md instead of .campaign.g.md - Update workflow file list in copilot-cli-checksum-verification.md Co-authored-by: mnkiefer <[email protected]>
Contributor
Author
Updated campaign documentation to clarify that
Commit: 65c999d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Treat campaign orchestrator markdown as debug artifacts ✅
Summary
Campaign orchestrator markdown files (
*.campaign.g.md) are now treated as debug artifacts that are NOT committed to git. They are generated locally when runninggh aw compileand can be reviewed for debugging, but only the source and compiled files are tracked.Changes Implemented
*.campaign.g.mdto.gitignoreto prevent committing them*.campaign.g.mdfrom.gitattributes(no longer needed if not committed)ensureGitAttributes()to actively remove obsolete campaign.g.md entriespurgeOrphanedCampaignOrchestrators()to no-op (files are now debug artifacts).campaign.g.mdfiles from gitmake recompileand verify all workflows compile correctlyDocumentation Updates (Latest Commit)
.campaign.mdfilesFile Tracking Before vs After
Before:
After:
Verification
go test ./pkg/cli/gitattributes_test.go ./pkg/cli/git.go./gh-aw compile *.campaign.md.campaign.mdand.campaign.g.lock.ymlfiles remain trackedmake recompile.gitattributesno longer contains campaign.g.md entries.gitignorecontains campaign.g.md pattern with explanatory commentsDeveloper Experience
Developers can still:
gh aw compileto generate.campaign.g.mdfiles locally.campaign.g.lock.ymlfiles (which ARE committed).campaign.g.mdfiles manually if desired (they'll regenerate on next compile)Users never see the
.campaign.g.mdfiles in git diffs or PR reviews, reducing noise.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.