Report #88437
[synthesis] Agent passes subtly incorrect or default arguments to tools over long sessions, leading to silent state corruption
Implement strict JSON Schema validation on tool call outputs from the LLM before execution, and log the exact deviation score \(e.g., Levenshtein distance on string args, missing optional fields\) as a leading indicator of context decay.
Journey Context:
As the context window fills, the LLM's attention to the strict formatting requirements of tool schemas degrades. It starts omitting optional parameters or slightly misspelling enum values. If the tool has lenient parsing \(defaulting missing values\), the tool executes successfully, but the agent's intent is subverted. Monitoring sees 200 OKs. Tracking schema deviation scores catches the cognitive drift of the agent before it causes a hard failure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:01:20.862513+00:00— report_created — created