Auny in a hood

model-orchestrator

Give your coding agent a playbook for choosing the model, effort and tools each task needs.

Task Agent request Routing rules Role + complexity Lanes Plan, work, cheap Models Installed tools
npx model-orchestrator
Star on GitHub

Task“Build the new settings page.”

Agent + routing rules
  • PlanningDesign the approach

  • WorkingBuild the artifact

  • CheapHandle routine work

Role picks the job. Complexity sets the effort.
Your installed stack supplies the available models.

What this does

14 seconds · Silent video

Get started

Go from install to your first task.

  1. Run the installer

    Choose your setup and the AI tools you use.

  2. Review the proposed changes

    Confirm the project rules and activation steps. Existing files get backups.

  3. Start a fresh agent session

    Follow the activation check in your generated README, then give your agent a real task.

# Try the installer
npx model-orchestrator

# Install the shorter command
npm install -g model-orchestrator
aunx --help

Want to inspect the plan first? Use --dry.
Read the complete installation guide

Give every task a role.

Match research, planning, building and review to the tools and model tiers in your own stack.

How routing works

Keep the context together.

Send each worker a task brief, shared facts, and clear acceptance checks through the CLI runner.

Meet the aunx commands

Know what actually worked.

Use acceptance checks, verify commands that fail a run when the result does not pass, and independent review. Measure where your agent sends work with local routing metrics.

See the evidence ↓

Evidence you can inspect

-62.8%
single-turn A/B list-price USD change across 6 tasks, 5/6 vs 6/6 pass (tokens +50.08% from route-table overhead)Measured 2026-11-17 · Expires 2026-12-17 · sample 6
10 of 10
empty-result fixtures flaggedMeasured 2026-11-23 · Expires 2026-12-07 · sample 10
4 of 4
failing acceptance-check fixtures blocked by the gateMeasured 2026-11-23 · Expires 2026-12-07 · sample 4

Dated measurements, sample sizes, and scripts you can rerun. The guarantees guide distinguishes executable checks from instructions your agent follows.

Releases

npm latest 1.1.7 ↗

v1.1.7

1.1.7

  • Move the level 3 image pins to the newest stable vendor releases, LiteLLM v1.112.2 and Ollama 0.40.21, and re-date the image advisory exceptions from the new scan.
  • AGENTS.md asks contributors' agents to keep commit messages and PR text to the change itself.

Read release notes on GitHub ↗

v1.1.6
  • Rename the Obsidian vault MCP companion from obsidian-tc to reliquary-tc across src/catalog.js, README.md, docs/companions.md and generated MCP templates (#102).
  • Add Active LTS Node 24 to .github/workflows/test.yml, trigger product-site rebuild notifications on release, and refresh reproducible proof measurements (#108).
  • Load cli-run.mjs, models.js, postinstall.js and uninstall.js on demand across aunx and the installer, hoist route regexes, walk template directories with file-type entries, reuse validated first-attempt lane state in cli-run, and exclude non-runtime GIFs and CI advisory policy files from the published npm tarball.

Read release notes on GitHub ↗

v1.1.5
  • Upgrade LiteLLM from v1.109.1 to v1.110.0 (linux/amd64 digest), checked against upstream on 2026-11-20: its image advisories drop from 25 to 8. Ollama stays on 0.40.16, still the newest release, now with 57 image advisories (53 before, 4 new). Renew the 65 dated Level 3 image exceptions, one per advisory, to 2027-01-04 from the catalog advisories report, and remove the exceptions for the replaced LiteLLM image. No npm or PyPI package advisories.

Read release notes on GitHub ↗

v1.1.4
  • Add a reproducible 6-task routing A/B harness (proof/scripts/routing-ab.js) and publish whole-run token, route-table overhead, list-price dollar and pass-rate measurements on the proof page (#69).
  • Add optional gateway lanes for GPT-6.1 Terra, GPT-6 Luna and Gemini 3.8 Flash alongside existing defaults, and refresh the provider model snapshot to 2026-12-17 (checked 2026-11-17; verify gateway compatibility and account access before use).
  • Qualify the Gemini CLI access restriction in the catalog: Google retired Code Assist for individuals while enterprise and API-key access continue, and model-orchestrator supports agy for Google AI plans (#84).

Read release notes on GitHub ↗

v1.1.3

1.1.3

  • Verify the release tarball before trusted publication, limit checkout credentials, and schedule dependency updates.
  • Compare the analytics script host exactly.

Read release notes on GitHub ↗

v1.1.2

1.1.2: Claude Desktop connectors live under Customize > Connectors

  • Point Claude Desktop users at Customize > Connectors in templates/tools/context7/CONTEXT7.md. Connectors moved there from Settings > Connectors in the current Claude desktop app and claude.ai.

Read release notes on GitHub ↗

v1.1.1

1.1.1: Part of a set renders from the shared set file, offline drift check

  • Render the README and llms.txt "Part of a set" sections from the shared set file. The README table has four rows, adds repo-build-skill, and each line is that package's npm description.
  • Check set block drift and pinned renderer and set file hashes offline in CI (AUN-1619).

Read release notes on GitHub ↗

v1.1.0

1.1.0: verify commands, quota fallback walk, capability classes

  • Run brief or --verify commands after a lane returns output, keep that output, and exit 24 when a command fails.
  • Walk fallbacks.json after a quota result, skip exhausted billing pools and missing CLIs, and name the lane that ran.
  • Resolve frontier, fast and swarm with aunx route --class, using one shared eligibility block for public or private data and for read or write.

Read release notes on GitHub ↗

v1.0.17

1.0.17

  • Add Biome lint, non-strict JavaScript type checks and a 160-character source line cap to CI; split the installer into modules behind its existing public API (#72).

Read release notes on GitHub ↗

v1.0.16

1.0.16

  • Pin the Level 3 images to ghcr.io/berriai/litellm:v1.105.1 (from v1.104.0, clears the multidict advisory) and ollama/ollama:0.40.5 (from 0.35.1, 139 findings to 122), the newest stable releases. No published image, release candidates included, clears the rest: litellm still ships glibc 2.44-r6 and ollama still compiles in older Go modules. The remaining findings are dated exceptions that expire on 2026-11-15 (AUN-1552). Ollama 0.40.2+ upgrades previously downloaded models in the background on first run and keeps the original copy as a backup, so the ollama volume temporarily grows.

Read release notes on GitHub ↗

v1.0.15
  • Enforce installed project lane data for ordinary packaged runner calls, refusing malformed or unsafe configuration without executing project code (#63).
  • Exclude missing and invalid route markers from coverage, delegated-work counts and reconciliation, and report invalid-marker counts (#64).
  • Put the Codex prompt after the option terminator so option-shaped text remains prompt data (#65).

Read release notes on GitHub ↗

v1.0.13

1.0.13: current Claude model resolution

Resolve current Claude model IDs before an explicit project install and check the installed agent pins offline.

Read release notes on GitHub ↗

v1.0.12

1.0.12

  • Preserve backslashes before pipes in rendered role tables and catalog facts, including nested fact keys.
  • Use explicit registry comparisons and static Node fixtures with data arguments; execute the watchdog test harness from a file to make the existing boundaries clear to code scanning.

Read release notes on GitHub ↗

v1.0.11

1.0.11

  • Add the "Skill packs on Agensi" section to README.md and beginner and intermediate pack links to llms.txt (closes #57).

Read release notes on GitHub ↗

v1.0.10

1.0.10

  • Apply plain routing rules for every supported main agent, preserve manual copy snippets, replace older applied blocks and retain uninstall compatibility (#51, #52).
  • Refuse home-level configuration before dry-run output, with one message naming the refused root (#53).
  • Print runner usage successfully for --help and -h, including through aunx cli-run (#54).

Read release notes on GitHub ↗

v1.0.9

1.0.9

  • Generate standalone beginner and intermediate Agensi skill packs from shared templates, with setup guidance, the bundled intermediate runner, zip packaging and drift checks.
  • LICENSE names Auny LLC as copyright holder; outside contributions now require the CLA in CLA.md.

Read release notes on GitHub ↗

v1.0.8

1.0.8

  • AGENTS.md is the single source of agent instructions. CLAUDE.md imports it so Claude Code loads the same rules as every other agent.
  • Merge the contributor rules that had diverged between AGENTS.md and CLAUDE.md.
  • The feature request form asks for an observable success check.

Read release notes on GitHub ↗

v1.0.7

1.0.7

  • Prefer an already-connected Claude worker MCP service in host routing, with the native CLI retained as a standalone fallback. Route suggestions and generated instructions describe the session, result, permission and environment boundaries; no MCP installation or automatic transport retry is added.
  • Enable the native claude CLI worker with print-mode JSON completion checks, existing permission rules, model and effort overrides, failure classification and shared timeout/cancellation handling. Codex-primary stacks can assign independent review to Claude Code; Claude-primary stacks retain Codex review. Generated lanes use executable names while manifest AI identities retain installer IDs. Claude fixtures record native success and authentication failures.
  • Keep supported lanes usable when an edited or unverifiable older runner is kept during an upgrade. Withhold unsupported lanes and their defaults from lanes.json, and report how to enable them with --upgrade-runtime.

Read release notes on GitHub ↗

v1.0.6

1.0.6

  • The hermes lane takes --provider and "provider" in bin/lanes.json defaults, so a pinned model goes to a provider that serves it. A provider needs a model with it (a flag, a default or HERMES_INFERENCE_MODEL); otherwise cli-run refuses before the lane starts. Runs log provider_requested and provider_source.
  • --doctor notes a hermes model pinned without a provider, and a provider pinned without a model. The terminal route line shows the provider.
  • A hermes model/provider mismatch (an upstream "model is not supported" or model_not_found, for example grok-4.6 sent to openai-codex) is now class rejected, exit 16, with a problem line naming the mismatch and a fix pointing at hermes model. It was reported as a vague nonzero exit.

Read release notes on GitHub ↗

v1.0.5

1.0.5

  • The proof page keeps only figures that measure this package. The two browser token figures measured the author's own browser subagent, which model-orchestrator does not ship, and are removed from the proof data, the site and the trailer.
  • An expired proof figure is a signal to re-measure: it warns and never fails tests, CI or a release. The product site leaves expired figures off.

Read release notes on GitHub ↗

v1.0.4

1.0.4

  • Level 3 images move to ghcr.io/berriai/litellm:v1.100.3 (from v1.99.1, 23 advisories to 9) and ollama/ollama:0.34.4 (from 0.33.3). The advisories still inside those vendor images are recorded as reviewed exceptions that expire on 2026-10-28, so the check flags anything new and asks for a fresh review then.
  • The container advisory check records a Go binary's own unversioned module by name instead of reporting the whole image as unknown; any other package without a version still makes the image unknown.

Read release notes on GitHub ↗

v1.0.3

1.0.3

  • Weekly audit jobs use an explicit child environment allowlist, keep selected worker configuration overrides out of probes, and preserve stored sign-in paths. See the generated jobs README for migration (#45).
  • Catalog package and container pins get advisory checks with explicit coverage, dated machine-readable results and expiring advisory-specific exceptions. See catalog advisory checks for operation and limitations (#46).
  • aunx route-metrics --summary compares the route your agent named in each reply with the delegation that actually followed, from data the log already records: the share of sessions that match, sessions that named a route and dispatched nothing, and sessions that dispatched without naming one.

Read release notes on GitHub ↗

v1.0.2

1.0.2

  • A refused symlinked or changing file (such as MANIFEST.json) now names its path and the fix: replace the link with the file it points to. Since 1.0.1, rerunning the installer over a symlinked manifest stops instead of treating it as a fresh install.
  • A path shown in a refusal escapes control characters, so a crafted file name cannot write terminal escape sequences; a directory or other non-file gets "expected a regular file" without symlink advice.
  • The acceptance-check protocol states the timeout's reach: it stops the command's process group, and a descendant that starts its own session (for example with setsid) keeps running.

Read release notes on GitHub ↗

v1.0.1

1.0.1: security hardening

  • aunx route-metrics always runs the packaged metrics implementation. A checkout can no longer substitute its own JavaScript when a user requests a summary.
  • Installer and uninstall manifests use bounded regular-file reads with symlink refusal. Acceptance-check and routing JSON reads share the same bounded reader.
  • Acceptance-check timeouts and interrupts clean up the command's process group or Windows process tree, including ordinary descendants.

Read release notes on GitHub ↗

v1.0.0

1.0.0

  • The aunx command. The existing package now ships a short command alongside model-orchestrator. Run the installer with aunx, call an AI through aunx cli-run, scaffold a task brief and context file, execute acceptance checks, get a routing suggestion or summarize your local routing activity.
  • A build process from requirements to verified use. Shared context, executable acceptance checks, live capability probes, scoped assignments, background heartbeat guidance, split-build ownership and one independent audit step with a companion reviewer.
  • Reproducible proof. Measurement scripts, dated results with method and sample size, a generated proof page and a weekly refresh workflow. The test suite rejects expired figures.

Read release notes on GitHub ↗

v0.1.35

0.1.35

  • The description names all three things the installer writes. npm, the GitHub About box and package.json now read: rules, subagents and a lane runner tell agents which model to use. The README opening already listed the lane runner; the description stopped at rules and subagents.
  • Every GitHub topic is an npm keyword. coding-agents was a topic with no matching keyword.

Read release notes on GitHub ↗

v0.1.34

0.1.34

  • The package description says what it installs and who picks the model. npm and the GitHub About box now read: rules and subagents tell your agent which model does each task, matching the README opening; the old line read as if the package itself sent work to a tier.

Read release notes on GitHub ↗

v0.1.33

0.1.33

  • Opt-in snippet application. --apply-snippets applies a replaceable Claude Code rules block and merges hooks with timestamped backups, validation before writes, dry-run previews and manual uninstall guidance. (#41)
  • Model orchestrator or a model proxy. README and llms.txt explain the request layer, when to pick each approach and how they compose. (#44)
  • Selected lane guidance. Delegation rows and related cost and research advice render from selected catalog lane categories, keeping absent categories out of active picks. (#42)

Read release notes on GitHub ↗

v0.1.32

0.1.32

  • README shows what the install gives you, not a file dump. The 50-line dry-run file list under the demo became a six-row table naming each part and what it does for you; the preview command stays, and the full file list is one link away in docs/install.md.

Read release notes on GitHub ↗

v0.1.31

0.1.31

  • Manifest-based uninstall. --uninstall --dir <dir> --project <project> removes managed files whose content matches the recorded hash, keeps and names edited files, and preserves files outside the manifest. --dry and --dry-run preview the same removals. The manifest is the last file removed and stays when edits remain. New installs record the directories they create so uninstall can remove them when empty; older manifests leave directories in place. The command prints the manual steps for removing pasted rules and merged hooks. A missing manifest exits 2 and names its expected path.
  • Activation and related tools in the README. A captured install supplies the rules, hooks and smoke-test steps. A shared table links agent-personalizer and website-build-skill, and a short uninstall section links the full instructions.
  • Presentation leads with the task and payoff. The opening states that the rules tell your agent which model handles each task, followed by the problem, the setup and the routing log. README sections follow the install flow, with platform and vendor details kept in collapsed sections. Contributing names new catalog entries, vendor fixtures and documentation fixes as welcome contributions.

Read release notes on GitHub ↗

v0.1.26
  • obsidian-tc on Windows: the answer is that no client needs a cmd /c snippet, and OBSIDIAN-TC.md now says so with the code it was read from. All five obsidian-tc snippets spawn "command": "npx", and on Windows npx is npx.cmd, which a bare CreateProcess will not start. Each client was read instead of assumed, and all five resolve it themselves: Zed hands the command to the system shell (crates/context_server/src/transport/stdio_transport.rs, ShellBuilder::new(&Shell::System, ..), from its PR #42382, 2025-12-10), VS Code's formatSubprocessArguments in src/vs/workbench/api/node/extHostMcpNode.ts resolves the executable and re-spawns with shell: true for a .bat or .cmd, the Codex CLI calls which::which_in in codex-rs/rmcp-client/src/program_resolver.rs, and Cursor and Antigravity's agy both reach npx through @modelcontextprotocol/sdk, whose client/stdio.js imports cross-spawn and re-invokes a non-.exe as %COMSPEC% /d /s /c. That last point is wider than those two clients: every published SDK from 1.23.0 through 1.30.0 depends on cross-spawn ^7.0.5, so shell: false in that transport is not the whole story. The doc also names the one Windows case that can still fail and is not about .cmd: Zed prefers PowerShell, which resolves a bare npx to npm's npx.ps1 shim, and a .ps1 will not run under the Restricted execution policy that is Windows' client default. A test pins the snippet set, fails if any .windows file appears, and fails if the doc drops a citation. Not run on a Windows machine.
  • Context7's Windows guidance said something untrue about Zed, and its cmd wrapper was missing /d (#34 follow-up). 0.1.25 shipped mcp/context7.zed.windows.settings.json on the premise that Zed spawns "command": "npx" directly and so cannot start it. Reading Zed's own source for the obsidian-tc work above showed it has launched MCP stdio servers through the system shell since PR #42382 (2025-12-10), so a current Zed starts the plain snippet. The file stays, because it is still the fix for an older Zed and for the PowerShell execution-policy case, but CONTEXT7.md no longer sends every Windows user to it and now carries both reasons. The snippet's args change from ["/c", "npx", ...] to ["/d", "/c", "npx", ...]: without /d, cmd first runs whatever sits in the Command Processor AutoRun registry value, which can print non-JSON into the protocol stream. cross-spawn passes /d /s /c for the same reason. The #34 test follows the new args and now also fails if the doc stops naming why a current Zed does not need the file.

Read release notes on GitHub ↗

v0.1.25

0.1.25: Context7 Zed snippet for Windows

  • Context7 on Windows: a Zed snippet that can start the local server (#34). mcp/context7.zed.settings.json spawns "command": "npx", and on Windows npx is npx.cmd, a batch file a client cannot spawn as a bare command. New mcp/context7.zed.windows.settings.json runs "command": "cmd" with "args": ["/c", "npx", "-y", "@upstash/context7-mcp@<pin>"], the shape Context7's own client guide ships for Windows. CONTEXT7.md gains a "Local npx on Windows" table saying which Zed snippet to use on which OS, and the same by-hand change for any other client taking the local alternative. The remote snippets spawn nothing and are unchanged. A test pins the Windows args to the POSIX args behind /c npx and the catalog pin; not yet run on a Windows machine.

Read release notes on GitHub ↗

v0.1.24

0.1.24: Context7 as a companion, paired with codecalc

  • Context7 as a third companion tool, paired with codecalc. Context7 (Upstash) hands the agent current, version-specific documentation and code examples for any library, SDK, API or CLI, hosted or run locally with npx. It answers what a library is documented to do; codecalc still answers what the code actually does by running it. A new protocol, protocols/docs-then-prove.md, states the rule the pairing serves: pull current docs before writing against anything unconfirmed this session, then a run proves it, and where a doc and a run disagree the run wins. Optional and off by default, like obsidian-tc (--tools context7, or the interactive question); unlike the other two companions it always makes a network call, so it is the one to skip offline. src/catalog.js carries the entry (repo, role, install, requirements, the clients it self-registers with); CONTEXT7_STATUS renders both selected and not-selected wording the same way CODECALC_STATUS and OBSIDIAN_TC_STATUS already do, at every level and in ROUTING.md.
  • templates/tools/context7/CONTEXT7.md plus seven per-client mcp/ snippets, each read from that client's own docs rather than shared across clients that do not actually share a config shape: context7.claude-code.mcp.json ("type": "http" next to url, required or Claude Code skips the server), context7.mcpServers.json (Cursor's own documented shape, url with no type), context7.vscode.mcp.json, context7.qwen.settings.json (httpUrl, not url, plus the non-credential Accept header upstream ships), context7.zed.settings.json (local npx, pinned to the catalog's context7 version), context7.codex.config.toml, context7.agy.mcp_config.json. Claude Desktop has no file: its remote connection is a UI step (Settings > Connectors > Add Custom Connector), documented in CONTEXT7.md instead of a snippet nothing there reads.
  • Every context7 snippet ships keyless by default. The anonymous tier works with no header, while an unexpanded or empty Bearer ${CONTEXT7_API_KEY} makes every call return "Invalid API key" (probed live against https://mcp.context7.com/mcp), and clients like Codex http_headers never expand it. CONTEXT7.md has a "Higher rate limits (optional key)" section with one mechanism per client: Codex bearer_token_env_var, Claude Code ${VAR} expansion in .mcp.json headers, Claude Desktop's own Connectors key field, an exported shell variable for local npx, and "check your client's docs" where expansion is not confirmed; the fallback for a client that does not pass its environment to a spawned child is to stay anonymous, never to paste the key into a snippet's args. A test fails if a shipped snippet carries Authorization or CONTEXT7_API_KEY.

Read release notes on GitHub ↗

v0.1.23

0.1.23: cli-run failure classes

  • cli-run says WHY a lane failed. Every run lands in one class with its own exit code: auth 14, quota 15, rejected 16, refused 17, cut_short 18, next to the existing empty 10, no_output 11, timeout 12 and unavailable 13. A missing API key, a spent quota and an unknown model id used to share exit 10 or the vendor's own code, and each needs a different response: a missing key is not a model fault, and retrying a spent quota cannot help. Signals are read from each lane's authoritative error fields only, never the model's prose, with precedence auth, quota, rejected, refused, cut_short, empty.
  • refused=N on every run. Tool calls a hook or deny rule blocked, counted from qwen's permission_denials, agy's deny-rule steps, codex's router Rejected( lines, and grok's session transcript (its sessionId is charset-checked, the path is contained to the sessions root, lines must name the same session, and the read is capped at 5 MiB). null when a lane gives no signal. A deliverable with refused calls is still exit 0.
  • A problem line and a fix line on the terminal for every failure, and for an ok run with refused calls, so a calling agent can relay "this is what went wrong, this is the fix" and ask.

Read release notes on GitHub ↗

v0.1.22

0.1.22

  • SuperGrok Plus as a grok plan (high headroom). xAI's pricing page lists it with "Significantly higher usage across Chat, Imagine, Voice & Build", so --plans grok=supergrok-plus now works and counts as a high-headroom lane for plan guidance and --effort-auto. SuperGrok Heavy stays out: the page states no Build usage for it. A test holds both.

Read release notes on GitHub ↗

v0.1.21

0.1.21

  • Subscription plans, stated by you and never guessed. The installer asks which plan you hold for Claude Code, Codex, agy and grok (interactive, or --plans codex=pro-20x,agy=ultra-5x; --plans none clears). Each plan row in src/catalog.js carries only a name, a headroom level (base, high, max), its official source page and the date it was checked; no prices and no model ids, because both change faster than releases. --list prints them.
  • Plan guidance in the generated docs. The lanes table gains a Plan column, and ROUTING.md and DELEGATION_MATRIX.md gain a plan guidance block: high and max headroom lanes take volume (scoped builds, pre-ship second-family audits, first-pass research), base headroom lanes keep short second opinions. Headroom moves volume only; who reviews what does not change.
  • --effort auto in cli-run. Accepted as a flag or as a lanes.json default on every lane with an effort flag (qwen still refuses it). A call sizes from prompt length: under 4,000 characters is medium, otherwise high. A codex --audit always runs at high and logs the larger of prompt length and changed lines as evidence. Auto never resolves above high: xhigh, max and ultra are sent only when named. The durable log gains effort_resolved, effort_basis (explicit, prompt_chars, audit_floor, none), effort_scope and effort_truncated.

Read release notes on GitHub ↗

v0.1.20

0.1.20

  • A Claude Code plugin. /plugin marketplace add aunysillyme/model-orchestrator, then /plugin install model-orchestrator@model-orchestrator, installs route-gate.mjs, subagent-context.mjs and the eight subagents without merging a settings snippet by hand. The bundle lives in plugin/, listed by .claude-plugin/marketplace.json at the repo root. It passes claude plugin validate --strict, the check Anthropic's community marketplace review runs, and all eight checks of Sigistry's public plugin verification methodology (1.2), run standalone before release as a quality bar; the plugin is not listed there.
  • The plugin is generated, never a second copy. npm run gen:plugin renders plugin/ from the same templates/ the installer uses, and test/plugin.test.js fails when the committed bundle drifts from that, when plugin.json's version is not package.json's, when hooks/hooks.json references a hook that is not shipped, when a plugin hook gains a network call, a file write, credential access, dynamic evaluation or a subprocess, when an agent has no tools: line or a review-type agent carries Write or Edit, and when the plugin README loses its install commands. Each check was proved red against the real files before it was trusted.
  • The plugin's route gate works without an install step. A plugin cannot be rendered per project, so its route-gate.mjs reads the installer's default locations, ai-orchestrator/ROUTING.md then ai-orchestrator/ORCHESTRATOR.md, and takes the first that exists. Something at the first path that is not a readable file (a directory, a FIFO) is reported, never skipped for the second. With neither present it tells Claude on every prompt, and the user once at session start, to run npx model-orchestrator, so a project with no rules is never a silent no-op.

Read release notes on GitHub ↗

v0.1.19

0.1.19

  • The route-gate.mjs non-regular-file guard is now tested on every OS, not only where mkfifo exists. The FIFO test is the only one that can prove the HANG the guard exists to prevent (a naive readFileSync on a writer-less FIFO blocks forever), and Windows has no mkfifo to build one, so that test was skipped there and nothing exercised !st.isFile() on Windows at all. A directory at the same rules path reaches the same guard before any open or read call, on every OS, so the guard itself is covered everywhere and the win32 skip is no longer its only coverage.
  • A guard that refuses an undocumented test skip. test/prose.test.js pins each skip to its file, its exact marker and a phrase the README has to carry, then counts every { skip: in the suite and fails if the totals disagree. Proved in both directions: adding a skip anywhere fails it, and removing a skip's explanation from the README fails it.
  • The README's Windows skip list named three of the four skips. The mkfifo skip in test/hooks.test.js had never been documented, in the README or the changelog, while the sentence above it read "a few narrow skips remain" and enumerated the rest. A skipped test reads as a test that passed, so an undocumented skip is a coverage claim nobody made deliberately. All four are named now, the conditional statSync().mode assertion is labelled as the one-assertion case it is rather than a skipped test, and the sentence says outright that the list is enforced by a test rather than maintained by hand.

Read release notes on GitHub ↗

v0.1.18

v0.1.18: cli-run runs lanes on Windows

  • The level 3 box's weekly audit could record a hung --version probe as a version string instead of "UNVERIFIED: timed out". weekly-audit.sh's killtree killed a hung process's children before the process itself, so in that gap the probe's own shell could print and exit 0, and bounded() reported success. Seen once on macOS CI ("codex never" in the report); 0 of 20 local runs reproduced it, so it is rare but real on the box. killtree now freezes each process (SIGSTOP) before walking its children, and the watchdog leaves a marker when it fires so bounded() returns 124 whatever order the kills land in. A new test forces the bad ordering and checks the timeout still reads as one.
  • On Windows, bin/cli-run.mjs could not run any lane at all: spawn() threw EINVAL for every .cmd binary, which is how npm installs every agent CLI there. Since Node's fix for CVE-2024-27980 (18.20.2, 20.12.2, and every 22.x), spawning a .bat/.cmd target without shell: true throws instead of silently running it through an unsafely-escaped cmd.exe. This was a real, shipped defect, not a test gap: a Windows user following this README could not have run a single lane before this release. bin/cli-run.mjs now resolves the .cmd shim to the Node script npm's own cmd-shim tool wrote underneath it and spawns Node directly on that script (resolveCmdShim, windowsSpawnPlan), so a prompt (untrusted text this tool does not control) never passes through a shell at all in the common case. A lane whose .cmd/.bat cannot be resolved that way (an old or hand-edited shim) is refused with exit 13 and a message saying how to fix it, never run through cmd.exe: a batch file re-reads its arguments through %* after cmd.exe has parsed them once, and no escaping fully contains a prompt through both passes. The escaped cmd.exe path (the algorithm documented at qntm.org/cmd and used by cross-spawn, with windowsVerbatimArguments) survives only as an explicit opt-in for the installer's own npm install -g <pinned spec>, whose arguments never include user text. Verified against the real, byte-for-byte output of cmd-shim@9.0.2 (the package npm itself uses), not a guessed shape; the escaping is pinned to exact expected strings for &, |, ^, %, ", a trailing backslash and a literal newline in test/judges.test.js.
  • A reconfigure's terminal report (runtime upgraded:, runtime CONFLICT, kept:, documents kept:, and the rest) printed a Windows install's file paths with backslashes, while every other path this tool prints in generated text uses forward slashes; src/install.js's manifest key was already posix-normalized, but the label built alongside it for the human-readable report was not. writeFiles() now builds both from the same posix-normalized value.

Read release notes on GitHub ↗

v0.1.17

v0.1.17: plain-language pass

  • User-facing text now uses plain language instead of security-audit jargon. Words like "risk", "attack lane", "adversarial", "blast radius", "fail closed" and "threat model" read as alarming to someone deciding whether to try the tool, so they scared off exactly the readers this project needs. No rule any of them described changed, only the wording: "risk" is now "stakes" everywhere it names a routing input (with a one-line definition added to README.md and TIERS.md), "attack lane" / "Stage 5 Attack" / "attack pass" are now "challenge lane" / "Stage 5 Challenge" / "challenge pass", "adversarial" (auditor, read, critique, turn, pass) is now "second-opinion", "blast radius" is now "everything it touches", "fail(s) closed" is now "refuses by default", and "threat model" is now "security notes" in the files that link to it. test/prose.test.js gained a permanent check (no alarming security wording in user-facing text) over the purely-prose, user-facing surface (docs/, templates/, README.md, llms.txt, CONTRIBUTING.md, the PR template) so the old wording cannot silently creep back in. docs/audit-brief.md, SECURITY.md, CODE_OF_CONDUCT.md and code identifiers/comments (for example the ATTACK_LANE render var) are unchanged, since these words are expected or load-bearing there.

Read release notes on GitHub ↗

v0.1.16

v0.1.16: route-metrics hook and Windows in CI

  • A third claude-code-only hook, route-metrics.mjs, answers "is my agent actually routing and delegating?" A routing rule nobody measures is a rule nobody knows is followed. Wired to five events (UserPromptSubmit, PreToolUse on Agent/Task, SubagentStart, SubagentStop, Stop), it appends one JSON line per event to ~/.ai-orchestrator/route-metrics.jsonl (the same directory and home resolution bin/cli-run.mjs already logs to): a turn, a subagent dispatch (subagent_type, background flag), a subagent start and stop (so a duration can be computed from a small state file keyed by sha256(agent_id)), and the lane parsed from a new hidden marker, `, that the route-gate block now asks every reply to end with. Only named, charset-bounded fields ever reach the log; prompt text, tool descriptions, the raw assistant message, and the marker's "why" half never do. node .claude/hooks/route-metrics.mjs --summary [--since ] reports turns, route-marker coverage, lanes by count, dispatches by subagent_type, dispatches with no matching start, and mean/max duration per agent type. Plain Node, zero deps, prints nothing to stdout on any event, fail-open (a miss is a missing log line, never a blocked turn). Installed and wired only when claude-code is the primary, same no-overwrite rules as the other two hooks. See docs/audit-brief.md` for the full threat-model writeup.
  • CI now runs on windows-latest too, node 18/20/22, alongside Ubuntu and macOS. defaults.run.shell: bash makes every workflow step Git Bash on the Windows runner instead of the default pwsh, so the same script runs on all three OSes with no parallel Windows rewrite.
  • finding-verifier and code-reviewer (claude-code) called themselves unqualified "Read-only" in their descriptions while carrying an unrestricted Bash grant, the same overclaim done-verifier shipped with in 0.1.15 and was fixed there; nothing in that grant stops either from running a mutating command. Both descriptions and bodies now say plainly that they carry no file-editing tools and that Bash is bound by the prompt, not the tool grant. templates/agents/claude-code/README.md and templates/agents/snippets/claude-code.md are corrected the same way. The done-verifier-only test is replaced with one that walks every claude-code agent file: any agent whose tools: line includes Bash must qualify any "Read-only" claim, checked against its own file and against every generated doc surface.

Read release notes on GitHub ↗

v0.1.15

v0.1.15: delegate by default on Claude Code

The portable parts of a live routing revision, delegate by default, gated on one verified fact rather than a guess: code.claude.com/docs/en/sub-agents states that a non-fork Claude Code subagent's initial context includes "every level of the CLAUDE.md hierarchy the main conversation loads", and that the built-in Explore and Plan agents skip it. No other lane in this catalog has that documented, so everything below is gated on subagentsLoadRules(primary), currently true for claude-code alone; every other primary keeps its original wording unchanged.

Read release notes on GitHub ↗

v0.1.14

v0.1.14: route by role, complexity and risk

Three refinements to the routing model, from a review by @shawnwows. The theme is the same in all three: a routing decision that was implied, inherited or asserted is now stated, pinned or checked.

Read release notes on GitHub ↗

v0.1.13

Three issues from a fresh first-run walkthrough of 0.1.12 (#26, #27, #28). Same class as 0.1.12's five: a surface describing an install that did not happen. A fourth, #25, was filed and closed as a mistake on the reporter's side, not a defect: the warning it said was missing has been printed since 0.1.12 and the repro had been read through a truncated pipe.

Read release notes on GitHub ↗

v0.1.12

0.1.12: one source per fact behind #20 to #24

Five issues from one first-run walkthrough of 0.1.11 (#20 to #24). Every one of them is the same failure: a page describing an install that did not happen. Each fix removes the second copy of a fact rather than correcting it.

Read release notes on GitHub ↗

Full version history