WIP: Preserve Kernel allocation policy in native graph links #545

Draft
erikinkinen wants to merge 6 commits from feature/native-graph-kernel-allocation-contract into feature/native-graph-input-materialization
Owner

Kernel graph links now forward allocation-error wrappers to the actual custom root handler, or to the unique compiler-default handler in the held liballoc archive. They preserve the original compiler Abort choice instead of emitting a privileged halt loop.

The original source/runtime borrow owns root objects and archives throughout planning. The existing finite native job list assembles the wrappers; missing, duplicate, mixed-namespace and unsupported custom handlers are rejected.

Builds on native input materialization for Phase 6.

  • Implement compiler-bound custom/default selection and original graph link integration.
  • Exercise real object/archive forwarding and refusal controls.
  • Complete the matching full native graph, image and guest acceptance.
  • Complete current-head CI.
Kernel graph links now forward allocation-error wrappers to the actual custom root handler, or to the unique compiler-default handler in the held liballoc archive. They preserve the original compiler Abort choice instead of emitting a privileged halt loop. The original source/runtime borrow owns root objects and archives throughout planning. The existing finite native job list assembles the wrappers; missing, duplicate, mixed-namespace and unsupported custom handlers are rejected. Builds on [native input materialization](https://git.erikinkinen.fi/erix/integration/pulls/541) for [Phase 6](https://git.erikinkinen.fi/erix/integration/issues/65). - [x] Implement compiler-bound custom/default selection and original graph link integration. - [x] Exercise real object/archive forwarding and refusal controls. - [ ] Complete the matching full native graph, image and guest acceptance. - [ ] Complete current-head CI.
Select the original custom root handler or the unique default implementation in the held liballoc archive. Keep namespace and explicit compiler Abort checks while returning only descriptive assembly, so defining native producers retain their own source and process custody.
An observed custom allocation handler outside the supported compiler ABI must fail selection. Its name cannot silently authorize falling back to the archive default and changing the original root policy.
Use the original runtime-input interval and compiler Abort observation for Kernel allocation wrappers as well as userspace. Forward to the actual custom root handler or uniquely observed held-archive default instead of emitting a privileged halt loop. Keep assembly within the existing finite native job plan and retain final unresolved-symbol guards.
test: Include Kernel allocation planning in host syntax checks
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
e45667536a
Keep the new pure allocation helper in the maintained ordered source checks and their independent command oracle.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 22:25:53 +01:00
fix: Reject legacy custom handlers before default selection
Some checks failed
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
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
fc2569ab30
Retain unversioned custom handler observations as refusal constraints too. Unsupported custom policy must not disappear during symbol filtering and silently select the compiler archive default.
fix: Retain standalone Kernel compiler and allocation policy
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 12s
Coreutils provider graph / coreutils (push) Successful in 4m38s
CI / rust (push) Successful in 7m8s
CI / host_one (push) Failing after 17m22s
CI / host_three (push) Failing after 16m18s
CI / host_zero (push) Failing after 23m52s
CI / host_two (push) Failing after 23m28s
CI / integration (push) Has been skipped
5cb0765d20
Check real unresolved-symbol observations against the selected dynamic exports.
Bind allocation adapters to the original completed root compiler invocations
and held liballoc archive, preserving custom handlers and refusing unsupported
contracts instead of introducing a synthetic privileged failure handler.
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 12s
Coreutils provider graph / coreutils (push) Successful in 4m38s
CI / rust (push) Successful in 7m8s
CI / host_one (push) Failing after 17m22s
CI / host_three (push) Failing after 16m18s
CI / host_zero (push) Failing after 23m52s
CI / host_two (push) Failing after 23m28s
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • scripts/check-python-host-syntax.sh
  • tests/fixtures/python-host-syntax-commands.json
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

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-graph-input-materialization'
git merge --no-ff 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-kernel-allocation-contract'
git rebase 'feature/native-graph-input-materialization'
git switch 'feature/native-graph-input-materialization'
git merge --ff-only 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-kernel-allocation-contract'
git rebase 'feature/native-graph-input-materialization'
git switch 'feature/native-graph-input-materialization'
git merge --no-ff 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-input-materialization'
git merge --squash 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-input-materialization'
git merge --ff-only 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-input-materialization'
git merge 'feature/native-graph-kernel-allocation-contract'
git push origin 'feature/native-graph-input-materialization'
Sign in to join this conversation.
No description provided.