WIP: Retain inherited command stream owners #20

Draft
erikinkinen wants to merge 12 commits from feature/inherited-command-streams into feature/native-manual-reader
Owner

Keep each inherited stream description and its counted original owner through native execution and cleanup. Closed descriptors remain explicit; uncertain callbacks stop admission and retain the original packet and owners.

Depends on #19 and Cli #17. Recipient-view retirement is a separate feature: this ordinary-stream owner rejects that declaration before capability queries.

  • Bind aliases to one retained cursor and once-only retirement state per original description.
  • Carve disjoint owner, failure-packet and applet storage before effects.
  • Cover closure, refusal, callback unwind, first-cause preservation and retained-packet capacity.
  • Pass the original component workflow and native executable builds.
  • Demonstrate coordinated native startup, stream custody and uncertain cleanup on the release image.
Keep each inherited stream description and its counted original owner through native execution and cleanup. Closed descriptors remain explicit; uncertain callbacks stop admission and retain the original packet and owners. Depends on #19 and [Cli #17](https://git.erikinkinen.fi/erix/lib-cli/pulls/17). Recipient-view retirement is a separate feature: this ordinary-stream owner rejects that declaration before capability queries. - [x] Bind aliases to one retained cursor and once-only retirement state per original description. - [x] Carve disjoint owner, failure-packet and applet storage before effects. - [x] Cover closure, refusal, callback unwind, first-cause preservation and retained-packet capacity. - [x] Pass the original component workflow and native executable builds. - [ ] Demonstrate coordinated native startup, stream custody and uncertain cleanup on the release image.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 12:05:00 +01:00
feat: Retain inherited command stream owners
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Failing after 53s
67ea1e676a
Keep complete inherited stream descriptions and their counted owners through native command execution and cleanup. Preserve closed descriptor declarations and stop admission after uncertain callbacks.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 14s
CI / rust (push) Failing after 48s
107c2a7b70
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
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 1m46s
8632e7c408
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.
The manual-reader feature precedes cmp. Keep its independent expected command set at this feature boundary, derive the fixture row counts from that set, and retain exact page-byte, digest and payload-extent checks.
ci: Select the ordinary inherited-stream providers
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 50s
55882a0b54
Select the public native startup and stream client providers required by this consumer. Keep recipient-view retirement in its later feature, retain the existing clock provider, and freeze the complete explicit graph before Cargo.
fix: Refuse recipient retirement in ordinary stream startup
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 50s
8cee30fc95
Handle the native descriptor validator refusal explicitly and prevent recipient views from entering ordinary provider-close ownership. Add a canonical parsed-wire negative control proving rejection before capability queries, and document the distinct retirement boundary.
test: Expose read-only stream retirement attempt counts
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 50s
5fdecf4efd
Let the sibling lifetime controls observe the fixture through a documented count method. Keep its mutable event ledger private and preserve the once-only effect and unwind assertions.
refactor: Name the disjoint stream workspace regions
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 1m3s
ad496c33c8
Return the owner rows, retained failure packet and applet backing as documented fields instead of a complex tuple. Preserve the original lifetime, alignment preflight and disjoint mutable storage contract in the entry and geometry controls.
test: Reserve complete packet custody in the raw listing fixture
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 49s
be6a04bb6a
The long-name transport offers a 1024-byte message, so its independent first-failure backing must cover that same extent. Preserve the production preflight and assert that successful enumeration leaves no retained failure packet.
test: Check the retained packet through its slice view
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m39s
9d6df00235
Express the successful cleanup assertion using the actual borrowed packet API: an empty slice represents no retained failure bytes.
Author
Owner

The source/provider and fixture failures are repaired. All 251 unit tests, strict checks and native builds pass at the current head. The ordinary startup rejection is covered with a valid encoded recipient declaration, and the full native custody demonstration remains open.

The source/provider and fixture failures are repaired. All 251 unit tests, strict checks and native builds pass at the current head. The ordinary startup rejection is covered with a valid encoded recipient declaration, and the full native custody demonstration remains open.
fix: Retain all stream custody after an unreturned callback
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 1m2s
337d96559b
Check ordinary and retirement admissions before erasing caller storage or invoking independent cleanup. Keep the actual message, workspace and remaining owners unchanged while a callback is unresolved, and assert those physical and once-only guarantees in the unwind controls.
test: Preserve completed cleanup prefixes across later unwind
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m42s
6e852a111e
Assert the literal aliases already retired before each later callback, while requiring no further effects after it stops returning. Keep terminal observation owners held without inventing a reply packet, and check the actual pending message remains unchanged.
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m42s
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/inherited-command-streams:feature/inherited-command-streams'
git switch 'feature/inherited-command-streams'

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-manual-reader'
git merge --no-ff 'feature/inherited-command-streams'
git switch 'feature/inherited-command-streams'
git rebase 'feature/native-manual-reader'
git switch 'feature/native-manual-reader'
git merge --ff-only 'feature/inherited-command-streams'
git switch 'feature/inherited-command-streams'
git rebase 'feature/native-manual-reader'
git switch 'feature/native-manual-reader'
git merge --no-ff 'feature/inherited-command-streams'
git switch 'feature/native-manual-reader'
git merge --squash 'feature/inherited-command-streams'
git switch 'feature/native-manual-reader'
git merge --ff-only 'feature/inherited-command-streams'
git switch 'feature/native-manual-reader'
git merge 'feature/inherited-command-streams'
git push origin 'feature/native-manual-reader'
Sign in to join this conversation.
No description provided.