Skip to content

Roadmap

Planned changes, in order. Each row is unbuilt until its PR lands. Work starts after ai-collab’s stage-1 reliability fixes, and ai-collab’s long-session trajectory feature plans to adopt the result.

# Change Evidence Effort
1 Done. Give the scratchpad six sections: objective, facts, changes, verification, dead ends, remaining plan, replacing free text up to 2,500 characters. ai-collab’s session pad uses the same sections, so the two share one format. The six-part recap in NVIDIA’s “You don’t need long context” [1]. S
2 Done. Model-aware defaults: added open-weight families to the built-in thresholds (haiku 95000, default 125000, and qwen, qwen3-coder, devstral, kimi, glm, deepseek, gpt-oss, llama, mistral, halogen — later trims, table in configuration). Open-weight models without compaction training collapsed under tight budgets in [1]: Qwen 3 Coder Next fell from 53.0 to 3.6 at 16K. S
3 Done. A recap-restart mode, opt-in beside CONTEXT_EVICTION: at the threshold the agent writes the six-part recap, and the request becomes system prompt, task and recap, instead of a trim that keeps older turns (recap restart). [1]: Opus 4.5 rose from 70.0 to 74.8 on SWE-bench Verified, GPT 5.6 Sol from 84.4 to 88.8. The scratchpad has cut cost with no pass-rate gain so far (Observed use). M
4 Done (results): no arm differs from full on 29 instances; H2 disproved, H3 confirmed at the threshold, recap restart stays opt-in. The Compact-Bench run (plan, adapter) on local Halogen, no spend: full history, native summary, six-section recap and a forced 4K trim. Its 3K–15K-token histories never reach a 48K threshold, so the trim arm tests the trim’s output, not the threshold. Tests 1–3 on real SWE-bench sessions instead of ContextBench. M
5 Done. A hook-only tier for Claude Code and Codex: no proxy; a SessionStart hook (matcher compact) returns the pad after the agent’s own compaction, Claude Code’s PreCompact hands the summarizer the pad as instructions (Codex’s PreCompact ignores hook stdout, so Codex gets the pad return only), and search stays on MCP. Installed with smarter-compact hooks install. The proxy needs LiteLLM 1.109.0rc1 and Node 24 and breaks Claude Code Remote Control (README). ai-collab can adopt this tier. M
6 Done. Freshness marks: when smart_compact_get returns an old tool result for a file that changed since, mark it stale. MemTrace [2] re-checks memory against the current repo: +21.2 pass@1 on DeepSWE. S–M

Later: a loop detector that resets a looping agent to a checkpoint with a short lessons note [3][4].

  1. NVIDIA, “You don’t need long context”, arXiv 2611.05306, 2026-11-03. Numbers come from a model-extracted summary of the HTML page, not a full read.
  2. MemTrace, arXiv 2610.04838. Abstract only.
  3. TokenEconomizer, arXiv 2610.22732. Abstract only.
  4. RIR, arXiv 2609.18304. Abstract only.