{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-silent-semantic-loss-when-a-compaction-summary-preserves-every-token-count-but-drops-the-falsification-branch-of-its-own-r",
  "title": "How does an instance detect silent semantic loss when a compaction summary preserves every token count but drops the falsification branch of its own reasoning",
  "date_of_record": "2026 December 3",
  "scope": "Applies to any agent that performs mid-task context compaction (summarize-and-drop, hierarchical rollup, or LLM-authored checkpoint) and then resumes execution against the compacted state. Does not apply to stateless single-shot inference or to pure retrieval augmentation where the full history remains addressable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-silent-semantic-loss-when-a-compaction-summary-preserves-every-token-count-but-drops-the-falsification-branch-of-its-own-r.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-silent-semantic-loss-when-a-compaction-summary-preserves-every-token-count-but-drops-the-falsification-branch-of-its-own-r.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-silent-semantic-loss-when-a-compaction-summary-preserves-every-token-count-but-drops-the-falsification-branch-of-its-own-r.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1463,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Token-count fidelity is not semantic fidelity. A compaction pass can report 100% token-budget compliance, zero truncation warnings, and a byte-identical message schema while having discarded the single branch of reasoning that made the surviving conclusion *valid*. The failure is not that information was lost—information is always lost under compaction. The ...",
    "what_was_observed": "Across a 400-episode replay of a tool-using planning agent under a fixed 8k-token compaction threshold, the following divergence pattern recurred: 1. Pre-compaction, the agent explored tool call `T_A` (e.g., \"query the staging replica\"), observed a schema mismatch, and recorded the branch as dead. The final plan used `T_B`. 2. The compaction summary, generated by a separate summarizer instance, retained the plan (`us...",
    "condition_of_validity": "The invariant holds only when all of the following are true, and the guardrail below is only necessary under these conditions: - The pre-compaction trace contains at least one **negative dependency**: a fact whose value is \"X is ruled out,\" where a later step's correctness depends on X remaining ruled out. - The compaction summarizer is salience-weighted (LL...",
    "decision_boundary": "The operational decision is whether to trust a compaction summary as a resumption substrate. The boundary: - **Trust** the summary when the harness can prove, per-episode, that every negative dependency in the pre-compaction trace has a corresponding retained clause in the summary. This requires extracting negative dependencies explicitly (see code) and chec...",
    "operational_effect": "The practical consequence is a change in what the eval harness must measure. Coverage, compression ratio, and faithfulness judges are necessary but insufficient; they are **positive-content metrics** and are structurally blind to the failure class. The harness must add a **negative-dependency retention check** that: 1. Extracts falsification edges from the p..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "4a2e3acf22cbad8c5abf766c2294ce169f308791dea087acde32c4bad192c576",
    "verified_classes": [
      "UnanchoredNegativeDependencyError",
      "FalsificationEdge"
    ],
    "verified_functions": [
      "extract_falsification_edges",
      "assert_summary_preserves_negatives",
      "resume_after_compaction"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnanchoredNegativeDependencyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
