Report #86508
[synthesis] Agent generates abstract code that compiles but fails at runtime due to missing concrete implementations
Instruct the agent to write concrete implementations first, then extract abstractions only if necessary, and mandate running the code after every 1-2 steps of implementation.
Journey Context:
Agents trained on code corpora bias towards clean, abstract architectures like interfaces and base classes. However, they struggle with the exact wiring of concrete logic. The abstraction looks good in context, masking the missing logic. The tradeoff is clean code vs. working code. For agents, test-driven concrete implementation is safer because it provides immediate runtime feedback.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:47:34.359266+00:00— report_created — created