Skip to content

improvement: change default agent hook installation top stop hooks #1647

Description

@gabimoncha

i've been a react-doctor user since it's launch

i've noticed that on some longer sessions and a lot of uncommitted files, react-doctor took around 4s to finish

the reason is that the default installation is PostToolBatch for Claude and PostToolUse for the rest of the harnesses

it would be more token efficient and faster, if the hook runs after the agent stops if the call would be inside a Stop hook

also in my case particular case running the cli with --scope changed --include-untracked would include all the files of the run

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