Files
Dunqing 335ce792fa docs(agents): scope verification for local and stacked work (#27299)
Running `just ready` after every commit repeats expensive workspace checks for small edits and successive PRs in a stack.

Keep the core rules in `AGENTS.md` and move the detailed workflow to `.agents/verification.md`, with an explicit instruction to read it before selecting checks. Scope verification to changed code and affected consumers, reuse results while inputs stay unchanged, and keep Cargo build settings consistent to avoid unnecessary rebuilds. For stacks, use each PR's diff against its parent and reserve broad integration checks for a stable tip.

This reduces repeated work during local and stacked development while retaining required subsystem checks and CI for each mergeable PR. It uses existing commands, with no additional verification scripts to maintain.

Exercised on local changes and a ten-PR stack; a fresh agent checked discovery and verification decisions after the split.

AI-assisted with Codex.
2026-10-04 10:29:30 +00:00
..