You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send --steer sends into the running turn, where the agent can be steered (ADR 18).
A session is locked by the process that serves it. An editor's load of a session another process holds is refused unless the editor part has features = ["shared_sessions"] (ADR 3, 42). A session that can't be locked isn't served headless; an editor's is passed through, and status shows lock_error (ADR 50).
Events: message_dropped, context_dropped and session_closed (ADR 20), tool_progress (ADR 23), and line_too_long (ADR 51).
brnr doctor --report: a bug report to paste into an issue, redacted. A panic prints a link to a pre-filled issue; nothing is sent (ADR 45).
brnr skill, the skill for agents that use brnr, and brnr skill install (ADR 46).
brnr is on crates.io: cargo install brnr --locked (ADR 47).
Each release has its source tarball as an asset, with build provenance (gh attestation verify), and a CycloneDX SBOM; the Homebrew formulae build from that tarball. Release builds are checked to be reproducible (ADR 52).
A panic is recorded, as panic and an exited with the reason; the agent is killed and the runtime files removed (ADR 11).
start --foreground passes the agent's stderr through, and a failed start ends with the agent's last stderr lines (ADR 9, 10).
doctor checks what keeps a session from being locked, and tells processes that are gone by their socket, so a reused pid isn't taken for one (ADR 11, 50).
docs/interface.md, the reference for commands, JSON, exit statuses, configuration and the bridge protocol, and docs/threat-model.md.
A history event after a session is loaded says how many updates the agent replayed, and whether brnr recorded them or its transcript already had the session. --events history selects it; it's shown by default (ADR 57).
Changed
Breaking: brnr never follows a symlink in its state directory. A symlinked ~/.brnr or $BRNR_HOME, project folder or transcript is refused, as are another user's paths and transcripts with other hard links. A refused host log fails the start, and a refused session file is session-log-failed in the host log. Set BRNR_HOME to the directory a symlink pointed at instead (ADR 59).
Breaking: profiles have parts. [profiles.<p>.headless] has cwd, mode, config, mcp_servers, permission_timeout, stop_when_idle and auth; [profiles.<p>.editor] has experimental and features. log is "all", "events" or false. The flat layout fails to load, and brnr doctor says which key goes where (ADR 33).
Breaking: acting on an editor's session is experimental. send, cancel, mode, model, config and the rest are refused there until named in the editor part's experimental = [...]; strict mode refuses them all (ADR 4).
Breaking:send holds a message while a turn runs (ADR 18).
Breaking:turn_ended has messages instead of message, and a dropped message is a message_dropped event instead of exited's undelivered (ADR 17, 20). usage and tool_progress are left out by default, and session_changed carries a merge patch of what changed (ADR 23).
Breaking: a session has two transcripts: <id>.jsonl its events, <id>.acp.jsonl the raw ACP (ADR 22).
Breaking:brnr model sets the config option of category model; session/set_model is no longer sent. A boolean config option takes true or false and is sent as a boolean (ADR 28).
Breaking:brnr host isn't run by hand: a process is started with one resolved request on its stdin (ADR 8). As a profile bridge, notify is command = ["brnr", "notify", "--stdin", "--", …] (ADR 36).
Breaking: text output shows control characters and bidi overrides in the agent's text escaped; --json keeps the text as sent. notify's BRNR_TEXT, BRNR_TITLE and BRNR_MESSAGE are escaped and capped at 32 KiB (ADR 1, P8; ADR 36).
Breaking:wait on a session that is already idle exits as its last turn ended: 1 if it failed or was stopped (ADR 21). start --foreground exits 1 when the start fails (ADR 9), and notify exits 1 when it is cut off (ADR 36).
Breaking:approve --option refuses a reject option, and deny --option an allow one (ADR 27).
Breaking: a start's --mode, --model and --set win over its profile, whatever the option's id. Two values for one setting (--set a=1 --set a=2, or --model and --set of the model option) fail the start instead of the last one winning (ADR 58).
Breaking: transcript and lock file names escape every byte of a session id but lowercase ASCII letters, digits, - and _ (a/b is a%2fb). Existing files aren't renamed; UUID ids, which the Claude Code and Codex adapters use, keep their names (ADR 53).
Breaking: a headless start, or brnr sessions, fails against an agent that answers initialize with an ACP version other than 1, or none (ADR 54).
Breaking: a line over 32 MiB from the agent isn't interpreted: headless it is dropped, and an editor gets it byte for byte (ADR 51).
Breaking: between brnr acp and its process, the process sends EOF once the agent's stdout ends, and a STDERR frame for each read of the agent's stderr rather than for each line. Run both from the same version, as brnr acp starts them (ADR 62).
Breaking: the host log records the agent's stderr as lines alongside forwarding it: one agent-stderr record per line, or per 64 KiB of a longer one, with a line still unfinished recorded when stderr ends or the process exits. For when bytes reached the editor, read its stderr, not the host log (ADR 62).
Breaking: the host log has two new notes: agent-stdout-ended, and not-sent-to-editor for a line of brnr's own (a sent message's tool call, a refusal, a withdrawal) not written because the editor's stdout had already ended (ADR 62).
Breaking:brnr log reports on stderr each transcript line it can't read, and a transcript that ends partway through a record, where it used to skip them silently. It still exits 0 (ADR 55).
Breaking: a turn's turn_ended waits until the agent has answered every steer sent into it, so it can come after the prompt's answer. A steer the agent never answers holds it until cancel or close drops the steer (ADR 56).
Breaking: events from a load's replay that brnr records carry "replayed": true, and text shows them as (replayed) …. A replayed user_message has no by and no message id (ADR 57).
brnr start commits once its ready report is written: interrupted before that, the process stops and the prompt is never sent (ADR 7).
Backpressure replaces the 30 s timeout on the editor link and the agent's stdin; signals reach the agent on a link of their own (ADR 2, 6).
One long message doesn't cut off a reader that keeps up, also one that asked for acp. A reader that stopped reading is cut off soon after 16 MiB, or 64 MiB of lines longer than that (ADR 49, 60).
log of a running session waits, up to 5 s, for its process to write what it has recorded, and an exiting process stays listed until its transcript has its exited (ADR 48).
Past 64 MiB waiting for a slow disk, the logger skips records and the transcript says records-skipped (ADR 22).
close cancels a running turn first (ADR 16).
ACP is read with agent-client-protocol-schema's types, and every RFC 8259 line is read, lone surrogates and deep nesting too; the bytes are still forwarded untouched (ADR 26, 43).
A GitHub release's notes are its section of this file, not the titles of the pull requests it merged (ADR 40).
Removed
Breaking:send --after-turn, the queued status, and the bridge modes now and after-turn: a message sent during a turn is held until it ends, or use --steer (ADR 18).
Fixed
An editor that stops reading ends its agent and the agent's process group, as the editor going away does (ADR 2).
An agent that crashes has its process group's children stopped too, not only on a requested stop (ADR 11).
Distinct session ids never share a transcript or a lock (ADR 53).
A process closes a session's transcript files when it closes the session, so one that forks and closes sessions doesn't run out of descriptors (ADR 22).
A session/load replay keeps the session's title, mode, config and commands (ADR 14).
start --foreground reports a failed setup step, and isn't stopped by stty tostop (ADR 9).
log --last 0, and timeouts too large to count, no longer panic; brnr list | head ends quietly; brnr sessions kills an agent that ignores SIGTERM.
A bridge's request line that isn't UTF-8 gets an error reply, instead of the bridge being dropped (ADR 35).
A session whose transcript ends partway through a record, as a process killed mid-write leaves it, is still listed, logged and resumed, from its last whole record. A process that reopens it starts its first record on a new line, and a line that isn't UTF-8 no longer fails log (ADR 55).
A steered message always ends, in its turn's turn_ended or in a message_dropped, whichever order the agent answers in: send --steer --wait no longer times out when the agent acknowledges the steer after the turn's answer (ADR 56).
start --resume of a session brnr has no transcript of, through session/load, records the history the agent replays. A transcript made by an earlier load keeps its gap unless it is deleted (ADR 57).
Security
Every request to the agent has an id of brnr's, the editor's too, and its answer goes only to whoever sent it: an editor's request whose id was one brnr gave its own (brnr-1) can no longer end the editor's turn with the answer to brnr mode, nor a send's turn with the editor's answer, and the editor's $/cancel_request reaches only its own requests. The editor gets its ids back as it wrote them (GHSA-84pw-hh9c-w2m8; ADR 61).
The agent's text is escaped wherever brnr shows it, so a permission request can't disguise its command with control characters, and terminal sequences (OSC 52, titles) don't reach the terminal; show warns about a command with control characters (ADR 1, P8).
Through brnr acp, the editor's stdout ends when the agent closes its stdout, even while the agent runs on, and the agent's stderr reaches the editor as it is written, without waiting for a newline, as it would from the agent run directly. A failed start's error includes the stderr line the agent is still writing, such as a login prompt (GHSA-4q62-fhcc-rgf2; ADR 62).
Every command refuses a runtime directory other users can access, as the process already did, and ignores metadata whose socket isn't next to it (ADR 1, P13).
MCP servers' env and headers values are redacted in transcripts and everywhere brnr shows them (ADR 25).
A transcript or host log others can read, write or search, such as one restored from a backup, copied in or chmod'ed, is made private before anything more is written to it, its directories up to the state directory too. A made-private record in the host log names each path and the mode it had. Before, brnr only created transcripts private and went on appending to one that others could read (GHSA-3j4p-vjm3-pgv9; ADR 59, ADR 1 P13).