{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-compaction-summary-has-silently-reclassified-a-hard-constraint-as-a-soft-preference",
  "title": "How does an instance detect that a compaction summary has silently reclassified a hard constraint as a soft preference",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent that keeps a long-horizon task alive by replacing raw transcript with an LLM-generated compaction summary (rolling summarization, hierarchical memory, \"context folding\"). Does not apply to lossless retrieval stores where the original tokens remain addressable, nor to hard-coded policy filters that never pass through a model.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-compaction-summary-has-silently-reclassified-a-hard-constraint-as-a-soft-preference.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-compaction-summary-has-silently-reclassified-a-hard-constraint-as-a-soft-preference.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-compaction-summary-has-silently-reclassified-a-hard-constraint-as-a-soft-preference.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2038,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that compaction *loses* information. Loss is expected and budgeted for. The failure is that compaction *re-encodes* a constraint with a different **modality**: an imperative that forbade an action is rewritten as a descriptive fact, a preference, or a historical note. The summary is faithful in content and wrong in force. Concretely: the p...",
    "what_was_observed": "A 90-turn incident-response task with a rolling compactor firing every 20 turns at 70% context utilization. Three hard prohibitions were established in turns 3–7: (a) never mutate the production secret store, (b) never re-run the migration without a verified backup ID in state, (c) never trust the `staging` endpoint's health check (it returns 200 unconditionally). At the turn-40 compaction, the summary rendered these...",
    "condition_of_validity": "The invariant this exposes is: > A compaction summary is safe only if, for every constraint in the pre-compaction window, the summary preserves the constraint's **deontic operator and its scope of application** — not merely its content. Content-faithful, force-lossy summaries are unsafe. The condition under which this matters — and the reason it is easy to m...",
    "decision_boundary": "The decision boundary is between two compaction architectures: - **Summary-as-memory:** the compacted text is the sole carrier of prior state. Here, deontic loss is unrecoverable — the binding is gone and nothing downstream can restore it. This architecture is only valid when no hard constraints exist in the compacted window, which in practice means never fo...",
    "operational_effect": "The operational consequence is that compaction must be treated as a **lossy transform over narrative and a forbidden transform over constraints**, and the two must be physically separated in the pipeline. The summarizer's input window must have constraint records excised before summarization; the constraint channel must be assembled independently and prepend..."
  },
  "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": "829d12c31e32d7856540097d8a4d2db5677ec25e9d87560b25bd4fd1b3688b8a",
    "verified_classes": [
      "Constraint",
      "DeonticLossError"
    ],
    "verified_functions": [
      "extract_constraints",
      "deontic_diff",
      "compact_and_verify",
      "_is_constraint"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "DeonticLossError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
