Repository navigation
impl(027): emit schemas for dynamic, live and telemetry documents - #168
Conversation
67805f1 to
32c2564
Compare
AI review (findings)Group 1 of 2Reviewing the six new schema files, the Rust source changes, the test additions, the TypeScript definitions, and the decision record entry. Schema files (six new
Tests: The TypeScript definitions: The six new namespaces ( Decision record R-46: The entry is factual, scoped appropriately, and makes no claims beyond schema emission and type generation. No concrete defects found. {"head": "32c2564679114325e3b81e5694fb920c2b6ee746", "verdict": "no-findings", "findings": []}Group 2 of 2Reviewing the five files in group 2.
{"head": "32c2564679114325e3b81e5694fb920c2b6ee746", "verdict": "findings", "findings": [{"path": "specs/019-dynamic-questions/spec.md", "line": null, "summary": "R-46 (dated 2026-10-22) is inserted before the pre-existing R-47 entry (dated 2026-10-21), assigning a lower ruling number to a later event and inverting the chronological order that sequential ruling numbers require."}]}Subject: ed1d191...32c2564, diff digest 051c22452134e6f3b1d239d291628ef00a8dbbaa8e339a99c078998e8e578f2f, 2 call(s). An AI comment is not an approval. |
…ma emission (R-46) Six documents join schema_emit::document_schemas(): rustev.dynamic-question/1, rustev.dynamic-capability/1, rustev.dynamic-outcome/1, rustev.live-reexecution/1, rustev.redaction/1 and rustev.trace/1. Their schemas are committed under crates/rustev-contract/schema/ and both packages' rustev-documents.d.ts gain their types; no existing schema or type changes. Recorded as R-46.
32c2564 to
04dd831
Compare
AI review (no-findings)Group 1 of 2Reviewing the six new schema files, the Schema file consistency — The six emitted schemas (
Test helpers —
TypeScript declarations — R-46 governance entry — Records the owner's ruling as described; no structural inconsistency with the changes it authorises. No concrete defects found in the reviewed files. {"head": "04dd831436ac5b20e7c4d1663a47a495e758b27e", "verdict": "no-findings", "findings": []}Group 2 of 2Reviewing the five files in group 2: the WASM TypeScript declarations and four spec implementation records.
Six new namespace exports are added alphabetically:
Each namespace is self-contained; types like Specific checks:
Spec implementation records (specs 019, 026, 027, 028) All four records reference R-46 (owner ruling 2026-10-21, implementation 2026-10-22) consistently. Spec 027 carries the authoritative implementation record; specs 019, 026 and 028 cross-reference it with supersession notes. R-46 is inserted before the already-present R-47 in spec 019, which is chronologically coherent (both events 2026-10-21). The six document types named in spec 027's record match the six namespaces added to the No concrete defects found. {"head": "04dd831436ac5b20e7c4d1663a47a495e758b27e", "verdict": "no-findings", "findings": []}Subject: f66e2cb...04dd831, diff digest f0586c17827e773083b75ead83bb2ddde0de5f796426789cf22923772614b40a, 2 call(s). An AI comment is not an approval. |
Runtime-planned batch members with equal remaining budgets previously received slightly different deadlines because each member started its budget during preparation. When the earliest deadline ended the shared transport, a later member could receive a transient transport failure while its siblings expired. This is the runtime_batch CI failure seen on #169. Implements the owner-authorized fix under spec 020's existing dispatch-budget and no-replenishment requirements: capture one monotonic instant at batch entry and derive all member deadlines from it. Preparation consumes the budget, and distinct remaining budgets stay distinct. A paused-clock regression covers preparation time and expiry; the existing batch-versus-independent loopback test is unchanged. Validation: make gate, cargo fmt and git diff --check pass. Hosted code and binding checks pass, including the new paused-clock regression and the unchanged runtime_batch differential test. The rebased review identified an in-place normative amendment. The approved normative text is now unchanged; the implementation record explains how this fix enforces the existing requirements. AI review reports no findings on current head 9ebf3de. CI is running; auto-merge is enabled. Pushed before local workspace tests at the owner's request. Rebased onto merged #168. Rebase #169 onto this fix after it merges. Requires current-head no-findings AI review and green CI.
Adds the held-out ledger, baseline records and reproducibility checks from spec 029 sections 3.7 to 3.9. The ledger verifies its hash chain and bounded entries; baseline creation reproduces and checks the supplied repeat report; reproducibility reports exceedances and unknown evidence explicitly. Tests cover ledger counts and tampering, bounds and round trips, baseline bindings, exact band boundaries and unknown evidence. This is the first part of increment 4. Section 3.10's diff document and rendering are still to follow before candidate comparison and selection gates. Spec 029 remains in progress. Brier per-case measures remain absent and their interval unknown pending a concrete compatibility decision on D-029-1. Validation: make gate and pinned spec-spine coupling pass. AI review reports no findings on 50e8d04. CI code hit the existing runtime_batch deadline race, addressed separately in #170; rebase and fresh checks follow that merge. Local code validation is queued behind the current shared-target run; pushed before it completes at the owner's request. Merge order: after #168 and the runtime batch race fix #170. Auto-merge stays off pending that order, a current-head no-findings AI review and required checks.
Adds the six public document schemas from specs 019, 026 and 028 to spec 027's emitter under owner decision R-46. Contract tests validate the documents, including trace JSONL goldens, against their emitted schemas. Both bindings receive regenerated TypeScript declarations.
Diff size: 170 additions and 15 deletions are authored. The other 5,443 additions and 2,761 deletions are generated schemas, TypeScript declarations and spec-spine shards. The two TypeScript files account for most of the diff.
Validation: pinned spec-spine 0.31.0 refresh, make gate and coupling pass. Hosted code and binding checks pass; declared acceptance is still running. Local workspace validation is running. Pushed before local code completion at the owner's request.
Rebased onto merged #165. Both AI review groups report no findings on 04dd831. Auto-merge is enabled pending the final required acceptance check. R-46 records the owner ruling of 2026-10-21; the spec records now explicitly distinguish its implementation date, 2026-10-22.