Skip to content

Headless: drop todowrite from the default tool set #155

Closed

Description

@byapparov

Part of the spec in #160.

Problem

todowrite costs about 2.4k tokens per request (tool/todowrite.txt is 8.8 KB, with eight worked examples). It goes out on every step of every headless main-agent session. Production telemetry from the last 90 days shows it is called in only ~4% of executions. The interactive "track your progress for the user" use case doesn't apply to a one-shot run.

Proposal

  • Stop registering todowrite (and the already-disabled todoread) for aictrl run.
  • Provide no opt-in or switch back to the old behaviour. Callers who want plan tracking can instruct the agent to keep a plan file.
  • The interactive and ACP paths are unchanged.

Acceptance

  • A headless request has no todowrite tool. Assert on the tool list built by the registry tests and on the provider request of an e2e aictrl run.
  • No environment variable or config brings it back in a headless run.
  • Behaviour change: add a CHANGELOG note at release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1enhancementperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions