Policy commands have moved
The standalonemnemom policy commands have been removed. Policy — capability mappings, forbidden rules, escalation triggers, and defaults — is now defined directly in the alignment card using the unified schema (ADR-008).
What changed
| Old Command | Replacement |
|---|---|
mnemom policy init | Create a YAML alignment card with capability and enforcement sections. See Card Management. |
mnemom policy validate <file> | mnemom card validate <file> — validates the full card including policy sections |
mnemom policy publish <file> | mnemom card publish <file> — publishes the card with embedded policy |
mnemom policy list | mnemom card show --agent <name> — the active card includes all policy |
mnemom policy test <file> | mnemom card evaluate <file> --tools <tools> — evaluates card policy against tools locally |
mnemom policy evaluate | mnemom card evaluate <file> --tools <tools> — CI/CD gate evaluation |
New workflow
- Define your alignment card in YAML, including
capabilities,enforcement, andescalation_triggerssections - Validate locally:
mnemom card validate card.yaml - Evaluate against tools:
mnemom card evaluate card.yaml --tools mcp__browser__navigate,mcp__slack__post_message - Publish:
mnemom card publish card.yaml --agent my-agent
See also
- CLI Reference — Full CLI command reference including
card evaluate - Card Management — Creating and managing alignment cards with embedded policy
- CI/CD Policy Gates — Integrating card evaluation into CI/CD