WIP: Package the guarded native thread fixture #304

Draft
erikinkinen wants to merge 9 commits from feature/guarded-native-thread-fixture into feature/native-thread-factory-intake
Owner

Select the original dedicated thread client and linker through the existing factory scenario, with its own gated dynamic target and one exact private byte-client alias. Inspect the complete original ELF snapshot before the queued artifact can succeed.

Require distinct RX code, RW NX TLS and stacks, an separate read-only 88-byte geometry-table pages and a guard outside every declared LOAD page. The receipt explicitly records no native mapping or VM observation. Keep all factory, byte-client, process-exit and finite VM gates. Callback return establishes neither departure, join nor storage reuse.

  • Preserve the real source, entry, linker and artifact-producer route.
  • Inspect the exact original byte snapshot and reject invalid/aliased geometry.
  • Retain exclusive aliases, original capacity and failure propagation.
  • Publish optional receipts atomically through literal file routes.
  • Preserve every earlier factory and client lifetime witness.
  • Compose the complete matching immutable native provider graph.
  • Compile and execute the real client with genuine native mapping and birth observations.

Matching client sources are Posixd #104 and #105. The global catalog remains unchanged. Hosted queue, linker-shape and ELF checks do not establish real Rust compilation, native execution or either required guest rebuild.

Depends on #301, #302 and #303, retained by normal merges.

Select the original dedicated thread client and linker through the existing factory scenario, with its own gated dynamic target and one exact private byte-client alias. Inspect the complete original ELF snapshot before the queued artifact can succeed. Require distinct RX code, RW NX TLS and stacks, an separate read-only 88-byte geometry-table pages and a guard outside every declared LOAD page. The receipt explicitly records no native mapping or VM observation. Keep all factory, byte-client, process-exit and finite VM gates. Callback return establishes neither departure, join nor storage reuse. - [x] Preserve the real source, entry, linker and artifact-producer route. - [x] Inspect the exact original byte snapshot and reject invalid/aliased geometry. - [x] Retain exclusive aliases, original capacity and failure propagation. - [x] Publish optional receipts atomically through literal file routes. - [x] Preserve every earlier factory and client lifetime witness. - [ ] Compose the complete matching immutable native provider graph. - [ ] Compile and execute the real client with genuine native mapping and birth observations. Matching client sources are [Posixd #104](https://git.erikinkinen.fi/erix/posixd/pulls/104) and [#105](https://git.erikinkinen.fi/erix/posixd/pulls/105). The global catalog remains unchanged. Hosted queue, linker-shape and ELF checks do not establish real Rust compilation, native execution or either required guest rebuild. Depends on [#301](https://git.erikinkinen.fi/erix/integration/pulls/301), [#302](https://git.erikinkinen.fi/erix/integration/pulls/302) and [#303](https://git.erikinkinen.fi/erix/integration/pulls/303), retained by normal merges.
erikinkinen added this to the Alpha 1 milestone 2026-11-05 16:59:35 +01:00
fix: Register existing private realm client artifacts
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 5m36s
CI / host_one (push) Successful in 35m47s
CI / host_zero (push) Successful in 37m8s
CI / integration (push) Failing after 5m12s
eef1849622
Include the binding and pipe roots in the gated private-realm wave and record their exact manifest dependency declarations. Preserve the existing missing-target and static-exception boundaries; registration does not establish native execution.

Resolve the maintained pipe scenario group through the actual runner so a copied scenario identifier cannot substitute for its declared file path.
Preserve the independent migration, dependency and gated-wave records for existing native clients before adding the separately selected guarded thread target.
refactor: Inspect original ELF byte snapshots
Some checks failed
CI / markdown (push) Successful in 24s
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) Failing after 2m39s
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
749299face
Expose the existing ELF admission logic over one immutable selected body and retain the established path API as a one-read wrapper. Diagnostic names cannot cause a later filesystem read or replace the supplied input.

Keep parsed geometry descriptive: it grants no mapping authority and supplies no native process or VM observation.
Preserve the independently reviewed byte snapshot parser before inspecting original guarded-thread artifact geometry, with no diagnostic-path reopen.
Select the original dedicated client and linker through the existing factory scenario, with one exact private alias and its own gated dynamic target. Inspect the complete original ELF snapshot before the queued artifact can succeed.

Require distinct RX code, RW NX TLS and stacks, a guard outside every declared LOAD page, and an immutable unaliased geometry table. Keep the receipt descriptive and preserve every original factory, byte-client, process-exit and finite VM gate; callback return grants no departure, join or storage-reuse evidence.
fix: Publish thread receipts through literal file routes
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 3m52s
CI / host_zero (push) Successful in 7m57s
CI / host_one (push) Successful in 10m33s
CI / integration (push) Failing after 1m29s
f0e70bdd7a
Reject output symlinks and linked parent edges before creating an unpublished receipt. Hold the actual parent and private file occupations while writing the complete body, then atomically replace only the selected directory entry.

Preserve prior complete evidence on failed inspection, partial writes or failed publication. Cleanup addresses only the original temporary inode and retains the primary error; optional metadata remains descriptive and grants no native authority.
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 8s
CI / rust (push) Successful in 5m49s
CI / host_one (push) Failing after 4m28s
CI / host_zero (push) Successful in 19m11s
CI / integration (push) Has been skipped
0368c6f511
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
4dc03a3cae
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 9s
CI / rust (push) Successful in 5m56s
CI / host_one (push) Failing after 4m48s
CI / host_zero (push) Successful in 21m25s
CI / integration (push) Has been skipped
61a2322663
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 9s
CI / rust (push) Successful in 5m56s
CI / host_one (push) Failing after 4m48s
CI / host_zero (push) Successful in 21m25s
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/guarded-native-thread-fixture:feature/guarded-native-thread-fixture'
git switch 'feature/guarded-native-thread-fixture'

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-thread-factory-intake'
git merge --no-ff 'feature/guarded-native-thread-fixture'
git switch 'feature/guarded-native-thread-fixture'
git rebase 'feature/native-thread-factory-intake'
git switch 'feature/native-thread-factory-intake'
git merge --ff-only 'feature/guarded-native-thread-fixture'
git switch 'feature/guarded-native-thread-fixture'
git rebase 'feature/native-thread-factory-intake'
git switch 'feature/native-thread-factory-intake'
git merge --no-ff 'feature/guarded-native-thread-fixture'
git switch 'feature/native-thread-factory-intake'
git merge --squash 'feature/guarded-native-thread-fixture'
git switch 'feature/native-thread-factory-intake'
git merge --ff-only 'feature/guarded-native-thread-fixture'
git switch 'feature/native-thread-factory-intake'
git merge 'feature/guarded-native-thread-fixture'
git push origin 'feature/native-thread-factory-intake'
Sign in to join this conversation.
No description provided.