Repository navigation
impl(044): increment 8, the production batching posture - #452
Conversation
A production Jev binding with batching on constructs only with a cited rustev.batch-qualification/1 report that checks, is qualified, and names this binding with batching on and off at its batching configuration; otherwise construction fails with batch_unqualified before any credential lookup (3.8 item 4, R-2, section 5). The cited report's record digest is named in each exchange record. This replaces spec 022 3.7.5 item 4's interim refusal.
AI review (no-findings)Reviewing the diff for concrete defects across all changed paths.
The implementation sequences the checks correctly:
The
Test coverage is comprehensive: eight rejection cases (no report, Spec documents The spec 022 implementation record correctly describes the change in scope of its item 4 refusal (from "refuse all batching on" to "refuse without a qualified report"), and spec 044's increment 8 entry is self-consistent with the code changes. No concrete defect found. {"head": "e9d29e0c9973450444f25e4035399411c6cf175a", "verdict": "no-findings", "findings": []}Subject: 50ca9ad...e9d29e0, diff digest 09d509811fd5e06448e63e1511e9f99b4dd44ade502fdcd9c3ff2ffcbbcdec00, 1 call(s). An AI comment is not an approval. |
Spec 044 increment 8. Spec 022 is complete, so this lands the later increment that A-49 set aside: 3.8 item 4, R-2's construction check
batch_unqualified, and the section 5 row "A production binding enables batching without a qualified report".Change
JevBackend::new_productionnow takes the citedrustev.batch-qualification/1report beside the accepted qualification. A production binding with batching on constructs only when all of these hold:qualified;batchedidentity is this binding's;unbatchedidentity is this binding's with only the batching switchoff;Otherwise construction fails with
batch_unqualifiedbefore any credential lookup. This replaces spec 022 3.7.5 item 4's interim refusal.Other details:
privacy_requested, asbatch_qualification. A binding with batchingoffignores any report it is given and keeps its records unchanged.rustev_jev::production::check_batch_qualification.rustev-jevnow depends onrustev-evaloutside its tests.rustev-livealready did, andCargo.lockis unchanged.qualified: the Jev stage 2 measurednot_qualified. So no production binding can enable adapter-scoped batching today, and enabling it stays the owner's act (R-28).Specs:
cargo test -p rustev-jev --locked --test production. Its open list now keeps only stage 2 for the remote-http adapter, so 044 staysimplementation: in-progress.status:is unchanged in both specs.Tests
Three new tests in
integrations/rustev-jev/tests/production.rs:production_batching_requires_a_cited_qualified_report_before_credentialscovers each refusal case:unknownandnot_qualifiedreports;Each must give
batch_unqualifiedwith no credential lookup. A cited report without the acceptance record is still refused.production_batching_records_the_cited_report_digestproduction_without_batching_ignores_a_report_and_records_noneChecks
cargo test -p rustev-jev --locked --test productioncargo clippy -p rustev-jev --all-targets -- -D warningscargo fmt --all --checkmake boundariesmake gatebash scripts/check-authored-content.shNo live or paid call.