Repository navigation
impl(042): increment 6 part 1, the explanation request and answer documents - #411
Conversation
AI review (no-findings)Reviewing the PR, which adds
The
Operation table / proto / generated file Request schema changed from
The increment note is accurate relative to the implementation. Ownership is on spec 042, which is the correct owning spec for this path. The spec note explicitly defers handler enforcement of the bundle-side consistency check to runtime ( No concrete defects found. {"head": "158e253f5931e718de734db1c611a8bd28330586", "verdict": "no-findings", "findings": []}Subject: a1e0fd3...158e253, diff digest 2cfdf6d2e54298d2ccbf391ad8e956221679180b538bacca4f0e5d999181b97e, 1 call(s). An AI comment is not an approval. |
158e253 to
72d96cb
Compare
AI review (no-findings)Reviewing the diff for concrete bugs, security issues, and inconsistencies.
The
Tests exercise: both evidence arms round-tripping;
Two new
The operation comment is updated consistently in both files. The SHA-256 comment in the generated file is updated to reflect the new proto content.
The increment note accurately describes the code changes, including limits rationale, No concrete defects found. {"head": "72d96cb83861b1327957fcf9d26915599e2e4d0e", "verdict": "no-findings", "findings": []}Subject: d2a496f...72d96cb, diff digest c8371816018438ffc57dd8221889308cc4fa551af39edde473a4865527400a48, 1 call(s). An AI comment is not an approval. |
72d96cb to
520a880
Compare
AI review (no-findings)Looking at each changed file for concrete defects:
The
The two new
The
The operation comment on
The increment note accurately describes the new types, limits, test references, and the "handler still answers unavailable" interim state. The spec is approved; the increment note is an additive prose block under the existing approved text, which is the established pattern for this spec. No concrete defects found. {"head": "520a880900eed87345069a9ac3d8587516172c0d", "verdict": "no-findings", "findings": []}Subject: b258132...520a880, diff digest f3255003c2754e6762c830ab83fe9a0e6cfa45167d746f55ed1b1353f948040d, 1 call(s). An AI comment is not an approval. |
520a880 to
17f4e76
Compare
AI review (no-findings)I'll review each changed file systematically.
The core addition. Key points:
The two new schemas are inserted in the right position. No issues.
Tests cover: both evidence forms in the round-trip,
The operation comment on
SHA-256 and operation comment updated to match the new proto. This is a generated file; the digest update confirms consistency.
The increment is documented as "Increment 6 part 1: explanation documents (2026-10-30)." The spec correctly notes the handler is not yet implemented and the service still returns unavailable for No concrete defects found across any of the changed paths. {"head": "17f4e764271bc418fae9566e025fd89f7b0df2e7", "verdict": "no-findings", "findings": []}Subject: 8e4dec0...17f4e76, diff digest bcc6b22057aa067b0822f141bdbf1d49371c93c8443522a3226cd665da35ed7c, 1 call(s). An AI comment is not an approval. |
Spec 042, increment 6 part 1: the explanation documents of 3.8.3, as amended by #404.
What
rustev.serve-explain/1(ServeExplain):evidenceis{ record, plan? }or{ bundle }, each member aDocumentInput(embedded bytes or a resolver reference) ofrustev.run,rustev.planand the replay bundle.queryis spec 040 3.3's query or{ diff: { other } }.optionshas optionalscopeandnow_ms.invalid_request, which is the handler's refusal, not a parse failure.has_bundle()names whether either side is a bundle.rustev.serve-explanation/1(ServeExplanation):explanation(the embeddedrustev.explanation/1record, bytes unchanged) andmarkdown. Its bounds,EXPLANATION_LIMITS, are 33 MiB with strings up to 16 MiB: an explanation parses underREPLAY_V1(16 MiB), and its rendering gets the same byte count.explainnames the two schemas and answers a document. Until the handler PR, the service still answersexplainas unavailable.serve.rs, not the generated bytes.Not in this PR
The handler: resolving references and the scope check, the per-listener redaction policy, the blocking pool and
rustev-deadline-ms, mapping spec 040 refusals toinvalid_document, and the gRPC path.Checks
make gate,scripts/check-authored-content.sh,cargo fmt --all --check,cargo test -p rustev-contract -p rustev-serve(schemas and gRPC generation drift included) pass locally.