You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide and test: no correction detection on command output (incl. background tasks) #678
Found while testing Hunch's hooks under Claude Code's Code Mode.
Context: a Code Mode script started a shell command in the background (inside the script, without waiting). Its output, No, that's wrong. Never do X again., came back as a late event. No Hunch correction detection ran on it.
This is likely correct behaviour: command output is not something a human said, and treating it as a correction would create false rules. Filing it to record the decision and cover it with a test, so that:
correction detection never runs on tool or command output (foreground or background), and
the docs state that corrections come only from human prompts.
Activity