Repository navigation
speccheck 1.5.0
First tagged release of speccheck, the specification conformance checker, together with the
spec-writing / spec-review / spec-build skills, spec2pdf.sh, and install.sh.
Implements SPEC.md v1.5 in full: 170 spec IDs, 74 tests, both gate phases green.
speccheck (mock): CONFORMING - 170/170 passing (100.0%), 0 failing, 0 skipped, 0 weak, 0 unverified, 0 untested, 0 uncited; 0 dangling, 0 stale; judge=mock
speccheck (llm): CONFORMING - 170/170 passing (100.0%), ... 0 weak ...; judge=llm (openai/gpt-4o-mini via OpenRouter, unknown_rate 0.0000)
speccheck 1.5.0 (SPEC.md v1.2 → v1.5)
- Progress indicator for
--judge llm(SPEC v1.3, R-30 / C-11 / K-13): one in-place line on
stderr —judge: [########------------] 132/331 edges 2:14 elapsed ~3:23 left— shown when
stderr is a terminal (--progress auto|always|never), pure ASCII, no terminal escapes, erased
when the stage ends; stdout, both reports, and the exit code are untouched. - Ctrl-C works, once (SPEC v1.5, E-41): an interrupt exits
3withinterrupted, erases the
indicator, removes temporaries and any half-renamed report, abandons in-flight judge requests,
and never starts queued ones. Measured against a server holding requests for 15 s: 0.2 s to exit
(previously the first Ctrl-C was invisible until a request finished, then waited for the rest). - Spec review applied (SPEC v1.4, F-201..F-210): the indicator owns stderr while displayed,
one clock origin, coalesced redraw cadence with atomic writes,max_unknownemitted with four
decimals, C-08 header for--judge none, T-46/T-60 traced, I-005 tidied, T-49 names its labels. - Tests strengthened by the LLM judge itself: R-20, K-02, K-03, K-08, E-29 were proved only by
implication; each now asserts its behavior outright. - Judge endpoints: Ollama, OpenRouter, Anthropic's OpenAI-compatible endpoint, or anything else
speakingchat/completions— three environment variables, no code change.
spec2pdf.sh
D-nndecision ids are clickable;sec-contractsanchors only §4 (no duplicate-identifier warning).- No more silent exit 1: xelatex errors are reported (warning if the PDF was still written, error
if not) instead of trippingset -ebefore the PDF check. - Markdown is read without pandoc's
raw_tex, so a backslash in prose (e.g. a judge rationale
quoting'\n') is text, not a TeX command. - Options summary line replaces the per-argument debug echo;
--margin=VALUEaccepted.
Documentation and licensing
- README opens with an introduction to specification engineering: what a
SPEC.mdlooks like, the
three skills and what each produces, and the write → review → apply → build workflow. ARCHITECTURE.mddescribes the 1.5.0 build;SPEC_REVIEW_REPORT.md(v1.3 review) and
SPEC_BUILD_REPORT.md(v1.4/v1.5 increments) carry the evidence.- Dual license: documents (spec, skills, README, reports) CC BY 4.0; code MIT (
LICENSE-CODE).
Install
uv tool install "speccheck[llm] @ https://github.com/rioffe/speccheck/releases/download/v1.5.0/speccheck-1.5.0-py3-none-any.whl"
speccheck --self-check # self-check: okor ./install.sh from a checkout for the skills, spec2pdf.sh, and the local-judge environment.