Documentation Index
Fetch the complete documentation index at: https://docs.mnemom.ai/llms.txt
Use this file to discover all available pages before exploring further.
emps.publish_manifest is the operator-PUT path for the cards primitive. It reads editorial manifests from .mnemom/agents/<role-id>.yaml (alignment) or .mnemom/protection/<role-id>.yaml (protection), GETs the agent’s current canonical card from Mnemom, splices in the manifest-owned fields, and PUTs the result back. It is the only path you’d benefit from using to update a canonical card from the editorial source.
For per-PR editorial feedback (composed-view diff, simulate verdicts, explain trace) before publishing, see Cards Action — it’s the read-only complement to this CLI.
Auth
The CLI authenticates via the standard Mnemom auth chain. Pick one:MNEMOM_API_KEY would benefit from api:write scope for the PUT. api:read alone is sufficient only for --dry-run / --verify-only.
Alignment cards
Three CLI override dials (alignment only)
| Dial | What it caps | Use case |
|---|---|---|
--intensity-floor | Each declared value’s intensity parameter at this level. Never lifts; only floors. | Observe-first rollout — bring all values down to observe regardless of what the manifest declares. |
--autonomy-mode-override | Manifest’s modes.autonomy at PUT time. | Pin the autonomy mode across the cutover regardless of per-agent manifest state. |
--integrity-mode-override | Manifest’s modes.integrity at PUT time. | Pin the integrity mode the same way. |
Protection cards
--mode-override. Alignment-only dials (--intensity-floor, --autonomy-mode-override, --integrity-mode-override) are no-ops with --resource=protection — the CLI surfaces a care-framed warning if you pass one.
Targeting one agent
GET-modify-PUT semantics
The CLI is deliberate about which fields it owns and which it preserves. Three categories:| Category | Behaviour |
|---|---|
| Manifest-owned | REPLACED at PUT time. Examples: autonomy_mode, integrity_mode, principal, values.declared, mode (protection), thresholds, screen_surfaces, trusted_sources. |
| Preserved | KEPT from current canonical, untouched. Examples: autonomy.bounded_actions (managed by the mechanical publisher), enforcement.*, conscience.*, audit.*, capabilities.*. |
| Composer-derived | STRIPPED from the PUT body. The server fills these in. Examples: card_id, content_hash, version, _composition.field_provenance, issued_at, expires_at. |
autonomy.bounded_actions (via the mechanical publisher) stay intact across a manifest re-publish.
Promotion ladder (observe → nudge → enforce)
The observe-first rollout is the operator default. Promote one (agent, value) tuple at a time per [[cards-phase-3-rollout-strategy]]:- Initial cutover: PUT every agent at
mode=observe(alignment) andmode=observe(protection). Telemetry-only baseline. - Pick one agent (Themis, the V7 platform proof point, is the canonical first promotion).
- Pick one value in that agent’s manifest. Edit the YAML to bump
intensity: observe→intensity: nudge. - Re-publish that agent:
uv run python -m emps.publish_manifest --name Themis --resource=alignment. - Audit (one hour, one day, one week depending on the value).
- If clean, promote the same value to
enforce. If issues, edit the manifest back and re-publish. - Repeat for the next value, then the next agent.
Sanity-check after every publish
audit_polis_cards.py is the verification gate that pairs with publish_manifest. It compares each agent’s canonical card on Mnemom against the editorial intent in .mnemom/agents/<role-id>.yaml, flagging drift across catalog ID / parameter / mode / connector-soft / domain-missing / unknown-value categories.
Rollback
governance_audit_log.before_json to undo a canonical PUT.
Out of scope
The CLI does NOT:- Auto-publish on PR merge. The merge is editorial; the publish is operator-gated. (Auto-publish via a post-merge workflow is a future possibility; not in V1.)
- Reach across orgs. Each operator key is scoped to its own org’s agents.
- Update the protection composer (the composer is on the Mnemom platform side).
See also
- Cards as Resources — the URL surface this CLI writes to.
- Cards Action — per-PR editorial feedback before publishing.
- Protection Manifest — protection editorial schema.
- Operator Runbook — full operator playbook.