Repository navigation
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 room the product label goes first, then the word, and the name stays. Not measured: a brigade of more than sixteen Workers, and a narrower terminal, so check both before raisingmax_workers.
Other
- Site: the one-page site is published on GitHub Pages (
site/index.html, deployed by the Pages workflow, whose actions are pinned throughactions.lock), and it carries a Google Search Console verification tag. - README: a line under the pitch states what banto is for (spec-driven orchestration: an orchestrator-workers setup anchored to a plan of record, with a progress ledger gated at plan completion).
README.ja.mdtranslates it. - The
bantocrate'sdescriptioninCargo.tomlis now the current pitch. It still read "A resident TUI that lists Claude Code and Codex sessions", from before brigades. - Docs: the decision to let a Director add and remove Workers is recorded, with the options turned down, in
docs/requirements/decision-2026-12-06-a-director-adds-and-dismisses-workers.md;max_workersand the profiles are described indocs/requirements/brigade-director-worker-cells.mdand the two tools indocs/requirements/mcp-mediation-server.md.
Full Changelog: v0.6.0...v0.7.0