Encode explicit owned serving forwarding #193

Open
erikinkinen wants to merge 13 commits from feature/owned-serving-forwarding into feature/counted-program-display-contract
Owner

Add explicit forwarded SUBMIT framing and owned peer-flow BEGIN requests. The syscall adapter carries all six registers through the shared native backend; ordinary submission keeps its reserved registers zero. Unsupported modes are refused without retrying as an unlinked request.

The original Serving delivery and held receiver are selectors for native checks, never proof of authority. The Kernel must independently authenticate their original custody and the target SEND binding. Hosted builds refuse locally without issuing a syscall.

Based on #184. Related: #1 and kernel #11.

  • Preserve the complete portable codecs, syscall adapter and protocol documentation.
  • Pass formatting, strict Clippy, hosted and optimized tests for both packages.
  • Pass freestanding strict Clippy/release builds and private-item Rustdoc.
  • Enforce missing documentation across every automatic Cargo root.
  • Capture both dependencies through the explicit shared source protocol.
  • Pass current-head CI.

Actual forwarding, device settlement and stale-owner refusal remain Kernel acceptance work. The existing raw-syscall test explicitly requires a live Kernel and is not counted as hosted execution.

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

Add explicit forwarded SUBMIT framing and owned peer-flow BEGIN requests. The syscall adapter carries all six registers through the shared native backend; ordinary submission keeps its reserved registers zero. Unsupported modes are refused without retrying as an unlinked request. The original Serving delivery and held receiver are selectors for native checks, never proof of authority. The Kernel must independently authenticate their original custody and the target SEND binding. Hosted builds refuse locally without issuing a syscall. Based on [#184](https://git.erikinkinen.fi/erix/lib-ipc/pulls/184). Related: [#1](https://git.erikinkinen.fi/erix/lib-ipc/issues/1) and [kernel #11](https://git.erikinkinen.fi/erix/kernel/issues/11). - [x] Preserve the complete portable codecs, syscall adapter and protocol documentation. - [x] Pass formatting, strict Clippy, hosted and optimized tests for both packages. - [x] Pass freestanding strict Clippy/release builds and private-item Rustdoc. - [x] Enforce missing documentation across every automatic Cargo root. - [x] Capture both dependencies through the explicit shared source protocol. - [x] Pass current-head CI. Actual forwarding, device settlement and stale-owner refusal remain Kernel acceptance work. The existing raw-syscall test explicitly requires a live Kernel and is not counted as hosted execution. This branch also includes the completed downstream features from #194.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 05:29:54 +01:00
Add a versioned forwarded SUBMIT register shape and owned peer-flow BEGIN framing. Keep ordinary submission and legacy BEGIN unchanged, with explicit modes that older dispatchers reject before admission. Share the existing native syscall backend while preserving all six argument registers. Source selectors remain data; native original Serving and binding custody must authorize each operation.
ci: Qualify owned forwarding against explicit sources
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 3s
CI / test (push) Has been cancelled
93d702925c
Capture both source-name and SHA2 providers for the complete owned forwarding component through the shared source protocol. Preserve the original hosted, optimized, freestanding and documentation gates, and format the included peer-flow codec with its own explicit check.
docs: Wrap inherited protocol notes consistently
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 3m40s
dbd7a65a1f
Reflow the existing protocol notes and README to satisfy the original Markdown gate without changing their contracts or suppressing lint rules.
erikinkinen changed title from WIP: Encode explicit owned serving forwarding to Encode explicit owned serving forwarding 2026-11-13 05:36:40 +01:00
Author
Owner

Ready for review at dbd7a65a. The complete portable codec and syscall source is published, including the six-register backend. CI 2140 passes the original matrix with the same captured FsName and SHA2 provider commits. Actual Serving custody, device effects and stale-owner refusal remain Kernel acceptance; hosted checks do not establish them.

Ready for review at `dbd7a65a`. The complete portable codec and syscall source is published, including the six-register backend. [CI 2140](https://git.erikinkinen.fi/erix/lib-ipc/actions/runs/2140) passes the original matrix with the same captured FsName and SHA2 provider commits. Actual Serving custody, device effects and stale-owner refusal remain [Kernel acceptance](https://git.erikinkinen.fi/erix/kernel/issues/11); hosted checks do not establish them.
test: Qualify the wall observation frame header
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
5f926df153
Use the defining IPC header type in the wall-observation fixture. Preserve the literal packet fields, receipt cleanup controls, and all production code.
ci: Install the native target before restricted Cargo intake
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 16s
CI / test (push) Successful in 8m54s
f1627efd88
Install the existing freestanding target alongside the original validation components before the retained Cargo environment restricts tool lookup. Preserve every original Cargo command and this feature branch's API and source versions. Wrap only independently diagnosed Markdown prose without changing its words.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
8dd448bc9c
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: Declare policy helper and output boundaries
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / test (push) Successful in 9m15s
11a06e7f43
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
feat: Require catalog indices for boot dynamic mapping
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
5270c10de1
Define the explicit index and dependency-graph flags for operation 39 and validate the selector without reading caller memory. Remove the legacy pointer contract while leaving catalog membership and process authority with the receiver.
feat: Encode counted catalog queries and index-only staged maps
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
fba3a987a8
Separate read-only counted-name lookup from mapping and replace the retired fixed-name staged-map request with its explicit V2 index representation. Both codecs borrow caller data and validate exact wire shapes.
docs: Distinguish mapping flags from the read-only query
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / test (push) Successful in 9m38s
b09b226fcd
Clarify that the catalog-index flag is required for mapping; the separate counted-name query retains its distinct flag and payload contract.
Compose the complete original counted boot-catalog producer with retained owned serving and forwarding. Preserve both source implementations, literal codec tests and authority interfaces while replacing the deprecated fixed-name staged-map format with the original catalog-index format.

# Conflicts:
#	.github/workflows/ci.yml
#	README.md
#	docs/install-grant-publication.md
#	docs/launch-entry-evidence.md
test: Remove the superseded wall observation header alias
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 3m41s
ca11b7a6a4
Use the original fully qualified wire header in the composed provider tests so the retained counted catalog suite and syscall shim compile together.
feat: Merge supply counted boot catalog queries with owned serving
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 4m47s
0a31d3684d
Supply counted boot catalog queries with owned serving. Integrate the reviewed feature into feature/owned-serving-forwarding while the upstream work retains its own completion requirements.

#194
Author
Owner

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

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

The prepared composition keeps forwarded submission and owned peer-flow admission together with counted boot-catalog queries, the complete native thread ABI and the newer terminal authority checks. Ordinary submission still zeros its reserved registers; unsupported forwarding has no downgrade. Native Serving-chain, device-settlement and stale-owner acceptance remain open. The original work branch is unchanged.

The [prepared composition](https://git.erikinkinen.fi/erix/lib-ipc/compare/b2fd4a13274758bbd1edd3b29e4cc296da5cb9f3...5ed34fbf2aa16841af5e34016453e3c6ea193ffc) keeps forwarded submission and owned peer-flow admission together with counted boot-catalog queries, the complete native thread ABI and the newer terminal authority checks. Ordinary submission still zeros its reserved registers; unsupported forwarding has no downgrade. Native Serving-chain, device-settlement and stale-owner acceptance remain open. The original work branch is unchanged.
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 4m47s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
  • docs/install-grant-publication.md
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/owned-serving-forwarding:feature/owned-serving-forwarding'
git switch 'feature/owned-serving-forwarding'

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/counted-program-display-contract'
git merge --no-ff 'feature/owned-serving-forwarding'
git switch 'feature/owned-serving-forwarding'
git rebase 'feature/counted-program-display-contract'
git switch 'feature/counted-program-display-contract'
git merge --ff-only 'feature/owned-serving-forwarding'
git switch 'feature/owned-serving-forwarding'
git rebase 'feature/counted-program-display-contract'
git switch 'feature/counted-program-display-contract'
git merge --no-ff 'feature/owned-serving-forwarding'
git switch 'feature/counted-program-display-contract'
git merge --squash 'feature/owned-serving-forwarding'
git switch 'feature/counted-program-display-contract'
git merge --ff-only 'feature/owned-serving-forwarding'
git switch 'feature/counted-program-display-contract'
git merge 'feature/owned-serving-forwarding'
git push origin 'feature/counted-program-display-contract'
Sign in to join this conversation.
No description provided.