CommandCodeAI / CommandCodeAI/command-code
Feature request: Selective redaction before sharing a conversation
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
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
- Have a conversation containing sensitive text (e.g. an API key or personal detail).
- Use the Share feature to generate a link.
- Open the shared link.
- 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
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
Issue không nêu tên các tệp triển khai, bài kiểm thử hoặc điểm vào; hãy bắt đầu bằng cách xác định luồng Share hiện có và cách nội dung cuộc trò chuyện được tập hợp. Hoàn thành có nghĩa là người dùng có thể che đi văn bản nhạy cảm được chọn hoặc lặp lại, xem trước phiên bản được chia sẻ và giữ nguyên cuộc trò chuyện gốc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 35/100