trace: support advanced Git index semantics for same-call attribution
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 582
- フォーク
- 61
- 平均マージ
- 12時間 47分
- マージ済み PR(30日)
- 137
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chainloop-dev/chainloop のほかの issue
-
feature-parity trace-provider
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
chainloop-dev/chainloop#3802 ·
メンテナーはふだん 1 日以内に返信
-
bug trace-provider
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
chainloop-dev/chainloop#3803 ·
メンテナーはふだん 1 日以内に返信
-
feat(trace): support GitHub Copilot (CLI and VS Code) in Chainloop Trace対応中かも @migmartri が今日担当しました。 オープンFeature spec trace-provider
chainloop-dev/chainloop#3800 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Allow enabling policy enforcement at the workflow contract level対応中かも @migmartri が 10 日前に担当しました。 オープンcomponent/backend new-policy spec
chainloop-dev/chainloop#3762 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
chainloop component/CLI performance trace-provider
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
chainloop-dev/chainloop#3756 ·
メンテナーはふだん 1 日以内に返信
chainloop-dev/chainloop の issue をすべて見る
似ている issue
-
GitHub webhook is not subscribed to release events, so `event: release` never triggers対応中かも @qsun が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
woodpecker-ci/woodpecker#7542 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
zilliztech/milvus-backup#1386 ·
メンテナーはふだん 1 日以内に返信
-
Pipelined flush no longer observes kill signals after #2042: flush backoffer is built with nil varsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
model:sonnet runtime:claude security size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FootprintAI/Containarium#3624 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信