trace: support advanced Git index semantics for same-call attribution
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
- 54/100
Direção de pesquisa
Start by reading the implementation and lifecycle tests for same-call Git attribution, then inspect the existing normal-index behavior described in PR #3631. Add coverage for temporary indexes, intent-to-add entries, conflict resolution, replacement refs, and the temporary-index race path; the acceptance criteria define the expected results. Done means the listed cases pass and attribution matches only content newly staged by the committing Bash call.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Context
Follow-up to #3625 and PR #3631. This scope was intentionally deferred while narrowing the PR to the normal-index foreground Claude Bash case, following maintainer review.
Scope
Support same-call attribution when Git does not use the repository's normal stage-0 index:
- honor
GIT_INDEX_FILE, includinggit commit --only <path>; - exclude intent-to-add entries that are not committed content;
- detect conflict-stage to stage-0 resolution without missing a changed path;
- read the exact object recorded by the index without being redirected by replacement refs.
Expected behavior
The pre-call and commit-time snapshots use the index Git is actually committing. Only content newly staged by that Bash call is attributed, and special index states cannot add or omit session attribution incorrectly.
Acceptance criteria
- A same-call
git commit --only <path>receives the correct session trailer. - Pre-existing normal-index content is not claimed by a temporary-index commit.
- Intent-to-add paths do not receive attribution unless committed.
- Resolving an unmerged path changes the index signature even when stage 0 reuses an existing blob.
- Indexed blob reads remain exact in repositories with
refs/replace/*. - Race-enabled lifecycle tests cover the temporary-index commit path.
- 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
-
bug trace-provider
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
chainloop-dev/chainloop#3803 ·
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
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