Skip to content

Spec mode stuck in design phase consuming credits without completing file #8160

@fcamasca

Description

@fcamasca

Before opening, please confirm:

Operating System

win32

Kiro Version

0.11.133

Bug Description

While running a Spec workflow (requirements → design → tasks), the agent got stuck during the design phase and consumed all my credits without completing the file.

Observed behavior:
The agent created the design.md file with only a header. Then it attempted to continue editing the file but got stuck. Instead of progressing, it triggered a large batch of edit attempts (around 110), which were all canceled together when the credits ran out. The file was never completed.

Impact:
Loss of credits, incomplete design.md, and inability to continue the workflow to tasks.

Request:
Please investigate this behavior and consider adding retry limits or loop detection. Also requesting a review for possible credit reimbursement due to this issue.

Steps to Reproduce

  1. Start Spec mode
  2. Generate requirements (this completed successfully)
  3. Continue to design
  4. Observe behavior on design.md

Expected Behavior

The agent should complete the design document normally or stop after a few failed attempts. It should not enter a loop that consumes all credits without producing results.

Conversation ID

226874be-35e6-4d41-9619-095daefbfa2d
226874be-35e6-4d41-9619-095daefbfa2d
226874be-35e6-4d41-9619-095daefbfa2d
226874be-35e6-4d41-9619-095daefbfa2d
226874be-35e6-4d41-9619-095daefbfa2d

Additional Context

The requirements phase worked fine. The issue seems specific to the design phase and file editing process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions