多次编辑文件失败的错误
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
0.3.0
Bug Description
更新最新版kiro后多次编辑文件失败,请修复,错误如下:Kiro 我来参考TASK_5.3_REMAINING_IMPLEMENTATIONS.txt文件,完成任务5.3的剩余工作。让我先查看该文件的内容:
Read file(s)
TASK_5.3_REMAINING_IMPLEMENTATIONS.txt 根据指南文件,我需要完成任务5.3的剩余实现。让我开始创建这些文件。首先创建元学习技能算法实现:
3 edits to file
meta_learning_skill_algorithm.cpp
Error(s) while editing
meta_learning_skill_algorithm.cpp
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. Error(s) while editing
meta_learning_skill_algorithm.cpp
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. Error(s) while editing
meta_learning_skill_algorithm.cpp
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. 让我创建一个包含所有剩余实现的文本文件,以便您手动完成:
4 edits to file
TASK_5.3_COMPLETE_IMPLEMENTATIONS.txt
Error(s) while editing
TASK_5.3_COMPLETE_IMPLEMENTATIONS.txt
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. Error(s) while editing
TASK_5.3_COMPLETE_IMPLEMENTATIONS.txt
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. Error(s) while editing
TASK_5.3_COMPLETE_IMPLEMENTATIONS.txt
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. Error(s) while editing
TASK_5.3_COMPLETE_IMPLEMENTATIONS.txt
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed. I've been trying to use "fsWrite" but it's failed 7 times in a row. I'm clearly stuck in a loop.
What would you like me to do?
Kiro User intervention: keep-iterating
You're right, I should continue with my approach. Let me create the complete implementations file with the text content:
Error(s) while editing
TASK_5.3_COMPLETE_IMPLEMENTATIONS.txt
Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed.
Steps to Reproduce
打开kiro,创建C++项目,任务清单最好复杂一些,执行到第3~5个项目开始频繁出现这个文件编辑错误,多次尝试后它会跳过错误,直接更新任务清单,属于严重错误。错误提示:Invalid operation - missing text. Try again with a valid text argument.. The agent has seen this error and will try a different approach to write the file if needed.
Expected Behavior
预期编辑文件成功,我看到正常kiro编辑文件时会选择多种文件编辑方式,这个错误修复后的正确预期应该是分多次编辑文件,且每次文件编辑都被接受。
Conversation ID
31ad0234-ea4a-406f-81fd-2b4622caef48
Additional Context
No response
Hi @Zstly,
I notice you're using Kiro version 0.3.0, while the latest version is 0.3.9. The file write reliability issues you're experiencing have been specifically addressed in the latest release.
Key improvements in v0.3.9 include:
- Fixed bug preventing agent recovery from failures
- Improved agent reliability when creating and overwriting long files
- Enhanced overall stability for file operations
Please:
- Upgrade to version 0.3.9
- Test if the file editing errors persist
- If the issue continues after upgrading, please update this issue with the new version number
Let us know if you continue experiencing issues after upgrading.
Hi 👋, we're closing this issue due to inactivity. If you're still experiencing this problem, please create a new issue with detailed information so we can investigate and provide the support you need.
Dear Kiro Product Team,
I hope this email finds you well. I am writing to formally appeal the lock on my Kiro account (User ID: f4b83468-b0a1-70ff-4eec-af83552b808a), and to submit a formal request regarding my active Power subscription. My top priority is to have my account reviewed and unlocked to restore service access; if this is not possible, I request the immediate cancellation of my automatic monthly subscription, plus a refund of $70 for the unused credits in my current billing cycle.
I have been a loyal Kiro user since the product’s beta launch in July 2025, and have been a paid Power tier subscriber (at $200 per month) continuously since August 2025. To date, I have paid over $1500 in total subscription fees, making me one of your long-term, high-value users. During my time using Kiro, I have proactively submitted multiple bug reports to your team to help improve the product’s stability and user experience, and Kiro has been an invaluable tool that has enabled me and my team to successfully deliver numerous critical projects.
On Sunday, March 22, 2026, I discovered that my account had been permanently locked, with only a generic system prompt stating that my account was restricted due to "suspicious user activity" and directing me to contact support for review. I can confirm with 100% certainty that my use of Kiro has been fully compliant with your User Service Agreement at all times: the account is used exclusively within my 5-7 person internal team, with no account sharing, cross-region abuse, unauthorized API calls, bulk operation, or any other behavior that violates your terms of service.
Since the lock, I have noticed a significant volume of identical reports from other paid users (especially those in the Greater China region) on your official GitHub Issues and X (Twitter) page, all describing unannounced, unexplained account locks on paid accounts with no prior warning. If this lock is part of a regional service policy adjustment, as a flagship product under AWS, the failure to provide advance formal notice to affected users and a reasonable buffer period for project migration falls far short of the service standards expected of an enterprise-grade product, and has caused severe disruption and delays to my team’s ongoing project work.
Following the account lock, I immediately submitted an appeal via the official support link provided in the system prompt. As of today, 4 full business days have passed, and I have received no human response or update on my appeal. I have also reached out via GitHub Issues and your official X account, and have only received automated replies with a ticket number, with no meaningful human follow-up from your team. Critically, the account lock has left me completely unable to access my account settings, billing portal, or subscription management page, meaning I cannot cancel my upcoming automatic monthly renewal on my own.
To resolve this issue formally, I am putting forward two clear, actionable requests:
Immediate cancellation of my active Power tier monthly auto-renewal subscription, to prevent any further unauthorized charges for a service I can no longer access;
A full refund of $70 for my unused credits in the current billing cycle. Per your pricing structure, 10,000 credits are included in the $200 monthly Power tier, and I had 3,500 remaining credits at the time of the account lock, which equates to $70 in unused service value.
I want to emphasize that I remain a genuine advocate for Kiro, and would happily resume my subscription and continue using the product long-term if my account can be reviewed and unlocked promptly. That said, the complete lack of human response to a critical service issue for a high-value paid user has severely eroded my trust in the product. As a final constructive suggestion, I urge the Kiro team to prioritize user feedback, establish a clear and timely appeal process for account issues, and deliver the level of support that AWS-backed enterprise products are expected to provide.
Thank you for your urgent attention to this matter. I look forward to your formal response and resolution within 2 business days.
Best regards,
Zstly
User ID: f4b83468-b0a1-70ff-4eec-af83552b808a
tong @.***
原始邮件
发件人:Anil Maktala @.> 发件时间:2026年1月8日 23:20 收件人:kirodotdev/Kiro @.> 抄送:Zstly @.>, Mention @.> 主题:Re: [kirodotdev/Kiro] 多次编辑文件失败的错误 (Issue #3092)
AnilMaktala left a comment (kirodotdev/Kiro#3092)
Hi 👋, we're closing this issue due to inactivity. If you're still experiencing this problem, please create a new issue with detailed information so we can investigate and provide the support you need.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.