You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This dependency remains open for the exec/fs implementations in #1295 and #1297. #1397 merged resource/store operation contracts, not the resource-leaf identity/mount/lifecycle implementation. Keep identity, service naming and disconnect decisions owned here; the overall migration inventory is #1292. This status update does not choose among the open alternatives below.
Context
A resource leaf is a leaf that owns local resources and is mounted from the resource machine. Before exec and fs, the contract for identity, naming and lifecycle must be fixed.
Scope
External mount: the leaf dials the host (wss) or the host dials the leaf; token or client certificate.
Leaf id; process-service naming per leaf (names are global, so execHost.<leaf> or a host-side directory/route); one documented shape.
Lifecycle: connect at boot, reconnect with backoff, disconnect semantics; processes started by the leaf are killed or kept (decide and document).
A probe service (node info) to validate the contract before exec/fs.
Trust: the mounted leaf is host-level code; its exposed surface is the services it provides.
Acceptance
A probe leaf mounts from another machine, reconnects, and its service is callable per call; an offline leaf fails only that call.
Two leaves can be mounted without name collisions.
The disconnect rule for owned processes is stated and tested.
Notes
Depends on the Rust leaf host. #861 (per-call process service resolution) is the runtime mechanism the host side needs.
Needs three decisions recorded here (or in the remote-composition design) before it can gate #1295/#1297: whether the leaf dials the host or the host dials the leaf; the naming shape for per-leaf services (global execHost.<leaf> names versus a host-side route); and whether processes started by a leaf are killed or kept when the link drops. Also state that identity is per connection and grants no per-plugin authority. One contract, not two alternatives.
Activity
docs: define execHost, fsHost and store as data faces
docs: close the face gaps the review found
docs: define resource leaf data faces (#1397)
eric8810 commentedon Nov 27, 2026
Needs three decisions recorded here (or in the remote-composition design) before it can gate #1295/#1297: whether the leaf dials the host or the host dials the leaf; the naming shape for per-leaf services (global
execHost.<leaf>names versus a host-side route); and whether processes started by a leaf are killed or kept when the link drops. Also state that identity is per connection and grants no per-plugin authority. One contract, not two alternatives.