Skip to content

docs: name roles, not models, in agent guidance - #79

Merged
TusanHomichi merged 2 commits into
mainfrom
docs/76-role-based-guidance
Oct 7, 2026
Merged

TusanHomichi merged 2 commits into
mainfrom
docs/76-role-based-guidance

Conversation

@TusanHomichi

@TusanHomichi TusanHomichi commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Primary Issue

Closes #76

Problem And Outcome

Tracked agent guidance named one vendor's models as the project's routing and a paused vendor by name, against the owner's rule that public LLM/agent guidance never names specific models. After merge, AGENTS.md, docs/workflow.md, and CONTRIBUTING.md speak only of roles — integrator, implementer, reviewer, worker, verifier, scout — routed by how a node's acceptance is decided; which model fills a role is each contributor's machine-local preference in files .gitignore now ignores. The same files gain the engineering-discipline pieces the recent review rounds kept re-deriving by hand: the correction ladder, "the codebase is memory", and gardening.

Changes

  • AGENTS.md: role vocabulary and the routing rule replace the model-routing paragraph; a concise correction-ladder / codebase-is-memory paragraph joins the module-size rules; the closing ownership paragraph says model-role mappings are machine-local.
  • docs/workflow.md: "Model routes and ownership" becomes "Roles and ownership" with a role table; the paused-vendor paragraph is removed; the graph template's owner field records a role; the instruction-loading section is tool-neutral and names what verification already is here (the browser suite driving the real binary; the task index in docs/development.md as the map).
  • CONTRIBUTING.md: "Correct the class, not the instance" — the four rungs, guard-first, one paved path, gardening as ordinary work.
  • .gitignore: .mcp.json, CLAUDE.local.md, .claude/ (as the sibling project ignores them).

Scope

Verification

  • Candidate revision: df3cb16cff8e81e7c3558958f66dfe593cc671a2 (review fixes folded into the single commit; differs from the gated tree abe1ccf only in .md/.yml/.gitignore files)
  • Evidence receipt links (commands, results, failures, and local/browser/hosted scope): full local sequence on abe1ccf (worktree /data/dev/src/consolebook-worktrees/76-role-based-guidance, 2026-10-07 21:30–21:41 UTC): npm ci/npm run check/npm run build clean; cargo fmt --check clean; cargo clippy --workspace --all-targets -- -D warnings clean (39 s); cargo test --workspace 26 binaries, 176 passed, 0 failed (155 s); cargo build -p consolebook-server; npm run e2e 56 passed (5.3 min, system Google Chrome). The server binary rebuilt at df3cb16 hashes identically to the gated one (1aeda8e052ee3421…), so the Rust and browser receipts bind to this head; the document checks (whitespace, links, model-name sweep, template YAML, ignore rule) were rerun on df3cb16. Hosted pr-gate on df3cb16: green (run 37691220722). 41e305c (two wording fixes from the automated review: the shim's phrase and the browser-suite claim; CLAUDE.md and docs/workflow.md only, binary unchanged) — green too (run 37692494855); no review threads open.
  • Listed the exact verification commands run below
  • Added or updated tests when behavior changed — not applicable (documentation and ignore rules; no behavior change)
  • Added or updated an ADR when a durable decision changed — not applicable (no product decision; workflow guidance per docs/workflow.md's own change rule)
  • All fixtures and examples are invented; no real agency data
- web/: npm ci, npm run check, npm run build
- cargo fmt --check
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test --workspace
- cargo build -p consolebook-server
- web/: CONSOLEBOOK_E2E_CHROMIUM=/usr/bin/google-chrome npm run e2e (system Google Chrome, not Playwright's bundled Chromium)
- git diff --check; relative links in the three changed Markdown files resolved; `git grep -i -E "gpt-6|astra|luna|deepseek|claude-|opus|sonnet|haiku|fable|codex" -- AGENTS.md docs/workflow.md CONTRIBUTING.md .agents .github` → none beyond tool-entrypoint file names; a copied `CLAUDE.local.md` shows as ignored (`!!`).

Fresh-session probe of effective instructions and of the role agents: the running session's agent roster and loaded instructions are fixed at start, so the edited entrypoints could not be re-verified from inside this session; recorded as the host limitation docs/workflow.md asks for.

Review And Merge Notes

  • Review focus: no model or vendor name survives in tracked guidance; the role vocabulary is used consistently across the three files; the new discipline text matches the sibling project's rule where the rule is the same and does not overclaim what a gate enforces.
  • Review performed (self, independent agent, or human; distinguish them): self-review of the diff by the integrator, then an independent read-only review by the reviewer role at abe1ccf — 17 findings (8 medium, 9 low), all accepted and folded into df3cb16 except one: the roles stay defined as a summary in AGENTS.md plus the table in docs/workflow.md, with the wording aligned so they no longer differ. Notable fixes: the rule now covers requested routes (observed runtime evidence follows the receipt rules); the work-item template's graph line records role/owner | effort; the verifier produces receipts the integrator posts; "point here" now points at AGENTS.md; rung 2 is "Mechanical enforcement"; the closed setup issue docs: establish an evidence-driven project workflow #71 is retired to a worked example. Gardening is written as an activity of ordinary work, not a seventh role. Per the new rule this change itself sits at rung 3; the rung-2 guard is filed as ci: guard tracked agent guidance against model and vendor names #78. The automated reviewer's threads, if any, will be answered on this PR.
  • Remaining authority or effort boundary, if any: no merge authority was granted; the merge decision is the maintainer's.
  • User or operator impact: none at runtime; contributor guidance only.

🤖 Generated with Claude Code

Tracked guidance named one vendor's models and a paused vendor as the
project's routing. Public agent guidance names roles — integrator,
implementer, reviewer, worker, verifier, scout — and routes by how a
node's acceptance is decided; which model fills a role is a
machine-local preference kept in ignored files, which .gitignore now
lists as Conary does. The work-item template's graph line records a
role and effort instead of a model.

Add the correction ladder, "the codebase is memory", and gardening to
the engineering discipline (summary in AGENTS.md, detail in
CONTRIBUTING.md), make the instruction-entrypoint text tool-neutral,
retire the closed setup issue to a worked example, and name what
end-to-end verification already is here: the browser suite driving the
real binary, with docs/development.md's task index as the map.

Closes #76. Refs #78 (the guard for this class).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T21:44:23.561253Z df3cb16 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df3cb16cff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread AGENTS.md Resolved
Comment thread docs/workflow.md Resolved
The entrypoint shim spoke of "Claude state" where it means any tool's
machine-local state, and the workflow page said every browser test
starts the compiled server when one spec exercises the harness itself.

Refs #76.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@TusanHomichi
TusanHomichi merged commit 0bcdb99 into main Oct 7, 2026
1 check passed
@TusanHomichi
TusanHomichi deleted the docs/76-role-based-guidance branch October 7, 2026 23:43
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.

docs: make agent guidance vendor-neutral and role-based

1 participant