Admit Cargo-free offline inputs without generated storage #711

Open
erikinkinen wants to merge 0 commits from fix/cargo-free-offline-inputs into feature/native-scripted-root-build
Owner

Cargo-free source bundles now enter the offline graph without requiring or opening a generated Cargo directory. The graph validates the complete canonical bundle before selecting recipients; only bundles with empty manifest, lock and resolution vectors use tracked and original-object storage alone. Cargo-bearing bundles and strict production-v4 inventories keep all three recipients.

The existing source admission still rejects a generated Cargo recipient for a Cargo-free bundle. Parent registration now binds the applicable original roots, and source-only action selection and lifetime checks handle the absence of a Cargo actor. Input, material, descriptor and clock bounds remain unchanged.

Validation: a maintained finite control genuinely exports docs, retires its producers, renames the original repositories and admits the exported data through a fresh graph with no generated directory. A genuine Cargo-bearing companion retains all three roots. Focused forest/policy controls, complete helper/source declarations and syntax checks pass. The broader input-owner gate has 13 passing controls and two unsuccessful readiness controls; no complete native, image or guest acceptance is claimed.

Related to #65 and #690.

Cargo-free source bundles now enter the offline graph without requiring or opening a generated Cargo directory. The graph validates the complete canonical bundle before selecting recipients; only bundles with empty manifest, lock and resolution vectors use tracked and original-object storage alone. Cargo-bearing bundles and strict production-v4 inventories keep all three recipients. The existing source admission still rejects a generated Cargo recipient for a Cargo-free bundle. Parent registration now binds the applicable original roots, and source-only action selection and lifetime checks handle the absence of a Cargo actor. Input, material, descriptor and clock bounds remain unchanged. Validation: a maintained finite control genuinely exports docs, retires its producers, renames the original repositories and admits the exported data through a fresh graph with no generated directory. A genuine Cargo-bearing companion retains all three roots. Focused forest/policy controls, complete helper/source declarations and syntax checks pass. The broader input-owner gate has 13 passing controls and two unsuccessful readiness controls; no complete native, image or guest acceptance is claimed. Related to #65 and #690.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 20:53:23 +01:00
Derive the actual byte-root recipients from the complete canonical bundle before capture while preserving strict Cargo-bearing admission and original bounds.
Regenerate the complete actual input-owner source closure from the immutable code checkpoint.
Bind every input-owner source selector to the complete authenticated code and declaration checkpoints.
test: Preserve original root-open mode in the offline control
Some checks failed
Markdown / markdown (push) Successful in 20s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 6m2s
CI / cargo_publications (push) Failing after 6m39s
CI / rust (push) Failing after 6m57s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
7fab818e2c
Forward the defining search-only option while observing that Cargo-free admission never captures generated storage.
Some checks failed
Markdown / markdown (push) Successful in 20s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 6m2s
CI / cargo_publications (push) Failing after 6m39s
CI / rust (push) Failing after 6m57s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/cargo-free-offline-inputs:fix/cargo-free-offline-inputs'
git switch 'fix/cargo-free-offline-inputs'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/native-scripted-root-build'
git merge --no-ff 'fix/cargo-free-offline-inputs'
git switch 'fix/cargo-free-offline-inputs'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'fix/cargo-free-offline-inputs'
git switch 'fix/cargo-free-offline-inputs'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --no-ff 'fix/cargo-free-offline-inputs'
git switch 'feature/native-scripted-root-build'
git merge --squash 'fix/cargo-free-offline-inputs'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'fix/cargo-free-offline-inputs'
git switch 'feature/native-scripted-root-build'
git merge 'fix/cargo-free-offline-inputs'
git push origin 'feature/native-scripted-root-build'
Sign in to join this conversation.
No description provided.