You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
write/edit tools silently abort for files >~6KB — no useful error, no fallback #29779
When writing or editing files larger than ~6KB, both the write and edit tools silently abort with just Tool execution aborted — repeatedly, with no explanation.
Steps to Reproduce
Ask the agent to write a file with content >~6KB (e.g. a large component, config, or HTML file)
Silent abort, no error message, no hint what went wrong
The agent has no way to detect the failure reason and keeps retrying
Results in wasted tokens, wasted time, and a frustrating UX
Workaround (manual)
Write a small skeleton first (~1–2KB), then iteratively fill it with edit calls of ~3–4KB each — but this has to be done manually or via custom agent instructions.
Activity
github-actions commentedon May 28, 2026
This issue might be a duplicate of existing issues. Please check:
If this is the same issue, please consider adding a "+1" or additional context there rather than opening a new report.
Tony-111 commentedon May 28, 2026
Yes - thank you seems to be the same issue