Skip to content

CLI reference

This reference was generated from the installed maestro 0.108.0 shim at commit 02f31e4f6d37b45b358e581e14b36f1c8557d1ae.

Terminal window
maestro help
maestro <verb> --help

maestro help --help is the one exception: it is parsed as a request for a verb literally named --help and exits with UNKNOWN_VERB. Use maestro help for the top-level inventory or maestro help <verb> for one verb’s help.

maestro attention scans current store state without mutating work. Flags: --stale <minutes> (default 30), --decision-stale <hours> (default 24), --dispatch-stale <hours> (default 2), and --json.

maestro brief summarizes registered repository work without changing project stores. It has no flags.

  • accept <id> accepts a dispatch without taking the work write lease.
  • cancel <id> --reason <value> records why an open dispatch was abandoned.
  • list [work-id] [--json] lists contracts, optionally for one work item.
  • open <work-id> requires --objective, --owned-scope, --excluded-scope, --mutation, --stop-condition, --lane, --evidence-required, and --pane; --target-session is optional.
  • show <id> reads one stored contract.
  • unseal <work-id> --reason <value> opens a sealed council early and records why.
  • file <dispatch-id> requires --status, --claim, --proof, --assumptions, --residual-risks, and --incidental-findings.
  • show <id> reads one stored return packet.

maestro prompt list [--session <value>] [--json] lists the 20 most recent recorded user prompts, optionally for one session.

maestro ready [--json] lists ready work and gated items with their blockers.

maestro status [--live] [--json] shows sessions, live peers, and held work.

  • add <title> accepts repeatable --blocked-by, plus --acceptance, --atomic-reason, --kind, and --parent. Kinds are feature, task, bug, chore, implement, idea, and research; default is task.
  • start <id> [--atomic-reason <value>] takes the live session lease.
  • show <id> [--json] reads blockers, children, notes, evidence, and lease.
  • list [--json] lists tracked work.
  • note <id> <text> appends a durable note.
  • done <id> accepts repeatable --claim and --proof, plus opaque --evidence, and completes through enabled policy gates.
  • cancel <id> --reason <value> permanently cancels open or held work.
  • release <id> releases the current session’s lease without completion.
  • reclaim <id> --reason <value> takes an existing lease with a recorded reason.
  • draft <text-or-id> [replacement] creates or edits a draft; flags are --rationale, --work, --parent, and --supersedes.
  • lock <id> locks a draft against further edits.
  • show <id> reads one decision and its links.
  • list [--json] lists current decision states.
  • open <id> [--work <value>] scaffolds SPEC/NOTES/VERIFY; --work repeats.
  • close <id> snapshots the trio and archives the bundle.
  • show <id> [--json] composes trio text, linked work, and decisions.
  • list [--json] lists active and archived bundles.
  • save <directory> ingests a foreign trio directly as archived.

maestro handoff <bundle-id> [--json] seeds untouched NOTES.md sections from store and Git evidence.

maestro trace <id> reconstructs one work item’s event history.

  • list [--json] lists shipped workflow recipes.
  • show <name> prints one recipe.
  • list [--json] lists built-in, global, and repository plugins.
  • add <url> clones and enables a plugin from Git.
  • new <name> scaffolds a repository-local plugin.
  • enable <name> and disable <name> change installed plugin state.
  • remove <name> removes a managed plugin and its files.

maestro mcp serve starts the foreground stdio server with the maestro_find and maestro_run meta-tools.

maestro install installs the runtime and current repository hook wiring. It has no flags.

maestro update fast-forwards the recorded source and resynchronizes the runtime. It has no flags.

maestro uninstall removes Maestro-managed wiring from the current repository. It has no flags.

maestro doctor diagnoses the machine runtime and repository wiring read-only. It has no flags.

maestro version prints the package version and installed or source commit.

maestro hook record records a harness event and prints the dynamic brief. Flags are --event <value> and --harness <value>.

maestro search <query> [--json] searches work, decisions, notes, event history, bundles, and imported Rust records.

maestro import rust --path <value> [--promote] imports one legacy Rust store read-only and optionally promotes cards into native work and decisions.

maestro legacy show <id> [--file <value>] reads an imported legacy card and its files, or only one named file.

maestro help shows the top-level verb inventory. maestro help <verb> prints the same per-verb description that registered verbs expose through --help.