Never synchronize .agents/PROJECT.md between repositories - #64
Merged
Conversation
PROJECT.md is each repository's project-local instruction file — the one place a repo records what is true only of itself (endpoints, credentials, deployment recipes, issue tracker, conventions that override the shared corpus for that repo alone). It was matched by the .agents/ propagation pattern, so every push made the last repository to publish overwrite every other repository's context. Studio's file had been reduced to Chronicle's several times over, losing its issue-tracking, deployment and security-token sections each time. Exclude it unconditionally in the scripts rather than relying on each repository's .copilot-sync-ignore: that file only protects the repo it lives in, so a single repo without one clobbers all the others. Also exclude it from bootstrap's cleanup list so it is never deleted. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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
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.
Fixed
.agents/PROJECT.mdis no longer synchronized between repositories. It is each repository's project-local instruction file — the one place a repo records what is true only of itself (endpoints, credentials, deployment recipes, issue tracker, conventions that override the shared corpus for that repo alone) — and propagating it meant the last repository to publish overwrote every other repository's context..agents/PROJECT.mdamong the files it may delete, so cleanup can never remove a repository's own project context.The exclusion is unconditional in the propagation scripts rather than delegated to each repository's
.copilot-sync-ignore, because that file only protects the repository it lives in — one repo without one is enough to clobber all the others.🤖 Generated with Claude Code