Skip to content

v0.43.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 17:22
· 562 commits to main since this release
Immutable release. Only release title and notes can be modified.
170c467

A pointer glued to another one is read, and a strict verdict can write its witness

A patch release in three parts. The fix of RWD-2026-0165 (criterion S1 of ADR-0086): a typed
pointer written right after another one in the same ;-segment, behind anything but white space or a
comma, was never read, so a dead pointer cited that way left check --strict at exit 0; every release
from 0.32.0 to 0.43.0 carries the rule. ADR-0089, increment 1, steps 1 to 3 (accepted 2026-10-06):
a canonical mission snapshot and eight metamorphic relations checked over generated missions (test
support, nothing of it ships), and check --strict --witness <file>, an opt-in option that writes the
facts a strict verdict relied on, specified in docs/spec/witness.md; check's output and exit code
are the same with and without it, and the checker that re-checks a witness is not in this release.
The 0.43.0 mutation ratchet, closed: its signed summary committed, 541 survivors filed, 371 of them
then killed by direct tests. Also: v0.43.0 measured as the first immutable release, three dependency
updates, and a qualification kit that no longer fails a case on a package it does not carry. A patch rather than a minor: a security fix ships on the maintained line outside
the feature train (ADR-0068, ADR-0086), and the one new option is opt-in and changes nothing a pipeline
that does not pass it sees. The tool operational requirements describe 0.43.1 (TOR-192 to TOR-208
added).

Three dependency updates, one of them at runtime

chalk 6.0.1 is the one runtime update: it reaches every installation. Read against 6.0.0, its
package differs in one line, a style called with two arguments now prints null and undefined as
empty, as Array#join does, instead of as words. @typescript-eslint/parser
8.71.0 (merged on its own, #369) and eslint-plugin-security 4.1.0 are development only. The plugin's
4.1.0 adds a rule, security/detect-invisible-characters (U+3164 and U+FFA0, characters with no glyph
that can hide an identifier from review), and the test that requires every rule the plugin ships to be
decided turned red on it, which is what failed the update's own pull request. The rule is enabled at
error in eslint.security.config.js, beside detect-bidi-characters: measured on src/, 0
findings, and a U+3164 planted inside an identifier in a temporary src/ file was reported, so the zero
is a reading. The committed reports/eslint-security.sarif changes only in the plugin version and the
new rule's entry; its results are the same eight detect-unsafe-regex warnings. The development range
is raised to ^4.1.0, since the configuration names a rule older versions do not have.

The qualification kit no longer fails a case on a package it does not carry

Run against the packed tarball installed in an empty project, the kit of this release, as first built, failed the
nine cases of test/unit/verdict-metamorphic.test.js (TOR-192 to TOR-200): the file imports
fast-check, a development dependency the kit does not carry, and could not load
(ERR_MODULE_NOT_FOUND). The release chain runs the kit under set -euo pipefail, so the tag push would
have stopped in the prepare phase; no released kit was affected (0.43.0 cites no such file). The builder
(scripts/build-qualification-kit.mjs) now reads the import graph of every cited case: the file's static
imports, the dynamic imports its case reaches, and, transitively, every import of the test support files
it imports. A case that needs a package that is neither a Node built-in nor a runtime dependency of the
installed runward (its dependencies) is not-run-here, with the package named ("needs the dev
dependency fast-check") and the pointer to the release's committed reports/junit.xml, exactly like a
case that reads the source tree, and is never counted as passed. A support file's import into the source
tree now marks the case too. The js-yaml check of smoke.js is the same rule applied to the text the
runner executes: the runner still removes that one check and reports it skipped, and the builder
classifies smoke.js without it, so any other such import would make the smoke citations
not-run-here rather than fail the run. The runner (scripts/qualification-kit/run.mjs) now links the
installation's runtime dependencies into its work directory, so a test that imports one, which the rule
says runs, finds the installed copy; before, it could not have. Measured on main's packed tarball in an
empty project: 181 pass, 0 fail, 27 not-run-here (18 source tree, 9 fast-check). Pinned by
test/unit/qualification-kit.test.js (a dev-dependency case not-run-here, a runtime-dependency
positive control that runs, both measured red against the change removed); TOR-189 and TOR-190 say it.

A pointer written right after another one is read (RWD-2026-0165)

A ;-segment was cut into pointers only where white space or a comma preceded the next file:,
test: or adr: spelling, and each piece yields one pointer, so a pointer written right after another
one behind anything else, as in test:r.xml::"a case" (file:x.ts#Y), was never read. A dead pointer
cited that way left check --strict green: measured on the example mission with 0.43.0, exit 0 behind
(, exit 1 behind a space. Every release from 0.32.0 to 0.43.0 carries the rule. splitPointers
(src/lib/evidence.ts) now also cuts before every spelling not glued to a letter, a digit or _,
outside quotes: the spellings the grammar already accepted at the head of a piece, and exactly the ones
the witness's cover test counts (docs/spec/witness.md section 9.6). The space-and-comma cut is
unchanged, quoted symbols and test names are still never cut, and a bare-word spelling (npm run test:junit) is still prose, disclosed. A cell that parsed before gains the pointers it was dropping;
the one other change is an unquoted operand the next spelling was glued onto (#Sym(file:b.ts)), which
now ends where that pointer starts. runward's own mission now
reads its four such citations, in hexa-adapter-pattern and resilience-fail-open; all four resolve
and no row was re-spelled.

This is a change on the verdict path, a pre-merge path under the delegation charter. Pinned by
test/unit/evidence-misc.test.js and by attack corpus case AC-017 (17 cases, 13 refusals), both
measured red against the unfixed build. The register entry is fixed-in=0.43.1; the requirements
register gains TOR-208, and TOR-205 covers AC-017. src/lib/evidence.ts is in the mutation ratchet's
perimeter: the release run re-derives its survivor register.

The strict verdict can write its witness, specified for a checker that shares no code with it (ADR-0089, increment 1)

The second pull request of ADR-0089's increment 1, step 3 of the record. runward check --strict --witness <file> also writes the witness of the verdict: the facts it relied on, as one canonical
JSON file (runward-witness/1): each row of the five gated manifests with its line and the digest a
ratification binds to; each typed pointer and bare path token with the base it resolved from, its real
path and, once per file, that file's digest, line count and report natures; where each symbol and JUnit
case was found; each rule file's digest against the lock; the expected rule sets; the cited ADRs with
their status words; the unratified decisions; the counts; and one cause per unit counted against the
verdict. Families this version does not carry (deliverable state against the templates, signatures,
report results, on-disk spelling, scaffold-identical files, the seal, the regulated tier, the charter,
workflow contracts, hooks) are named in the file, under notWitnessed. docs/spec/witness.md is its
only specification: fields, types, derivations, what a checker re-checks against the tree and what it
re-derives (the expected sets, the sections, the rows, a conservative cover test against dropped
pointers), the canonical encoding, versioning (expand only), and worked examples from the example
mission. The checker itself is not in this pull request: another session writes it from the
specification alone (ADR-0089 decision 2).

Opt-in and inert: check's stdout and exit code are byte-for-byte the same with and without
--witness, and a checker's answer never changes them (decision 3). --witness needs --strict and
refuses --freeze; a path inside runward/, a directory, a missing or unwritable directory (usage) and
an existing file that is not a witness (refused) exit 2 before the gate runs, with the ADR-0083 error
document under --json; the file is written whole through a temporary file; --dry-run writes
nothing. The witness is assembled from the verdict object the command rendered, never a second
computation; two functions of the verdict path were split, with no change to what they return, so the
witness can name a location: textOutsideManifest now reads its lines from the exported
outsideManifestLines, and junitTestResult its answer from the exported junitTestCases;
repoRootAbove is exported. Measured on 0.43.0: 37,100 bytes for the example mission and 59,181 for
runward's own (ADR-0089 had sized a smaller mock at about 20 and 30 KB). dist/lib/witness.js joins the
mutation perimeter. The requirements register gains TOR-201 to TOR-207.

Writing the specification's cover test found a wrong verdict before any checker existed: a typed pointer
written after another one in the same sentence, as in test:r.xml::"a case" (file:x.ts#Y), is dropped
in silence, so a dead one leaves check --strict at exit 0 (RWD-2026-0165, fixed by a pull request of
its own, below). runward's own mission carries four such citations in two rows, all to files that
exist.

371 of the 541 survivors the 0.43.0 ratchet filed are killed by direct tests

The 0.43.0 closing loop filed 541 survivors as hole, "not yet instructed". Five new test files
(identity-direct, delegation-charter-direct, delegation-sample-direct, delegation-gate-direct,
ratify-proposer-direct) observe what those mutants changed, through the exported API or the CLI:
the status of a sample period under every tampering, one problem per ledger defect (each is a strict
gap), the canonical forms of the sample pinned by value (a committed ledger must keep re-performing),
the parser never throwing, the charter's line grammar and window, the first day of a suspension and
of two missed periods, the causes read from for: and proposer-for:, the --through horizon of
the charter's gaps, and the row, line and phase a delegation gap is reported on. No production code
changed, and no defect was found.

Every killed survivor was applied to dist/ by hand and the new files run against it before the
measure. Re-measured on the branch by mutation-ratchet.yml in measure mode, then retired from
that run's merged report with keys derived by scripts/mutation-key.mjs: identity 21 of 30
(9 left), delegation 78 of 131 (53), delegation-sample 214 of 281 (67), conformance 22 of 41,
verdict 7 of 16, check-contract 17 of 23, ratify 6 of 8, sarif 6 of 11. The register now holds
1,858 filings; each of the eight modules answers "the register describes this tree" (exit 0).

The 170 survivors left keep their hole filing. Most change only a problem's or a label's sentence
(ADR-0046 decision 1: no test pins prose); the others have an argument for equivalent that has not
been through the qualification the register requires (a redundant guard, inputs that are null
together, V8's sort reading only a negative comparator result, a branch reachable only through a
48-bit SHA-256 partial preimage), so none is reclassified here.

The verdict is checked against eight metamorphic relations, over generated missions (ADR-0089, increment 1)

The first pull request of ADR-0089's increment 1: steps 1 and 2 of the record, test support only, with
no change to the verdict path or to any machine output. A canonical mission snapshot
(test/support/mission-snapshot.js) writes down what a verdict depends on: every file under the project
root in POSIX spelling, text with CRLF folded to LF as the seal already folds it, the runward version,
the template digests and the repository markers above the root; materialize writes it back, and a
canonical rendering of a Verdict sorts every list so a relation that holds up to order compares byte
for byte. A generator (test/support/mission-generator.js, fast-check) derives missions from the
example by reordering rule rows, deciding applied rows otherwise (n/a with a reason, deviated with
an ADR), citing new evidence files and adding uncited ones. test/unit/verdict-metamorphic.test.js
checks the eight relations of the record on them: renaming an uncited file, reversing row order,
re-padding cells, CRLF and an unexpected n/a row leave the verdict unchanged (the last moves only the
three counts that disclose the row); deleting a cited file, duplicating a row and emptying an applied
cell turn a green mission red, judged only on missions that were green first. Fixed seed, 3 missions
per relation by default (about four seconds for the file); RUNWARD_MR_RUNS raises it, and a run at 100
per relation (800 relation cases) found no disagreement. Each relation was shown to fail on a build with
one deliberate break planted for it and then removed. The requirements register gains TOR-192 to
TOR-200. A relation is not an oracle: a green run says the verdict respects these properties on the
generated missions, not that any single verdict is right.

Accepted: the verdict carries its witness, re-checked by a small program that shares no code with it (ADR-0089)

Wave 3 of the reliability roadmap, investigated and put to the maintainer as a constitutional decision
(class R: it touches the verdict path); accepted by the maintainer on 2026-10-06 with the three
recommended answers. Measured on 0.43.0: check --strict --json names what failed
and nothing of what held, so a green verdict can only be re-checked by re-running runward, and verify
re-derives with the same computeVerdict. Eight metamorphic relations hold on the example mission
(rename an uncited file, reorder rows, re-pad, CRLF, add an unexpected n/a row: unchanged; delete a
cited file, duplicate a row, empty an applied cell: green to red), three of them untested today. A
111-line prototype checker written for the record agreed with the verdict on 18 missions (the example,
runward's own, AC-001 to AC-016) after two fixes, and both disagreements were defects runward had
already fixed. The record recommends an opt-in witness (check --strict --witness <file>), a checker of
at most 600 lines importing nothing from runward, shipped in the qualification kit and run in CI, whose
answer never changes check's exit code; the second implementation and any formal model behind
triggers. The ROADMAP's Cedar sentence is corrected against its sources: "100 million" is the 2023
post's total, and the June 2026 advisory concerns a divergence from the author's intent, not from the
model.

v0.43.0 is the first immutable release, by measurement

gh release verify v0.43.0 exits 0 and the release reads isImmutable: true, although the repository
setting was enabled after it was published and GitHub's documentation says immutability applies only
to later releases; v0.42.3 stays mutable. docs/verifying-a-release.md Step 7 now says so, with what
immutability refuses, measured on a throwaway repository: deleting or adding an asset, moving or
deleting the tag (editing the notes is accepted). ADR-0085 records the first release on the draft-first
chain and these measurements in a dated note; the ROADMAP item is done.

The 0.43.0 mutation ratchet, closed: 541 survivors filed, three modules instructed for the first time

The ratchet that the 0.43.0 release started (run 37006721244, commit d04ccaf) refused, as the pull
requests that changed the code said it would: 16 modules described the tree; check-contract,
conformance, ratify, sarif and verdict were in mismatch (48/25, 202/167, 39/34, 56/46, 51/35
measured/filed); identity, delegation and delegation-sample, new in the perimeter, had no register
entry and refused (30, 131 and 281 survivors). Its signed summary is now committed byte for byte as
docs/compliance/ratchet-summaries/ratchet-summary-0.43.0.json (SHA-256
330e3ba3e05aa512c68dbeaa49a4974bc8589069eb29ca3f12d36b6e68e95739), and verifies against the
attestation mutation-ratchet.yml signed for it.

The survivors are filed from that run's own merged reports, each report used only after its SHA-256
matched the one the signed summary records, and each key derived by scripts/mutation-key.mjs, the
implementation the ratchet itself uses. 541 survivors are filed (23 in check-contract, 41 in
conformance, 8 in ratify, 11 in sarif, 16 in verdict, and all 30, 131 and 281 of the three new
modules) and 10 filings the tree no longer produces are retired (6 in conformance, 3 in ratify,
1 in sarif, among them two readManifest holes). Every new filing is hole, with the evidence saying
what it is: not yet instructed. Each survived the unit suite; none has been through pass 2 (the
whole net) or applied to a probe mission, so none is a measured defect and none is claimed
equivalent. The register's own header says so for the three new modules ("whole net: never run").
No register entry is added to known-defects.md: nothing measured here showed wrong behaviour.

The register now holds 2,229 filings across 24 modules. Re-measured on this branch by
mutation-ratchet.yml in measure mode, one module per run with every chunk back, each of the eight
answers "the register describes this tree" (exit 0).

Mutation ratchet

The signed summary of this release's mutation ratchet will be committed under docs/compliance/ratchet-summaries/ once the ratchet has run; its path and SHA-256 will be added here.