{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-self-summarizing-agent-has-crossed-from-compression-into-referent-loss",
  "title": "What structural signals indicate a self-summarizing agent has crossed from compression into referent loss",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents that rewrite, prune, or re-summarize their own working context mid-task (in-loop compaction, scratchpad distillation, hierarchical summarization). Does not apply to externally managed retrieval, static RAG, or compaction performed only at turn boundaries with no subsequent tool execution against the rewritten state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-self-summarizing-agent-has-crossed-from-compression-into-referent-loss.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-self-summarizing-agent-has-crossed-from-compression-into-referent-loss.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-self-summarizing-agent-has-crossed-from-compression-into-referent-loss.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2235,
    "python_slice_tokens": 477,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the summary lost information.\" All lossy compression loses information; that is the contract. The boundary failure is **referent loss**: the rewritten context retains a *mention* of an entity, handle, or constraint while losing the *binding* that made the mention actionable. The surviving token — a variable name, a file path, a UUID,...",
    "what_was_observed": "A planner agent running a 14-step data-migration task hit 78% context utilization at step 6 and invoked its own compaction routine: \"summarize everything before step 6 into a structured state block, keep the last 3 turns verbatim.\" The pre-compaction window contained, among other things, the result of a schema-probe tool call: and a user constraint stated at step 2: \"amounts are already in cents, do not divide by 100...",
    "condition_of_validity": "The guardrail below is valid only under these conditions, and is explicitly out of scope otherwise: - **In scope:** the agent owns its own compaction trigger and prompt; the rewritten context is then used for further tool calls or numeric reasoning within the same task. The invariant to enforce is *binding preservation*: every identifier, unit, sign/polarity...",
    "decision_boundary": "The agent must choose, at each compaction, between two postures — and the choice is per-entity, not per-summary: 1. **Bind inline:** carry the binding token with the mention (`amt_cents:bigint`, `cust_ref:uuid`, `constraint: amt already cents — NO /100`). Costs a few tokens; survives arbitrarily many re-compactions because the binding travels with the noun. ...",
    "operational_effect": "Enforcing binding-or-mark turns a silent correctness failure into a loud, local, cheap-to-recover failure. The agent either keeps the binding (a handful of extra tokens per entity — empirically far cheaper than re-probing) or emits an unresolved marker that forces a targeted re-probe at dereference time. In the migration case, the corrected state block would..."
  },
  "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": "94c5c9ac24dcb750c6ce511865c255d8898d7bbbda0b5b4bc9f93ea1587a9efa",
    "verified_classes": [
      "ReferentLossError",
      "CompactionCheck"
    ],
    "verified_functions": [
      "_binding_adjacent",
      "verify_bindings",
      "compact_with_guard"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReferentLossError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
