Build the directory scenario in the original native graph #598

Open
erikinkinen wants to merge 10 commits from feature/scenario-owned-directory-build into feature/clean-native-image-closure
Owner

The clean image builder can select the maintained directory-stream scenario and produce its private C/Rust client in the same original native graph as the OS services.

  • Retain the scenario and runtime inputs before source effects, then match them to the original Integration source.
  • Preserve all 77 roles and 79 baseline actions; register a separate Posixd ProcessRoot action with its own original limits and live source/DSO receivers.
  • Select the original initial-shell, directory workload, VFS capacity and private executable packaging policy.
  • Complete the matching 80-action native image and guest scenario.

Names and catalogs select data; they cannot replace source, compiler or process owners. Unsupported recipes, changed inputs, foreign registrations and incompatible library variants fail closed. Existing graph deadlines and baseline producer limits remain unchanged.

Implements the source bridge in #594. Depends on #574, #582, #583, #596 and #597. Complete image and guest acceptance remains tracked separately from the source controls.

The clean image builder can select the maintained directory-stream scenario and produce its private C/Rust client in the same original native graph as the OS services. - [x] Retain the scenario and runtime inputs before source effects, then match them to the original Integration source. - [x] Preserve all 77 roles and 79 baseline actions; register a separate Posixd ProcessRoot action with its own original limits and live source/DSO receivers. - [x] Select the original initial-shell, directory workload, VFS capacity and private executable packaging policy. - [ ] Complete the matching 80-action native image and guest scenario. Names and catalogs select data; they cannot replace source, compiler or process owners. Unsupported recipes, changed inputs, foreign registrations and incompatible library variants fail closed. Existing graph deadlines and baseline producer limits remain unchanged. Implements the source bridge in #594. Depends on #574, #582, #583, #596 and #597. Complete image and guest acceptance remains tracked separately from the source controls.
Retain the explicit maintained scenario before source effects and append its genuine process-root producer without replacing baseline services. Keep canonical source admission and live process source and DSO receivers attached to the same complete graph.
Reuse the complete version-three target descriptor installer and explicit namespace packet policy from the existing VFS capacity feature. Forward the policy through runtime parsing, retained image arguments and reports while preserving the four existing terminal coordinates and the selected compiler/source graph.
Run both real runtime parser controls with explicit isolated Python flags, preserving their original policy assertions without leaving bytecode in the frozen source tree.
Accept the existing explicitly declared session lifecycle ABI with or without read-only clock queries while retaining exact baseline flags and canonical authority ceilings. Refuse every other flag combination; catalog text never supplies a live session or native capability.
Use the same exact explicit flag predicate in catalog parsing and final filesystem installation. Preserve independent authority count, digest and sidecar-byte checks so an indexed policy cannot reinterpret unchanged manifest bytes.
The retained process producer reached an obsolete local restoration function that shadowed the extracted helper and referenced a removed struct import. Remove the duplicate implementation so ordinary and process-shared metadata assembly use the same checked pure transform.

Refresh the complete defining helper cohort and its consumer binding while preserving all seven original source-owner bodies. Native symbol restoration controls cover exact names and malformed ELF refusal.
Require the closed maintained recipe and explicit process-only inputs before any source effect. Keep its source projection, live operation registration and final image policy attached to the original graph, and document the independent guest acceptance boundary.
Carry the complete retained library naming feature into the current clean native pipeline. Derive full names from actual held unit inputs and tool roles, then project metadata, ELF dependencies, anchors, registry aliases and final closure checks together before linking.

Keep modern fresh-source validation and exact declared dependency order while restoring the process-root projection used by its final ELF check. Refresh the complete defining helper cohort without changing the seven original source-owner bodies. Existing naming, closure, native symbol and syntax controls remain intact.
Require the additional process action to originate from the retained scenario, validate its actual runtime dependencies and dispose its original live operation after packaging. Refresh the complete helper input graph while preserving the existing native owner cohort and all baseline producer limits.
fix: Confine process product labels to their original graph slot
Some checks failed
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
CI / rust (push) Failing after 2m24s
Markdown / markdown (push) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m13s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
f9638efded
Allow the separate logical executable name only for the exact retained Directory companion. Preserve the original service-name identity rule for every baseline producer and reject label substitution before its constructor runs.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 11:41:22 +01:00
erikinkinen changed title from WIP: Build the directory scenario in the original native graph to Build the directory scenario in the original native graph 2026-11-08 11:53:18 +01:00
Some checks failed
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
CI / rust (push) Failing after 2m24s
Markdown / markdown (push) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m13s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/scenario-owned-directory-build:feature/scenario-owned-directory-build'
git switch 'feature/scenario-owned-directory-build'

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/clean-native-image-closure'
git merge --no-ff 'feature/scenario-owned-directory-build'
git switch 'feature/scenario-owned-directory-build'
git rebase 'feature/clean-native-image-closure'
git switch 'feature/clean-native-image-closure'
git merge --ff-only 'feature/scenario-owned-directory-build'
git switch 'feature/scenario-owned-directory-build'
git rebase 'feature/clean-native-image-closure'
git switch 'feature/clean-native-image-closure'
git merge --no-ff 'feature/scenario-owned-directory-build'
git switch 'feature/clean-native-image-closure'
git merge --squash 'feature/scenario-owned-directory-build'
git switch 'feature/clean-native-image-closure'
git merge --ff-only 'feature/scenario-owned-directory-build'
git switch 'feature/clean-native-image-closure'
git merge 'feature/scenario-owned-directory-build'
git push origin 'feature/clean-native-image-closure'
Sign in to join this conversation.
No description provided.