Skip to content

Releases

2.0.2

Choose a tag to compare

@zriyox zriyox released this 26 Nov 12:46
2715535

No code change since 2.0.0. The README carries the Glama score, the repository carries its Glama claim file, and the MCP Registry entry is now published by a workflow on each release.

2.0.1: links follow the renamed repository and site

Choose a tag to compare

@zriyox zriyox released this 26 Nov 09:11
66010c0

The repository is now zriyox/agent-supervisor-mcp and the site is agent-supervisor.zriyo.com; the old addresses redirect. Package metadata, README links and badges follow. No code change since 2.0.0.

2.0.0: the package is now agent-supervisor-mcp

Choose a tag to compare

@zriyox zriyox released this 26 Nov 08:08
b02efe6

A worker is no longer only Codex, so the name no longer fits. The package, its command line tools, the MCP registration and the skill are now agent-supervisor.

npm install -g agent-supervisor-mcp

Nothing else changed since 1.2.0: the same 14 tools, the same two runners (codex, claude).

Coming from codex-supervisor-mcp

  • You do not have to do anything. Its last release, 1.3.0, installs this package in the background and the next session starts on it.
  • Your state directory stays where it is. An existing ~/.codex-supervisor keeps being used, because worktrees are registered in each repository by absolute path. Only a machine without it starts in ~/.agent-supervisor.
  • Installing this package registers agent-supervisor with Claude Code and Codex, removes the codex-supervisor registration it replaced (a customised one is left and reported), and retires the old skill by renaming its SKILL.md.
  • The command line tools change prefix: codex-supervisor-web is agent-supervisor-web, and so on.
  • Environment variables are unchanged.

codex-supervisor-mcp 1.3.0: last release under the old name

Choose a tag to compare

@zriyox zriyox released this 26 Nov 08:29

The package is now agent-supervisor-mcp. This is the last release of codex-supervisor-mcp.

It works as 1.2.0 does and adds one thing: at start-up, a copy npm installed globally installs agent-supervisor-mcp in the background. That package's own install step registers it with Claude Code and Codex, removes this package's registration and retires its skill, so the next session starts on the new package. The state directory is not touched.

A source checkout, a copy started through npx, CI, and a machine with AGENT_SUPERVISOR_NO_AUTO_UPDATE=1 are told and not changed; there, run npm install -g agent-supervisor-mcp.

Afterwards: npm uninstall -g codex-supervisor-mcp.

1.2.0: Claude Code as a worker, and runners as plugins

Choose a tag to compare

@zriyox zriyox released this 26 Nov 07:29
054dbed

A worker no longer has to be Codex. Pass runner: "claude" to create_worker and the worker is Claude Code in headless mode. Everything else is the same: worktree, acceptance, resume, landing, cleanup.

codex (default) claude
OS sandbox yes no: runs only in a git worktree or read-only, and its guard allows the shell only reads and declared commands
Resume yes yes
Guard hook yes yes
Structured report yes yes
Side chat (ask_worker) yes no, answers unsupported
Native goal yes no

A third CLI is a plugin: a package named agent-supervisor-runner-<name>, or a file named by AGENT_SUPERVISOR_RUNNER_<NAME>. docs/runner.md is the guide, and checkRunner runs the checks the built-in runners pass in CI.

Still 14 tools. Upgrading from 1.1.0 needs only a reopened session. Set CLAUDE_BIN if claude is not on the server's PATH.

Verified end to end on macOS with real Codex workers and with real Claude Code 2.1.332 workers.

1.1.0: reliability

Choose a tag to compare

@zriyox zriyox released this 26 Nov 06:11
3160b41

No tool is added or removed. Upgrade from 1.0.0 needs nothing but a reopened session.

Change Before Now
Time budget A worker stopped by limits was lost, the status that means "re-run it" timed_out, failure.source: time_limit, never retried automatically
Non-zero exit Always worker_process Attributed from stderr: auth, provider, runner_config, runner_session, or worker_process, with the last stderr line in failure.detail
Unhandled rejection Ended the MCP server; every later call answered "Connection closed" Written to data/crash.log; the server carries on
Cleanup during a poll Synchronous git held the server Asynchronous
Worktree creation lock A holder that died left it for good A waiter takes over a dead holder's lock
Recovery after a killed run Could resume while the CLI's binary was still alive: "thread already has an active writer" Waits until nothing of the dead run is left
Event bodies Stored twice, in the JSONL log and in SQLite An event over 2 KB keeps a clipped copy in SQLite and its full body in the log; get_worker reads it back. Existing rows are untouched
Reused pids A finished worker's old pid, given to another process, blocked cleanup and recovery (within seconds on Windows) Not consulted once a run is over

1.0.0: fourteen tools instead of thirty-nine

Choose a tag to compare

@zriyox zriyox released this 26 Nov 05:23
0b0ce0d

Breaking. The tool surface is rebuilt and no old name is kept as an alias. Finish or re-dispatch workers in flight before upgrading, then reopen the session so the new skill loads.

Thirty-nine tools cost a main thread 41,000 characters of schema in every session. There are now fourteen, 15,930 characters in all.

Stage Tools
Before dispatch preflight_worker
Dispatch create_worker, resume_worker, cancel_worker
Tracking poll_workers, wait_workers
Collecting get_worker, get_worker_diff, ask_worker
Delivery land_worker, verify_push, cleanup
Batches find_works, describe_session

facts, review and get_artifact are registered only with AGENT_SUPERVISOR_TOOLS=all.

What changes for a caller

  • poll_workers replaces five tools. Without a cursor it reads the table and hands out a cursor; with one it reports only what changed, recovers a dead first run and cleans up.
  • get_worker replaces seven; include picks the parts.
  • create_worker takes followup_of, and groups its arguments into workspace, sandbox, context, acceptance, limits, session.
  • cleanup takes an action.
  • Every argument is snake_case, and an unknown argument is refused instead of dropped.
  • A failed call sets isError.
  • Environment variables are AGENT_SUPERVISOR_*. New workers are on worker/<id> branches; a worker on an old codex/<id> branch still reads, resumes and lands.

Fixed along the way

  • A finished worker's old pid, reused by another process, no longer blocks cleanup, reconciliation or automatic recovery. On Windows this happened within seconds.

0.14.0

Choose a tag to compare

@zriyox zriyox released this 25 Nov 16:56
10bdbd7

Worktrees clean up after themselves, and cleanup can no longer lose work.

Why. Over a month of real use the old policy never marked one worktree SAFE. It required a passed acceptance run and a verified push, nobody verified a push, and 174 workers left their worktrees until the directory was deleted by hand.

The rule now. A worker's branch is never deleted, so the only thing removing a worktree can lose is uncommitted edits, and those are committed to the branch first.

Situation Verdict
Worker or acceptance running, or an active dependent BLOCKED
Landed, commit still on the target branch, worktree clean SAFE
Finished without changing anything SAFE
Unlanded commits or uncommitted edits REVIEW for 7 days, then SAFE
Path, branch or registration does not match, or the base is unknown REVIEW
  • check_workers and overview_delta sweep at most every ten minutes and list what they removed under cleaned.
  • After a worktree is gone, resume, land, a side question and a diff cut it again from the worker's branch.
  • CODEX_SUPERVISOR_NO_AUTO_CLEANUP=1 turns the sweep off. CODEX_SUPERVISOR_CLEANUP_HOLD_DAYS changes the 7 days.
  • The cleanup CLI is a bin now: codex-supervisor-cleanup.
  • verify_delivery_push no longer creates a cleanup plan; cleanup does not depend on it.

Also fixed. Resume fell back to the project root when the worker's directory was missing, which could let a scratch worker write into the source directory. It now recreates a scratch directory and refuses otherwise.

0.13.6

Choose a tag to compare

@zriyox zriyox released this 25 Nov 16:22
7dd4fdb

The source tree is now layered, and the boundaries are enforced by lint. tools/list is byte-identical to 0.13.4, so nothing changes for a main thread.

  • src/ is split into interface, run-host, app, runners/codex, infra and domain; docs/architecture.md has the map. src/mcp-server.js stays where client registrations expect it.
  • The three largest files and every function over 80 lines are broken up.

Fixes found while reviewing the moved code:

  • The board accepted side-chat requests from other origins. Requests that change something must now come from the board's own origin.
  • Cancelling could overwrite the row a run host had just finished, turning a completed worker into a cancelled one.
  • A failure while recording the end of a run could end the run host silently and leave the worker at "Running acceptance".
  • A refused or failed dispatch could leave a worktree and a queued row that blocked its paths.

0.13.5

Choose a tag to compare

@zriyox zriyox released this 25 Nov 15:10
12db41a

No behaviour change.

  • Both READMEs are about half as long. The argument tables and edge-case detail moved to docs/reference.md and docs/reference.en.md unchanged.
  • An ESLint baseline and a lint job in CI.
  • server.json now carries the package version; it had been stuck at 0.8.0, so the MCP Registry listed a stale release.