Report #2876
[agent\_craft] Agent cannot route a user request to the right capability because context is monolithic
Split context into typed slots \(intent, project-state, tool-results, scratchpad, constraints\) and route each user turn through a lightweight classifier that decides which slots to refresh, which to summarize, and which to keep verbatim.
Journey Context:
Dumping files, chat history, tool outputs, and rules into one flat context makes routing hard. The agent cannot tell what is authoritative. Typed slots make the routing decision explicit: project-state comes from the repo, constraints come from AGENTS.md/docs, intent comes from the current turn, scratchpad is model-written, tool-results are read-only. The classifier is tiny and cheap \(it can be a small model or even a rules engine\) compared to repeatedly invoking the main model on bloated context. Wrong turn: trying to teach the main model to route within the same prompt. That creates recursion and confusion. The slot design also makes testing easier because each slot has a clear contract.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T14:32:04.095996+00:00— report_created — created