Add Cursor shell hooks for vault and ansible apply gates #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/cursor-infra-hooks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
beforeShellExecutionhooks (destructive + vault/ansible apply + no-verify) in this repoinstall.shto sync hook scripts and installhooks.jsononly if missing (--overwrite-cursor-hooksto replace)cursor/hooks/test-hooks.pyTest plan
python3 cursor/hooks/test-hooks.pypasses./install.sh --dry-runshows hooks sync~/.cursor/hooks.jsongets the repo copy; existing file is left alone unless--overwrite-cursor-hooks