WIP: Retain original owned stream invocation custody #19

Draft
erikinkinen wants to merge 6 commits from feature/owned-stream-invocation-custody into feature/native-stream-source-formatting
Owner

Retain exact original SUBMIT/COLLECT/PROGRESS/RELEASE custody in caller-owned packet storage. Ending a driver borrow cannot erase an accepted owner, its original full-width errors or once-only result accounting. Capability-free native results never authorize dropping slots named by payload bytes.

Supports native SHA-2 execution. All Cargo declarations continue to track main; shared companion profiles select the coordinated development branches.

  • Implement caller-retained original stream invocation custody and exact error propagation.
  • Complete cross-component provider and abandonment regressions.
  • Demonstrate the actual compiled Rust client/provider interaction in the VM.

The native receiver must already be explicitly registered. Native retirement concerns invocation custody; it does not attest provider rollback or application teardown.

Retain exact original SUBMIT/COLLECT/PROGRESS/RELEASE custody in caller-owned packet storage. Ending a driver borrow cannot erase an accepted owner, its original full-width errors or once-only result accounting. Capability-free native results never authorize dropping slots named by payload bytes. Supports [native SHA-2 execution](https://git.erikinkinen.fi/erix/sha2-tool/issues/1). All Cargo declarations continue to track main; shared companion profiles select the coordinated development branches. - [x] Implement caller-retained original stream invocation custody and exact error propagation. - [x] Complete cross-component provider and abandonment regressions. - [ ] Demonstrate the actual compiled Rust client/provider interaction in the VM. The native receiver must already be explicitly registered. Native retirement concerns invocation custody; it does not attest provider rollback or application teardown.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 18:26:03 +01:00
feat: Retain original owned stream invocation custody
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / rust (push) Failing after 1m33s
3d9ff45159
Keep separate native packets, original owner registers and once-only collection and release accounting in caller-held storage. A borrowed driver cannot erase unresolved custody, replay an accepted request or interpret cap-free payload slot numbers as authority.
ci: Select the coordinated owned stream providers
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Successful in 2m7s
1a380e3f0a
Resolve the public owned stream feature branches through the shared companion profile. Keep the exact original source graph frozen per run while Cargo declarations continue to follow main.
fix: Keep native invocation rows on their original execution
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Successful in 2m19s
CI / markdown (push) Successful in 5s
0ca4bb8f29
Native ownership is tied to the submitting execution generation. Prevent safe thread transfer of its retained row and reject non-request status envelopes before submission, without altering separate result/error interpretation.
refactor: Validate original stream envelopes once
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Successful in 2m28s
86cf94f187
Keep request-only status validation in the same checked cap-free header intake. Refuse response envelopes before changing original storage or admitting a native effect.
fix: Retain original signed scheduling failures with stream custody
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Successful in 2m29s
9cf2daa745
A stream wait must not discard the native yield status. Keep the actual pending marker and complete signed observation in external caller storage, preserve an earlier IPC failure, and close ordinary admission after scheduling failure without erasing independent original retirement custody.
fix: Close unsubmitted stream admission after scheduling failure
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Successful in 2m19s
6c153eec05
A failed yield on a prepared original row must not permit a later native submission. Retain the original error and local packets while settling only the never-submitted intent.
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Successful in 2m19s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
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-stream-invocation-custody:feature/owned-stream-invocation-custody'
git switch 'feature/owned-stream-invocation-custody'

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-stream-source-formatting'
git merge --no-ff 'feature/owned-stream-invocation-custody'
git switch 'feature/owned-stream-invocation-custody'
git rebase 'feature/native-stream-source-formatting'
git switch 'feature/native-stream-source-formatting'
git merge --ff-only 'feature/owned-stream-invocation-custody'
git switch 'feature/owned-stream-invocation-custody'
git rebase 'feature/native-stream-source-formatting'
git switch 'feature/native-stream-source-formatting'
git merge --no-ff 'feature/owned-stream-invocation-custody'
git switch 'feature/native-stream-source-formatting'
git merge --squash 'feature/owned-stream-invocation-custody'
git switch 'feature/native-stream-source-formatting'
git merge --ff-only 'feature/owned-stream-invocation-custody'
git switch 'feature/native-stream-source-formatting'
git merge 'feature/owned-stream-invocation-custody'
git push origin 'feature/native-stream-source-formatting'
Sign in to join this conversation.
No description provided.