Skip to main content

Policy commands have moved

The standalone mnemom 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 CommandReplacement
mnemom policy initCreate 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 listmnemom 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 evaluatemnemom card evaluate <file> --tools <tools> — CI/CD gate evaluation

New workflow

  1. Define your alignment card in YAML, including capabilities, enforcement, and escalation_triggers sections
  2. Validate locally: mnemom card validate card.yaml
  3. Evaluate against tools: mnemom card evaluate card.yaml --tools mcp__browser__navigate,mcp__slack__post_message
  4. Publish: mnemom card publish card.yaml --agent my-agent

See also