The afternoon that was supposed to be one fix
I was fixing a crash in the Android version of my wallpaper app — it only happened on older devices, while an image was loading. Claude Code helped me find the spot, and the fix should have been a few lines.
When it was done, Claude asked: "There are unused string resources nearby. Should I remove them too?" I said yes. Then: "The cache limit still assumes older hardware. Want me to revisit it?" Yes again. A dependency upgrade came next.
By evening I opened the diff and stopped. The crash fix was buried among unrelated changes, and I couldn't point to the lines that actually fixed the bug. As an indie developer, I'm also the only reviewer that diff will ever get.
Why I kept saying yes
Looking back, every yes came from the same worry: if I said no, the finding would be gone. There was nowhere outside the conversation to keep it, so "fix it now" felt like the only safe place.
The same frustration is now a feature request on the Claude Code repository. #112120 (opened November 25, 2026, still open) describes sessions that start with one goal and keep growing through "should I also fix…?" — and names the real blocker as trust: you can only let a finding go if you trust it won't disappear.
The request is to fix what the current change caused and record everything else in a list that outlives the session. That isn't an official feature yet. The line itself, though, is something you can put in your instructions today.
My first attempt was "don't touch anything out of scope"
The first thing I tried was a single instruction: "Don't touch anything outside the requested scope." The diffs did get smaller.
A few days later I learned that one of the spots Claude had quietly walked past held a real bug. It had respected "don't touch" — and the finding had vanished along with the edit. That was not the result I wanted.
So I changed the rule:
Fix only what would disappear if this change were reverted. Write everything else down before moving on.
Separating "don't touch" from "don't mention" kept the diffs small and the findings on record.
Fix now, or record?
When I'm unsure, I ask one question: if I reverted this change, would the problem go away too?
| What was found | Decision | Why |
|---|---|---|
| A bug in the code just changed | Fix now | Reverting the change removes it |
| A test or build that this change broke | Fix now | The change caused it, so the task isn't done until it's fixed |
| A bug that was already there | Record | It survives a revert |
| Dead code or stale comments | Record | Not urgent, and mixing it in makes the diff unreadable |
| Refactoring or design ideas | Record | Big enough to be its own piece of work |
| Exposed secrets or a risk of data loss | Stop and report | Recording it would be too slow |
The last row is the exception. If an API key is sitting in plain text, I'd rather be told right away than find it in a list next week.
The lines I put in my instructions
In Claude Code they go in the project's CLAUDE.md; for a Cowork task or a claude.ai project they go in the instructions field.
## Out-of-scope findings
- Fix problems caused by this task's change (bugs in code just changed, tests or builds this change broke) as part of this task
- Do not fix anything else (pre-existing bugs, improvements, refactors, stale docs).
Record it with `bash scripts/followup.sh add "<title>" "<how it was found>" "<files>"` and return to the original task
- For exposed secrets or a risk of data loss, do not fix or record: stop and report immediately
- Do not end by asking "should I also fix…?". Report only how many findings were recorded and their titlesWhere there's no shell, I replace the second item with "list them at the end under a heading called Recorded out-of-scope findings." If they're at the bottom of the reply, copying them into a note takes seconds.
That last line mattered more than I expected. If I'm never asked, I never get the chance to say yes. Defining how the task ends turned out to be part of defining its scope.
Claude Code also has /goal, which sets a done condition. But /goal decides when the work ends, not where out-of-scope findings go. I keep both: /goal for the finish line, these lines for the findings.
A small script that keeps findings from disappearing
I record findings in a single FOLLOWUPS.md at the root of the repository. This script only appends and lists:
#!/usr/bin/env bash
# scripts/followup.sh — record out-of-scope findings in FOLLOWUPS.md / count open ones
# usage: followup.sh add "title" "how it was found" "related files"
# followup.sh list
set -euo pipefail
FILE="${FOLLOWUPS_FILE:-FOLLOWUPS.md}"
case "${1:-list}" in
add)
title="${2:?pass a title}"
found="${3:-(not given)}"
files="${4:-(not given)}"
[ -f "$FILE" ] || printf '# Follow-ups\n\n' > "$FILE"
# don't write the same open item twice
if grep -qxF -- "- [ ] $title" "$FILE"; then
echo "Already recorded: $title"; exit 0
fi
{
printf -- '- [ ] %s\n' "$title"
printf -- ' - found: %s\n' "$(date +%F)"
printf -- ' - how: %s\n' "$found"
printf -- ' - files: %s\n' "$files"
} >> "$FILE"
echo "Recorded: $title"
;;
list)
[ -f "$FILE" ] || { echo "Open: 0"; exit 0; }
n=$(grep -c '^- \[ \] ' "$FILE" || true)
echo "Open: ${n}"
grep '^- \[ \] ' "$FILE" | sed 's/^- \[ \] / * /' || true
;;
*)
echo "use add or list" >&2; exit 2
;;
esacWhen I added the same title twice, the second call answered "Already recorded" and the file kept a single entry. Each entry is four lines: title, date, how it was found, files.
$ bash scripts/followup.sh add "Cache limit still tuned for old devices" "noticed while fixing the crash" "ImageLoader.kt"
Recorded: Cache limit still tuned for old devices
$ bash scripts/followup.sh list
Open: 1
* Cache limit still tuned for old devicesI keep it to four lines because a heavy record makes both Claude and me hesitate to write one. The real investigation can wait for the day I pick that item up. When an item is done, I change - [ ] to - [x] and leave it in place.
Keeping the list from becoming another place to forget
A list that only grows just moves the forgetting somewhere else. Once at the start of the week I run followup.sh list, pick one open item, and ask for it as its own task.
The same instructions apply there, so anything new found along the way becomes another one-line record. Each session closes on one change, and reviews and commit history are easier to read for it.
It helps with usage, too. I wrote about planning a day around the limit windows in What I Stop Doing Before I Hit Claude's Limit. If long sessions worry you because details get replaced by summaries, spotting idle compaction may also be useful.
Before your next request
Start by adding just the last line to your CLAUDE.md or task instructions — "Don't ask whether to fix more; report how many findings were recorded and their titles." That's where I started.
I decide the scope; Claude is free to find things. I try to keep that split even on days when a deadline is close.