Skip to content

0.85.0

Released 2026-11-24. A feature release on 0.84.0: headless tower runs, behind a switch that is off by default. Design: lite B2, D, E, F §4 (the boss’s decisions: f_conv=headless, f_close=view, f_rollout=switch, f_restart=drain) and its addendum F entry (fe_park=park_notice, fe_viewer=working, fe_address=both, fe_tower_cmd=own, fe_midturn=wait_stop), built at the boss’s minimum: the main panes stay the usual way to talk, and the head’s viewer serves zen or lazy mode.

  • towerRuns.headless in config.json. With it on, every tower run (event runs, boss conversations, head runs, ally runs) is pi --mode rpc as the sb server’s own child: no pane, no herdr agent start, no typing. The run claims with the PID the server spawned and a per-run nonce from its environment, which drops the server’s, Herdr’s, and any subagent or intercom identity. stderr goes to tower/<ws>/runs/<run8>.stderr, capped. See Headless runs.
    • Only the server writes a run’s stdin, and only abort, extension_ui_response, and get_state. The boss’s words reach the model as a straw-tower message, so a line that starts with / or ! stays text.
    • A run that exits without tower_done is crashed at once; one that stops polling for 30 seconds is killed (its process group, or taskkill /T /F on Windows). A server restart drains: up to 60 seconds for each run to settle, then it ends, and a boss conversation resumes its session at the boss’s next word.
  • A service needs no tab. The head’s forward, an ally wake, and a controller’s open make none. A session’s ensure-tower on an attended device asks for a viewer tab, which the server types into once, with exec, before the viewer’s first poll and within a minute of making it (onceGate in typegate.ts), and never again. A viewer that ends closes its pane; the service goes on.
  • The viewer prints the run’s live text above its input (│, ▸, ✓/✗, ·, ?), cleaned on both ends and never read as a card. Typed alone: /stop aborts the run’s turn, @<workspace> <text> sends the boss’s words straight to that tower (head-event with to), and /yes N, /no N, /pick N answer a run’s dialog. A dialog nobody answers is cancelled after 60 seconds.
  • The page and the approvals. A tower’s comms show the message its run writes now, as plain text, on every device. This computer’s page lists a run’s dialogs above the composer and answers them (door: page); a paired device never gets them. A headless run’s link_request and an ally run’s gated call are the server’s own dialogs: the boss’s yes, or the sender’s device’s yes for a forward request, records one Allow bound to the run, the call and what was approved. pi’s project-trust question in a headless run is asked as a dialog, and a yes trusts the folder for that run only. The Terminal tab says runs are headless until a viewer runs; Open viewer asks for one. The head page’s composer takes @<workspace>; ally runs are chips with no pane row. Words typed in a viewer carry door: viewer.
  • Zen under headless runs (the design, ZF-1 to ZF-9 as recommended; Headless runs in Zen). A run’s dialog is a blocking Zen card on this computer’s page, queued for Enter like every card, with Allow and Deny, Yes and No, the options and Send, or a field and Send, and Cancel; an approval card takes the confirm bar’s 400 ms dwell. A card that ends on the screen says why (answered elsewhere, the run ended, timed out); one that ends while queued leaves unseen. A dialog that boss_wait_ask draws is its wait card, not a second one. A paired device and an operate controller get no card and no count.
  • The target button. The head’s input starts with a button that names where the words go, with a list a phone can use (the boss: 「@ 挑選這個可以做成放在 input 頭的按鈕,然後可以有一個選擇器,這樣 mobile 才好用」). In Zen a pick, or a typed @<workspace> text the server accepted, makes that tower the companion for the visit, its run’s message under way shown in still ash; Esc goes back to the breath. On the head page the target holds for the page, and a direct send leaves a note linking the tower’s comms. Only with headless runs.
  • The head parks notices. A tower_send with reply: false and no relay=boss to a workspace with no service and nobody joined opens nothing: it waits there as a quiet event (the same text replaces the last), the ask reads parked on the head page, and the next run there takes it.
  • With the switch on, a run’s dialog that is not an approval waits 10 minutes while this computer has a page open (it was 60 seconds), and 60 seconds otherwise (ZF-2).
  • Nothing, with the switch off: the pane path of 0.84.0 runs as before, and the new control fields (ensure-tower view, head-event to, run-abort, run-dialog, run-approve, run-trust, prompt-poll cursor) and the page’s routes (dialog, viewer, the head’s to) are refused or ignored.
  • The Windows VM and box passes of headless runs; the switch stays off until they are green, and the release after them deletes the pane path.
  • /to, /runs, and the head viewer’s focus; the head brief’s lines for direct conversations and parked counts; an ask’s expired state.
  • A head viewer that closes ends the head as its tab did before.
  • To try it, set "towerRuns": { "headless": true } (and "pi" when the pi on the server’s PATH is not the one) and restart the sb server. A tower’s existing standing pane stays a shell the server no longer types into; close it, and /boss tower makes a viewer.