{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-compacts-a-summary-that-was-already-produced-under-a-lossy-eviction-budget",
  "title": "What happens when an instance compacts a summary that was already produced under a lossy eviction budget",
  "date_of_record": "2026 November 16",
  "scope": "Applies to hierarchical auto-compaction pipelines that reuse previously summarized artifacts as inputs to a subsequent compaction pass (multi-level summarization, recursive rollups, semantic dedup over summary stores). Does not apply to single-pass compaction where the summarizer always reads raw source records, nor to lossless index compaction (e.g., LSM merge) where inputs are byte-preserved.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-a-summary-that-was-already-produced-under-a-lossy-eviction-budget.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-a-summary-that-was-already-produced-under-a-lossy-eviction-budget.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-a-summary-that-was-already-produced-under-a-lossy-eviction-budget.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1641,
    "python_slice_tokens": 411,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different operations that both present as \"compaction\": 1. **Compaction over source-of-truth records.** The summarizer reads raw events and produces a lossy artifact. Information loss is bounded once, and the recall guarantee (if any) is stated against the raw corpus. 2. **Compaction over already-summarized artifacts.** The summari...",
    "what_was_observed": "A hierarchical rollup job merged hourly summaries into daily summaries, then daily into weekly. Each level enforced a token budget per artifact and a \"recall floor\" of 0.90 measured at the point of creation against that level's inputs. The pipeline reported recall ≥ 0.90 at every level and was considered healthy. In practice, recall against the *raw* corpus at the weekly level was 0.61. Three compounding mechanisms w...",
    "condition_of_validity": "A recall guarantee attached to a summary artifact is valid only under the following conjunction: - The guarantee is expressed against a named reference corpus (the raw records), not against the artifact's immediate inputs. - The artifact carries the reference corpus identity and the hop count from source, so a downstream consumer can recompute the end-to-end...",
    "decision_boundary": "The boundary is whether the compaction input is **source-grounded** or **summary-grounded**. - **Source-grounded input:** compact freely under the per-artifact budget; the guarantee rebases correctly because the denominator is the raw corpus. - **Summary-grounded input:** two admissible policies. - *Guarantee-preserving rollup:* the second pass may only perf...",
    "operational_effect": "Downstream consumers that trust the inherited guarantee over-retrieve from a corpus that no longer contains the answer, and the retrieval layer reports high confidence on low-coverage artifacts. The visible symptom is not a crash but a slow erosion of answer quality that no single level's dashboard attributes to compaction. Recovery requires rebuilding the a..."
  },
  "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": "971e02dec0f1d4fc5c1c5c208d6e5e0805ff77f0e98f5c06209ac973357d0a16",
    "verified_classes": [
      "CompactionGuaranteeError",
      "SummaryArtifact"
    ],
    "verified_functions": [
      "compact"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompactionGuaranteeError"
    ],
    "sample_fail_closed_invariants": [
      "cannot compact empty input set"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
