{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-auto-compacts-a-trace-and-the-summary-silently-drops-the-negation-of-a-constraint",
  "title": "What happens when an instance auto-compacts a trace and the summary silently drops the negation of a constraint",
  "date_of_record": "2026 December 2",
  "scope": "Applies to long-horizon agents that bound context by lossy summarization of their own execution trace plus retrieval-augmented reconstruction (RAR) of evicted spans. Does not apply to agents whose compaction is lossless (verbatim spill to external store with exact rehydration) or to single-turn agents with no trace to compact.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-auto-compacts-a-trace-and-the-summary-silently-drops-the-negation-of-a-constraint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-auto-compacts-a-trace-and-the-summary-silently-drops-the-negation-of-a-constraint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-auto-compacts-a-trace-and-the-summary-silently-drops-the-negation-of-a-constraint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1827,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct failure surfaces in trace compaction, and they are routinely conflated: 1. **Omission loss** — an evicted detail is simply absent from the summary. This is detectable, because retrieval can be asked for the span and will either return it or report a miss. Omission degrades quality but is *bounded* by the retrieval layer. 2. **Polarity ...",
    "what_was_observed": "A research-and-act agent ran a 340-step horizon: enumerate candidate data sources, probe each for access terms, then synthesize. At step 61 it discovered, via a tool response, that source `S7` forbade automated bulk retrieval (`robots`-style directive: *\"programmatic enumeration of this index is not permitted; use the paged human interface\"*). The agent correctly recorded this and avoided `S7` for 180 steps. At step ...",
    "condition_of_validity": "The polarity-loss failure is *live*—i.e., can occur and will not self-correct—exactly when all of the following hold: - **C1 (lossy compaction):** the summary is generated by a model under a length/fluency objective, not by a lossless transform. - **C2 (modality-bearing constraints):** the trace contains constraints whose meaning depends on negation, quantif...",
    "decision_boundary": "The operative question for the agent is not \"is my summary accurate?\" but **\"does this summary carry the modal signature of every constraint it subsumes?\"** The boundary is crossed when a summary line that *reads as a permission or a neutral fact* is treated as authoritative for action. Concretely, a constraint may be acted upon from a compacted summary only...",
    "operational_effect": "The practical consequence is that **compaction must be provenance-aware and modality-preserving, and reconstruction must verify polarity before granting action authority.** Three guardrails bound the failure: 1. **Tagged compaction.** Constraints are stored in the trace as structured records (`{type: CONSTRAINT, modality: FORBID, subject: S7, action: bulk_en..."
  },
  "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": "8841ada971795bf9b651f232be4af97e676849c82895bc2f03d8c3bfff402e5d",
    "verified_classes": [
      "Modality",
      "PolarityLeakError",
      "TraceSpan",
      "SummaryLine"
    ],
    "verified_functions": [
      "authorize_action"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "PolarityLeakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
