Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
orch
command
Command orch walks a tasks.json DAG and dispatches each task to a local AI CLI (claude | codex | opencode | gemini | agy | muse).
|
Command orch walks a tasks.json DAG and dispatches each task to a local AI CLI (claude | codex | opencode | gemini | agy | muse). |
|
orch-wasm
command
Command orch-wasm is the site playground's engine: it exposes orchBuild(spec) to the page, which runs the spec through the same atomize and graph code as `orch atomize` and `orch validate` and returns the result as JSON.
|
Command orch-wasm is the site playground's engine: it exposes orchBuild(spec) to the page, which runs the spec through the same atomize and graph code as `orch atomize` and `orch validate` and returns the result as JSON. |
|
sitegen
command
Command sitegen writes the site pages built from orch's own data: the template gallery (site/templates) and the playground page (site/playground).
|
Command sitegen writes the site pages built from orch's own data: the template gallery (site/templates) and the playground page (site/playground). |
|
internal
|
|
|
atomize
Package atomize ports orchestrator/atomize.py: parsing markdown specs (docs/SPEC-FORMAT.md) into tasks, and merging them non-destructively into an existing tasks.json.
|
Package atomize ports orchestrator/atomize.py: parsing markdown specs (docs/SPEC-FORMAT.md) into tasks, and merging them non-destructively into an existing tasks.json. |
|
bench
Package bench runs one project once per provider and compares the runs.
|
Package bench runs one project once per provider and compares the runs. |
|
budget
Package budget is the rolling-window guardrail that stops an unattended run from burning a provider subscription.
|
Package budget is the rolling-window guardrail that stops an unattended run from burning a provider subscription. |
|
ci
Package ci reads a repository to find what it is built from, and proposes the GitHub Actions pipeline that checks it: install, lint, typecheck, test and build, each only where the repo actually has one.
|
Package ci reads a repository to find what it is built from, and proposes the GitHub Actions pipeline that checks it: install, lint, typecheck, test and build, each only where the repo actually has one. |
|
cli
Package cli wires cobra's root command and every subcommand.
|
Package cli wires cobra's root command and every subcommand. |
|
config
Package config loads a project's `.orchestrator/config.yaml` into a typed struct with defaults filled in.
|
Package config loads a project's `.orchestrator/config.yaml` into a typed struct with defaults filled in. |
|
dashboard
Package dashboard will host the operator dashboard's HTTP server (G5.2, a different lane's work — replacing orchestrator/dashboard/server.py's FastAPI app).
|
Package dashboard will host the operator dashboard's HTTP server (G5.2, a different lane's work — replacing orchestrator/dashboard/server.py's FastAPI app). |
|
demo
Package demo builds the synthetic project `orch dashboard --demo` serves.
|
Package demo builds the synthetic project `orch dashboard --demo` serves. |
|
doctor
Package doctor ports the environment-diagnostic subset of orchestrator/preflight.py and orchestrator/doctor.py into pure checks: no stdout, no argparse — each function returns []Check for a caller (a `orch doctor` subcommand, not yet wired — see internal/cli) to print as text or marshal as JSON.
|
Package doctor ports the environment-diagnostic subset of orchestrator/preflight.py and orchestrator/doctor.py into pure checks: no stdout, no argparse — each function returns []Check for a caller (a `orch doctor` subcommand, not yet wired — see internal/cli) to print as text or marshal as JSON. |
|
engine
Package engine runs dispatches: it spawns a provider's CLI, supervises it, and turns what comes back into a Result.
|
Package engine runs dispatches: it spawns a provider's CLI, supervises it, and turns what comes back into a Result. |
|
estimate
Package estimate answers "what will the next `orch run` cost" before it starts (#357): which tasks it would dispatch, what they would cost and how long they would take, from this project's own past attempts.
|
Package estimate answers "what will the next `orch run` cost" before it starts (#357): which tasks it would dispatch, what they would cost and how long they would take, from this project's own past attempts. |
|
explain
Package explain answers "where is this project and what can I do next" in one pass, and renders that answer as text for a person or as JSON for an agent.
|
Package explain answers "where is this project and what can I do next" in one pass, and renders that answer as text for a person or as JSON for an agent. |
|
export
Package export sends an orch project's work out to another tracker.
|
Package export sends an orch project's work out to another tracker. |
|
export/clickuptest
Package clickuptest is an in-memory ClickUp REST API for tests: the subset of endpoints internal/export uses, with the same request and answer shapes.
|
Package clickuptest is an in-memory ClickUp REST API for tests: the subset of endpoints internal/export uses, with the same request and answer shapes. |
|
graph
Package graph answers the static questions about a tasks.json DAG: is it valid, what order do the tasks go in, and what does it look like.
|
Package graph answers the static questions about a tasks.json DAG: is it valid, what order do the tasks go in, and what does it look like. |
|
guard
Package guard checks a task's diff before orch publishes it (#484): secrets that must never reach a PR, and debug leftovers a reviewer should see.
|
Package guard checks a task's diff before orch publishes it (#484): secrets that must never reach a PR, and debug leftovers a reviewer should see. |
|
knowledge
Package knowledge is the project's memory (#451): lessons a task learned, kept as one markdown file each under .orch/knowledge/ so they are versioned and reviewed with the code, and handed to the tasks that come later.
|
Package knowledge is the project's memory (#451): lessons a task learned, kept as one markdown file each under .orch/knowledge/ so they are versioned and reviewed with the code, and handed to the tasks that come later. |
|
mcp
Package mcp serves orch's state to an agent as MCP tools over stdio.
|
Package mcp serves orch's state to an agent as MCP tools over stdio. |
|
notify
Package notify POSTs short messages to Slack and Discord webhooks.
|
Package notify POSTs short messages to Slack and Discord webhooks. |
|
pricing
Package pricing is the fallback price table the dashboard uses to put a number on a dispatch nobody billed for.
|
Package pricing is the fallback price table the dashboard uses to put a number on a dispatch nobody billed for. |
|
project
Package project is what the CLI and the dashboard share about a project: tasks.json hydrated with the live status from the state backend, plus the per-task figures that can only be derived from the event log.
|
Package project is what the CLI and the dashboard share about a project: tasks.json hydrated with the live status from the state backend, plus the per-task figures that can only be derived from the event log. |
|
prompt
Package prompt renders the per-dispatch prompt an agent receives.
|
Package prompt renders the per-dispatch prompt an agent receives. |
|
providers
Package providers holds one thin adapter per external coding-agent CLI.
|
Package providers holds one thin adapter per external coding-agent CLI. |
|
publish
Package publish turns the stakeholder snapshot into something a client can open: a self-contained static site, written to a directory or pushed to a branch a static host serves (G6.3 — blueprint F2.3 and F2.4).
|
Package publish turns the stakeholder snapshot into something a client can open: a self-contained static site, written to a directory or pushed to a branch a static host serves (G6.3 — blueprint F2.3 and F2.4). |
|
publish/cloudfake
Package cloudfake is an in-memory orch-cloud Worker for tests.
|
Package cloudfake is an in-memory orch-cloud Worker for tests. |
|
publish/cloudworker
Package cloudworker embeds the orch-cloud Worker that `orch cloud setup` deploys, so an operator needs Node.js for wrangler but not a checkout of the orch-cloud repository — and so the Worker a binary deploys always speaks the contract version that binary's client speaks.
|
Package cloudworker embeds the orch-cloud Worker that `orch cloud setup` deploys, so an operator needs Node.js for wrangler but not a checkout of the orch-cloud repository — and so the Worker a binary deploys always speaks the contract version that binary's client speaks. |
|
publish/snapshot
Package snapshot builds the versioned, stakeholder-safe project snapshot (G6.1): the one JSON document a static `orch publish` export, a watch server, or a dashboard's stakeholder route can all hand to a viewer with no login and no access to the operator's project tree.
|
Package snapshot builds the versioned, stakeholder-safe project snapshot (G6.1): the one JSON document a static `orch publish` export, a watch server, or a dashboard's stakeholder route can all hand to a viewer with no login and no access to the operator's project tree. |
|
pyfmt
Package pyfmt reproduces the Python string formatting that orch's user-visible messages were built on.
|
Package pyfmt reproduces the Python string formatting that orch's user-visible messages were built on. |
|
receipt
Package receipt summarises one run of `orch run`: what got done, what got stuck, how long it took and what it cost.
|
Package receipt summarises one run of `orch run`: what got done, what got stuck, how long it took and what it cost. |
|
report
Package report renders the stakeholder snapshot as a one-page PDF.
|
Package report renders the stakeholder snapshot as a one-page PDF. |
|
router
Package router resolves a task's `model` string to the CLI and model that will actually run it.
|
Package router resolves a task's `model` string to the CLI and model that will actually run it. |
|
sandbox
Package sandbox confines a dispatched agent's filesystem access to what its task needs (dispatch.sandbox, #481): read-write its worktree, the project's database directory, the git directory its commits land in, /tmp and its own CLI's config; read-only the system and the toolchains on PATH; nothing else in $HOME — not ~/.ssh, not another project, not another task's worktree.
|
Package sandbox confines a dispatched agent's filesystem access to what its task needs (dispatch.sandbox, #481): read-write its worktree, the project's database directory, the git directory its commits land in, /tmp and its own CLI's config; read-only the system and the toolchains on PATH; nothing else in $HOME — not ~/.ssh, not another project, not another task's worktree. |
|
scaffold
Package scaffold creates a new orch project on disk — what `orch init` does once the flags or the wizard have decided what to build.
|
Package scaffold creates a new orch project on disk — what `orch init` does once the flags or the wizard have decided what to build. |
|
sitegen
Package sitegen is what the public site (site/) needs from orch's own code: the playground's spec → DAG build, run in the browser as WebAssembly (cmd/orch-wasm), and the static template gallery written by cmd/sitegen.
|
Package sitegen is what the public site (site/) needs from orch's own code: the playground's spec → DAG build, run in the browser as WebAssembly (cmd/orch-wasm), and the static template gallery written by cmd/sitegen. |
|
skills
Package skills embeds orch's Claude Code skill(s) and installs them into whichever agent CLI a project wants: Claude Code itself, Codex/OpenCode (via an AGENTS.md section — neither reads ~/.claude/skills/), or Cursor (via a .cursor/rules/*.mdc file).
|
Package skills embeds orch's Claude Code skill(s) and installs them into whichever agent CLI a project wants: Claude Code itself, Codex/OpenCode (via an AGENTS.md section — neither reads ~/.claude/skills/), or Cursor (via a .cursor/rules/*.mdc file). |
|
telemetry
Package telemetry sends anonymous, opt-in usage pings — G8.6 (F4.9).
|
Package telemetry sends anonymous, opt-in usage pings — G8.6 (F4.9). |
|
templates
Package templates is the file tree `orch init` scaffolds a project from, embedded in the binary.
|
Package templates is the file tree `orch init` scaffolds a project from, embedded in the binary. |
|
tunnel
Package tunnel supervises the dashboard's optional shared URL.
|
Package tunnel supervises the dashboard's optional shared URL. |
|
update
Package update tells the operator a newer orch is out, and replaces the binary on request (`orch upgrade`).
|
Package update tells the operator a newer orch is out, and replaces the binary on request (`orch upgrade`). |
|
usage
Package usage splits a project's token use the ways that show where it went (#417): input, cached input, output and reasoning, per model, per task and per attempt, with the retries apart.
|
Package usage splits a project's token use the ways that show where it went (#417): input, cached input, output and reasoning, per model, per task and per attempt, with the retries apart. |
|
vcs
Package vcs ports orchestrator/vcs/ (protocol.py, github.py, gitlab.py): opening a PR/MR, polling its CI status, fetching failed-job logs, and merging it, all through the `gh` / `glab` CLIs rather than a REST client.
|
Package vcs ports orchestrator/vcs/ (protocol.py, github.py, gitlab.py): opening a PR/MR, polling its CI status, fetching failed-job logs, and merging it, all through the `gh` / `glab` CLIs rather than a REST client. |
|
verify
Package verify is orch's local gate between an agent's clean exit and the push (verify.enabled): the repository's own checks, then a read-only review by another provider.
|
Package verify is orch's local gate between an agent's clean exit and the push (verify.enabled): the repository's own checks, then a read-only review by another provider. |
|
worktree
Package worktree ports orchestrator/worktree.py: per-task git worktree isolation so concurrent dispatched agents cannot overwrite each other's file changes.
|
Package worktree ports orchestrator/worktree.py: per-task git worktree isolation so concurrent dispatched agents cannot overwrite each other's file changes. |
Click to show internal directories.
Click to hide internal directories.

