Tdd Lock banner
davalst davalst

Tdd Lock

Testing community

Description

--- description: TEST-LOCK — commit the red tests, then make them mechanically read-only while implementing to green (the strongest validated anti-gaming defense). argument-hint: <test file(s) to lock — or blank to lock the tests just written red> --- Engage the **TEST-LOCK** (Playbook §1, HACK_CATALOG H2/H5) for: $ARGUMENTS The documented top agent attack vector is editing/weakening the failing test instead of fixing the code. The lock converts §1's iron rule from an honor system into a mecha

Installation

Installs to ~/.claude/commands/davalst-tdd-playbook-tdd-lock.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/davalst/tdd-playbook/HEAD/.claude/commands/tdd-lock.md -o ~/.claude/commands/davalst-tdd-playbook-tdd-lock.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository