Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Kiro.dev agent fails to write to file

Open goodways-ai opened this issue 9 months ago • 6 comments

Before opening, please confirm:

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_scraper task with queue="scrape_queue", bind=True, max_retries=3, exponential backoff retry, metrics dict return
    • [ ] SCRAPER-5.2 Add scraper_tasks import to backend/app/worker/__init__.py so Celery autodiscovers the task

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

goodways-ai avatar Feb 22 '26 18:02 goodways-ai

🤖 Potential Duplicate Detected

This issue appears to be similar to:

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

github-actions[bot] avatar Feb 22 '26 18:02 github-actions[bot]

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.

github-actions[bot] avatar Feb 22 '26 20:02 github-actions[bot]

clean install with the latest version - only fix. Dont forget to backup. /username/.kiro must be deleted :(

Ozgurooozer avatar Feb 22 '26 20:02 Ozgurooozer

Wait, seriously!?

3fn avatar Feb 22 '26 21:02 3fn

That old trick always works .... 👍

Wait, seriously!?

Ozgurooozer avatar Feb 23 '26 01:02 Ozgurooozer

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.

AnilMaktala avatar Feb 23 '26 14:02 AnilMaktala