WIP: Consume counted boot catalogs through retained sources #139

Draft
erikinkinen wants to merge 9 commits from feature/boot-kernel-v2-startup-intake into feature/native-boot-source-reservations
Owner

Consume BootKernel V2.1 counted object names, indices and dependency records through the original retained boot-file source. Authenticate the store and its entries before mapping. Counted catalog queries use the original scoped control buffer; descriptor addresses and retired caller-pointer selectors cannot supply backing authority. KernelRoot V1 stays unchanged.

Replaces the consumer in #127 on the coherent boot-source foundation. Uses LibHandoff #9 and LibIPC #194; see the manual update. Coordinated producer migration and image acceptance remain tracked in LibHandoff #5. Startup resource metadata does not create native resource grants.

  • Preserve complete counted names, UTF-8, hash, entry, version and dependency acceptance.
  • Preserve checked index mapping, counted query policy and rejection of retired pointer modes.
  • Qualify actual retained-source and native control-buffer consumers under all eleven original component gates.
  • Pass current-head public CI.
  • Boot the coherently selected image past catalog admission and run affected guest acceptance cases.

This branch also includes the completed downstream features from #142.

Consume BootKernel V2.1 counted object names, indices and dependency records through the original retained boot-file source. Authenticate the store and its entries before mapping. Counted catalog queries use the original scoped control buffer; descriptor addresses and retired caller-pointer selectors cannot supply backing authority. KernelRoot V1 stays unchanged. Replaces the consumer in #127 on the coherent boot-source foundation. Uses [LibHandoff #9](https://git.erikinkinen.fi/erix/lib-handoff/pulls/9) and [LibIPC #194](https://git.erikinkinen.fi/erix/lib-ipc/pulls/194); see [the manual update](https://git.erikinkinen.fi/erix/docs/pulls/98). Coordinated producer migration and image acceptance remain tracked in [LibHandoff #5](https://git.erikinkinen.fi/erix/lib-handoff/issues/5). Startup resource metadata does not create native resource grants. - [x] Preserve complete counted names, UTF-8, hash, entry, version and dependency acceptance. - [x] Preserve checked index mapping, counted query policy and rejection of retired pointer modes. - [x] Qualify actual retained-source and native control-buffer consumers under all eleven original component gates. - [x] Pass current-head public CI. - [ ] Boot the coherently selected image past catalog admission and run affected guest acceptance cases. This branch also includes the completed downstream features from #142.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 12:22:09 +01:00
Use the published BootKernel V2.1 and counted catalog producers before private-root activation. Validate names, payload hashes and dependency geometry through retained boot-file custody, and answer counted catalog queries through the original scoped control buffer. Keep startup resource metadata separate from authority-bearing native grants.
Carry the original source owner through diagnostic-only entry, preserving runtime consumption and counted wire intake without introducing a separate backing constructor.
docs: wrap counted catalog ownership description
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 7m10s
e5df68edba
Keep the source-custody explanation within the shared documentation line width without changing its protocol or authority contract.
Replace Kernel firmware walks and invented peer IDs with the checked counted handoff snapshot. Validate actual BSP membership and uniqueness before publication, retain original preparation errors, and add a data-only native diagnostic without claiming AP execution or importing firmware read authority.
Give the standalone data diagnostic its required serial feature and shared scalar/exit helpers. Its native profile must compile independently of SMP and other diagnostic features.
Describe the checked BSP swap and full-width identities without implying a stable peer ordering that the test does not require.
Keep the component overview within the shared Markdown line length.
test: Reject the next unknown handoff minor
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 7m56s
9e82721fa8
Keep literal known-version fixtures while deriving the future-version refusal from the selected codec, so later compatible protocol additions do not turn the negative control into a valid input.
feat: Merge consume captured processor topology without firmware reads
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / test (push) Successful in 10m41s
a7413076ff
Consume captured processor topology without firmware reads. Integrate the reviewed feature into feature/boot-kernel-v2-startup-intake while the upstream work retains its own completion requirements.

#142
Author
Owner

Merged the approved downstream work from #142. The upstream PR retains its own remaining scope and completion requirements.

Merged the approved downstream work from #142. The upstream PR retains its own remaining scope and completion requirements.
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / test (push) Successful in 10m41s
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/boot-kernel-v2-startup-intake:feature/boot-kernel-v2-startup-intake'
git switch 'feature/boot-kernel-v2-startup-intake'

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-boot-source-reservations'
git merge --no-ff 'feature/boot-kernel-v2-startup-intake'
git switch 'feature/boot-kernel-v2-startup-intake'
git rebase 'feature/native-boot-source-reservations'
git switch 'feature/native-boot-source-reservations'
git merge --ff-only 'feature/boot-kernel-v2-startup-intake'
git switch 'feature/boot-kernel-v2-startup-intake'
git rebase 'feature/native-boot-source-reservations'
git switch 'feature/native-boot-source-reservations'
git merge --no-ff 'feature/boot-kernel-v2-startup-intake'
git switch 'feature/native-boot-source-reservations'
git merge --squash 'feature/boot-kernel-v2-startup-intake'
git switch 'feature/native-boot-source-reservations'
git merge --ff-only 'feature/boot-kernel-v2-startup-intake'
git switch 'feature/native-boot-source-reservations'
git merge 'feature/boot-kernel-v2-startup-intake'
git push origin 'feature/native-boot-source-reservations'
Sign in to join this conversation.
No description provided.