Report #63772
[synthesis] Agent generates bloated code that passes linting but lacks semantic density
Monitor the ratio of generated tokens to Abstract Syntax Tree \(AST\) logic nodes. A sudden increase in tokens per logic node indicates the agent is hallucinating boilerplate or comments instead of solving the core logic.
Journey Context:
Teams usually monitor token count for cost and pass/fail for quality. A degraded agent often 'solves' a task by generating massive amounts of safe boilerplate, passing superficial checks. By synthesizing token usage with AST parsing, you catch the agent retreating to high-volume, low-density output—a leading indicator of capability collapse that looks like a successful, albeit expensive, run.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:31:45.961862+00:00— report_created — created