Skip to content

release: the family version moves to 0.4.0 and spec 060 is ratified (A-76); every PlanId changes, re-derive PlanId-keyed baselines, ledgers and caches - #480

Merged
bartekus merged 1 commit into
mainfrom
release/bump-0.4.0
Nov 4, 2026
Merged

bartekus merged 1 commit into
mainfrom
release/bump-0.4.0

Conversation

@bartekus

@bartekus bartekus commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The release family moves from 0.3.0 to 0.4.0 in lockstep, within the 0.4.0 scope the owner decided on 2026-11-02: no service image (031's and 042's records; image publication is 060's, for the release after 0.4.0) and no spec 011. No behavior changes. Includes #475 (spec 060's ratification, A-76), because tools/rustev-release/ is claimed by 060; see the section below.

  • Why a minor step: as for 0.3.0, a 0.x family may change its API incompatibly in a minor version, so cargo semver-checks against 0.3.0 reports rather than refuses; no patch is attempted.

  • Version sites: the workspace version and its internal =0.4.0 pins, Cargo.lock, the nine npm package.json files, and tools/rustev-release/release-set.json (version and tag).

  • Regenerated fixtures: spec 002 3.3.4 puts the compiler identity rustev-core/<crate version> in every plan document, so every PlanId moves, and everything derived from one. Produced by the same procedure as release: the family version moves to 0.2.0 #351 and release: the family version moves to 0.3.0 #370, through each fixture's bless or harvest path (RUSTEV_BLESS=1 UPDATE_REPEAT_GOLDENS=1 UPDATE_SELECTION_GOLDENS=1 cargo test --workspace, make conformance-harvest, the rustev-backend-embed-linear ignored bless test, rustev-otel bless), with byte copies where a file mirrors another (rustev-core/src/testdata, the otel plan fixtures, rustev-eval's retained record, the Bedrock reference PlanIds). Since release: the family version moves to 0.3.0 #370 this also covers the fixtures of specs 011 (embed-linear identities.json), 042, 043 and 044. The rustev-serve Sigstore fixture is re-signed with its throwaway local keys (regenerate_sigstore.py, four-argument form, over the new bundle digest). The diff is hashes, the compiler identity and version strings, the replay bundles' recorded timing, and the re-signed throwaway certificates.

  • Archive policy (spec 021 3.5): a reviewed raise, as in impl(021): rustev-core and rustev-runtime unpacked bounds for 0.3.0 #380. Release dry run 41628699504 (at 972b23d) and the local candidate at this tree refused one member, rustev-runtime. rustev-eval is at 719,021 of 720,896 here, and fix(029): the selection gate compares tolerance boundaries in exact decimal (#474) #479 (spec 029's exact-decimal comparison, src/selection.rs 22,563 to 27,583 bytes) takes it over: packaging the release set with that file applied gives 724,041 unpacked and a 180,011-byte archive.

    Member Unpacked Old bound New bound Archive (bound)
    rustev-runtime 542,825 524,288 (512 KiB) 589,824 (576 KiB) 128,868 (160 KiB)
    rustev-eval (with fix(029): the selection gate compares tolerance boundaries in exact decimal (#474) #479) 724,041 720,896 (704 KiB) 786,432 (768 KiB) 180,011 (192 KiB)

    rustev-runtime grew with spec 044's decision cache, refresh policies and production batching posture and spec 043's live or captured acquisitions. Archives, file lists and every other bound are unchanged. Spec 021 records the candidate run.

  • Spec 058: a dated Implementation record entry for the version move, citing the owner's 2026-11-03 approval of everything necessary for the 0.4.0 release, with the consumer note that every PlanId changes from 0.3.0 to 0.4.0 and anything keyed by one (baselines, ledgers, cache keys) must be re-derived on upgrade.

  • Release notes: the changelog (031 3.10) renders no spec prose; it lists each reference plan's changed PlanId as breaking under 3.6.4 and, under spec 058, the subjects of the commits touching it. This PR's title (the squash subject) therefore carries the re-derive note, so the 0.4.0 changelog states it.

  • .statecraft/derived: refreshed (root Cargo.toml is a hashed input; the spec edit).

Left unchanged on purpose: historical text naming 0.3.0 (specs 021, 031, 056, 058 records, decisions rows A-63 and A-74), and the rustev-release tests and npm-api-diff.test.mjs, whose 0.3.0 literals are synthetic versions under test, not the family version.

Verification

  • make gate, scripts/check-authored-content.sh: clean on the final tree (main at 39d5099).
  • On the bump before the rebase onto main (base cf3ae8d): cargo test --workspace --locked --no-fail-fast 2554 passed, 0 failed; cargo clippy --workspace --all-targets --locked -- -D warnings, cargo fmt --check, make boundaries: clean; spec-spine verify 031: passed; verify 058: not declared. Main's additions since (spec(021): acceptance audit and completion #470 to docs(decisions): A-75, R-29's testing cap raised to USD 10 in total #473) touch no regenerated fixture.
  • PREVIOUS=v0.3.0 sh tools/rustev-release/candidate.sh with the raised bound: passed end to end (reproducible archives, archive policy and prohibited-content scan, unpacked tests for all thirteen members on stable and 1.88, cargo deny, the changelog, the manifest).
  • rustev-release changelog <out> v0.3.0: under spec 058 the commit subject carries the re-derive note, and Compatibility lists both reference PlanIds as CHANGED (breaking under 3.6.4).
  • API compatibility: this PR's release-checks / semver job checks against 0.3.0.

couple: the regenerated fixtures are claimed through many specs' extends whose text this change does not touch. Spec 058 carries the authoring edit; the remaining paths are covered by the owner's waiver.

Spec-Drift-Waiver: family version bump to 0.4.0 (release 0.4.0, scope decided by the owner on 2026-11-02). Every PlanId embeds the compiler crate version (spec 002 3.3.4), so fixtures are regenerated mechanically through their bless and harvest paths; no behavior changes. Approved by the owner on 2026-11-03 ("everything necessary for the 0.4.0 release").

Includes #475

Spec 060 ratified by the owner on 2026-11-03 (A-76: "I ratify 060"), plus its first increment (3.7.2).

  • status: approved, implementation: in-progress; the decisions at approval answered as proposed (keyless attestations, base refresh before the first image release, 90-day exception bound). 060 now also amends 056.
  • New 3.7: a release keeps its qualification evidence as qualification-vX.Y.Z.json and qualification-vX.Y.Z-<platform>.tar.gz assets (as attached by hand to v0.3.0). publish_release leaves present qualification- assets out of its comparison (058 3.5.2) and refuses a run's own asset with that prefix; verify_assets is unchanged. 3.7.3 (qualify.yml attaching them) follows in its own workflow PR.
  • Test qualification_assets_beside_a_release_are_ignored_never_published (tools/rustev-release/tests/tagged.rs).
  • A-76 row in docs/decisions/00-founding-decisions.md.

0.4.0 still ships without the image; nothing here publishes.

Checks: make gate, cargo test -p rustev-release --locked --test tagged (15 passed), clippy -p rustev-release --all-targets -D warnings, fmt.

The 060 review findings are already fixed here: the title lists 056, and A-76 follows A-75.

@bartekus bartekus added the statecraft:stacked-ci Run the full CI matrix on a stacked pull request label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

AI review skipped: oversized

The diff needs 8 calls of 100000 tokens, over the 4 the budget allows.

This pull request was not reviewed by the AI reviewer. A green ci-gate does not say otherwise.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 3, 2026 19:10 — with GitHub Actions Inactive
@bartekus bartekus changed the title release: the family version moves to 0.4.0 release: the family version moves to 0.4.0; every PlanId changes, re-derive PlanId-keyed baselines, ledgers and caches Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

AI review skipped: oversized

The diff needs 8 calls of 100000 tokens, over the 4 the budget allows.

This pull request was not reviewed by the AI reviewer. A green ci-gate does not say otherwise.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 3, 2026 19:17 — with GitHub Actions Inactive
@bartekus bartekus changed the title release: the family version moves to 0.4.0; every PlanId changes, re-derive PlanId-keyed baselines, ledgers and caches release: the family version moves to 0.4.0 and spec 060 is ratified (A-76); every PlanId changes, re-derive PlanId-keyed baselines, ledgers and caches Nov 3, 2026
@bartekus
bartekus changed the base branch from spec/060-ratify to main November 3, 2026 20:01
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

AI review skipped: oversized

The diff needs 8 calls of 100000 tokens, over the 4 the budget allows.

This pull request was not reviewed by the AI reviewer. A green ci-gate does not say otherwise.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 3, 2026 20:02 — with GitHub Actions Inactive
…A-76); every PlanId changes, re-derive PlanId-keyed baselines, ledgers and caches

The release family moves from 0.3.0 to 0.4.0 in lockstep, within the
0.4.0 scope the owner decided on 2026-11-02 (no service image, no spec
011). No behavior changes from the bump itself.

- Version sites: the workspace version and its internal =0.4.0 pins,
  Cargo.lock, the nine npm package.json files, and
  tools/rustev-release/release-set.json (version and tag).
- Regenerated fixtures: every PlanId embeds the compiler identity
  rustev-core/<crate version> (spec 002 3.3.4), so every golden,
  conformance case and fixture carrying one is regenerated through its
  bless or harvest path, with byte copies where a file mirrors another.
  The rustev-serve Sigstore fixture is re-signed with its throwaway
  local keys.
- Archive policy (spec 021 3.5): a reviewed raise of rustev-runtime's
  unpacked bound from 524,288 (512 KiB) to 589,824 (576 KiB); it unpacks
  to 542,825 after specs 044 and 043 (release dry run 41628699504 and
  the local candidate refused it); and rustev-eval's from 720,896
  (704 KiB) to 786,432 (768 KiB), since #479 (spec 029's exact-decimal
  comparison) takes it from 719,021 to 724,041, measured by packaging
  the release set with that change. Archives (128,868 of 160 KiB;
  180,011 of 192 KiB), file lists and every other bound are unchanged.
  Spec 021 records the candidate run.
- Spec 058: a dated Implementation record entry for the version move,
  with the consumer note: every PlanId changes from 0.3.0 to 0.4.0, so
  baselines, ledgers and cache keys keyed by a PlanId are re-derived on
  upgrade.

Includes spec 060's ratification by the owner on 2026-11-03 (A-76: "I
ratify 060") and its first increment (3.7.2): status approved,
implementation in-progress; 060 also amends 056; publish_release leaves
present qualification- assets out of its comparison (058 3.5.2) and
refuses a run's own asset with that prefix, with the test
qualification_assets_beside_a_release_are_ignored_never_published; the
A-76 row in docs/decisions/00-founding-decisions.md. 0.4.0 still ships
without the image.

Spec-Drift-Waiver: family version bump to 0.4.0 (release 0.4.0, scope
decided by the owner on 2026-11-02). Every PlanId embeds the compiler
crate version (spec 002 3.3.4), so fixtures are regenerated mechanically
through their bless and harvest paths; no behavior changes. Approved by
the owner on 2026-11-03 ("everything necessary for the 0.4.0 release").
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

AI review skipped: oversized

The diff needs 8 calls of 100000 tokens, over the 4 the budget allows.

This pull request was not reviewed by the AI reviewer. A green ci-gate does not say otherwise.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 3, 2026 20:11 — with GitHub Actions Inactive
@bartekus

bartekus commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Review note for the exception (owner's 2026-11-03 approval of everything necessary for 0.4.0, covering review exceptions):

  • The AI review skipped this head as oversized (8 calls against a budget of 4). Most of the 267 files are regenerated fixtures: every PlanId moves with the compiler identity rustev-core/0.4.0 (spec 002 3.3.4), regenerated through each fixture's bless or harvest path as in release: the family version moves to 0.2.0 #351 and release: the family version moves to 0.3.0 #370.
  • The authored parts were reviewed separately: spec 060's ratification and publish_release change at spec(060): ratified (A-76); publish_release ignores qualification- assets #475 (findings fixed: title lists 056, A-76 follows A-75); the version sites; the two archive bound raises (rustev-runtime 576 KiB, rustev-eval 768 KiB, measured, recorded in spec 021).
  • Local checks: workspace tests 2554 passed, clippy, fmt, boundaries, spec-spine verify 031, candidate.sh against v0.3.0 end to end, and 300 targeted tests after the rebase. CI runs the full matrix here and again in the merge queue.

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 3, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 983b4ac Nov 4, 2026
38 checks passed
@bartekus
bartekus deleted the release/bump-0.4.0 branch November 4, 2026 00:26
bartekus added a commit that referenced this pull request Nov 5, 2026
Spec 061 (host-scored repeat sets, A-77), increment 2: host repeat
reports in the library. The CLI import (`rustev eval repeat import`)
follows as increment 3; the plan in the spec record is revised
accordingly.

Stacked on #484 (increment 1), which this depends on.

- `crates/rustev-eval/src/host_repeat.rs`:
`rustev.host-repeat-report/1`, `import` (3.2.3 cross-run checks:
`mixed-runs`, `duplicate-run`; `top-k-not-observed`; 3.4 statistics, 3.5
labels; 3.8 held-out unknown) and `reassemble` (3.3.4, `reconcile`).
- `crates/rustev-eval/src/repeat.rs`: spec 029's per-cohort loop moved,
unchanged in behavior, into `cohort_reports`, which both Rustev and host
sets call. Every existing 029 eval test passes unchanged.
- Spec 061 record paragraph; `archive-policy.json` lists
`src/host_repeat.rs`.
- Tests: `crates/rustev-eval/tests/host_repeat.rs`, including the
acceptance item that a host set's statistics equal 029's functions over
the same measures, bit for bit.

Archive size: `rustev-eval` stays under the 786,432 bound of #480.
bartekus added a commit that referenced this pull request Nov 5, 2026
… in the library (#492)

Spec 061 (host-scored repeat sets, A-77), increment 4: host baselines,
the reproducibility check and selection, in the library (3.6 to 3.8).

Stacked on #488 (increment 3). It needs only #486's library, but
increment 5 (the CLI) needs both, so the chain stays linear.

- `crates/rustev-eval/src/host_select.rs`: `provenance` /
`one_provenance` (`mixed-provenance`, I-1), `rustev.host-baseline/1` and
`record`, `reproducibility` (3.7.2), `rustev.host-selection/1` and
`evaluate_selection` with the 3.7.4 preconditions (no stable-cohort
comparison, decision 4) and 3.7.5 coverage clauses.
- `crates/rustev-eval/src/selection.rs`: spec 029's clause, verdict and
ranking code moved into `judge` and `sort_ranks` over a `Side`, which
both selections call. `baseline.rs`: the 3.9 comparison moved into
`stability`. `comparison.rs`: `check_name_list`. No behavior change;
every existing selection, comparison and diff test passes unchanged.
- `crates/rustev-eval/mutation/seeds.py`: the "unknown selection
qualifies" anchor follows the moved line (indentation only).
- Spec 061 record paragraph; `archive-policy.json` lists
`src/host_select.rs`.
- Tests: `crates/rustev-eval/tests/host_select.rs`.

Archive size: `rustev-eval` packages to 782,692 unpacked and 193,712
compressed bytes, under #480's 786,432 and the 196,608 archive bound,
with little headroom.
bartekus added a commit that referenced this pull request Nov 5, 2026
…changes, re-derive PlanId-keyed baselines, ledgers and caches (#511)

## Summary

The release family moves from `0.4.0` to `0.4.1` in lockstep, within the
scope the owner decided on 2026-11-03: spec 061 (host-scored repeat
sets, complete) and #362. No behavior changes. The same procedure as
#480.

- **Why a patch:** everything since 0.4.0 adds API; `release-checks`
runs `cargo semver-checks` against 0.4.0, which must pass for a patch.
- **Version sites:** the workspace `version` and its internal `=0.4.1`
pins, `Cargo.lock`, the nine npm `package.json` files, and
`tools/rustev-release/release-set.json` (version and tag).
- **Regenerated fixtures:** spec 002 3.3.4 puts `rustev-core/<crate
version>` in every plan document, so every PlanId moves, and everything
derived from one: `RUSTEV_BLESS=1 UPDATE_REPEAT_GOLDENS=1
UPDATE_SELECTION_GOLDENS=1 cargo test --workspace`, the CLI re-bless,
`make conformance-harvest`, the embed-linear ignored bless test, the
`rustev-otel` bless, the byte copies #480 lists, and the `rustev-serve`
Sigstore fixture re-signed with its throwaway local keys (four-argument
`regenerate_sigstore.py`). The diff is hashes, version strings, recorded
timing and the re-signed throwaway certificates.
- **Spec 058:** a dated record entry for the 0.4.1 move, with the
consumer note that every PlanId changes from 0.4.0 to 0.4.1 and anything
keyed by one must be re-derived on upgrade.
- **Release notes:** this title (the squash subject) carries the
re-derive note, so the 0.4.1 changelog states it.
- **`.statecraft/derived`:** refreshed (root `Cargo.toml` is a hashed
input; the spec edit).

Left unchanged on purpose: historical text naming 0.4.0, and synthetic
versions under test.

## Verification

- `cargo test --workspace --locked --no-fail-fast`: 2645 passed, 0
failed.
- `cargo build`, `cargo clippy --workspace --all-targets -- -D
warnings`, `cargo fmt --check`, `make boundaries`, `make gate`: clean.


`couple`: the regenerated fixtures are claimed through many specs'
`extends` whose text this change does not touch. Spec 058 carries the
authoring edit; the remaining paths are covered by the owner's waiver,
as in #480.

Spec-Drift-Waiver: family version bump to 0.4.1 (release 0.4.1: 061 and
#362, scope decided by the owner on 2026-11-03). Every PlanId embeds the
compiler crate version (spec 002 3.3.4), so fixtures are regenerated
mechanically through their bless and harvest paths; no behavior changes.
Approved by the owner on 2026-11-03 (approval extended through the final
release) and 2026-11-04 ("when 0.4.1 is ready to tag, you have my
permission to proceed with that").
bartekus added a commit that referenced this pull request Nov 6, 2026
…derive PlanId-keyed baselines, ledgers and caches (#528)

## Summary

The release family moves from `0.4.1` to `0.5.0` in lockstep. The owner
set release 0.5.0 as the sprint goal on 2026-11-05, within the release
approval of 2026-11-03 extended through the final release. Only the
timing is earlier: the move lands ahead of the 0.5.0 feature freeze
because spec 031 3.8's npm declaration check (`make semver`,
`tools/rustev-release/npm-api-diff.mjs`) classes a new required member
of the Node binding's `Engine` (spec 063 increment 2's `planDiff` and
`profileCheck`, #520) as breaking, and refuses it until the version
moves to the breaking position over the 0.4.1 baseline. Before 1.0 that
is the minor number. #520 failed in the merge queue on exactly that. No
behavior changes. The same procedure as #511 and #480.

- **Why a minor step:** the binding increments add required `Engine`
members, a breaking change under 031 3.8; a `0.x` family takes a break
in its minor version, so `cargo semver-checks` and the npm check against
0.4.1 report rather than refuse.
- **Version sites:** the workspace `version` and its internal `=0.5.0`
pins, `Cargo.lock`, the nine npm `package.json` files, and
`tools/rustev-release/release-set.json` (version and tag `v0.5.0`).
- **Regenerated fixtures:** spec 002 3.3.4 puts `rustev-core/<crate
version>` in every plan document, so every PlanId moves, and everything
derived from one: `RUSTEV_BLESS=1 UPDATE_REPEAT_GOLDENS=1
UPDATE_SELECTION_GOLDENS=1 UPDATE_HOST_GOLDENS=1 cargo test
--workspace`, the CLI re-bless, `make conformance-harvest`, the
embed-linear ignored bless test, the `rustev-otel` bless, the byte
copies #480 lists, and the `rustev-serve` Sigstore fixture re-signed
with its throwaway local keys (four-argument `regenerate_sigstore.py`).
The diff is hashes, version strings, recorded timing and the re-signed
throwaway certificates.
- **Spec 058:** a dated record entry for the 0.5.0 move: a
breaking-position release; every PlanId changes from 0.4.1 to 0.5.0 and
anything keyed by one must be re-derived on upgrade; the npm `Engine`
gains required members (031 3.8).
- **Release notes:** this title (the squash subject) carries the
re-derive note, so the 0.5.0 changelog states it.
- **`.statecraft/derived`:** refreshed (root `Cargo.toml` is a hashed
input; the spec edit).

Left unchanged on purpose: historical text naming 0.4.0 and 0.4.1, and
synthetic versions under test.

## Verification

- Bless and harvest paths on lane 1: after the last bless pass, `cargo
test --workspace --locked --no-fail-fast` gave 2645 passed and 2 failed,
the two byte-copy checks (`rustev-bedrock` `identity`, the pinned
reference PlanIds; `rustev-eval` `packaged_fixtures`, the retained
record). Both were refreshed from their sources (the core `*.plan-id`
goldens; the harvested `lodging.replay` bundle's retained bytes).
- `make refresh`, `make gate`: clean.
- The final local run (full workspace tests, clippy `-D warnings`, fmt,
`make boundaries`, `spec-spine verify` 058, 031 and 021, `make semver`)
is reported in a comment on this pull request when it completes.

`couple`: the regenerated fixtures are claimed through many specs'
`extends` whose text this change does not touch. Spec 058 carries the
authoring edit; the remaining paths are covered by the owner's waiver,
as in #480 and #511.

Policy isolation (profile revision 22, `guard-policy-files.sh`): this
change touches `Cargo.toml` and `Cargo.lock` beside the fixtures, so
governance's "Policy isolation" step is expected to fail. It cannot be
split into parts that pass on their own: a pull request with only
`Cargo.toml` and `Cargo.lock` fails its own tests (every PlanId fixture
is stale), and one with only the fixtures fails against the 0.4.1
crates. The owner decided on 2026-11-06 to land it as one pull request
by admin merge, bypassing only that guard, once every other check passes
(code, verify, bindings, release-checks with semver, boundaries, and the
AI review). The merged commit is never tagged: the 0.5.0 tag goes on a
later commit whose own ci-gate passed.

Spec-Drift-Waiver: family version bump to 0.5.0 (release 0.5.0, the
owner's sprint goal decided on 2026-11-05), moved ahead of the feature
freeze because spec 031 3.8 refuses the binding increments' new required
`Engine` members until the breaking position moves. Every PlanId embeds
the compiler crate version (spec 002 3.3.4), so fixtures are regenerated
mechanically through their bless and harvest paths; no behavior changes.
Approved by the owner on 2026-11-03 (release approval extended through
the final release) and 2026-11-05 (sprint direction: release 0.5.0).

Labelled `statecraft:stacked-ci` so this pull request's own run covers
every acceptance group, release-checks and bindings: an admin merge
skips the merge queue's full run.
bartekus added a commit that referenced this pull request Nov 7, 2026
…derive PlanId-keyed baselines, ledgers and caches

## Summary

The release family moves from `0.5.0` to `0.6.0` in lockstep. The owner
decided on 2026-11-07 that the release after 0.5.0 (tagged at
`27e717e1`, published to crates.io and npm) is 0.6.0, carrying specs
064 to 067. The move lands first in the cycle because spec 067 adds
required members to the Node binding's `Engine`, which spec 031 3.8's npm
declaration check (`make semver`, `tools/rustev-release/npm-api-diff.mjs`)
classes as breaking and refuses until the version moves to the breaking
position over the 0.5.0 baseline. Before 1.0 that is the minor number.
Landing the move first lets the later Node pull requests pass `make
semver`. No behavior changes. The same procedure as #528, #511 and #480.

- **Why a minor step:** 067 adds required `Engine` members, a breaking
change under 031 3.8; a `0.x` family takes a break in its minor version,
so `cargo semver-checks` and the npm check against 0.5.0 report rather
than refuse.
- **Version sites:** the workspace `version` and its internal `=0.6.0`
pins (including `rustev-backend-embed-linear`, new in the root
`[workspace.dependencies]` since 0.5.0; `rustev-serve` names its family
dependencies through the workspace since #530), `Cargo.lock`, the nine
npm `package.json` files, and `tools/rustev-release/release-set.json`
(version and tag `v0.6.0`).
- **Regenerated fixtures:** spec 002 3.3.4 puts `rustev-core/<crate
version>` in every plan document, so every PlanId moves, and everything
derived from one: `RUSTEV_BLESS=1 UPDATE_REPEAT_GOLDENS=1
UPDATE_SELECTION_GOLDENS=1 UPDATE_HOST_GOLDENS=1 cargo test
--workspace`, `make conformance-harvest`, the embed-linear ignored bless
test (`support_routing::fixtures::bless_support_routing_fixtures`) and
the local-embed conformance bless (`support_routing::conformance::`,
which writes `local-embed.support-routing`), the byte copies #480 lists
(core `src/testdata`, `rustev-otel` plan fixtures), the two copy checks
refreshed from their sources (`rustev-bedrock`
`reference-plan-ids.json` from the core `*.plan-id` goldens;
`rustev-eval` `lodging-emb.record.json` from the harvested
`lodging.replay` bundle's retained bytes), and the `rustev-serve`
Sigstore fixture re-signed with its throwaway local keys (four-argument
`regenerate_sigstore.py`). New since 0.5.0 and regenerated through the
same paths: spec 063's runtime cases and expected outputs
(`runtime.acquire-*`, `runtime.capture-replay-acquire`,
`runtime.store-*`) and their `acquire`, `capture` and `store` fixtures.
The diff is hashes, version strings, recorded timing and the re-signed
throwaway certificates.
- **Spec 058:** a dated record entry for the 0.6.0 move: a
breaking-position release; every PlanId changes from 0.5.0 to 0.6.0 and
anything keyed by one must be re-derived on upgrade.
- **Release notes:** this title (the squash subject) carries the
re-derive note, so the 0.6.0 changelog states it.
- **`.statecraft/derived`:** refreshed (root `Cargo.toml` is a hashed
input; the spec edit).

Left unchanged on purpose: historical text naming 0.5.0 (spec records,
decision rows, the 063 release target), synthetic versions under test in
`tools/rustev-release/tests`, and third-party crates at 0.5.0 in
`Cargo.lock`.

## Verification

All local, on build lane 2, on the final tree:

- Bless and harvest paths in two rounds (round 1 aborted at the first
harvest because a CLI test embeds a core golden with `include_bytes!`
and had compiled the old bytes; round 2 restored the CLI cases and
fixtures from `main` and re-ran every path). The last bless pass ran
with 0 failures.
- `cargo test --workspace --locked --no-fail-fast`: 2670 passed, 0
failed, 10 ignored (the existing by-hand and benchmark tests).
- `cargo clippy --workspace --all-targets --locked -- -D warnings`,
`cargo fmt --all --check`, `make boundaries`: clean.
- `make conformance-harvest` on the final tree: no drift (status and
diff identical before and after). `make conformance`: pass, including
the local-embed cases through the Rust API and through `rustev-serve`
with `local-embed` over both transports.
- `spec-spine verify` 058, 031 and 021: pass.
- `make semver` (cargo-semver-checks 0.51.0) against 0.5.0: 13 crates
checked, pass; `@rustev/rustev` and `@rustev/rustev-wasm` npm
declarations, pass.
- `make refresh` (the spec edit staled three shards), `make gate`:
clean.

`couple`: the regenerated fixtures are claimed through many specs'
`extends` whose text this change does not touch. Spec 058 carries the
authoring edit; the remaining paths are covered by the owner's waiver,
as in #480, #511 and #528.

Policy isolation (`guard-policy-files.sh`): this change touches
`Cargo.toml` and `Cargo.lock` beside the fixtures, so governance's
"Policy isolation" step is expected to fail. It cannot be split into
parts that pass on their own: a pull request with only `Cargo.toml` and
`Cargo.lock` fails its own tests (every PlanId fixture is stale), and
one with only the fixtures fails against the 0.5.0 crates. The owner
approved on 2026-11-07 landing it as one pull request by admin merge,
bypassing only that guard, once every other check passes (code, verify,
bindings, release-checks with semver, boundaries, and the AI review).
The merged commit is never tagged: the 0.6.0 tag goes on a later commit
whose own ci-gate passed.

Spec-Drift-Waiver: family version bump to 0.6.0 (release 0.6.0, decided
by the owner on 2026-11-07), moved to the start of the cycle because
spec 031 3.8 refuses spec 067's new required `Engine` members until the
breaking position moves. Every PlanId embeds the compiler crate version
(spec 002 3.3.4), so fixtures are regenerated mechanically through their
bless and harvest paths; no behavior changes. Approved by the owner on
2026-11-07.

Labelled `statecraft:stacked-ci` so this pull request's own run covers
every acceptance group, release-checks and bindings: an admin merge
skips the merge queue's full run.
bartekus added a commit that referenced this pull request Nov 7, 2026
…derive PlanId-keyed baselines, ledgers and caches (#545)

## Summary

The release family moves from `0.5.0` to `0.6.0` in lockstep. The owner
decided on 2026-11-07 that the release after 0.5.0 (tagged at
`27e717e1`, published to crates.io and npm) is 0.6.0, carrying specs
064 to 067. The move lands first in the cycle because spec 067 adds
required members to the Node binding's `Engine`, which spec 031 3.8's
npm
declaration check (`make semver`,
`tools/rustev-release/npm-api-diff.mjs`)
classes as breaking and refuses until the version moves to the breaking
position over the 0.5.0 baseline. Before 1.0 that is the minor number.
Landing the move first lets the later Node pull requests pass `make
semver`. No behavior changes. The same procedure as #528, #511 and #480.

- **Why a minor step:** 067 adds required `Engine` members, a breaking
change under 031 3.8; a `0.x` family takes a break in its minor version,
so `cargo semver-checks` and the npm check against 0.5.0 report rather
than refuse.
- **Version sites:** the workspace `version` and its internal `=0.6.0`
pins (including `rustev-backend-embed-linear`, new in the root
`[workspace.dependencies]` since 0.5.0; `rustev-serve` names its family
dependencies through the workspace since #530), `Cargo.lock`, the nine
npm `package.json` files, and `tools/rustev-release/release-set.json`
(version and tag `v0.6.0`).
- **Regenerated fixtures:** spec 002 3.3.4 puts `rustev-core/<crate
version>` in every plan document, so every PlanId moves, and everything
derived from one: `RUSTEV_BLESS=1 UPDATE_REPEAT_GOLDENS=1
UPDATE_SELECTION_GOLDENS=1 UPDATE_HOST_GOLDENS=1 cargo test
--workspace`, `make conformance-harvest`, the embed-linear ignored bless
test (`support_routing::fixtures::bless_support_routing_fixtures`) and
the local-embed conformance bless (`support_routing::conformance::`,
which writes `local-embed.support-routing`), the byte copies #480 lists
(core `src/testdata`, `rustev-otel` plan fixtures), the two copy checks
refreshed from their sources (`rustev-bedrock`
`reference-plan-ids.json` from the core `*.plan-id` goldens;
`rustev-eval` `lodging-emb.record.json` from the harvested
`lodging.replay` bundle's retained bytes), and the `rustev-serve`
Sigstore fixture re-signed with its throwaway local keys (four-argument
`regenerate_sigstore.py`). New since 0.5.0 and regenerated through the
same paths: spec 063's runtime cases and expected outputs
(`runtime.acquire-*`, `runtime.capture-replay-acquire`,
`runtime.store-*`) and their `acquire`, `capture` and `store` fixtures.
The diff is hashes, version strings, recorded timing and the re-signed
throwaway certificates.
- **Spec 058:** a dated record entry for the 0.6.0 move: a
breaking-position release; every PlanId changes from 0.5.0 to 0.6.0 and
anything keyed by one must be re-derived on upgrade.
- **Release notes:** this title (the squash subject) carries the
re-derive note, so the 0.6.0 changelog states it.
- **`.statecraft/derived`:** refreshed (root `Cargo.toml` is a hashed
input; the spec edit).

Left unchanged on purpose: historical text naming 0.5.0 (spec records,
decision rows, the 063 release target), synthetic versions under test in
`tools/rustev-release/tests`, and third-party crates at 0.5.0 in
`Cargo.lock`.

## Verification

All local, on build lane 2, on the final tree:

- Bless and harvest paths in two rounds (round 1 aborted at the first
harvest because a CLI test embeds a core golden with `include_bytes!`
and had compiled the old bytes; round 2 restored the CLI cases and
fixtures from `main` and re-ran every path). The last bless pass ran
with 0 failures.
- `cargo test --workspace --locked --no-fail-fast`: 2670 passed, 0
failed, 10 ignored (the existing by-hand and benchmark tests).
- `cargo clippy --workspace --all-targets --locked -- -D warnings`,
`cargo fmt --all --check`, `make boundaries`: clean.
- `make conformance-harvest` on the final tree: no drift (status and
diff identical before and after). `make conformance`: pass, including
the local-embed cases through the Rust API and through `rustev-serve`
with `local-embed` over both transports.
- `spec-spine verify` 058, 031 and 021: pass.
- `make semver` (cargo-semver-checks 0.51.0) against 0.5.0: 13 crates
checked, pass; `@rustev/rustev` and `@rustev/rustev-wasm` npm
declarations, pass.
- `make bindings` (wasm-bindgen 0.2.129, wasm-opt 116, Node 24): pass,
including the native and fresh-install conformance runs and the
`local-embed` addon case; tree unchanged afterwards.
- Rebased onto #543 (spec 067 text and shards only); `make gate` clean
after the rebase.
- `make refresh` (the spec edit staled three shards), `make gate`:
clean.

`couple`: the regenerated fixtures are claimed through many specs'
`extends` whose text this change does not touch. Spec 058 carries the
authoring edit; the remaining paths are covered by the owner's waiver,
as in #480, #511 and #528.

Policy isolation (`guard-policy-files.sh`): this change touches
`Cargo.toml` and `Cargo.lock` beside the fixtures, so governance's
"Policy isolation" step is expected to fail. It cannot be split into
parts that pass on their own: a pull request with only `Cargo.toml` and
`Cargo.lock` fails its own tests (every PlanId fixture is stale), and
one with only the fixtures fails against the 0.5.0 crates. The owner
approved on 2026-11-07 landing it as one pull request by admin merge,
bypassing only that guard, once every other check passes (code, verify,
bindings, release-checks with semver, boundaries, and the AI review).
The merged commit is never tagged: the 0.6.0 tag goes on a later commit
whose own ci-gate passed.

Spec-Drift-Waiver: family version bump to 0.6.0 (release 0.6.0, decided
by the owner on 2026-11-07), moved to the start of the cycle because
spec 031 3.8 refuses spec 067's new required `Engine` members until the
breaking position moves. Every PlanId embeds the compiler crate version
(spec 002 3.3.4), so fixtures are regenerated mechanically through their
bless and harvest paths; no behavior changes. Approved by the owner on
2026-11-07.

Labelled `statecraft:stacked-ci` so this pull request's own run covers
every acceptance group, release-checks and bindings: an admin merge
skips the merge queue's full run.
bartekus added a commit that referenced this pull request Nov 8, 2026
…derive PlanId-keyed baselines, ledgers and caches

The release family moves from `0.6.0` to `0.7.0` in lockstep. The owner
authorized on 2026-11-08 opening the cycle of the release after 0.6.0
(tagged at `8e9599ac`, published to crates.io and npm) as 0.7.0, carrying
spec 068's implementation and the later work of the cycle. The move lands
first in the cycle, on a quiet `main`, so that a change in the cycle that
spec 031 3.8's npm declaration check (`make semver`,
`tools/rustev-release/npm-api-diff.mjs`) or `cargo semver-checks` classes
as breaking over the 0.6.0 baseline is reported rather than refused.
Before 1.0 the breaking position is the minor number. No behavior
changes. The same procedure as #545, #528, #511 and #480.

- **Why a minor step:** the next release is 0.7.0 (spec 068 and the later
work of the cycle); a `0.x` family takes a break in its minor version, so
`cargo semver-checks` and the npm check against 0.6.0 report rather than
refuse.
- **Version sites:** the workspace `version` and its internal `=0.7.0`
pins (the same thirteen as #545; no family crate joined the root
`[workspace.dependencies]` since 0.6.0), `Cargo.lock`, the nine npm
`package.json` files, and `tools/rustev-release/release-set.json`
(version and tag `v0.7.0`).
- **Regenerated fixtures:** spec 002 3.3.4 puts `rustev-core/<crate
version>` in every plan document, so every PlanId moves, and everything
derived from one: `RUSTEV_BLESS=1 UPDATE_REPEAT_GOLDENS=1
UPDATE_SELECTION_GOLDENS=1 UPDATE_HOST_GOLDENS=1
UPDATE_INTEGRITY_GOLDENS=1 cargo test --workspace` (the integrity
goldens are new since 0.6.0, spec 065), `make conformance-harvest`, the
embed-linear ignored bless test
(`support_routing::fixtures::bless_support_routing_fixtures`) and the
local-embed conformance bless (`support_routing::conformance::`, which
writes `local-embed.support-routing`), the byte copies #480 lists (core
`src/testdata`, `rustev-otel` plan fixtures from the harvested
`lodging.run` and `support.run` fixtures), the two copy checks refreshed
from their sources (`rustev-bedrock` `reference-plan-ids.json` from the
core `*.plan-id` goldens; `rustev-eval` `lodging-emb.record.json` from
the harvested `lodging.replay` bundle's retained bytes), and the
`rustev-serve` Sigstore fixture re-signed with its throwaway local keys
(four-argument `regenerate_sigstore.py`, over the registration with the
new PlanId and its `PlanBundleSignature::signing_input()` bytes). New
since 0.6.0 and regenerated through the same paths: spec 067's native
live conformance cases (`live.journal-cap`, `live.probe-failure`,
`live.probe-only`, `live.run-cap`) and their fixtures, and spec 065's
`integrity-void` case. The diff is hashes, version strings, recorded
timing and the re-signed throwaway certificates; a script compared every
changed fixture against `main` with 64-hex digests, `0.6.0`/`0.7.0` and
the run-record timing fields masked, and found no other difference.
- **Spec 058:** a dated record entry for the 0.7.0 move: a
breaking-position release; every PlanId changes from 0.6.0 to 0.7.0 and
anything keyed by one must be re-derived on upgrade.
- **Release notes:** this title (the squash subject) carries the
re-derive note, so the 0.7.0 changelog states it.
- **`.statecraft/derived`:** refreshed (root `Cargo.toml` is a hashed
input; the spec edit).

Left unchanged on purpose: historical text naming 0.6.0 (spec records,
decision rows, spec 068's baseline), synthetic versions under test in
`tools/rustev-release/tests`, and third-party crates at 0.6.0 in
`Cargo.lock`.

Also left unchanged: the harvest writes `"surfaces": ["cli", "native"]`
for `cli/integrity-void.stdout` (every repeat command runs natively too,
`crates/rustev-cli/tests/common/harvest.rs`), while `main` (#554)
commits `["cli"]`. That drift predates this change and is not a version
effect, so this pull request keeps `main`'s surfaces in the case and the
manifest and changes only the case's hashes.

All local, on build lane 2:

- Bless and harvest paths: a core bless and the `src/testdata` copies
first, then the workspace bless, then (as in #545, the first harvest
stopped on a CLI test that had compiled the old core golden bytes) the
CLI cases and fixtures restored from `main`, a CLI bless, `make
conformance-harvest` (pass), the embed-linear and local-embed blesses,
the manifest aggregate, the copies and the Sigstore re-sign. A second
full workspace bless pass ran with 0 failures and changed nothing
further.
- `make refresh` (the spec edit staled three shards), `make gate`,
`scripts/check-authored-content.sh`: clean.

`couple`: the regenerated fixtures are claimed through many specs'
`extends` whose text this change does not touch. Spec 058 carries the
authoring edit; the remaining paths are covered by the owner's waiver,
as in #480, #511, #528 and #545.

Policy isolation (`guard-policy-files.sh`): this change touches
`Cargo.toml` and `Cargo.lock` beside the fixtures, so governance's
"Policy isolation" step is expected to fail. It cannot be split into
parts that pass on their own: a pull request with only `Cargo.toml` and
`Cargo.lock` fails its own tests (every PlanId fixture is stale), and
one with only the fixtures fails against the 0.6.0 crates. As with
bypassing only that guard, once every other check passes (code, verify,
bindings, release-checks with semver, boundaries, and the AI review).
The merged commit is never tagged: the 0.7.0 tag goes on a later commit
whose own ci-gate passed.

Spec-Drift-Waiver: family version bump to 0.7.0 (the release after
0.6.0; the owner authorized opening the 0.7.0 cycle on 2026-11-08),
moved to the start of the cycle so that breaking changes over the 0.6.0
baseline are reported rather than refused. Every PlanId embeds the
compiler crate version (spec 002 3.3.4), so fixtures are regenerated
mechanically through their bless and harvest paths; no behavior changes.
Authorized by the owner on 2026-11-08.

Labelled `statecraft:stacked-ci` so this pull request's own run covers
every acceptance group, release-checks and bindings: an admin merge
skips the merge queue's full run.

This branch was previously deployed

1 inactive deployment
statecraft-review-exception — e3f6b9aa Deployed Nov 3, 2026 by bartekus via review-exception #3168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

statecraft:stacked-ci Run the full CI matrix on a stacked pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant