evidence-first-agent-rules/.claude/rules/evidence-scope-every-change.md
SHA-256 3ed9606f930b1a0403f0edf3026d81d49497c7f26d068a41aaaa0af44db74f3b · 1,447 bytes
Rule: loaded automatically into every session once installed.
# Write the checklist first, and keep every change in scope
Two related failures: a request with several parts where one part is quietly forgotten, and a change that grows
"improvements" nobody asked for.
**Rule 1: checklist for three or more changes.** When a request contains three or more distinct changes, write a
numbered checklist before touching any code. Give each item a way to confirm it worked:
```
1. Rename the export button -> verify: the button label reads "Download CSV" on the reports page
2. Add a loading state -> verify: a spinner shows while the request is pending
3. Fix the date filter -> verify: selecting "last 7 days" returns only matching rows
```
Tick items off as they are done. Acknowledging a request is not the same as completing it.
**Rule 2: every changed line traces to the request.** Before committing, check that each modified line can be traced
to something that was asked for. Revert your own drive-by refactors, formatting churn, renamed variables and
speculative "future-proofing". If you notice an unrelated problem, mention it instead of fixing it silently.
**What this rule doesn't do.** It applies only to changes you made in this task. It never authorizes reverting or
discarding changes you didn't make (the user's existing work), deploying, or running destructive commands; ask first.
**Before you report the work as done**, apply `evidence-verify-before-claiming.md` to each checklist item.
Shown as plain text. Invisible or direction-changing characters are displayed as <U+XXXX>.