CommandCodeAI / CommandCodeAI/command-code

bug: ENAMETOOLONG on Taste Learning

オープン
#639 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
言語のデータがありません
スター
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、報告されたバージョンの macOS で長いパス上の taste learning を再現し、taste ディレクトリとファイルの名前がどのように生成されるかを調査します。taste learning が ENAMETOOLONG エラーを発生させずに、短くトピックに関連した名前を正常に書き込めれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, zsh
領域
cli, operating-systems
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。