WIP: Share explicit native command file and lease clients #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-cli!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
Share native command startup, descriptor intake, exact-file reads and temporary READ leases through an opt-in client. SHA-2 and Coreutils can use the same checked framing and cleanup rules. The default library remains allocation-free and performs no native effects.
Tracking and scope
This branch also skips duplicate same-repository pull-request jobs; fork jobs retain their existing eligibility. Consumer adoption and the phase-wide build requirements remain open.
Architecture, authority and failure behavior
The caller supplies the original transport and command policy. Startup checks the authenticated command entry, inherited descriptors and complete local capability inventory. File operands request only manifest-bounded leases through the inherited job broker. The client discovers no service and treats paths and numeric identities as data.
Each opaque grant retains its own retirement state. An independent live grant can retire after later admission fails; an uncertain retirement is never replayed. The original operation and cleanup errors remain distinct. Callers must retain unresolved owners until their custody is settled. The shared client contains no unsafe code.
Validation evidence
Consumer, native-target and guest checks remain open for the new client. Earlier checks cover their original revisions only.
Review checklist
main.Keep this review WIP until its remaining scope is complete.
WIP: Skip duplicate same-repository pull request jobsto WIP: Share explicit native command file and lease clientsPublished
e8fff1bdwith the opt-in native command client. It admits the complete startup inventory, streams exact-file reads and owns temporary broker grants through one-attempt retirement. SHA-2 and Coreutils adoption is tracked in erix/sha2-tool#4.Replaced by #8, #9, #10, #11, #12, #13, #14, #15, #16, #17, #18. These feature branches preserve the original source in separate changes. Closing this combined PR without merging it; the original branch is retained.
Pull request closed