Skip to content

codex supervisor mcp changelog

io.github.zriyox/codex-supervisor-mcp

6 changes recorded. MCP Harbor re-reads this listing from the official registry every six hours and asks the live server what it exposes, and keeps what changed between one look and the next.

  • AGENTS.md +19 −18

    https://raw.githubusercontent.com/zriyox/codex-supervisor-mcp/HEAD/AGENTS.md

    − src/mcp-server.js        the 19 MCP tools; everything else is called from here− src/codex-runner.js      spawns codex exec, one worktree per worker, writes the task row− src/task-store.js        sqlite: tasks, task_events, sessions, side_sessions / side_turns− src/event-parser.js      codex --json events -> status / phase / error on the row; summarizeVerification− src/prompt.js            goal preamble in front of the task text, report format after it− src/worktree.js          what a worker changed (readTaskChanges, readWorktreeDiff)− src/landing.js           land_codex_worker (gated on acceptance), and rebaseWorktree for resume's rebaseOnto− src/acceptance.js        the supervisor's own run of a worker's acceptance commands− src/side-chat.js         ask_codex_worker and the board's side chat (codex exec fork)− src/auto-update*.js      background npm i -g; skill-sync.js copies the bundled skill− src/web-server.js        the board; UI source in web/, built to web/dist− skills/codex-supervisor/ the skill a model loads; ships inside the package− src/*-test.js            older checks, run first by npm test− src/test-fixtures/fake-codex.js  replays codex event streams by FAKE_CODEX_SCENARIO− npm test                 # the whole suite; under a minute; run before every commit− - Tests use a temp `SUPERVISOR_HOME` and `CODEX_BIN=src/test-fixtures/fake-codex.js`. No real Codex, no network, no git identity, no writable `/tmp` assumed. CI's Linux and Windows runners have none of those.− - Never run `npm i -g` or `codex-supervisor-setup` against the user's machine unless asked.− - A tool, argument or behaviour change is done when the skill, both READMEs (tool table and count) and a test say the same thing. The skill ships inside the package: a skill change reaches users only with a release.+ Five layers and the run host; a layer imports only the ones below it. `docs/architecture.md` has the rules and the path of one dispatch. ESLint enforces them.+ src/interface/           MCP tools (mcp/tools: the public schemas; mcp/handlers: the operations behind them), CLIs (bin), board API (web)+ src/run-host/            the detached process that owns one run: launch, streams, finalize+ src/app/                 use cases: dispatch, resume, followup, landing, rebase, cleanup-plan, acceptance, side-chat+ src/runners/             one directory per CLI (codex, claude); contract.js is the interface, registry.js finds a runner by name+ src/runners/codex/       the Codex CLI: arguments, event parsing, native goals, the tool guard+ src/infra/               store/ (SQLite, one module per record), git.js, process.js, worktree.js, update/+ src/domain/              pure rules: status, ownership, worker report, prompt, truncation+ src/mcp-server.js        four-line entry; client registrations point at this path+ skills/agent-supervisor/ the skill a model loads; ships inside the package+ test/scripts/*-test.js   older checks, run first by npm test+ test/fixtures/fake-codex.js  replays codex event streams by FAKE_CODEX_SCENARIO+ test/e2e/real-flow.mjs   an installed package against a real CLI; not in npm test+ npm test                 # the whole suite; about two minutes+ npm run lint             # layer boundaries and size limits+ - A server started by a test runs with `AGENT_SUPERVISOR_SKIP_SKILL_SYNC=1`. Without it the server copies the checkout's skill into the real `~/.claude`, `~/.codex` and `~/.agents` skill directories of whoever runs the tests.+ - Tests use a temp `SUPERVISOR_HOME` and `CODEX_BIN=test/fixtures/fake-codex.js`. No real Codex, no network, no git identity, no writable `/tmp` assumed. CI's Linux and Windows runners have none of those.+ - Never run `npm i -g` or `agent-supervisor-setup` against the user's machine unless asked.+ - A tool, argument or behaviour change is done when the skill, both READMEs (tool table and count), both `docs/reference*.md` (arguments and edge cases) and a test say the same thing. The skill ships inside the package: a skill change reaches users only with a release.
  • llms.txt +65 −59

    https://codex-supervisor.zriyo.com/llms.txt

    − # codex-supervisor-mcp− > codex-supervisor-mcp 是一个 Codex MCP server,把派单和记账从模型上下文里拿出来放到磁盘上:一个主线程同时指挥多个 Codex CLI worker,一个 worker 一个 Git worktree,状态落盘 SQLite,附网页看板。− - 官网: https://zriyox.github.io/codex-supervisor-mcp/− - GitHub: https://github.com/zriyox/codex-supervisor-mcp− - npm: https://www.npmjs.com/package/codex-supervisor-mcp− - 安装: `npm install -g codex-supervisor-mcp`(Node.js >= 22.13.0,codex CLI 在 PATH 里)− - 关键词: codex mcp, codex supervisor, MCP server, Codex CLI, parallel workers, git worktree, Claude Code, multi-agent− - 几个 worker 互相踩文件:一个 worker 一个 Git worktree,ownedPaths 在派单前查冲突,重叠直接拒。− - worker 的过程塞爆主线程上下文:事件写 data/runs/<taskId>.jsonl,读的时候有 limit / maxChars / kinds 三道闸。− - 主线程读一次状态就顶满:get_orchestration_overview 把全部 worker 压进 7000 字节。− - 进程重启后不知道谁还在跑:supervisor.sqlite 一行一个 work,带 thread_id,重启照样找得回。− - 换个会话接不上之前的 worker:resume_codex_worker 走 codex exec resume <thread_id>,接的是同一个 Codex 会话。− - 分不清「跑失败」和「进程没了」:状态机把 failed 和 lost 分开:failed 看日志,lost 用 resume_codex_worker 接回同一个线程。− - worker 说做完了,不知道真假:派单时给 acceptance 验收命令,worker 退出后 supervisor 自己跑一遍,失败 land 拒绝;get_worker_diff 看它实际改了什么,ask_codex_worker 旁路问它为什么。− - 看不见一批活现在到哪了:codex-supervisor-web 开一个看板,按 session 看每路 worker 在干什么。− - 主线程和 worker 必须同一个模型:model 参数原样透传给 codex exec,主线程留在 Claude,worker 可以挂 DeepSeek,账单分开算。− ## 19 个 MCP 工具− - `create_codex_worker`:起一个 worker:ownedPaths、goal、acceptance 验收命令、baseRef、model 透传− - `create_codex_followup_worker`:开一个新会话,把老 worker 的 prompt、状态、近期事件拼进去− - `resume_codex_worker`:接同一个 Codex 会话继续跑,thread_id 不变;rebaseOnto 先把 worktree 挪到主线新头− - `wait_codex_workers`:等终态,默认 2 分钟到点带快照返回,worker 照跑;compact 每路一行,带验收结果和 idle_seconds− - `get_orchestration_overview`:全部 worker 的状态表,封顶 7000 字节− - `get_worker_result`:worker 的汇报,加 acceptance(supervisor 替你跑的验收)、verification(它自己跑过的命令)、base_behind− - `get_worker_diff`:worker 实际改了什么:起点到工作区的 patch,提交没提交都算,maxChars 管总量− - `ask_codex_worker`:旁路问 worker 一句:线程 fork 成只读侧会话,没网络没 MCP 工具,worker 本身不动− - `land_codex_worker`:把 worker 的提交 cherry-pick 到派单目录当前分支,冲突回滚,验收没过拒绝;commitMessage 先替它提交− - `get_worker_summary`:一段话:goal、状态、改动、最后一条命令和消息− - `get_codex_worker_status`:单个 worker 的状态细节,prompt 默认截到 300 字− - `get_codex_worker_events`:原始事件流,kinds / limit / maxChars 三道闸− - `get_worker_goal`:派单时记的 goal + Codex 原生 goal(token、用时)− - `list_codex_workers`:列 worker,默认只看在跑的− - `get_session_works`:一个 session 的全部 worker,主线程重启后靠它找回− - `describe_session`:给 session 记标题和说明− - `search_works`:在 title / goal / prompt / last_message 里找子串− - `check_for_update`:问 registry 有没有新版本;有的话后台自动装,下次会话生效− - `cancel_codex_worker`:终止 worker,跨进程按 pid 兜底,先确认 pid 跑的是 codex− - `completed`(成功):turn.completed 后落 status,进程退出后才写 exit_code− - `failed`(失败):非零退出码、turn.failed、spawn 失败。看日志− - `cancelled`(取消):被 cancel_codex_worker 中断− - `lost`(丢失):被外部信号杀掉、MCP 进程消失。resume_codex_worker 接回+ # agent-supervisor-mcp+ > agent-supervisor-mcp 是一个 MCP server,把派单和记账从模型上下文里拿出来放到磁盘上:一个主线程同时指挥多个 Codex CLI 或 Claude Code worker,一个 worker 一个 Git worktree,状态落盘 SQLite,附网页看板。+ - 官网: https://agent-supervisor.zriyo.com/+ - GitHub: https://github.com/zriyox/agent-supervisor-mcp+ - npm: https://www.npmjs.com/package/agent-supervisor-mcp+ - 安装: `npm install -g agent-supervisor-mcp`(Node.js >= 22.13.0,codex CLI 在 PATH 里;用 Claude Code 当 worker 还要 claude)+ - 前身: codex-supervisor-mcp(同一个项目,2.0 起改名)+ - 关键词: agent supervisor mcp, codex mcp, codex supervisor, MCP server, Codex CLI, Claude Code worker, parallel workers, git worktree, multi-agent+ - 几个 worker 互相踩文件:一个 worker 一个 Git worktree,owned_paths 在派单前查冲突,重叠直接拒。+ - worker 的输出塞爆主线程上下文:事件写 data/runs/<taskId>.jsonl,主线程只读压缩过的概览,全部 worker 不超过 7000 字节。+ - 重启或换会话后接不上:每个 work 一行 SQLite,带 thread_id;resume_worker 接回同一个会话。+ - 分不清跑失败、超时还是进程没了:状态机把 failed、timed_out、lost 分开,失败带来源和错误码:登录问题、上游问题还是配置问题,一眼看得出。+ - worker 说做完了其实没有:派单带 acceptance 验收命令,worker 退出后 supervisor 自己跑一遍,不过就拒绝合入。+ - 改动留在本地没上线:land_worker 合回主分支,verify_push 核对远端真有这笔提交。+ - worktree 越堆越多:已合入或没改动的在轮询时自动清;没合入的留 7 天,删之前先把未提交的改动存进它的分支。分支和证据不删。+ - 看不见一批活现在到哪了:agent-supervisor-web 开一个看板,按 session 看每路 worker 在干什么。+ - 主线程和 worker 必须同一个模型:worker 可以是 Codex CLI,也可以是 Claude Code;model 原样透传,主线程留在 Claude,worker 挂别的 provider,账单分开算。+ ## 15 个 MCP 工具+ - `preflight_worker`:派单前用同样的 workspace、sandbox 和守卫起一个短 probe,证明环境能跑+ - `create_worker`:起一个 worker:owned_paths、goal、acceptance 验收命令;runner 选 codex 或 claude;followup_of 接着上一路干+ - `resume_worker`:接同一个会话继续跑,thread_id 不变;rebase_onto 先把 worktree 挪到主线新头+ - `cancel_worker`:终止 worker 或它的验收,worktree 和已有改动都留着+ - `poll_workers`:不带 cursor 给全表;带 cursor 只给这之后的变化,顺带恢复死掉的第一轮、清掉可以清的 worktree+ - `wait_workers`:等到结算,一次最多 60 秒,到点带快照返回,worker 照跑+ - `get_worker`:读一个 worker,include 选要哪块:status、result、goal、events、evidence、context、preflight+ - `get_worker_diff`:worker 实际改了什么:起点到工作区的 patch,提交没提交都算,按文件和 hunk 分页+ - `ask_worker`:旁路问 worker 一句:线程 fork 成只读侧会话来答,worker 本身不动+ - `land_worker`:把 worker 的改动落到当前分支,冲突回滚,验收没过拒绝;commit_message 先替它提交+ - `verify_push`:核对落地的那笔提交确实到了远端。只验证,不替你 push+ - `cleanup`:看某个 worktree 为什么还在、立刻清掉 SAFE 项、查清理历史。分支和证据不删+ - `find_works`:按 session 找回一批 worker,或在 title、goal、prompt、汇报里搜子串+ - `describe_session`:给一批活记标题、说明、默认验收和审批状态+ - `note_worker`:记下主线程对 worker 的决定;review_ok 要 worker 已结束且验收通过,或写明豁免理由+ - `completed`(成功):回合结束先落 status,进程退出后才写 exit_code+ - `failed`(失败):非零退出码、回合失败、spawn 失败。failure 给出来源和错误码+ - `timed_out`(超时):时间预算用完被 supervisor 停掉。不会自动重试+ - `cancelled`(取消):被 cancel_worker 中断+ - `lost`(丢失):被外部信号杀掉、运行进程失踪。resume_worker 接回+ ### agent-supervisor-mcp 是什么?+ agent-supervisor-mcp 是一个 MCP(Model Context Protocol)server。它让一个主线程(Claude Code、Codex CLI 或任何 MCP 客户端)同时派发并监督多个 worker:每个 worker 是一个独立的 Codex CLI 或 Claude Code 进程,在自己的 Git worktree 里干活,状态全部写进 SQLite,并附带一个网页看板。

    Showing the first 40 of each.

  • server.json 2 fields changed
    description
    Parallel Codex CLI workers from any MCP client: one git worktree each, state in SQLite, web board. Renamed to agent-supervisor-mcp. This is the last release; it installs the new package for you.
    version
    0.8.0 1.3.0

  • AGENTS.md +4 −2

    https://raw.githubusercontent.com/zriyox/codex-supervisor-mcp/HEAD/AGENTS.md

    − src/event-parser.js      codex --json events -> status / phase / error on the row− src/landing.js           land_codex_worker+ src/event-parser.js      codex --json events -> status / phase / error on the row; summarizeVerification+ src/prompt.js            goal preamble in front of the task text, report format after it+ src/landing.js           land_codex_worker (gated on acceptance), and rebaseWorktree for resume's rebaseOnto+ src/acceptance.js        the supervisor's own run of a worker's acceptance commands
  • llms.txt +6 −6

    https://codex-supervisor.zriyo.com/llms.txt

    − - worker 说做完了,不知道真假:get_worker_diff 看它实际改了什么,ask_codex_worker 旁路问它为什么,核过了 land_codex_worker 落进集成分支。− - `create_codex_worker`:起一个 worker:ownedPaths、goal、session_id、baseRef、model 透传− - `resume_codex_worker`:接同一个 Codex 会话继续跑,thread_id 不变− - `wait_codex_workers`:等终态,默认 2 分钟到点带快照返回,worker 照跑;compact 每路只回一行− - `get_worker_result`:worker 的完整汇报 + status / exit_code / changed_files− - `land_codex_worker`:把 worker 的提交 cherry-pick 到派单目录当前分支,冲突回滚;commitMessage 先替它提交+ - worker 说做完了,不知道真假:派单时给 acceptance 验收命令,worker 退出后 supervisor 自己跑一遍,失败 land 拒绝;get_worker_diff 看它实际改了什么,ask_codex_worker 旁路问它为什么。+ - `create_codex_worker`:起一个 worker:ownedPaths、goal、acceptance 验收命令、baseRef、model 透传+ - `resume_codex_worker`:接同一个 Codex 会话继续跑,thread_id 不变;rebaseOnto 先把 worktree 挪到主线新头+ - `wait_codex_workers`:等终态,默认 2 分钟到点带快照返回,worker 照跑;compact 每路一行,带验收结果和 idle_seconds+ - `get_worker_result`:worker 的汇报,加 acceptance(supervisor 替你跑的验收)、verification(它自己跑过的命令)、base_behind+ - `land_codex_worker`:把 worker 的提交 cherry-pick 到派单目录当前分支,冲突回滚,验收没过拒绝;commitMessage 先替它提交

  • server.json 1 field changed
    version
    0.7.3 0.8.0