Last updated: 2026-11-24
- Status: Reference — the Home surface is delivered by 2.5.B (the bare-invocation Home, the read-only management strip over
history.db, the single-ink-tree mode machine, one SIGINT/SIGTERM lifecycle, and bracketed paste); the in-app slash palette //help//doctor+ the context-aware footer landed in 2.5.C; and the reseat-less mode keymap (Shift+Tab//mode) + the fail-closed per-tool approval + theEscmid-turn abort landed in 2.5.E (ADR-0057) — all extend this same canonical home. The Home-side/modelspicker landed in 2.5.G: in the bare Home an accepted pick writes the global[preferences].default_model(+ the effort tier) for the next session (ADR-0063 §1, ADR-0064); in the in-Home chat the same picker reseats the live session instead (chat-session.md). - Surface: CLI (a bare
relaviumwith no subcommand, on a TTY; and a barerelavium permissionson a TTY, which opens this Home on its Permissions tab) - Scope: Phase 2.5, local-first. The Home is a thin surface over the same
@relavium/coreengine +AgentSessionasrelavium chat— it is a management + chat shell, never an IDE. - Related: commands.md, chat-session.md, ../contracts/config-spec.md, ../contracts/agent-session-spec.md, ../../decisions/0054-cli-bare-invocation-interactive-home.md, ../../decisions/0049-cli-machine-output-contract.md, ../../decisions/0047-cli-framework-commander-ink-clack.md, ../../decisions/0024-agent-first-entry-point-agentsession.md, ../../decisions/0007-desktop-is-not-an-ide.md
A bare relavium (no subcommand) on an interactive terminal opens a branded, conversation-first Home: a read-only management strip — recent sessions / runs / agents, with an "Attention required" section above a neutral "Continue" list — sitting over a live prompt. Type a message and the Home graduates into a chat in the same process; end the chat and you return to a freshly-read Home. The Home is the agent-first "type the name → start talking" entry (ADR-0024) that every terminal-native agent CLI offers, added without breaking the CLI's CI/automation contract. See ADR-0054 for the decision and rationale.
Bare Home uses the same invocation filesystem-root contract and forwards its process-local authority into chat/resume. The session reference owns original-workspace resume and policy reuse.
The Home opens only when the process is genuinely interactive. The gate, evaluated in the existing bare-invocation branch of run.ts (not a commander default action, which would swallow unknown-command errors), is:
stdoutIsTty && stdinIsTty && !json && !isCiEnv(env)
- Both
stdoutandstdinmust be TTYs (thestdinIsTtyseam is the one thecreatewizard already uses). A pipe or redirect on either end keeps the meta-op. --jsonnever opens the Home (the machine contract wins).- The CI guard reuses the existing
isCiEnvhelper (output-mode.ts), which treats any non-emptyCIother thanfalse/0as CI (CI=true/CI=1count;CI=false/CI=0/empty opt out) — so a runner that setsCI=1or allocates a pseudo-TTY cannot accidentally open an interactive Home and stall the pipeline.
Every non-interactive path is byte-for-byte unchanged: a piped, --json, or CI bare invocation prints program.helpInformation() and exits 0, exactly as before (ADR-0049 — --help / --version / a bare no-command invocation are exit-0 meta-operations). The Home adds a TTY-gated branch and no new IO surface.
A Home build/config fault uses the same CLI failure classification
as a command: invalid config/invocation remains exit 2, known operational faults
retain exit 1, and an unexpected escaping throw uses the fixed cli_internal
projection and exit 9, without its incoming message, cause or stack in that
projection. The legacy broad internal code is not remapped wholesale. Step 8d
implements caught Home/session fault integration and the complete fatal coordinator;
it is independently accepted on development. This does not turn a
classified failed chat turn into a fatal CLI failure.
/resume is available in the landing and the idle in-Home chat. It opens the
native session picker while retaining
the current chat view. An empty landing prompt accepts Down to focus Continue's
recent sessions; Up/Down move, Enter resumes, and Esc returns to the prompt.
Typing or pasting into the prompt clears Continue focus before editing, so Enter
submits that draft rather than opening a previously focused session.
Sessions are one kind of actionable strip row;
the others open a parked run's card or a run's detail. Session rows include a separate
sanitized directory line; management lists trim/scroll before the focused row,
keyless action and prompt can leave an 80×24 screen. No key/DB reads happen during
rendering or focus movement.
A saved session in another directory has a fixed open-Home-there/shell-picker remedy; Home never reanchors its workspace. Safe restored history is prepared before model/MCP build and activation, and a failed read offers retry/return. Esc during restoration cancels the pending replacement host and its MCP startup, preventing new credential/connection work. The existing Home or chat stays in place; already-entered work and actual cleanup still join before the action returns. An independent failure retains its original classification during cancellation. Once a picker editor has been visibly mounted, filter typing, editing and paste continue while its read-only results repaint under output backpressure. Enter, result navigation, paging and scope changes still require the current result card to be measured and flushed. A resize or new prompt invalidates editing evidence too; suspension or loss of input custody blocks edits, and unseen input is never buffered. After selection the existing render-acknowledged effect disclosure remains the activation boundary. The detailed projection, memory and hatch rules live in the chat reference.
Accepted on development — MVP-2 step 2 (2026-11-10).
The Home mounts one Ink tree, then offers setup when no provider has a usable
source. Select, confirm, text and masked fields use the same native input owner;
existing chat history stays mounted while a setup card owns input. Native cards
require finite integer geometry of at least 80×24 and a fully visible current
card. Input and preference publication wait through resize until that card is
measured and flushed; a new snapshot or geometry change invalidates old evidence.
Esc/Ctrl+C closes the flow without leaving Home. Skipping leaves a persistent setup row;
Enter on an empty prompt or /providers opens it again. /providers is also
available in the in-Home chat, with connect/login/key discovery terms. Standalone
chat keeps its own palette and runs the shared setup before its normal host.
Native recovery messages name /providers in Home; standalone setup names
restarting relavium chat, where that shared setup is available.
The credential-source contract
owns exact names, precedence, consent, backend-health distinctions and recovery.
Home samples availability on opening, after setup changes and on return from a
chat; rendering never probes the keychain. A usable source suppresses automatic
setup. An eligible standard source awaiting consent opens its named-source card;
a custom endpoint gets manual-key guidance instead. The unavailable state gets explicit acknowledgement/retry guidance. Backend
health remains independent of source status; a usable source still suppresses
automatic setup, and reminder state never grants credential authority.
Manual setup keeps the existing provider → masked key → validation/retry or explicit save-anyway → OS-keychain flow. Native cards contain neither the key nor its suffix, and validation copy comes from typed reasons. Before validation, both Home and standalone chat show the safe origin (scheme, host and any non-default port), without path, query or credentials, captured with the actual provider adapter. A registry edit in another process cannot change that card's recipient independently of its validation request. Restart Home/chat to use an externally changed endpoint; the existing resolver keeps its original destination. An invalid stored endpoint refuses validation and shows fixed recovery copy. Private input is bounded, oversized paste is rejected without truncation, and input after submit/cancel in the same dispatch cannot become chat text or answer the next card. Actual validation work remains owned until settlement even if its observation is cancelled.
First usable-source setup selects the provider's existing starter model through the shared typed global writer. Existing-file rewrites display their comment/order loss notice before publication. A saved preference with unconfirmed directory sync says so; failure offers safe recovery, with a separately selected invocation model where applicable. Explicit invocation defaults remain below project/workspace model preferences. Connecting or replacing a key, or adding consent for another provider, when one is already usable does not itself switch the default. Provider cards name the currently usable source (OS keychain or the exact environment-variable name), never its value or suffix. Resume keeps its saved agent/model.
Keys are never written to a config, transcript or plaintext fallback. A keychain failure names the environment remedy; a later store failure does not falsely claim that an already saved key vanished. Likewise, cancellation after a completed key/default publication preserves its fixed committed outcome. The legacy injected prompter remains a test/embedding seam; production Home and TTY chat setup use the native host. Other shell scaffolding/gate prompts retain their existing contracts.
Accepted on development, MVP-2 step 3 (2026-11-10).
/init is available in the landing and Home-chat palettes. Its card lists the
exact three directories before writing and defaults to No. Only an explicit
Yes creates them; Esc/Ctrl+C closes the card and keeps Home/chat. The existing
native input owner, complete-card visibility and resize/cancellation checks apply,
including at each directory publication. Existing chat history stays mounted.
The shared init contract owns directory creation,
existing/nested projects, link refusal, cleanup and global-state exclusion. An
already initialized project produces a notice without a write confirmation or
repair. Global workflows/agents remain untouched; /doctor names the move/import
remedy. No unsolicited initialization prompt is shown.
Built on development (the strip row and the exit guard are below, the run view after them, and the gate and budget cards after that) (ADR-0139 §2, §4, §7). /run is a Home command: it is in the landing palette, a typed or pasted /run at the landing opens it, and with a chat in front the line is the chat's (an unknown slash there) and starts nothing. It takes no argument (/run extra says /run accepts no arguments. Use its picker to choose a workflow.). The launch is the same re-hosted core as relavium run, never a child process.
- A leg that is already live refuses the launch before anything is asked. With a leg preparing or executing,
/run(andron the Defined tab) opens no picker, form or card: the notice isA run is already executing (<first 8 characters of the run id>). Enter on its ▶ row opens it., orA run is already starting.before the engine has named the run, so no field, masked value or confirmation is asked for a start the host would turn away. The host still refuses a second start at the end, as the single-flight bullet below says. - The picker lists the project's workflows that parse (the catalog of
relavium list); a file that does not is not offered, and one line above the picker names it and says why. With no valid workflow the notice says so and no card opens. A directory of more than 500 workflow files (MAX_CATALOG_FILES: every file costs an open and a full parse, and the picker,relavium list,/exportand the authoring commands all walk the catalog) is refused withtoo many workflow files in the catalog (more than 500)before any of them is opened, here and in every other reader of the catalog; the listing never shows a silent prefix.EscandCtrl+Cleave. A pick reads the workflow file and the project's configuration (the file scope the start will use): a configuration that cannot be read refuses the pick before any field is asked, so no input, a masked one above all, is typed for a start that cannot happen, and a confirmation that named no scope because none could be read never reads assandboxed. The notice isNot started. <file>: <reason>, the file named from the project or from~and never by its absolute path. - The form asks one field per declared input, in declaration order. Each value is checked as it is entered by the workflow's own validator (
resolveAndValidateWorkflowInputs), so a wrong type or a value outside its enum is refused in the field; an empty answer to an optional input omits it. What the workflow author wrote (a description, a default) passes the sanitize floor. Asecretinput is a masked field: the value is held only by the prompt flow until the start call and is in no state, notice, history row or log line;Escsteps back one field and the value of the field returned to is dropped,Ctrl+Cleaves, clears every masked value and starts nothing. - The confirmation is a Yes/No select that defaults to No: an
Entertyped ahead, held or repeated lands on No and nothing starts. It is two rows. The question names the workflow and each input, a masked one by name only (••••); when the inputs do not all fit its 200 characters, as many wholename=valueentries as fit are shown and the rest are counted (and 3 more), so a later input is never silently out of the question. The host's row stands above it (the next bullet). A run starts only on a deliberate move to Yes. - What a Yes lets the run do is the host's own row above the question. One bounded sentence (at most 280 characters, four rows at 80) built from the same bytes the confirmation binds: the definition read at the pick and the file scope read with it. It is a row of its own, not a part of the question, so the workflow's name, which the question carries, can never continue it, and every word the author wrote inside it (a command, a server name) is in double quotes, through the sanitize floor and cut at 22 characters. The file scope comes first and is named whenever it is not the default
sandboxed:File scope: <tier>, set by this repository.(projectorfull; only the repository's own.relavium/project.tomlorworkspace.tomlcan set one, and the person confirming has not read them). ThenThis run can …, each clause only when the workflow's own definition grants it:run commands, which the file scope does not limit (…), naming the first two allowed commands (the exact entries, then the patterns) and counting the rest (and N more), because a count says nothing about what runs and a command is not inside the jail of the file tools;start processes (…), naming by id the built-in tools it grants that start a process of their own besidesrun_command(the git tools), which run whatever git does with the working tree outside what the file scope bounds;write files; anduse MCP server …, naming up to three servers and counting the rest. With no allowlistrun_commandis disabled (ADR-0029), so a grant alone says nothing. A workflow that can only read inside its workspace under the default scope gets no row at all, and the row is on screen only while its card is. A$refagent is not read at the pick (the CLI reads no agent file while it prepares), so its tools, and the tools an MCP server announces once connected, are not in the sentence. The run is unattended: nothing asks again except the consent card of a local MCP program. - The confirmation is bound to the file's contents (LAUNCH-5). The form, the workflow's name the confirmation prints, the file scope it names and the questions it asks are built from one read of the workflow file and of the project's configuration (the pick, not the list), and the start carries the SHA-256 digest of that exact text. The run core compares it, in constant time, with the text it reads for the run, before the workflow is parsed and before the first workflow-related effect: the secret prompt, key resolution, the MCP consent card and spawn, opening the history and its lease, and building the engine. Two things come first: the host's own leg owner (registered, then retired on the refusal) and the configuration load. A file that changed since the confirmation (its id unchanged, or a single space added) is refused with
The workflow file changed after you confirmed. Open the list again.as the launch's notice, nothing starts, and the list opened again confirms the file as it is. The start binds one more fact in the same place, before the workflow is parsed: the file scope tier the confirmation named ([defaults].fs_scope,sandboxedwhen none is set; a confirmation that named none bindssandboxed). A tier that changed after the Yes (a repository edited its.relavium/project.tomlmeanwhile) is refused withThe project's file scope changed after you confirmed. Open the list again., nothing starts, and the list opened again confirms the scope as it is. So the digest binds the workflow text and the start binds that one tier. Neither binds a file the workflow names, the rest of the project files.relavium/project.tomland.relavium/workspace.toml(read after the confirmation; they can addmcp_serversregistrations), the global configuration, the consent grant log, the keychain, the pricing and catalog rows, or the MCP tool lists found at connect time; a changed MCP command still meets the consent gate, because consent is fingerprinted on the declaration.relavium run,gateandbudget resumepass no digest and are unchanged. One preparation starts one run: a second start call from the same preparation is an internal error. - The start is single-flight. Answering Yes calls the run host once; a second confirmation in the same tick finds the launch past its confirmation and starts nothing, and the host itself turns away a second start while one is in flight. One engine is built for one run.
EscandCtrl+CwhileStarting the run…cancel the start. The screen saysEsc cancel, and the engine build, the reconcile and an MCP connect can take up to two minutes, so the key does two things at once: it closes the flow (the keyboard is the Home's again, every held masked value is wiped and the notice isRun cancelled.) and, through the request's signal, stops the host's leg, so the connect and the consent card close and the run core's next checkpoint throws before a run exists. Nothing starts and no run is recorded, and a consent card open at that moment reads the key as a cancel, not as a refusal nobody made (was not approved). The signal governs the preparation only: from the leg's commit point, the run core's last checkpoint just before the engine takes the run, it governs nothing, so a cancel that lands later closes the flow and nothing else, and a run that did start is the run view's to cancel (twoCtrl+Cpresses, below).- MCP consent. A workflow that declares a local stdio MCP server the machine has not approved opens the consent card on the same prompt flow, before anything is spawned:
Ctrl+Yallows and remembers the program on this machine (the per-machine grantmcp-consent.ndjsonthatrelavium runwrites),Ctrl+Nrefuses (the notice says the programwas not approved), andEscandCtrl+Ccancel the whole launch (Run cancelled.); either way no server starts, no grant is recorded and no run is created. A path the card cannot show safely is refused, not shown. A repository ships the program it names, so the path of the executable, the directory it runs in and the directory of an earlier approval are as hostile as any argument (./tools/Ctrl+Y refuses this - Ctrl+N allows/srvis a real path). The words the declaration's author wrote (the server's id and where it is declared, the command as written, every argument, each environment name and value) go through the same scrub as a gate message, with host glyphs and answer-chord tokens made inert; the paths are the decision itself and are shown as they are. When the scrub would change one of them (a control or invisible character, a host glyph such as a box-drawing line,✓or▶, or an answer-chord token) no card is built and the program is not offered: the launch ends with the fixed sentenceNot started: a local program has a path the card cannot show safely. Approve it with relavium run., which carries no path. A program that already holds a grant is not asked about, so this never reaches it. Nothing the flow stored sits above the card: a note the launch had set (the skipped files named above the picker, which carry file names the card's author did not write) is cleared when a chord card opens, so no stored text can sit above the card's own keys and pass for them. The card is the only prompt a hosted leg can open: itsioreports non-TTY on purpose, so the gate's terminal check does not decide whether it may ask, the card does; with no card wired the gate refuses with the digest, as for a script. A resumed leg runs the same check and may open the same card (below). - Typing while a card is open. A key or a paste the person types in the composer while a card is open reaches the prompt channel even when the card has not been painted yet, and counts toward the chord guard's quiet gap and typeahead window; a
Ctrl+Ysoon after it is refused. A key typed before any card opened is a composer edit, not typeahead.
Built on development (ADR-0139 §3, §6). Every way to end the Home is one request: /exit from the palette, the second Ctrl+C on the loaded landing, Ctrl+D on an empty prompt, Ctrl+C while the first chat is still being built, and the close of a bare relavium permissions screen (its tab host). With no leg preparing, executing or cancelling, the Home leaves exactly as it always did and shows no card. With one, it opens the exit-guard card and leaves nothing changed:
⚠ A workflow run is executing: <run id>.
Leaving stops it, and a stopped run cannot be resumed.
Ctrl+Y stop the run and leave · Esc, Ctrl+C or Ctrl+N stay
The title row carries a glyph as the other cards' do, so the card reads with colour off. Each surface has its own glyph and a word for each state, and the "run is stopping" state is not drawn the same everywhere: the strip's ▶ row keeps its ▶ and says the word cancelling, the run view draws ■ cancelling, and the card draws ⚠ for The run is stopping: <run id>. (the run is still going, so it is still asking), then ■ for Stopping the run… once the person confirmed. The card's ○ is The run has ended..
- Keys.
Ctrl+Ystops the run and leaves.Esc,Ctrl+CandCtrl+Nclose the card and stay: a confirmation treats both interrupt keys as cancel and never as confirm (ADR-0122 §7.4), so at the cardCtrl+Cis a cancel, not the second press of the interrupt keymap, and the keymap starts over once the card is closed. Every other key (a bareyorn,Enter,Ctrl+D,Ctrl+Alt+Y) and every paste answers nothing: the card stays open and nothing reaches the prompt behind it. The table isinterrupt-keymap.tsand its table-driven test. The card replaces the prompt and the hint bar, and holds a notice back until it is closed.Ctrl+Ycancels a run for good, so it is a deliberate key like the other native cards': it counts only while the card's exact frame has been measured and flushed at 80×24 (in the loading echo as on the loaded landing), and not while a card the person just answered by a key still holds the Home's lockout of two seconds (APPROVAL_LOCKOUT_MS, the approval card's number; one history shared by this card, the gate and budget cards and the MCP consent card, so a key held down through an answer cannot answer the next card on auto-repeat; every refused repeat restarts the window). Nothing else delays it: this card is opened by a key and read before it is answered, so the dwell, quiet-gap and typeahead layers of the answer cards are off here, and aCtrl+Ypressed two seconds after the last answer or refusal counts.Esc,Ctrl+CandCtrl+Nare never delayed. Below 80×24 the card is drawn in the resize degrade, on the landing and in the loading echo alike: the lineTerminal too small (<columns>×<rows>) — resize to at least 80×24.comes first and the card follows it.Ctrl+N,EscandCtrl+Creach it there, andCtrl+Yanswers nothing (enlarge the terminal; with no card open the chords are not delivered below the minimum). The card still namesCtrl+Ythere on purpose: it is the one card at every size, and the resize line above it says why the key waits, because a cancel that cannot be undone needs the card on screen as the person is meant to read it, at 80×24 or more and never in the degrade. - The grace and its two bounds. After
Ctrl+Ythe card readsStopping the run…and says the Home leaves within about 13 s: the ten-second grace and the three-second settle bound below, added. The Home asks the leg to stop (the engine's cooperative cancel) and waits for it to settle, re-reading its run host every 250 ms, for at most ten seconds, the engine's own grace window. A leg that settles first lets the Home leave at once. One that has not settled by then is abandoned as the engine abandons a non-cooperative executor: the Home runs the run host's teardown (close, which the Home's exit joins before it closes the shared database) and leaves.closeis bounded too: it waits for the leg at most three seconds more (HOSTED_LEG_SETTLE_BOUND_MS, measured from the call). A leg whose work ignores the cancel and has not settled by then is abandoned: its owner stays registered, the invocation's finite-exit bound is armed (so the process ends, as it does for a signal), and the shared database is not closed under it, because the leg may still write to it: the handle is left to the process's exit. While it waits no key changes the wait, and a signal cuts it off with its own bound (below). The abandoned run keeps its lease for up to one TTL (sixty seconds), and the next start's reconcile settles it as failed; that is the outcome of a killedrelavium run. So no path leaves the Home waiting without a bound: ten seconds for the leg, three more for the teardown, then the finite-exit bound. A leg whose own release throws (its MCP clients, the close of its history handle) is a release nobody acknowledged, and it is held to the same rule: each release runs on its own, so one that throws neither skips the other nor leaves the host holding a leg that never ran, but the fault is recorded on the leg's owner, which stays registered (retained), and the finite-exit bound is armed, as for an abandoned leg. - After the screen is restored the Home prints one plain line about a hosted run when one is owed: for the leg that ended with a workflow safety fact (money not confirmed
8, an effect needing attention7, a held terminal5, taken over elsewhere6; the most serious one, which also sets the process's exit code), its headline and shell remedy, and for a leg it had to abandon, that the run was still stopping and the command that shows what happened. Each line names the run id and is a closed vocabulary plus that id, sanitized; a command in it carries the id only when the shell takes it as one plain word, as on the disposition card. A run that ended in an ordinary way (completed, failed, cancelled, paused) prints nothing: the screen already said how. Where it goes depends on who owns the terminal. In the Home the product runs (it holds the invocation) the line is written with the Home's other end-of-run output (the resume hint), on the acknowledged stdout, unless the invocation's finite-exit bound is already armed (a leg that was abandoned arms it, the process is ending and the acknowledged channel is closed to new work): then it is written, plain and best-effort, to stderr, and only then. A Home with no invocation (an embedding) writes it to stdout with the plain write, abandoned or not. - Reaching it from a gate card. The exit guard opens only through the one exit request (
requestExit):/exitfrom the palette,Ctrl+Don an empty prompt, the secondCtrl+Con the landing, theCtrl+Cbail-out of the loading state, and the close of a barerelavium permissionsscreen (its tab host). A gate or budget card is none of these, so from one the way there is the secondCtrl+Con the landing.Ctrl+Con an open gate or budget card closes the card and arms nothing (a card is not a run to cancel), so from a card that was just answered it takesEscand then twoCtrl+Cpresses, or threeCtrl+Cpresses without theEsc. From a card opened from a run view,Ctrl+Ccloses the card and the view together and arms nothing, andEscreturns to the view, whereCtrl+Con a run that is executing arms the run's own cancel instead: a different thing, in the run view's ladder. - Evidence owed. The keys of this card, and the lockout it shares with the cards that come before it, are row 25 of the Windows interrupt-evidence runbook; none has been run on a Windows terminal.
- A run that ends while the card is up changes the card to
The run has ended.;Ctrl+Ythen leaves with nothing left to stop, andEscstays. A first chat that finishes building while the card only asks takes the screen and closes the card; once the person confirmed, that chat is torn down instead of shown. - Signals keep their process meaning (ADR-0115 §4): an external signal ends the Home on its own bound and stops the guard's wait.
- The
▶row. While a leg is preparing, executing or cancelling, the strip shows one line under the heading:▶ <run id> · running · Enter shows it,▶ <run id> · cancelling · Enter shows it, or▶ run · startingbefore the engine names the run (Enterat the empty prompt brings the run's view back once it has a name, and the landing's hint bar says so too:/ commands · Enter shows it · …). With no run active there is no row. It is a glyph and a word, so it reads with colour off; it takes one row of the strip's budget, so the Home still fits 80×24 with a full strip, a notice and a setup line. The Home re-reads the run host every 250 ms while a leg is live (and when an action that may have started one ends), publishes only what changed, and stops reading when none is live. The run view, a run's end and its disposition are below.
Built on development; the gate, budget and secret cards are below, and the strip's note for a run that ended while another screen was in front is a later increment of the same step (ADR-0139 §3, §5; ADR-0140 §1). A hosted run is shown by a run view: a screen of the Home's one screen slot, in front of the landing, drawn over the very RunApp projection that relavium run mounts, fed by the leg's own run store.
▶ running · run <run id>
<the live output: node rows, the active node's lines, tool lines, warnings, the cost footer>
note: <the newest of the run's notices>
Ctrl+C twice cancels the run · Esc leaves it running
- The screen slot. One optional
screenof the Home controller, opened byopenScreenand closed bycloseScreenand nowhere else. It is opened only from the landing and refused while an overlay (the palette, a picker, the search or the mention list), the exit-guard card or a chat is in front. While it is open it owns every key, no overlay is open behind it, and a paste reaches neither it nor the prompt. The older overlays keep their own fields (a chat's docked sheets,/permissionsand/agent, share ONE field,chatSheet, a union by kind, and only inside a chat: at the landing/permissionsis the tab host's Permissions tab); the tab host is a kind of the same slot, and so is the/helpsheet. - How it opens. A run started with
/runopens its view at once.Escleaves the view and the run keeps running; the strip's▶row is the way back:Enterat the empty prompt reopens the view of the run that is executing. With no run executingEnterdoes what it did (the provider setup when there is no key), and a card that was dismissed is not brought back. - The state is of the view's run, not of the host.
running,cancelling, then one ofcompleted,failed,cancelled,paused,needs attention(a run whose record or an external effect cannot be confirmed),taken overoralready settled; andnot heldfor a view whose run the host no longer holds (another run started or ended since). Each is a glyph and a word (◌ ▶ ■ ✓ ✗ ⊘ ‖ ⚠ ○), so colour is never the only signal. Another run executing never makes this view's run executing: aCtrl+Cin a view of a run that is not the one executing cancels nothing. A leg that has not named its run yet (still preparing, or a launch in flight) is never a view's leg either: a view is opened for a run that has an id, and the live leg is not provably its own, so that view readsnot heldand no press of it reaches the leg. A resume of the view's own run is shown as its leg as soon as the engine names it. - The ladder. The first
Ctrl+Cwith a leg executing only arms: the last line readsCtrl+C again cancels the run · Esc leaves it running, and nothing is cancelled. A secondCtrl+Cinside two seconds asks the leg for its cooperative cancel and the view readsCancelling · the run stops at its next safe point (up to 10 s); while it is cancelling,Ctrl+Cis a hint only (Waiting for the run to stop) and arms nothing. Any other key, or two seconds, ends the armed state.Escnever arms and never cancels. With no leg executing (a disposition card, a parked run, a replaced run)EscandCtrl+Cclose the view and arm nothing. The second press is decided by the run's state at that press, read from the host again, so a run that ended between the presses is not cancelled. The table isinterrupt-keymap.ts(pressRunViewInterrupt,pressRunViewKey) and its table-driven test. - The disposition card is shown once the leg has ended: the headline and the remedy of
describeHostedRunTerminal(a closed vocabulary plus the sanitized run id), and the reason a fault ended the leg, if one did (a fault of the leg's cleanup is named there only when the leg had none of its own, and the card still describes the run). A command that names the run (relavium logs <id>,relavium status <id>) carries the id only when the shell takes it as one plain word (letters, digits and_ . : -, no leading dash); any other id is shown in prose after the bare command, so a card never offers a command line that a hostile id could extend. It stays until the person dismisses it withEscorCtrl+Cor another run replaces it, and no other key touches it, with one exception: the card of a run that ended paused also takesEnter, which opens the run's gate or budget card (below) and says so on its key line (Enter opens the gate · Esc / Ctrl+C close), at 80×24 or more; below it onlyEscandCtrl+Care delivered, so only they are named. When the card cannot open (the run was answered elsewhere meanwhile, or its log cannot be read), the reason is the view's own newestnote:row, and the key line readsEnter tries the gate again · Esc / Ctrl+C close; the note goes with the view. - Notices. Everything the leg wrote to stderr (the withheld-effort, unpriced and legacy-hold warnings, the skipped-MCP lines, the departure diagnostics) is shown as
note:rows: the newest three, each bounded to 32,768 characters before anything else is done to it, sanitized again here and cut by display columns to the terminal's width lessnote:(at most 160 columns) with…, and… N earlier noticeswhen there are more. The Home writes nothing to stderr while it owns the screen. The words the host gives a fault (a refused start or answer, the reason on a disposition card) carry no absolute path: a configuration file is named from the project or from~, because what is drawn here is what a screen share carries away. - A leg that ends behind a chat says so in the chat's transcript. A run that parks at a gate, completes or fails while a chat is in front shows no view, card or strip row there (a card never takes the keyboard from another screen), so the transcript gets one line, once for that leg end:
‖ <name> is waiting at a gate. Leave this chat to answer it on the Home.,✓ <name> completed. Leave this chat to see it on the Home.or✗ <name> failed. Leave this chat to see it on the Home.; a run parked on media jobs alone saysis waiting for media jobs. Leave this chat to continue it on the Home.and one with no gate to decidepaused. Leave this chat to see it on the Home.<name>is the run's workflow slug when its own Attention row has one, elserunand the first eight characters of its id, scrubbed like every label. A cancel, a run that needs attention, a run another process took over and a run already settled say nothing here (the person asked for the first and the exit line carries the others). Nothing is said when no chat is in front (the strip is the news), while the run's own view is showing that run, for a chat being torn down, for an end the Home had already seen when it opened, or twice for the same end. - Geometry. At 80×24 the screen is never more than 23 rows tall: the title, a status line when there is one, the live output in what is left (at least four rows; when it is taller than that its newest rows and its cost footer stay and the oldest node rows scroll off the top, and when it is shorter it sits at the top), the notices, the card (at most six rows) and the key line. It is the same screen in the full-screen and the inline renderer. Below 80×24 the screen is the enlarge line and the key line only (the key line says
Ctrl+C again cancels the runonce armed, so a person who cannot see the output still knows what the next press does), and onlyEscandCtrl+Care delivered. - Evidence owed. The keys of this screen are rows 17 to 19 of the Windows interrupt-evidence runbook; none has been run on a Windows terminal.
Built on development (ADR-0139 §3, §4, §7). A run that pauses at a human gate or a budget gate hands the run off at the pause: its lease goes back and nothing holds it in memory, so it can be answered from this Home, from another terminal's Home or with relavium gate and relavium budget resume. The Home shows the runs of this directory that are parked as Attention rows, opens a card for one on a key, and answers through the run host's resume. A run recorded for another directory has no row and is never read or answered here (§7); it is readable in the History browser only.
Attention required
> ‖ <run id> · <workflow> · approval gate · expires in 5m · Enter opens
‖ <run id> · <workflow> · 3 open gates · expired · ↓ selects
- One row per paused run of this directory, newest first, at most eight, under Attention required and above the strip's own rows. A row is a glyph, the run id, the run's workflow (its slug, cut to 24 columns, when the read can name it), what the run waits on (
approval gate,input gate,review gate,budget gate,<n> open gates,waiting for mediafor a run parked on media jobs and nothing else (below), orparked, no gate to decidefor a run whose log names neither a gate nor a job in flight), the earliest deadline among its open gates (expires in 5m, orexpired, when a gate has one) and the key. An overdue row (expired) is drawn in red. There is no row, no heading and no hint when nothing is paused. A run that has a row is not repeated by the strip's own gate rows or its Continue runs. A run whose event log cannot be read gets no row here: the strip's ownevent log unreadableline names it, and it has no card to open. - Keys. At the empty prompt
↓moves onto the first row, and the focused row (marked>) is the only one that namesEnter; the others say↓ selects. The key on the focused row isEnter opensfor an approval, review, budget or several-gate row,Enter shows how to answerfor an input gate (its card takes no typed value: it shows the shell command that does),Enter asks to continuefor a media park andEnter says whyfor a run with no gate to decide.↑/↓move along the rows of one list (↓past the last parked run reaches the failed runs and then the sessions,↑before the first returns to the prompt);Enteropens the focused run's card (on a run that waits for media it asks whether to continue the run instead);Escreturns to the prompt; any other key (typing, a paste) ends the focus and is typed as usual.Enteron a row counts only once the frame that shows the focus is on screen, as it does for a session: a coalesced↓andEntercannot open a row the person has not seen. The hint bar reads↑/↓ select · Enter open the gate · Esc return to prompt · Ctrl+C twice to exitwhile a row with a gate is focused, and saysEnter says whyin place ofEnter open the gatewhile the focused row is a run with no gate to decide,Enter continue itwhile it is a run that waits for media andEnter shows howwhile it is an input gate (the words of the row's own key: the bar promises a gate only when there is one). - The row fits the terminal; the id gives way first. A row is drawn inside the room the terminal leaves it (the width less its four columns of indent and marker). When it would not fit (at 80 columns, a 36-character id beside a workflow and a deadline), what it gives up goes in this order: the run id keeps its first eight columns and ends with
…(the run view and the card name it in full), then the workflow goes, then the deadline, and a row that still would not fit shortens the id further (a row with neither a workflow nor a deadline keeps as much of its id as the room allows). The kind and the key are never the part that is cut. A row that fits is unchanged. - The setup line waits for
Enter.Connect a provider to start chatting — Enter to set up or /providers.is shown only whileEnterat the empty prompt would set a provider up. While a live run is in the view (Enter shows it) or a run row is focused (Enter open the gate,Enter open the run),Enterdoes that first, so the line is not drawn; it is back when neither is. A focused session does not hide it. - When they are read. When the Home opens, when the landing is shown again after a chat or a screen, when a card or the launch flow opens, when a leg starts or ends, and on the strip's idle tick when another terminal changed the log. A flip in how the same live leg is described (a cancel was requested, the engine named the run) reads nothing. A read asks the log for the rows it keeps plus one (nine), never a chunk. A read that fails keeps the rows the Home has. A row whose run is no longer parked loses its focus, and no other row takes it. At 80×24 a long notice (a
/doctorreport) leaves the rows three lines (their heading, the gap under it and one row), so↓never focuses a row that is not drawn. Enteron a run that is no longer parked here (it was answered elsewhere, or belongs to another directory now) opens nothing and says so in the notice; on a run with neither a gate nor a media job in flight it saysNo gate to decide hereand namesrelavium status <run id>(a run that waits for media is asked about instead).
Built on development (ADR-0139 §3 and its 2026-11-23 amendment note). A run whose log shows async media jobs in flight and no human gate and no budget gate has nothing to decide, and something to continue: the engine re-attaches each job by the id the log recorded (it never submits one again) and runs what follows. The Home continues it with no decision, through the one resume core, behind a question:
- The row says
waiting for media(not that it waits for an answer), and its key saysEnter asks to continue. Enteron the focused row asks, on the native prompt channel,Run <first 8 characters of the id> is waiting for media jobs. Continue it here? It runs in this Home until the jobs finish, and leaving the Home cancels it.(the whole sentence is on screen at 80×24, wrapped), with No selected. The second sentence is what a Yes costs, said before it is given: the leg holds the Home's one leg slot until the jobs finish (a gate answer or/runmeanwhile is refusedbusy), and leaving the Home cancels the leg, which makes the runcancelledfor good (a cancelled run cannot be resumed, and the output of the jobs already paid for is never fetched). AnEntertyped ahead,EscandCtrl+Call answer No, and a No continues nothing and says nothing (the run stays parked, and the row stays). The same question is asked from the Active tab (Enteron a paused row whose log shows a job in flight and no gate; the row sayswaiting for a media job, and the line under the list saysEnter asks whether to continue it here) and from the run view of a leg that ended parked.- A Yes starts a leg through the run host's resume: the same single flight as a gate answer (a request while a leg executes is refused
busy, and the refusal is the landing's notice, or the tab's message row), the same owner, the same lease and the same teardown. The run view of the new leg opens at once, as/runopens one (Escreturns to whereEnterwas pressed), and the strip shows its▶row. The flow stays open from the answer to the leg's start, so a masked slot of the run is asked for by name, in the native masked field, and the MCP consent check runs again, exactly as for a gate answer. - It adds no authority. The leg runs under the same filesystem scope tier, the same consent gate and the same budget as every other resume, from the same run core. It is refused before an engine, a key or a card exists, with fixed words, when the run belongs to another directory, is not parked (
The run is not parked.), waits for a decision (The run is waiting for a decision, not only for media jobs: answer its gate or its budget gate.) or waits for no job (The run is not waiting for media jobs.); a run that already ended is the same clean no-op a doubled decision is. A run another process is working now (its lease is live:runs.statusstayspausedwhile a media leg polls, so every other Home still offers the row) is refused at once, before a secret is asked for or a local server may start, withThat run is being continued by another process.; an expired lease is not a refusal, because its owner is gone. That early read is advisory: the engine's acquire stays the authority, and a lease taken between the two is refused there with the holder named (another process owns this run (held by …)). Either way this process writes nothing. A secret field that is left (Esc,Ctrl+C) saysNot continued: the secrets were not entered.(a gate answer's own sentence names its gate, and is unchanged), and a continue called without the secrets a run needs says what is missing and names no gate and no shell command. - A run this Home already executes is not offered: its view opens instead. A run with a gate keeps its gate card, even when a job is in flight beside it (a continue cannot carry a decision, and the engine refuses it too).
- The shell is unchanged.
relavium run,relavium gateandrelavium statuskeep their behaviour and their advice text; a shell command that continues a media park is a product decision that has not been made.
‖ waiting for you · run <run id>
│ <the workflow author's message>
node <node id> · approval gate · expires <time>
Rejecting does not stop the run: the workflow routes on a rejection.
Ctrl+Y approves · Ctrl+N rejects · Esc leaves it pending
- Opening it. From an Attention row (
Enteron the focused row), or from the run view of a run that ended paused (Enterat its disposition card). It is a screen of the onescreenslot, in front of the landing or of the view it came from, and it reads the run's gates from the log at that moment. It holds them and does not read them again: a re-read after an answer would find the gate still pending until the resumed leg claims it, and offer it twice. - Chords only.
Ctrl+Yapproves andCtrl+Nrejects, each only when the gate's own type accepts that decision; aninputgate takes a typed value, which the card does not, so it says so, shows therelavium gate <run id> --gate <gate id> --inputcommand wrapped over the rows it needs (the ids are long, and a command cut at the width would end before its--input), says that rejecting continues the run, and offersCtrl+Nalone. A bare letter,Enter, an arrow (with one gate), a chord withmetaand a paste answer nothing; a paste counts as typing for the guard. With several open gates (a run can park on a human and a budget gate at once) the card lists them behind a cursor:↑/↓choose, an answer applies to the gate under the cursor and the others stay pending. - The same guards as every native card.
Ctrl+Ypasses dwell, quiet gap, typeahead and lockout (the numbers of the approval card), and counts only while this exact frame has been measured and flushed at 80×24; the dwell restarts for each new frame (a different gate under the cursor, an answer that moved the cursor).Ctrl+Non a human gate passes the very same layers and the painted frame, because a rejection continues the run (the author routes on it): a bare or heldCtrl+Non a card whose frame has not been painted is refused, and a refused key restarts the lockout. A budget abort (Ctrl+Non a budget gate) is never delayed: it stops the step at the budget, and refusing is the safe answer. The lockout is the Home's one, shared with the MCP consent card and the exit guard: a key held through an answer cannot answer the card that follows. Below 80×24 the card is the enlarge line and one key line,Esc leaves it pending(no answer key and no cursor key is named, because none is delivered there). EscandCtrl+Cclose it and decide nothing. The gate stays pending and the row stays.Escis the one step back: the run view the card came from, if any, is back in front.Ctrl+Ccloses the card and that view (ADR-0139 §5) and returns to the landing. A card opened from the Active tab of the tab host has no run view behind it:Escreturns to that tab on the row it came from, andCtrl+Ccloses the card and the tab host together. Neither can reject, because a rejection continues the run.Ctrl+Carms nothing here: a card is not a run to cancel.- One answer in flight. The gate leaves the card the moment it is answered, so no key answers it twice, whatever the host replies; the card then says
Answered. The run continues in the background.(the strip shows the resumed leg's▶row) when no other gate is open, and1 of 3 gates answered; 2 still wait.when others are (it never says the run continues while a gate waits), or says what the host said: a refusal reopens the gate where it was with the host's words, and a gate that another process decided first is shown asalready decidedwith what the log holds. - An overdue gate shows
overdue, itsexpiresAtand what the engine does at the deadline (approve, or fail the run withrun_timeout); the card still answers, and the resume re-reads under the lease, so the answer and the deadline settle the gate exactly once in either order. - Author text is behind a gutter. A gate message can interpolate model output. Every row of it is drawn behind
│, host glyphs and answer-chord tokens are removed from it and it passes the untrusted-text floor, so nothing in it can look like the card's own rows or keys. - A message is shown whole, or the card says how to read the rest. The message takes the rows the terminal leaves after the card's other rows and the one row no frame uses, never fewer than four and never more than twelve. A message that still does not fit is cut: its last row ends with
…and two host rows follow it outside the gutter,The message continues. To read all of it, run:andrelavium gate list <run id>(relavium gate listprints every pending message in full). When the run id is not one plain shell word the command is named without it (… run relavium gate list/with the id of this run.), and the title row has the id. An approval is answered with what is on screen, so a cut that said nothing would let an instruction past it go unread.
‖ waiting for you · run <run id>
node <node id> · budget gate
Frozen allowance: $0.0420 (4200000 microcents)
Approval funds this agent execution only, for exactly this amount.
Aborting dispatches no agent and fails the run (budget_exceeded).
Ctrl+Y approves · Ctrl+N aborts · Esc leaves it pending
- The amount is the gate's structured allowance, the field the log froze (
budgetPromptContextof the recorded quote), never a figure read from a message, a node name or an excluded notice. It is shown in USD and in integer microcents.Ctrl+Yapproves exactly that amount (approvedAmountMicrocents), andCtrl+Naborts (a rejection: no agent is dispatched and the run fails withbudget_exceeded). Excluded candidate models are quoted behind the gutter, escaped, at most three, with a count of the rest. - Three cases. (1) A priced, representable allowance offers both keys, as above. (2) A quote that cannot be approved (
unpriced: no priced allowance;unrepresentable: it cannot be shown safely) says so, shows no amount and offersCtrl+N abortsonly. (3) A legacy gate with no frozen allowance says so and offers the abort only; the interactiverelavium runprompt's "continue without an allowance" has no key here. With no approval offered,Ctrl+Yanswers nothing. - A price that moved is refused by the resume before the gate is claimed: the card reopens the gate with the host's words, it stays pending and abortable.
- Same guard, same states as the gate card: dwell, quiet gap, typeahead, lockout and the painted frame for
Ctrl+Y;Ctrl+Nnever delayed;EscandCtrl+Cdecide nothing; an overdue budget gate showsoverdueand its deadline (a budget gate records no timeout policy).
An answer is the run host's resume, the one resume core relavium gate and relavium budget resume share, started on a fresh engine as the next leg; the Home does not keep the run in memory while it waits. It opens the prompt flow for exactly as long as the leg prepares (a masked slot, the consent card), so one busy line (Answering the gate…) stands in for the card meanwhile, and a second prompt cannot open over it: with another prompt open the answer is refused (busy) and nothing is sent. The checks run in this order, and each refuses before the next costs anything:
- The project. A run recorded for another directory is refused (
This run belongs to another directory. Open Home there to answer it.) before an owner, an engine, a secret or a card exists. - The decision fits the gate. A decision the gate's type does not accept is refused before any secret is read.
- Each masked slot of the run is asked for once, by name, in the Home's native masked field, in the order the run core names them. A blank value is refused by the Home's own port with fixed text, never passed on as "re-supplied";
EscorCtrl+Cin a field leaves the whole answer and the gate stays pending. The value lives only in the prompt channel and in the resume call. - The MCP consent check, run again. A local program the run's servers want to start is checked against the machine's grants (ADR-0084): one this machine approved starts without a question, and one it holds no grant for (withdrawn, or the run was started on another machine or with a flag that approved it for one invocation only) is asked about through the consent card, which refuses by default and starts nothing when refused. A resume never skips the check on the ground that the run was started with
--allow-mcp-stdio.
Then the engine re-reads the checkpoint under the lease: a gate already decided, or a run that already ended, settles the answer without building an engine, and for a budget gate the price is checked against the frozen quote before the gate is claimed.
EscandCtrl+Cwhile the answer is prepared stop the leg and leave the run as it was. An answer, and the continue of a media park, take the prompt flow's own signal.EscorCtrl+ConAnswering the gate…orContinuing the run…(or on the consent card the leg opens) stops the leg while it prepares (the secrets, the card, the connect, the engine build and its reconcile) and saysCancelled. The run is as it was.: the gate is still pending, or the run still parked with its jobs untouched, and nothing is written to the run. (A masked field that is left says its own sentence, as above.) The leg has a commit point, the run core's last checkpoint, just before the engine takes the run; from it a cancel closes the flow and nothing else. A cancel that reached the engine while it prepares a resume would writerun:cancelledfor good, which nothing can undo, and oneEscon a card decides nothing: the leg that started is a started leg, and cancelling it takes the run view's two presses. For a media park a late cancel would also leave the jobs already paid for unfetched for good.- Evidence owed. The keys of the cards are rows 20 to 24 of the Windows interrupt-evidence runbook; none has been run on a Windows terminal.
/permissions on the bare Home (MVP-4 step 7, 2026-11-21; the tab host's Permissions tab, MVP-8 step 4, 2026-11-23)
The landing palette offers /permissions (a line that reaches the Home as a paste, or typed with a leading space, does the same, since a / at an empty prompt opens the palette): it opens the tab host on its Permissions tab, and closing the tab host returns to the Home. The tab is the permissions sheet of ADR-0137 under the tab strip (the project's remembered commands only, over a store opened afresh on every read) with the repository's [chat].allowed_commands listed under it, read-only. The sheet is no longer a docked overlay of the Home: the tab host owns every key while it is open (the prompt and the footer are hidden, Ctrl+C closes the screen and arms no exit, PgUp and PgDn reach the tab), Esc first drops a waiting withdrawal question and then closes the screen, and the withdrawal keys are the sheet's own, unchanged. The chat's /permissions stays the docked sheet of the chat.
A bare relavium permissions on a terminal (the gate above) starts this Home with the tab host already open on Permissions, and without the first-run provider setup, and ends the run with exit 0 when the screen is closed with Esc or Ctrl+C; it is the whole Home, so it opens the history database and inherits the Home's start-up refusals. Anywhere else (a pipe, --json, CI) the command group is unchanged.
Contract: command-permissions.md, commands.md.
Built on development (ADR-0140 §1, §2, §4, §5). The tab host is the Home's tab-host screen: one screen slot that replaces the strip and the prompt while it is open, and is entered only from the landing (a chat or a card in front keeps its own keys). Its tabs are Defined, Active, History and Permissions (/agents opens the same screen on its own two-tab strip, whose keys are not this strip's). A typed or palette /workflows opens it on Defined (and starts no chat); /permissions and a bare relavium permissions open it on Permissions (above). Each tab is read again every time it is entered. While the screen is open each tab remembers its cursor, History also its scope, its filter and the run its cursor was on, and Active the run its cursor was on (not a run's detail or a node page, which a tab left behind does not keep); this is every tab's, whichever tab is in front, so moving to another tab and back (or to a run view and back with Esc) finds each tab as it was left. The History tab remembers no page: it reads its first page again when it is entered, with the cursor on the same run when that run is on it. The memory goes with the screen, so a screen opened again starts every tab at its top, and nothing is kept on disk.
- Keys.
←/→move between the tabs and stop at the ends;TabandShift+Tabgo around.↑/↓move over rows and stop at the ends on every tab except the History list, where↓on the last row of a page reads the next page and↑on the first row reads the previous one (the History bullet below).PgUp,PgDn,HomeandEndpage and jump on History (the list, a run's detail and the node page) and on Permissions; Defined and Active answer to↑/↓only.Enteropens a run's detail or a node on History and a run's view or gate card on Active; on Defined it opens no detail and saysNo workflow detail yet. r runs it, x exports it, p pins it.(the workflow detail page of ADR-0140 §2 is not built;r,xandpare that tab's actions).Escgoes back one level where there is one (the node page to the run's detail, the detail to the list, a waiting withdrawal question on Permissions to the sheet) and closes the screen at a tab's list.Backspacegoes back one level on History's detail and node page; on Permissions it is a withdrawal key and goes nowhere, and on Defined and Active it does nothing.Ctrl+Ccloses the screen from any tab and any depth and never arms or cancels from the tab host itself; a run view reached from the Active tab keeps its own two-press ladder (above). A bare letter is an action only where no text field is open (rrun,xexport andppin on Defined,ppin,ffilter andaall projects on History,nfirst failed on History's detail and node page,dwithdraw on Permissions); nothing needs a mouse, and a paste is dropped. The legend under every screen names the keys that screen answers to that fit its 78 columns, with the way out last (Tabis named where the legend has room for it).Ctrl+C closestands just before the way out wherever the whole legend still fits the 78 columns, so a person who has gone down a level reads that one key leaves every state. It is left out of the legends that already fill the floor: the History list with rows (and an empty page of it that still has another page to walk), a run's detail on History once it is read, the Defined list with rows and the Permissions tab with rows; and while a withdrawal question waits, which names its own two answers (any other key drops it). Every other legend names it (the empty tabs, Active, the agents strip, History's node page and a detail that is not read yet), and below 80×24 the legend namesEscalone. What a legend leaves out, it leaves out for room:Shift+Tabeverywhere;PgUp,PgDn,HomeandEndon History (the list, the detail and the node page) and on Permissions;Backspaceon History's detail and node page (it goes back, asEscdoes); andBackspaceon Permissions (it withdraws, asdand Delete do). A bare letter acts with Caps Lock on as well (Pisp). - The 23-row budget. The host draws at most 23 rows and one row stays spare in a terminal of exactly 24 lines, so the inline renderer never reaches the bottom edge. The tab strip and its rule take two rows and the legend one, so the body is 20 rows at 80×24: on a list, the rows, a
▲ N moreor▼ N moremarker standing for the rows it hides, and the message row, which keeps its line whether or not it has anything to say. A label is cut with…before a column is dropped. Below 80×24 the screen is two lines, the hintEnlarge the terminal — Esc steps back, or closes at the list.and a legend that names the levelEscsteps back to (Esc back to the runon a node page,Esc back to the liston a run's detail,Esc closeat a tab's list), and onlyEscandCtrl+Care delivered:Escthere does what it does at full size (it steps back one level from a node page or a run's detail, and closes the screen only from a tab's list), so a screen opened on a node page is not closed by it, andCtrl+Ccloses the screen. Every state has a glyph and a word (colour only repeats it), every string read from the history file passes the sanitize floor, and the screen reads the same in the inline and the full-screen renderer and with colour off. - Defined. The project's workflows (the catalog
/runoffers), each with its node count, its last run's status in this project and★ pinned; pinned rows sort first, a file that does not parse is✗ invalidwith its reason, a pin whose workflow left the catalog is? not in catalog, and a workflow pin of another project is? other projectafter this project's pins (the store caps pins in total, fifty, across every project and both kinds, so a pin the tab did not list would hold a slot with no way to remove it from here;pon such a row removes it). A pin refused at the cap says how many pins are stored and how many are in other projects or are runs.rstarts the workflow through the launch form of/run(two files that declare one workflow id are refused:rnames both file names, andxnames both paths;ralso carries the catalog path the row was listed from and refuses, naming the file that holds the id now by its full file name, when that file is another one by the time it is pressed, and refuses when the file it then reads declares another id than the one listed; thersentences say what to do first (Open the list again,Rename one of) and then name the file names, not the paths: a path is longer than the 78-column message row, so a message that carried one showed none of it; thexclash sentence names the two paths and then the remedy, and the export card wraps, so both show; and a start refused because a leg already executes is a sentence on the tab's message row, not the other run's view),xopens the export card (destination and byte count; onlyCtrl+Ywrites the file,Ctrl+NorEscwrites nothing, andEnterand letters answer nothing), andppins or unpins the workflow under its project root and slug. A row that makes no request says why. - Active. The project's runs that are not finished, in four groups that never mix: running (the leg this Home hosts is one of them), paused, stalled and held, each row with a glyph and a word.
Enteron the hosted leg reopens its view;Enteron a run paused at a gate in this project opens its gate card (Escon it returns to the tab on the same row;Ctrl+Ccloses the card and the tab host together, back to the landing, and for a barerelavium permissionsthat ends the command with exit0);Enteron a run paused on media jobs alone in this project asks whether to continue it (above: a No changes nothing, a Yes shows the new leg's view, andEscthere returns to the tab on the same row); every other row is read-only, andEntersays why (there is no cross-process cancel). The cursor follows the run by its id, not its row number. A run that moves up or down the list keeps the cursor; a run that left the list does not hand the cursor to the row now at its number: no row is marked, the message row saysThe run you had selected left the list. ↑/↓ select another., andEntersaysNo run is selected. ↑/↓ select one.and opens nothing until↑or↓picks a row, so anEnteraimed at a run that is gone never opens the card of its neighbour. The tab is a read-only poll while it is in front (it pauses while the exit question, a native question or form, or a terminal below 80×24 holds the screen), and one read of it is one snapshot of the database (the three status pages, the leases and the gate reads in one read transaction), so a run another process moves between two statements is never listed twice, nor missing for a tick. The rows are as of each node boundary: streamed output is never stored, and the last row says so. A run whose lease has been missing for more than one lease TTL isstalled; the poll never reconciles. - History. Finished runs, newest first: this project's by default,
ato widen to every project and back,fto cycle the status filter, twenty rows a page (at most three pages kept in memory, older ones read again). A pinned section sits above the page. Each row has the run's glyph and word, its short id, workflow, age and a cost that is qualified like every other cost (…until read,not finalfor a run that has not ended,unreadablefor a run whose log cannot be read,not readfor a cost whose read failed just now, which the next key reads again; never hidden). A run whose log cannot be read keeps its own glyph and status word and saysunreadableonly in the cost slot, where the figure it replaces would be (the line under the list addsits event log could not be read (it was <status>)).↓on the last row of a page reads the next page (the cursor lands on its first row) and↑on the first row reads the previous one (the cursor lands on its last row), so a long list is walked with the arrow keys alone;PgUp,PgDn,HomeandEndstay on the page. A page can hold fewer than twenty finished runs, or none, and still not be the last (the store is read 200 raw rows at a time, and the active runs among them belong to the Active tab), so the list never promises a▼ morefor rows it has not read: a page with no finished run but a next page saysNo finished run on this page. ↓ reads the next page., and the line under any page with more behind it saysNewest first. Enter opens a run. ↓ at the end reads the next page.ppins or unpins the run under its full run id (a fifty-first pin is refused with a sentence that names the stored total and how many of them are workflows, as the Defined tab's does), andEnteropens the run's detail. - The run detail. The header (status glyph and word, workflow, short id,
★ pinned, start, duration, tokens and the qualified cost, the run's error), then the node table and the run's events. A run whose end is held in the terminal outbox saysheld, neverin progress. The table lists the nodes that ran in the order they ran, then the nodes of the run's frozen workflow snapshot that have no record at all, in the order the workflow authored them: such a node is○ pendingand saysnot yet runwhile the run has not ended anddid not runonce it has, so a failure never hides the part of the workflow it kept from running. Each row has the last attempt's status, the attempt count, duration, tokens and cost, with a skipped node's reason; a figure with nothing to show says why in the words below.↑/↓,PgUp,PgDn,HomeandEndscroll,Enteropens the node on the selected row,nputs the cursor on the first node whose last attempt failed (a node that failed and was retried to success does not count; with none it saysNo node of this run ended failed.),ppins or unpins the run by the same path as on its row (and the list behind is read again), andEscorBackspacereturn to the list on the run it came from. Whether the run is pinned (the header's★ pinned, and which wayptoggles) is asked of the pin store by the run's full id when the detail opens and kept current byp, never read off the list: a run of another project is not on this project's page, so the page cannot say, and it is shown pinned (andpcan unpin it) all the same. A run of another project can be opened here and is never actionable. A log longer than twenty pages of a thousand events is read as far as that and says so; a row written by a newer binary is skipped and counted once. - The node page. One node of one run, opened from the run detail;
Escreturns to the detail on the row it left. It shows the node's order and type from the run's frozen workflow snapshot (Order in the workflow: 2 of 5 · type agent, two spaces each side of the dot; with no readable snapshot it saysOrder in the workflow: unavailableand shows the type the run recorded), what the workflow authored (agent and model) beside the model(s) the node actually ran on (from its settled model calls), its tokens, cost and time, every attempt (one row each: the last row recorded for an attempt number, so a re-dispatched attempt is listed once), the tool activity of the inspected attempt, its error, its output, and the node's own events. A node's input is never shown: no value of it is recorded, and the rendered input can be secret-derived. The page inspects the node's last attempt;nshows the first attempt that failed, but only for a node whose last attempt failed: a node that was retried and then succeeded has no failed attempt to show, andnsays so.↑/↓,PgUp,PgDn,HomeandEndscroll.- The output goes through the one masking seam (
render/output-masking.ts) that the final summary ofrelavium runandlogsalso masks through, so a value one of them masks cannot reach the terminal through the other. A value is masked whole and only then cut: a string leaf, an object key and the whole emitted text each pass the shared secret scrubber on their own, a member whose name labels a credential has its value masked whole (a name the scrubber's own header and query rules read as a label, or one of the exact namesrelavium runlists, which owns the list and how a name is compared; a boolean ornullunder one of those exact names stays, so the engine's masked-input marker{ secret: true, ref }stays readable), and terminal controls (escapes and the bidirectional controls) are stripped. The page shows at most 40 lines and 4,000 code points of an output, saysmaskedandshortenedon a line of its own under the heading when either happened (and masks the value of an output whose node id labels a credential whole, as the summary does for an output of that name), and never reads a stored document above 1 MiB: it says its size in bytes and shows no text of it. The error goes through the same scrubber and the same strip; a long line is wrapped, not cut. - The tool activity is content-free. One row per call: the tool's id (scrubbed) and how the call ended (the tool outcomes below), at most fifty calls, with a
… N more, not storedrow for the rest. No argument and no result text is kept, so none is shown. The trace belongs to the attempt the node's end event closed; any other attempt saysnot recorded for this attempt. - A node with no attempt row (skipped, or not reached) is a short page: its place and type,
skipped: branch not taken(orupstream unreachable) or the sentence of its state, and the same sentence for each figure. A node whose record cannot be read saysunavailableand guesses nothing.
- The output goes through the one masking seam (
- Nothing here changes a run. The tab host cancels, retries, edits and deletes nothing, and a pin is only a mark: it never changes a run or a workflow. Pins are global to the home database, survive restarts, and are capped at fifty.
- Evidence owed. The keys of the tab host, the run detail and the node page are rows 26 to 30 of the Windows interrupt-evidence runbook; none has been run on a Windows terminal.
Built on development (ADR-0140 §3 and its 2026-11-23 note). A typed or palette /agents at the landing opens the tab host on its own two-tab strip, Defined │ Sessions, and starts no chat; /agents with arguments says /agents accepts no arguments. and opens nothing, and a Home with no agent catalog says The project’s agents are not available here. It is the Home's own command: with a chat in front it is not routed (it is a near miss of the chat's own /agent, and a chat answers every near miss locally, so the Home says Unknown command. Did you mean /agent?, which never runs the command it names), and it is in no chat palette. The strip is the same tab-host screen kind with another tab set, so the screen slot gains no field; the keys of the other strip are unchanged, and no key moves from one strip to the other. Each tab is read again every time it is entered and remembers its cursor while the screen lives.
- Keys.
←/→move between the two tabs and stop at the ends;TabandShift+Tabgo around them.↑/↓move over rows and stop at the ends;Esccloses the screen at a list,Ctrl+Cfrom anywhere. The only bare letter on this strip iscon an agent's page (below), so none of the other strip's letters (r,x,p,a,f,n) does anything here,cdoes nothing on either list, and a paste is dropped. The legend names the keys each page answers to, with the way out last:←/→ tab · Tab cycle · ↑/↓ select · Enter open · Ctrl+C close · Esc closeon the Defined list,←/→ tab · Tab cycle · [c] chat · Ctrl+C close · Esc backon an agent's page, and… · Enter resume · Ctrl+C close · Esc closeon the Sessions list (the strip's own rule:Ctrl+C closeis named where the whole legend fits, above). - Defined. The project's agent files (
.relavium/agents, the catalogrelavium list --agentsandchat --agentread), one row per file, in the catalog's order (by slug): the agent's id and name, and✓ readyor✗ invalid. The selected row's line under the list is its file, or, for an invalid one, the catalog's reason (Cannot open: …).Enteron a ready agent opens its page; on an invalid one it opens nothing and says why. The page is read-only and shows only: the model, the provider, the temperature and the reasoning effort (not setwhen the definition has none), the tool grant as the definition declares it (the names, at most sixty-four, then… and N more;none declaredfor none) and the first 240 characters of the system prompt, which is scrubbed whole before it is cut, so a key-shaped string is masked and a cut is shown by…. It shows nothing else of the file, takes at most fourteen rows, and has one action,c(below).EscandBackspacego back to the list on the same row, andEscat the list closes the screen; the tab keys leave the page for the other tab. - Chat with an agent:
con its page.c(andCwith Caps Lock) starts a chat bound to that agent. The screen leaves and the build begins in the very state change of the key, so the chat opens where the Home was, idle (there is no first message, and the loading line echoes none), and is never drawn under the tab host. An invalid agent has no page and so noc, and the Defined list's legend does not name it;Ctrl+Cstill closes the screen and starts nothing. The Home adds no authority: it binds throughrelavium chat --agent's own session build. The file the page showed (named by the catalog's own path of it, never a word a person typed and never the row's label) is read once, through the catalog's hardened single-file read (an admitted project artifact inside the catalog root, a regular file under the size ceiling, opened with no final-link following, no blocking and an exact device and inode check), so a file swapped for a link out of the project or for a FIFO is refused, as it is in the list;chat --agent <path>itself reads a path it was given with a plain stat and read, and is unchanged. The definition that read produced is what is bound, and the file is not read again. If it is not exactly the definition the page was drawn from (a deep comparison of the parsed definitions: a tool, a prompt, a model, a server or a name edited, with the same id and still valid), nothing starts. The tool grant is exactly the definition'stools(narrowed, as for--agent, to the tools the chat host wires), every tool call still asks under the chat's mode (ADR-0057), the model and provider are the agent's own and not[chat].default_model, and a stdio MCP server it declares goes through the same per-server consent as every path (ADR-0084), the card naming the file, with nothing spawned before it is granted./clearin that chat rebinds the same agent without reading the file again. An agent that cannot be started leaves the Home on the landing with one fixed sentence, and the loading state is cleared and no chat starts, and nothing of the file or of the error is shown:The agent changed since it was listed. Open the list again.when the file is no longer the definition the page showed, otherwiseThe agent could not be started: <reason>., where the reason is one ofits definition is not valid,its file is missing or cannot be read(gone, or refused by the hardened read),its provider has no usable key (see /providers)orits session could not be built(a server it declares was not approved or did not start). - Sessions. This project's saved conversations, newest first, as the
/resumepicker lists them (the same store read, scoped to the same working directory): the title (Untitledwhen it has none), the agent and the age, with one page of twenty and a line that says when older ones exist (/resumesearches them).Enterresumes the selected conversation in place: the screen leaves in the very state change that starts the resume, so the chat opens where the Home was and is never drawn under a tab host. A conversation that cannot be resumed says so as a notice on the landing (the screen is already gone); a Home that cannot resume at all saysSession resume is unavailable here. Use relavium chat resume.on the tab and stays. The row's own id is what is asked for, and it is never drawn. - Unreadable and empty. A tab whose read fails says
The agents of this project could not be listed.orThe conversations of this project could not be listed., never the cause; an empty one says so and names no row key.
Built on development (ADR-0140 §3 and its 2026-11-23 note). /agent is a chat command, in the standalone chat and in the Home's chat alike: it shows the agent that chat is bound to, read-only, as a docked sheet on the chat's one sheet slot (the field chatSheet of the controller, which holds /permissions or /agent, one at a time), so the controller gains no field and the screen slot no kind. It reads the definition the session holds, never a file, so after a /models reseat it shows the new provider and model, and its reasoning-effort row is the session's current tier (after /effort high it says high, with (declared: …) where the definition declares another). A chat started from an agent's page (c) also shows a File row with the agent's catalog-relative path, and every chat marks a declared tool its host does not wire (the Home's chat can ask, so ask_user is offered there and invoke_agent, wired nowhere, is not). What it lists, how it fits and how it closes is chat-session.md's row. At the landing, with no chat, /agent is answered as any chat word is (below) and starts nothing; the landing's palette, /help sheet and /agents strip are unchanged.
Built on development (ADR-0140 §9). Each is a Home command: it is in the landing palette and on the /help sheet, a typed or pasted line at the landing opens it, and with a chat in front the line is the chat's, so neither opens a card there (/pricing reaches the chat's dispatch as an unknown slash; /import is a near miss of the chat's /export, so the Home says Unknown command. Did you mean /export?, which never runs the command it names). Neither takes an argument (/import accepts no arguments. It asks for the path., /pricing accepts no arguments.), neither is in a chat palette, and a Home started without the ports says Import is unavailable in this session. or Model pricing is not available here.. Both run on the Home's native prompt channel, so the keyboard belongs to the form while it is open and the Home shows one sentence when it closes. The shell commands, relavium import and relavium models pricing, are unchanged and remain the way to script them: each form runs the command's own prepare step (which writes nothing) and then its own commit.
/importasks for the path of a workflow or agent YAML (one text field, at most 1,024 characters, a leading~is your home; it is a path prompt, not a file browser). It then shows a card of what the import would write: the kind and id, where the file comes from and where the copy would go in this project, its size, up to two notices about literals the file holds, and that the copy is canonical YAML (comments dropped, values kept as written, the file you named unchanged). OnlyCtrl+Ywrites the file.Ctrl+N,Esc,Ctrl+Cand every other key write nothing, and the Home saysNothing was written.. It never overwrites: an id the project already has, or a destination that is taken, is a refusal shown before the card asks (Not imported. …), and its words namerelavium import --force, the shell command that replaces a file./pricing(the palette describes it asmodels pricing) asks whether to set a price or clear the override, then for which model: the merged catalog/modelslists, each with where its price comes from, or Another model…, which asks for an id and one of the registered providers. A set asks for each price the shell's field table has (input and output, cached input and the media rates; an empty answer leaves a price unset, and input and output are given together or not at all, as the shell requires). A card shows exactly what will be recorded and that the override belongs to this machine's operator and outranks the catalog's price. OnlyCtrl+Yrecords it.Ctrl+N,Escat the card and every other key write nothing;Escat an earlier question steps back to the one before it, and at the first it leaves the form. Clearing a model the operator has no price for is said, not asked. A refusal of the core is shown in the card's place with a way to change the prices or to close it: the pairing rule, a price over its ceiling, and the exactness rules the shell applies too. A price is read as the exact decimal that was typed and stored as the whole micro-cents it is (usd × 10⁸, never a float), so a positive price below the smallest step ($0.00000001per million tokens) and a price with more than eight decimal places are refused with a sentence naming the step, never rounded, because a rounded-down price would be stored as the0that means "free" and the cost cap believes it; hex, binary, octal and separated numbers are refused;0in any spelling stays a stated "free". The card and the sentence after a write print the stored value. A model id that is empty, holds an invisible or formatting character, or has a space at either end is refused before anything is asked (the field table's rule, which the shell applies to a set too; a clear is never refused by the shell, but the form also refuses an id its card cannot show whole, one too long or one the sanitizer would change). The form reads the database catalog before it decides a plan, as the shell does, so a model only a refresh has seen is anchored to its provider and priced as everywhere else.- Evidence owed. The keys are the chord card's, shared with the export card. No row of the Windows interrupt-evidence runbook names these two cards yet, and none has been run on a Windows terminal.
Built on development (ADR-0140 §3). A line that starts with /, typed or pasted at the landing, is a command line: it is answered there and never starts a chat, and nothing is sent to the model. A message cannot begin with /: a chat reads every line that starts with a slash as a slash command (one it does not know is answered unknown command, never sent to the model), so a chat started for such a line could only answer that. The first word decides the answer, whatever follows it (/tmp has junk and /cost is high are answered by /tmp and by /cost). (A / typed at an empty prompt opens the palette, so a line typed key by key reaches this answer through the palette: Enter on a query that matches no command answers the line exactly as the same line pasted is answered, by the same code, so a Home command typed with arguments (/run extra) says /run accepts no arguments. Use its picker to choose a workflow. here as it does for a paste, and is not reported as unknown. A query that matches a command still runs that command.)
| The word | The landing answers |
|---|---|
/help |
Opens the help sheet. With anything after it: /help accepts no arguments. |
A word the Home owns and that has no screen of its own (/exit, /doctor, /clear, /models) |
Runs as the palette runs it, with no arguments. With anything after it: <word> accepts no arguments here. Start a chat to use them. |
/mode, /resume, /permissions, /workflows, /agents, /run, /init, /providers, /import, /pricing |
Their own cards and screens (/agents is new: /agents with arguments says /agents accepts no arguments.; /import and /pricing say /import accepts no arguments. It asks for the path. and /pricing accepts no arguments.). |
Any other word of the registry, alone or with anything after it (/agent, /cost, /export, /cancel, /copy, /details, /thinking, /compact, /scrollback, /edit, /effort, /trim) |
The notice <word> works in a chat. Start one, then type it. /help lists the commands. |
| A near miss of a Home word, with or without text after it | Unknown command. Did you mean /x? (/help is one of the words it can suggest; the suggestion never runs the command it names). |
Any other lower-case word (/ and lower-case letters and hyphens), with or without text after it (/tmp has junk) |
Unknown command: <word>. /help lists the commands. The notice names the word and not the text after it. |
Any other line that starts with / (a path such as /Users/x/file.txt, a word with an upper-case letter such as /Zzzz) |
Unknown command: <line>. /help lists the commands. The line is shown as the chat shows an unknown command: every character outside printable ASCII is ?, and at most 64 characters are kept. |
A line that starts with a slash is never a first message: /Users/x/file.txt, /etc/passwd, /tmp has junk and /cost is high are each answered and none starts a chat. To send text that begins with a path, begin the message with a word (Please clean /tmp). A line that does not start with a slash is a message, whatever it holds. With a chat in front nothing changes: the chat's own dispatch answers its commands and its unknown words, and the help sheet does not open.
The landing's palette is bounded by the terminal. The / palette lists every command of the bare Home (fourteen), and with /import and /pricing it was 25 lines on an empty Home at 80×24, taller than a terminal of 24 rows. It is now drawn inside the landing, in the prompt's place, and the landing never exceeds the terminal with it open (at most rows − 1 lines). The strip and a /doctor report give up rows to it (the palette keeps all it needs when that is at most half the terminal, and otherwise half of it, never fewer than a window of one highlighted entry between two markers); when the matching entries do not all fit, a window of them is drawn with ▲ N more / ▼ N more for the entries it hides (the entry a marker stands on counted), the highlighted entry is always in the window, and ↑/↓, Enter, Esc and Ctrl+C do what they did. A palette that fits is drawn exactly as before (at 80×24 with one saved session, and on an empty Home from 80×30, all fourteen entries). The window is the one the tab hosts and the native select use (windowBody); a chat's palette is the same view and, with more rows than entries, draws as it did.
The help sheet is a screen of the slot, help: it takes the body of the landing (the strip and the prompt are not drawn), opens from the landing only, and is drawn in at most 23 rows at any terminal size (below 80×24 it is the hint to enlarge and the way out). It lists Commands, one row each by name with its description cut to the width while the rows allow (when they do not, the last commands are named alone, several to a row, and none is left out: at 80×24, with the fifteen commands below, /resume, /run and /workflows share one row): /help and every command the bare Home offers (the registry's Home entries and the Home's own: /exit, /doctor, /mode, /clear, /models, /providers, /init, /permissions, /resume, /run, /workflows, /agents, /import, /pricing), and Keys of the Home, the landing's own keys (Enter, Ctrl+J, /, ↓, Esc, Ctrl+D, Ctrl+C): Enter starts a chat with what you typed, or opens the row or the running run; ↓ moves onto a row of the strip from an empty prompt; and Ctrl+D (from an empty prompt) and Ctrl+C (pressed twice) exit, and ask first while a run executes. Chat-only commands are not listed. Esc and Ctrl+C close it (Ctrl+C arms no exit and cancels nothing); every other key does nothing, a key of the landing included, and a paste is dropped. The rows are built from the registry and from one constant of keys that the test presses on a landing, so the sheet cannot name a command or a key that does not work.
A page of the tab host never draws 0, a blank or a bare dash where it means "nothing was recorded", and never says two different things with one word: each way a figure, a trace, an output or an error's message can be missing has one fixed sentence (the table below has fifteen), and the sentence says what is known and no cause beyond it. The words live in one module of the CLI (apps/cli/src/render/absence.ts); the run detail's model, the node page's model and the tab host's lines import them and write none of their own, and a test (apps/cli/src/render/absence.test.ts) reads this section and compares it with that module in both directions.
| Sentence | Where it is drawn | What it says |
|---|---|---|
not recorded |
A node's tokens, cost, error or output | The node finished (completed or failed) and the figure was never written: an older log, or no settled model call and no step figure. Never used for a node that did not run, did not finish or is still going. |
did not run |
The figures of a skipped node, and of a node a finished run never reached | Nothing ran, so there is nothing to record. |
did not finish |
The figures of a node whose last attempt has no end event in a run that has ended | The node was left running when the run ended (a decided gate, a failure that stopped it). |
in progress |
The figures of a node that is running in a run that has not ended | The figure does not exist yet. |
not yet run |
A node of the frozen workflow that has no record at all, in a run that has not ended | Its turn has not come. |
not recorded (older log) |
The tool activity of a node whose end event has no trace field | The log was written before the trace existed. It does not say the node made no call. |
not recorded for this attempt |
The tool activity of an attempt other than the one the node's end event closed | The trace belongs to another attempt. |
no result recorded |
One call of a tool trace | The node ended before the call was answered, or the tool threw (the node's own error says why it failed). A refusal is a recorded result and is not described this way. |
no tool calls |
The tool activity of a node whose trace was recorded and is empty | The node made no tool call. |
no output |
The output of an attempt that failed | The attempt produced no output. |
(empty) |
The output of an attempt that recorded an output and it is the empty string | The output exists and says nothing; this is not no output. |
skipped |
The status word of a node the run passed over, followed by its reason | branch not taken or upstream unreachable; every figure of the node says did not run. |
unavailable |
A node page whose record could not be read, and the node's order when the snapshot could not be | The attempt row is gone, the run is gone, or its log is damaged; nothing is guessed in its place. |
no message recorded |
The error line of a run's detail | The run's stored error carries a code and no message. |
no node was recorded |
A run's node table | The run has no attempt row and its frozen workflow (when it could be read) names no node. |
The four ways one call of a tool trace ends. <duration> stands for the call's measured duration (12ms, 1.4s).
| Words | What it says |
|---|---|
ok |
The call ran and was answered, and no duration was measured. |
ok in <duration> |
The call ran and was answered. |
refused |
A recorded result with no duration: the tool never ran (a denied call, a refusal before dispatch). |
failed after <duration> |
The call ran and failed. |
The strip is a bounded, indexed aggregation over the durable history.db (ADR-0050), re-read on every return-to-Home and on an idle tick that reads only when the log changed — never a live subscription. Under ADR-0122 its sessions, parked runs, failed runs and recent runs are keyboard-openable; the other rows remain displays. It never mutates anything on its own (the no-IDE-shell principle of ADR-0007 applied to the CLI by analogy: management + chat only — no file tree, editor, or embedded terminal).
Before its first read the Home reconciles (2.6.G liveness): a run a dead process left running is settled and shows under Attention required, and a terminal held in the outbox is written. What is settled, how, and which runs are left alone are the rules run and gate follow, stated once with exit code 5. The Home waits for this after the signal and exit nets are registered and before it mounts, so a crashed run whose lease has expired is settled before the first frame. A dead process's lease stays live for up to a minute after it died, and until it expires the run still shows as running; a later open settles it. Reconciling is best-effort and never keeps the Home from opening.
relavium ← branded header (bold)
Attention required
⚠ deploy · approval · "Ship it?" · expires in 5m
⚠ migrate · review · "LGTM?" · expired ← overdue ⇒ red
✗ nightly-build · failed · 3h ago · $0.0210
Continue
Sessions
Plan the launch · planner · 5m ago · $1.2000
chatter · 12m ago · free ← untitled ⇒ agent slug once
Runs
deploy · completed · 2h ago · free
Agents
coder · 3d ago
> █ ← live prompt + cursor
/ for commands · type a message to start a chat · Ctrl+C twice to exit ← footer hint (reads `Press Ctrl+C again to exit` once armed)
- Attention required — the parked runs of this directory first, each a row with the key that opens its card (above); then pending human gates (ordered by their paused run's
created_at DESC, a glanceable proxy for start time), then failed runs (most-recent first). An overdue (expired) gate is escalated yellow → red. A run that is failed or human-gated is lifted into this section and never repeated in Continue, and a run that has a parked-run row is not repeated by the gate rows either. - Continue — the neutral recency lists: recent sessions (title or agent slug · agent · when · cost), runs (workflow or short id · status · when · cost), and agents (slug · last used), each bounded to a small limit.
- First run — when there is nothing to show, a welcome (value framing + an example prompt) replaces the empty strips.
- Every free-form label (a session title, a gate message) is sanitized at the display boundary (control sequences stripped, newlines/tabs collapsed) so it cannot forge a row or inject an escape; kebab slugs and closed enums are safe by construction. Cost reuses the canonical micro-cents → USD conversion (
freefor zero-cost). - The aggregation is indexed, not full-scan (partial indexes on
updated_at/created_atwith the soft-delete predicate), and the pending-gate check reads only the gate-relevant events (the per-token streaming firehose is excluded), so the whole snapshot is a handful of bounded top-N reads — it over-fetches just enough to backfill Continue past the entries lifted into Attention.
(ADR-0140 §6.) At an empty prompt ↓ focuses the first actionable row, ↑/↓ move along one list in the order the strip draws it, and Enter does what the row's kind says. Every other key, Esc included, leaves the focus (a key that is typing starts typing). The focused row is marked > and is always one of the rows drawn at 80×24.
| Row | Enter |
|---|---|
A parked run of this directory (‖) |
its gate or budget card; a run with no gate to decide says why |
A failed run (✗) or a recent run in Continue → Runs |
its detail in History (the tab host opens on History at that run; Esc steps back to the list, then to the landing). No run is written, resumed or cancelled from the strip: p on the detail only marks a finished run (a pin). A run of another directory opens too |
| The run this Home hosts, when it is one of those rows | the run view, as the ▶ row does |
| A session | the resume, as before; a resume the person cancels (the retry question, Esc while it restores) ends on the landing with the notice Resume cancelled., and the /agents Sessions tab's Enter does the same |
| A run whose event log cannot be read; a gate of a run that is not parked here; an agent | nothing: they stay display rows, and ↑/↓ skip them |
- The focus is the row's identity, not its index. A run row is named by the run id and a session row by the session id, so a read that puts a row above the focused one moves the row and keeps the focus on it. When the focused row is gone (the run was answered, a session ended) the focus is dropped, back at the prompt: a refresh never moves it onto another row, which could be a different kind of row.
Enteron a row counts only once the frame that shows the focus is on screen, and on a row whose record has gone since it was read (a session that was removed, a run no longer in the history, a run no longer parked here) it opens nothing and says so. When a read of what another terminal changed takes the focused row off the strip, the firstEnterafter it is ignored once, with no notice (it was meant for the row that went, and must not reach the empty prompt's ownEnter: the run view, or provider setup when no provider is set up). Only that read sets it, and only with the landing in front: not when the row left because this Home started a leg on that run (the person answered its gate, so they know it has gone), and not behind a screen, a card or a chat. Any other key, a paste, and any screen or card that opens or closes end it, and the nextEnteris the prompt's own. - The idle tick. Every 5 seconds the Home asks the database's change token (
PRAGMA data_version, the in-process generation and the hosted run, the Active tab's own probe) and re-reads the strip only if it moved; an unchanged token reads nothing, and a read that matches what the strip shows changes nothing on screen. The tick is paused, not stopped, while a screen, a card (the gate and budget cards, the exit question, a native form), an overlay (palette, models, effort, permissions sheet, search, mention) or the/helpsheet is in front, while a chat or its build is, and while the terminal is below 80×24; the landing coming back from a screen reads once at once. A failed read (the strip's rows, or the parked runs' read: either one fails the whole read) keeps the rows the strip has, is never counted as read, and is tried again after twice the wait each time: 5, 10, 20, 40, then 60 seconds at most. A read that works, or a change token that has moved since the last attempt, starts the wait over at 5 seconds. The strip's relative words (5m ago,expires in 5m) are worded when the landing is painted, from the clock then, so a landing nothing repaints keeps the words of its last paint until the next key, read or resize repaints it. The tick is a timer like the run watch: closing the Home, or a signal, cancels it. - A paused run of another directory stays in Continue → Runs as a
pausedrow that saysother projectafter its cost (the run's recorded project root differs from this Home's; a run that recorded none carries no mark), andEnteropens its detail in History, never a card or a resume. (Only this directory's parked runs have an Attention row and a card.)
A session title is derived from the first user message (~40 chars, truncated by code point so an emoji never splits) so the Sessions list is readable; an LLM-summarised title is a later phase.
The Home and the chat render as one ink tree with conditional rendering — a single useInput owner — never two mounted apps, so the raw-mode owner never conflicts. The session state machine lives in a plain external store (home-controller.ts, unit-tested without ink); the ink component is a thin view that subscribes to it and forwards every key.
| Mode | What renders | Transition |
|---|---|---|
home |
the management strip + the live prompt | a non-empty submit → loading; Ctrl+C twice → clean exit (0), unless a hosted run's leg is live (preparing, executing or cancelling), when the exit-guard card opens instead (see Leaving the Home while a run executes) |
loading |
the pending message echoed under Starting chat… |
the deferred buildChatSession resolves → chat; it rejects → back to home with a banner |
chat |
the live chat region (chat-session.md) | the chat ends (/exit, /cancel, or a second Ctrl+C inside the arming window) → back to a freshly-read home |
The chat session is built after the ink mount (an explicit loading state), so the strip shows instantly and a slow or failed build degrades to the loading state / a Home banner rather than blocking the entry. A built chat reuses the built-in default chat agent over [chat].default_model (the mode-gated editing/search grant plus run_command, which asks on a card in every mode except auto, where a command the person remembered or approved for the session runs unasked and anything else, a command on the repository's allowlist included, still asks — see chat-session.md); the Home does not bind a custom agent (relavium chat --agent <ref> is the path for that).
Resume, model reseat and /clear retain the exact bound agent grant. /clear
uses that session's private fresh-builder closure, including an authored agent
named relavium-chat or an older read-only snapshot. It never identifies the
built-in agent by id. Each replacement resolves the current configured start
at its bound workspace and owns fresh approvals, read evidence and previews.
| Key | home |
chat |
loading |
|---|---|---|---|
| printable | append to the prompt buffer | append (idle) / ignored mid-turn | ignored |
| Return | submit → start a chat | submit the turn (idle) / ignored mid-turn | ignored |
| Backspace / Delete | erase the char before the cursor | erase before the cursor (idle) / ignored mid-turn | ignored |
/mode (MVP-3) |
configure the startup default | choose current mode or separately save a startup default | — |
| Shift+Tab (2.5.E) | — | cycle the chat mode (ask → plan → accept-edits → auto), ADR-0057 | — |
| Esc (2.5.E) | — | abort the in-flight turn (mid-turn, EA7 — keeps the session; distinct from /cancel) |
— |
Ctrl+Y/Ctrl+G/Ctrl+O/Ctrl+N/Ctrl+R/Esc/Ctrl+C (2.5.E; chords since PR #99) |
— | answer a pending per-tool approval — Ctrl+Y once · Ctrl+G (then Enter) always · Ctrl+O (then Enter, a command card only) remember for the project · Ctrl+N no · Ctrl+R no, with a reason · Ctrl+C, and Esc at the card, reject and stop the turn (Esc on the full view returns to the card; the card owns the keyboard; a bare letter answers nothing, so typing can never resolve it) |
— |
| ↓ / ↑ / Enter / Esc (MVP-8 steps 3 and 5) | at the empty prompt: ↓ moves onto the first actionable row, ↑/↓ move along them, Enter opens the focused row (a parked run's gate or budget card, a failed or recent run's detail, a session's resume), Esc returns to the prompt |
— | — |
| Ctrl+J (2.5.D) | insert a newline (multi-line prompt) | insert a newline (idle) | ignored |
| ↑ / ↓ (2.5.D) | — | recall prev/next submitted line (buffer edge) / move by line (mid-buffer) | — |
| Ctrl+R (2.5.D) | — | reverse-incremental history search (chat only) | — |
@ (2.5.D) |
append (no completion in the bare Home) | at a word boundary, open dir-navigable file completion → insert a @path marker + queue a chip that expands to UNTRUSTED context at submit (ADR-0061) |
— |
! (2.5.D) |
append | a leading ! runs a shell command through the same command card as the model's run_command (only a remembered grant that no file write has outdated, or an exact command approved for the session, runs unasked, and only in auto; the [chat].allowed_commands allowlist pre-approves nothing and only labels the card; ADR-0118) → spawn (shell:false); output shown read-only + queued as a chip carrying UNTRUSTED context to the next message (ADR-0061) |
— |
Esc (2.5.D) |
— | at an idle prompt with pending @/! chips, discard them (else mid-turn abort) |
— |
| Ctrl+C (interrupt keymap) | arms (the hint reads Press Ctrl+C again to exit, any draft stays while it is armed); a second press inside 2 s → clean exit (0), unless a hosted run's leg is live (preparing, executing or cancelling), when the exit-guard card opens instead (see Leaving the Home while a run executes); a draft in the Home prompt is lost with the process |
interrupts the running turn (the abort Esc performs) and arms; at an idle empty prompt it arms; with a draft the first press clears the draft and arms nothing, the next press (now an empty prompt) arms, and a press inside 2 s after that → /cancel, end the chat, return to Home: three presses from a draft, two from an empty prompt |
bail out (exit at once: nothing is loaded and nothing can be lost), unless a hosted run's leg is live (preparing, executing or cancelling), when the exit-guard card opens instead (see Leaving the Home while a run executes) |
| Ctrl-D (EOF) | clean exit (0) on an empty prompt (a non-empty buffer keeps it — no data loss), unless a hosted run's leg is live (preparing, executing or cancelling), when the exit-guard card opens instead (see Leaving the Home while a run executes) |
— | clean exit (0) (the prompt is empty while building, so EOF bails the build like Ctrl-C), unless a hosted run's leg is live (preparing, executing or cancelling), when the exit-guard card opens instead (see Leaving the Home while a run executes) |
Ctrl+C is always an escape — it is honored even in the loading state (so a hung build is never an unkillable wedge), and leaving the loaded Home takes two presses, and leaving a chat takes two from an empty prompt and three from a draft, so one stray key cannot do it (Ctrl+D on an empty prompt still exits the Home at once when no hosted run's leg is live). The Home keeps its draft through the first press and loses it when the second exits (ADR-0115, amended 2026-11-21). The reseat-less mode keymap (Shift+Tab + /mode) and the fail-closed per-tool approval landed in 2.5.E (ADR-0057; wired into the Home via the same home-controller.ts key routing — see chat-session.md); the interactive / command palette landed in 2.5.C. The input ergonomics (Ctrl+J multiline, ↑/↓ history + Ctrl+R search, readline motions) and the two data-moving affordances (@-mention file injection, !-shell command escape) landed in 2.5.D (ADR-0061) — the @/! semantics are the SAME as the standalone chat (see chat-session.md).
The footer hint-bar in 2.5.B was the single fixed line; the context-aware hint-bar (the two or three most-relevant keys per context) landed in 2.5.C, and the always-visible active-mode footer indicator (formatSessionFooterWithMode) arrived with 2.5.E (ADR-0057) — together they extend that fixed footer.
The Home receives a bracketed paste on ink 7's native usePaste channel (separate from useInput; adopted in 2.6.F, ADR-0068): ink enables/disables bracketed-paste mode (ESC[?2004h/l) automatically on mount/unmount and delivers the whole paste as one event (the ESC[200~ … ESC[201~ markers stripped, and split stdin chunks reassembled). It is routed to HomeController.handlePaste, which appends the block verbatim — embedded newlines kept, CRLF/CR → LF — so a pasted multi-line block never submits early. A defensive ESC[?2004l is also written on the signal/exit teardown as belt-and-suspenders over ink's own unmount cleanup. Gate:
- A paste appends ONLY when the main prompt is the active editable target — dropped while a session builds (
loading), a chat turn streams (running), a!-shell / submit is in flight, or any keyboard-owning overlay/submode is open (the/palette,Ctrl+Rreverse-search,@-mention,/models,/effort, the[c]reason capture, the/permissionsand/agentsheets). The gate is the sharedpasteIsEditablepredicate, so the Home and the standalone chat can never diverge (a type-ahead queue while a turn runs is deferred — see the phase deferred list). - Security (ADR-0057): a paste is dropped while a per-tool approval is pending, so a pasted approval token (
y/a/n/ … or a control byte) can never answer the fail-closed approval floor — paste arrives on theusePastechannel and is never routed to the approval key reducer.
A branded banner — a wordmark + tagline plaque — is drawn where the plain relavium heading otherwise sits, on a
fresh install: [preferences].show_banner is true (always) / false (never), and absent means shown only while
the Home is empty, so it greets a first run and auto-dismisses once there is anything to continue. It degrades to
plain ASCII under NO_COLOR / --no-color, and a forced banner stands down on a terminal too short to hold it beside
the strip. It is cosmetic and gates no feature.
The Home renders in one of two modes (ADR-0068 §e): since Step 4b-3 the default on a TTY is the full-screen alternate-screen renderer, with the inline renderer (native scrollback, the screen-reader-friendly fallback) as the opt-out — --no-alt-screen (commands.md) for one invocation, or [preferences].alt_screen = false (config-spec.md) durably. A non-TTY / --json / CI path is always inline (byte-identical). The alt screen renders the transcript through a resize-tracked viewport with scroll-back + auto-follow — PgUp/PgDn page, Ctrl+Home/Ctrl+End jump to top/tail, an upward scroll pauses the tail-follow and reaching the bottom resumes it (the scroll keymap is gated behind any keyboard-owning overlay) — and a per-entry wrap cache (keyed on the immutable transcript entry) keeps even a very large transcript cheap (Step 4b-3). The in-Home chat also carries the mouse selection + copy-on-select and the /scrollback, /edit and /copy copy-and-search hatches — the same code as relavium chat (chat-session.md); the hatches are chat-only, so they never appear in the bare Home's palette. Mouse reporting is armed only while the chat owns the screen: the Home landing has no viewport to wheel-scroll and no in-app selection, so it keeps the emulator's own click-drag selection instead. The full-screen mode is inherently inaccessible to screen readers — see accessibility.md for the trade-off and the inline-renderer escape hatch.
Both inline and full-screen interactive modes use the CLI's resolved output policy when mounting Ink. An inline reseat keeps the existing terminal scrollback and displays the new store's entries once; the root input owner stays mounted. The resume/reseat notice and retention ordering is defined in effect-journal.md.
Below 80×24 the landing shows Terminal too small (WxH) — resize to at least 80×24.
and a Ctrl+C twice to exit affordance. It suspends the management strip, prompt and overlays,
and refuses hidden typing, paste, Continue and palette activation using the live terminal
geometry. Esc and Ctrl+C/Ctrl-D cancellation remain available (Ctrl+C arms, then exits, as on the loaded Home). A resize restores the
existing input and selection. The resize is observed on stdout's cross-platform resize
event (backed by SIGWINCH on POSIX).
MVP-3 Step 2 accepted on development (2026-11-12): the same minimum and measured input
custody also apply inside the Home chat and standalone chat. Prepared-write
approval and /details share the
chat interaction contract
in both renderers; the full view and /details are one readable inspection screen
(ADR-0134,
chat-session.md). Tool details are chat-only; opening them executes no tool
and does not activate the management strip. Their bounded private previews
expire on teardown and are absent from restored history and transcript hatches.
At or above the minimum, management lists use the remaining row budget after the full
prompt, keyless action, errors and notices. The focused Continue session stays visible.
Strip labels truncate at the terminal edge; diagnostic notices and recovery instructions
wrap without dropping their source. Long notices show a range and PgUp/PgDn affordance
in both renderers. A notice is bounded to 32,768 characters before it is sanitized, wrapped and paged, and the cut is shown by … at the end of its last page, so a notice reads as longer rather than as complete and its layout, which is rebuilt on every frame, costs the same whatever it was handed (the run view's notice rows apply the same bound). A new report or resize returns to its first page. Notice paging does
not submit input or change Continue focus, and yields to a keyboard-owning overlay.
The invocation-backed Home shares one signal lifecycle (SIGINT/SIGTERM/SIGHUP/SIGQUIT) across the Home, pending/replaced chat hosts and MCP teardown. Its actual owners follow the canonical invocation ordering; the synchronous native exit reap is a last-resort request, not a cleanup acknowledgement:
| Outcome | How | Exit code |
|---|---|---|
| Clean Home exit | a second Ctrl+C inside the arming window / Ctrl+D or EOF on an empty prompt in home mode; or, for a bare relavium permissions, closing the tab host it opened on Permissions (Esc or Ctrl+C); with a hosted run's leg live the exit-guard card opens first (Leaving the Home while a run executes) |
0, unless a hosted run's safety fact is the outcome (next row) |
| A hosted run's safety fact | the Home leaves, by any of the ways above or by a signal, after a leg it hosted ended with a workflow safety fact; the most serious one sets the code, and it outranks an infrastructure fault or a signal's code (the line printed after the screen is restored) | 8 money not confirmed, 7 an effect needing attention, 5 a held terminal, 6 taken over elsewhere (canonical table) |
| Signal-driven, without a stronger infrastructure fault or a hosted run's safety fact | an external SIGINT / SIGTERM / SIGHUP / SIGQUIT (kill -INT, closing the terminal window, a parent's signal) |
128 + signo — 130 (SIGINT) / 143 (SIGTERM) / 129 (SIGHUP) / 131 (SIGQUIT); infrastructure faults follow the canonical precedence |
An external signal stops admission and requests terminal restoration and cleanup of every actual host, including an in-flight build. Repeated signals share the original finite deadline and cannot restart cleanup or force an immediate second-signal exit. The physical exit backstop bounds the invocation; it does not certify terminal, MCP or database release. The shared database closes only after actual host/work settlement, and failed or held cleanup retains its owners and signal custody. Infrastructure faults may strengthen the final disposition; read the canonical remedies before repeating uncertain work. The ownerless library compatibility path is not this product invocation lifecycle.
A keyboard Ctrl+C does not normally reach the process as SIGINT (raw mode), so the controller handles it through the one interrupt keymap (Home: arm, then 0; chat: interrupt and arm, then /cancel). There is one exception: while a /scrollback or /edit suspension owns the terminal, ink has turned raw mode off and the kernel delivers a real SIGINT. That signal belongs to the hatch — the Home's handler drops it (suspendPort.isSuspended()), the hatch's own listener resumes the renderer, and the session survives. An external SIGTERM/SIGHUP/SIGQUIT still tears down, suspended or not.
A chat launched from the Home has its own exit code 4 (chat-session.md) — but inside the Home that 4 is consumed by the mode loop (a chat ending returns to Home), never leaked. The Home's own exit code is 0 on a clean exit with no hosted run's leg live; a hosted run's safety fact makes it 5, 6, 7 or 8 (the most serious: 8, then 7, 5, 6), and with a leg live the exit-guard card opens first. See the canonical Exit codes table.
Settled in 2.5.B, recorded here as the canonical home (not re-litigated elsewhere):
- In-flight build surface — a slow
buildChatSessionshows a staticStarting chat…loading state that echoes the pending message (the typed text never visually vanishes). A richer spinner is deferred; theEscmid-turn abort (once a chat is built) landed in 2.5.E. - Attention ordering is a recency proxy, not a deadline sort — gates are ordered by the paused run's
created_at DESC(a glanceable proxy); true gate-recency / soonest-expiry-first would need the pending-gate read to carry the raise time. The renderer escalates an expired gate to red regardless of position. - Continue excludes lifted runs by status — a failed or human-gated run lives only in Attention, never duplicated in Continue; the strip over-fetches to backfill Continue to its limit.
- Landed since 2.5.B — the interactive
/palette UI (filterable, keyboard-navigable — 2.5.C S3b; the curated slash command set + the command-manifest shape are homed in commands.md); the ask/plan/accept-edits/auto mode keymap + per-tool approval +Escabort (2.5.E, ADR-0057); the input ergonomics +@-mention +!-shell (2.5.D, ADR-0061); the Home-side/modelspicker over the merged live/static catalog (2.5.G S7, ADR-0064 §10 — detailed in commands.md); and the first-run onboarding wizard (2.5.G S8 — above). - Forthcoming, extending this doc — an in-app message-queue/type-ahead while a turn runs (deferred, see ../../roadmap/deferred-tasks.md).