docs: adopt the fleet public-repo policy and its weekly sync - #82
Conversation
The shared AGENTS.md/CLAUDE.md policy for public repos goes at the top of AGENTS.md above the repo-specific marker; this repo's own content is kept below it unchanged. A thin caller keeps the synced part current. Claude-Session: https://claude.ai/code/session_01XQWqahhx8gRgbwi24BKwsv
WalkthroughThis PR introduces a reusable-workflow-driven sync system for keeping this repo's public-facing policy files (AGENTS.md and CLAUDE.md) aligned with a canonical template in the quadseven/infra-public repo. It adds a weekly GitHub Actions workflow that calls the shared sync job to detect drift and open a PR, and it populates/replaces the two files with the up-to-date template content plus a clearly marked Review effort: moderate (~15 min) Changed files (3)
Shape of the changegraph TD
subgraph "root"
N0["AGENTS.md"]
N1["CLAUDE.md"]
end
subgraph ".github"
N2["sync.public-repo-docs.yml"]
end
Last walked at |
Why
This repository is public but never received the fleet's public-repo write policy, the shared AGENTS.md and CLAUDE.md that say what may never be written into a public repository. The policy now also forbids mentioning a handle that is not part of the conversation, because the review bot's name is an unrelated real user's handle. That handle has already been notified by mistake. Tracked in infra#4472.
What changed
AGENTS.md: the canonical policy sits at the top, followed by the<!-- repo-specific below -->marker. Everything this file said before sits below the marker, unchanged byte for byte.CLAUDE.md: the canonical pointer to AGENTS.md (new file)..github/workflows/sync.public-repo-docs.yml: a thin caller of infra-public's reusable sync, pinned by SHA. Once a week it replaces only the part above the marker and opens a PR if the policy has moved.Acceptance criteria
Size: S
Out of scope
https://claude.ai/code/session_01XQWqahhx8gRgbwi24BKwsv