CLI
`map invoke MAESTRO` recipes for every operation.
The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MAESTRO from the shell.
Common flags
| Flag | Effect |
|---|---|
--input <json> | Operation payload (or read from stdin) |
--version v1.0.0 | Pin a specific protocol version |
--idempotency-key <k> | Required for safe retries of state-changing ops |
--audit-tail | Print the audit record(s) produced |
--output human | Pretty-print response (default: json) |
Recipes
charter.declare
map invoke MAESTRO charter.declare --input '{"example":true}'Declare a charter under which subsequent goals will be refined.
Capability: map.maestro.charter.declare
goal.refine
map invoke MAESTRO goal.refine --input '{"example":true}'Refine a goal into an executable graph with dependency analysis.
Capability: map.maestro.goal.refine
graph.commit
map invoke MAESTRO graph.commit --input '{"example":true}'Commit a refined execution graph as the active plan.
Capability: map.maestro.graph.commit
graph.diff
map invoke MAESTRO graph.diff --input '{"example":true}'Diff two graph versions; surface added/removed/changed steps.
Capability: map.maestro.graph.diff
graph.replan
map invoke MAESTRO graph.replan --input '{"example":true}'Replan a graph on deviation; reuses durable state where possible.
Capability: map.maestro.graph.replan
dispatch.next
map invoke MAESTRO dispatch.next --input '{"example":true}'Dispatch the next ready step under the active plan.
Capability: map.maestro.dispatch.next
outcome.report
map invoke MAESTRO outcome.report --input '{"example":true}'Report a step outcome; updates the plan and triggers cascades.
Capability: map.maestro.outcome.report
credit.trace
map invoke MAESTRO credit.trace --input '{"example":true}'Trace credit and blame for a completed leg of the plan.
Capability: map.maestro.credit.trace
query.goals
map invoke MAESTRO query.goals --input '{"example":true}'Query active goals under a charter.
Capability: map.maestro.query.goals
See CLI reference for global flags, login, MCP integration.