## What forced this
Every agent works *on* smith; nothing watched *the machine that builds
smith*. The workflow's own defects — a wrong trigger, a broken
loop-guard, a runner deprecation, doc-vs-config drift — surfaced only
when a human hunted for them. This makes that hunt recurring.
## The call
A weekly meta-agent, `adw-doctor`: it reads the workflow-run record and
the drift between `AGENTIC-DEVELOPMENT.md` and the actual config,
diagnoses the single highest-value systemic fault, and opens **one**
improvement PR or issue. `sweeper` fixes the pieces in play; the doctor
fixes the rules.
## What we deliberately didn't do
Not self-modifying. The ADW config is CODEOWNERS-protected, so the
doctor's PR always lands in the owner's review — it proposes, never
rewrites its own guardrails unsupervised (the exact risk the audit's
CODEOWNERS fix addressed). It is barred from weakening any gate,
required check, or loop-guard to buy speed, and from editing the
spec/invariants.
## Evidence
It institutionalizes this session's manual hole-hunt (the "GitHub signs
rebase", CODEOWNERS-gap, stale-agent-name defects). Workflow validates;
runs in automation mode on subscription auth like the other scheduled
agents.
## Surface touched
`.claude/agents/adw-doctor.md`, `.github/workflows/adw-doctor.yml`, and
the roster + meta-scheduler note in `docs/plans/AGENTIC-DEVELOPMENT.md`.
## If this ages badly
Disable the schedule; it only ever proposes, so nothing it does is
load-bearing until you merge one of its PRs.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB)_
Co-authored-by: Claude <noreply@anthropic.com>
3+description: On a schedule, diagnose the agentic workflow's own health — failing or drifting workflows, doc-vs-config drift, gate pathologies, deprecations — and propose one improvement. Works on the ADW, never the product; opens PRs/issues, never merges an ADW change.
103103| `dependency-manager` | Dependabot bump PR | shepherd version bumps through the gates; escalate risky ones | **Dependabot PRs** | Sonnet || `dependency-manager` | Dependabot bump PR | shepherd version bumps through the gates; escalate risky ones | **Dependabot PRs** | Sonnet |
104104| `release-manager` | milestone green / `v*` tag | draft notes, verify the §14 matrix, publish the Release | a **GitHub Release** | Sonnet || `release-manager` | milestone green / `v*` tag | draft notes, verify the §14 matrix, publish the Release | a **GitHub Release** | Sonnet |
106+| `adw-doctor` | `schedule` (weekly) | diagnose the *workflow's own* health — failing/drifting workflows, doc-vs-config drift, gate pathologies — and propose one systemic fix | a **PR** on ADW config, or an **Issue** | Opus |
106107| `pioneer` (skill) | `needs:prototype` | prove/disprove an unproven spec claim with a prototype | `prototypes/*` | Sonnet || `pioneer` (skill) | `needs:prototype` | prove/disprove an unproven spec claim with a prototype | `prototypes/*` | Sonnet |
108109The **authority** for each model and tool scope is the agent's frontmatter — theThe **authority** for each model and tool scope is the agent's frontmatter — the
199200ceiling and brakes runaways. Together they hold the cycle at a steady, lowceiling and brakes runaways. Together they hold the cycle at a steady, low
200201throughput — the "predictability over speed" dial, made mechanical.throughput — the "predictability over speed" dial, made mechanical.
204215The spec is touchpoint 1, and agents may not edit it. But building against a specThe spec is touchpoint 1, and agents may not edit it. But building against a spec