fix(#3504): harden hook injection patterns and force-add guard (#3510)

* test(#3504): add failing-first parity, fail-closed, and bypass suites

* fix(#3504): harden hook injection patterns and force-add guard

* test(#3504): stage the scanner lib dependency in shared-hooks fixture

* chore(#3504): backfill changeset pr number

* test(#3504): build parity samples from fragments for the ci scan

---------

Co-authored-by: sim <sim@local>
This commit is contained in:
Tom Boucher
2026-08-14 21:19:35 -04:00
committed by GitHub
parent e57918a648
commit 268ca7e32d
24 changed files with 659 additions and 82 deletions

View File

@@ -30,6 +30,7 @@
".kimi-code/hooks/lib/cursor-workspace.js",
".kimi-code/hooks/lib/git-cmd.js",
".kimi-code/hooks/lib/gsd-graphify-rebuild.sh",
".kimi-code/hooks/lib/injection-patterns.js",
".kimi-code/hooks/lib/isolation-sentinel.js",
".kimi-code/hooks/managed-hooks-registry.cjs",
".kimi-code/hooks/package.json",