WIP: Commit native reply transfers after caller acceptance #131

Draft
erikinkinen wants to merge 2 commits from feature/native-reply-acceptance into feature/ci-repository-catalog
Owner

Keep native reply transfers tentative until the original caller accepts its reply. A refusal restores the reserved destination slots and retains the original source capabilities; it cannot publish a partial transfer to another caller.

Depends on #126; implements part of #11. See the reply transaction contract. This is a prerequisite for capability-access and CALL/RECV custody work, not private-root activation.

  • Retain the original caller identity and acceptance observation through transfer settlement.
  • Cover refusal, source preservation, slot rollback and accepted transfers.
  • Pass the existing local formatting, strict Clippy, debug/release tests, SMP builds and documentation gates.
  • Complete current-head public CI and the required native integration acceptance.
Keep native reply transfers tentative until the original caller accepts its reply. A refusal restores the reserved destination slots and retains the original source capabilities; it cannot publish a partial transfer to another caller. Depends on #126; implements part of #11. See [the reply transaction contract](https://git.erikinkinen.fi/erix/kernel/src/branch/feature/native-reply-acceptance/docs/reply-acceptance.md). This is a prerequisite for capability-access and CALL/RECV custody work, not private-root activation. - [x] Retain the original caller identity and acceptance observation through transfer settlement. - [x] Cover refusal, source preservation, slot rollback and accepted transfers. - [x] Pass the existing local formatting, strict Clippy, debug/release tests, SMP builds and documentation gates. - [ ] Complete current-head public CI and the required native integration acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 03:56:59 +01:00
Keep the original endpoint occupation through payload publication and its
required caller wake. A refused wake preserves that context and rolls back
provisional capability transfers instead of publishing delivery or promoting
a queued successor. Payload-only replies share terminal lifecycle exclusion.

Record accepted held-call evidence before retirement and provide an infallible
post-acceptance hook under the same exclusion. Preserve nonblocking call
semantics so a later independent wait cannot acquire the old reply.

(cherry picked from commit 4cda656ba701c1aa13d9b8bce0335e2756814f08)
test: Initialize the COM1 caller once
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 6m17s
fc1ce4f011
Use one root process for endpoint setup and its physical I/O cleanup, avoiding duplicate capability installation in the same CSpace.
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 6m17s
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/native-reply-acceptance:feature/native-reply-acceptance'
git switch 'feature/native-reply-acceptance'

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/ci-repository-catalog'
git merge --no-ff 'feature/native-reply-acceptance'
git switch 'feature/native-reply-acceptance'
git rebase 'feature/ci-repository-catalog'
git switch 'feature/ci-repository-catalog'
git merge --ff-only 'feature/native-reply-acceptance'
git switch 'feature/native-reply-acceptance'
git rebase 'feature/ci-repository-catalog'
git switch 'feature/ci-repository-catalog'
git merge --no-ff 'feature/native-reply-acceptance'
git switch 'feature/ci-repository-catalog'
git merge --squash 'feature/native-reply-acceptance'
git switch 'feature/ci-repository-catalog'
git merge --ff-only 'feature/native-reply-acceptance'
git switch 'feature/ci-repository-catalog'
git merge 'feature/native-reply-acceptance'
git push origin 'feature/ci-repository-catalog'
Sign in to join this conversation.
No description provided.