Skip to content

Never synchronize .agents/PROJECT.md between repositories - #64

Merged
einari merged 1 commit into
mainfrom
fix/never-sync-project-md
Aug 10, 2026
Merged

Never synchronize .agents/PROJECT.md between repositories#64
einari merged 1 commit into
mainfrom
fix/never-sync-project-md

Conversation

@einari

@einari einari commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Fixed

  • .agents/PROJECT.md is 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.
  • Bootstrap no longer lists .agents/PROJECT.md among 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

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>
@einari
einari merged commit 5ae82e5 into main Aug 10, 2026
@einari
einari deleted the fix/never-sync-project-md branch August 10, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant