Skip to content

Make install hooks opt-in via --hooks#753

Open
Andy11-cpu wants to merge 1 commit into
DeusData:mainfrom
Andy11-cpu:fix/install-hooks-opt-in
Open

Make install hooks opt-in via --hooks#753
Andy11-cpu wants to merge 1 commit into
DeusData:mainfrom
Andy11-cpu:fix/install-hooks-opt-in

Conversation

@Andy11-cpu

Copy link
Copy Markdown

Summary

  • PreToolUse / SessionStart augmenter hooks are not installed by default
  • Pass --hooks to install to opt in
  • Install plan receipts omit hook paths unless --hooks is set

Motivation

Split from #625 — avoids spawning hook augmenters on every Grep/Glob unless the user explicitly opts in.

Test plan

  • cli_install_plan_hooks_opt_in_default in test_cli.c
  • make -f Makefile.cbm test (CI)

Signed-off-by: Andy11-cpu canada11@duck.com

PreToolUse and SessionStart augmenter hooks are no longer installed by default. Pass --hooks to install to opt in. Install plan receipts omit hook paths unless --hooks is set.

Signed-off-by: Andy11-cpu <canada11@duck.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant