Repository navigation
Releases
banto v0.7.0
Changes you should know about
- A Worker's session is now archived when the Worker leaves its brigade. That is when it is dismissed (with
Ctrl+B x, by a Director'sremove_workers, or after it exited and could not be started again) or when its brigade is disbanded. Before, it went back to the list as an ordinary session. It is not deleted:Drestores it. A Goinkyo's and a Planner's sessions were already archived this way; the Director's session still stays in the list. A Worker dismissed before the upgrade is not archived after the fact. - The database changes schema on the first start, and an older banto cannot open it afterwards. The upgrade adds three empty columns to the brigade members' table (
model,effort,profile) and keeps every row. Before it migrates, banto copies the database to<database file>.before-v26beside it (for examplebanto.db.before-v26); that copy holds the database as it was, is never overwritten and is never deleted by banto. To go back to the previous build, put that copy in place of the database; what was written after the upgrade is not in it. Only the UI migrates, so until it has started once,banto list --json,archiveandunarchiverefuse the database (exit 3). - The default Director prompt now tells a Director it may add and remove Workers, and no longer says the roster is fixed. Two passages changed.
The Workers named above were the roster when you started, and it does not change afterwardsis nowThe roster above is from startup; brigade_status has the live one. The closing sentence, which said the size of the roster is the operator's to change, now says to useadd_workersorremove_workersonly at the operator's request or with prior permission, and that banto creates no worktrees. A Codex Director's tool list names both tools. If you set your owndirector_promptthat carries either old passage, change it: the first says a Worker added later will not appear, and the second says the roster is yours alone to change, and both contradict the two tools' descriptions. A prompt that says nothing about the roster needs no change, since the descriptions carry the permission rule themselves.
New
- A Director can add Workers to its own brigade and remove them, with two tools:
add_workersandremove_workers. Only a Director may call them; any other member getsadd_workers may only be called by a Director.(the same forremove_workers). Both descriptions tell the Director to act only at the operator's request or with prior permission. banto puts no confirmation between the call and the change, so that rule is the Director's to keep: give permission in advance only where you want it used. The tools run in the Director's own MCP process, which cannot open or end a pane. They write or delete member rows, and the UI starts or ends the panes from those rows, so the change shows once the UI notices it. A brigade that is not on screen is changed the same way. The status bar says which Workers were added and which removed, naming up to three of each. add_workers(count, profile?)addscountWorkers (at least 1) using one named profile or the defaults. One profile per call; to get Workers of two kinds, call it twice. Each new Worker is a fresh session in the Director's working directory, started once and never resumed, and its tile appears collapsed at the bottom of the stack, so it does not take room from the pane you are reading. The reply names the tokens and what they were made with:Added <tokens>: product <claude or codex>, model <model>, effort <effort>, profile <name>., with(no flag)for an empty model or effort and(none)for no profile. With no profile, a Worker gets the configured Worker defaults: the product fromworker_agent(inheritandselectboth mean the Director's own product here, since there is no picker) and the model and effort from[brigade.claude]or[brigade.codex]for that product. A launch that failed is not retried until banto restarts.remove_workers(members)dismisses the named Workers, all or none, and the turn each is in is lost.membersis a nonempty list of Worker tokens. If any name is not a Worker of this brigade now (a Director, a Goinkyo or a Planner, another brigade's member, one already gone, one that never existed), nobody is dismissed and the reply isremove_workers failed: not Workers of this brigade: <tokens>, listing every such name. banto does not look at whether a Worker is mid-turn. The pane is asked to close first and is force-killed only if it has not left after 5 seconds. The dismissal is the same oneCtrl+B xmakes: the Worker's membership, read position and mail addressed to it are deleted, and its session is archived (see the first item).[brigade] max_workers(default16) is the number of Workersadd_workersstops at. Every Worker of the brigade counts, including the ones you added withband the one made when the brigade was formed; the Director, a Goinkyo and a Planner do not.bitself is not held to the limit.0allows no additions. A request that would pass the limit creates nothing, and the reply names the current count, the limit and the request:[brigade] max_workers: 16 Workers, limit 16, requested 1. Increase [brigade] max_workers or request fewer.The count is checked again inside the write, so a Director's call and yourbcannot both take the last place.[brigade.worker_profiles.<name>]names a kind of Worker:agent(required,"claude"or"codex") and optionallymodelandeffort. For exampleagent = "claude",model = "opus",effort = "xhigh"under[brigade.worker_profiles.senior-coder]. A name is 1 to 24 ASCII letters, digits,-or_. Leavingmodeloreffortout takes that product's Worker default; writing""passes no flag, so the agent uses its own. Both are handed to the agent as written, and banto does not check them. A config with an unknown key in a profile, an invalid name or anagentother than the two is refused when it is loaded. Profiles are used only byadd_workers:b,Band the selection screen do not offer them.add_workersreads the config file again on every call, so a new profile or limit works without restarting banto, butbkeeps the settings read at start. Editmax_workers, a profile, or the Worker defaults (worker_agent,worker_model, and so on) while banto runs, and the nextadd_workersuses them whilebstill uses the old ones until you restart. The Codex hook trust is read again on every call too. If the file is gone, a call with no profile uses the built-in defaults, limit included.add_workerscreates nothing and says why when it cannot make exactly what was asked. The whole request is refused, never part of it:- A profile that is not defined:
Unknown worker profile "x"; available profiles: a, b. Add it under [brigade.worker_profiles] in the config.((none)when there are no profiles). A profile name that is not a valid name is refused asinvalid worker profile name "x"; use 1..=24 ASCII letters, digits, '-' or '_'. - A profile named while banto was started without a config file:
Profiles cannot be used when banto started without a config file. Create a config file and restart banto.With a config file that has since been deleted:No config file at <path>; define worker profiles there under [brigade.worker_profiles.<name>]. - A config file that no longer loads:
failed to reload config <path>: <reason>. Restore or fix the config file and try again. - A product that
agentsleaves out:worker product codex is disabled by `agents`; add it to `agents` in the config(the same forclaude). - A Codex Worker when Codex is not ready, as
Cannot start Worker: <reason>.:the product's home could not be resolved; set CODEX_HOME and restart banto,banto's executable cannot be used in a Codex hook; move it to a path without spaces and restart banto, orthe Codex SessionStart hook is not trusted; approve it in banto's Codex trust pane. - The limit above.
- A
countthat is not a positive integer:`count` must be a positive integer.
- A profile that is not defined:
- A Worker made by
add_workerskeeps what it was made with. The product, model, effort and profile name are stored with its member row (the schema change above), as resolved at the call, because the config may change before its pane is opened or reopened. A Worker you add withb, or that is started with the brigade, has no such record. A Director'sbrigade_statusshows the profile after a Worker's name, asworker-3 [profile: senior-coder] (Claude). - banto makes no worktree for a Worker. Workers start in the Director's working directory, as before; the default Director prompt says to ask Workers to create their own checkouts when they need them. A location given with the request is not offered: a directory the agent has not been opened in before can stop at its trust prompt, and the Worker's pane would wait for a key nobody is there to press.
- Checked on Windows (2026-12-06). A Claude and a Codex Worker made from profiles, after their first answer, ran with the profile's model and effort in
brigade_status(claude-haiku-5-5andgpt-6.1-terra, bothlow); one made with no profile ran with the defaults (claude-sonnet-5-5,high). An undefined profile and a request over the limit created nothing. Workers removed with the tool and withCtrl+B xwere closed by the close signal, with no forced kill, and their sessions were archived. Adding and removing worked in a brigade that was not on screen, and disbanding a brigade closed its Workers the same way. Sixteen Workers were all readable by name and state in a brigade on screen. A render test at 24 rows by 120 columns draws sixteen collapsed Workers each as a tile of one or two rows whose title carries the name and the state word (busy,waiting,idle); with less ro...
banto v0.6.0
Changes you should know about
claude_home,codex_home,--claude-homeand--codex-homeare removed; the agent homes followCLAUDE_CONFIG_DIRandCODEX_HOMEonly. banto reads the same variables the agents do, and uses~/.claudeand~/.codexwhen they are unset. Reason: with banto's own setting pointing at one home and the agent in a pane using another, the list, resume, relay wake, hook trust and the double-resume guard each looked in a home the pane did not use, and the same session id in both homes defeated the guard. A config file that still hasclaude_homeorcodex_homenow stops banto at startup with a message naming the variable to set (claude_home is no longer supported; set CLAUDE_CONFIG_DIR before starting banto, the same forcodex_homeandCODEX_HOME);--claude-homeand--codex-homeare now internal, and given on the command line they are refused with the same pointer (exit 2). Delete the key and set the variable in the shell or shortcut that starts banto, for example$env:CLAUDE_CONFIG_DIR = "D:\agents\claude"in PowerShell. The UI refuses a relativeCLAUDE_CONFIG_DIRorCODEX_HOME, since each pane can have its own working directory;banto listandbanto versionsdo not. The start-up notice about mismatched homes is gone with the thing it warned about.- A leading
~in banto's own paths now means your home directory. It applies todb_path,data_dir, the[agent_binaries]entries,--config,--data-dir,$BANTO_CONFIGand$BANTO_DATA_DIR.CLAUDE_CONFIG_DIR,CODEX_HOMEandXDG_CONFIG_HOMEstay as written, because other programs read them too. Migration: before,~/xin any of these was joined onto the directory banto was started in, sodata_dir = "~/x"quietly pointed at a folder literally named~under that directory. If banto has been keeping its database in such a folder, the next start with the same setting opens~/xunder your home instead and finds no database there, so it starts with an empty list. Move thebanto.dbfiles (and the data beside them) from the~folder to the new place, or write the old location as an absolute path, before you start the new version. A~also no longer slips a data directory past the check that keeps banto out of an agent's home (data_dir = "~/.claude/banto"is now refused). With no home directory known, a~stops startup. - A Director now calls
request_decisionfirst and writes the decision last. The turn ends with the decision written in full, once, as its last text. Text written before a tool call often reached you only as a folded summary: in one Director's transcript, 63 of 119request_decisioncalls had no text before them, while every one of 1201 finished turns ended in a text block (Claude Code 2.1.327 to 2.1.334). The tool's description and result, the default Director prompt and the too-long-question message all say so now. If you set your owndirector_promptthat tells the Director to write the question first and then call the tool, change it: it contradicts the tool's description. Known side effect: a key sent to the Director's pane while it writes the question can let the quiet bell ring after the decision bell. - Every resumed Claude member now starts with
--system-prompt-snapshot off. Claude Code records the system prompt and every tool definition in the transcript and reuses them on--resume, so a Director, Worker, Goinkyo or Planner resumed after an update kept the tool descriptions and schemas from when its conversation was created. banto used to add the flag only when it found the recorded briefing differed from the new one, which missed changes to the tools. Visible effect: the first resume with the flag writes the prompt cache once (measured on Claude Code 2.1.334:cache_read0 andcache_creation49228 tokens), and the next one reads it (49203 read, 65 created). A resumed member now sees the tool descriptions of the banto it runs under. - Locations given to the UI explicitly now reach its panes, so a second UI started in such a pane is refused. When you start banto with
--data-dir,--config,$BANTO_DATA_DIRor$BANTO_CONFIG, it now passes those to every pane as absoluteBANTO_DATA_DIRandBANTO_CONFIGvalues. The point is thatbanto list --json,archiveandunarchiverun by an agent in a pane reach the UI's database (Claude Code 2.1.337 and Codex 0.174.0 were measured passing a pane's environment to their shells). A UI started without any of them passes nothing. Before, a pane inherited the variables but never the flags, so a second banto started in a pane quietly opened the default database; now it resolves to the same database and the single-instance lock refuses it. Commands run in a pane (banto list --json,archive,unarchive) still resolve their own flags and environment; a relativedata_dirordb_pathinside a config is resolved from the pane's working directory and can select another database, so checkdb_pathin their output.
New
- The session list can be read and changed from a script:
banto list --json,banto archiveandbanto unarchive.list --jsonprints one line,{"db_path": ..., "sessions": [...]}, newest first, with the rows the UI shows undera(eleven keys each:id,agent,cwd,archived,spawned,title,activity,mtime,pinned,group,role).archiveandunarchivetake ids as arguments or one per line from standard input with-, change all of them in one transaction or none, and printchangedandunchanged;changedhanded to the opposite command puts the list back. Exit codes: 2 wrong usage, 3 no database or a database at another schema, 4 an id that is not inlist --json(nothing written). They open the existing database only, never create or migrate it and never take the UI's lock, so they run beside a running UI; the UI shows a change at its next reload of the list, not at once (how long that takes with no agent active is not measured). Take ids fromlist --json, never from plainbanto list, which reads session files and knows nothing of archive marks, pins or groups. The manual is the help:banto --helphas the workflow in one example (PowerShell; other shells onbanto list --help), andbanto list --help,banto archive --helpandbanto unarchive --helphold the JSON shapes, exit codes and refusals.--data-dirnow appears inbanto --help. Observed on codex-cli 0.173.0 (2026-12-02): a Codex session in theworkspace-writesandbox can runlist --jsonbut itsarchivefails withcould not write <path>, since the database is outside the sandbox's writable roots; widening the sandbox is Codex's setting. - A Director's
brigade_statusshows the model and effort each member runs with. Each Worker's, Goinkyo's and Planner's activity ends with a bracket such as[claude-sonnet-5-5, effort high: last answer 12m ago], read from the agent's own record. For Claude it is the member's last answer in its transcript. If that answer is older than the running process, the bracket says so (before this process started; a resume may have changed the effort); with no live process it says the next start is a resume. For Codex it is the thread's setting (thread setting). The values are shown because what banto launched a member with is not always what it runs with: on Claude Code 2.1.337 (2026-12-05) a resume with no flag answered atmediumwith the user settings excluded andhighwith them in, andCLAUDE_CODE_EFFORT_LEVELoverrode a settings file'seffortLevelon resumes.[model: no turn yet]and[model: not found in its record]mean nothing could be read, the second being what a change in an agent's file format looks like. A member's own call shows its Director's row without a bracket. - New-session dialog (
n): Tab completes a path from disk, and~works. With nothing highlighted, Tab extends the typed path to the longest prefix all matching subdirectories share, in the on-disk spelling; a single match gets a trailing separator, several are listed as rows above the remembered directories. With a remembered directory highlighted, Tab writes it into the line as a path.~stands for your home in what the dialog checks, opens and shows as the pane title. Enter launches a typed path as typed, and launches the highlighted row if there is one. The disk is read on Tab only, never per keystroke, on the loop's thread, so a directory on an unreachable\\host\sharecan stall the UI until the read returns.
Fixes
- The group dialog (
g) can create a group whose name another group contains (bantobesidebanto-dev). A+ new group "<typed>"row is offered first whenever no group has exactly that name, and Enter does what the highlighted row says; the highlight starts on the group named exactly as typed, else the first match. Before, a fragment of an existing name could only join that group. - Archived sessions are marked 📦 instead of 🗃. 🗃 has no default emoji presentation, so terminals disagreed about whether it took one column or two, and in some the title ran into the mark.
- Closing the reading screen (F5) could leave text underlined as if it were a link. The OSC 8 open and close are now written per cell, so ratatui's diff can no longer skip one half of a pair. Checked on Windows Terminal; the previous build was not run on the same layout, so the fix is not shown against the failure there.
- A Codex turn cut off by a restart now reads as ended. A turn start older than the process that owns it used to look like an unfinished turn, so after a banto restart the member read busy until its next turn: the relay never woke it,
brigade_statussaid busy, and its unread mail held the quiet bell. This now holds in the relay, for Codex panes outside a brigade, and inbrigade_status. Measured on codex-cli 0.172.0 on Windows, where a queued message reached suc...
banto v0.5.0
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
xon 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. --emporiumand--oodanaare 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. Runbantowith 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-v24beside 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 toplans/<brigade>-<n>.mdin 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_messagesused 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_peerandinterrupt_workerrefuse a text over 25,000 bytes and send nothing; the sender is told to split it or send a file's path.read_plantakes an optionalpartand 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,
=,1and9pressed after the prefix while Ctrl is still held no longer fire, and a banto that is killed leaves level 1 on untilreset. 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 doC-],C-^,C-_, uppercase chords andC-@. Shift is ignored when matching and Alt never arms it. AC-_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
bantoafter 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_plannerwhen 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, tokenplanner. It works the Plan out with you in its own pane and writes each draft withwrite_plan, in your language. A Claude Planner reads the code withRead,GrepandGlobonly (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, bygoinkyo_consult.release_plansplits or reorders an approved Plan and nothing more.close_plannerends the Plan and archives the Planner asPlanner: <title>;completedis 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 defaultplanner_promptasks for a Plan of about 5,000 characters. That is a target, not a limit, and your ownplanner_promptreplaces 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_plannerrefuses 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 anapply_patch. Codex's shell, web search and apps stay available, so read-only does not mean contained. Its model and effort areplanner_modelandplanner_effortunder[brigade.codex], given at creation only. - Progress:
update_progressis 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 carryoutside_plan: truewhen 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_decisiontakes an optionalquestion. - 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+
dnow restores an archived session in the list; the binding matched an unshiftedDonly. - 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.shrefused 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/measurecounts Plan metrics and tells a Planner's turns from banto's own notices, andtools/keyproberecords what a...
banto v0.4.0
Changes you should know about
- Auto-relay no longer types into member panes. Claude members wake through an
asyncRewakehook; Codex members wake throughcodex queue. A wake still starts a turn over the member's context and can cost a turn even when the message asks for nothing. A Codex wake left queued can run when that thread is next resumed, including outside banto; banto cannot cancel it. Setrelay = "manual"under[brigade]to prompt members to check their mail yourself. interrupt_workerno longer presses Esc. With auto-relay, a hosted Claude Worker's next tool calls are refused to prompt it to read the Director's message, up to three refusals per agent; banto's own tools remain available. It cannot stop a turn or cut a call already running, and the gate lets calls through on failure. With manual relay or a Codex Worker, the message is ordinary mail and no calls are refused. Disabling Claude hooks can leave the gate inactive without a warning.- The database schema moves from v21 to v23. On first opening a v21 database, banto copies it to
banto.db.before-v22beside 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. - Restart banto after replacing its executable. Running members may still invoke the path captured at launch; if the replacement uses a different schema, hooks silently open no store and MCP calls report that banto was replaced. New brigade member opens can also be refused until banto is restarted.
New
- Unread interrupt reminders: if a Worker is observed working and has left an interrupt unread for at least 30 seconds, the status line identifies it and the message. When an interrupt that was shown is read, the status line says so.
- A wake nobody takes is told once: if a Claude member's hook does not take a wake within 10 seconds, or
codex queuedoes not start a Codex turn, the status line says so once and banto does not resend it. - Agent home notice: at startup banto warns if the Claude or Codex home it lists differs from the one the agent in a pane reads, or if the agent's home environment variable is relative. The override changes the home banto lists, not the agent's environment.
Fixes
- Relay wakes no longer insert a nudge into the operator's draft or IME composition. A wake can reach a scrolled-back pane without moving it to the bottom.
- New Codex Workers and new Goinkyo receive their first prompt as a launch argument instead of typed input, so it survives startup dialogs.
- Claude's relay wake records no longer become a session's fallback title; banto takes that title from a human user message.
Other
- The PTY driver used in the wake investigations is now a diagnostic example,
ptydrv, with its own README.
Full Changelog: v0.3.0...v0.4.0
banto v0.3.0
Changes you should know about
- A broken
config.tomlnow stops banto from starting. Before, a file that failed to read or parse was silently replaced by the defaults,data_diranddb_pathincluded. banto now exits with the file, the line and column, and the reason. A known key given a value it does not accept (relay = "typo", an unknownworker_agent,goinkyo_consult,worker_autocompact,agents,keys.prefix,goinkyo_agent) is refused the same way. A missing file still means defaults, and unknown keys are still ignored. Values banto only passes to an agent (model, effort, permission mode, prompts) are not checked. - Model, effort and Claude's permission settings now live in per-product tables,
[brigade.claude]and[brigade.codex]. The old flat spellings under[brigade](worker_model,worker_effort,worker_model_codex,worker_effort_codex,worker_permission_mode,goinkyo_model,goinkyo_effort,goinkyo_permission_mode,goinkyo_disallowed_tools) are still read, and banto names each one it finds at startup. When both are set, the table wins. A plain[brigade]key written under a product table, or a legacy key written under one, stops the start at its line. The new tables must come after every plain[brigade]key. - The Goinkyo now runs on its Director's product by default (
goinkyo_agent = "inherit"). It was always Claude, even under a Codex Director. A Codex Goinkyo runs read-only with approvals off (-s read-only -a never), so it cannot build or run tests. To keep the old behaviour, setgoinkyo_agent = "claude"under[brigade].consult_goinkyorefuses up front when the chosen product is not enabled byagents, its home directory did not resolve, or (Codex) banto's hook is not trusted. - The Claude Goinkyo's built-in model and effort are now
opusandxhigh, notfableandmax. Fable bills usage credits on some plans behind a consent prompt that an unattended pane leaves waiting, andmaxis not saved across a restart. To go back, setgoinkyo_modelandgoinkyo_effortunder[brigade.claude]. - The database schema moves from v20 to v21 (for
interrupt_worker). On the first start banto copies the database tobanto.db.before-v21beside it, then migrates it in place. An older build cannot open the migrated database: restore the copy, or run the new build. - Closing a pane now hangs up first and forces it only after 5 seconds. Before, every pane banto ended was killed at once on Windows. Claude Code 2.1.330 records each fullscreen launch and removes the record only in its own shutdown, so killing recent launches could turn its fullscreen renderer off for the whole machine (drag-to-select stopped working in every Claude pane). On Unix the forced stop is now
SIGKILLto the process group.
New
interrupt_worker: a Director can stop a Worker's running turn instead of waiting for it to settle. For a hosted Claude Worker that is busy, banto writes one Esc into its pane (the turn stopped in about 120 ms on Claude Code 2.1.330). The message is delivered either way. Codex Workers get the message but are not interrupted.- A Codex pane that banto has not yet identified is now named and brought forward. While a new Codex pane has no session id, banto refuses to resume any Codex session, to avoid resuming one twice. A refused Enter or
xon a Codex row, or staging or forming a brigade with Codex members, now focuses that pane, marks its tile· unidentified, and says how to clear it (Prefixxin that pane and Enter on the row again, or send its first message). The refusal itself is unchanged. - A Codex Worker that exits while a pane is unidentified has its restart held and made once when the wait clears. Enter on its tile brings the waiting pane forward. If a restart fails because the agent cannot start, the Worker leaves the brigade like one that gave up. Other failures keep its tile and its place in the roster.
- A Codex Goinkyo's model and effort are
goinkyo_modelandgoinkyo_effortunder[brigade.codex](a family word resolves through the Codex catalog; effort applies at creation only). - Interface: every tile label is now a tab, so stacked title rows read as headers. The activity word is anchored at the right of the title row (
Agent · word). The output age is gone from the title row. The quit question labels a pane that only banto wrote to asnudgedinstead ofinput. - Docs: README.md is shorter and opens with a recorded brigade demo. A Japanese translation, README.ja.md, is new.
Fixes
- A Codex pane left unidentified forever, which kept every brigade with a Codex member from staging, when Codex logged a title-generating thread before discovery polled (seen on codex-cli 0.171.0). A new pane is now identified by its own thread.
- A Goinkyo that was identified in the same tick as its store write could be hung up a few milliseconds later. A Codex Goinkyo was exposed to this and a slow-starting Claude one could be too.
- The cursor stayed hidden after quitting banto on Ubuntu/zsh. A failed terminal setup after raw mode was switched on also left the terminal unrestored.
- The relay never nudged a Director when a dead leftover
sessions/<pid>.jsonwas listed before its live file, and a reused pid could make a leftover count as a running session in the relay,brigade_status, the activity dot, the quit question and the quiet bell. A live file now counts only if its process still has the recorded start time. On macOS banto cannot read that start time yet, so there a live file is still judged by its pid alone. - On Linux, reads of Claude's and Codex's session folders were taken as changes and made the list reload in a loop. This also cancelled a pending double-click in the sidebar. Access events are now ignored, and a double-click is paired by session id so it survives a list rebuild.
send_to_peerandinterrupt_workeracceptmessagewhentextis missing (agents that had not loaded the schema guessed it), andsend_to_peerandcheck_messagesare marked to load upfront in Claude Code. A session created before this keeps deferring them.- A relay nudge's delayed Enter is dropped when its pane is relaunched or unstaged. It used to reach the new process.
- Notices name a Goinkyo or Director as such in the Codex catalog notice, and a member by its own brigade in the trust notice. Runs of zero-width characters are capped at 8 in displayed text.
Other
- README: a resumed Claude session takes its effort from your Claude settings, so a level set inside one session lasts only until its restart.
Full Changelog: v0.2.0...v0.3.0
banto v0.2.0
Second release of banto. You can now close a whole Director/Worker brigade without losing it, the list reads Claude's and Codex's sessions more accurately, and brigades hold up better, Codex ones especially.
What's new
Changed: closing a brigade. Prefix x (Ctrl+B x by default) on a Director's tile used to end only the Director, which left a broken cell behind. It now closes the whole brigade, after one confirmation that names any member not known to be idle. Every process of the cell ends and nothing is deleted: the brigade, its members, their sessions and mail stay, and Enter on the Director's row brings it all back. The same applies to the new list key x: on a Director's row it closes that brigade, on stage or not; on a single session with an open pane it ends that process. It never dismisses a Worker; use prefix x on that Worker's tile. Disbanding a brigade (B on a Director) now also ends its Workers and Goinkyo when the brigade is not on stage; it used to leave them running.
The list
- A session with no title yet shows a gray "(no title)" instead of its UUID, and a brigade formed on one is called "brigade N" instead of being named by the UUID.
- Claude's own title is now found in transcripts that write it late; the list used to show the first user line for those sessions.
/clearno longer becomes a session's title or preview.- A Goinkyo consultation shows as "Goinkyo: <title>" (the Director now gives
consult_goinkyoa short requiredtitle), and its session is archived when the consultation ends.Drestores it. - The ancestors of sessions that older Claude Code versions forked on auto-compaction now show as ordinary rows; banto no longer hides them.
anow cycles ordinary, plus agent-run, plus archived. - A pane whose session changes in place (
/clear,/branch, or/resumeinside the pane) is followed to the new session, for solo Claude panes and for Claude and Codex brigade members. Before, the pane's activity read as unknown and reopening its row resumed the conversation from before the change.
Brigades
- banto types into a pane only when the pane is at its prompt. A kickoff no longer waits forever on a directory you had already trusted, and a nudge can no longer land in a Codex picker (on Codex 0.169.0 one changed settings in
/permissionsand/model). - A Codex Worker is never given up on while it waits, for example behind a trust screen. The Codex hook-trust check now also runs when the Director is Codex, and banto says when a Codex member's hook did not run, and why.
- Claude panes are launched with
CLAUDE_CODE_NATIVE_CURSOR=1, so a fresh Claude home no longer leaves the input line unreadable and every nudge held. - A pane's session is recognised when its directory is spelled another way (a symlink, a Windows
\\?\path or different letter case, macOS/tmp). Before, such a Claude Worker was never identified and such a Codex pane blocked resuming other Codex sessions. - The directory-trust notice reads
.claude.jsonfrom insideCLAUDE_CONFIG_DIRwhen you set it.
Diagnostics. banto writes logs/panes.log in its data directory, always on: what happened to hosted panes (starts, exits, session discovery). A line holds only fixed words, numbers and ids, never pane output, keystrokes, message text, titles or paths. It rotates at 4 MiB and keeps one older file.
Install / upgrade
Windows (Windows PowerShell 5.1 or PowerShell 7):
irm https://github.com/kt81/banto/releases/latest/download/install.ps1 | iexLinux and macOS:
curl -fsSL https://github.com/kt81/banto/releases/latest/download/install.sh | shTo upgrade, quit banto and run the same line. The installer checks the archive against SHA256SUMS, runs the new binary before it replaces anything, and never edits your PATH. Where banto lands, choosing a version, and installing by hand: Install & upgrade.
The database. The first start after the upgrade migrates banto's database from schema 18 to 20 in place. Before that, banto copies the database to banto.db.before-v19 beside it (the database as it was at schema 18); it never overwrites or deletes a finished copy. A v0.1.0 build refuses to open a migrated database and changes nothing; it says the database was upgraded by a newer banto and points to the banto.db.before-v<N> backup. To go back, quit banto, move banto.db aside, copy banto.db.before-v19 to banto.db, and install v0.1.0. Anything done since the upgrade (pins, groups, brigades, messages) is not in that copy.
Platforms
- Windows x64
- Linux x64, glibc 2.35 or newer
- macOS on Apple silicon, lightly checked on a real Mac so far (as of v0.1.0: install, opening and closing sessions in panes)
Verifying a download
The binaries are not code-signed, so a banto.exe downloaded with a browser and double-clicked meets SmartScreen's warning ("More info", then "Run anyway"). Each archive carries a build-provenance attestation naming the commit and workflow that built it:
gh attestation verify banto-v0.2.0-x86_64-pc-windows-msvc.zip --repo kt81/bantoAlso in this release: a README section comparing banto with herdr, a build flag that marks uncommitted sources in the pane log's start line, and a script for measuring which model and effort actually ran (tools/measure/what_ran.py).
banto v0.1.0
First release of banto: one full-screen terminal UI that keeps a searchable ledger of the Claude Code and Codex sessions on this machine, hosts the ones you open as live panes beside it, and refuses to open a session that is already running.
Install
Windows (Windows PowerShell 5.1 or PowerShell 7):
irm https://github.com/kt81/banto/releases/latest/download/install.ps1 | iexLinux and macOS:
curl -fsSL https://github.com/kt81/banto/releases/latest/download/install.sh | shThe installer checks the archive against SHA256SUMS, runs the new binary before it replaces anything, and never edits your PATH. Where banto lands, choosing a version, and installing by hand: Install & upgrade.
Platforms
- Windows x64
- Linux x64, glibc 2.35 or newer
- macOS on Apple silicon, lightly checked on a real Mac so far (install, opening and closing sessions in panes)
Verifying a download
The binaries are not code-signed. Each archive carries a build-provenance attestation naming the commit and workflow that built it:
gh attestation verify banto-v0.1.0-x86_64-pc-windows-msvc.zip --repo kt81/banto