Skip to content

Decide and test: no correction detection on command output (incl. background tasks) #678

Open

Description

@davesheffer

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.

Close as won't-fix if the test already exists.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions