Report #65311
[synthesis] Model outputs placeholders or skips implementation details in large files
For GPT-4o, explicitly state 'Do not use placeholders, ellipses, or comments to skip code. Output the complete implementation.' For Claude, break the task into smaller, sequential file edits rather than asking for the whole file at once.
Journey Context:
When asked to generate or rewrite large files, models attempt to save compute/tokens by summarizing unchanged or boilerplate sections. GPT-4o is highly prone to the 'lazy developer' syndrome, using '// ... previous code remains the same' even when explicitly asked for the full file. Claude 3.5 Sonnet is much better at outputting complete files but will still truncate if the context is overloaded. Gemini tends to rewrite from scratch but skips complex logic blocks. The cross-model fix is to abandon 'rewrite the whole file' prompts for large files and instead use precise diff/edit instructions, which forces the model to focus only on the delta.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:06:17.197732+00:00— report_created — created