internal/

directory
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT

Directories

Path Synopsis
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.
Package bench runs one project once per provider and compares the runs.
Package bench runs one project once per provider and compares the runs.
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.
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.
Package cli wires cobra's root command and every subcommand.
Package cli wires cobra's root command and every subcommand.
Package collide finds semantic collisions between branches that git merges cleanly (#522): two tasks that each add migration 005 under different file names, say.
Package collide finds semantic collisions between branches that git merges cleanly (#522): two tasks that each add migration 005 under different file names, say.
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.
Package contract holds the types the engine trades with the packages it drives or is driven by — internal/ci and internal/verify — so they can name them without importing the engine (#550).
Package contract holds the types the engine trades with the packages it drives or is driven by — internal/ci and internal/verify — so they can name them without importing the engine (#550).
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).
Package demo builds the synthetic project `orch dashboard --demo` serves.
Package demo builds the synthetic project `orch dashboard --demo` serves.
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.
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.
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.
Package evidence is a task's evidence bundle (#520): what orch's local verify proved about the work it pushed — the checks that ran, the app's probes, the review, the change in numbers and the E2E run with its media — kept at a path that does not change from run to run:
Package evidence is a task's evidence bundle (#520): what orch's local verify proved about the work it pushed — the checks that ran, the app's probes, the review, the change in numbers and the E2E run with its media — kept at a path that does not change from run to run:
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.
Package export sends an orch project's work out to another tracker.
Package export sends an orch project's work out to another tracker.
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.
Package findings is the path from an agent's report about orch to a public issue (#536): redaction before the operator sees it, and sending once they approve.
Package findings is the path from an agent's report about orch to a public issue (#536): redaction before the operator sees it, and sending once they approve.
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.
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.
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.
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.
Package notify POSTs short messages to Slack and Discord webhooks.
Package notify POSTs short messages to Slack and Discord webhooks.
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.
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.
Package prompt renders the per-dispatch prompt an agent receives.
Package prompt renders the per-dispatch prompt an agent receives.
Package providers holds one thin adapter per external coding-agent CLI.
Package providers holds one thin adapter per external coding-agent CLI.
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).
cloudfake
Package cloudfake is an in-memory orch-cloud Worker for tests.
Package cloudfake is an in-memory orch-cloud Worker for tests.
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.
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.
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.
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.
Package report renders the stakeholder snapshot as a one-page PDF.
Package report renders the stakeholder snapshot as a one-page PDF.
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.
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.
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.
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.
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).
Package telemetry sends anonymous, opt-in usage pings — G8.6 (F4.9).
Package telemetry sends anonymous, opt-in usage pings — G8.6 (F4.9).
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.
Package tunnel supervises the dashboard's optional shared URL.
Package tunnel supervises the dashboard's optional shared URL.
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`).
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.
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.
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL