fix(trace): attribute shell changes in a mixed Copilot pre-tool batch
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- go
- Domínio
- developer-experience, devtools
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Go
- Estrelas
- 582
- Forks
- 61
- Merge médio
- 12h 47min
- PRs com merge (30d)
- 137
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de chainloop-dev/chainloop
-
feature-parity trace-provider
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
chainloop-dev/chainloop#3802 ·
Mantenedores costumam responder em até 1 dia
-
feat(trace): support GitHub Copilot (CLI and VS Code) in Chainloop TraceTalvez já em andamento @migmartri assumiu hoje. AbertaFeature spec trace-provider
chainloop-dev/chainloop#3800 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Allow enabling policy enforcement at the workflow contract levelTalvez já em andamento @migmartri assumiu há 10 dias. Abertacomponent/backend new-policy spec
chainloop-dev/chainloop#3762 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
chainloop component/CLI performance trace-provider
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 62/100
chainloop-dev/chainloop#3756 ·
Mantenedores costumam responder em até 1 dia
-
chainloop component/CLI performance trace-provider
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 25/100
chainloop-dev/chainloop#3749 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de chainloop-dev/chainloop
Issues semelhantes
-
GitHub webhook is not subscribed to release events, so `event: release` never triggersTalvez já em andamento @qsun assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
woodpecker-ci/woodpecker#7542 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
zilliztech/milvus-backup#1386 ·
Mantenedores costumam responder em até 1 dia
-
Pipelined flush no longer observes kill signals after #2042: flush backoffer is built with nil varsAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
model:sonnet runtime:claude security size:S
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
FootprintAI/Containarium#3624 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia