ADR-003: Agent configuration lives in @gadhs/pi; claude-quickstart sunsets as the agent vehicle

Status

Accepted

Date

2026-08-31

Deciders

@bitskrieg (Chris Apsey)

Tags

standards, governance, template, guidance

Amends

ADR-002 (supersedes its sync-cutover direction; the never-edit rule for synced pages stands)

Context

ADR-002 positioned this repo as a downstream-in-spirit of the claude-quickstart template, with the intent of cutting over to the template’s mechanical sync once it grew a language-profile manifest and a non-cargo engine (tracked as #11). That plan assumed the template’s sync engine would remain the delivery mechanism for agency agent guidance.

Phase 2 shipped early and inverted the model. @gadhs/pi-modes now delivers the agency’s working agreements and four parity-pinned language profiles (Rust, TypeScript, Python, Java) by injecting them into every session at start; pi extension update is the sync, and there is nothing on disk to drift. Over the dogfood period the template’s agent-facing rules were recovered into this stack one by one, several in stronger form:

claude-quickstart rule @gadhs/pi home

coding-conventions (Rust judgment residue)

guidance/lang/rust.md, parity-pinned with three sibling profiles

commit-authoring

commit guard: format enforced, attribution appended by input mutation

pre-commit-token-protocol (single-use token + self-review honesty)

reflection review: a cold reader, never the author, on every commit — non-skippable by construction rather than by protocol

git-and-mr-workflow, gitlab-issue-mr-standards

guidance/global.md + main-branch / no-verify / glab-identity guards

judgment-protocols, preflight-and-delivery, plan-lifecycle, testing-discipline, test-authoring, security-baseline, memory-hygiene, macro-feedback

guidance/global.md sections, language profiles, /remember governance, SPDX-at-write, credential path denies

read-conventions-first

structural: pi loads AGENTS.md natively; the payload injects the rest

container-ops is Rust-repo operations, not agent configuration; it stays with the template. The operator has now ruled on the direction explicitly: claude-quickstart should bootstrap Rust repositories in the general sense; all agent configuration resides in gadhs/pi.

Decision

  1. @gadhs/pi is the agency’s delivery vehicle for agent-facing configuration — working agreements, language profiles, workflow guards, the reflection review, memory governance — for every language, including Rust.

  2. claude-quickstart’s scope narrows to Rust project bootstrapping: scaffolding, xtask, hooks' mechanical gates, CI, and the canonical agency-standards prose it hosts today. Its .claude/rules/* surface is proposed for sunset upstream (tracked in #11, rescoped).

  3. #11’s original ask is withdrawn. We do not need a profile-aware sync engine; the acceptance criterion "cut over to real sync when upstream ships profiles" is void. The rescoped #11 files the sunset proposal and this division of labor upstream as macro feedback.

  4. The synced standards pages under docs/modules/standards/ remain never-edit snapshots of the canonical prose (ADR-002’s rule stands). Their drift story changes: instead of waiting for a sync engine that will now never be asked for, drift is accepted as a manual re-sync duty when upstream canon changes, until/unless the standards component itself moves out of the template (a future decision, not this one).

Consequences

  • GADHS Rust repositories can adopt @gadhs/pi and shed the agent-facing half of the template; their xtask/hooks/scaffolding are untouched. The token-gated reflection protocol in their hooks is superseded by the per-commit cold review for repos that adopt pi — this repo ran both migrations and the experience informs the upstream proposal.

  • The check-docs deferral note no longer waits on an upstream manifest; it records the manual re-sync duty instead.

  • Anything agency-wide discovered in THIS repo goes into the payload, never into template rules — the payload is the single source that reaches everyone (already AGENTS.md policy; this ADR makes it the inter-repo policy too).

  • Two synced pages were REMOVED from this repo’s docs on 2026-08-31 under decision 4 above: claude-md-skeleton.adoc, which is entirely about maintaining .claude/CLAUDE.md — a file this repo does not have and whose mechanism this ADR supersedes — and migration-runbook.adoc, the runbook for migrating a downstream onto the sync engine, the direction this ADR reverses. The never-edit rule is intact: a snapshot whose prose no longer applies here is removed by a recorded decision, never quietly edited into something the upstream did not write. Both remain canonical upstream for the Rust downstreams that still use them.

Edit this page · latest