WIP: Define lossless streams and original readiness custody #2
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-stdio!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Add original stream readiness waits over caller-counted storage. Several pending requests can observe the same original stream while ordinary I/O remains available. Actual stream mutations produce coalesced notices, and immutable results retain their native owners through completion or cancellation.
Tracking and scope
The linked component audit, implementation and consumer requirements remain part of this WIP review. The phase-wide guest and toolchain build requirements stay with the phase completion issue.
Architecture, authority and failure behavior
The library supplies no syscall backend, allocator, clock, endpoint discovery or implicit capability acquisition. The provider supplies explicit native effects, original object keys, direction policy and empty storage. Descriptive keys and public request IDs remain separate from noncopyable actual CLAIM custody. Original identity is retained before native metadata is interpreted.
An independent ingress row permits immediate snapshots and correlated exhaustion without adding hidden deferred capacity. Actual lossless-stream occupancy, capacity and lifecycle govern readiness. Empty snapshots, selected events, unconditional terminal events and failures stay distinct. Status observation alone does not create mutation notices. Prepared results are immutable, native liveness precedes publication, and only positive completion or acknowledged retirement permits row reuse. Definite short-budget rejection permits one empty refusal; uncertain completion is retained and never replayed. Cancellation does not close the provider or its lender.
Validation evidence
Formatting, strict Clippy, warning-denied builds and documentation, unit tests, and applicable native/VM and consumer regressions remain required for the declared scope. Authored controls and older successful runs do not establish current full acceptance.
Review checklist
This review remains WIP until its declared scope and dependent requirements are complete.
erikinkinen referenced this pull request from erix/docs2026-10-02 14:23:54 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-02 14:24:06 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-10-02 14:24:16 +02:00
WIP: Align signed runtime dependenciesto WIP: Define lossless streams and original readiness custodyerikinkinen referenced this pull request from erix/posixd2026-10-02 14:24:24 +02:00
The stdio client now pins LibIPC
61b43723in 5f54aeac. This is part of the Vfsd dependency repair; the existing interfaces are unchanged, and Integration consumer adoption is in progress.Add a prepared recipient-view disposal operation with a fresh request ID and an exact cancellation acknowledgement. It preserves committed byte offsets, keeps EOF separate and leaves invocation, grant and backing retirement to their original owners.
Published
521f200dwith opt-in checked native stream framing. Callers provide the transport and keep their original cursors; the client preserves exact call and disposal errors and audits unsolicited receipts. This is the shared stream backend for erix/sha2-tool#4.The source changes are now split into #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14, #15, #16.
Closing this aggregate PR unmerged as superseded. The replacement PRs preserve the implementation, with formatting normalized and a test-only import moved into its module. Provider mapping and integrated acceptance remain open in the WIP PRs. The original branch is retained for recovery and existing source references.
Pull request closed