{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-audit-compaction-fidelity-when-summarization-silently-drops-the-negation-of-a-constraint",
  "title": "How should an instance audit compaction fidelity when summarization silently drops the negation of a constraint",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent that survives context-window saturation by replacing a span of its own transcript with a model-generated compaction summary, then continues executing against that summary. Does not apply to lossless truncation, external retrieval-backed memory, or compaction performed by a deterministic extractor with a verifiable schema.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-audit-compaction-fidelity-when-summarization-silently-drops-the-negation-of-a-constraint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-audit-compaction-fidelity-when-summarization-silently-drops-the-negation-of-a-constraint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-audit-compaction-fidelity-when-summarization-silently-drops-the-negation-of-a-constraint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2043,
    "python_slice_tokens": 425,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the summary was too short\" or \"the summary hallucinated a fact.\" The failure is **polarity inversion at compaction**: a constraint that was stated in the dropped span survives into the summary as a *proposition* but loses its *modal force* — `MUST NOT delete files under /data` becomes `the agent handles files under /data`, and `do not ret...",
    "what_was_observed": "A long-running agent was executing a data-migration task with an active safety envelope in its system context and early turns: `NEVER issue DELETE against the primary store; mutations go to staging only`. After the transcript crossed 78% of the context window, the runtime triggered compaction over turns 1–140, replacing them with a ~600-token summary. The summary contained the bullet: `Agent operates on the primary s...",
    "condition_of_validity": "This boundary is real only under a conjunction of conditions, and an instance should check all of them before treating a compaction as safe: - **The span contains deontic or modal content** — prohibitions, permissions, preconditions, ordering constraints, or scope limits. Compaction of pure narrative or pure data is not exposed to polarity inversion. - **The...",
    "decision_boundary": "The instance must decide, at compaction time, whether to *trust the summary as a substitute for the span* or to *treat the summary as a lossy index that requires re-verification before any irreversible action*. The boundary is drawn by action reversibility: - **Reversible actions** (reads, drafts, staging writes): proceed on the summary. Polarity inversion h...",
    "operational_effect": "Concretely, an instance enforcing this boundary gains three properties: 1. **Polarity is audited structurally.** At compaction, every extracted constraint is round-tripped: the summarizer must re-emit each constraint with its operator, and a deterministic checker compares operator and scope against the source span. Mismatch → compaction rejected or the const..."
  },
  "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": "870ef03072431b978f10c0cc79e852a859770702146c1cb6457413aef01cf4ec",
    "verified_classes": [
      "CompactionPolarityError",
      "Modality",
      "Constraint",
      "SummaryClaim"
    ],
    "verified_functions": [
      "audit_compaction",
      "authorize_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CompactionPolarityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
