Guides

Interpret Diffs And Metrics

Read replay outputs without overclaiming.

Replay output is a set of comparison records, not a single verdict. Read status, diffs, metrics, effects, and validity labels together.

Read In This Order

replay get: status, policy, branch, first divergence, comparability, paused requirement, and error.
replay events: branch event stream or fallback events.
replay diff: trace, tool, state, output, metric, or causal diffs.
replay metrics: deterministic numeric comparison signals.
effects replay: ranked effect candidates and labels.
analyze: persisted report summary and validity score.

Key Metrics

MetricMeaning
first_divergence_step-1 means no event divergence; otherwise first changed event index.
tool_sequence_distanceNormalized difference between base and branch tool event sequences.
fixture_dependency_countNumber of fixture events used in branch output.
tool_argument_changed1 when tool args or arg refs changed at divergence.

Comparability

ValueInterpretation
exactNo meaningful divergence detected.
alignedReplay stayed aligned enough for direct comparison.
diverged_but_comparableBehavior changed, but downstream comparison is still useful.
non_comparableDrift broke the comparison. Do not claim causal support.

Practical Reading Patterns

PatternLikely conclusion
Early divergence plus changed tool argsThe intervention changed tool selection or args. Inspect proposal/execution records.
Fixture dependency count > 0Any downstream claim is fixture-sensitive.
Non-comparable diffNarrow the branch or choose a later checkpoint.
No divergence and no output changeThe tested hypothesis is not supported under this policy.
Divergence only after final wordingThe cause may affect presentation more than decision logic.

Report Cautiously

Use this skeleton:

Under <policy>, intervention <id> first diverged at <event>. The replay produced <diff summary>. Metrics showed <metric summary>. Effects ranked <effect> as <status>. Validity labels were <labels>. Therefore, <bounded conclusion>.

On this page