Build image manifests from retained artifact metadata #549

Open
erikinkinen wants to merge 7 commits from feature/retained-image-manifest-inputs into feature/retained-image-artifact-inputs
Owner

Build image manifests from the actual live artifact-data owner and its separately bounded working copies. Package versions, dependencies and source/feature identities come from inspected primary metadata and validated DSO records. The retained path performs no workspace version scan, legacy record import or ambient strip-tool discovery.

Every primary and output must belong to the actual registered working child. Original inputs remain sealed and checked through layout; finished files receive new read-only data custody. Failures preserve the original exception and independent input-postcheck errors. Explicit runtime policy can place known artifacts in the VFS but cannot replace their identities or omit selected objects.

Depends on #544. The retained policy preserves producer ELF bytes without stripping; image size, authority and boot gates remain unchanged. The legacy command-line route remains available. This change also replaces the serializer's fixed executable version with the actual supplied version.

  • Expose a callable builder and explicit parser argv without global argument mutation.
  • Derive identities from actual artifacts and keep original/working/output lifetimes separate.
  • Reject foreign selectors, changed inputs, resumed writes and runtime graph substitutions.

Artifact-data layout does not recreate compiler ownership or certify a complete image or guest workload.

Build image manifests from the actual live artifact-data owner and its separately bounded working copies. Package versions, dependencies and source/feature identities come from inspected primary metadata and validated DSO records. The retained path performs no workspace version scan, legacy record import or ambient strip-tool discovery. Every primary and output must belong to the actual registered working child. Original inputs remain sealed and checked through layout; finished files receive new read-only data custody. Failures preserve the original exception and independent input-postcheck errors. Explicit runtime policy can place known artifacts in the VFS but cannot replace their identities or omit selected objects. Depends on #544. The retained policy preserves producer ELF bytes without stripping; image size, authority and boot gates remain unchanged. The legacy command-line route remains available. This change also replaces the serializer's fixed executable version with the actual supplied version. - [x] Expose a callable builder and explicit parser argv without global argument mutation. - [x] Derive identities from actual artifacts and keep original/working/output lifetimes separate. - [x] Reject foreign selectors, changed inputs, resumed writes and runtime graph substitutions. Artifact-data layout does not recreate compiler ownership or certify a complete image or guest workload.
feat: Compose retained image working inputs
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
b6de194108
# Conflicts:
#	scripts/check-python-host-syntax.sh
erikinkinen added this to the Alpha 1 milestone 2026-11-07 23:23:45 +01:00
feat: Expose pending image layout for fixed follow-up stages
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) Failing after 11s
Coreutils provider graph / coreutils (push) Successful in 4m34s
CI / rust (push) Failing after 6m32s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
69763ddfb6
docs: Wrap feature documentation consistently
Some checks failed
Markdown / markdown (push) Successful in 40s
Coreutils provider graph / coreutils (push) Failing after 2m28s
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
CI / rust (push) Failing after 9m33s
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
32838a316c
Keep the existing feature documentation within the shared Markdown layout rules without changing its content.
Some checks failed
Markdown / markdown (push) Successful in 40s
Coreutils provider graph / coreutils (push) Failing after 2m28s
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
CI / rust (push) Failing after 9m33s
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (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/retained-image-manifest-inputs:feature/retained-image-manifest-inputs'
git switch 'feature/retained-image-manifest-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/retained-image-artifact-inputs'
git merge --no-ff 'feature/retained-image-manifest-inputs'
git switch 'feature/retained-image-manifest-inputs'
git rebase 'feature/retained-image-artifact-inputs'
git switch 'feature/retained-image-artifact-inputs'
git merge --ff-only 'feature/retained-image-manifest-inputs'
git switch 'feature/retained-image-manifest-inputs'
git rebase 'feature/retained-image-artifact-inputs'
git switch 'feature/retained-image-artifact-inputs'
git merge --no-ff 'feature/retained-image-manifest-inputs'
git switch 'feature/retained-image-artifact-inputs'
git merge --squash 'feature/retained-image-manifest-inputs'
git switch 'feature/retained-image-artifact-inputs'
git merge --ff-only 'feature/retained-image-manifest-inputs'
git switch 'feature/retained-image-artifact-inputs'
git merge 'feature/retained-image-manifest-inputs'
git push origin 'feature/retained-image-artifact-inputs'
Sign in to join this conversation.
No description provided.