Skip to content
SprecherEast
Issue 695

tooling: Chief of staff, one worker and one reviewer agent; role guides loaded by path, helper duties as skills

Back to our plan
Done
enhancementtoolingpriority: highready

Type

enhancement

Summary

Build the one agent the owner talks to, in the leaner form he chose on 2026-11-06: a chief of staff that runs as the main session, hands each Ready issue to one temporary worker in its own worktree, and starts a fresh reviewer for each pull request. There are no standing helpers and no agent per role. The helpers' duties become procedures in the chief of staff's skill, and the twelve role guides stay plain files a worker loads by path through its brief (the owner's decision of 2026-11-24). This waits for the knowledge layer (#712).

Problem

The owner wants one agent to talk to, without managing sessions himself. The first plan added four helper agents and kept twelve role agents. The twelve role agent files differ only in which role guide they point to, and the research found no evidence that a standing manager layer improves results, while every extra agent costs tokens and loses context at each handoff (sources on #721 and in the operating model).

Proposed fix

  1. Chief of staff agent, run as the main session on the strongest model. It may not edit code, push or merge (use disallowedTools on the agent, not a repository-wide deny, because workers still merge their own reviewed pull requests). It may start only the worker and the reviewer.
  2. chief-of-staff skill (in .agents/skills/, with the Claude Code pointer). It holds:
    • the start-of-session routine: list the owner's open questions (oldest first, at most seven, one line each), then propose the next batch;
    • groom: write or rewrite an issue at high effort so a worker can follow it without guessing;
    • overlap check: compare Files likely touched, the shared hot spots and blockers before every claim;
    • review depth: look the level up in the scrutiny table; it is a lookup, not an agent;
    • dispatch brief: the objective, what done means, which role guides and knowledge notes to load, the files it may touch and the ones it must not.
  3. One worker agent that replaces the twelve role agent files: the standard model at medium effort, its own worktree, one issue. It loads the role guides its brief names. The brief names them because instructions an agent has to choose to open are often skipped (Vercel, opens in a new tab).
  4. Role guides as plain files (owner's decision, 2026-11-24, replacing the earlier plan to make them skills). Each guide in docs/roles/ is loaded by path through the worker's brief, from one source that every tool reads.
  5. One reviewer agent: a new session with no memory of the change, given only the pull request and its issue. The perspectives its level calls for run inside it as short-lived subagents that return findings, the way self-review already works. Models follow the existing rule (#522).
  6. The scrutiny levels take effect (operating model, section 6).
  7. When to add an agent. A procedure becomes its own agent only after a with-and-without comparison on real issues shows it helps, recorded on an issue.

Acceptance criteria

  • Not done: A new session started on the chief of staff lists the open owner questions first. Moved to #1092 (its "start routine was observed" criterion), 2026-11-24.
  • Not done: It dispatches workers only on issues whose declared files and shared hot spots don't overlap (no fixed number), and every claim, decision and question is an issue comment. Moved to #1092 (new criterion), 2026-11-24: this issue's own dispatch was a recorded exception to the check, so it does not show the behavior. The tool is scripts/overlap-check.mjs (#898).
  • Not done: A dispatch brief names the role guides and knowledge notes to load (done: the brief on this issue, and .agents/skills/chief-of-staff/SKILL.md section 5). "A worker run shows they were loaded" moved to #1092 (new criterion), 2026-11-24.
  • Not done: A reviewer started by it works from a fresh context and sees only the pull request and the issue. Moved to #1092 ("brief to a reviewed pull request through a worker and a fresh reviewer"), 2026-11-24.
  • Not done: Each forbidden action (editing code, pushing, merging) is tried in a test session and refused, with the result recorded here. Moved to #1092 (refusal table), 2026-11-24; the static check stays in scripts/chief-of-staff-agent.test.mjs.
  • Done: The twelve role agent files are replaced by the one worker; docs/roles/README.md says how a role guide is loaded; nothing lives only in .claude/. Evidence: PR #1452 (eleven role agent files removed, README section "How a role guide is loaded", scripts/agent-setup.test.mjs). Decided by the owner 2026-11-24 (voice session): guides load by path as plain files, not as skills; the worker guide's step order is on trial, checked in the weekly review (#1452).
  • Done: Blocked by the knowledge layer (#712). #712 is closed.

Files likely touched

.claude/agents/ (chief of staff, worker, reviewer; the twelve role files removed), .agents/skills/chief-of-staff/SKILL.md and its pointer in .claude/skills/, docs/roles/README.md, .claude/settings.json (the default agent), CLAUDE.md, docs/process/agent-operating-model.md (mark as built).

Must not touch

Source code, .github/, docs/process/project-management.md.

Open questions

None for the owner. One test worth running here, not required: a worker on the standard model that consults the strongest model only at hard decisions (Anthropic's advisor pattern, opens in a new tab, which they report scored 2.7 points higher on a coding benchmark at 11.9% lower cost than the standard model alone). Whether Claude Code offers it has to be checked first.

Area

tooling

Priority

high


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab