Skip to content

Releases: Nuralyn/Bench

Bench v1.0.0 — Constitutional Governance for Claude Code

22 Apr 17:20

Choose a tag to compare

Bench intercepts every code change Claude Code proposes, runs it through an adversarial deliberation pipeline, and records every verdict to a tamper-evident ledger before anything touches your files.

Pipeline

  • PreToolUse hook intercepts proposed changes before execution
  • Challenger (Sonnet 4.6) argues against the change
  • Defender (Sonnet 4.6) argues for the change
  • Oracle (Opus 4.7) renders a binding verdict
  • Ledger records every verdict with SHA-256 hash chaining

What's in v1.0.0

  • 8 constitutional constraints (C-001 through C-008)
  • Proven self-veto: C-007 blocked its own constraint violation (ledger entry #8)
  • Fails open by design: if Bench crashes, Claude Code keeps working
  • Dual provider support: Anthropic API and OpenRouter via BENCH_PROVIDER env
  • CLI viewer with inline HTML ledger browser
  • Full hash-chain integrity across all recorded verdicts

Install

git clone https://github.com/Nuralyn/Bench.git

See README.md for setup and configuration.

License

MIT