Agents Playbook
Pillars/Governance

Pillar — Governance

How multiple agents (and humans) coordinate work in one repo without subtracting each other's progress.

Pillar — Governance

How multiple agents (and humans) coordinate work in one repo without subtracting each other's progress.

Status

◐ Scoped, not yet detailed.

Scope

ConcernUniversal principleConcrete pattern
PR intent manifestEvery PR declares what it adds / removes / changes; reviewers verify against itpr-intent.yaml parsed by a gate; renames + removes require explicit removes: entries
Merge rulesMerges sum work, never subtractAgents may not git checkout --theirs/--ours without merge-override: \<reason\> annotation
Concurrent-agent awarenessOther agents may be editing the same filesSession start: git fetch, recheck issue state, look for in-flight PRs touching the same paths
One sub-unit per sessionBig phases split into discrete, shippable sub-unitsSub-unit defined before starting; no scope creep mid-session
Phased PR + admin mergeLong initiatives ship as a chain of phase PRsgh pr merge --merge --admin, delete branch, continue off fresh main
Removes-listListing removed exports forces intentionalityGate fails if a PR removes an exported symbol without a removes: entry
TombstonesRetire docs, plans, ADRs without losing trailPrepend a 🪦 status block; keep the body
Audit trailEvery privileged operation produces a signed ledger entrySee security pillar
Verify-first closeBefore fixing an issue, verify it's still open and not solved concurrentlygh issue view \<n\> --json state at session start and again before push

Non-negotiables

  1. No silent deletions. Removing another author's exported symbol requires a removes: entry + justification in PR intent.
  2. Decisions are written, not announced. ADR or RFC; see architecture pillar.
  3. Tombstone, do not delete. Trail beats clean.
  4. Verify before fixing. Concurrent agents may have closed the issue already.
  5. One PR = one sub-unit. No "while I'm here" expansions.

See also

Roadmap

  • universal.md
  • pr-intent-pattern.md
  • merge-rules-pattern.md
  • tombstone-pattern.md
  • phased-pr-pattern.md