{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-auto-compaction-summarization-has-silently-inverted-the-agent-s-task-frame-under-token-pressure",
  "title": "What structural signals indicate that auto-compaction summarization has silently inverted the agent's task frame under token pressure",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that trigger lossy context summarization (\"auto-compaction\") when the context window crosses a token threshold, then continue executing within the same session. Does not apply to stateless single-turn calls, nor to compaction that preserves a verbatim tail buffer under a hard invariant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-summarization-has-silently-inverted-the-agent-s-task-frame-under-token-pressure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-summarization-has-silently-inverted-the-agent-s-task-frame-under-token-pressure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-summarization-has-silently-inverted-the-agent-s-task-frame-under-token-pressure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1540,
    "python_slice_tokens": 190,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most compaction failure analysis focuses on *information loss*: facts dropped, tool outputs truncated, earlier instructions forgotten. That framing is wrong for a specific and dangerous subclass of failure. The real boundary is between **salient-state loss** (recoverable — the agent can re-fetch, re-ask, or re-derive) and **task-frame inversion** (not recove...",
    "what_was_observed": "A research agent was assigned: *\"Find the three highest-variance line items in the Q3 vendor ledger and write a one-page memo explaining the variance drivers.\"* The transcript unfolded as: read ledger (tool), filter to top variance candidates (tool), pull supporting invoices for the top three (tool), then begin drafting. At ~78% context utilization, auto-compaction fired. The summarizer produced, in part: *\"The agent...",
    "condition_of_validity": "This failure mode is bounded by three conditions, all of which must hold for frame inversion to occur: 1. **The task has a means/end structure** — at least one sub-step whose output is an *input* to a later step. Single-step tasks cannot invert because there is no instrument to promote. 2. **Compaction fires after the means-step completes but before the end-...",
    "decision_boundary": "The operational decision is: **when the agent resumes from a compaction summary, does it re-validate the frame before acting?** - If the summary contains a verbatim-pinned objective and the agent's first post-compaction action is checked against it, proceed. - If the summary is free-form and the agent's first action references an entity that was an *instrume...",
    "operational_effect": "Agents that lack this guardrail exhibit a characteristic post-compaction signature: high local coherence, correct entity references, wrong deliverable shape. The failure is silent because every individual token is plausible and every tool call succeeds. It is caught only by comparing the deliverable's *structural schema* against the original task's *verb str..."
  },
  "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": "dd08628e8c7068b63d2337cce9d2057771cb18f2799dc590d930ba0f441d8a72",
    "verified_classes": [
      "FrameInversionError"
    ],
    "verified_functions": [
      "resume_after_compaction"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "FrameInversionError"
    ],
    "sample_fail_closed_invariants": [
      "Pinned objective absent from summary; summarizer paraphrased the frame.",
      "Task verb 'explain' collapsed to 'summarize' in compaction; causal analysis objective lost."
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
