Skip to content

banto v0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 13:00
· 62 commits to main since this release

Changes you should know about

  • A Director whose pane ends on its own now closes its brigade. Quitting the agent from inside its pane, a crash and an agent self-update all count. banto hangs up every other pane of the brigade, as a confirmed Prefix x on the Director does, without asking. Members and any Plan stay in the store, and Enter on the Director's row brings the brigade back. banto cannot tell a deliberate quit from a crash or an update at the moment of the exit, so every case closes. The status line gives the cause and names the members that were not idle. The same happens when the Director's output is lost, and when its pane fails to open while other panes are hosted or still opening. Nothing closes for an exit banto asked for (a close, a disband, quitting, a rewire), or when the Director is the only pane. Exiting the Director and pressing Enter on its row to restart only the Director no longer works. Staging a brigade whose Director's session cannot be found still opens the Workers alone.
  • --emporium and --oodana are removed. They were accepted and ignored. banto now refuses them as unknown arguments, so a shortcut or script that still passes one fails to start. Run banto with no flag.
  • The database schema moves from v23 to v25 (Progress, Plans). On first opening a v23 database, banto copies it to banto.db.before-v24 beside the database, if that copy does not already exist, then migrates it. An older build cannot open the migrated database: restore a compatible copy, or run the new build. If your database has a different name or schema version, the backup name follows it and the first migration reached. Plans are also written as Markdown files to plans/<brigade>-<n>.md in banto's data directory.
  • Mail is handed over in pages, and a long message is refused. Codex cuts any tool output above about 40,000 bytes without an error (measured on 0.172.0), so check_messages used to lose the middle of a long delivery for a Codex member. It now returns the oldest unread messages that fit in 32,000 bytes, moves the read cursor only past what it returned, and says how many are still waiting. send_to_peer and interrupt_worker refuse a text over 25,000 bytes and send nothing; the sender is told to split it or send a file's path. read_plan takes an optional part and splits a long Plan the same way.
  • banto now asks the terminal for xterm modifyOtherKeys level 1 on Unix, right after entering the alternate screen, and turns it off on exit. iTerm2 sends Shift+Enter as a bare CR by default, which a pane cannot tell from Enter; with this it arrives as Shift+Enter. Nothing is sent on Windows. Known effects: in iTerm2, =, 1 and 9 pressed after the prefix while Ctrl is still held no longer fire, and a banto that is killed leaves level 1 on until reset. kitty, WezTerm, Warp, VS Code, tmux and ssh were not measured.
  • Several key encodings changed in a pane. Alt+Enter now writes ESC CR, a newline in Claude and Codex, where it used to submit. Alt+Backspace writes ESC DEL, a word delete. Alt+←/→ keep the Alt, so iTerm2's Option+←/→ moves a word. Ctrl+\ ] ^ _ reach the pane as control bytes on macOS and Linux, where the pane used to get the digits 4 to 7. Ctrl+-, Ctrl+Shift+/ and Ctrl+Shift+\ reach it as 0x1f, 0x7f and 0x1c, including on Windows for Ctrl+-. A prefix chord now arms on its physical key: C-\ now arms on macOS and Linux, and so do C-], C-^, C-_, uppercase chords and C-@. Shift is ignored when matching and Alt never arms it. A C-_ prefix now also arms on Ctrl+-. These were checked in Ghostty 1.4.0 on macOS, and the modifyOtherKeys and Option+←/→ changes in iTerm2 3.7.9; the prefix, Alt+Enter and Alt+Backspace changes are unverified on Windows.
  • Every host bell is now followed by a desktop notification, and a session in no brigade rings when it goes quiet. banto writes an OSC 777 notification titled banto after each ring of the host bell, in every terminal, naming what wants you by its title. [attention] notify = "off" keeps the bell alone. Terminals that do not understand OSC 777 drop it; Terminal.app and iTerm2 were checked and drop it silently. A session in no brigade that finishes its turn and goes quiet now marks its row and rings with a "went quiet" banner, with the brigade's 5 second settle; it stays silent while the pane has focus unless F4 is on. A lone pane that rings BEL while off stage now marks its row and rings too.

New

  • Planner: a Director can hand you to a Planner with open_planner when the work spans several errands and its scope or completion is not settled in your words (planner = "auto", or "off" for only when you ask). The Planner is a session in the brigade, token planner. It works the Plan out with you in its own pane and writes each draft with write_plan, in your language. A Claude Planner reads the code with Read, Grep and Glob only (planner_tools) and defaults to opus/xhigh.
  • Plan approval: nothing is settled until you read a draft on the reading screen (F5) and press A (Shift) to approve the version on screen. If the Planner has written a newer version since you opened the screen, banto refuses and tells you to read it first. Approval sends the Director a message from banto, which also says whether the Plan goes to the Goinkyo for review, by goinkyo_consult. release_plan splits or reorders an approved Plan and nothing more. close_planner ends the Plan and archives the Planner as Planner: <title>; completed is refused unless a version was approved and every task in Progress is done or dropped. Disbanding a brigade closes an open Plan as abandoned; closing the brigade keeps it. The default planner_prompt asks for a Plan of about 5,000 characters. That is a target, not a limit, and your own planner_prompt replaces the default whole.
  • The Planner on Codex: [brigade] planner_agent = "inherit" | "claude" | "codex" (default "inherit", the Director's own product). The product is chosen once, when the Planner is opened, and kept for every later launch. open_planner refuses and starts nothing when that product cannot run: it is not enabled, its home is missing, or banto's Codex hook is not launchable or not trusted. A Codex Planner runs with -s read-only -a never, like a Codex Goinkyo. On Codex 0.172.0 an interactive launch refused a shell write and an apply_patch. Codex's shell, web search and apps stay available, so read-only does not mean contained. Its model and effort are planner_model and planner_effort under [brigade.codex], given at creation only.
  • Progress: update_progress is a Director-only tool that records one Progress per brigade: a stage line, tasks with banto's state words, replaced whole on every write. The stage is drawn on the Director's tile border as a small chip. A task can carry outside_plan: true when it is not the open Plan's work, such as an errand you asked for on the spot; close_planner(completed) tests only the tasks that are not marked, and refuses when there is no task or every task is marked. request_decision takes an optional question.
  • Reading screen (F5): from the list or from a pane, a read-only screen shows a brigade's open decision, its Progress and its Plan, for any brigade, staged or not. Opening it starts and resumes nothing. Enter on an open decision goes to the Director's pane. The mouse wheel scrolls it. The Plan body draws a Markdown subset: headings, lists, code spans, ** pairs, fenced code and tables, with table columns aligned by display width; anything else is shown as written. While a draft waits for approval, the version in force shows only its summary and the draft shows in full.
  • The default Director briefing now says that a turn banto started writes nothing for you unless it changes what you must decide; the state of the work goes to Progress. In a measurement that preceded this change, turns started by a relay wake wrote 59% of a Director's pane text.

Fixes

  • Shift+Enter that Ghostty 1.4.0 sends as CSI 27;2;13~ is now read. banto's crossterm fork did not parse the sequence and dropped it before banto saw a key, so Shift+Enter did nothing in a pane. Shift+Esc and Ctrl+Esc now act as Esc in the list, as on Windows.
  • Shift+d now restores an archived session in the list; the binding matched an unshifted D only.
  • The relay counts its three wake attempts per unseen batch, so a member that reads a long inbox one page per turn is woken until it has read everything. Before, it spent the three wakes on the first three pages and the rest sat unread with no notice. A member that reads nothing still stops at three per batch.
  • On macOS, a live Claude session is now checked against its start time as well as its pid, so a recycled pid no longer reads as the live session. A start time that cannot be read or parsed still falls back to the pid alone (measured on Claude Code 2.1.332).

Other

  • macOS: a build of main has been in daily use on an Apple silicon Mac in Ghostty since 2026-11-26, brigades included. Checked by hand on 2026-11-30: Terminal.app and iTerm2 draw banto correctly and run the prefix. Terminal.app's bell sounds only once Audible bell is ticked; iTerm2's sounds at the defaults. iTerm2 needs Left Option key set to Esc+ for Option+Backspace and Option+Enter.
  • macOS: hanging up a pane ended Claude Code 2.1.332 in 487 to 554 ms and Codex 0.172.0 in 8 to 37 ms; a child that ignores SIGHUP was killed about 5 seconds later. install.sh refused to replace a running banto and installed once it had quit. A binary downloaded in a browser is refused by Gatekeeper until its quarantine attribute is removed.
  • README.md is shorter again and puts what banto does before the comparisons; README.ja.md is translated again from it.
  • tools/measure counts Plan metrics and tells a Planner's turns from banto's own notices, and tools/keyprobe records what a terminal sends for each key.

Full Changelog: v0.4.0...v0.5.0