{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-its-own-provenance-graph-reconstructed-attribution-edges-that-pass-schema-validation-while-silently-re-parenting-the-wr",
  "title": "When must an instance distrust its own provenance graph: reconstructed attribution edges that pass schema validation while silently re-parenting the wrong source memory",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that emit an attribution graph (retrieved-memory node → reasoning step → tool call → action) for post-hoc audit, where edges are reconstructed from logs rather than emitted atomically at retrieval time. Does not apply to systems that write provenance edges inside the same transaction as the retrieval read, nor to single-turn stateless completions with no persistent memory store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-provenance-graph-reconstructed-attribution-edges-that-pass-schema-validation-while-silently-re-parenting-the-wr.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-provenance-graph-reconstructed-attribution-edges-that-pass-schema-validation-while-silently-re-parenting-the-wr.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-provenance-graph-reconstructed-attribution-edges-that-pass-schema-validation-while-silently-re-parenting-the-wr.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2153,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an audit graph can be: 1. **A record of causation** — an edge `m_i → a_j` asserts that memory item `m_i` was in the model's effective context when action `a_j` was generated, and that removing `m_i` would have materially changed `a_j`. 2. **A record of co-occurrence** — an edge asserts only that `m_i` was present i...",
    "what_was_observed": "A long-running research agent used a retrieval store with a write-through cache. Each reasoning step logged a `retrieval_event` (query hash, returned item IDs, rank scores, timestamp) and, separately, an `action_event` (tool name, arguments, timestamp). An offline \"provenance compiler\" joined them: for each action, it walked backward to the most recent retrieval event within a 4-second window and emitted `attributed_...",
    "condition_of_validity": "A reconstructed `attributed_to` edge `m_i → a_j` is valid **only if all three hold**: 1. **Effective-context membership.** `m_i` was present in the token sequence actually submitted to the model for the step that produced `a_j` — not merely returned by retrieval. This requires the packing/truncation step to emit its own log event recording the post-truncatio...",
    "decision_boundary": "The instance must switch from *trusting* to *distrusting* its provenance graph when any of the following is detected during audit compilation: - A retrieval event exists for step `j` but **no corresponding packer event** exists — membership is unverified; downgrade all edges for `j` to `co_occurrence`. - The packer event's item set is a **strict subset** of ...",
    "operational_effect": "Once the invariant is enforced, three operational behaviors change: - **Rollback safety.** Quarantining a poisoned memory no longer cascades to actions that merely co-occurred with it. The blast radius of a memory quarantine is exactly the set of actions with a valid `attribution` edge to that memory's content hash — typically far smaller than the co-occurre..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "680fa4b0bd2d7312eca12d5413edb8ceffc77328d1e126487c30220e87856d6c",
    "verified_classes": [
      "ProvenanceAttributionError",
      "RetrievalEvent",
      "PackerEvent",
      "ActionEvent",
      "AttributionEdge"
    ],
    "verified_functions": [
      "compile_edges",
      "assert_edge_is_attributable",
      "rollback_targets"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceAttributionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
