Skip to content

hooks: mirror Slice 4 dual-mode rewires (4 hooks)#7

Merged
waitdeadai merged 1 commit into
mainfrom
physics-engines/slice-4-multi-agent-dual-mode
May 17, 2026
Merged

hooks: mirror Slice 4 dual-mode rewires (4 hooks)#7
waitdeadai merged 1 commit into
mainfrom
physics-engines/slice-4-multi-agent-dual-mode

Conversation

@waitdeadai
Copy link
Copy Markdown
Owner

Summary

Byte-equal mirror of waitdeadai/llm-dark-patterns#TBD for the minmaxing harness. Mirrors the 4 multi-agent dual-mode rewires; the 2 LIMITED hooks (no-handoff-loop, no-ownership-violation) remain unchanged because their bash code already handles events the Rust engine cannot.

Companion PRs

  • waitdeadai/agent-closeout-bench — YAML rule packs + Rust tests + ENGINE.md (4 full + 2 LIMITED)
  • waitdeadai/llm-dark-patterns — canonical dual-mode hooks (4)

Test plan

  • hook files byte-equal vs llm-dark-patterns/hooks/.sh
  • dual-mode Rust + bash fallback paths both verified locally

🤖 Generated with Claude Code

Byte-equal mirror of the corresponding llm-dark-patterns hooks for the
multi-agent family. The 2 limited hooks (no-handoff-loop,
no-ownership-violation) are NOT changed because their bash logic
already handles events the Rust engine cannot.

Affected:
- .claude/hooks/no-aggregator-hallucination.sh
- .claude/hooks/no-cherry-pick-rollup.sh
- .claude/hooks/no-silent-worker-success.sh
- .claude/hooks/no-credential-leak-in-handoff.sh

Companion PRs:
- waitdeadai/agent-closeout-bench physics-engines/slice-4-multi-agent
- waitdeadai/llm-dark-patterns physics-engines/slice-4-multi-agent-dual-mode

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@waitdeadai waitdeadai merged commit 262b7f8 into main May 17, 2026
1 check passed
@waitdeadai waitdeadai deleted the physics-engines/slice-4-multi-agent-dual-mode branch May 17, 2026 02:16
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.

2 participants