MOTIF
CLI
`map invoke MOTIF` recipes for every operation.
The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MOTIF 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
detect
map invoke MOTIF detect --input '{"example":true}'Run pattern-detection over a window of telemetry; named motifs with frequency.
Capability: map.motif.detect
catalog
map invoke MOTIF catalog --input '{"example":true}'Browse the catalog of known motifs.
Capability: map.motif.catalog
alert
map invoke MOTIF alert --input '{"example":true}'Subscribe to recurrence of a catalogued motif.
Capability: map.motif.alert
See CLI reference for global flags, login, MCP integration.