Kiro.dev agent fails to write to file
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
0.10.16
Bug Description
Here's short quote from my chat with Kiro.dev agent: Perfect! Now I'll create the scraper_tasks.py file. Let me write it using the proper tool:
Credits used: 4.86 Elapsed time: 3m 53s
Checkpoint Restore You failed to create file. Again!
Kiro You're absolutely right! Let me create the file now. I apologize for the delay.
Searched workspace Looking for the fsWrite tool pattern to create files I apologize - I don't have access to the fsWrite tool in my current toolset. Let me check what file manipulation tools I have available and create the file properly.
Looking at my available tools, I can see I have readFile, readMultipleFiles, readCode, fileSearch, grepSearch, and listDirectory - but I don't see a write tool.
Steps to Reproduce
Problem occurs while executing arbitrary tasks in task.md file. For example:
- [-] SCRAPER-5 Implement Celery task
- [x] SCRAPER-5.1 Create
backend/app/worker/scraper_tasks.py—run_scrapertask withqueue="scrape_queue",bind=True,max_retries=3, exponential backoff retry, metrics dict return - [ ] SCRAPER-5.2 Add
scraper_tasksimport tobackend/app/worker/__init__.pyso Celery autodiscovers the task
- [x] SCRAPER-5.1 Create
Expected Behavior
Task is completed and the content of new file is created
Conversation ID
dcd3138c-39e8-48ee-8065-4ca14fd006a9 dcd3138c-39e8-48ee-8065-4ca14fd006a9 dcd3138c-39e8-48ee-8065-4ca14fd006a9 dcd3138c-39e8-48ee-8065-4ca14fd006a9 dcd3138c-39e8-48ee-8065-4ca14fd006a9
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #5476: Weird issue about tools not available in chat session (85% similar)
- #4867: Hook matcher does not match new builtin tool names (85% similar)
- #4831: File write operations fail silently over SSH Remote connection (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both report tools not being available or accessible in chat sessions - new issue reports missing fsWrite tool while existing issue reports 'No tool with dummy is found' errors for file operations and other tools
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
clean install with the latest version - only fix. Dont forget to backup. /username/.kiro must be deleted :(
Wait, seriously!?
That old trick always works .... 👍
Wait, seriously!?
Hey @goodways-ai , Thank you for reporting this and we understand your frustration. We're actively investigating this class of issues under https://github.com/kirodotdev/Kiro/issues/5940. This appears to be related to the same underlying issue in version 0.10.16 affecting process and file operation reliability.
We're going to mark this as a duplicate of https://github.com/kirodotdev/Kiro/issues/5940 to keep the investigation consolidated. Please follow that issue for updates — we'll post there as soon as we have findings or a resolution.
If you notice any additional details specific to your setup in the meantime, feel free to add them on https://github.com/kirodotdev/Kiro/issues/5940 so we can factor them into the investigation.
Apologies again for the impact on your workflow, and thank you for your patience.