Add sessions spawn --transient verb (CLI equivalent of pipe/run transient) #117

Open
opened 2026-09-05 00:20:08 +09:00 by natsukium · 0 comments
Owner

Migrated from docs/backlog.md (Deferred / A sessions spawn --transient verb).

The transient-session contract (grid-sized session, switch in, return to the origin on exit, origin context in the environment) is reachable only from a pipe / run chord; the CLI cannot ask for one (scrollback.md "Lifecycle: transient session"). Deferred because the return half is client state, so the verb would have to push a request the window then honors, and no consumer needs the shape from outside a chord: a script already reaches a chord's transient through the environment it is handed. Revisit when one asks for it from the outside.

If implemented: felis sessions spawn --transient would create a grid-sized session, switch in, and return to the origin on exit. Requires a daemon→window request path (return is client state).

Revisit when a consumer needs a transient from outside a chord.

Refs: docs/explanation/data-model/scrollback.md Lifecycle: transient session.

Migrated from `docs/backlog.md` (Deferred / A `sessions spawn --transient` verb). > The transient-session contract (grid-sized session, switch in, return to the origin on exit, origin context in the environment) is reachable only from a `pipe` / `run` chord; the CLI cannot ask for one ([scrollback.md](explanation/data-model/scrollback.md) "Lifecycle: transient session"). Deferred because the return half is client state, so the verb would have to push a request the window then honors, and no consumer needs the shape from outside a chord: a script already reaches a chord's transient through the environment it is handed. Revisit when one asks for it from the outside. If implemented: `felis sessions spawn --transient` would create a grid-sized session, switch in, and return to the origin on exit. Requires a daemon→window request path (return is client state). Revisit when a consumer needs a transient from outside a chord. Refs: `docs/explanation/data-model/scrollback.md` Lifecycle: transient session.
Sign in to join this conversation.
No description provided.