🔒 Enhanced Hook Enforcement System
This release adds stronger Sisyphus behavior enforcement through hook-level control flow, going beyond what CLAUDE.md alone can achieve.
New Hooks
| Hook | Purpose |
|---|---|
PreToolUse (pre-tool-enforcer.sh)
| Injects contextual Sisyphus reminders before every tool execution |
PostToolUse (post-tool-verifier.sh)
| Verifies after tools, detects failures, tracks session stats |
Enhanced Stop (persistent-mode.sh)
| Now includes build/test/git/background task verification |
New CLI Tools
claude-sisyphus.sh- CLI wrapper using--append-system-promptfor direct system prompt injectionsisyphus-aliases.sh- Shell aliases (claude-s,claudew) for easy activation
Enforcement Hierarchy
1. Stop Hook (continue: false) → Blocks ALL stopping until:
- Ralph Loop verified
- Build verified (if applicable)
- Tests pass (if applicable)
- Git clean (warns on uncommitted)
- Background tasks complete
- All todos complete
2. PreToolUse → Injects reminders BEFORE every tool
3. PostToolUse → Verifies AFTER every tool
4. CLI Wrapper → Appends rules to system prompt
Installation
npm install -g oh-my-claude-sisyphus@1.11.0Or use the one-liner:
curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claude-sisyphus/main/scripts/install.sh | bashFull Changelog: v1.10.3...v1.11.0