docs(agents): ask PR bodies for before/after and refactor value, not a file count
Merged
TH
7d ago+9+9+0123456789-16-16-01234567890123456789
Summary
The PR body rule in docs/agents/pull-requests.md asked for a touched-file count and "1–3 CLI/Node/MCP examples". Neither tells a reader what changes for a user. The rule now asks for:
## Before / afterwhen a caller can observe the change, output and errors included: up to 3 calls at base and head, with the output that differs.## Valuefor a refactor: 2–4 numbers measured at base and head.- An updated body after each push, because bodies went stale after review rounds and rebases.
The file count and the example rule are removed. The gate receipt is asked for once, in ## Validation. The fixes line is removed because ## Before / after asks for the same thing. The 250-word limit no longer counts code blocks.
docs/agents stays inside its 40,000-byte budget: 39,993 bytes. No scope expansion. No linked issue.
Validation
Head 0d1930f612fce4f9e7f5a1ef27b4c6e245e04fb4.
pnpm check:affected --runselected 1 check,agent-guidance, and it passed withexactCommit=true.- Docs-only: the change edits agent guidance and touches no runtime code, so runtime tests do not apply.
Risk: the rule is not enforced. A body that ignores it still merges.
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.