WIP: Select native factory intake #301

Draft
erikinkinen wants to merge 13 commits from feature/native-thread-factory-intake into feature/three-column-client-framing
Owner

Select the factory-delivery probe through scenario normalization, initial-shell policy, feature selection and the existing native mediator and reciprocal byte-client build queue. Reject conflicting diagnostics and missing caller launch before building an image.

The witness retains two realms, two clients per realm, four counted thread rows, 1,024-byte packets, the existing 38-process pool and 120-second VM deadline. Every older byte-client lifetime gate remains. The unique factory marker follows completed client checks and precedes successful shell retirement.

  • Carry the explicit selector through actual shell and artifact selection.
  • Preserve existing native source roots, entry/linker contracts and build producers.
  • Refuse invalid and competing selections before image construction.
  • Retain original capacity, peer isolation, exit and retirement witnesses.
  • Compose the complete matching immutable native provider graph.
  • Execute genuine factory delivery and original caller retirement in EriX.

Matching providers include Exsh #116, Launchd #74, Posixd #101 and Procd #36. The global catalog is unchanged. Hosted selection and queue checks do not establish compiler output, native factory origin, guarded thread creation or either required guest rebuild.

Depends on #296 and #300, retained by a normal merge.

Select the factory-delivery probe through scenario normalization, initial-shell policy, feature selection and the existing native mediator and reciprocal byte-client build queue. Reject conflicting diagnostics and missing caller launch before building an image. The witness retains two realms, two clients per realm, four counted thread rows, 1,024-byte packets, the existing 38-process pool and 120-second VM deadline. Every older byte-client lifetime gate remains. The unique factory marker follows completed client checks and precedes successful shell retirement. - [x] Carry the explicit selector through actual shell and artifact selection. - [x] Preserve existing native source roots, entry/linker contracts and build producers. - [x] Refuse invalid and competing selections before image construction. - [x] Retain original capacity, peer isolation, exit and retirement witnesses. - [ ] Compose the complete matching immutable native provider graph. - [ ] Execute genuine factory delivery and original caller retirement in EriX. Matching providers include [Exsh #116](https://git.erikinkinen.fi/erix/exsh/pulls/116), [Launchd #74](https://git.erikinkinen.fi/erix/launchd/pulls/74), [Posixd #101](https://git.erikinkinen.fi/erix/posixd/pulls/101) and [Procd #36](https://git.erikinkinen.fi/erix/procd/pulls/36). The global catalog is unchanged. Hosted selection and queue checks do not establish compiler output, native factory origin, guarded thread creation or either required guest rebuild. Depends on [#296](https://git.erikinkinen.fi/erix/integration/pulls/296) and [#300](https://git.erikinkinen.fi/erix/integration/pulls/300), retained by a normal merge.
erikinkinen added this to the Alpha 1 milestone 2026-11-05 15:54:48 +01:00
Carry the selected complete packet budget through runtime policy, both image callers and deployment reports. Install Procd version-two typed arena geometry with a separate page-backed byte region while retaining the exact packet count and terminal stack extent. Reject malformed budgets, retired descriptors and positive storage without a packaged Procd owner.
Preserve the independent current startup framing and counted client policy alongside the original Procd TLS packet prerequisite before deriving full image storage.

# Conflicts:
#	ARCHITECTURE.md
#	README.md
#	ROADMAP.md
docs: Wrap the TLS packet layout description
Some checks failed
CI / markdown (push) Successful in 23s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Successful in 5m51s
CI / host_one (push) Failing after 35m35s
CI / host_zero (push) Successful in 37m2s
CI / integration (push) Has been skipped
3edb3ce148
Keep each descriptor field readable beside its target word layout.
fix: Keep runtime heap profiles within native policy
Some checks failed
CI / markdown (push) Successful in 27s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Successful in 5m48s
CI / host_one (push) Successful in 35m44s
CI / host_zero (push) Successful in 36m54s
CI / integration (push) Failing after 27m0s
0faeb8a9dc
Reserve the original 80 MiB topology minimum in the sample and reduced-topology fixture profiles. Keep the native storage gate unchanged and preserve the FAT-root and no-input fixtures as explicit topology refusals rather than hiding them behind an earlier heap failure.
Size loader, linker and native initial packet storage from each original packaged closure and its target-described layouts. Retain original and resolved registries, full thread images, native observations, input tails and fixups without borrowing live template storage.

Require explicit Loaderd stack policy across maintained profiles and preserve larger selected Procd packet reservations. Include every extracted producer in artifact identity and retain actual ELF mutation, layout refusal and independent numeric capacity controls.
Retain the independent heap policy repair and packet documentation correction alongside complete TLS storage so actual profiles reach their intended runtime admission or topology refusal.

# Conflicts:
#	scripts/check-python-host-syntax.sh
#	tests/fixtures/python-host-syntax-commands.json
Require complete aligned Dynlink target records and nonzero protocol widths before sizing storage. Reject page-rounded transaction arenas outside native slice addressability rather than allowing Python integers to describe an unusable native extent.

Admit original LOAD and RELRO u64 virtual extents before deriving closure metrics, including checked page rounding. Preserve empty TLS prefix semantics and reject malformed actual ELF inputs before image mutation.
fix: Keep capacity descriptors within loaded ELF bytes
Some checks failed
CI / markdown (push) Successful in 28s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Successful in 5m47s
CI / host_one (push) Successful in 36m51s
CI / host_zero (push) Successful in 37m27s
CI / integration (push) Failing after 27m28s
e3c41ae663
Require every word of the selected native descriptor to belong to its original file-backed LOAD. An intact file tail cannot supply capacity geometry that the native runtime will not map.
Preserve the independently signed loader, linker and Procd packet producers before selecting genuine native factory delivery.
feat: Select genuine native factory intake witness
Some checks failed
CI / markdown (push) Successful in 23s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Successful in 5m41s
CI / host_one (push) Successful in 34m56s
CI / host_zero (push) Successful in 36m41s
CI / integration (push) Failing after 25m24s
200f9fabf7
Carry the explicit factory selector through scenario normalization, initial-shell policy, feature selection and the existing native mediator and byte-client build queue. Reject conflicting diagnostics or missing caller launch before image construction.

Preserve the original realm, client, thread, packet, process and timeout budgets and every older client retirement witness. Require the genuine factory marker between completed byte-client checks and successful shell retirement without introducing another authority route.
test: Reset every initial shell fixture selector
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Successful in 4m46s
CI / host_one (push) Successful in 18m48s
CI / host_zero (push) Successful in 21m14s
CI / integration (push) Failing after 4m24s
4ff3a4ddb0
Clear independent realm, heap, thread and Boot selections between policy cases. Keep all existing positive combinations and exact negative diagnostics.

Refs: #361
ci: Use shared development dependency profiles
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 / markdown (pull_request) Has been skipped
CI / integration (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 / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
33c251bff4
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Use shared development dependency profiles
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Successful in 6m8s
CI / host_one (push) Failing after 4m37s
CI / host_zero (push) Failing after 22m53s
CI / integration (push) Has been skipped
602870bef7
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Successful in 6m8s
CI / host_one (push) Failing after 4m37s
CI / host_zero (push) Failing after 22m53s
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/native-thread-factory-intake:feature/native-thread-factory-intake'
git switch 'feature/native-thread-factory-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/three-column-client-framing'
git merge --no-ff 'feature/native-thread-factory-intake'
git switch 'feature/native-thread-factory-intake'
git rebase 'feature/three-column-client-framing'
git switch 'feature/three-column-client-framing'
git merge --ff-only 'feature/native-thread-factory-intake'
git switch 'feature/native-thread-factory-intake'
git rebase 'feature/three-column-client-framing'
git switch 'feature/three-column-client-framing'
git merge --no-ff 'feature/native-thread-factory-intake'
git switch 'feature/three-column-client-framing'
git merge --squash 'feature/native-thread-factory-intake'
git switch 'feature/three-column-client-framing'
git merge --ff-only 'feature/native-thread-factory-intake'
git switch 'feature/three-column-client-framing'
git merge 'feature/native-thread-factory-intake'
git push origin 'feature/three-column-client-framing'
Sign in to join this conversation.
No description provided.