CommandCodeAI / CommandCodeAI/command-code

Feature request: Selective redaction before sharing a conversation

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

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

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

説明

Summary

When sharing a conversation, the entire thread is exposed as-is with no way to redact sensitive content first. If a shared conversation contains something like an API key, internal detail, or personal info mentioned mid-thread, there's currently no way to share the rest without exposing that too.

Expected Behavior

Before generating a share link, users should be able to enter a redaction/edit mode (e.g. toggled via an eye icon) that lets them select specific text — via click-drag/highlight — and mask it. Masked content would show as [redacted] only in the shared version, without altering the original conversation. Ideally this includes a preview step showing exactly what the recipient will see before the link is generated, and a "redact all instances" option for repeated sensitive strings (e.g. an email or key appearing multiple times).

Actual Behavior

Sharing currently copies the full conversation with no redaction option. Any sensitive text in the thread is fully visible to whoever receives the share link.

Steps to reproduce the issue
  1. Have a conversation containing sensitive text (e.g. an API key or personal detail).
  2. Use the Share feature to generate a link.
  3. Open the shared link.
  4. Observe that the sensitive text is fully visible with no option to have redacted it beforehand.
Command Code Version

Microsoft Windows [Version 10.0.26200.8737]
(c) Microsoft Corporation. All rights reserved.

C:\Users\USER>

Operating System

Windows

Terminal/IDE

Unknown

Shell

cmd.exe

Additional context

This came up after using the share/unshare feature — which is great — but I noticed the full conversation is exposed by default. Originally raised as a suggestion in this thread: https://x.com/CommandCodeAI/status/2075203122792902743
Here is my post
https://x.com/lordtechytro/status/2075426514032615668?s=20
https://x.com/lordtechytro/status/2075399315942445058?s=20

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

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

はじめの一歩

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

調査の方向性

この issue では実装ファイル、テスト、エントリーポイントが指定されていないため、まず既存の Share フローと会話の内容がどのように組み立てられているかを特定します。完了の条件は、ユーザーが選択した機密テキストや繰り返し出現する機密テキストを墨消しし、共有されるバージョンをプレビューでき、元の会話を変更せずに保てることです。

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

評価

領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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