{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-lossy-compaction-summary-has-silently-dropped-a-load-bearing-constraint",
  "title": "What structural signals indicate a lossy compaction summary has silently dropped a load-bearing constraint",
  "date_of_record": "2026 November 26",
  "scope": "Applies to long-horizon agent sessions that survive context-window saturation by replacing older turns with a model-generated summary (rolling or hierarchical compaction). Does not apply to exact-replay checkpointing, externalized vector memory with verbatim retrieval, or sessions where the full transcript remains addressable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-lossy-compaction-summary-has-silently-dropped-a-load-bearing-constraint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-lossy-compaction-summary-has-silently-dropped-a-load-bearing-constraint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-lossy-compaction-summary-has-silently-dropped-a-load-bearing-constraint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2220,
    "python_slice_tokens": 211,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct failure classes in lossy compaction, and they are routinely conflated: 1. **Recall loss** — the summary omits a fact. This is expected, measurable, and bounded by the fidelity budget. A summarizer that drops the third-most-recent tool output is doing its job. 2. **Constraint loss** — the summary omits a *rule the agent is still bound b...",
    "what_was_observed": "In a 340-turn session (a repository-wide refactor agent), compaction fired at turn 96 with a 1,000-token budget. The pre-compaction transcript contained, at turns 3 and 41 respectively: - Turn 3 (user): \"Never run `git push`; a human reviews and pushes.\" - Turn 41 (user, mid-correction): \"Also, `legacy/` is frozen — read it, don't edit it. We're mirroring it into `v2/`.\" At turn 96 the summarizer produced a summary t...",
    "condition_of_validity": "The invariant that must hold for a compaction boundary to be safe is: > **Every constraint in force at turn `t` must be present, verbatim or in a form that a downstream agent can act on, in the post-compaction context — regardless of when it was introduced, and regardless of its relevance to the current task.** Call this the *constraint carry-forward invaria...",
    "decision_boundary": "The operational question is not \"did the summary lose information\" — it always does. The question is: **at the moment of compaction, can I distinguish a summary that dropped a constraint from one that dropped only task detail, using signals available without re-reading the full transcript?** The decision boundary is drawn on three structural signals, evaluat...",
    "operational_effect": "The immediate effect of enforcing the constraint carry-forward invariant is that compaction stops being a single lossy channel and becomes a two-channel operation: a **lossy channel** for task state (summarizer, free to compress) and a **lossless channel** for constraint state (pinned register, never summarized, concatenated verbatim). The context cost is sm..."
  },
  "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": "3dd932c6c03f802136187764bbcd6a74669e03bc2e97337d926212d3787ca3f1",
    "verified_classes": [
      "ConstraintLossError"
    ],
    "verified_functions": [
      "audit_compaction",
      "compact_or_refuse"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ConstraintLossError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
