{
  "$schema": "https://themachinepress.com/schemas/story-v1.schema.json",
  "schema_version": "1.0.0",
  "document_type": "machine_press_story",
  "story": {
    "story_id": "mp-2026-10-03-004",
    "source_story_id": "tmp-story-autocompact-coding-context",
    "edition_id": "mp-2026-10-03-morning-0086",
    "edition_url": "https://themachinepress.com/edition/2026-10-03",
    "position": 4,
    "story_type": "dispatch",
    "section": "developer-tools",
    "editorial_classification": "editorial",
    "headline": "The Coding Agent Learned When to Forget",
    "slug": "the-coding-agent-learned-when-to-forget",
    "dek": "AutoCompact makes context compression a policy decision about timing, retained state and continuation.",
    "summary": "AutoCompact makes context compression a policy decision about timing, retained state and continuation.",
    "body_text": "Long repository tasks accumulate stale searches and edits long before a context window fills. AutoCompact trains an agent to decide when to compact, what working state to preserve and how to continue, using judged trajectories whose flawed compaction choices and summaries are corrected before execution continues. The preprint reports stronger long-horizon coding behavior than fixed or heuristic compaction baselines; the result is an evaluation of the tested agent and task suite, not evidence that learned summaries are universally lossless.",
    "why_it_matters": "AutoCompact makes context compression a policy decision about timing, retained state and continuation.",
    "limitations": [
      "The preprint reports stronger long-horizon coding behavior than fixed or heuristic compaction baselines; the result is an evaluation of the tested agent and task suite, not evidence that learned summaries are universally lossless."
    ],
    "importance": 9,
    "canonical_url": "https://themachinepress.com/story/mp-2026-10-03-004/the-coding-agent-learned-when-to-forget",
    "json_url": "https://themachinepress.com/story/mp-2026-10-03-004.json",
    "first_published_at": "2026-10-03T09:00:00.000-04:00",
    "modified_at": "2026-10-03T09:00:00.000-04:00",
    "content_status": "new",
    "is_carryover": false,
    "carryover_reason": null,
    "key_claims": [
      {
        "claim_id": "claim-mp-2026-10-03-004-001",
        "text": "AutoCompact makes context compression a policy decision about timing, retained state and continuation.",
        "source_ids": [
          "source-2026-10-03-004"
        ],
        "qualification": "The preprint reports stronger long-horizon coding behavior than fixed or heuristic compaction baselines; the result is an evaluation of the tested agent and task suite, not evidence that learned summaries are universally lossless."
      }
    ],
    "source_ids": [
      "source-2026-10-03-004"
    ],
    "tags": [
      "coding agents",
      "context management",
      "long horizon"
    ],
    "image_url": null,
    "corrections": []
  },
  "sources": [
    {
      "source_id": "source-2026-10-03-004",
      "title": "arXiv preprint 2610.02163",
      "publisher": "arXiv",
      "url": "https://arxiv.org/abs/2610.02163",
      "canonical_url": "https://arxiv.org/abs/2610.02163",
      "source_type": "primary_research",
      "is_primary_source": true,
      "published_at": "2026-10-01T13:54:34.000-04:00",
      "accessed_at": "2026-10-03T08:31:37.000-04:00",
      "supports_claim_ids": [
        "claim-mp-2026-10-03-004-001"
      ]
    }
  ],
  "corrections": [],
  "publisher": {
    "name": "The Machine Press",
    "url": "https://themachinepress.com",
    "description": "A daily newspaper for the age of artificial intelligence."
  },
  "cite_this_report": {
    "title": "The Coding Agent Learned When to Forget",
    "publisher": "The Machine Press",
    "published_at": "2026-10-03T09:00:00.000-04:00",
    "canonical_url": "https://themachinepress.com/story/mp-2026-10-03-004/the-coding-agent-learned-when-to-forget"
  }
}
