Outcome
Your application can inspect the fields returned around a result, what remains uncertain, and what additional evidence could change it.Workflow
Gateways
Sealed-decision audit
A normal Domain query can return a sealeddecision_id. To explain exactly the evidence and state of that earlier result, use:
Audit fields
Use only the fields relevant to the audit question. Depending on the route and response contract, these can include:Read-only transition inspection
Call the applicable Domain query and/explain. Include all query fields and grouping fields that the Domain requires.
If the route supports these fields, set both fields to false:
transition_prediction;- evidence memory IDs;
learning_state;- the selection or abstention reason;
- supporting evidence IDs and counterevidence IDs;
supporting_memories;missing_evidence;predicted_observations;core_support;- Domain, schema, model, and subsystem versions.
Hypothesis contract
A transition configuration does not automatically create competing hypotheses. An emptyhypotheses list can mean that the Domain has no configured candidates.
Use candidates that have equal status and describe the same relation. Each candidate must predict a different observable consequence. A candidate must not contain the preferred answer.
Before the application uses hypotheses:
- Send ordinary events that distinguish the candidates.
- Call
/explainwithout feedback. - Confirm that supporting evidence or counterevidence changes between candidates.
- If the evidence does not change, identify the contract that updates hypotheses.
- Treat transition output and hypothesis output as separate API contracts.
conflicts semantics
In this contract, conflicts refers to the superposition of associations that remain active together. It does not mean that Core has derived a formal logical contradiction.
Keep the API key unchanged and explain that mapping directly wherever the field appears. Treat reasoning_edges, ranked_hypotheses, supporting_memories, diagnostics, and related keys as route-specific observable fields rather than one-to-one names for internal modules.
Cross-call causal structure
Explanation fields show how the current result is organized. Across calls, the application can connect returned support to scoped adaptation, reusable action-effect structure, and goal-conditioned behavior.
Causal structure becomes visible across calls when returned predictions or selections and later transitions show a learned mapping being reused. Explanation fields add the supporting context around that adaptive behavior.
Explanation and adaptation
The response exposes contract-defined fields around the current API result, giving applications an audit surface over Core’s persistent adaptive substrate. For a feedback workflow, explanation fields help audit the result whilepolicy_scores remains the documented learned signal. For an adaptive structured prediction, the application still consumes prediction.<output_key>; explanation is optional.
An explanation shows why the current result is supported. Combine it with ordered transitions, scoped behavioral change, and later predictions to follow causal learning and planning as they develop across use.