Skip to content

speccheck 1.26.1

Latest

Choose a tag to compare

@rioffe rioffe released this 06 Nov 06:01
· 1 commit to main since this release

A patch release of speccheck 1.26. It brings the two formal models up to SPEC.md v1.26 and closes known anomaly KA-04. No spec row and no kernel code changed.

Package tree SHA-256 (for installation qualification)

package_tree_sha256 3469a9ea6058bda94d128bea9f8582f78ff6d8bfbcbed1a4be82a63f5f7415d6   (64 files)

Three computations of this value agree:

  • shasum -a 256 over the files of git archive v1.26.1 src/speccheck;
  • speccheck qualify on the attached wheel, installed into a fresh environment: qualify: QUALIFIED - IQ 64 files, tree 3469a9ea6058; OQ 5/5 cases;
  • the value recorded in SPEC_BUILD_REPORT.md §0q.

The wheel and sdist were built from a clean export of the tag; their sums are in SHA256SUMS.

What changed

  • Formal models at v1.26.

    • proof_from_spec/ (the spec's own model): 144 kernel-checked theorems; 79 requirement IDs proven; every other ID mapped to its §9 tests.
    • proof/ (the model of the code): 124 theorems; 75 IDs proven; every other ID mapped to the test file that carries it.
    • Both build with zero warnings from a clean .lake on Lean 4.34.0.
    • New for-all-inputs results include:
      • UNPROVEN never appears under --strict;
      • the hazard roll-up's properties, including that the downgrade-only judge can never turn a hazard VERIFIED;
      • verify reads no file before failing with exit 2 or 3;
      • qualify's verdict, derived in code from first_failure, matches the verdict sentence of C-29 on every input;
      • the known-anomaly selection keeps unfixed entries and file order.
  • KA-04 fixed. The models now cover the v1.25 exit rule. qualify lists KA-01, KA-02, KA-03 and KA-05 for 1.26.1 and later.

  • Two spec findings, open. Both have kernel-checked witnesses in docs/reviews/SPEC_MODEL_FINDINGS.md.

    • F-904: E-19 says a run with every ID UNCITED exits 1, while §5.4 and R-15 give 0 to a non-strict run with nothing FAILING.
    • F-905: D-45 makes a failed proof fail --strict, while R-15 says status and hazard status are its only inputs.

    In both cases the shipped code follows E-19 and D-45. A v1.27 proposal (not yet published) folds them into R-15 and §5.4, so no exit code changes.

Gates

speccheck (mock): CONFORMING - 356/356 passing (100.0%), 0 failing, 0 skipped, 0 weak, 0 unverified, 0 untested, 0 uncited; 0 dangling, 0 stale; judge=mock; hazards: 10/10 verified

The test suite has 225 passing tests.

Phase A also runs on GitHub Actions:

  • The run for main at this commit passed first time.
  • The run for the tag first failed in test_verbosity_levels, a pre-existing timing flake: the test compares two runs' --verbose output, which includes elapsed milliseconds (ms=0 against ms=1). Its re-run passed with 225 tests and CONFORMING - 356/356. Nothing in 1.26.1 touches that test.

Phase B (the LLM judge) was not re-run, because no kernel code changed; 1.26.0's four recorded runs stand. The verdict is unchanged from 1.26.0: PASS WITH NOTES.

Validation impact (since v1.26.0), from tools/validation_impact.py v1.26.0

Validation impact (since v1.26.0)

Package tree SHA-256 of this release: 3469a9ea6058bda94d128bea9f8582f78ff6d8bfbcbed1a4be82a63f5f7415d6 (64 files).

Spec ids changed since v1.26.0: 0.

Tool hazards whose controls changed:

None.

Operational-qualification cases whose fixture, goldens or catalog changed:

None.

Re-run speccheck qualify after upgrading, whatever this section lists.

No spec ID, tool-hazard control or OQ case changed. Re-run speccheck qualify after upgrading and compare the tree hash above.

Upgrading

Install from the attached wheel, or from a clean checkout of the tag. Then run speccheck qualify and compare its tree hash with the value above.