← ClaudeAtlas

spec-enforce-truthlisted

SDD spec content-quality / source-of-truth checks �� the canonical cross-agent contract. Runs CQ-1 (REQ-test truth-check), CQ-2 (vendor / external-interface drift), CQ-3 (content-preservation on shrink), CQ-TEST (test-anchor coverage — REQ-level coverage AND per-AC @test anchor verification at parity with @impl, gated by enforce_tdd), and CQ-SOURCE (source-anchor @impl truth-check, ALWAYS runs). Per-AC manual verification uses inline <!-- @manual --> markers. Invoked conditionally by spec-enforce when Implemented or Partial REQs are touched OR scope=all.
nikolanovoselec/codeflare · ★ 26 · Testing & QA · score 68
Install: claude install-skill nikolanovoselec/codeflare
# Spec Enforcement — content quality and source-of-truth This skill checks that the spec says what it claims by cross-referencing tests and source. Invoked by `spec-enforce` (the spine) when an Implemented or Partial REQ is in the diff or when scope=all. Truth checks never rely on self-attestation. ## Inputs - `purpose`: `review` | `clean` (inherited from parent). `review` reports only. `clean` may retrofit an unambiguous anchor but never silently rewrites a truth mismatch. - `diff`: git diff against base - `scope`: `all` | `diff` - `mode`: `interactive` | `auto` | `unleashed` - `enforce_tdd`: bool from `sdd/config.yml` - `test_globs`: from `sdd/config.yml` (defaults cover vitest/jest, pytest, go test, rspec, cypress, playwright) - `src_globs`: from `sdd/config.yml` (defaults `src/** lib/** app/** pkg/** cmd/** internal/**` minus test/build dirs) **Scope contract.** Consume the parent packet and in-scope anchor list; do not rescan or print whole source/test files. Under `scope=diff`, verify changed Implemented/Partial REQs plus any unchanged REQ whose `@impl` or `@test` anchor directly targets a changed/renamed source symbol, source file, test file, or named block — do not judge unrelated REQs. Under `scope=all`, verify every eligible REQ and anchor. ## Output Returns findings array + auto-fix actions. Every finding names REQ, AC, anchor, searched evidence, severity, and smallest correction. Give each anchor one direct verification pass; truth mismatches are escalated,