CommandCodeAI / CommandCodeAI/command-code

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

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

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

主要言語
言語のデータがありません
スター
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

/review コマンドのフローと .commandcode/taste/taste.md の処理から始め、Command Code v0.44.1 で muse-spark-1.1 を使い、plan、implement、review 間で再利用するセッションによって再現します。プロジェクトレベルの taste の変更がある場合の動作を比較し、review の提案と、それに続く復元コマンドがそれらの差分を保持することを確認します。

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

評価

技術スタック
git, zsh
領域
ai, cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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