If every new feature breaks an old one, the agent never had a written definition of done. Three minutes of Given/When/Then beats an evening of reverts.
Bad: “Add password reset and make it secure.”
Better: numbered, observable criteria + an explicit out-of-scope list. “Secure” without a Then clause is not a criterion.
Feature: <one sentence> Acceptance: - AC-1: Given …, When …, Then … - AC-2: Given …, When …, Then … - AC-3: Given …, When …, Then … Edge cases: - … Out of scope: - Do not touch … Likely files (optional guess): - …
CLAUDE.md at the repo root, which Claude Code loads as project memory (Claude Code memory docs).SpecLock (Night Shift Labs) is planned as a browser workspace that drafts and locks criteria, exports packs for your AI coding tool, and grows a regression checklist. In development (waitlist only), not charging yet. Planned pricing Solo $15 / Pro $29.
Join the waitlistRelated: Spec-driven development with Cursor · Not affiliated with Anthropic.