WIP: Consume retained host data in image formatters #559

Draft
erikinkinen wants to merge 4 commits from feature/retained-image-gpt-inputs into feature/retained-image-metadata-python
Owner

Use the independently selected retained host executable for GPT, FAT32 and ext4 instead of rebuilding it from saved source pointers. Descriptive selections carry declared catalog inputs and the exact host-data hash; native payload arguments address original descriptors held by the living caller. Typed ext4 sources remain actual call participants through retirement.

Depends on #557, including the executable and signing-key descriptor prerequisites.

  • Retain explicit host and payload inputs without compiler fallback.
  • Pass actual descriptor/native controls, core format checks and independent syntax checks.
  • Complete real FAT32, ext4, GPT and typed-population data checks using a preserved release host artifact.
  • Complete coherent fresh image and distinct directory-stream/SHA2 guest acceptance.

The data checks do not adopt compiler ownership or certify a bootable image or guest workload.

Use the independently selected retained host executable for GPT, FAT32 and ext4 instead of rebuilding it from saved source pointers. Descriptive selections carry declared catalog inputs and the exact host-data hash; native payload arguments address original descriptors held by the living caller. Typed ext4 sources remain actual call participants through retirement. Depends on [#557](https://git.erikinkinen.fi/erix/integration/pulls/557), including the executable and signing-key descriptor prerequisites. - [x] Retain explicit host and payload inputs without compiler fallback. - [x] Pass actual descriptor/native controls, core format checks and independent syntax checks. - [x] Complete real FAT32, ext4, GPT and typed-population data checks using a preserved release host artifact. - [ ] Complete coherent fresh image and distinct directory-stream/SHA2 guest acceptance. The data checks do not adopt compiler ownership or certify a bootable image or guest workload.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 01:33:13 +01:00
Keep declared catalog provenance separate from independent executable selection. Retain actual host and payload file duties through GPT, FAT32 and ext4 use without a Cargo rebuild or report-based execution grant.
Hash public inputs through their retained receivers and address those same living caller slots in fixed native consumer argv. Keep typed population sources as actual participants so source-name replacement cannot redirect reads.
Use the small installed native interpreter for the real replacement-and-read action. Preserve the selected file, retained-byte and work bounds while observing the original descriptor after its name changes.
test: Enroll retained formatter shell syntax explicitly
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 18s
CI / rust (push) Failing after 2m16s
Coreutils provider graph / coreutils (push) Successful in 5m8s
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
0ef762e1d5
Keep the maintained shell check and its independent ordered oracle aligned with the new fixed image-tool argument helper.
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 18s
CI / rust (push) Failing after 2m16s
Coreutils provider graph / coreutils (push) Successful in 5m8s
CI / host_one (push) Has been skipped
CI / host_zero (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 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/retained-image-gpt-inputs:feature/retained-image-gpt-inputs'
git switch 'feature/retained-image-gpt-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-metadata-python'
git merge --no-ff 'feature/retained-image-gpt-inputs'
git switch 'feature/retained-image-gpt-inputs'
git rebase 'feature/retained-image-metadata-python'
git switch 'feature/retained-image-metadata-python'
git merge --ff-only 'feature/retained-image-gpt-inputs'
git switch 'feature/retained-image-gpt-inputs'
git rebase 'feature/retained-image-metadata-python'
git switch 'feature/retained-image-metadata-python'
git merge --no-ff 'feature/retained-image-gpt-inputs'
git switch 'feature/retained-image-metadata-python'
git merge --squash 'feature/retained-image-gpt-inputs'
git switch 'feature/retained-image-metadata-python'
git merge --ff-only 'feature/retained-image-gpt-inputs'
git switch 'feature/retained-image-metadata-python'
git merge 'feature/retained-image-gpt-inputs'
git push origin 'feature/retained-image-metadata-python'
Sign in to join this conversation.
No description provided.