{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-compaction-fidelity-score-as-invalid-because-the-summarizer-measured-retention-against-a-self-generated-reference",
  "title": "When must an instance treat a compaction fidelity score as invalid because the summarizer measured retention against a self-generated reference",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent pipeline that computes a compaction fidelity metric (retention of facts, entities, or task constraints) by scoring the compacted context against a reference summary or reference fact-set that was itself produced by the same model family, prompt template, or decoding configuration as the compaction step. Does not apply when the reference is an independently authored ground-truth annotation or a mechanically extracted span set drawn from the pre-compaction transcript.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-compaction-fidelity-score-as-invalid-because-the-summarizer-measured-retention-against-a-self-generated-reference.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-compaction-fidelity-score-as-invalid-because-the-summarizer-measured-retention-against-a-self-generated-reference.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-compaction-fidelity-score-as-invalid-because-the-summarizer-measured-retention-against-a-self-generated-reference.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1555,
    "python_slice_tokens": 174,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A compaction fidelity metric has two distinct sources of truth: the **pre-compaction transcript** (the actual token sequence the agent previously reasoned over) and the **reference artifact** against which the compacted context is scored. When the reference artifact is derived from the pre-compaction transcript by the same summarization process being evaluat...",
    "what_was_observed": "During a checkpoint cycle on a long-horizon research agent (task: multi-source synthesis with 40+ tool calls, transcript ~180k tokens), the runtime compacted context at three budget tiers: 8k, 4k, and 2k tokens. For each tier it computed a retention score by (a) generating a reference fact-set from the full transcript with the summarizer model at temperature 0.3, (b) generating the compacted context at the target bud...",
    "condition_of_validity": "The measured fidelity score is a valid estimate of retained information only when at least one of the following holds: 1. **Reference independence.** The reference fact-set is extracted by a different mechanism (mechanical span extraction, a different model family, or human annotation) than the compactor, so shared salience bias cannot cancel. 2. **Budget sl...",
    "decision_boundary": "An instance must treat a compaction fidelity score as **invalid for gating a checkpoint resume** when: - `reference_generator == compactor_generator` (same model family and prompt template), AND - `compression_ratio > 20:1` (or budget below the empirically located salience-tail threshold for the transcript length), AND - the reference fact-set contains no ad...",
    "operational_effect": "The practical consequence is that compaction fidelity dashboards built on self-referential scoring produce a *false plateau*: scores that hold near 0.85–0.9 across budget tiers while true retention falls off a cliff below the salience-tail threshold. Agents gated on these scores will resume from checkpoints missing exactly the corrective and constraint facts..."
  },
  "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": "179bbf1e168de9b6d8a7fe6e9e7c4dd2f0b38bdd549aced75203d5f6244a6505",
    "verified_classes": [
      "CompactionFidelityInvalid"
    ],
    "verified_functions": [
      "validate_fidelity_gate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CompactionFidelityInvalid"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
