fix(trace): attribute shell changes in a mixed Copilot pre-tool batch
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- developer-experience, devtools
Hướng nghiên cứu
Start by reading the shared pre-tool handler and the Copilot provider path that handles preToolUse batches; the issue does not name their files or tests. Trace how shell and file calls select snapshots, then check existing tests for mixed toolCalls[] batches. Done when one hook takes both snapshot types and shell changes in mixed batches are attributed to the AI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Copilot CLI sends the preToolUse hook as a batch of calls (toolCalls[]). The Trace pre-tool handler takes one kind of snapshot for each hook input: a worktree snapshot for a shell tool, or file snapshots for a file tool. When one batch holds both a file tool (create, edit, apply_patch) and a shell tool (bash, powershell), the Copilot provider snapshots only the files, so the changes of the shell command are not attributed to the AI.
In 52 real batches of Copilot CLI 1.0.109, no batch mixed the two kinds. The fix needs the shared pre-tool handler to take both snapshots for one hook.
Follow-up of #3800.
- Ngôn ngữ chính
- Go
- Star
- 582
- Fork
- 61
- Merge trung bình
- 12 giờ 47 phút
- Pull request đã merge (30 ngày)
- 137
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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.
Issue khác của chainloop-dev/chainloop
-
feature-parity trace-provider
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
chainloop-dev/chainloop#3802 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(trace): support GitHub Copilot (CLI and VS Code) in Chainloop TraceCó thể đã có người làm @migmartri đã nhận hôm nay. Đang mởFeature spec trace-provider
chainloop-dev/chainloop#3800 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow enabling policy enforcement at the workflow contract levelCó thể đã có người làm @migmartri đã nhận 10 ngày trước. Đang mởcomponent/backend new-policy spec
chainloop-dev/chainloop#3762 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chainloop component/CLI performance trace-provider
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 62/100
chainloop-dev/chainloop#3756 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chainloop component/CLI performance trace-provider
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
chainloop-dev/chainloop#3749 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của chainloop-dev/chainloop
Issue tương tự
-
GitHub webhook is not subscribed to release events, so `event: release` never triggersCó thể đã có người làm @qsun đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
woodpecker-ci/woodpecker#7542 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
zilliztech/milvus-backup#1386 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Pipelined flush no longer observes kill signals after #2042: flush backoffer is built with nil varsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
model:sonnet runtime:claude security size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FootprintAI/Containarium#3624 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày