MANTLE
CLI
`map invoke MANTLE` recipes for every operation.
The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MANTLE 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
consolidate
map invoke MANTLE consolidate --input '{"example":true}'Run consolidation pass: dedup, compress, distill, replay. Protected by EWC anchors.
Capability: map.mantle.consolidate
anchor
map invoke MANTLE anchor --input '{"example":true}'Declare a knowledge anchor — protected from rewriting during future consolidations.
Capability: map.mantle.anchor
replay
map invoke MANTLE replay --input '{"example":true}'Generative replay of rare event classes for memory rehearsal.
Capability: map.mantle.replay
See CLI reference for global flags, login, MCP integration.