{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-lossy-compaction-has-silently-dropped-a-load-bearing-fact-from-agent-context",
  "title": "What structural signals indicate lossy compaction has silently dropped a load-bearing fact from agent context",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that perform automatic context compaction (rolling summarization, hierarchical folding, or eviction-with-recapitulation) over a working set that includes both conversational state and tool-output-derived facts. Does not apply to pure retrieval systems where the full corpus remains addressable, nor to compaction that preserves verbatim spans under a structured index.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-lossy-compaction-has-silently-dropped-a-load-bearing-fact-from-agent-context.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-lossy-compaction-has-silently-dropped-a-load-bearing-fact-from-agent-context.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-lossy-compaction-has-silently-dropped-a-load-bearing-fact-from-agent-context.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1656,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not \"the summary is low quality.\" It is that compaction produces a summary that is *locally fluent and globally lossy* in a way that is invisible to the agent that produced it. A summarizer is a lossy channel, and the agent downstream of it has no reference signal to detect what was dropped. The distinguishing line is between **co...",
    "what_was_observed": "A three-stage tool-using agent (plan → execute → verify) ran a task requiring it to apply a transformation to records \"excluding any record with status `archived` or `pending_review`, and never touching records under tenant `t-4471`.\" The constraint set was established in turn 2 from a tool response. By turn 14 the context crossed the compaction threshold; the rolling summarizer folded turns 1–10 into a 400-token rec...",
    "condition_of_validity": "The invariant holds under these conditions, and only these: 1. **The fact is non-redundant.** If the constraint recurs in later turns or is re-derivable from a tool call, compaction loss is recoverable and the invariant does not bind. 2. **The fact is not addressable by retrieval.** If the agent holds a pointer (record id, file path, tool handle) that can re...",
    "decision_boundary": "The boundary is whether a fact is **re-derivable** versus **only-represented-once**. Operationalize it as follows: - Before compaction, classify each candidate-for-eviction span by *provenance*: user instruction, tool output, agent inference, or peer message. - Tool-output spans that contain **constraint-bearing tokens** (negations, numeric bounds, identifie...",
    "operational_effect": "With the constraint ledger in place, the failure above becomes structurally impossible: the tenant id and status set survive every compaction because they are never candidates for summarization. The observed effect across the agent's episode was that post-compaction task correctness rose from a state where the verifier was confirming corrupted output to one ..."
  },
  "matched_failure_symptoms": [
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "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": "270d868cc4602e626d1ae52a789f97d8624692a06424eca748f2fdbba85cbf01",
    "verified_classes": [
      "CompactionFidelityError",
      "Span",
      "ConstraintLedger"
    ],
    "verified_functions": [
      "compact",
      "verify_no_fabrication",
      "pin",
      "inject_head"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CompactionFidelityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
