# Outcome metadata and retry identity

Source: https://usecns.dev/engram-topic-outcome-metadata-and-retry-identity/

[Start here](https://usecns.dev/manual-engram/)
[CLI commands](https://usecns.dev/commands-engram/)
[Configuration & integration](https://usecns.dev/engram-topics/)

In MCP, `signal` is required and either string `memory_id` or `session_id` must be supplied. If both are present, the direct memory branch wins; a consuming signal can also resolve that memory's session reach. Ordinary signals are the [CLI list](https://usecns.dev/engram-cli-outcome/). Sealed/human signals are refused over MCP regardless of supplied metadata; `guard_overridden` and `complete_endorsed` are not outcome-verb signals.

`decision_id` is an optional nonempty string. `provenance` accepts an object or null/omission, not a serialized JSON string/array/scalar. A top-level decision overwrites `provenance.decision_id`; other keys pass through opaquely except that the store refuses unverified `provenance.attestation`. Direct MCP does **not** apply the CLI's reserved-key prohibition for `decision_id`/`session_id`. Metadata is not a signature and must not be used to claim human/sealed authority. Avoid putting sensitive model/query/client context in opaque fields: it travels with exported facts.

For a direct memory, explicit string `event_id` wins; otherwise a nonempty top-level decision yields `decision:SIGNAL:DECISION:MEMORY`; otherwise a time-based MCP event ID is generated. For session-only attribution, `event_id` is ignored: eligible reaches get per-memory IDs based on provenance decision identity, or session/time IDs if absent. `gate_accept`/`rubric_accept` are non-consuming observations; consuming positive structural signals can filter recalled bystanders by observed mutation scopes/anchors. Use one stable decision per real observation, not one reused across independent outcomes. Repeating a consumed session may return zero rather than another applied event.

CLI `--provenance` parses JSON but requires an object and refuses `attestation`, `decision_id`, `session_id`; use dedicated flags. Ordinary CLI forwards decision/provenance to MCP. Attested CLI requires decision identity and a valid signature for **each** targeted memory before recording any; it derives verdict IDs rather than honoring arbitrary ordinary event IDs. Session association for shadow labeling is recorded provenance, not part of that verdict signature.