Repository navigation
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 such a thread and started a turn; checked live by restarting banto under a Codex Worker mid-turn with unread mail. - A dead Codex thread could read as alive.
sysinforeports a start time of 0 for a process of another account that it can find but not open; that now counts as no live process. check_messagesno longer fails now and then withdatabase is locked. It was 0.13% of calls with 8 background pollers and 0.7% with 24. The read and the sweep of empty brigades now begin their transaction as a write, like the other fourteen.- A Goinkyo that died before it was identified is no longer started again about once a second. The guard stays until the brigade is staged again or
dismiss_goinkyois called. A failed write of a member's session id is now said on the status line. - A member with no session id is described honestly.
brigade_statussays it may be starting or may have exited, and for a Goinkyo to calldismiss_goinkyoand consult again if it persists. - Dismissals and saves. A second Worker dismissal while the first is still in flight is refused on the status line, and the result of a dismissal now spends only the pane key of its own brigade. A Goinkyo or Planner ended while its start is in flight is ended when the start lands. Dragging a row border keeps a collapsed tile's share of the height. A failed write of a pin, the layout, the sidebar width, the bell setting or the last Worker agent is now said on the status line instead of dropped.
- The default Director prompt no longer points at the removed
off_planlist.
Other
- deps: rusqlite 0.40.1 to 0.43.0 (bundled SQLite 3.54.1). The 0.5.0 build bundled SQLite before 3.54.0, which RUSTSEC-2026-0459 says can return uninitialised memory when a
-walfile of a different page size is opened with its database. No call site changed. - ci: an Audit workflow runs
cargo-auditweekly and whenCargo.lockchanges; the release gate now includes a green Audit. Dependabot keeps the GitHub Actions current, and every action is pinned to a commit throughactions.lock. - The
BANTO_VERIFY_CACHEdiagnostic is removed. - Docs:
docs/REQUIREMENTS.mdis split into one file per section underdocs/requirements/, with a short entry that indexes them; the reading screen is nicknamed the ezu (絵図); new notes on what Claude and Codex report while waiting on a permission prompt, and on what a Claude ended in the middle of a turn loses.
Full Changelog: v0.5.0...v0.6.0