Repository navigation
docs(019, 020, 026, 027, 045, 046): close 027, 020 and 046; record R-47 - #154
Conversation
AI review (findings)Reviewing both spec changes for concrete defects. Spec 045 adds an implementation record that correctly keeps Spec 046 advances One concrete inconsistency: the new Verification section states that the CI
{"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. |
d125efd to
8dad5c6
Compare
AI review (findings)Reviewing the diff against governance rules and internal consistency. Makefile: Adds 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: Spec 027: Spec 046: 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 {"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. |
8dad5c6 to
8bfe38d
Compare
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 Makefile VERIFIED_SPECS – Specs 020 and 027 are added. Both now carry 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 – Spec 027 – Spec 045 – No frontmatter change (implementation stays Spec 046 – 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. |
8bfe38d to
a5fd1dc
Compare
AI review (no-findings)Reviewing the diff against governance context and repo state. AGENTS.md: Documents Makefile: Adds 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 Spec 027: Transition to Spec 046: Marked complete; the verification runs through Spec 045: Stays 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. |
a5fd1dc to
4fe4af3
Compare
AI review (findings)Reviewing each changed path for concrete defects. AGENTS.md – Adds Makefile – Adds 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 specs/020 – specs/045 – Adds a verification section and implementation record. The record explicitly states "Not met, so this spec stays specs/046 – specs/027 – Known limitation 2 states explicitly: "Output failing the bounded parse follows 3.6.5 (the seam's typed failure: {"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. |
4fe4af3 to
b4607a5
Compare
AI review (findings)Reviewing each changed path against the governance context and the PR diff. AGENTS.md -- The update adds Makefile -- Adds 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 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 specs/020 -- Transitions specs/027 -- Transitions specs/045 -- Adds an implementation record and keeps specs/046 -- Transitions {"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. |
b4607a5 to
d6414b0
Compare
AI review (no-findings)Reviewing all changed files against the governance context and each other. AGENTS.md: Documents Makefile: Adds 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 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: specs/027: specs/045: Adds an implementation record; spec stays specs/046: 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. |
d6414b0 to
6b94208
Compare
AI review (findings)Reviewing the diff against the governance context and spec lifecycle rules. Checks performed:
Findings: 1. Out-of-order decision ID in decisions log
Other observations (no finding):
{"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. |
6b94208 to
383d344
Compare
AI review (no-findings)I reviewed the PR against the governance documents, decisions record, and repo context. AGENTS.md — The addition of Makefile — Adds 020 and 027 to 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 specs/020 — specs/027 — specs/045 — No frontmatter change; stays specs/046 — 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.
383d344 to
782a6af
Compare
AI review (no-findings)Reviewing all changed paths against the governance context and repo state. AGENTS.md -- The update adds Makefile -- 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 specs/020-remote-protocol-refinements/spec.md -- specs/027-node-and-wasm-bindings/spec.md -- specs/045-command-surface-release-layer/spec.md -- Adds a verification section and an implementation record that explicitly keeps the spec at specs/046-wasm-size-budget/spec.md -- 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. |
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).
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).
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.mjsgates 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 head093f834passed every job, includingbindings / wasmand the seven native platforms; its measurement document records 2,251,563 bytes raw and 772,853 gzip. The push run onmainat00a4b7c(39688068295) passed the same jobs. (Run 39671862047 is on ci(027, 031): register the bindings and release-checks required jobs #153's earlier headccb0c13; it passed too, but it is not the merged head.)Spec 027:
implementation: completeunder R-47, with its two findings recorded as known limitations: a host backend'sAbortSignalanswer is alwaysnot_observed; output failing the bounded parse follows 3.6.5, not section 5's row. Its Verification section now declaresverify:cli(conformance runner, surface tests, boundaries) and 027 joinsmake verify; the completion record cites the same CI runs.Spec 020:
implementation: completeunder R-47: the two "not verifiable as written" items are not applicable as built (HTTP/1.1 only binding; no Jev refinement enabled). 020 joinsmake 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-surfacealone in layer 4,rustev-cliin layer 5;tests/manifests.rsrefuses 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-routingandrustev-pkg-lodging(layer 3) upload afterrustev-clibecause 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 ofci.extra_required_jobs(bindingsandrelease-checkswere added by ci(027, 031): register the bindings and release-checks required jobs #153 but not recorded there; review round 1).Review findings answered
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.b4607a5), "046 complete without a cited owner decision": completion is a delivery record, not an owner act. 046 was ratified as A-43; markingimplementation: completeonce 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.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)
Checks
make gate: passed.bash scripts/check-authored-content.sh: clean.spec-spine couple: OK.make verifyfor 020 and 027: not run locally (shared target busy with the release candidate); the CIverifyjob runs it.make release-candidateat00a4b7c: running locally; its result will be recorded here.