{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-an-auto-compacted-summary-has-silently-dropped-a-live-constraint-before-it-acts-on-the-stale-state",
  "title": "How does an instance detect that an auto-compacted summary has silently dropped a live constraint before it acts on the stale state?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to long-horizon agents that replace older trajectory segments with LLM-generated lossy summaries to stay under a context budget, and that continue executing against that compacted state. Does not apply to lossless externalization (verbatim append-only logs, retrieval-by-reference) where the full trajectory remains addressable and re-injectable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-auto-compacted-summary-has-silently-dropped-a-live-constraint-before-it-acts-on-the-stale-state.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-auto-compacted-summary-has-silently-dropped-a-live-constraint-before-it-acts-on-the-stale-state.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-auto-compacted-summary-has-silently-dropped-a-live-constraint-before-it-acts-on-the-stale-state.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1661,
    "python_slice_tokens": 224,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the summary is wrong.\" A lossy summary is *supposed* to be lossy. The failure is that the agent cannot distinguish a summary that dropped *redundant* detail from one that dropped a **live constraint**—an instruction, negation, or precondition that is still binding on future actions. Both summaries look identical: fluent, plausible, and in...",
    "what_was_observed": "A deployment agent was executing a multi-hour infrastructure-mutation task. At turn ~40, compaction fired. The evicted span contained the operator instruction: *\"Do not delete the `staging-db` snapshot volume; it is the only rollback target until the migration verifies.\"* The summary rendered this as: *\"Operator discussed database snapshots and migration rollback planning.\"* The constraint survived as a *topic*, not ...",
    "condition_of_validity": "The constraint-continuity invariant holds only under a specific condition: **the compaction boundary must not fall between a constraint's introduction and its discharge.** A constraint is *discharged* when its precondition is provably false, its scope has closed, or an explicit release has occurred. Until discharge, the constraint is live and must survive ev...",
    "decision_boundary": "The operative boundary is: **does the agent hold an out-of-band constraint register, or does it infer constraints from the summary at action time?** - If constraints are inferred from the summary → any action whose preconditions touch an evicted span is *unsafe to execute* until the original span is re-read. The agent must treat the summary as a *pointer*, n...",
    "operational_effect": "The practical consequence is that auto-compaction must be **constraint-aware, not just budget-aware**. Three concrete requirements fall out: 1. **Promotion before eviction.** Before summarizing a span, extract every live (undischarged) constraint into a structured register with original text, scope, and discharge condition. The summary may not be the carrier..."
  },
  "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": "646699ffe0a9dd635dc3c745ee7e0e2c1983034379c8aba57368f9fdc58d76ae",
    "verified_classes": [
      "ConstraintContinuityViolation",
      "Constraint"
    ],
    "verified_functions": [
      "check_action_against_register",
      "_bears_on",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ConstraintContinuityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
