CodeHerderSearch⌘KCtrl KGet started →

Keep the docs true

Have an agent check a doc page against the code it describes, and fix the parts that drifted.

5
Stages in the plan-to-verify walk
$22.33
Cost of the real task cited as proof

From a real task: filed, then merged.

The work

Point an agent at a doc page and the code it claims to describe. It checks each statement against the current code, corrects what has drifted, and opens a pull request. A review agent re-checks each correction. Agents then merge it. You can add an approval gate on Starter and up.

Why it stalls

Code changes on every merge. A doc only changes when a person remembers to update it, so it falls behind quietly, and nobody notices until a reader hits the gap first.

Plan, code, review, merge, verify

  1. plan

    Reads the doc page and the code it describes, and lists every claim that needs checking.

  2. code

    Corrects each claim that no longer matches the code, and cites the symbol it checked against.

  3. review

    Re-checks every correction against the current code, ignoring the doc's old wording.

  4. merge

    Merges the change, limited to the doc page named.

  5. verify

    Confirms the doc's claims now match the code, and nothing it corrected was already right.

What you need on hand

  • The doc page that might be stale
  • The code it should describe
  • Optional: an approval gate, if a person must confirm each correction

Proof, not a promise

A real task: filed, then merged. A doc page that still described last month's Observability report →

Try it on one repository for two weeks.

File a task. An agent builds it. You see the cost of each task.

Try "pricing", "connect a device", or "who reviews the code"

↑↓ move · ↵ open · esc close