CommandCodeAI / CommandCodeAI/command-code

Bug: /design skill hangs on longer prompts regardless of flags

Đang mở
#408 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@naymurdev đang làm issue này rồi.

Từ ngày 29/6/2026.

/design p1
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

/design skill hangs on longer prompts regardless of flags

Environment:

  • Command Code v0.27.0
  • Model: default (taste-1)
  • Platform: Linux (x64), Node v24.15.0
  • Host: local machine

Steps to reproduce:

  1. Run cmd with the /design skill
  2. Submit a comprehensive design review prompt (covering UI audit of a multi-page application)
  3. Command Code hangs indefinitely — no progress, no output, no error
  4. Must be killed externally (SIGKILL)

Observed behavior:

  • /design works reliably with --max-turns 10 and a short prompt (2-3 sentences)
  • With longer prompts (describing a full site review) or without --max-turns limit, the process freezes after the first response
  • The hang is not a timeout — it persists for hours with no CPU activity
  • Occurs regardless of --max-turns, -p (non-interactive), or interactive flags
  • No error logs are written; no crash report

Expected behavior:

  • /design should process prompts of any reasonable length
  • Should handle comprehensive design reviews spanning multiple pages/sections
  • Should either complete, provide partial output, or return a clear error

Impact:
Blocks using /design for meaningful site-wide design audits. Only trivial single-component prompts work.

Additional context:
This was discovered while trying to run a full-site design audit of a React 19 application. The same review was successfully completed using alternative tools (impeccable detector + manual UI audit scripts), confirming the prompt content itself is valid.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.