CommandCodeAI / CommandCodeAI/command-code

The PR /review command incorrectly suggested that taste files not be committed because auto learned

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

還沒有人認領這個 Issue。

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

描述

Summary

Used muse-spark-1.1 to implement a feature and then /review the PR.

Was told that:

  Specific Suggestions

  - xxx
  - yyy
  - zzz
  - .commandcode/taste/taste.md should not be in PR diff (auto-learned)

which I believe to be incorrect as I want taste to be committed and live within my project as using project-level taste.

Then tried to drop diffs related to taste.

Note: did not clear session between implementation (which also included plan) and review.

Expected Behavior

Not to be given that suggestions.

Actual Behavior

Given suggestion not to commit taste files.

Steps to reproduce the issue
  1. Use muse-spark-1.1 ?
  2. plan a feature
  3. implement
  4. make pr (outside harness)
  5. review
  6. do not clear sessions betweeb
Command Code Version

0.44.1

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Additional context

Command Code v0.44.1

models: muse-spark-1.1 · taste-1

And even when I told it to work on other suggestions, it decided to drop (which I stopped):

 │ diff --git a/.commandcode/taste/taste.md b/.commandcode/taste/taste.md
 │ index 1267bcd..7a74f27 100644
 └  ... +30 lines [ctrl+o to expand]

 SHELL  [git checkout main -- .commandcode/taste/taste.md package.json 2>&1; git status --porcelain | head...]
 │ M  .commandcode/taste/taste.md
 └ M  package.json

 SHELL  [git status --porcelain -u; git checkout -- .commandcode/taste/taste.md package.json; git status -...]
 │ M  .commandcode/taste/taste.md
 │ M  package.json
 └  ... +2 lines [ctrl+o to expand]

 SHELL  [git restore .commandcode/taste/taste.md package.json; git status --porcelain | head -n 20; cat pa...]
 │ M  .commandcode/taste/taste.md
 │ M  package.json
 └  ... +1 lines [ctrl+o to expand]

 SHELL  [pwd; ls -la .commandcode/taste/taste.md; git diff -- .commandcode/taste/taste.md | head -n 20; gi...

I stopped:

❯ Interrupted by user

❯ no i want to keep the taste diffs

⠶ Got it — keeping the taste diffs. Let me restore them and fix the code issues.


 SHELL  [git status --short; echo "---unstaged diff taste---"; git diff -- .commandcode/taste/taste.md | h...]
 │ ERROR: Command failed with exit code 1
 │ Output:
 └  ... +34 lines [ctrl+o to expand]

⠶ Understood — keeping taste diffs. Let me restore it and fix the code issues you flagged.

 SHELL  [git restore --staged .commandcode/taste/taste.md package.json; git restore .commandcode/taste/tas...]
 │ # Slack Commands
 └  ... +5 lines [ctrl+o to expand]

⠶ Restored taste diffs. Now fixing the code issues.

貢獻指南

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

從這裡開始

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

研究方向

從 /review 命令流程以及對 .commandcode/taste/taste.md 的處理開始,在 Command Code v0.44.1 中使用 muse-spark-1.1,並在 plan、implement 和 review 之間重複使用同一個 session,以重現該行為。比較存在專案層級 taste 變更時的行為,並驗證 review 建議以及任何後續的還原命令是否保留這些 diff。

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

評估

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

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

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