Files
coder/.github/workflows
Nick Vigilante 9666549f3c feat: run one doc-check verifier per group of findings (#31243)
## Summary

doc-check now runs one Skeptic (verifier) per group of findings, in
parallel, instead of one Skeptic over every finding.
On #31226 the single Skeptic ran for more than 90 minutes, checking each
finding one after another.

## Changes

- `SKILL.md` step 6: the orchestrator runs the two lookup checks itself
(the quote exists, not already reported), then groups the remaining
findings by sentence or by missing page and runs one verifier per group.
With a model configuration ID, each group is its own sub-agent; the
orchestrator spawns them all, then waits once.
- `personas/verifier.md`: scoped to one group, loads only the files its
findings cite, and returns only verdicts so the orchestrator's context
stays small.
- `output.md` and `doc-check.yaml`: wording follows the change.

<details>
<summary>Decision log</summary>

- **Group by sentence, not one agent per check.**
The seven checks run in order and stop at the first failure, so one
agent per check would re-read the same sources seven times and lose the
early stop.
Grouping by sentence keeps every possible duplicate or contradiction
inside one group, so groups never need each other.
- **Lookups move to the orchestrator.**
"The quote exists" and "not already reported" are string comparisons, so
they don't need a model turn.
The missing-page form of check 1 ("no other page covers the fact") stays
with the verifier because it needs judgment.
- **No concurrency cap yet.**
A load ramp on the shared Solstice server is in progress (median turn:
79s with 1 agent, 185s with 3, 235s with 16).
A cap belongs in a follow-up once the ramp shows where throughput stops
growing.
- **Context size matters as much as agent count.**
One review agent at about 107k input tokens took more than 10 minutes
per turn while running alone, which is why each verifier loads only its
group's files.

</details>

## Testing

- `make lint/emdash`, `lint/markdown`, and the pre-commit hooks pass.
- Not yet exercised on a live run; the next doc-check run on a PR with
several findings is the test.

---

*Generated by Coder Agents on behalf of @nickvigilante.*
2026-10-27 12:22:45 -04:00
..