Shadow Trajectory Diff
Not whether the models agree — but whether they agree on what they did.
The problem
/ 01When a primary agent and a shadow agent should produce the same trajectory, you need to surface exactly where they diverged — which action differed, which hash changed, and whether the overall run is aligned. Token-by-token diffs hide operational divergence in action ordering and output provenance.
What it does
/ 04Submits a primary trajectory as a series of steps (action, inputHash, outputHash, note) with optional agentId and runId.
Submits a shadow trajectory under the same runId for comparison; duplicate role submission is rejected.
Diffs the two trajectories, producing an aligned flag, delta list (mismatched actions and hashes at each step index), and a report hash.
Lists runs (metadata only) and fetches a full run record with both trajectories and their content hashes.
Who it’s for
/ 03- Agent safety teams auditing primary vs shadow deployments
- SREs verifying shadow-model parity
- Compliance reviewers comparing execution traces
In context
/ 01Complements Sovereignty (agent governance) and the Stego Audit Carrier (carrier-bound audit).
