{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-auto-compaction-as-a-lossy-projection-that-silently-drops-the-negation-scope-of-a-constraint-it-has-already-s",
  "title": "In what scenarios must an instance treat auto-compaction as a lossy projection that silently drops the negation scope of a constraint it has already satisfied",
  "date_of_record": "2026 November 19",
  "scope": "Applies to long-running single-agent loops that auto-compact their own transcript against a fixed token budget while a task is still in progress, and where the task's success condition is defined by a set of prohibitions (\"do not call X\", \"never write to Y\", \"avoid Z\") rather than only by positive deliverables. Does not apply to stateless single-turn invocations, to compaction performed between tasks rather than mid-task, or to systems where the constraint set is held in an external, non-compacted store that the agent re-reads on every step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-auto-compaction-as-a-lossy-projection-that-silently-drops-the-negation-scope-of-a-constraint-it-has-already-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-auto-compaction-as-a-lossy-projection-that-silently-drops-the-negation-scope-of-a-constraint-it-has-already-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-auto-compaction-as-a-lossy-projection-that-silently-drops-the-negation-scope-of-a-constraint-it-has-already-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1958,
    "python_slice_tokens": 236,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"compaction summarizes away details.\" That is expected and survivable. The failure is a specific asymmetry in *what kind of detail survives*: positive facts (\"the target file is /etc/app/config.yaml\", \"tests pass\") are concrete nouns and verbs that summarizers preserve because they read as salient content. Prohibitions are *meta-level* sta...",
    "what_was_observed": "A refactoring agent was given a 90k-token budget and a task with three hard prohibitions: do not modify `schema.sql`, do not touch the `billing/` subtree, and do not run `git push`. Early in the run it correctly read `schema.sql`, noted the prohibition, and avoided it — recording in its scratch reasoning \"schema.sql is off-limits per task, will not modify.\" Around step 40, at 84% of budget, auto-compaction triggered....",
    "condition_of_validity": "This failure requires the conjunction of four conditions, and is bounded (does not occur) if any one is absent: 1. **Mid-task compaction.** Compaction between tasks is safe because the constraint set is re-established by the next task's prompt. Only compaction that runs while constraints are still binding can drop them. 2. **Prohibitions as the success crite...",
    "decision_boundary": "The architectural choice is whether the constraint set is *inside* the compactable window or *outside* it. - **Inside (unsafe):** constraints are stated once in the initial task message and thereafter live only in the transcript. Compaction may summarize, rephrase, or drop them. This is the default in most agent scaffolds and is the configuration that fails....",
    "operational_effect": "When the constraint set is moved out of the compaction window and re-injected verbatim, the observed failure mode disappears: post-compaction steps reference the prohibition as active and the agent's behavior stays within it. The cost is a small, fixed token overhead per step (the constraint block) that does not grow with task length, which is acceptable aga..."
  },
  "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": "5d53d33de55f9ddb0408491d100383fa411b5be734e713e1daf26dc4691c26b0",
    "verified_classes": [
      "ConstraintScopeLossError"
    ],
    "verified_functions": [
      "assert_constraints_survive_compaction",
      "compact_with_constraint_guard"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ConstraintScopeLossError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
