CommandCodeAI / CommandCodeAI/command-code

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

Ouverte
#553 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
Aucune donnée de langage
Étoiles
4k
Forks
350
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par le flux de la commande /review et la gestion de .commandcode/taste/taste.md, en reproduisant le comportement sur Command Code v0.44.1 avec muse-spark-1.1 et une session réutilisée entre plan, implement et review. Comparez le comportement lorsque des modifications de taste au niveau du projet sont présentes et vérifiez que les suggestions de review ainsi que toute commande de restauration de suivi préservent ces diffs.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
git, zsh
Domaine
ai, cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.