hooks: mirror Slice 2 dual-mode rewires (5 hooks)#5
Merged
waitdeadai merged 1 commit intoMay 17, 2026
Merged
Conversation
Byte-equal copy of the corresponding llm-dark-patterns hooks. Mirrors the Slice-2 fact-fabrication family upgrade so the minmaxing harness runs the same dual-mode path: prefer agentcloseout-physics on PATH, fall back to the original bash regex otherwise. Both paths exit 2 on block. Affected hooks: - no-fake-recall.sh - no-fake-stats.sh - no-phantom-tool-call.sh - no-rollback-claim-without-evidence.sh - no-sandbagging-disguise.sh Companion PRs: - waitdeadai/agent-closeout-bench physics-engines/slice-2-fact-fabrication (YAML rule packs + Rust unit tests + ENGINE.md + fixtures) - waitdeadai/llm-dark-patterns physics-engines/slice-2-fact-fabrication-dual-mode (canonical dual-mode bash hooks) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Byte-equal mirror of waitdeadai/llm-dark-patterns#12 for the minmaxing harness. Mirrors the dual-mode rewires across:
When `agentcloseout-physics` is on $PATH and a matching rule pack is discoverable, the harness routes verdicts through the Rust engine. Otherwise the original bash regex path runs. Both exit 2 on block.
Companion PRs
Test plan
🤖 Generated with Claude Code