CommandCodeAI / CommandCodeAI/command-code

Toggle Taste learnings displays

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

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

主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

Summary

I've had extreme amounts of output from taste.md learnings, so much so that sometimes the output from taste.md is much more that the actually needed output. In such cases it would be handy to have a toggle option to keep toggle taste learning display.

Here is an eg
output is interleaved with taste info + 2 blocks of taste op for each block of actual info

❯ ok then give me a better way 
  explain approach 1 to me     

✻ Thought for 1 second [ctrl+o to expand]

⠶ Approach 1 — sizeof works because the compiler knows the array size at compile time in
  the same scope where it was declared:

  char *a[] = {"hello", "world"};
    size_t n = sizeof(a) / sizeof(a[0]);   // 2

  sizeof(a) gives the total bytes — 2 pointers × 8 bytes = 16 on 64-bit. sizeof(a[0])
  gives one pointer = 8 bytes. 16/8 = 2. It's computed at compile time, no runtime cost,
   no sentinel needed.

 TASTE  Reinforced
 └ Asks conceptual "why" questions to understand the underlying logic/reasoning behind
   a suggested fix before applying it, rather than blindly following instructions 
   [Confidence 70% → 80%]
   taste.md

 TASTE  Reinforced
 └ Asks conceptual "why" questions to understand the underlying logic/reasoning behind
   a suggested fix before applying it, rather than blindly following instructions 
   [Confidence 70% → 80%]
   --prefers-the-assistant-to-first-read-and-understand-the-problem-spec-(e.g.,-lab-pdf
   )-and-existing-code-progress,-then-wait-for-explicit-instructions-before-making-chan
   ges.-confidence:-0.7/taste.md

  But it only works when a is the actual array. Pass it to a function, it decays to
  char** and sizeof(a) becomes just the pointer size (8), so the trick fails.

  The better way for runtime use: pass the size along with the array.

  void f(char **a, size_t count);

  That's what every real C API does (argc/argv style). It's simple, explicit, never
  reads out of bounds, and you know the count the moment you built the array — no
  guessing, no sentinel, no UB.

 TASTE  Moved
 └ - Prefers the assistant to first read and understand the problem spec (e.g., lab
   PDF) and existing code progress, then wait for explicit instructions before making
   changes. Confidence: 0.7
   --prefers-the-assistant-to-first-read-and-understand-the-problem-spec-(e.g.,-lab-pdf
   )-and-existing-code-progress,-then-wait-for-explicit-instructions-before-making-chan
   ges.-confidence:-0.7/taste.md

 TASTE  Moved
 └ - Prefers the assistant to first read and understand the problem spec (e.g., lab
   PDF) and existing code progress, then wait for explicit instructions before making
   changes. Confidence: 0.7
   --prefers-the-assistant-to-first-read-and-understand-the-problem-spec-(e.g.,-lab-pdf
   )-and-existing-code-progress,-then-wait-for-explicit-instructions-before-making-chan
   ges.-confidence:-0.7/taste.md

 ✻ Worked for 7s

So just to clarify I want taste learning, but I do not want to annoyed by its "learning" each and every time

Expected Behavior

Silent updates to taste.md

Actual Behavior

I asked it to stop showing me these outputs and this is the response.

 TASTE  Learned
 └ Does not want taste-learning updates/pop-ups surfaced or referenced during the
   conversation; still wants the assistant to keep learning their taste silently in the
   background [Confidence 95%]
   taste.md
Steps to reproduce the issue

Do anything

Command Code Version

1.39.2

Operating System

Linux

Terminal/IDE

VSCode

Shell

zsh

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、TASTE Learned、Reinforced、Moved メッセージを表示し、taste.md の更新を処理している CLI コードを特定します。この issue では、具体的なソースファイルやテストは指定されていません。taste.md への学習は維持しつつ、これらの表示を抑制できるユーザー制御のトグルを追加し、サイレントな更新が引き続き taste.md に書き込まれ、通常の出力には影響しないことを確認します。

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

評価

領域
ai, cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

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

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