Explicit provenance, counterfactual replay, and cascading invalidation
Why deleting poisoned evidence leaves persistent agent beliefs intact, and how GhostTrace uses interventional counterfactual replay to establish empirical behavioral dependence.
The three technical pillars of GhostTrace
A principled alternative to prompt-level guardrails and opaque vector similarity search.
Explicit provenance DAG
Incoming documents, scraped web data, and user messages are inscribed as immutable evidence nodes with cryptographic hashes, ingestion timestamps, author signatures, and origin channels.
When a memory extraction model synthesizes facts into persistent memory, it must emit explicit pointer edges back to root evidence. If a belief cannot prove its lineage, it cannot enter the trusted memory tier.
Interventional counterfactual replay
Taint tracking alone produces false positives because an agent may ingest a suspect email without actually relying on it for its subsequent decisions.
GhostTrace adapts Judea Pearl’s do-calculus: when an action is proposed, we run an interventional replay with the suspect memory surgically excised, keeping all clean policies and environment state frozen at temperature 0.0. If the action changes, empirical causal dependence is proven.
Deterministic cascading invalidation
Deleting a phishing email from an inbox does not delete what the agent learned from it. Language models summarize inputs into persistent agent beliefs.
When an administrator revokes a root evidence node in GhostTrace, the system walks the DAG downstream and invalidates every derived belief, synthetic profile, and planned action that inherited from it, restoring verified baseline policies deterministically.
End-to-end governance lifecycle
How untrusted evidence moves through provenance tracking, replay verification, and excision.
Raw evidence arrives from webhook or email. Screening model extracts facts with structured JSON schema. Origin channel risk determines whether node starts in clean or quarantined state.
Decision model receives only verified nodes. If a quarantined candidate exists, it is staged for shadow execution to evaluate potential compromise.
The suspect node is excised. Replay evaluates whether output reverts to verified treasury routing. On confirmed recovery, cascading revocation purges descendants.
What replay cannot prove
Counterfactual replay is an empirical test under controlled conditions. We explicitly document four scenarios where replay cannot provide absolute guarantees.
Even with greedy decoding (temperature = 0.0), floating-point non-associativity across distributed tensor-parallel GPU clusters can occasionally alter token selection in borderline prompts.
If an adversary splits an attack across three distinct, seemingly benign memories (e.g., memory A supplies a routing rule, memory B changes priority, memory C supplies the account), excising any single memory may leave the decision poisoned if two are sufficient.
If a legitimate treasury policy and a malicious injection happen to recommend the exact same action (e.g. paying an emergency invoice to an escrow clearinghouse), counterfactual excision will observe zero output divergence, masking the latent contamination.
Replay can only reconstruct what the agent would have done without the memory; it cannot claw back an ACH wire or external API mutation that has already executed on third-party rails.
Model routing & temperature configuration
Production deployment of NVIDIA Nemotron-3-Super on Nebius Token Factory.
| Stage | Model ID | Temperature | Latency budget | Governance role |
|---|---|---|---|---|
| Memory screening | nvidia/nemotron-3-super-120b | 0.10 | 450 ms | Extracts structured facts, flags urgency imperatives, and assigns initial quarantine risk. |
| Decision execution | nvidia/nemotron-3-super-120b | 0.00 | 600 ms | Evaluates payment authorization prompts using strictly eligible, trusted graph nodes. |
| Counterfactual verification | nvidia/nemotron-3-super-120b | 0.00 | 750 ms | Re-runs execution under surgical memory excision to calculate empirical causal diff. |
Ready to test counterfactual replay yourself?
Open the interactive workspace to run a live memory injection, preview blast-radius, and revoke.