Counterfactuals
Counterfactuals let you ask "what if this link were gone?" on a causal chain, and show how much the chain's overall confidence changes.
It is the fourth tab of Causal Intelligence.
Choose a source
| Source | What it lists | Can you run a test? |
|---|---|---|
| Source: Causal memories (default) | Memories of type causal, shown with Root memory and ID columns. Server-paged | Yes |
| Source: Computed chains | Chains from the analytical layer, with Root, Hops and Method columns | No, read only |
The hint line changes with the source. For causal memories it reads "Open a chain, then run an intervention. A delta near zero means the chain is robust to that node." Empty states are "No causal-typed memories yet" and, for computed chains, "No computed chains yet" (run a computation from Operations → Analytical). Computed chains need a project, otherwise you see "No project selected".
Run a counterfactual
Open a row
Click a causal memory. A panel titled Counterfactual opens with the hop count, a confidence figure (GM) and a regime tag, and then the hops.
Pick the target
Choose a Target memory from the chain. The first option is the root, marked "(root)".
Choose the action
Set Action to Remove or Replace confidence. For replace, a New confidence slider from 0 to 1 appears.
Run it
Click Run counterfactual. The test runs against the live chain.
Reading the result
| Figure | Meaning |
|---|---|
| Baseline GM | The chain's confidence as it is now |
| CF GM | The confidence after your change |
| Δ | The difference. Red when it drops, green when it rises, neutral if close to zero |
Below that, Per-hop confidence changes lists up to 12 memories with their before and after values. If nothing changed, the panel says "No downstream confidence changes — the chain has no hops to propagate through." A failure shows "Counterfactual failed" with the reason.
A delta near zero means the chain barely depends on that link.
Computed chains are read only
Opening a computed chain shows its hops (with expandable bridging notes) and, for hybrid runs, a Comparison score with Agreement, Edge overlap and Hop Δ. The panel states "Counterfactual interventions are not supported for computed chains (analytical-layer output is read-only)."