Table of Contents generated with DocToc
Capability: substrate:framework-dev
Harness: agnostic
Validates spec files in tools/spec-loop/specs/ — the counterpart to tools/skill-and-tool-validator/ for the spec side of the framework.
uv; stdlib-only (no runtime dependencies). The dev group pulls pytest, ruff.For every .md file that carries a YAML frontmatter block:
title, status, kind, mode, source, acceptance.status — stable | experimental | proposed | off.kind — feature | fix | docs | chore.mode — Triage | Mentoring | Drafting | Pairing | infra.acceptance list — at least one - item entry.## What it does, ## Where it lives, ## Behaviour & contract, ## Out of scope, ## Acceptance criteria, ## Validation.```…``` block so build-loop backpressure commands are always explicit.Files without frontmatter (e.g. README.md, overview.md) are silently skipped — they are index/overview docs, not functional specs.
# Run against the default spec directory uv run --project tools/spec-validator spec-validate # Run against a specific directory or file uv run --project tools/spec-validator spec-validate tools/spec-loop/specs/ # Run the test suite uv run --project tools/spec-validator --group dev pytest