Skip to content

Trim the standing context every turn loads #509

Open

Description

@tannerpolley

Part of #506 (plan: #506 (comment), change 6). Owner decision 2026-11-19.

Problem

Every request re-reads a fixed context of roughly 60–130k tokens: system and T3 instructions (~6–7k), tool definitions (~8–19k), deferred tool names (~1–2.4k, 107–112 of them T3), the skill list (~7.5k for ~80 skills), rules and memory (~3–9k).

Wanted (T3 part)

  • Keep authority and safety instructions and the few tools needed before discovery; defer role notes, tool families and detailed workflows behind discovery. Role-specific text only for the role that needs it.
  • Measure a fresh first-request payload per role before and after, using the method in the plan.
  • Never gate tool permission on catalog visibility; discovery stays available.

The always-loaded global rules and the skill catalog are trimmed outside this repo (agent tooling); this issue covers what T3 injects.

Done when

First-request fixed context per role is measured before and after, with a stated reduction and no lost capability in the role evals in evals/ that cover the changed text (free checks only, no paid evals).

Activity

  1. added this to the Fork backlog milestone on Nov 20, 2026
  2. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code status: Failed

    Issue: #509 Trim the standing context every turn loads

    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6502757687%3Afirst

    Model: gpt-6.2-sol

    Branch: issue-509-trim-the-standing-context-every-turn

    Updated: 2026-11-21T07:22:12.293Z

  3. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #509 Trim the standing context every turn loads
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6502757687%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-509-trim-the-standing-context-every-turn
    Completed: 2026-11-21T00:39:20.300Z

    Codex request 'turn/start' (182) timed out after 60000ms; closing the transport.

    Last assistant message before the run failed:

    T3 currently injects live model choices into every turn, even though orchestrator_capabilities already returns them. Claude also receives the full deferred tool-name list. I’ll capture the baseline and check that Claude can load tools on demand before reducing that list.

  4. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #509 Trim the standing context every turn loads
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6502757687%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-509-trim-the-standing-context-every-turn
    Completed: 2026-11-21T01:08:26.613Z

    workspace routing discovery timed out

    Last assistant message before the run failed:

    I’ll check the checkout first, then compare it with #537 and #527 before resuming. I’ll use fresh dry-run payloads for both harnesses and open the draft after verification.

  5. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #509 Trim the standing context every turn loads
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6502757687%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-509-trim-the-standing-context-every-turn
    Completed: 2026-11-21T02:12:49.899Z

    Codex request 'thread/start' (108) timed out after 60000ms; closing the transport.

    Last assistant message before the run failed:

    PR #537 has landed, and I’ve rebased onto it. #527 is still in draft #540. I’ll leave its child-specific catalog rules there and use T3’s existing on-demand catalog to trim what Claude receives at startup. I’ll use the PR skill for the draft’s evidence and merge notes.

  6. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #509 Trim the standing context every turn loads
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6502757687%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-509-trim-the-standing-context-every-turn
    Completed: 2026-11-21T07:22:12.550Z

    Provider turn failed.

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions