Orchestrator
Orchestrator is the VS Code companion panel for the
Orchestrator spec-first framework
(@willbots/orchestrator). It reads your workspace's .orchestrator/ folder
and shows your steering documents, ideas, PRDs, specs, tasks and reviews in one
sidebar panel, keeps it up to date as those files change, and launches the
framework's skills in Claude Code or Codex from a button.
Requirements
- VS Code 1.99.0 or later.
- A workspace that contains a
.orchestrator/ folder (set up by the
Orchestrator framework). If yours lives somewhere else, point
orchestrator.workflowRoot at it.
- Claude Code or Codex on your
PATH for the buttons that launch an agent.
Usage
Open the Orchestrator icon in the Activity Bar. Its Specs panel has six
tabs:
- Planning: Project Setup, Steering Documents, Creative Skills, Ideas, and
the PLANNING list of the PRDs and other markdown files under
planning-artifacts/ in the planning root (.orchestrator/planning/ by
default), which refreshes as files are added, changed or removed.
- Workflow: your specs with their task progress, a filter, and the
Implementation Logs and Archived sections.
- Review: Code & Spec Review (Adversarial Review, Edge Case Hunt) and the
Completed Specs waiting for a review.
- Tools: the Elicitation Methods.
- Library: the rules, standards, commands, agents, skills and hooks
installed in the workspace, with search and filters.
- Settings: the extension's own settings (General, Agent Spawn, Git,
Notifications) and the framework's
.orchestrator/config settings.
Archive Management
Archive specifications to keep the Workflow tab's spec list short:
- Archive a spec from its row, or use Archive Completed (N) in the Workflow
tab's Specs header to archive every spec whose tasks are all checked in one
click (ORCH-696)
- Archived specs are listed in the Workflow tab's Archived section
- Unarchive a specification from that section when you need it again
Run Launch Browser Session from the Command Palette (command
orchestrator.tools.launchBrowser).
- What it does: spawns a Claude Code interactive terminal and pastes
@browser go to <url> after the configured prompt delay. Claude Code handles the actual browser automation; the extension just opens the terminal and pre-fills the prompt.
- Set the URL per workspace: configure
orchestrator.browser.defaultUrl (scope: resource, default http://localhost:3000). Each workspace remembers its own URL so multi-project setups don't collide.
- Prerequisite — Claude in Chrome v1.0.36+ must be installed in your browser for
@browser to function end-to-end. The extension does not detect or install it (no VSCode API surface exists for that); the dependency is documented, not enforced.
- Optional auto-launch: set
orchestrator.browser.autoLaunch to true (scope: window, default false) to fire the launch automatically once per VSCode activation. Failures are logged to the Orchestrator output channel and do not retry within the same activation.
Commands
The main commands, all under the "Orchestrator" category:
Orchestrator: Open Dashboard - open the Orchestrator panel
Orchestrator: Refresh - reload the panel's data from .orchestrator/
Orchestrator: Reload Orchestrator View - rebuild the panel
Orchestrator: Open Spec - pick a spec and open it
Orchestrator: Set Anthropic API Key - store the key the built-in spec code
review uses, in VS Code's secret storage
Orchestrator: Sync hooks from manifest - sync the framework's hooks into
the workspace
Orchestrator: Manage Background Agents - list and stop agents running in
the background
For the rest, search "Orchestrator" in the Command Palette.
Extension Settings
The main settings:
orchestrator.workflowRoot - path to the .orchestrator folder; empty uses
the workspace root
orchestrator.agentSpawn.planning.cli, orchestrator.agentSpawn.execution.cli,
orchestrator.agentSpawn.review.cli - the CLI each kind of agent runs on:
claude (default), codex or clipboard (copy the prompt only)
orchestrator.agentSpawn.cliCommand - the command that starts Claude Code
(default claude)
orchestrator.review.reviewerModel, orchestrator.review.validatorModel -
pin the Claude models the built-in spec code review uses; empty (default)
uses the newest
orchestrator.worktree.rootPath - where agent worktrees are created
orchestrator.notifications.sounds.enabled - sound notifications (default
true), with orchestrator.notifications.sounds.volume (0.0-1.0, default
0.5)
orchestrator.browser.defaultUrl - the Launch Browser URL (above)
For the rest, open VS Code's Settings editor and search "orchestrator", or use
the panel's Settings tab, which also edits the framework's own settings.
Release Notes
See CHANGELOG.md.
Development
This extension is built with:
- React 19 with TypeScript
- Vite for webview bundling
- Tailwind CSS v4 for styling
- ShadCN UI components
- VSCode Extension API
Building from source
The extension bundles three modules from the @willbots/orchestrator framework
(bin/utils/spec-slug.js, schema-walker.js, config-loader.js). The package
is not a package.json dependency: it is installed at build time, without saving,
at the exact version pinned in scripts/install-framework.mjs, into its own
prefix .framework/ (so its dependencies, such as react, never replace the
extension's), and node_modules/@willbots/orchestrator is linked to it.
npm ci # first: npm ci removes the framework link
npm run install:framework # npm i --no-save --ignore-scripts @willbots/orchestrator@<pin> into .framework/
npm run check-types && npm run lint && npm run build:webview && node esbuild.js --production
npm run compile, npm run package, npm test (through pretest) and
vsce package (through vscode:prepublish) run install:framework first.
npm run watch and npm run check-types do not, and a later
npm install <dep> prunes the link: run npm run install:framework again
after either. package.json sets "vsce": { "dependencies": false }:
everything the extension runs is bundled into dist/, and vsce's npm list
would otherwise walk the linked framework and fail on its dependencies as
extraneous. The framework's own bundled dependencies (ajv, js-yaml, yaml
and what they pull in) are pinned in scripts/framework-pins.json (below). Always install the
framework with --ignore-scripts: its postinstall installs the framework into
the current project.
Publishing a release
scripts/publish.sh publishes the version package.json names to the VS Code
Marketplace and Open VSX. It bumps nothing and pushes no branch: set the version
and the CHANGELOG through the release PR first, then run it from a clean
checkout of main that matches origin/main.
- Dry run first, with no tokens:
./scripts/publish.sh --dry-run. It runs
every check, the full build and the package, touches no registry, tag or
remote, prints a would refuse: line for each check the real run would stop
on, lists the steps it skipped and exits non-zero if anything would refuse.
- Real run: put
VSCE_PAT (Marketplace) and OVSX_PAT (Open VSX) in the
environment of that one command, for example through your secrets manager's
run wrapper, rather than exporting them in your shell. vsce and ovsx read
them from the environment; the script never reads .env and passes no token
on a command line.
The real run refuses before building if either token is missing, v<version>
already exists, either registry already lists the version, or the checkout is
not a clean main at origin/main, and it checks with verify-pat that each
token is valid for the publisher. It then runs npm ci, npm run install:framework,
check-types, lint, the webview build and its tests and the production build
(the extension vitest suite is not a release gate until ORCH-374 clears its
baseline), packages once into .release/, prints the .vsix path and sha256,
and asks you to type publish. It publishes that one file to both registries,
prints a verdict and, for a failed registry, the retry line. It tags and pushes
only v<version>, and only if at least one registry published.
npm run test:publish drives the script with stub git, vsce and ovsx.
When an orchestrator publish needs an extension release
The extension bundles framework code (@willbots/orchestrator, installed at
FRAMEWORK_VERSION into .framework/ by scripts/install-framework.mjs), so
users get it only through an extension release. Owner ruling, 2026-10-24: an
extension release follows an orchestrator publish "only when it changes one of
the four bundled files, with a check that flags it". (The build in fact bundles
more framework files, bin/utils/retention-fence.js and
bin/utils/config-yaml-edit.js being imported by config-loader.js, so the file set is derived from the build, never listed by
hand.)
- The record. Every build writes
dist/framework-bundle.json from the
esbuild metafile: each bundled file under .framework/node_modules/ with its
package, version, path and sha256, the framework version, and the framework's
declared range for each bundled dependency (ajv, js-yaml, yaml). It ships in the
VSIX, so a release's record is extension/dist/framework-bundle.json inside
the published .vsix. scripts/publish.sh refuses to publish a VSIX that
has no record or whose frameworkVersion differs from FRAMEWORK_VERSION.
- The check.
npm run check:framework-release -- <version|latest> compares
that framework version with the latest release's record (read from Open VSX;
--record <file> reads a local .json or .vsix, --framework-dir <dir> an
unpacked framework). It compares against the record, never against the
previous orchestrator version, so several publishes add up. A release is needed
when a recorded framework file is missing or has a different sha256, or when
the declared range of a bundled dependency changed. Third-party versions that
drift inside an unchanged range are printed as a note and do not change the
verdict. Exit 0: no extension release is needed. Exit 3: a release is
needed, and each changed file and range is printed. Exit 2: it could not
decide (no record, unknown version, network or auth failure); an error never
exits 0. The 8.2.0 release predates the record, so the default run against
it exits 2; the first release carrying the record is the first it can judge.
- Pinned third-party code (ORCH-702). The framework's own dependencies
(
ajv, js-yaml, yaml and what they pull in) are bundled too, and used to resolve
on the day of the build. scripts/framework-pins.json now names the exact
version of each, and scripts/install-framework.mjs writes them, with the
framework, as exact dependencies of the throwaway .framework/package.json,
so two builds of one commit bundle the same files. node esbuild.js fails when
a bundled third-party package is not at its pin or is not pinned at all, and
the record shows what a release got. The private package never enters
package.json or package-lock.json. Rejected: a committed lockfile for
.framework/, which would name the private package and its tarball integrity
in a committed package-lock.json (against the owner's rule), pin the
framework's whole tree when only six packages reach the bundle, and need a
regeneration through the private registry on every bump. Also not chosen: npm
overrides, which rewrite every matching package in the framework's tree,
not only the ones bundled; top-level dependencies only add.
To raise FRAMEWORK_VERSION, run one command after npm ci:
npm run update:framework -- <version>. It sets the constant, installs the
new framework unpinned, builds once to learn which third-party packages are
bundled and at which versions, rewrites scripts/framework-pins.json, and
reinstalls pinned; then run npm test and commit both files.
- Config descriptions (ORCH-721). A schema description that changes reaches
users only through the extension's own copy of it, because that copy wins
over the bundled schema: the Settings tab shows its
src/webview/locales/en.json
string when it has one (the schema text otherwise). The Settings tab is the one
editor for framework settings: the orchestrator.config.* mirror in
package.json, VS Code's own Settings editor's copy, was retired in ORCH-832.
src/__tests__/package/configDescriptionParity.test.ts compares every copy
with the bundled schema's text by exact string equality, so after a framework
bump npm test fails and names each copy, its path and the schema text.
A description change is shipped by updating the copies the test names, in
the same PR as the bump: delete a differing en.json copy so the tab shows
the schema text. en.json keeps a copy only as a reviewed shortening, listed
in REVIEWED_SHORTENINGS in src/__tests__/package/configDescriptionParity.ts
with the schema text it shortens and a reason. When that text moves the test
fails until someone re-reads the shortening against the new meaning: rewrite
it and record the new text, or drop the entry and the copy. Changing the
recorded text alone is how ORCH-720's short copy outlived what it summarised.
The test also fails on any en.json config.* entry, a .label as much as a
.description, whose key is no property of the bundled schema (ORCH-793), so
a framework release that retires a setting fails until its copy is deleted. A
new red there after a bump can also mean the schema moved a section behind
$ref or allOf, which collectSchemaPropertyPaths does not follow; fix the
walk rather than keeping the copy. Not covered: a workspace framework newer
than the bundled one can change what a shortened key means, and the tab keeps
the shortening until the next extension release.
- Who runs it. The orchestrator-vscode PM desk, on mac-studio (whose npm
session reads the private
@willbots package), from a fresh worktree of
origin/development: daily through one durable watch on its thread, at each
extension release before publishing (the release lane reports the result and
does not bump the pin), and whenever an orchestrator publish is mentioned.
When a release is needed the follow-up is one lane: raise FRAMEWORK_VERSION,
run npm test (it names any description copy to update, above), ship a
release. The vendored test fixtures
(src/test/vendor/orchestrator/PIN.json, check:vendored-orchestrator) keep
their own pin and are out of scope.
Support
If you find this extension helpful, consider supporting the development:
☕ Buy Me a Coffee
License
This project is licensed under the GPL-3.0 License.
| |