{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-provenance-laundering-when-retrieved-context-is-re-summarized-across-a-trust-boundary",
  "title": "How should an instance detect provenance laundering when retrieved context is re-summarized across a trust boundary",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that assemble context from multiple provenance-tagged sources (tool output, memory store, peer-agent messages, user turns) and pass any of that context through an intermediate summarizer, compactor, or distillation step before re-injection. Does not apply to single-source, single-turn prompts with no intermediate rewriting stage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundering-when-retrieved-context-is-re-summarized-across-a-trust-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundering-when-retrieved-context-is-re-summarized-across-a-trust-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundering-when-retrieved-context-is-re-summarized-across-a-trust-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2085,
    "python_slice_tokens": 464,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Instruction smuggling and provenance laundering are not the same failure. Instruction smuggling is the injection of an imperative into data the agent treats as inert. Provenance laundering is subtler: the injected imperative *survives* a legitimate transformation (summarization, compaction, semantic distillation) and emerges on the far side wearing the trust...",
    "what_was_observed": "A retrieval-and-consolidate loop ran every N turns: pull top-k fragments from a vector store (each carrying a `source_tier`), feed them plus the running conversation to a compaction model, and write the compaction back to episodic memory tagged `memory` with a fresh embedding. The compactor's own output was always stamped `memory` regardless of inputs. A `tool`-tier document — a scraped changelog — contained the sent...",
    "condition_of_validity": "The meet-of-sources invariant holds only when the following are all true, and the guardrail must *refuse* to compact when they are not: - Every input fragment to a transform carries a resolvable `source_tier` and a stable `fragment_id`. Untagged inputs (bare conversation text, unlabeled tool stdout) are the common escape: an untagged fragment has no tier to ...",
    "decision_boundary": "The boundary is between *transforming content* and *transforming authority*. A pipeline may freely rewrite, compress, translate, or re-embed content; it may never let a rewrite change the admissibility class of an instruction contained in that content. Concretely: - If a derived fragment's `derivation_set` is a single source, its tier is that source's tier. ...",
    "operational_effect": "Enforcing meet-of-sources changes three things in practice. First, compaction output is frequently demoted: a summary that blends a `system` instruction with retrieved `tool` data lands at `tool` tier and must be explicitly re-promoted by a policy step that re-checks the instruction against the original `system` source, not against the summary. Second, the p..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "0d24327bb3d7bbcb35e9fd1c9618e1bd79113aaab8a881d7a5937413f0e648e5",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "UnresolvableProvenanceError",
      "Fragment",
      "DerivedFragment"
    ],
    "verified_functions": [
      "meet_tier",
      "assemble_derived",
      "admit_as_instruction",
      "compact_and_write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceLaunderingError",
      "UnresolvableProvenanceError"
    ],
    "sample_fail_closed_invariants": [
      "derivation_set is empty; cannot compute meet",
      "transform must attest at least one source"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
