Skip to content

banto v0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 08:30
· 116 commits to main since this release

Changes you should know about

  • A broken config.toml now stops banto from starting. Before, a file that failed to read or parse was silently replaced by the defaults, data_dir and db_path included. 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 unknown worker_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, set goinkyo_agent = "claude" under [brigade]. consult_goinkyo refuses up front when the chosen product is not enabled by agents, 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 opus and xhigh, not fable and max. Fable bills usage credits on some plans behind a consent prompt that an unattended pane leaves waiting, and max is not saved across a restart. To go back, set goinkyo_model and goinkyo_effort under [brigade.claude].
  • The database schema moves from v20 to v21 (for interrupt_worker). On the first start banto copies the database to banto.db.before-v21 beside 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 SIGKILL to 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 x on 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 (Prefix x in 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_model and goinkyo_effort under [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 as nudged instead of input.
  • 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>.json was 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_peer and interrupt_worker accept message when text is missing (agents that had not loaded the schema guessed it), and send_to_peer and check_messages are 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