Repository navigation
impl(011): an onnx bundle's embedding cache from the record's in-process repeatability, and 011 in make verify (3.14.3) - #533
Conversation
…ess repeatability, and 011 in make verify (3.14.3)
AI review (no-findings)Reviewing the diff against the governance context, spec requirements, and code correctness. Makefile —
For
No concrete defects found. {"head": "37aa3fb279f069998d82f975ed8d07abac568031", "verdict": "no-findings", "findings": []}Subject: a9eeb9f...37aa3fb, diff digest 3f76d329d948f719fb65ec2bab485bb473cb42385c748f8424c863fd823790bc, 1 call(s). An AI comment is not an approval. |
…repeat acceptance group
AI review (no-findings)Reviewing the diff against governance rules, I'll examine each changed file for correctness, security, and consistency.
Counted all three hex strings:
The
New
The method checks
Correctly limits the scan to
The
No concrete defects found. {"head": "f07684748cc0ef3fa81c12a90e174ff8887422be", "verdict": "no-findings", "findings": []}Subject: a9eeb9f...f076847, diff digest b68b33c9d2e6d137b87cccc6e88018bafb5f71895cfc819adfece3a0dbfc3b26, 1 call(s). An AI comment is not an approval. |
… 011 extends 001's acceptance partition
AI review (no-findings)Looking at this PR, which wires an ONNX bundle's embedding cache evidence into the backend setup (spec 011, section 3.14.3), and adds declared verification. Key changes reviewed:
Correctness trace through open/open_with_runner paths:
Spec 011 lifecycle: No concrete defects found in code paths, security, authority, or ratification. {"head": "4871c423ed793877b56d28023eea071e6e297365", "verdict": "no-findings", "findings": []}Subject: a9eeb9f...4871c42, diff digest 5a01163c7137b5edafa3b12b2edb734b2af479366efc56a5e76b8517d9cfb107, 1 call(s). An AI comment is not an approval. |
Spec 011: an
onnxbundle's embedding cache evidence (3.14.3) and011inmake verifyWhat changes
src/runtime.rsgainsIN_PROCESS_REPEATABILITY, the settings under which the committed feasibility record measured bitwise run-to-run repeatability in one process on a qualified platform (one entry:linux-x86_64-gnu, graph SHA-256, ONNX Runtime 1.31.0 and the platform library's SHA-256,ort2.0.0-rc.15, CPU, optimizationall, 1/1 threads,f32,mean_masked+l2), andFEASIBILITY_RECORD, the record's contract digest.repeatability_evidenceissuesMeasuredevidence only when the platform is qualified, the manifest names the committed record and every setting matches.src/backend.rs: anonnxbundle's cache is decided after the platform check and before the runtime path is read. The cache is allowed exactly for the measured settings onlinux-x86_64-gnu. Everywhere else it is still refusedcache_not_equivalent, includinglinux-aarch64-gnu(bitwise repeatable but unqualified) andmacos-aarch64.Platform::key()insrc/manifest.rs.tests/feasibility_record.rschecks the table and the digest against the record.tests/runtime/mod.rscovers allowed and refused on every platform key and for each changed setting. It also checks setup:cache_not_equivalentbefore any runtime on the qualified target,unqualified_platformelsewhere.verify:cliblock replaces "Pending with implementation", and a new Implementation record paragraph is added.011is added toVERIFIED_SPECS.Not flipped to
implementation: completeThese Acceptance items are still unmet:
local-embedon every spec 027 native matrix target in CI. That needs abindingsworkflow change.local-embedfeature is not done.Checks
Local runs on macos-aarch64:
spec-spine verify 011passed: 5 commands, including the crate'sbundle,feasibility_recordand lib tests, and the boundary tests and run.make boundariespassed.cargo clippy -p rustev-backend-embed-linear --all-targets -- -D warnings, with and without default features, passed.cargo fmt --all -- --checkpassed.make gatepassed.On this host the qualified-target branch of the cfg-dependent tests (
linux-x86_64-gnu) did not run. CI's Linux x86_64 runners cover it.