CommandCodeAI / CommandCodeAI/command-code

bug: ENAMETOOLONG on Taste Learning

未关闭
#639 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在报告的 macOS 版本上通过较长的路径复现 taste learning,并检查 taste 目录和文件名是如何生成的。完成标准是 learning 能够成功写入简短且与主题相关的名称,而不会出现 ENAMETOOLONG 错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, zsh
领域
cli, operating-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。