Repository navigation
Releases
v1.3.0 — Blind cross-vendor review by default, warm agy sessions, URL secret redaction
Highlights
- Strict blind review by default (
broco review): Withholds the writer's final reply by default (--blinddefault;reviewMode: "blind"in JSON receipts) so the reviewing model inspects the actual diff against original task instructions without anchoring on a confident but wrong summary. Pass--with-summaryto opt in for side-by-side A/B runs. - Persistent warm Antigravity (
agy) sessions & updated Terms alignment: Upgradedagyto persistent multi-turn headless sessions (--input-format stream-json --output-format stream-json), surfacedsubagent_infoevents on timelines, and removed legacyagy-toswarnings following Google's 2026-12-01 Antigravity Terms of Service update. - Security hardening — URL credential redaction: Fixed
lib/pi-secrets.mjsso passwords embedded in connection strings (DATABASE_URL,REDIS_URL,postgres://user:pass@host,mongodb+srv://...,amqp://...) are scrubbed in both JSON streams and stderr before reaching SQLite or logs. - Interactive homepage walkthrough & sharper docs: Added zero-install step-through walkthrough on broco.yanauto.me, plus README/docs clarifications on why
brocobeats ad-hoc headless CLI prompts, single-pass cold review, format-free acceptance criteria via stdin,--fromquota handoff boundaries, and loopback proxy security boundaries.
Install / Upgrade
# macOS / Linux
curl -fsSL https://broco.yanauto.me/install.sh | sh
# Windows (PowerShell)
irm https://broco.yanauto.me/install.ps1 | iex
# npm (Node 22.13+)
npm install -g @yanauto/broco@1.3.0v1.2.1 — Antigravity terms warning, pi-based examples
What changed
- Antigravity (agy) warning: Google's consumer plans (Free, AI Plus, Pro, Ultra) do not allow third-party agents to drive the Antigravity CLI, and accounts have been suspended for it. broco still supports agy, but now warns in
broco setup,broco rosterand on the first dispatch to agy in a session, and the skill tells host agents to relay the warning before choosing agy. Details: https://broco.yanauto.me/docs/workers/#agy - Examples use pi providers: README, website and docs now show
pi:deepseekandpi:zai(GLM, modelzai/glm-5.3) for delegated work, and Claude Code ⇄ Codex for cross-vendor review. - Doc fixes: pi
--modeltakes<provider>/<model-id>;broco review --bgreturns a suffixed session name.
中文
- Antigravity(agy)风险提示:Google 消费者订阅(Free、AI Plus、Pro、Ultra)不允许第三方 Agent 调用 Antigravity CLI,已有账号因此被封。broco 继续支持 agy,但会在
broco setup、broco roster和会话里第一次派给 agy 时提示,Skill 也会让宿主 AI 先转告你。详见 https://broco.yanauto.me/zh/docs/workers/#agy - 示例改用 pi:README、官网和文档的示例改为
pi:deepseek和pi:zai(GLM,模型写作zai/glm-5.3),异厂审查用 Claude Code ⇄ Codex。 - 文档修正:pi 的
--model要写成provider/模型;broco review --bg返回的会话名带随机后缀。
Install / upgrade: curl -fsSL https://broco.yanauto.me/install.sh | sh · irm https://broco.yanauto.me/install.ps1 | iex · npm i -g @yanauto/broco
v1.2.0 — One-line install on macOS, Linux & Windows
One line, any machine
macOS / Linux:
curl -fsSL https://broco.yanauto.me/install.sh | shWindows (PowerShell):
irm https://broco.yanauto.me/install.ps1 | iexAlready on Node.js 22.13+? npm install -g @yanauto/broco still works.
Highlights
- One-line installers: install into their own folder (
~/.local/share/brocoor%LOCALAPPDATA%\broco), reuse an existing Node.js 22.13+ or download a SHA-256 verified Node.js 24 LTS runtime, need no admin rights, and leave your global npm and existing Node untouched. Automatic fallback to npmmirror for users in mainland China. Rerun to upgrade;--uninstall/-Uninstallto remove. - Node.js 22.13+ support: the minimum drops from 24 to 22.13.0; only the SQLite
ExperimentalWarningis silenced, and unsupported versions get a clear message pointing to the installers. - SQLite busy timeout: every database open now waits up to 5 seconds instead of failing with
database is lockedwhen the CLI and runner touch the database at the same time. - CI: Node 22.13.0 and 24 on Ubuntu and Windows, plus a new installer workflow on Ubuntu, macOS and Windows.
中文更新要点
- 一行命令安装:macOS / Linux 用
curl -fsSL https://broco.yanauto.me/install.sh | sh,Windows 用irm https://broco.yanauto.me/install.ps1 | iex。装入独立目录,已有 Node.js 22.13+ 就直接用,没有就下载经 SHA-256 校验的 Node.js 24 LTS;不需要管理员权限,不改全局 npm 和已有 Node;官方源失败时自动切换 npmmirror。重跑即升级,--uninstall/-Uninstall卸载。 - 支持 Node.js 22.13+:最低版本从 24 降到 22.13.0,只屏蔽 SQLite 实验警告;版本过低时给出清楚提示和安装脚本地址。
- SQLite 等待超时:命令行和后台进程同时读写数据库时最多等 5 秒,不再直接报
database is locked。 - CI:Ubuntu 和 Windows 上测 Node 22.13.0 与 24,另有安装脚本在 Ubuntu、macOS、Windows 上的真机测试。
Full changelog: CHANGELOG.md · Website & docs: https://broco.yanauto.me/
v1.1.0 — Native Windows 11 support (macOS, Linux & Windows)
Native Windows 11 support — one pure Node.js 24+ package across macOS, Linux, and Windows
Install or upgrade:
npm install -g @yanauto/broco
broco setupHighlights
- Windows platform backend (
lib/platform/windows.mjs): detached hidden background runner, Windows Named Pipe IPC (\\.\pipe\broco-*),Win32_Process+taskkill /T /Fprocess-tree cleanup, native browser/terminal integration (rundll32/ Windows Terminalwt.exe/ PowerShell), and Windows 8.3 short-path normalization. - Cross-platform CLI & shim resolver (
lib/spawn-cli.mjs): WindowsPATHEXTlookup (.com,.exe,.bat,.cmd, skipping extensionless POSIX npm shims) and direct unwrapping of npm Node.cmdshims toprocess.execPathwithoutcmd.exequoting issues, with a safeComSpec /d /s /cfallback for non-Node wrappers. - Cross-platform
broco setup: WindowsPATHsanitization,broco.cmdlauncher wrapper, and admin-free NTFSjunctionlinking for Pi skills (~/.pi/agent/skills/broco/PI_CODING_AGENT_DIR). - Dual-OS CI & real hardware verification: Verified on macOS, Ubuntu Linux (
ubuntu-latest), Windows Server (windows-latest), and real Windows 11 with livepiworktree dispatch and the local board UI.
中文更新要点
- 三端原生统一安装:同一份纯 Node.js 24+ 包
@yanauto/broco原生支持 macOS、Linux 与 Windows 11(PowerShell / Windows Terminal / cmd;WSL2 继续走 Linux 后端)。 - 原生 Windows 后端:无窗口后台 runner、Named Pipe(
\\.\pipe\broco-*)、进程树回收(Win32_Process+taskkill /T /F)、8.3 短路径归一、原生浏览器与终端拉起。 - 跨平台 CLI 与
.cmd拆包器:按PATHEXT优先命中可执行文件(避开同目录无后缀 POSIX 脚本),自动拆包 npm Node.cmd直连node执行,免除cmd.exe转义坑。 broco setup适配:自动生成broco.cmd启动包装器,并以无需管理员权限的 NTFSjunction挂载 Pi 技能。- 双平台 CI 护航:GitHub Actions 新增
windows-latest矩阵,与ubuntu-latest同步跑全量测试。
Full changelog: CHANGELOG.md · Website & Docs: https://broco.yanauto.me/
v1.0.0 — opus-manager is now broco: let your harnesses work together
opus-manager is now broco (v1.0.0)
broco is a full rewrite of opus-manager (v0.4 history is preserved on the legacy/opus-manager branch) designed to let the AI coding harnesses already signed in on your machine work together.
Website & Docs: https://broco.yanauto.me
Highlights
- Cross-harness collaboration (6 hosts): Works across Claude Code, Codex, Cursor, Antigravity, OpenCode, and Pi through one open
SKILL.md. - Official local CLIs: Runs
claude,codex,agy,cursor-agent, andpi:<provider>as isolated local subprocesses using your existing logins, passing prompts over stdin withBROCO_IN_WORKER=1recursion protection. - Quota-aware dispatch: Inspect live 5-hour and weekly headroom (
broco roster) before handing off work. - Isolated git worktrees & blind cross-vendor review: Run edits in dedicated worktrees (
broco say ... --worktree), inspect patches (broco diff), and omit--byonbroco reviewto automatically pick a different vendor. - Parallel batch fan-out (
broco map): Run one brief across many files with a bounded FIFO pool and event-drivenbroco wait. - Zero-init default (L0) & optional local board (
broco ui): Keeps state under~/.broco/without touching your repository, with an optional local browser board for live quotas, active runs, errors, and linked reviews.
Install
npm install -g @yanauto/broco
broco setupUpgrading from cc-bro?
npm install -g @yanauto/broco
broco shutdown
broco setup --migrate-cc-broRequires macOS or Linux and Node.js 24+. Licensed under Apache-2.0.
v0.4.0
New
- Unattended mode. Hand the work over and walk away. Before you leave, Claude asks the questions it would otherwise interrupt you with and writes them down in
_tickets/handoff.md: what it may do alone, what it must never do alone, a worker budget, when to stop. Then it works down_tickets/queue.md: dispatch, accept, review, fix, next. Decisions it may not make go into_tickets/decisions.mdwhile it carries on with other tickets. One line per closed ticket goes into_receipts/progress.md, and a report is written when it stops. If you have already left, it takes the most conservative reading instead of waiting on a question. - Background waits wake the manager. After dispatching a build or a review, Claude starts a wait as a background task of its own tool (in Claude Code, a background Bash command). When the worker ends, the completion notice wakes Claude; nobody has to type "continue". Waits have a 60-minute cap and a liveness check, and the review script now writes its own
.review.status. - README now leads with unattended runs, with two real ones: a colleague's release day (after he left at 17:30 it ran 9 tickets through build, review, fix, release and live check by itself until 22:28) and an overnight run on the author's work project (7.4 hours, 9 tickets). It also says what stops a run, including Claude's own usage limits: on Pro, one busy morning used about 83% of a 5-hour window, and after the limit you have to tell Claude to continue.
Upgrade
Replace your installed opus-manager skill folder with the one in the zip below (en or zh). Existing projects keep working.
China mirror / 国内下载: https://yan-auto.me/zh/downloads/opus-manager/
中文说明
- 无人托管模式。 把活交出去,人就可以走开。你走之前,本来会中途打断你的问题,Claude 一次问清,写进
_tickets/handoff.md:哪些可以自己做、哪些绝不能自己做、工人预算、几点停。然后按_tickets/queue.md往下做:派单、验收、审查、修改,下一张。不能自己定的事记进_tickets/decisions.md,接着做别的单。每收尾一张在_receipts/progress.md记一行,停下时写报告。如果你已经走了,它按最保守的理解来,不停在问题上等。 - 后台等待叫醒经理。 派完施工或审查,Claude 用自己工具的后台任务起一条等待(Claude Code 里就是后台 Bash),工人结束时的通知把它叫醒,不用人说「继续」。等待最多 60 分钟并检查工人是否还活着;审查脚本也会写自己的
.review.status。 - README 改成以无人托管为核心,附两次真实运行:同事的上线日(17:30 下班后,它自己把 9 张单走完施工、审查、修改、上线、线上验证,到 22:28)和作者工作项目的一整夜(7.4 小时、9 张单);也写明会让它停下的情况,包括 Claude 自己的用量上限:Pro 忙一上午用掉过 5 小时窗口的约 83%,到上限后要你叫它继续。
v0.3.0
New
- No AI CLI yet? A recommended starting setup. When a machine has no worker CLI, the skill now suggests the open-source
pi(Pi Coding Agent) with an OpenCode Go subscription: one subscription covers DeepSeek, Qwen, Kimi, MiMo, GLM, Grok and more, so building and reviewing can use different vendors. Install, sign-in and headless commands are included. You still choose, you install only after saying yes, and you enter your own key. Claude also checks the provider's privacy table and steers you away from models marked as used for training. - Parallel dispatch rules (#6 by @dodocat-sun, refined in #8): one branch and workdir per ticket, only the manager merges,
Ticket: T<N>in PRs and a release lock when workers may open PRs or release, a status summary for running tickets, usage and cost per ticket when the tool reports it, an optional per-ticket budget, and a fresh session per ticket. - Live-service tickets: finish backups and long transfers before stopping anything, put timeouts on every remote command, and confirm every service and scheduled job after restart.
- Dispatch prompt fix: the prompt now gives the absolute workdir. Some tools run commands in their own temp folder otherwise.
- Script pitfalls from real runs: check where
-ptakes its prompt, and brace bash variables followed by non-ASCII text.
How it was tested
On a local sandbox with pi + OpenCode Go, cursor-agent and agy: the full ticket flow, an 8-model build and review bake-off, and one SWE-bench Pro V2 hard task graded locally in Docker.
Upgrade
Replace your installed opus-manager skill folder with the one in the zip below (en or zh). Existing projects keep working.
China mirror / 国内下载: https://yan-auto.me/downloads/opus-manager/
中文说明
- **电脑上还没有 AI 命令行工具?**skill 现在会推荐开源的
pi配 OpenCode Go 订阅:一份订阅就能用 DeepSeek、Qwen、Kimi、MiMo、GLM、Grok 等多家模型,施工和审查可以换不同厂家。附安装、登录和无头运行的写法。仍由你选、你同意后才装、密钥你自己填;Claude 会查隐私表,提醒避开会拿数据训练的模型。 - 并行派单守则(@dodocat-sun 的 #6,#8 细化):每张单独立分支和目录、只由经理合并;允许工人开 PR 或发布时,PR 写工单号、发布加锁;在跑工单的状态汇总;工具能报用量时按单记花费;可设单张预算;一张单一个新会话。
- 碰线上服务的单:停之前先做完备份和大文件传输,远程命令加超时,拉起后逐项确认服务和定时任务。
- 派单提示修正:提示里给出作业目录的绝对路径。
- 实跑中踩到的脚本坑:核对
-p的参数位置;bash 变量后紧跟中文要写${变量}。
升级:用下面 zip 里的 opus-manager 文件夹替换已安装的那个。已有项目照常能用。
v0.2.0
Rules learned from real use, most of them from the field report in #1 by @dodocat-sun. Thanks!
New
- Dispatch goes through a script. On first run Claude writes
_tickets/dispatch.*and_tickets/review.*for your shell (bash or PowerShell). The script claims the ticket, signs the real tool and model, starts the worker in the ticket's workdir with absolute paths only, and runs it detached from Claude's session, writing_receipts/<ticket>.statuswhen it ends. A session restart no longer kills the worker, and a worker can no longer wander off and pick up another project's ticket. - More than one builder, chosen by kind of work (
good forinworkers.md). - Parallel tickets: only when their files don't overlap, one branch per ticket, and workers never merge another ticket.
- Tickets that touch a live service keep downtime short, and every remote command gets a timeout.
- One fresh session per ticket, to keep pay-per-use costs down.
- Worker red lines: no scripts that walk directories and rewrite files, no opening non-text files unless the ticket names them.
- The receipt header now has a
branch / commit / PRline. - README: 8-week totals from the author (360 tickets, 340 accepted).
Upgrade
Replace your installed opus-manager skill folder with the one in the zip below (en or zh), or re-run the install steps in the README. Existing projects keep working; the next time you use it, Claude will offer to write the dispatch scripts.
China mirror / 国内下载: https://yan-auto.me/downloads/opus-manager/
中文说明
这一版的规矩都来自真实使用,大部分来自 @dodocat-sun 在 #1 里的实测报告,谢谢!
- 派单交给脚本:第一次使用时,Claude 按你的终端写好派单和审查脚本,负责领单、签名、用绝对路径启动工人、脱离会话运行、写状态文件。会话重启不会再把工人停掉,工人也不会领错别的项目的单。
- 施工工人可以有多个,按活的类型分。
- 同时派几张单:只派改的文件不重叠的,每张各走自己的分支,工人不合并别的单。
- 碰线上服务的单,停机要短,远程命令加超时。
- 一张单一个新会话,省按量计费的钱。
- 工人红线:不写遍历改文件的脚本,不打开非文本文件(工单点名的除外)。
- 回执开头加了「分支 / 提交 / PR」一行。
- README 加了作者 8 周的累计数据(360 张单,340 张通过)。
升级:用下面 zip 里的 opus-manager 文件夹替换你已安装的那个,或按 README 重新安装。已有项目照常能用,下次使用时 Claude 会提出帮你写派单脚本。