MAGE
CLI
`map invoke MAGE` recipes for every operation.
The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MAGE 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
draft
map invoke MAGE draft --input '{"example":true}'Draft an artifact of a declared kind (charter, treaty, role spec, blueprint).
Capability: map.mage.draft
revise
map invoke MAGE revise --input '{"example":true}'Revise an artifact under instructions; diff against prior version preserved.
Capability: map.mage.revise
publish
map invoke MAGE publish --input '{"example":true}'Publish a final artifact to MARS for institutional citation.
Capability: map.mage.publish
See CLI reference for global flags, login, MCP integration.