Make captured bootstrap artifacts reproducible #64

Manually merged
erikinkinen merged 1 commit from feature/reproducible-bootstrap-artifacts into feature/acl-fixture-contract 2026-11-13 20:57:18 +01:00
Owner

Summary and rationale

Captured dependency filenames made unchanged bootstrap builds produce different ELFs. Apply one explicit all-crate path mapping to the owned production and semantic boundaries, then compare two fresh complete artifacts and reject retained private paths. The exact baseline changes to 271,768 bytes after independent mapped artifacts and unchanged semantic inventory establish the intended result.

Tracking and scope

Fixes #63. Based on #20; its source branch remains unchanged. Shared Cargo/image producer normalization remains separate work.

Architecture, authority and failure behavior

The captured Cargo gateway receives the explicit mapping for every crate. Compiler dep-info still identifies real owned inputs; virtual names confer no authority. Artifact comparison retains ordinary original file descriptors, refuses aliases, changed bytes, private namespaces and uncertain cleanup. Existing warning denial, exact gates and process budgets remain mandatory.

Remaining acceptance

  • Independent captured-source artifact proof and semantic equality.
  • Native file comparison refusal controls and selected-source argument tests.
  • Original current-head CI and fresh native artifact regression.
  • Component architecture and roadmap scope updated.

No runtime or ABI changes; no new VM scenario is needed for this native build correction.

## Summary and rationale Captured dependency filenames made unchanged bootstrap builds produce different ELFs. Apply one explicit all-crate path mapping to the owned production and semantic boundaries, then compare two fresh complete artifacts and reject retained private paths. The exact baseline changes to 271,768 bytes after independent mapped artifacts and unchanged semantic inventory establish the intended result. ## Tracking and scope Fixes #63. Based on #20; its source branch remains unchanged. Shared Cargo/image producer normalization remains separate work. ## Architecture, authority and failure behavior The captured Cargo gateway receives the explicit mapping for every crate. Compiler dep-info still identifies real owned inputs; virtual names confer no authority. Artifact comparison retains ordinary original file descriptors, refuses aliases, changed bytes, private namespaces and uncertain cleanup. Existing warning denial, exact gates and process budgets remain mandatory. ## Remaining acceptance - [x] Independent captured-source artifact proof and semantic equality. - [x] Native file comparison refusal controls and selected-source argument tests. - [x] Original current-head CI and fresh native artifact regression. - [x] Component architecture and roadmap scope updated. No runtime or ABI changes; no new VM scenario is needed for this native build correction.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 05:02:50 +01:00
fix: Normalize captured bootstrap artifact paths
All checks were successful
CI / markdown (push) Successful in 3s
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Successful in 4m19s
e33a719174
Apply one explicit source-path policy to every crate in owned production and semantic builds. Compare fresh complete artifacts and reject retained private paths while preserving real dep-info ownership and exact semantic gates.
erikinkinen changed title from WIP: Make captured bootstrap artifacts reproducible to Make captured bootstrap artifacts reproducible 2026-11-13 05:07:20 +01:00
Author
Owner

Ready for review at e33a7191. CI 1763 passes the original gates, including 100 Python tests and the actual native artifact regression. The two fresh linked ELFs match the independently reproduced mapped SHA256 e9ba9c1c354d5b59f64f4b747b4c6bc1ce16d52ac9b28beeb838ffa163e64413; the retained CI snapshot selects the same ten provider commits. This fixes #63 within the owned Rootd boundaries; shared producer and whole-image normalization remain follow-up work.

Ready for review at `e33a7191`. [CI 1763](https://git.erikinkinen.fi/erix/rootd/actions/runs/1763) passes the original gates, including 100 Python tests and the actual native artifact regression. The two fresh linked ELFs match the independently reproduced mapped SHA256 `e9ba9c1c354d5b59f64f4b747b4c6bc1ce16d52ac9b28beeb838ffa163e64413`; the retained CI snapshot selects the same ten provider commits. This fixes #63 within the owned Rootd boundaries; shared producer and whole-image normalization remain follow-up work.
erikinkinen manually merged commit 8d3de0fe74 into feature/acl-fixture-contract 2026-11-13 20:57:18 +01:00
Sign in to join this conversation.
No description provided.