Clawback: Hooks-based implementation of leaked Claude verification loops

Clawback is a GitHub project that implements the verification loops from the leaked Claude source map as mechanical hooks rather than prompts. The approach addresses the limitation where prompt-based verification (like iamfakeguru/claude-md's "you are FORBIDDEN from completing without running tsc") can be skipped by the model under context pressure.
Hook architecture
The system splits the problem into two layers:
- Hooks (mechanical, can't be skipped):
- Stop hook: Runs typecheck + lint when Claude tries to complete. If it fails, exits with code 2, forcing Claude to keep fixing. Three consecutive failed blocks trigger a circuit breaker.
- PostToolUse: Auto-formats and lints after every file edit.
- PreToolUse: Blocks edits to .env and lockfiles before Claude touches them.
- PostCompact: Re-injects git state and gotchas.md after context compaction.
- CLAUDE.md (behavioral): For what hooks can't enforce, including phased execution (≤5 files per phase), plan vs build separation, context decay awareness, and mistake logging.
Technical details
The tool auto-detects the stack by looking for configuration files: tsconfig.json, go.mod, Cargo.toml, pyproject.toml, and composer.json. It requires no configuration and has zero dependencies. Clawback works alongside iamfakeguru's CLAUDE.md project, not instead of it.
The implementation is based on the leaked verification loops that were gated behind USER_TYPE === 'ant' in the source map. The GitHub repository is available at https://github.com/LZong-tw/clawback.
📖 Read the full source: r/ClaudeAI
👀 See Also

Auto Router vs Sonnet: Cost Savings vs Response Quality
Open Router's Auto Router feature dynamically selects LLMs based on context complexity, offering significant cost savings (0.8 cents vs 0.00071 cents per request), but users report degraded response quality compared to Sonnet 4.6.

Kvaser: An Open-Source Local-First AI Orchestrator with Sub-Agent Routing and Wolfram Integration
Kvaser is a Man-in-the-Middle MCP proxy that orchestrates sub-agents with smart tool whitelisting, zero-embedding RAG via Kiwix, and Wolfram Engine integration for symbolic math. Built with Qwen 3.6 35B and sub-agent routing to different models/machines.

Blender MCP Server with 100+ Tools Built Using Claude Code
A developer has created an MCP server for Blender with over 100 tools across 14 categories, enabling AI coding agents to control Blender's lighting, animation, rendering, and geometry nodes through natural language prompts. The entire codebase was written using Claude Code, which helped solve architectural challenges like Blender's main-thread API requirement.

Introducing Swarmcore: A Scalable Multi-Agent Framework in Python
Swarmcore is an open-source library for running scalable multi-agent workflows in Python, featuring sequential or parallel execution and expandable context management.