taste: Taste Learning Created odd nested directory name with / - 's

未關閉
#499 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
52/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
css
領域
cli

研究方向

在 macOS 上使用 Command Code 0.39.1,透過包含 “css-” 和 “-styling” 等 CSS 樣式的 prompt 重現 taste learning。檢查 learning 輸出如何建立 .commandcode/taste/css-/-styling/taste.md,以及它之後如何讀取該路徑。完成的標準是:樣式名稱表示為一個命名正確的目錄,且後續的 taste read 使用相同的位置。

由索引模型根據 Issue 內容生成。

描述

Summary

When learning css or style taste, the following directories were created,

The "-" caused it to make two separate directories "css-" and "-styling" .

.commandcode/taste/css-/-styling/taste.md

See: Image

Expected Behavior

Properly named single directory.

Actual Behavior

Multiple directories.

Steps to reproduce the issue

I think in my prompt I said something like

for brand use these styles in plan @theme {
    /* 🎨 Colors (OKLCH — equal perceptual steps) */
    --color-pwv-black: oklch(0.00% 0.000 0.0);    /* #000000 */
    --color-pwv-white: oklch(100.00% 0.000 0.0);  /* #ffffff */
    --color-pwv-gray: oklch(91.89% 0.000 0.0);    /* #e4e4e4 */
    --color-pwv-green: oklch(74.99% 0.243 144.1); /* #00d22e */
    --color-pwv-teal: oklch(77.87% 0.135 188.7);  /* #00d2c8 */
...
Command Code Version

0.39.1

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Additional context

I'm going to rename file and directory manually.

Because subsequently:

 READ  [.commandcode/design/css-/-styling/taste.md]
 └ ERROR: File not found or not readable: .commandcode/design/css-/-styling/taste.md

even though oh wait... it looked for design ... that's odd. That is taste.

Image
主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。