Repository navigation
fix(xtask): prepare locked golden fixture in effective Cargo home - #8174
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits. Next included review available in 11 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Summary by CodeRabbit
WalkthroughThe change adds ChangesFixture Dependency Preparation
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Contributor
participant xtask as xtask goldens
participant Cargo
participant Runner as Fixture runner
participant Analyzer as Analyzer subprocess
Contributor->>xtask: Run goldens prepare
xtask->>Cargo: Fetch locked fixture dependencies
Cargo-->>xtask: Return fetch result
xtask->>Cargo: Check locked metadata offline
Cargo-->>xtask: Return readiness result
Contributor->>Runner: Run fixture check
Runner->>Cargo: Check readiness and build binary
Runner->>Analyzer: Run fixture with captured environment
Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Confirmed findings
- Preparation, fixture build and analyzer children all run under one captured env vector (CARGO_HOME, RUSTUP_TOOLCHAIN, optional RUSTUP_HOME) so a fetch in another home cannot silently satisfy the subprocess.
- Lane is JS/async memory + transfer focus but diff is Rust subprocess ownership only; no JS crossings, SharedArrayBuffer, postMessage, transferable, WeakRef/FinalizationRegistry, or Worker detach surfaces exist. Lane relevance is bounded to process-level capture ordering, which was verified.
- No unsafe code introduced; lockfile adds home =0.5.12 pinned exactly. No new alloc-failure or type-confusion surface from the new module.
Verification questions
- Confirm only owner_return_pin_fallible_literal triggers ensure_ready; any future registry-locked fixture will silently skip the readiness gate.
- Confirm onceLock and OnceLock cache the captured environment and metadata outcome, so a poisoned CARGO_HOME is sticky for the process. No negative test resets or detects this; native controls rely on a fresh subprocess per fixture run.
- Confirm captured environment uses home::cargo_home_with_cwd with cwd resolved before child cwd mutates; relative RUSTUP_HOME is intentionally joined to original cwd rather than resolved per fixture.
- Confirm preparation_error unit test asserts substrings but not the newline-separated ordering of binding/error/next that the diff comment claims as part of the contract. If the order regresses, no test fails.
Refuted
- fixture subprocess holds a mutable ArrayBuffer/TypedArray whose length snapshot can go stale across cargo metadata calls; refuted because: Diff contains zero ArrayBuffer, TypedArray, SharedArrayBuffer, WebAssembly.Memory, RawVec, or unsafe resize code; preparation only performs cargo metadata/fetch subprocesses and caches env tuples in OnceLock<Vec<(&str, String)>>, which are static-length and never resized after init.
- ORIG EVERPATH: home =0.5.12 is pinned with =; reproducible but a transitive-resolution regression upstream could prevent the workspace from resolving at all. Acceptable trade-off; PR body does not claim cross-version support.
- Adding a 'home' crate just to resolve CARGO_HOME is over-scoped relative to a one-line std::env lookup.; refuted because: The module deliberately resolves a relative CARGO_HOME against a captured CWD before any child mutates the working directory; std::env::var yields the raw string only. home::cargo_home_with_cwd mirrors Cargo's documented rule and is the minimal correct surface. Dep added is pinned (=0.5.12) and limited to xtask.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Parked follow-ups
- preparation::cargo/build re-collects the env Vec into &[(&str,&str)] on every call instead of caching a static slice; sibling helper overlap, not a bug.
|
Updated source-review and Ready-admission disposition, superseding earlier builder instructions to keep Draft pending independent review. Reviewed head: 791ed55; tree 1adb5e9ea4dda375a4a2ee49de38cdbf63ae6712. Base: 50d8688. Independent source review task 01a142e0-e84b-77ec-8ab7-17887030600e inspected all eight changed paths but its container failed provisioning; that review made no runtime claim. Replacement independent reviewer task 01a142ee-f58d-73e9-8f0e-b9b98cd4000f completed the scoped runtime review on Linux/Bash with no actionable findings. The replacement reviewer built only xtask and ripr binaries with locked offline Cargo, then froze artifacts. CLI SHA256 5c2cf133f9fedce1988e3d0e1ae77c36411f84117dba13f2d93f26042747d6b7 stayed identical before/after preparation. xtask SHA256 69299e3b485566cd044b725d9b3b47d66f079e59583f92138b60ef52e13a8f5b; wrapper 2d404444b4bf803cfdb635e896eb60ec0d293bb45319881cbca9fc5070ba71e2. Compiler artifacts and version output bind these to the reviewed checkout; distinct builds are not claimed byte-equivalent. Executed controls: selected home with anyhow1.0.104 but missing locked1.0.100 produced weakly_exposed; fixture runner and offline preparation refused with actionable advice; preparing a different home did not fix selected-home refusal; preparing selected relative home succeeded and verified locked checksum; the same frozen CLI then produced exposed with a separate fact cache. Seeded offline preparation, all three golden surfaces, 0.31s warm repeat, unset/empty CARGO_HOME fallback all passed. Five observed Cargo delegation calls consistently received absolute Cargo/Rustup homes and repository toolchain pin despite invalid ambient toolchain. All ten fixture files remained unchanged. Original failed cross-build wrapper equality is retained; it is not relabeled as success. Owner final-head evidence: four focused tests, check-fast11 applicable gates, complete eight-path precommit with no skips/limitations; exact-base scoped build/check-fast passed. These owner gates are attributed separately from independent runtime controls. Review5542856442 questions are disposed by fixture-specific readiness, existing process-sticky OnceLocks, original-CWD home resolution and executed controls above; extra diagnostic-ordering coverage is nonblocking. No inline threads remain. Current main50166e2f2ea9e391013152349a9b9be5c10fd371 adds unrelated pilot/help/MCP/SARIF changes; no preparation consumer, canonical resolver, dependency, toolchain or required workflow delta. Remote merge4c296b2e7964c78109d1b4a6f4527e1a023ddb8e/treee220f50bec91f62a9e7bea56665a451be08c73dc uses main2e6fbbe plus reviewed head. This is source applicability, not executed combined-tree qualification. Inherited standalone cargo-deny still fails yankedzip8.6.0; #8178/#8180 own repair, no pass or duplicate repair claimed. Branch summary requires Ripr Rust Small Result, triggered by Ready; main ruleset requires thread resolution, zero approvals and no bypass. Classic protection read403 remains a visibility limit. Proceeding with normal Ready qualification. Required hosted results, actual checkout identity, sensor acceptance, Windows and full-workspace qualification remain pending/unclaimed. No release or deployment authorized; existing holds remain. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
New finding4290966731 needs disposition before landing: the absent pinned-toolchain boundary was not exercised by our installed-pin/invalid-ambient runtime controls. Source currently does not disable rustup auto-install for readiness and prepare --offline. Returning to Draft while the owner establishes a no-download negative control and repairs the offline contract if confirmed. This supersedes Ready receipt6208148868 for the new finding; earlier exact-head tests remain historical valid scoped observations, not proof of this untested boundary. Discussion4290966815: the independent review did execute selected-home missing locked dependency → refusal → preparation → success, with a frozen CLI and unchanged fixture; that evidence is in6208148868. This does not substitute for an executable committed regression where required. Both coverage and behavior will be reconciled together. Current required run38851275697 is already active on the prior subject. No duplicate dispatch or rerun requested; its eventual result will be retained under its actual checkout. Repair handoff currently hit a cloud-service error, so implementation has not yet resumed. Source and proof are preserved. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED — independent missing-pin boundary review; corroborates existing finding 4290966731, not a new competing repair.
Reviewed head: 791ed55a4e8c25622863a100cddefe5facc4a11a, tree 1adb5e9ea4dda375a4a2ee49de38cdbf63ae6712; actual diff base 50d8688877a5619223c0cebcf60f7b1fa5467edb. Re-read head and Draft state before publication. Read AGENTS, checkout review-pr skill, full eight-file diff, preparation owner/fixture consumers, shared process launcher, relevant spec/docs and current threads.
Owner recovery first: 6208331945 retains repair ownership and reports a cloud-service recovery failure. This fresh environment contains neither the owner's retained proof directories nor a newer repair object; no replacement implementation or candidate push was attempted.
Observed source: environment() does not set RUSTUP_AUTO_INSTALL; cargo() delegates to a launcher that preserves the ambient environment. Readiness's Cargo offline flag cannot govern Rustup. In prepare --offline, the earlier cargo --version and rustc --version probes also need the control; protecting only fetch/metadata is incomplete. Existing process_owner::forbid_rustup_auto_install documents this boundary. The four committed tests do not execute missing-pin children.
Observed independent native controls (Linux/Bash; Rustup 1.29.1 d95a37b6a, installed Cargo 1.95.0 f2d3ce0bd/rustc 1.95.0 59807616e):
- Each child used a fresh empty absolute RUSTUP_HOME, repository pin 1.95.0, explicit proxy PATH, empty selected CARGO_HOME and an otherwise cleared environment. Both Rustup distribution/update endpoints pointed only to a loopback server returning empty HTTP 503.
- Three commands:
cargo --version,rustc --version, andcargo metadata --locked --offline --format-version 1 --manifest-path fixtures/owner_return_pin_fallible_literal/input/Cargo.toml. - AUTO_INSTALL=0: 3/3 native exit 1, missing-toolchain diagnostic, zero server requests.
- AUTO_INSTALL unset or 1: 6/6 native exit 1, each made exactly one
/dist/channel-rust-1.95.0.toml.sha256request and reported syncing channel updates. No successful distribution response or toolchain download. All nine assertions passed.
Reproduction controls: execute the three commands directly through rustup's cargo/rustc proxies from this head, in separate empty stores for each setting (0/unset/1). Keep RUSTUP_TOOLCHAIN=1.95.0; set RUSTUP_DIST_SERVER and RUSTUP_UPDATE_ROOT to the rejecting loopback listener; bound each child to 15 seconds. Do not run the unsafe unset/1 controls against the public distribution server. Frozen driver/rows are retained at /workspace/scratch/review-8174-evidence/{rustup_boundary.py,rustup-boundary.json} (executor-local, not uploaded custody). Driver SHA256 c7d0060b53f04e89ac196e91e6d06a20b057f2c723812e8fe70fc59a70f3b052; raw receipt SHA256 3b342f8e65f95ff3cdbf0f1e08d785cc9773565ac9855ad71986c2186b5a2cc6; Rustup executable SHA256 dda7234360b7f578ca8b0ddcb80145646fa61a67c1720a5abc7051b35c9fcb71.
Limits/blocker: exact-head cargo build --locked --offline -p xtask --bin xtask stopped before compilation, native 101: no matching package named home in the available registry. Registry was left unchanged. These are real launcher controls plus source-path inspection, not a newly built end-to-end xtask pass. Missing-pin diagnostics through repaired xtask, committed executable regression, installed-pin success and normal preparation behavior still need owner proof on the repaired head. Parent-reported prior dependency preparation controls remain attributed to 6208148868.
Existing run 38851275697 returned completed/success hosted Rust gates and aggregate result; observed steps explicitly install the toolchain. Its actual checkout was not inspected here; it cannot discharge this negative boundary. No duplicate dispatch, bot contact, thread resolution or state transition.
Next: canonical owner repairs the same Draft candidate, enforcing the offline control before every relevant proxy launch (including overriding ambient 1), adds an executable missing-pin discriminator, and supplies new-head evidence for independent re-review. No novel issue emitted. Overall end-to-end proof remains REVIEW_INCOMPLETE.
|
Repaired-head independent review and Ready-admission receipt. Reviewed head Attributable independent reviewer: Codex Independent execution: seven preparation tests passed (including one subprocess helper), scoped xtask build passed. Absent-pin readiness, explicit offline preparation, CARGO_NET_OFFLINE=true preparation and offline fixture build all refused with zero distribution requests. Online preparation preserved caller denial (zero requests) and allowance (one rejected request). The predecessor executable's offline preparation made one rejected request, demonstrating defect sensitivity. Both Rustup endpoints were bound exclusively to an owned loopback HTTP-503 listener. Installed-pin missing-dependency controls refused; minimal verified seeding permitted offline/online preparation. Same retained product CLI changed weakly_exposed to exposed. Important identity limit: that CLI is the retained 791ed55 artifact, SHA256 The one-token network allowance is confined to the exact cfg(test) file. Validator unchanged; removing the row, exceeding its count and inserting the token in production independently failed policy. Restored network/process checks passed. Raw independent evidence bundle SHA256 Disposition of findings 4290966731 and 4290966815: verified repaired by the real missing-pin and missing/seeded-dependency execution above, plus committed child-process regressions. No remaining material finding in assigned scope. Old required run 38851275697 is terminal success on its old subject; its 16,312 tests do not qualify this repair. Actual remote merge ref independently read now: e3b271eba3c7a4c82bf59cab925fe625f3f5b438, tree The #7837 composition conflict around the retired droid-review.yml row was independently reproducible without this PR's new allowance and remains separate; new row keys are disjoint. No #7837 integration is performed. #7746/#7929 holds and the separate sanitized-sensor boundary remain preserved. Current required context remains Ripr Rust Small Result; no repaired-head Routed Rust Small run exists. Parent authorizes one normal Ready transition for this verified repair, superseding prior Keep Draft-for-review instructions for #8174 only. REVIEW_INCOMPLETE now concerns later hosted/platform qualification, not unfinished substantive review. Preserve protections, verify actual job checkout and monitor the resulting single required run; no duplicate/manual dispatch. No merge or release clearance is claimed. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Confirmed findings
- assertions_on_result_states clippy gate surfaced in PR body; the four repaired focused tests still call is_ok_and/Some_and on Result without assert!. Owner reports strict clippy passes on final head, so the gate cleared; the assertion-on-result-states concern is documented as historical.
- Sibling scoped check: seeded reviewer thread reports owner repair hit a cloud-service error; no committed no-download negative control for production preparation path. Park the absent-pin boundary until repair lands; do not broaden lane scope.
- xtask/src/reports/fixtures.rs:721 — ensure_ready is hard-gated to a single FIXTURE name (owner_return_pin_fallible_literal). Any future registry-locked fixture will silently skip the readiness gate and fall back to the old 'bless on missing deps' surface. Suggest replacing the hard-coded name match by a small const slice (or table) of gated fixtures iterated inside run_fixture_outputs.
- The Cargo.lock adds home =0.5.12 exactly pinned, matching the manifest. No other Cargo.lock drift was observed; the new dependency does not introduce transitive UB-relevant additions.
Verification questions
- Confirm test readiness_uses_the_locked_fixture_offline only asserts the literal metadata_args() vector, not a missing-dependency refusal→preparation→success oracle.
- Confirm seeded test copies anyhow-1.0.100 archive out of the current host's CARGO_HOME into a synthetic OwnedRoot; fresh worktrees that never ran 'cargo xtask goldens prepare' will fail the precondition without a tool-only fallback.
- Confirm fIXTURE constant = owner_return_pin_fallible_literal is referenced only from run_fixture_outputs (gate) and preparation::prepare/print/proxy_error, so the readiness path is single-fixture; future registry-locked fixtures will silently bypass ensure_ready.
- Confirm ensure_ready is hard-coded to FIXTURE; any future registry-locked fixture silently skips readiness and the test suite has no coverage of run_fixture_outputs gating.
- Confirm fIXTURE constant is hard-coded; readiness gate only triggers for owner_return_pin_fallible_literal, matching PR scope but creating a hidden gating contract for future registry-locked fixtures.
- Confirm online control reaches the rejecting server (asserts requests>0) but does not prove online mode would have succeeded against the real distribution, so the assertion confirms network reach, not policy. The opposite contract (online + auto-install reaches, but offline does not) is what the test exercises.
Parked follow-ups
- Smallest-complete fix could fold the new proxy_environment / RUSTUP_AUTO_INSTALL=0 control into the existing xtask::command or ripr::process_owner helper instead of a parallel once-cached env inside the new module; current placement keeps the change diff-bounded for #7920, so this is a follow-up rather than a blocker.
- Preparation sits in xtask and shares its process-tree cargo/rustup invocation, so duplicating the existing forbid_rustup_auto_install policy here is an architectural smell rather than a blocker.
The fixture tooling's Cargo offline flag did not stop rustup from installing a missing repository pin before Cargo started. This successor disables rustup auto-installation for every offline readiness/preparation launch, including both version probes, and adds safe executable regressions. Refs #7616 / #7920 and findings 4290966731, 4290966815.
CANDIDATE_REPAIRED / REVIEW_INCOMPLETE — keep Draft for fresh independent review. The prior terminal-green CI result with 16,312 tests is historical evidence on the prior subject; it does not establish this previously untested boundary. No new hosted dispatch, rerun, Ready transition, merge, release or access/settings change was requested.
Current source and repair
a33df51525b0386ade05d5b97d52ea34f0d76e3f; treed453c0d434b4fa3c2921d123c306ca46851be99a.791ed55a4e8c25622863a100cddefe5facc4a11a; implementation/diff base50d8688877a5619223c0cebcf60f7b1fa5467edb.proxy_outputappliesRUSTUP_AUTO_INSTALL=0to offline metadata, fetch and the shared Cargo/rustc version-probe loop, overriding ambient 1. Explicit offline builds andCARGO_NET_OFFLINE=truebuilds receive the same launcher guard.Executed controls
All controls use real rustup proxies. Missing-pin stores are fresh owned directories; both distribution/update endpoints point only to an owned rejecting loopback listener returning empty HTTP 503. Proxy PATH is explicit and inherited HTTP proxies are bypassed. No unsafe control uses the public distribution server.
The committed tests execute production readiness/preparation in fresh child processes so the OnceLocks cannot leak context between cases. Seven scoped tests pass (including one subprocess-entry helper). The dependency control verifies the canonical crate checksum
a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61and copies only that public locked archive and sparse index into the owned home. Its prepared-input prerequisite is the existing canonical fixture preparation; tests do not fetch dependencies.Discrimination: a compiling guard-removal counterfactual forced AUTO_INSTALL=1. The missing-pin regression failed at runtime, native 101, reporting channel synchronization against the rejecting loopback server. Mutant source, actual test executable and raw failure are retained. The corrected guard passes. Initial test-listener inventory and test diagnostic Clippy failures are also retained separately; their narrow repairs changed no production semantics.
New end-to-end xtask SHA-256:
961454d1c4be876edaf4943863efa917ae5a73f109ff75914624d739da3dc4ea. The compatibility product probe reuses frozencd92b8e846fcde38bf66351a98de8afc0557675ab784c9d25644b76df0585872, source 9217dad, and is explicitly not a newly built current-head product CLI. Product source and all tracked fixture bytes are unchanged. Historical cross-build wrapper equality failure remains a failure, with its previously established separate-build boundary; nothing is reblessed or relabeled.Final-head local validation and ownership
std::net::Tcpallowance for the rejecting127.0.0.1:0listener. Active test(rust): retain real uncertain-delivery helper attribution witness (#7818) #7837 also edits the shared network allowlist; only this unique row was added, with existing allowances/sibling branch untouched. Existing fix(evidence): retain source file across colliding assertion lines #7833 command-catalog shared-path finding remains separate.Reproduce committed controls from the repository root with the installed pin and prepared fixture cache:
RUSTUP_AUTO_INSTALL=0 CARGO_BUILD_JOBS=2 cargo test --locked --offline \ -p xtask --bin xtask reports::fixtures::preparation::tests -- --nocaptureThis guards xtask-owned child proxy launches; the caller must bind its own outer Cargo/rustup bootstrap when invoking an offline alias with an absent toolchain.
Changelog:
changelog.d/7920-golden-fixture-preparation.md, canonical Internal / CI section, bullet and issue references. Roll back this bounded tooling/controls slice together. Canonical home resolver #8018 remains unchanged. The historical e287b48 source and the separately described unpublished four-file sanitized-environment candidate remain distinct and were not reconstructed.Evidence retained under
/workspace/scratch/8174-offline: red witness, executed source snapshots, native unit/build/policy/aggregate logs, current standalone CLI/fresh-home receipt and frozen xtask, unchanged predecessor fixture outputs, previous PR body, and successor patch. Local paths are locators, not uploaded artifact custody. Receipt SHA-256a1a5e787cdb9efa11bde4018334c38528756e57b3f1195dd26b65d10c8b1bf20; final precommit JSON635caca20b5e46c972e326c378a02b8425faca980c3209df56f0c3ef5dff5a96; successor patch5888602ff7636d3da6d77a3dbfdd24453f722f405614b3fd14f4bc174bd82787.Parent owns fresh independent review, finding/thread disposition and later qualification. Native Windows, current-main composition, hosted repaired-head acceptance and #7920's separate sanitized sensor preparation boundary remain unqualified. #7746/#7929 holds remain. All local drivers are terminal.
Historical pre-repair handoff and evidence (superseded as current acceptance)
Missing fixture-locked
anyhow 1.0.100can turn the unchangedowner_return_pin_fallible_literalgolden from exposed into weakly_exposed. This addscargo xtask goldens prepare [--offline]and an offline readiness check in the existing fixture runner. Refs #7616 and #7920; neither issue is closed.Preparation fetches only the canonical locked fixture manifest, then verifies offline metadata. Preparation, fixture binary builds and analyzer children share one captured absolute Cargo home, the repository toolchain pin and an explicitly selected Rustup home. Errors name that environment, the native Cargo failure and the repair command. Existing once-per-process build reuse and fixture-cache isolation remain. CONTRIBUTING and RIPR-SPEC-0002 describe the contract; the command catalog marks preparation as mutating the effective registry cache.
Exact source and ownership
codex/7920-fixture-preparation; head791ed55a4e8c25622863a100cddefe5facc4a11a; tree1adb5e9ea4dda375a4a2ee49de38cdbf63ae6712.50d8688877a5619223c0cebcf60f7b1fa5467edb, tree6c058b8f4d1941da6b6ec216192d46abc3b31e3f. Merged fix(analysis): discover assertion Cargo home canonically #8018 canonical resolution atb06728144e3463c212dd6acff8f04bf5c52c2166is an ancestor; its analyzer implementation is unchanged.9217dad88afedc3c50add89a763e3ac18d3e2d8d, treeed82c4dd12b3075e73515b7bdb919d9a831c3153. The final delta adds module documentation and renames/strengthens two refusal tests undercfg(test). The preparation module's production section (excluding module documentation), product files and manifests are unchanged; this was byte-compared, not inferred from the test-only commit title. Four repaired tests were executed on final head 791ed55.xtask/src/command.rs. Its patch changes the changelog-check description; this PR adds the goldens preparation registration in different entries. No sibling branch was edited. ci: stage reviewed qualification leaves in exact-subject caller #8082's shared tests/docs paths were avoided. test(rust): retain real uncertain-delivery helper attribution witness (#7818) #7837 also owns edits to the network allowlist, which this PR leaves untouched.e287b48ad7d0129cb3810c1a1132fcd9c4beaf75(reported tree210a29822ad9f454bae65dd82b5a1f61a9c6c1f8, base89ac47a603092ba7f9f55cf74999b88649621abf) is absent locally and GitHub's commit API returned 422/no commit. These are not equated, reconstructed or claimed incorporated.Observed local proof
Linux/Bash, Cargo 1.95.0
f2d3ce0bd, rustc 1.95.059807616e; explicit PATH prefix/workspace/.ripr-toolchain/cargo/bin, CARGO_HOME/workspace/.ripr-toolchain/cargo, RUSTUP_HOME/workspace/.ripr-toolchain/rustup, RUSTUP_TOOLCHAIN1.95.0.Same before/after CLI SHA-256:
cd92b8e846fcde38bf66351a98de8afc0557675ab784c9d25644b76df0585872. It reports executed head 9217dad. The wrapper's separate single-package Cargo build produced SHA-25626483e0898889dac6aa78908e6d781206478f125575cc36413541006b2527eb8; this is recorded separately. The original proof driver ended native 1 because its final assertion incorrectly required those distinct build outputs to match; all seven preceding native controls completed as shown. A separate finalizer verified retained outputs, the frozen CLI hash and tracked fixture byte identity without relabeling that instrument failure as a pass.Fixture subtree remains
7337af6bda86c0e8aec550643d7e1986a40f5827; every tracked fixture file was byte-compared with its Git object. Downloaded crate SHA-256 is the locked checksuma23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61. No analyzer source, fixture manifest/lock or expected golden changed, and nothing was blessed.Other checks: clean-base scoped xtask Cargo check; candidate scoped xtask check/build; four focused preparation unit tests (4 passed, none ignored); formatting and diff hygiene; process, network, command-catalog, spec-format, changelog-fragment and traceability checks pass. Tests map to RIPR-SPEC-0002: offline locked readiness arguments, actionable selected-home errors, invalid preparation arguments and required repository toolchain pin. Network policy initially matched the old test name's
fetch(token; the test was accurately renamed and the explicit network boundary documented. No policy allowance changed.Limits, review and continuation
Author source inspection: REVIEW_INCOMPLETE. Inspected canonical home resolution, shared subprocess owner, default/Perl build consumers, fixture entrypoints and three output surfaces; no remaining scoped author finding. Parent owns independent review and later qualification. Final-head local check-fast and precommit now pass; exact clean-base check-fast also passes. Hosted/sanitized-sensor acceptance, Windows, current-main composition and full-workspace runtime qualification remain unclaimed. No broad cold workspace runtime matrix was run. This local preparation tool does not repair or relax #7920's separate UB-review sanitized environment boundary.
Keep Draft. #7746 and #7929 holds are preserved. No workflow dispatch, Ready transition, merge, release, pin/gate/quarantine/access change or shared-cache deletion. Ordinary Draft-opening advisory fan-out is not qualification.
Changelog:
changelog.d/7920-golden-fixture-preparation.md, canonical Internal / CI marker, bullet and issue references. Rollback the bounded eight-file change together.Local evidence retained at
/workspace/scratch/7920-proof, unit/check/build logs at/workspace/scratch/7920-*.log; these executor paths are locators, not uploaded artifacts. Receipt SHA-2563fbed848cfbcaaf2256ddc0bcf7f584f1b43f5a933f8b3012cb46af71ac208c8; two-commit patch SHA-256ffd394dd44231883e72b53a9bf987b41ff23899d56679f421ffed9ed1db79e15. Frozen CLI, raw outputs, driver failure and usable patch remain retained for parent inspection. Mutable warm target state is retained for qualification. Initial 6 GiB storage estimate was revised to 8 GiB after link/witness growth, preserving the 10 GiB reserve; the original endpoint had about 22 GiB free. The validation follow-up admitted further scoped growth while preserving the same 10 GiB floor; final free space is about 13 GiB. All local drivers are terminal.Validation follow-up: exact identity boundary and completed local gates
Current published head is
791ed55a4e8c25622863a100cddefe5facc4a11a, tree1adb5e9ea4dda375a4a2ee49de38cdbf63ae6712. Actual branch parent/diff base remains50d8688877a5619223c0cebcf60f7b1fa5467edb. Live main separately advanced to observed2e6fbbe39eb8e1866782331416a300c1f4aa5d62; these are not relabeled as the same basis.The original failing expression was
before_hash == sha(frozen_cli) == sha(target/debug/ripr). Its first predicate holds: the pre-run hash and retained frozen file both equalcd92b8e846fcde38bf66351a98de8afc0557675ab784c9d25644b76df0585872. Its second predicate fails: the fixture wrapper's later Cargo build produced26483e0898889dac6aa78908e6d781206478f125575cc36413541006b2527eb8. Both actual artifacts remain available independently:7920-proof/riprand7920-followup/wrapper-ripr. The frozen CLI is a separate inode, not a hard link into Cargo output.This boundary is supported by actual compiler fingerprints, not just matching version strings. The combined command was
cargo build --locked --offline -p xtask --bin xtask -p ripr --bin ripr; the wrapper's existing once-per-process owner rancargo build -p ripr. Both artifacts report source 9217dad and have equal compiler/profile/root-feature/rustflag/build-script fingerprint fields. Their dependency graphs differ. Combinedripr-43ea12c7f8ed293auses oxc_ast fingerprint 17453657526960978329, whose bitflags dependency fingerprint 3952633255115479961 has features["std"]; standaloneripr-b2136d76190b1439uses oxc_ast 16275515214585664457, whose bitflags 15761490105132846283 has features[], with the same bitflags profile. Parser and LSP dependency fingerprints differ as well. There is no cross-build byte-equality contract here. This does not prove general semantic equivalence of those binaries.The expected relationships are separate: both raw availability controls must use the identical frozen executable; the fixture wrapper must retain its fresh source build and pass its own golden comparison. Both were observed. The original failure remains native 1, unchanged. The repaired driver preserves the frozen-copy assertion, records the wrapper separately and persists per-command executable hashes immediately for future full runs. Only its identity-validation step was rerun, native 0; no fetch, fixture or availability experiment was repeated. It verifies retained raw output digests/classifications and both retained executable hashes/versions.
The local stage requirements in build-candidate steps 2, 11 and 12 were closed:
assertions_on_result_statesviolation. Test-only repair now checks the actual diagnostic strings.android_system_properties 0.1.6. Ordinarycargo fetch --lockedcompleted; no compilation or lock edit in that prerequisite./workspace/scratch/7920-base-floor: scopedcargo build --locked --offline -p xtask --bin xtaskand baseline check-fast both native 0. HEAD equals frozen origin/main there, so zero changed paths is expected. Six floor gates ran; Rust/fixture/support selectors were not applicable. This is not baseline full-workspace runtime proof. The Cargo compiler-artifact record and actual baseline producer (SHA-25694bc6b863f44e2ab184fdd46e1d2891a5abf71143723d758acc004f8e2f13604) are retained.Evidence:
/workspace/scratch/7920-followupcontains the unchanged original failure/script, repaired identity-only driver and native-0 receipt, saved Cargo fingerprint comparison, separate wrapper witness, actual gate logs/receipts, exact-base compiler-artifact JSON and report, and a syntax-checked fresh-owned-home reproduction script. That reproduction script is provided for independent use and was not executed during this follow-up. Baseline and candidate producer witnesses, raw availability outputs and warm build state are retained for parent review/qualification.Updated three-commit patch:
7920-followup/repaired/candidate.patch, SHA-2560ccd9f873b7ec6de35fe1d35f8c2a198a9402c1e7de6eefe40d41b658879e84c. Final precommit JSON SHA-256c3cc6b9299d04a47df137377282e480fd079bf1edb02a8c15bcc1d6d9abc9e2e; its own report digest issha256:fcad1334f95e9b06317851821f0a72f8f02accccdc56028915d832f1b7eeca80. Identity-only receipt SHA-256fa37b8eff5172d2fd0f262ebc957b848687b15de1a40f5e05f5dac71ec56a08b. These paths are executor-local locators, not uploaded artifact custody. Keep Draft; parent independent review and later qualification remain pending.Read-only fetch of observed main
2e6fbbe39eb8e1866782331416a300c1f4aa5d62confirms the actual merge-base with published head 791ed55 is still50d8688877a5619223c0cebcf60f7b1fa5467edb, and the PR diff remains the same eight paths. This validates selector applicability; it is not combined-tree execution. Original PR base metadatab772d9e13cafcdc84a19ea77d9b90fbc6cb91eccis kept distinct from both the implementation base and the later observed main.