Skip to content

Claude code - on hook install it removes all other hooks #45

@cr1st1p

Description

@cr1st1p

I temporarily modified install detection code to return 1 (see my previous bug report - improper install detection).
It installed, but on the way it:

  • removed all other NON Notification and Stop hooks.
  • and it added itself as the only Notification and Stop hook

Since logic is a bit more complicated for adding/removing the hooks, I recommend doing it maybe in adhoc python3 program.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions