Skip to content

v2.2.0 — Rigor-aware spec enforcement

Choose a tag to compare

@rand rand released this 03 Feb 03:05
· 16 commits to main since this release

What's New

Restores DP enforcement that was removed in v2.1.1, with a smarter approach that scales to task complexity.

Enforcement Matrix

Rigor Spec Gate (Edit/Write) Workflow Prompt Session Review
Trivial (P3-4) Skip Light nudge Light check
Medium (P2) Block if project has specs but file has no refs Nudge phase order Check gaps
Large (P0-1) Block if project has specs but file has no refs Nudge phase order Check gaps
Unknown phase Approve Light nudge Light check

Changes

  • spec-info.py: Phase-aware blocking — denies impl files without SPEC refs during implement/review phases, with actionable next steps (add trace, create spec, or downgrade rigor)
  • phase-context.py: Outputs rigor tier alongside phase: [DP phase: implement, task: DP-123, rigor: medium]
  • hooks.json: Hybrid command + prompt hooks — workflow nudge on UserPromptSubmit, compliance check on Stop
  • 23 new tests for spec-info.py covering all decision paths

Full Changelog: v2.1.1...v2.2.0

Full Changelog: v2.1.1...v2.2.0

Full Changelog: v2.1.1...v2.2.0