Skip to content

Coordinator Context Tracking / Compaction  #214

Description

@gjanco

Coordinator V1 is a very reduced but technically unbounded context window - this can lead to hard to recover behavior once the limit it exceeeded.

  • CoordinatorState.conversation (orchestrator.rs:128) — unbounded Vec<Message>
  • grows at :1338 (user) and :1354 (assistant) — nothing ever removed
  • TB canonical: 33M input tokens, 30-60s overhead/task, 12 timeouts
  • design: 3-phase progressive compaction (conservative → moderate → aggressive)
  • plus /memory dir for cross-worker file passing (reduces inline content)
  • depends on: token budget accuracy (Epic 3), state storage (Epic 7)
  • detail: workstreams/orchestration-context-compaction.md

Activity

  1. changed the title [-]Coordinator context — unbounded growth, no compaction[/-] [+]Coordinator Context Tracking / Compaction [/+] on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions