CommandCodeAI / CommandCodeAI/command-code

bug: ENAMETOOLONG on Taste Learning

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

Chưa có ai nhận issue này.

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ả

Summary

When learning taste inside a somewhat lengthy path, encountered a ENAMETOOLONG error:

◼ taste learning failed: ENAMETOOLONG: name too long, mkdir
'/Users/xxxxxxxxxx/projects/xxxxxxxxxx/command-code-mods/.commandcode/taste/--prefers-using-command-code's-built-in-hook
-system-(`onstop`-with-`{continue:-true}`,-`preparenextturn`-for-model-switching)-over-shelling-out-to-external-api-call
s-(e.g.,-`curl`).-when-the-framework-provides-a-seam,-use-it-instead-of-reaching-for-raw-http.-confidence:-0.9'
  • notice the --
  • seems to use a taste preference as a "category" which is typically: ui, workflow, database etc something short and topical

Note xxxxxxxxxx is same number of chars but a user path.

Expected Behavior
  • taste directory and files names to be short and topical
  • taste learning to be written properly
Actual Behavior
  • error and taste failed to be saved
Steps to reproduce the issue
  • Unsure
Command Code Version

1.11.1

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

OS: macOS Tahoe 26.5.2

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.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện việc học taste trên một đường dẫn dài trong macOS với phiên bản được báo cáo và kiểm tra cách tên của thư mục và tệp taste được tạo ra. Hoàn tất khi việc học ghi thành công các tên ngắn, liên quan đến chủ đề mà không phát sinh lỗi ENAMETOOLONG.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
macos, zsh
Lĩnh vực
cli, operating-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
45/100

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.