CommandCodeAI / CommandCodeAI/command-code
The PR /review command incorrectly suggested that taste files not be committed because auto learned
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
- Use muse-spark-1.1 ?
- plan a feature
- implement
- make pr (outside harness)
- review
- 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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với luồng của lệnh /review và cách xử lý .commandcode/taste/taste.md, tái hiện trên Command Code v0.44.1 với muse-spark-1.1 và một session được tái sử dụng giữa plan, implement và review. So sánh hành vi khi có các thay đổi taste ở cấp project và xác minh rằng các đề xuất của review cùng mọi lệnh khôi phục tiếp theo đều giữ nguyên các diff đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- git, zsh
- Lĩnh vực
- ai, cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100