You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(testing): disabled test guards still start up to 3 node processes per test-file edit #6240
plugins/testing/hooks/hooks.json registers 124 entries over 7 distinct commands. With test_guards_enabled and test_judge_enabled both false, each matching test-file edit still starts up to 3 node processes before the hooks discover they are disabled.
Expected
A disabled guard costs no process launch, or one at most, per docs/conventions/hook-budget/README.md.
Related
Found during the #6225 hook-text audit (inventory, testing partition).
Decision recorded. The owner approved applying independently verified recommendations on 2026-10-12.
What to do about the disabled-guard launches? → Close as within budget: each disabled row is one exec-form launch and the two PostToolUse rows run in parallel
Basis: docs/conventions/hook-budget/README.md:21-25 (exec form k=1), :32 (hooks run in parallel), :141-145 (--require-true launcher flags); https://code.claude.com/docs/en/hooks.md line 425 (if takes only a permission rule; fetched 2026-10-12); plugins/testing/.claude-plugin/plugin.json (both options default false)
With test_guards_enabled and test_judge_enabled false (both default false), a test-file edit still starts up to 3 node launcher processes (one PreToolUse row, two PostToolUse rows) before they exit. Each launcher already exits without starting bash, and a hook if cannot read an option, so zero launches would need a mod.
Verification notes:
Issue body says 124 entries over 7 commands; main has 160 rows. Risk set low because the recommended outcome is a close with no change; either fix option would touch hooks.json, a trust surface.
Verified by an independent fresh-context check (confirmed, risk low): gh issue view 6240; plugins/testing/hooks/hooks.json via jq (groups, args, if); docs/conventions/hook-budget/README.md:19-33, 139-146; plugins/testing/.claude-plugin/plugin.json defaults false; plugins/testing/hooks/exec-bash.mjs --require-true; https://code.claude.com/docs/en/hooks.md lines 425 and 498 fetched 2026-10-12
Admission to an agent lane stays with the work-class rules and owner ratification.
Closing as not planned. The owner decided on 2026-10-12 to close this as within the hook budget: each disabled row is one exec-form launch, the PostToolUse rows run in parallel, and zero launches would need a mod.
Activity
github-actions commentedon Oct 4, 2026
Thanks for the report. Automated triage handed this issue to a maintainer.
Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 13, 2026
Decision recorded. The owner approved applying independently verified recommendations on 2026-10-12.
Basis: docs/conventions/hook-budget/README.md:21-25 (exec form k=1), :32 (hooks run in parallel), :141-145 (--require-true launcher flags); https://code.claude.com/docs/en/hooks.md line 425 (if takes only a permission rule; fetched 2026-10-12); plugins/testing/.claude-plugin/plugin.json (both options default false)
With test_guards_enabled and test_judge_enabled false (both default false), a test-file edit still starts up to 3 node launcher processes (one PreToolUse row, two PostToolUse rows) before they exit. Each launcher already exits without starting bash, and a hook if cannot read an option, so zero launches would need a mod.
Verification notes:
Verified by an independent fresh-context check (confirmed, risk low): gh issue view 6240; plugins/testing/hooks/hooks.json via jq (groups, args, if); docs/conventions/hook-budget/README.md:19-33, 139-146; plugins/testing/.claude-plugin/plugin.json defaults false; plugins/testing/hooks/exec-bash.mjs --require-true; https://code.claude.com/docs/en/hooks.md lines 425 and 498 fetched 2026-10-12
Admission to an agent lane stays with the work-class rules and owner ratification.
kyle-sexton commentedon Oct 18, 2026
This was generated by AI during backlog shaping.
Closing as not planned. The owner decided on 2026-10-12 to close this as within the hook budget: each disabled row is one exec-form launch, the PostToolUse rows run in parallel, and zero launches would need a mod.
Evidence:
The owner approved this in an attended backlog-shaping session on 2026-10-17.