Repository navigation
ci(027, 031): register the bindings and release-checks required jobs - #153
Conversation
AI review (no-findings)Looking at the two new workflow files, the spec amendments, and the governance metadata updates.
Spec amendments (027, 031)
Governance metadata
No concrete defects found that are supported by the supplied evidence. {"head": "0eeb037bbc10dc235feb2bf05ae62f217614fe8d", "verdict": "no-findings", "findings": []}Subject: c58c52e...0eeb037, diff digest eae1e2d2429a0c1d3705cba2085d51472d8c3a7303e240861f5c71b3a2a01b78, 1 call(s). An AI comment is not an approval. |
0eeb037 to
ccb0c13
Compare
AI review (findings)Review of PR
The test -x ~/wasm-tools/bin/wasm-bindgen || cargo install --locked --root ~/wasm-tools wasm-bindgen-cli --version 0.2.129
test -x ~/wasm-tools/bin/wasm-opt || cargo install --locked --root ~/wasm-tools wasm-opt --version 0.116.1The cache key is: key: bindings-wasm-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'rust-toolchain.toml') }}Neither Compare with key: cargo-semver-checks-0.51.0-${{ runner.os }}The inconsistency within the same PR confirms this is unintentional. The fix is to include the pinned version strings in the No other concrete defects found in the spec increments, environment digest updates, or workflow logic. {"head": "ccb0c133183556b04ee83ff70397bfbe1ae6bf6b", "verdict": "findings", "findings": [{"path": ".github/workflows/bindings.yml", "line": 47, "summary": "The wasm-tools cache key does not include the pinned wasm-bindgen-cli (0.2.129) or wasm-opt (0.116.1) version numbers, so a version bump in the install step will not bust the cache and the stale cached binaries will be reused silently."}]}Subject: c58c52e...ccb0c13, diff digest bb24cc44ce7019a74cda68ebcaae34aa6ca1fc99a6043cbbdcb8aae436a3a690, 1 call(s). An AI comment is not an approval. |
ccb0c13 to
3ec234b
Compare
AI review (no-findings)Reviewing the two new workflow files, the Statecraft environment/setup updates, and the two spec amendments.
Spec cross-checks
No concrete defects found. {"head": "3ec234bba323039bf3d4f0d39fd52d06dfdb89c8", "verdict": "no-findings", "findings": []}Subject: 0d67a8f...3ec234b, diff digest 8876a72bc9644e98df7306a0843d9562710cbc9f87bf8f07e4c9d45fe6a19179, 1 call(s). An AI comment is not an approval. |
Adds .github/workflows/bindings.yml (spec 027 3.12.5) and .github/workflows/release-checks.yml (spec 031 3.5, 3.6.7, 3.8), registers both in ci.extra_required_jobs and re-renders with the revision-17 renderer, which changed only statecraft-ci.yml and the recorded setup.
3ec234b to
093f834
Compare
AI review (no-findings)Reviewing the PR diff against governance rules and internal consistency. Managed files:
Spec ↔ workflow consistency:
No concrete defects found. {"head": "093f8348e9bc10e5d60fbc3119e71e060f14261a", "verdict": "no-findings", "findings": []}Subject: d058b43...093f834, diff digest 8876a72bc9644e98df7306a0843d9562710cbc9f87bf8f07e4c9d45fe6a19179, 1 call(s). An AI comment is not an approval. |
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
Spec 046: implementation complete. The bindings job gates the optimized WebAssembly module at 2,621,440 bytes raw and 786,432 gzip; CI run 39684537149 on #153's head 093f834 passed bindings / wasm and the seven native platforms (2,251,563 raw, 772,853 gzip), as did main's push run 39688068295 at 00a4b7c. R-47 records the owner's rulings of 2026-10-21. Spec 027 is complete with its two findings as known limitations, declares its verify:cli and joins make verify. Spec 020's two items not verifiable as written are not applicable as built; it is complete and joins make verify. The defaults and engineering choices of 019 and 026 are accepted. Spec 045 stays pending: layers, the manifest policy's section 5 cases and the surface's archive allowlist are met on main; the upload order does not follow the layers by name, because two layer-3 packages dev-depend on the CLI, a reconciliation spec 021 leaves to the owner.
…47 (#154) ## Summary Release closeout, first change: specs 045 and 046 against CI evidence, and the owner's 2026-10-21 rulings on 019, 020, 026 and 027, recorded as R-47. - **Spec 046: `implementation: complete`.** `tools/rustev-conformance/js/wasm-check.mjs` gates the optimized module at 2,621,440 bytes raw and 786,432 gzip and writes both budgets into the measurement document. CI run 39684537149 on #153's head `093f834` passed every job, including `bindings / wasm` and the seven native platforms; its measurement document records 2,251,563 bytes raw and 772,853 gzip. The push run on `main` at `00a4b7c` (39688068295) passed the same jobs. (Run 39671862047 is on #153's earlier head `ccb0c13`; it passed too, but it is not the merged head.) - **Spec 027: `implementation: complete`** under R-47, with its two findings recorded as known limitations: a host backend's `AbortSignal` answer is always `not_observed`; output failing the bounded parse follows 3.6.5, not section 5's row. Its Verification section now declares `verify:cli` (conformance runner, surface tests, boundaries) and 027 joins `make verify`; the completion record cites the same CI runs. - **Spec 020: `implementation: complete`** under R-47: the two "not verifiable as written" items are not applicable as built (HTTP/1.1 only binding; no Jev refinement enabled). 020 joins `make verify`. - **Specs 019 and 026:** dated notes that the owner accepted the defaults and engineering choices in their records (R-47). - **Spec 045: stays `pending`, with its acceptance check recorded.** Met on main: `rustev-surface` alone in layer 4, `rustev-cli` in layer 5; `tests/manifests.rs` refuses each manifest-policy case of section 5; the surface has its archive allowlist. Not met: "upload order following the layers" read with 3.2.5 (by name within a layer). `rustev-pkg-support-routing` and `rustev-pkg-lodging` (layer 3) upload after `rustev-cli` because their tests use it, and layer 3 is not uploaded by name. Spec 021's record leaves that reconciliation to the owner. - **`AGENTS.md`:** the CI paragraph now lists all four declared extra jobs of `ci.extra_required_jobs` (`bindings` and `release-checks` were added by #153 but not recorded there; review round 1). ## Review findings answered - Round 3 (`4fe4af3`), "027 complete while section 5 is contradicted with no amendment": deliberate, not a defect. The owner ruled on 2026-10-21 (R-47) to complete 027 with both departures recorded as known limitations instead of amending section 5 or 3.6.5. This head states that choice in R-47 and in 027's record, which names the record as the authoritative statement of the departure and leaves a fix or an amendment to a later spec. - Round 4 (`b4607a5`), "046 complete without a cited owner decision": completion is a delivery record, not an owner act. 046 was ratified as A-43; marking `implementation: complete` once its acceptance holds needs no decision row, as with spec 047 (ratified A-44, completed with no row of its own). 046's record now maps both acceptance items to their evidence and says so. - Round 6 (`6b94208`), R-47 after R-49: fixed; R-47 is now between R-45 and R-49. ## Decision numbering R-47 is this lane's reserved number (numbers were reserved per lane, not in merge order). It sits in numeric order between R-45 and R-49 in the 2026-10-21 table, whose heading drops "spec 010" since it now holds rulings beyond spec 010 (review round 6). R-46 (spec 028, #151) and R-48 (spec 029's lane) are reserved by open work, so the gaps are expected and no number is reused. ## Owner decision still open (not decided here) - Spec 045 / 031 3.1 upload order: an ordering amendment, or published manifests without those development dependencies. ## Checks - `make gate`: passed. `bash scripts/check-authored-content.sh`: clean. `spec-spine couple`: OK. - `make verify` for 020 and 027: not run locally (shared target busy with the release candidate); the CI `verify` job runs it. - `make release-candidate` at `00a4b7c`: running locally; its result will be recorded here.
Registers the two remaining required CI jobs: spec 027's
bindings(3.12.5) and spec 031'srelease-checks(3.5, 3.6.7, 3.8, 3.12)..github/workflows/bindings.yml(owned by spec 027):make bindingson the reference runner (ubuntu-24.04x64, Node 22), the native suite under Node 20 and 24, and the seven-platform native matrix. On each platform the matrix builds the addon, runs the differential corpus, and installs both packages from their tarballs into a fresh project..github/workflows/release-checks.yml(owned by spec 031):adoption, one job per partial-adoption subset (the five subsets whose crate is absent are reported as skipped, never passed);msrvat the toolchain the members'rust-versiondeclares;semverwith the pinnedcargo-semver-checks0.51.0, whereno-baselineis recorded as not applicable.ci.extra_required_jobsinproject.setup.parametersof.statecraft/environment.json, then re-rendering with the revision-17 renderer (statecraft-cli commit2f366913240ab9c6a13e4da46d057b165574bd71, profile identityfe0e763c8f21):init plan . --profile github-actions-rustproduced plandf5491a7507d9a49ad1df28ec2bfc1e69f63f0af47557c3f22076fc511009bcd, whichinit applyapplied, reporting every rendered path at its intended digest. The renderer changed onlystatecraft-ci.yml(the twouses:jobs andci-gate'sneeds) and the two setup documents.specs/000-bootstrap/spec.mdandstandards/spec/constitution.mdwere withheld as owner-edited and are unchanged.This PR changes the authority set, so it needs the owner's approval of the
statecraft-review-exceptionEnvironment once. Once the seven-platform matrix passes, specs 046 and 027 can be marked complete in a follow-up.Local verification (macOS arm64):
make gatepasses with spec-spine 0.31.0. The new jobs themselves run only in CI.Round 1 CI (win32-x64-msvc): all 34 conformance cases failed their pinned fixture digests, because the Windows runner checks out with
core.autocrlf=true. Thenativejob now disables it before checkout; spec 027 records why.Review round 2 (1 finding, fixed): the WebAssembly tools cache key did not name the tool pins, and its
restore-keysprefix could restore an older cache whose tools then passed thetest -xcheck. The key now carrieswasm-bindgen-cli0.2.129 andwasm-opt0.116.1, and each tool is installed under a root named by its version, so a restored older cache never supplies a stale tool. (Round 2 first failed on reviewer infrastructure, "claude native binary not installed", and was rerun.)Review round 3 (0 findings). Rebased onto
mainafter #150, #152 and #148 (no conflict; none touched a managed or workflow file);make gate,coupleand the authored-content check pass again.