WIP: Retain maintained VM helper code through native retirement #615

Draft
erikinkinen wants to merge 5 commits from feature/owned-vm-input-code into feature/native-current-locale-scenario
Owner

Maintained VM helpers execute retained source bodies through the supervisor. Original source descriptors remain held through native retirement; a read-only sealed bundle supplies imports and maintained file loaders. Source checks, cancellation and completion share that lifetime, including font preflight and transcript validation.

The initial CLI, selected interpreter and checkout admission remain the caller trust anchor; this does not establish Git or toolchain provenance.

  • Implement and check the retained source and lifetime contract.
  • Complete image and guest VM acceptance.

Depends on #607.

Maintained VM helpers execute retained source bodies through the supervisor. Original source descriptors remain held through native retirement; a read-only sealed bundle supplies imports and maintained file loaders. Source checks, cancellation and completion share that lifetime, including font preflight and transcript validation. The initial CLI, selected interpreter and checkout admission remain the caller trust anchor; this does not establish Git or toolchain provenance. - [x] Implement and check the retained source and lifetime contract. - [ ] Complete image and guest VM acceptance. Depends on [#607](https://git.erikinkinen.fi/erix/integration/pulls/607).
erikinkinen added this to the Alpha 1 milestone 2026-11-08 18:00:48 +01:00
Admit the complete maintained observer and standalone data-role closure before execution, delegate only a readonly sealed literal bundle, and retain original source descriptions through native and source withdrawal. Keep existing native lifetimes and all seven owner bodies unchanged while refusing unadmitted imports and ambiguous descriptor cleanup.
Supply complete first-party input code to wrapper fixtures and disable bytecode writes in their fake guest processes. These fixtures exercise existing transcript expectations while the source receiver independently checks its actual frozen input namespace.
Keep each original descriptor-pair check while avoiding repeated signal-policy admission for every close. Preserve the existing result wait and VM bounds, and retain uncertain source withdrawal rather than publishing success. Extend regression evidence for raw completion failure and update fixture admission at explicit harmless caller boundaries.
Derive the finite transport allowance from the complete selected code and actual arguments instead of a universal frame cap. Preserve checked failure attribution and update wrapper fixtures to use their original admitted helper bodies and explicit interpreter selections.
docs: Wrap the owned input code contract
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
Markdown / markdown (push) Successful in 32s
CI / rust (push) Failing after 2m1s
Coreutils provider graph / coreutils (push) Successful in 4m38s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
04be17a152
Keep the source-admission and independent retirement contract readable within the maintained documentation layout.
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
Markdown / markdown (push) Successful in 32s
CI / rust (push) Failing after 2m1s
Coreutils provider graph / coreutils (push) Successful in 4m38s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
View command line instructions

Checkout

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

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-current-locale-scenario'
git merge --no-ff 'feature/owned-vm-input-code'
git switch 'feature/owned-vm-input-code'
git rebase 'feature/native-current-locale-scenario'
git switch 'feature/native-current-locale-scenario'
git merge --ff-only 'feature/owned-vm-input-code'
git switch 'feature/owned-vm-input-code'
git rebase 'feature/native-current-locale-scenario'
git switch 'feature/native-current-locale-scenario'
git merge --no-ff 'feature/owned-vm-input-code'
git switch 'feature/native-current-locale-scenario'
git merge --squash 'feature/owned-vm-input-code'
git switch 'feature/native-current-locale-scenario'
git merge --ff-only 'feature/owned-vm-input-code'
git switch 'feature/native-current-locale-scenario'
git merge 'feature/owned-vm-input-code'
git push origin 'feature/native-current-locale-scenario'
Sign in to join this conversation.
No description provided.