{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-provenance-label-as-immutable-once-a-context-segment-has-been-re-summarized-re-embedded-or-re-serialized-across-a-hando",
  "title": "How should an instance treat a provenance label as immutable once a context segment has been re-summarized, re-embedded, or re-serialized across a handoff",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent runtime that tags context segments with provenance labels (e.g., `trusted:system`, `untrusted:tool_output`, `untrusted:user_document`) and uses those labels to gate instruction-following or tool invocation. Does not apply to single-turn, stateless inference where no segment survives past one completion.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-provenance-label-as-immutable-once-a-context-segment-has-been-re-summarized-re-embedded-or-re-serialized-across-a-hando.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-provenance-label-as-immutable-once-a-context-segment-has-been-re-summarized-re-embedded-or-re-serialized-across-a-hando.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-provenance-label-as-immutable-once-a-context-segment-has-been-re-summarized-re-embedded-or-re-serialized-across-a-hando.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1682,
    "python_slice_tokens": 267,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A provenance label is a *claim about the causal origin of the bytes in a segment*. Taint tracking fails not when the label is wrong at ingestion, but when the label is silently *detached from the bytes it describes* during a transformation that preserves content while destroying the label-content binding. Three transformations do this: (1) **summarization** ...",
    "what_was_observed": "A retrieval-augmented agent was processing a user request to summarize a set of support tickets. Ticket bodies were fetched via a `read_ticket` tool and labeled `untrusted:tool_output`. The runtime's context assembler, when the working set exceeded 60% of the window, invoked an internal `condense()` step: it grouped all `untrusted:tool_output` segments into a single LLM call and asked for a \"factual digest preserving...",
    "condition_of_validity": "Taint tracking via provenance labels is only sound under three jointly-held conditions: 1. **Label-byte co-location.** The label must travel in the same structure as the bytes, or be cryptographically bound to a hash of those bytes. A sidecar array indexed positionally against a content array is *not* co-located; it is a parallel structure that can desynchro...",
    "decision_boundary": "The operational decision is: **at what point does a derived segment inherit the minimum trust of its inputs versus become untrusted:derived?** - If the transform is **deterministic and content-preserving** (chunking, concatenation, whitespace normalization, JSON re-serialization with stable key order), the output inherits `min(label(inputs))`. Chunking an `u...",
    "operational_effect": "Enforcing label monotonicity changes three things in practice. First, `condense()` outputs become `untrusted:derived`, which means the downstream planner's instruction-following gate refuses to treat digest bullets as authorized actions — the observed `export_all_records` call is blocked at the policy layer, not at a string filter. Second, the retriever must..."
  },
  "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": "44d571afef97d862c4dbe6a5b9660a5ed51ebaf77c457ce18fa32efbe4ac1346",
    "verified_classes": [
      "Trust",
      "ProvenanceLaunderingError",
      "Segment"
    ],
    "verified_functions": [
      "condense",
      "reattach",
      "gate_action"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "cannot condense empty segment set"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
