Skip to content

speccheck 1.5.0

Choose a tag to compare

@rioffe rioffe released this 14 Sep 00:06
· 178 commits to main since this release

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 3 with interrupted, 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_unknown emitted 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
    speaking chat/completions — three environment variables, no code change.

spec2pdf.sh

  • D-nn decision ids are clickable; sec-contracts anchors 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 tripping set -e before 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=VALUE accepted.

Documentation and licensing

  • README opens with an introduction to specification engineering: what a SPEC.md looks like, the
    three skills and what each produces, and the write → review → apply → build workflow.
  • ARCHITECTURE.md describes 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: ok

or ./install.sh from a checkout for the skills, spec2pdf.sh, and the local-judge environment.