Add a capability conformance checklist and require `calls` for capabilities that run tools
Not tied to a closing issue: this is the first step of the capability conformance plan, toward #13118 (no capability content below 'operator' in system voice). Later PRs add the route matrix (C1) and the #13118 sink check (C2) on top of it.
The checklist. agent_docs/capability-conformance.md says, per area, what a capability's CASES entry must pass and how the suite checks it:
- Coverage (C0, this PR).
- Prompt cache: the existing append-only and combine suites.
- Voice and authority: the requirements, with C1āC5 listed as planned.
- Durable execution and Workspaces/sandboxes: placeholders with their planned scope.
A box is ticked by a passing contract or a reasoned Exempt, never by prose. It is linked from agent_docs/index.md, the Harness capability-authoring.md and review-checklist.md, and tests/AGENTS.md. scripts/gather-pydantic-ai-review-context.sh adds it to CI Review's agents-md.txt when a PR changes a capability or its case, the way the durable AGENTS.md reaches it, and the CI Review prompt gets a matching targeted check.
C0, DECLARES_CALLS. Only cases with calls ever had their tools run by RENAMED and FORWARDS_USAGE, so those contracts passed vacuously for everything else. The new contract requires every buildable public capability that contributes a toolset, a wrapper toolset or a tool hook to declare calls, or to carry an exemption:
- 27 cases get real
calls, all running offline. Each also passesRENAMEDandFORWARDS_USAGE:- core:
Toolset,PrefixTools,MCP,Instrumentation,SetToolMetadataandIncludeToolReturnSchemas; - Harness: the 11 hosted MCP integrations,
Shell,CompactOnRequest,RepairToolArguments,StepPersistence,ToolGuardrail,ReportToolErrors,ToolBudgets,PromptInjectionDefender,Macroscope(against a stand-in CLI) andPydanticAIDocs(against a local docs checkout).
- core:
- A shared helper for hook-only capabilities:
with_echobuilds one beside anechotool. - 7 reasoned exemptions: structural wrappers and bundles, a durable engine,
bwrapand Playwright. - 15
PENDING_CALLSexemptions, 5 of them the routes C1 will run (BackgroundTools,CodeMode,IPythonCodeMode,ToolBridge,ToolSearch).test_pending_calls_backfillpins the count, so later PRs can burn it down.
Checklist
- No breaking changes in accordance with the version policy.
- Any permitted compatibility impact has a label, warning, migration and release note, and an exact API-check waiver if the gate reports it.
- PR title is fit for the release changelog.
š¤ Generated with Claude Code