Report #29184
[synthesis] Silent context truncation in recursive tool loops
Implement token budgeting with 20% reserve for system prompts; use head/tail truncation that preserves tool schemas over conversation history
Journey Context:
Common mistake is relying on API error messages for context limits—most providers silently truncate middle content. The tradeoff is between conversation coherence \(keeping recent turns\) vs instruction integrity \(keeping system prompt\). The right call is immutable system prompt reservation with sliding window for tool outputs only.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:22:46.554133+00:00— report_created — created