Carry generic resource options through stream OPEN #59
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem and evidence
crates/server/src/host_route.rs:580-643reconstructs provider stream grants only for legacy container Logs and Exec OPENs, withselector: Noneandprevious: false.crates/host-resource-client/src/wire.rs:155-163likewise serializes only Logs and Exec. Other provider stream capabilities cannot carry their resource address, operation, selector or versioned options through this route.Recommendation
Add a negotiated generic resource OPEN that carries the exact address, operation, versioned options and selector under the existing signed grant. Reuse the current WebSocket, credit, priority and session-lifecycle machinery.
Payoff and estimate
Provides remote parity for the capabilities the product already approves without another data path. Estimate: 3–5 engineering days, including embedded/mTLS tests and preserving existing container OPEN behavior.
Priority: Next milestone (PLAN step 5).
2026-10-04 owner decisions: Matches the custom v1 tunnel and the requirement to unify embedded and remote paths. Keep one WebSocket path and existing authorization, replay and revocation checks. Related: #49.
Report: arch-review report
Source: arch-review 2026-10-04