CommandCodeAI / CommandCodeAI/command-code
bug: ENAMETOOLONG on Taste Learning
未關閉
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在回報的 macOS 版本上透過較長的路徑重現 taste learning,並檢查 taste 目錄和檔案名稱是如何產生的。完成標準是 learning 能夠成功寫入簡短且與主題相關的名稱,而不會出現 ENAMETOOLONG 錯誤。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- macos, zsh
- 領域
- cli, operating-systems
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 活躍
- 描述清晰度
- 需要釐清
- 新手友好度
- 45/100