WIP: build: add the complete boot-source Cargo plan #479

Draft
erikinkinen wants to merge 26 commits from feature/coherent-native-boot-source-graph into feature/native-build-validation-inputs
Owner

Add a separate source catalog and Cargo plan for all 77 boot component roles. Each action retains its source preparation and matches its registered workspace and feature selection. The ordinary image catalog stays unchanged.

The plan includes native libraries, object compilation without implicit linking, UEFI, host tools and source-only documentation inputs.

  • Cover every selected component and its command kind explicitly.
  • Bind offline commands to original sources, workspaces and prepared features.
  • Keep bounded profiling, output, failure and retirement duties.
  • Reject ambiguous plans and unexpected Cargo content before completion.
  • Execute the complete component plan across the maintained targets and profiles.

Stacks on #478. Final service artifacts, boot images and in-EriX builds remain separate open obligations.

Add a separate source catalog and Cargo plan for all 77 boot component roles. Each action retains its source preparation and matches its registered workspace and feature selection. The ordinary image catalog stays unchanged. The plan includes native libraries, object compilation without implicit linking, UEFI, host tools and source-only documentation inputs. - [x] Cover every selected component and its command kind explicitly. - [x] Bind offline commands to original sources, workspaces and prepared features. - [x] Keep bounded profiling, output, failure and retirement duties. - [x] Reject ambiguous plans and unexpected Cargo content before completion. - [ ] Execute the complete component plan across the maintained targets and profiles. Stacks on [#478](https://git.erikinkinen.fi/erix/integration/pulls/478). Final service artifacts, boot images and in-EriX builds remain separate open obligations.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 23:24:47 +01:00
Keep every original boot role while selecting explicit current public source contracts and closing the CLI and OwnedRegion dependencies. Retain actual catalog preparation objects through requested Cargo use, keeping subset outcomes distinct from full boot and native acceptance.
Reject invalid budgets before output creation and permit the enclosing native caller to supply its original absolute end. Source preparation and later Cargo use share that same retained capture clock instead of starting a later allowance.
Preallocate owner slots before effects and retire capture independently without allocating a new cleanup list. Track this operation’s primary failure explicitly so an unrelated outer handler cannot suppress its first retirement failure.
Require the explicit workspace temporary parent for local fault controls. The fixture retains and closes its real file duties without falling back to global temporary storage.
Observe the existing native capture sinks with bounded standard Python profiling while retaining their original streams, commands and clock. Append snapshots through one original output descriptor and charge serialized work without turning telemetry into source or compiler authority.
Keep actual process captures in explicitly selected workspace storage. Retire capture and profiler duties independently so a first close failure cannot skip the original output descriptor or replace an earlier operation failure.
Use the maintained original acquisition and catalog provider mode for fresh root and dependency stores. Avoid copying unrelated shared Git history while preserving object, source, framing and durability checks, and never fall back from a failed explicit acquisition to local inputs.
Pass the defining acquisition API its required absent-local-context selection. Preserve canonical exact fetching with no implicit store or retry, and check the real method signature before entering a native fetch.
Pass Cargo the actual registered producer workspace when the recipe has no explicit manifest selection. Keep caller selections subject to the unchanged source consumer rules instead of relying on ambient Cargo working-directory discovery.
Use the original admitted slot index for operation outputs and the validated checkout directory for fresh source data. Logical catalog names remain descriptive labels and cannot select another filesystem namespace.
Select nested projects only through the original completed metadata registration and preserve one byte-identical catalog input across roles. Keep logical labels out of output routing and do not fabricate a root Cargo package or native owner from saved paths.
Use the reviewed orchestration feature projection when preparing the complete native provider graph. Preserve the independent fixture-policy source and its explicit manifest checks.

# Conflicts:
#	scripts/check-python-host-syntax.sh
#	tests/fixtures/python-host-syntax-commands.json
Bind every selected role to explicit locked offline commands and real workspace package targets. Retain independent per-action preparation and exact completed feature selections, including the nested orchestration workspace, while preserving final native link and release-image obligations.
Use the reviewed producing Cargo API for every per-role action rather than selecting runtime features only after default metadata completion. Preserve the original source and completed input checks.

# Conflicts:
#	ARCHITECTURE.md
#	README.md
#	ROADMAP.md
#	scripts/check-python-host-syntax.sh
#	tests/fixtures/python-host-syntax-commands.json
Cargo retains its own link emission when object output is requested. Select the existing nightly no-link route explicitly and cover real freestanding ET_REL output while preserving separate final artifact and image contracts.
Retain the actual feature-selection helper and current generated producer body in the checked source closure. Preserve the six native engine bodies and keep native C artifact acceptance separate.
Require unique JSON fields, exact schema types and valid action selections before effects. Bound fresh root objects by the remaining original material allowance while preserving the original object ceiling and complete object, blob and expansion accounting.
Keep all source validation fixtures outside the maintained source namespace. Preserve earlier fixture evidence externally and retain source census checks without Git-ignore exemptions.
A role label cannot exclude a newly added Cargo workspace. Refuse root or nested manifests observed through the held original Git context before source-only materialization, and retain native classification evidence outside the maintained source tree.
Keep the generated freestanding crate and exported entry documented under denied warnings and missing documentation. Exercise the same explicit object-emission contract as the workspace plan.
Use the reviewed explicit source and validation inputs beneath the native role plan. Preserve all original fixture vectors, source intake and native engine definitions while keeping final native image acceptance separate.

# Conflicts:
#	ARCHITECTURE.md
#	README.md
#	ROADMAP.md
#	scripts/check-python-host-syntax.sh
#	tests/fixtures/python-host-syntax-commands.json
Preserve the published prerequisite document and syntax-vector ordering. Append only the native role plan descriptions and complete new syntax commands so the feature diff stays focused.
docs: Describe the selected public boot contracts
Some checks failed
Coreutils provider graph / coreutils (push) Successful in 1m52s
CI / rust (push) Successful in 2m38s
CI / host_zero (push) Successful in 6m41s
CI / host_two (push) Successful in 7m5s
CI / host_three (push) Failing after 8m55s
CI / host_one (push) Successful in 13m11s
CI / integration (push) Has been skipped
CI / rust (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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
aa6494c7eb
Keep the guide focused on the published component selections and their current interfaces.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
b84f160986
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (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
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
1d8df17d6f
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (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
Markdown / markdown (push) Successful in 18s
Coreutils provider graph / coreutils (push) Successful in 4m21s
CI / rust (push) Successful in 7m15s
CI / host_zero (push) Successful in 14m19s
CI / host_two (push) Successful in 15m17s
CI / host_three (push) Failing after 15m1s
CI / host_one (push) Failing after 23m14s
CI / integration (push) Has been skipped
5989d3fc6d
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (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
Markdown / markdown (push) Successful in 18s
Coreutils provider graph / coreutils (push) Successful in 4m21s
CI / rust (push) Successful in 7m15s
CI / host_zero (push) Successful in 14m19s
CI / host_two (push) Successful in 15m17s
CI / host_three (push) Failing after 15m1s
CI / host_one (push) Failing after 23m14s
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/coherent-native-boot-source-graph:feature/coherent-native-boot-source-graph'
git switch 'feature/coherent-native-boot-source-graph'

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-build-validation-inputs'
git merge --no-ff 'feature/coherent-native-boot-source-graph'
git switch 'feature/coherent-native-boot-source-graph'
git rebase 'feature/native-build-validation-inputs'
git switch 'feature/native-build-validation-inputs'
git merge --ff-only 'feature/coherent-native-boot-source-graph'
git switch 'feature/coherent-native-boot-source-graph'
git rebase 'feature/native-build-validation-inputs'
git switch 'feature/native-build-validation-inputs'
git merge --no-ff 'feature/coherent-native-boot-source-graph'
git switch 'feature/native-build-validation-inputs'
git merge --squash 'feature/coherent-native-boot-source-graph'
git switch 'feature/native-build-validation-inputs'
git merge --ff-only 'feature/coherent-native-boot-source-graph'
git switch 'feature/native-build-validation-inputs'
git merge 'feature/coherent-native-boot-source-graph'
git push origin 'feature/native-build-validation-inputs'
Sign in to join this conversation.
No description provided.