diff --git a/.ai/working-agreements.md b/.ai/working-agreements.md index fb60412..6585f14 100644 --- a/.ai/working-agreements.md +++ b/.ai/working-agreements.md @@ -1,7 +1,10 @@ # IronFlock development agreements Claude Code and Codex share these rules. The maintained copy is -`.ai/working-agreements.md` in the IronFlock organization’s `.github` repository. +`.ai/working-agreements.md` in the IronFlock organization’s `.github` repository; +every participating repository carries an identical copy. Repository-specific +guidance belongs in that repository's `AGENTS.md` and the documents it names, +not in a second copy of these rules. ## Working agreements @@ -16,23 +19,32 @@ Claude Code and Codex share these rules. The maintained copy is Never add attribution trailers or generated-by notices to Git messages or PRs. - Production changes, releases, and registry pushes require explicit authorization for the exact action. Do not hide production mutations in validation recipes. +- Permissions from earlier sessions, memory notes, or handoffs have expired. + Verify mutable state such as branches, deployments, and board status before + acting on it. - Never print secret-file contents or copy credentials into project knowledge. Do not describe private signing-key whereabouts in public documentation. +- Public repositories carry no chat transcripts, customer details, unreviewed + security findings, private roadmap, or internal process notes. - For code changes, add user-visible release notes for the version that will actually ship them, preserving existing entries. Documentation-only setup, tests, and invisible refactoring need no invented release-note entry. -## Shared knowledge +## Shared knowledge and handoffs -Store durable, verified project facts in `.ai/project.md`; store task status and -remaining work in `.ai/handoff.md`. Include evidence paths and distinguish -observations from assumptions. Shared files are reviewed repository content, -not an automatic mirror of either agent's private memory or chat history. +Store durable, verified project facts in `.ai/project.md` and open work in +`.ai/handoff.md`; remove a handoff entry once its work is merged. Include +evidence paths and distinguish observations from assumptions. These files are +reviewed repository content, not a mirror of either agent's private memory or +chat history. When a statement in a repository document is stale, correct that +document instead of adding an overriding note elsewhere. -Skills live in `.agents/skills/`; `.claude/skills/` contains relative links to -those same folders. Edit the canonical skill, not a duplicate. Tool permissions, -credentials, hooks, and agent-specific runtime settings remain separate. +One agent writes to a work package at a time. Before switching, the outgoing +agent records progress in the handoff and stops editing; the incoming agent +reads it and verifies it against the current branch and files. -Read `.ai/project.md` when present. When resuming work, read the relevant -handoff and verify it against the current branch and files. Record checks -and remaining work there when handing a task to another developer or agent. +Repository skills live in `.agents/skills/`; `.claude/skills/` contains relative +links to those same folders. Edit the canonical skill, not a duplicate. A skill +that spans several repositories is installed per user, not linked across +checkouts. Tool permissions, credentials, hooks, and agent-specific runtime +settings remain separate. diff --git a/CLAUDE.md b/CLAUDE.md index 72dcfdc..223a464 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,3 +7,4 @@ The full instructions are shared with GitHub Copilot and live in the file below: @.github/copilot-instructions.md @AGENTS.md +@.ai/working-agreements.md