Repository navigation
impl(011): the feasibility record and the inference dependencies - #455
Conversation
AI review (findings)Reviewing the diff across all five changed paths. Cargo.lock – The incoming change downgrades Cargo.lock –
Cargo.lock – Same transitive chain.
Lines ~140–146: the code reads {"head": "daea92ea00260af352fe3ae58d077ba052ba18e7", "verdict": "findings", "findings": [{"path": "Cargo.lock", "line": null, "summary": "Adding tokenizers downgrades unicode-normalization from 0.1.26 to 0.1.25, a concrete patch-level regression for all workspace callers."}, {"path": "Cargo.lock", "line": null, "summary": "rdst v0.20.14 (transitive via tokenizers → tk-encode → ptr_hash) lists criterion as a regular dependency, pulling benchmarking infrastructure (plotters, ciborium, wasm-bindgen, web-sys) into production builds."}, {"path": "Cargo.lock", "line": null, "summary": "rdst v0.20.14 lists tikv-jemallocator as a regular dependency, introducing the jemalloc allocator into the production dependency graph of rustev-backend-embed-linear."}, {"path": "backends/rustev-backend-embed-linear/examples/feasibility.rs", "line": 141, "summary": "The SHA-256 check on the runtime path and the subsequent dlopen/init_from calls use the same user-supplied path, creating a TOCTOU race where the file can be swapped between verification and loading."}]}Subject: 9fca258...daea92e, diff digest 32cde61ffb670ddc12c395bccfdcca657ecbe3632a6adf1065bf56bec5bf455f, 1 call(s). An AI comment is not an approval. |
|
Review note on the two
No change is made for either. The owner's review exception is requested for this head. |
daea92e to
4c8edd6
Compare
AI review (no-findings)Reviewing the five changed paths for bugs, security problems, and inconsistencies.
No concrete defects found. {"head": "4c8edd6104c7d6e594a0dacf367d3b1d1a795eb6", "verdict": "no-findings", "findings": []}Subject: f31ed26...4c8edd6, diff digest 32cde61ffb670ddc12c395bccfdcca657ecbe3632a6adf1065bf56bec5bf455f, 1 call(s). An AI comment is not an approval. |
Commits the 2026-10-22 feasibility record and its evidence, re-recorded under A-73 with no new measurement: on macos-aarch64 stages 1 to 3 pass and stage 4 refuses (p95 105.4 ms against 100 ms); no platform is qualified. With stages 1 to 3 passing for one platform, the crate takes the pinned ort and tokenizers without default features (3.2.3). tests/feasibility_record.rs checks the record's envelope, encoding, digest and evidence files; the measured probe is kept byte-identical and not built.
4c8edd6 to
37bb6a1
Compare
AI review (findings)Looking at the five changed paths: the new dependencies and inference stack in
In
The resolved version of No other concrete defects found. The {"head": "37bb6a1ec7826dae81a492cfbbb9b2633d982c87", "verdict": "findings", "findings": [{"path": "backends/rustev-backend-embed-linear/examples/feasibility.rs", "line": 49, "summary": "dlclose is not called when CStr::to_str() fails, leaking the library handle on that error path while every other early-exit in runtime_version calls dlclose first."}, {"path": "Cargo.lock", "line": null, "summary": "unicode-normalization is downgraded from 0.1.26 to 0.1.25 by the new tokenizers dependency tree, which may silently reintroduce bugs fixed in the newer release for all existing consumers."}]}Subject: e8d1c0f...37bb6a1, diff digest 303165bc0a662acb76c9da5df417bb5f3acaaf9873c6d5e9aef6d5daebc7c66c, 1 call(s). An AI comment is not an approval. |
|
Review note on the two findings at head 37bb6a1 (the restack onto #445).
The restack changed only the spec 011 record paragraph and its derived shards. Requesting the review exception for this head. |
Commits spec 011's feasibility record (3.2.1) and takes the inference dependencies that stages 1 to 3 passing allows (3.2.3).
What changes
backends/rustev-backend-embed-linear/qualification/: the 2026-10-22 record and its evidence, re-recorded under A-73 byrerecord.pywith no new measurement. On macos-aarch64 stages 1 to 3 pass. Stage 4 refuses (p95 105.4 ms against 100 ms), so no platform is qualified. This directory is excluded from AI review (ops: the AI review leaves out spec 011's feasibility evidence #447); the test below checks it instead.tests/feasibility_record.rs: checks that the record is a closedrustev.embed-feasibility/1envelope in the contract's canonical encoding, that its contract digest matchesfeasibility.sha256, that every evidence file matches its recorded length and SHA-256, and the stage verdicts (pass, pass, pass, refuse; every platform refuses).Cargo.toml:ort =2.0.0-rc.15andtokenizers =1.0.0-rc.3, pinned exactly and without default features.rust-versionrises to 1.92, whichortrequires.autoexamples = false: the measured probe (examples/feasibility.rs) is kept byte-identical as evidence and is not built, because it usesunsafefordlopen, which the workspace forbids.Checks
cargo test -p rustev-backend-embed-linear --locked: 12 tests pass locally, including the three record tests.make gateand the authored-content check pass.