Report #98882
[agent\_craft] The prompt is dominated by low-relevance retrieved chunks and the agent stalls
Allocate an explicit context budget: reserve fixed slots for system prompt, project manifest, active files, retrieved facts, and scratchpad; evict lowest-signal items first when the budget is hit.
Journey Context:
Context is finite and not all content is equally valuable. Define a budget per category and prioritize: system instructions and current task first, files being edited next, supporting evidence after that, background last. Use token counting to enforce the budget rather than guessing. Tradeoff: you need instrumentation, but it beats random truncation and keeps the model focused on the active problem.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T04:56:20.322589+00:00— report_created — created