WIP: Declare exact Kernel compiler-runtime exports #783

Draft
erikinkinen wants to merge 2 commits from feature/explicit-kernel-runtime-exports into feature/shared-development-source-selection
Owner

Summary and rationale

Derive the Kernel runtime-provider list from actual compiler runtime inputs and imports of the selected shared-object closure. Keep each selected definition through final linking, including real compiler trait implementations.

Tracking and scope

Addresses Bootloader #35. Builds on the shared development-source selection branch; this is the artifact producer prerequisite for the Bootloader repair.

Architecture, authority and failure behavior

Only the selected runtime archives, original memory companion and allocator shim supply candidate exports. Unrelated final Kernel definitions do not enter the list. Existing original source/compiler/artifact custody remains required. The producer is included in artifact cache identity.

Validation evidence

  • Focused positive/refusal controls and artifact-suite registration.
  • Actual registry-backed Kernel, authenticated packaging and 1/2/4-vCPU topology data execution.
  • Complete the full repository regression suite and current-head CI.

Review checklist

  • Original implementation, signed canonical commits and inline contracts.
  • Keep code below 1,000 lines and update component documentation.
  • Complete paired review before removing WIP.
## Summary and rationale Derive the Kernel runtime-provider list from actual compiler runtime inputs and imports of the selected shared-object closure. Keep each selected definition through final linking, including real compiler trait implementations. ## Tracking and scope Addresses [Bootloader #35](https://git.erikinkinen.fi/erix/bootloader/issues/35). Builds on the shared development-source selection branch; this is the artifact producer prerequisite for the Bootloader repair. ## Architecture, authority and failure behavior Only the selected runtime archives, original memory companion and allocator shim supply candidate exports. Unrelated final Kernel definitions do not enter the list. Existing original source/compiler/artifact custody remains required. The producer is included in artifact cache identity. ## Validation evidence - [x] Focused positive/refusal controls and artifact-suite registration. - [x] Actual registry-backed Kernel, authenticated packaging and 1/2/4-vCPU topology data execution. - [ ] Complete the full repository regression suite and current-head CI. ## Review checklist - [x] Original implementation, signed canonical commits and inline contracts. - [x] Keep code below 1,000 lines and update component documentation. - [ ] Complete paired review before removing WIP.
Derive the Kernel runtime fallback contract from imports of the selected shared-object closure and definitions in the actual compiler runtime inputs. Retain each selected definition through final linking instead of relying on mangled-name prefixes. Include the provider algorithm in artifact cache identity.
Exercise exact compiler-runtime selection and refusal controls alongside the real dynamic Kernel artifact tests so future producer changes retain the scoped fallback contract.

[skip ci]
erikinkinen added this to the Alpha 1 milestone 2026-11-13 16:27:55 +01:00
Author
Owner

The complete runtime-export change is prepared on the current native-input owner at 39827352, in feature/exact-kernel-runtime-exports-merge-ready-39827352.

The projection preserves selected archives, memory support, allocator shim, dependency imports and cache identity. The artifact control runs through the maintained extracted recipe. The original branch remains unchanged; the prepared target is #564's work branch. Current-head CI and the genuine configured Bootloader/Kernel producer remain pending. This new head needs human review.

The complete runtime-export change is prepared on the current native-input owner at [`39827352`](https://git.erikinkinen.fi/erix/integration/commit/3982735297228fe46e1193ba38852baa39ea658d), in `feature/exact-kernel-runtime-exports-merge-ready-39827352`. The projection preserves selected archives, memory support, allocator shim, dependency imports and cache identity. The artifact control runs through the maintained extracted recipe. The original branch remains unchanged; the prepared target is #564's work branch. Current-head CI and the genuine configured Bootloader/Kernel producer remain pending. This new head needs human review.
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/explicit-kernel-runtime-exports:feature/explicit-kernel-runtime-exports'
git switch 'feature/explicit-kernel-runtime-exports'

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/shared-development-source-selection'
git merge --no-ff 'feature/explicit-kernel-runtime-exports'
git switch 'feature/explicit-kernel-runtime-exports'
git rebase 'feature/shared-development-source-selection'
git switch 'feature/shared-development-source-selection'
git merge --ff-only 'feature/explicit-kernel-runtime-exports'
git switch 'feature/explicit-kernel-runtime-exports'
git rebase 'feature/shared-development-source-selection'
git switch 'feature/shared-development-source-selection'
git merge --no-ff 'feature/explicit-kernel-runtime-exports'
git switch 'feature/shared-development-source-selection'
git merge --squash 'feature/explicit-kernel-runtime-exports'
git switch 'feature/shared-development-source-selection'
git merge --ff-only 'feature/explicit-kernel-runtime-exports'
git switch 'feature/shared-development-source-selection'
git merge 'feature/explicit-kernel-runtime-exports'
git push origin 'feature/shared-development-source-selection'
Sign in to join this conversation.
No description provided.