Skip to content

docs(019, 020, 026, 027, 045, 046): close 027, 020 and 046; record R-47 - #154

Merged
bartekus merged 1 commit into
mainfrom
release-closeout
Oct 22, 2026
Merged

bartekus merged 1 commit into
mainfrom
release-closeout

Conversation

@bartekus

@bartekus bartekus commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

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 ci(027, 031): register the bindings and release-checks required jobs #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 ci(027, 031): register the bindings and release-checks required jobs #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 ci(027, 031): register the bindings and release-checks required jobs #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.

@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing both spec changes for concrete defects.

Spec 045 adds an implementation record that correctly keeps implementation: pending, explains what is and isn't met, and is internally consistent. No defect found.

Spec 046 advances implementation: pending → complete and replaces the pending verification note with a filled-in Verification section and an Implementation record.

One concrete inconsistency: the new Verification section states that the CI bindings job is "a required job of ci-gate". AGENTS.md at the base commit (00a4b7c) is authoritative for this repository's CI setup and reads:

CI is the Statecraft setup profile github-actions-rust (revision 17): one required check, ci-gate, over governance, code, the AI review and the declared extra jobs boundaries and verify (.github/workflows/boundaries.yml, .github/workflows/verify.yml, owned by spec 001).

bindings is not listed as a declared extra job. The implementation record attributes the addition of bindings as a required job to spec 027's increment 7 / PR #153, whose merge commit is 00a4b7c — which is the base commit itself. If that merge genuinely added bindings as a required job of ci-gate, AGENTS.md should have been updated to record it, but was not. The claim in the spec therefore contradicts the governance document that is authoritative at the base commit.

{"head": "d125efd540ed347f8e43efc939485aa8c32e77e4", "verdict": "findings", "findings": [{"path": "specs/046-wasm-size-budget/spec.md", "line": 97, "summary": "Verification section claims `bindings` is a required job of `ci-gate`, but AGENTS.md at the base commit lists only `boundaries` and `verify` as declared extra jobs; if spec 027 increment 7 added `bindings`, AGENTS.md was not updated to reflect it."}]}

Subject: 00a4b7c...d125efd, diff digest 40878e0653f28722c41df918d7b88c4320e376c5d7e18cb25b5353eed63a58ba, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 21, 2026 23:29 — with GitHub Actions Error
@bartekus bartekus changed the title docs(045, 046): complete 046 on CI evidence; record 045's acceptance check docs(019, 020, 026, 027, 045, 046): close 027, 020 and 046; record R-47 Oct 21, 2026
@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing the diff against governance rules and internal consistency.

Makefile: Adds 020 and 027 to VERIFIED_SPECS. Both specs now declare spec-spine verify blocks and the text says they join make verify. Consistent.

R-47 (founding decisions): Dated 2026-10-21 (matches current date per system). Covers three rulings: spec 027 complete with two known limitations, spec 020 complete (two acceptance items ruled not applicable as built), and spec 019/026 engineering choices accepted. No claim of release, publication, or qualification. Internally self-consistent.

Specs 019, 026: Add owner-review notes referencing R-47 with no status changes. Consistent with R-47's text ("defaults and engineering choices accepted as recorded").

Spec 020: implementation changed to complete. The two acceptance items (multiplexed cancellation under HTTP/2; new qualification evidence from enabled refinement) are ruled not applicable because the binding is HTTP/1.1 only and no refinement is enabled on the Jev adapter. The ruling appropriately notes these would become applicable again if either condition changes. Consistent with R-47.

Spec 027: implementation changed to complete. A verify:cli block is added covering conformance, surface, and boundaries. Two known limitations are recorded and matched precisely between R-47 and the spec text. Consistent.

Spec 046: implementation changed to complete. Verification is through make bindings (a required CI job), not spec-spine verify, so 046 is correctly absent from VERIFIED_SPECS. Consistent.

Spec 045 — concrete defect: The Verification section (lines 151–152 in context) retains the stale text: "Pending with implementation: spec 027's increment 3 applies this amendment's release-set change and records it there." The new implementation record confirms that spec 027's increment 3 did apply the release-set change (that condition is now met), but the spec remains implementation: pending for a different reason — the upload-ordering issue with development dependencies. The Verification section's explanation for why the spec is pending now contradicts the implementation record: it names an already-completed precondition rather than the actual remaining blocker.

{"head": "8dad5c6285f55889d81ea395248ee84dc253fcc2", "verdict": "findings", "findings": [{"path": "specs/045-command-surface-release-layer/spec.md", "line": 152, "summary": "The Verification section still states the spec is pending because spec 027's increment 3 has not yet applied the release-set change, but the new implementation record confirms that change was applied; the spec now stays pending for a different reason (upload ordering), leaving the Verification section's pending explanation stale and contradictory."}]}

Subject: 00a4b7c...8dad5c6, diff digest c8bdc4be4892fec461eeeda2e24590016d5b760fdefd10bfa46060509ccd7b90, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 21, 2026 23:32 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the PR against the governance context. The changes span a decisions record, lifecycle transitions for three specs (020, 027, 046), owner-acceptance notes for two others (019, 026), a partial implementation record for one still-pending spec (045), and supporting Makefile and AGENTS.md documentation updates.

AGENTS.md – The root AGENTS.md is the repo-owned file Statecraft never rewrites; editing it is correct. The added text names bindings (.github/workflows/bindings.yml) and release-checks (.github/workflows/release-checks.yml) as extra required jobs alongside spec attributions (027 and 031 respectively). Both files appear in REPO CONTEXT; the attributions are consistent with the body of the PR.

Makefile VERIFIED_SPECS – Specs 020 and 027 are added. Both now carry verify:cli blocks and their verification sections explicitly say they join make verify. Spec 046 moves to complete but is not added; its verification is via the bindings CI job rather than spec-spine verify, which the spec text correctly describes. Consistent.

R-47 decision – Three rulings recorded: 027 complete with two known limitations, 020 complete (two acceptance items N/A as built), 019 and 026 engineering choices accepted. The text explicitly disclaims any release authorisation, qualification claim or amendment of approved text, matching the governance boundary.

Spec 019 / 026 – Owner-acceptance notes added without lifecycle change. Both specs remain schedulable work orders; the notes do not claim completeness. Internally consistent.

Spec 020 – pending → complete. The ruling that the two "not verifiable as written" items are not applicable as built (HTTP/1.1 only, no enabled Jev refinement) is documented in R-47 and in the spec body. The contract table permits this transition; the approval predates the implementation. Consistent.

Spec 027 – pending → complete with two known limitations recorded per R-47 rather than fixed. The verify:cli block covers conformance, surface and boundaries acceptance items; wasm/node matrix testing is delegated to the bindings CI job, which the spec text documents explicitly. The completion note cites CI run 39688068295 on main at 00a4b7c, matching the base commit in SUBJECT. Consistent.

Spec 045 – No frontmatter change (implementation stays pending). The implementation record confirms one unmet acceptance item (upload-order reconciliation) and explicitly states the spec remains pending. The verification section now accurately describes what the test suite checks vs. what is deferred. Consistent.

Spec 046 – pending → complete. The wasm-check.mjs gate and CI job are described; the measurement figures (2,251,563 bytes raw / 772,853 gzip against budget 2,621,440 / 786,432) are internally consistent and reference the same CI runs as spec 027. Consistent.

No concrete defects found.

{"head": "8bfe38d8ac3732ee615c8c28fbb075df0df7d5f9", "verdict": "no-findings", "findings": []}

Subject: 00a4b7c...8bfe38d, diff digest a6a254909bce310759de200892f28835ff02ea3ad6714c88484ec1dccdfe4492, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus enabled auto-merge (squash) October 21, 2026 23:36
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the diff against governance context and repo state.

AGENTS.md: Documents bindings (spec 027) and release-checks (spec 031) as required extra CI jobs. Both workflow files exist at the base commit; the PR does not change any .github/workflows/ file, so the statecraft-review-exception requirement does not apply here. The attribution of job ownership to specs 027 and 031 is consistent with the rest of the diff.

Makefile: Adds 020 and 027 to VERIFIED_SPECS. Both specs gain verify:cli blocks and are marked implementation: complete in this PR. Spec 046 is also marked complete but does not declare a verify:cli block (its verification runs through the bindings CI gate); not adding it to VERIFIED_SPECS is correct. Spec 045 stays pending; also correct.

R-47 (decisions file): The entry is dated 2026-10-21, covers three rulings, and explicitly states none of them "amends an approved text, authorizes a release or publication, enables a refinement, or makes a qualification, latency or cost claim." This is consistent with governance scope.

Spec 020: Transition to complete is grounded in R-47 ruling both acceptance items "not applicable as built." The rationale (HTTP/1.1-only binding, no enabled refinement on Jev) is stated explicitly. The ruling and the text change are consistent.

Spec 027: Transition to complete with known limitations recorded under R-47. The verify:cli block covers conformance, surface, and boundary checks. The Node/WASM-specific measurements are in the bindings CI job, which is stated to be a required gate. This division was anticipated in the original spec text ("The implementation adds verify:cli entries for make conformance and make boundaries here"), so it is not a gap introduced by this PR. The two known limitations (AbortSignal recording and bounded-parse failure path) are explicitly recorded in the implementation record rather than silently omitted.

Spec 046: Marked complete; the verification runs through make bindings / the CI bindings job. No verify:cli block is declared, consistent with not being added to VERIFIED_SPECS.

Spec 045: Stays implementation: pending because the upload-order reconciliation is unresolved. The frontmatter is not changed, and the implementation record states this explicitly. The verification section correctly describes what checks exist without claiming completion.

Specs 019 and 026: Owner review notes added, no status changes. Consistent with R-47(3).

No concrete defects found.

{"head": "a5fd1dc0ec7b1d34e00148c4c6987318f5042ca7", "verdict": "no-findings", "findings": []}

Subject: 4552b3e...a5fd1dc, diff digest a6a254909bce310759de200892f28835ff02ea3ad6714c88484ec1dccdfe4492, 1 call(s). An AI comment is not an approval.

@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing each changed path for concrete defects.

AGENTS.md – Adds bindings (spec 027) and release-checks (spec 031) to the declared extra required jobs. Both workflow files exist in REPO CONTEXT. Consistent.

Makefile – Adds 020 and 027 to VERIFIED_SPECS. Both specs now carry implementation: complete and have verify:cli blocks. Spec 046 is marked complete but has no verify:cli fenced block, so it correctly needs no entry. Consistent.

docs/decisions/00-founding-decisions.md – Adds R-47 in a new sub-section after R-45. The diff shows no R-46 between those entries; however the full file is not in scope, so absence cannot be confirmed. No finding raised on that alone.

specs/019 and 026 – Append an owner-review note (R-47 reference) inside the implementation record. Frontmatter is unchanged; both specs remain at whatever implementation value they held. Consistent.

specs/020 – implementation: pending → complete. Two acceptance items ruled not applicable as built (HTTP/1.1 only; no refinement enabled on Jev adapter). R-47 is the cited ruling. Joins make verify. Consistent.

specs/045 – Adds a verification section and implementation record. The record explicitly states "Not met, so this spec stays implementation: pending" for the upload-order item. Frontmatter not changed. Consistent.

specs/046 – implementation: pending → complete. Verification section describes make bindings but does not use a verify:cli fenced block, so no entry in VERIFIED_SPECS is required. Measurements cited in both spec 027 and spec 046 records agree (2,251,563 / 772,853 vs budgets 2,621,440 / 786,432; headroom 786,432 − 772,853 = 13,579, correct). Consistent.

specs/027 – implementation: pending → complete. Two known limitations are recorded under owner ruling R-47.

Known limitation 2 states explicitly: "Output failing the bounded parse follows 3.6.5 (the seam's typed failure: permanent, charge unknown), not section 5's row naming spec 003's invalid_backend_output." This is an unambiguous statement that the implementation diverges from section 5's normative table for host backends. R-47 records that ruling does not amend the approved text. Consequently, section 5 as published says one thing (invalid_backend_output for that class of failure) and the implementation does another (permanent). The spec is marked complete with its normative text left internally contradictory. A future implementer reading section 5 receives incorrect guidance about the actual runtime behavior.

{"head": "4fe4af331ff81b749f1b28dffb8b4c86104dcf6a", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "Spec 027 is marked implementation:complete while its own implementation record (known limitation 2) explicitly states that output failing the bounded parse follows 3.6.5 (permanent) rather than section 5's normative row for invalid_backend_output, leaving approved normative text contradicted by the accepted implementation with no amendment to section 5."}]}

Subject: 0cc3b1e...4fe4af3, diff digest 1f7318d56272f74a3d0b3aab5b50859033dd097dc085203187204b12b3a91d60, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 22, 2026 00:16 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing each changed path against the governance context and the PR diff.

AGENTS.md -- The update adds bindings (spec 027) and release-checks (spec 031) to the documented list of required CI jobs. Both workflow files are present in the base repo context. The prose change is documentation catching up to existing reality; no managed-file edit is involved.

Makefile -- Adds 020 and 027 to VERIFIED_SPECS. Both specs now carry verify:cli blocks that spec-spine verify will execute; 046 is correctly omitted because its verification section delegates to the CI bindings job rather than a verify:cli block.

docs/decisions/00-founding-decisions.md -- Adds R-47 naming three implementation rulings covering specs 027, 020, 019, and 026. The R-45 → R-47 jump implies R-46 was committed in an earlier PR; since 046 was pending before this PR it cannot have been completed by R-46, so R-46 covers something else. No issue there.

specs/019, 026 -- Each gains an "Owner review, 2026-10-21 (R-47)" note recording that the owner accepted the implementation record's defaults. Status stays approved / in-progress-or-complete per those specs' own frontmatter (not changed here). No issue.

specs/020 -- Transitions implementation: pending → complete with an explicit R-47 citation in both the approval narrative and the new ruling paragraph. Consistent with the contract's lifecycle table and the decisions document.

specs/027 -- Transitions implementation: pending → complete with an explicit R-47 citation, a new verify:cli block, and a completion record that names the CI run and records the two known departures the owner accepted. The verify:cli entries cover conformance, surface, and boundaries; the Node/WASM matrix is explicitly delegated to the CI bindings job with explanation. Consistent.

specs/045 -- Adds an implementation record and keeps implementation: pending, documenting exactly what is and isn't met. No status transition; no issue.

specs/046 -- Transitions implementation: pending → complete. The implementation record attributes completion to spec 027's increments 5 and 7 and cites CI run 39684537149 -- the same run cited for spec 027. However, R-47 (the only new decision in this PR) lists three rulings covering specs 027, 020, 019, and 026 -- it does not mention spec 046. The spec's own implementation record names no owner decision ID for the complete transition, unlike every other spec completing in this PR. Since spec 046 is a distinct approved spec with its own implementation field, and the established pattern in this PR (and visible across the corpus) is to cite an explicit decision ID when transitioning to complete, this is a citation gap: 046's status change is unsupported by a named owner act in the evidence supplied.

{"head": "b4607a5c6b2ef1c404f1209b5cc71589b4b1fb6e", "verdict": "findings", "findings": [{"path": "specs/046-wasm-size-budget/spec.md", "line": 5, "summary": "Transitions implementation to complete without a cited owner decision: R-47 explicitly covers specs 027, 020, 019, and 026 but not 046, and the implementation record names no decision ID for this status change."}]}

Subject: 0cc3b1e...b4607a5, diff digest 073942d498871213a3c29ece85670e2c5e5a927dbee35e2581293826fb4d5a34, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 22, 2026 00:20 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

Reviewing all changed files against the governance context and each other.

AGENTS.md: Documents bindings (spec 027) and release-checks (spec 031) as ci.extra_required_jobs. Both workflow files exist in the base repo context. No workflow files are modified by this PR; the update is documentation of existing CI state. Consistent.

Makefile: Adds 020 and 027 to VERIFIED_SPECS. Spec 020 now declares verify:cli is complete and gains a "020 is in make verify" statement; spec 027 gains a verify:cli block in this PR. Spec 046 is marked complete but omitted from VERIFIED_SPECS — consistent because the diff shows no verify:cli block for 046; its gate runs through make bindings (the CI bindings job), not spec-spine verify. Ordering in the list is preserved.

docs/decisions/00-founding-decisions.md: R-47 records three rulings covering specs 027 (known limitations, completion), 020 (two acceptance items not applicable), and 019/026 (defaults accepted). Cross-checking each spec file: spec 027 records the two known limitations verbatim; spec 020 records the ruling and changes implementation to complete; specs 019 and 026 each add the owner-review note. All consistent with R-47's description.

specs/019 and 026: Implementation record notes added citing R-47; no frontmatter lifecycle change in either, which matches R-47's language ("accepted as recorded," not "complete"). Consistent.

specs/020: implementation: pending → complete. Both unverifiable acceptance items are ruled not applicable (HTTP/1.1-only binding; no enabled refinement). The Verification section is updated to remove the pending caveat and align with the R-47 ruling. 020 added to make verify. Consistent.

specs/027: implementation: pending → complete. A verify:cli block is filled in (was explicitly deferred in the pre-PR text). Two known limitations are documented under R-47. The completion record names CI run 39684537149 and merge commit 00a4b7c; these are factual claims in review data that I cannot verify externally, but there is no internal contradiction with the spec text. 027 added to make verify. Consistent.

specs/045: Adds an implementation record; spec stays implementation: pending because the upload-order acceptance item is unmet. Frontmatter is not changed, consistent with the record's own statement.

specs/046: implementation: pending → complete. The implementation record asserts both acceptance items are met (gate passes, measurement document records sizes within budget). Completion is attributed to delivery against A-43 (the ratification), requiring no new owner ruling — consistent with governance principle that completion is a factual record, not an approval act. Not added to VERIFIED_SPECS for the reason noted above.

No internal contradictions, lifecycle violations, or security issues found across the changed paths.

{"head": "d6414b0070602dacba0434c422e5904c59acdf0b", "verdict": "no-findings", "findings": []}

Subject: 0cc3b1e...d6414b0, diff digest 580957f2ef28dc54e448dc0bb2d163d3a56138c17c1d7a08e395a8a81201e320, 1 call(s). An AI comment is not an approval.

@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing the diff against the governance context and spec lifecycle rules.

Checks performed:

  • Lifecycle transitions (implementation: pending → complete) against contract rules
  • Consistency between Makefile VERIFIED_SPECS, spec verify:cli blocks, and completion claims
  • Decision log ordering
  • AGENTS.md documentation update scope

Findings:

1. Out-of-order decision ID in decisions log

docs/decisions/00-founding-decisions.md: The base document already contains R-45 and R-49 in sequence. This PR inserts R-47 in a new subsection that appears after R-49 in document order, producing the sequence R-45 → R-49 → R-47. Since decision IDs are used as cross-references (e.g., spec 020 and 027 cite "R-47") and the document uses monotonically increasing R-nn identifiers, placing R-47 after R-49 creates an inconsistent and potentially confusing reference ordering. A reviewer following the document linearly encounters R-49 before R-47 despite R-47 having a lower ordinal.

Other observations (no finding):

  • Lifecycle transitions for 020, 027, and 046 to complete are supported by the cited ruling (R-47) and the implementation records supplied.
  • Spec 045 correctly stays implementation: pending with the unresolved upload-order item explicitly named.
  • Makefile adds 020 and 027 to VERIFIED_SPECS consistently with both specs now declaring verify:cli blocks and being set to complete.
  • AGENTS.md documentation update (adding bindings and release-checks) does not touch the managed workflow files, so no statecraft-review-exception is triggered.
  • Spec 046 is set complete without a verify:cli block; the Makefile correctly does not add 046 to VERIFIED_SPECS, consistent with its verification delegating entirely to make bindings.
{"head": "6b94208c3332f83f068d0c19d108c19786993b25", "verdict": "findings", "findings": [{"path": "docs/decisions/00-founding-decisions.md", "line": null, "summary": "R-47 is inserted in a new section that follows R-49 in document order, breaking the monotonically increasing R-nn ID sequence (R-45 → R-49 → R-47) used for cross-references throughout the spec corpus."}]}

Subject: 3a238a1...6b94208, diff digest 6fafd1e37183ae3e9ef28bbc684384abe93ee70ebed007f9726024032c7dd9c0, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 22, 2026 00:44 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

I reviewed the PR against the governance documents, decisions record, and repo context.

AGENTS.md — The addition of bindings and release-checks to the extra required jobs list is consistent with both .github/workflows/bindings.yml and .github/workflows/release-checks.yml existing in the base tree and with specs 027 and 031 owning those files. The (ci.extra_required_jobs) parenthetical is a clarifying annotation, not a governance act.

Makefile — Adds 020 and 027 to VERIFIED_SPECS. Both specs receive verify:cli blocks in this PR (027 gains one here; 020's was already present), and both are marked implementation: complete. Specs 045 and 046 are not added; 045 stays pending (explicitly stated in its new record), and 046's acceptance is through make bindings, not spec-spine verify, so it needs no entry there. Internally consistent.

docs/decisions/00-founding-decisions.md — Section renamed from "spec 010" to "of 2026-10-21" to accommodate R-47, which spans specs 019, 020, 026, and 027. R-47's three rulings all have corresponding spec edits. R-46 and R-48 are absent from the diff but may exist elsewhere in the document outside the shown hunks; the base document is not fully visible, so their absence is not reportable.

specs/019 and 026 — Each receives an "Owner review (R-47)" note matching R-47(3). No implementation change; R-47 accepts engineering choices, not completion — consistent with neither spec being added to VERIFIED_SPECS.

specs/020 — implementation: pending → complete. Approval section, implementation record ruling, and Makefile entry all align with R-47(2). The two "not verifiable as written" items are ruled not applicable as built (HTTP/1.1 only, no enabled refinement). Internally consistent.

specs/027 — implementation: pending → complete. Two known limitations recorded under R-47(1) instead of amending approved text, with the owner's ruling cited. The verify:cli block covers boundaries, conformance, and surface; the core Node/WASM binding matrix is the separately required bindings CI job — the split is explicit and deliberate. CI run citations are delivery evidence, not owner-act claims. Consistent.

specs/045 — No frontmatter change; stays implementation: pending. The implementation record explains which acceptance items are met and which are not (upload-order / layer ordering). That self-consistent "stays pending" conclusion is correct given the documented gap.

specs/046 — implementation: pending → complete. The gzip headroom arithmetic (786,432 − 772,853 = 13,579) checks out. Acceptance items stated as met, referencing the same CI runs cited in spec 027's completion. No verify:cli block needed (accepted via make bindings); correctly absent from VERIFIED_SPECS.

No concrete defects found.

{"head": "383d34496a322ec48f083df549e0c056a1ebf563", "verdict": "no-findings", "findings": []}

Subject: 3a238a1...383d344, diff digest 48dad81d92b5d483fca22ca5edec7aadeee5c9fcaec2781e50ac3c8352a105a4, 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.
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

Reviewing all changed paths against the governance context and repo state.

AGENTS.md -- The update adds bindings (spec 027) and release-checks (spec 031) to the list of declared ci.extra_required_jobs. Both workflow files already exist in the repo context. AGENTS.md is not a managed file and is not subject to the statecraft-review-exception requirement (that gate covers changes under .github/workflows/ or scripts/statecraft/, not changes to the repo's own instruction file). No defect.

Makefile -- 020 and 027 are added to VERIFIED_SPECS. Spec 020 already had a verify:cli block; spec 027 adds one in this PR. Both changes are consistent. Spec 046 is not added to VERIFIED_SPECS and has no verify:cli block; its verification lives in the required CI bindings job, and the repo already contains many settled specs that are similarly absent from VERIFIED_SPECS. No defect.

docs/decisions/00-founding-decisions.md -- The section heading is widened from "spec 010" to cover all 2026-10-21 decisions; this is accurate since R-47 and R-49 address multiple specs. R-47 is inserted between R-45 and R-49 (R-49 was already present); R-46 and R-48 are absent from this diff but may belong to other PRs -- the available evidence does not show them missing from the corpus. No defect.

specs/019-dynamic-questions/spec.md and specs/026-live-re-execution/spec.md -- Each receives a single-paragraph note recording R-47 owner acceptance of the implementation record. No implementation field is changed (both were already in VERIFIED_SPECS). No defect.

specs/020-remote-protocol-refinements/spec.md -- implementation advances to complete on the basis of R-47 ruling the two "not verifiable as written" acceptance items not applicable as built (HTTP/1.1 only, no Jev refinement enabled). The spec notes that enabling either feature would make the items applicable again. Under the contract table, a complete + approved spec is settled; future work enabling those features would be a new spec or amendment. No inconsistency in current state. No defect.

specs/027-node-and-wasm-bindings/spec.md -- implementation advances to complete; a verify:cli block is added covering conformance, surface, and boundary checks; the wasm/node-specific tests are in the required CI bindings job (explicitly stated in the spec). Two known departures from approved text are recorded as known limitations under R-47 rather than as spec amendments. Constitution III says "a change to behavior begins with a change to a spec," but R-47 is an explicit owner ruling addressing this; enforcement of owner ratification is outside the scope of this review. The record is self-consistent with R-47 as written. No defect.

specs/045-command-surface-release-layer/spec.md -- Adds a verification section and an implementation record that explicitly keeps the spec at implementation: pending because the upload-order requirement is not yet met. Consistent with the contract lifecycle table. No defect.

specs/046-wasm-size-budget/spec.md -- implementation advances to complete; both acceptance items are shown met via the CI bindings job and make gate. No verify:cli block; consistent with the design pattern used for bindings verification throughout the PR. No defect.

No concrete defect is supported by the available evidence.

{"head": "782a6af94456ecce84ea6730ca7bdd423f632fa4", "verdict": "no-findings", "findings": []}

Subject: fd19273...782a6af, diff digest 48dad81d92b5d483fca22ca5edec7aadeee5c9fcaec2781e50ac3c8352a105a4, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus merged commit 70a6424 into main Oct 22, 2026
26 checks passed
@bartekus
bartekus deleted the release-closeout branch October 22, 2026 01:55
bartekus added a commit that referenced this pull request Oct 22, 2026
Spec 029 increment 2: per-case measures (3.2). Library only; no CLI, no
repeat set yet, no live run, provider call or spend. `implementation`
stays `in-progress`.

- `rustev-eval/src/eval_cases.rs` (new): `rustev.eval-cases/1`
  (`REPLAY_V1`, record canonical): the run report's record digest, the
  declared top-k parameter, and per case in manifest order its id, run
  record digest, detail outcome key, top-k list and measures (`count`,
  `mean`, `sample`, or `unknown` with its reason). `form_of` maps spec
004's reported metric names to their per-case form; `reconcile` refuses
  measures that are not bound to the report, do not list the detail's
cases and outcomes in order, name an unreported or total metric, fail to
  reproduce a case-decomposable metric bit for bit, or do not sum to the
  detail's counts (3.2.6).
- `rustev-eval/src/report.rs`: `evaluate_with_cases(inputs, top_k)` runs
the unchanged evaluation and records each case's term from the report's
own functions, then reconciles. `evaluate` is unchanged; its report and
  detail are byte-identical with or without the measures.
- `rustev-eval/src/metrics.rs`: `reliability_bin` (now used by
`reliability`), `log_loss_term` and `brier_term`, with no change to any
  reported value.
- `rustev-eval/src/repeat_stats.rs`: `Contribution::Unknown`, which
makes
every statistic over it unknown and every resample drawing it undefined.
- Tests: `tests/reports.rs` (byte identity, reconciliation, round trip,
  candidate without latency, eleven refusal cases, lodging top-k),
  `tests/metrics.rs`, `tests/bootstrap.rs`.
- `tools/rustev-release/archive-policy.json`: `src/eval_cases.rs` joins
the
  reviewed archive list (spec 029's existing `extends` edge).
- Spec 029: re-planned increments (repeat sets become increment 3), the
  increment 2 record and engineering choices.

**Owner decision needed (D-029-1, recorded in spec 029's implementation
record): Brier per-case measures.** 3.2.3 lists `brier` as a mean and
3.2.6 requires bit-for-bit reconciliation, but spec 004 adds every class
term to one running sum, so per-case sums differ in the last bit on
ordinary inputs (`tests/metrics.rs` has a three-case counterexample),
and
spec 029 may not change how spec 004 computes a metric. Until decided,
`brier` has no per-case measure and its interval is unknown, never
approximated. Options: keep it so; reconcile Brier within a tolerance;
or
amend spec 004 to sum per case first (changes existing Brier bits).

Local verification (macOS arm64): `make gate` passes with spec-spine
0.31.0; `cargo clippy -p rustev-eval --all-targets -- -D warnings` and
`cargo test -p rustev-eval` pass.

Review round 1 (1 finding, fixed): `metric_cases` took its case count
from the first run and indexed the others blindly. It now returns a
result and refuses (`mixed-runs`) runs that do not list the same case
ids
in the same order, whichever comes first; `tests/reports.rs` covers a
shorter run in either position and a reordered one.

Review round 2: no findings. Round 2 CI (`code`): spec 027's
`every_call_site_is_in_the_corpus` refused a second `math::ln` call site
in `metrics.rs` (`log_loss_term` beside `mean_log_loss`).
`mean_log_loss`
now adds `log_loss_term`'s `-ln(p)`, so there is one call site again;
`sum + -ln(p)` is `sum - ln(p)` bit for bit (IEEE 754 defines
subtraction
as addition of the negation), and every existing eval test and the
corpus
test pass locally.

Review round 3: no findings. Rebased onto `main` after #154 (no
conflict).

Review round 4 (1 finding, clarified): the "another report" refusal case
built its digest by parsing the dataset id as a content digest. That
succeeds (both are `sha256:` digests, and the test passed), but it read
as
a likely panic; it now uses an explicit all-zero digest, and the helper
trait is gone.

Review round 5: no findings. Rebased onto `main` after #151 (no
conflict).
Review round 6: no findings. Rebased onto `main` after #158 (no
conflict).
bartekus added a commit that referenced this pull request Oct 22, 2026
Spec 010, increment 2: the `rustev-aicortex` adapter, a non-released
integration. Follows #156 (spec 021 3.4, R-49, merged), which makes the
`rustev-aicortex` binding record's item 1 pass; rebased onto `main`
after it. Nothing here authorizes a release, publication, live service
call, spend or real-user data.

## Changes

- `integrations/rustev-aicortex/`: `AicortexContext`, a bounded read of
one claim-history page per bound subject under an explicit transaction
bound, mapped through a declared projection of 1 to 64 field bindings
into attributed snapshot entries (values, conflicts, refusals and
missing fields named; no partial history read as complete), and
`stage_observation`, an observation proposal with its Rustev lineage
staged into the host's `TxnBuilder` and never committed. Aicortex is
pinned at the record's revision
`6415b765e5267188b4ecf302a93869352e28cccc`, with Rahi `=0.6.0`, which
that revision pins. Tests: unit tests of the projection, kind mapping,
identities and refusals, and integration tests against a single-voter
Rahi 0.6.0 store with Aicortex's schema on loopback. The code is the
adapter kept on `wip/010-rustev-aicortex-adapter` (`c776546`),
unchanged.
- `specs/010-integrations/spec.md`: the `rustev-aicortex` record's item
1 passes under R-49 (its Git dependency is outside the release closure;
every release member still resolves from crates.io only), so the record
passes every row; `planned: true` is removed from its `establishes`
entry; the Verification block runs its tests, clippy and build and the
authorization-type grep; the implementation record describes increment
2.
- `tools/rustev-release/release-set.json`: `rustev-aicortex` is excluded
from the release family. `docs/backlog.md` RUSTEV-015 state.
- `tools/rustev-release/tests/manifests.rs`: #156's
`a_git_source_only_an_excluded_package_reaches_is_not_judged` asserted
exactly one violation when the resolve graph is absent, which held only
while no workspace package had a Git source. With `rustev-aicortex` its
real Aicortex packages are judged too (`code` failed on `b988788`), so
that case now asserts the added package is among the violations and
every violation is a source violation.
- `Cargo.lock`: regenerated by Cargo for the Aicortex revision and Rahi
0.6.0's graph (Rahi 0.7.1's entries stay; Cargo now names the two Rahi
versions explicitly in dependency lists).

## Limitation

The adapter pins Rahi 0.6.0 and `rustev-rahi` pins 0.7.1, so one host
cell cannot link both until Aicortex adopts Rahi 0.7.1 (record item 1).
`rustev-serve` stays unimplemented (its record refuses).

## Review history

Round 1 on `374a86b` (stacked on #156): no findings. Rebased onto `main`
at `3a238a1` after #156 merged (no conflict, derived shards unchanged).
Round 2 on `b988788`: no findings, but the `code` job failed on the
manifest test above; fixed in this head.

Round 3 on `413c222` (1 finding, rejected with evidence): it read
`serde_core` in `uuid`'s dependency list as an unrecognized crate.
`serde_core` is serde's own core crate, which `serde` 1.0.220 and later
depend on; `main` at `3a238a1` already locks it (`Cargo.lock`: `name =
"serde_core"`, `version = "1.0.229"`, crates.io, checksum
`67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48`), and
`serde` 1.0.229's entry lists it. This PR adds no `serde_core` package
entry; only the `uuid` edge is new, because Aicortex enables `uuid`'s
`serde` feature.
Round 3 rerun on `413c222` (the `code` job had a timing flake in
`rustev-remote-http`'s `runtime_batch`, untouched here; run re-run): no
findings. Rebased onto `main` at `fd19273` (#155, no conflict).
Round 4 on `2a80b7b`: no findings. Rebased onto `main` at `70a6424`
(#154, no conflict).
Round 5 on `199b201`: no findings; held for the coordinator's merge
hold. Rebased onto `main` at `cf6665c` (#151, no conflict; `Cargo.lock`
still resolves with `--locked`).
Round 6 on `0024f6c`: no findings; held for the coordinator's merge
hold. Rebased onto `main` at `70b99ea` (#158): `release-set.json` kept
both the new `rustev-otel` exclusion and this one; the manifest tests
pass locally (18 of 18).
Round 7 on `0550224`: no findings. Rebased onto `main` at `68f40c0`
(#161, no conflict).
Round 8 on `2ccb9f9` (1 finding, the same `serde_core` question as round
3): the `rustev-aicortex` record's item 1 now states the new `uuid ->
serde_core` edge and where `serde_core` comes from, so the evidence is
inside the diff.
Round 9 on `242c75f`: no findings. Rebased onto `main` at `1b0ce68`
(#159, no conflict).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant