A task-ground comment wrongly says a branch carries only HEAD
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the comment at internal/session/task_run.go:8308 and snapshotRung in internal/session/groundladder.go:789, then run the existing grounded-task fixture with dirty tracked and untracked files. Update the comment and manual to explain the repository ground and the later landing step, and add the stated e2e or structural protection while recording the assumption in invalidates.
索引モデルが issue の本文から書いたものです。
説明
Found on santos/dev2 at 008363c98 (#1410). On dev@debffabf6 too.
What happened
The source comment WHAT THE BRANCH CARRIES IS HEAD AND NOTHING ELSE is false for repository grounds. snapshotRung carries uncommitted and untracked files into the task copy. The stale comment led a reviewer to deny behavior the manual correctly describes.
Replication
Deterministic (no model). Read cutTaskWorktree's comment, then run the existing grounded-task fixture with a modified tracked file and an untracked file before carving. Inspect the copy: both are present. git grep -n 'WHAT THE BRANCH CARRIES' origin/dev -- internal/session/task_run.go finds the same comment on dev.
Where
internal/session/task_run.go:8308 at 008363c98 contains the claim; internal/session/groundladder.go:789 carries the snapshot. On dev, the comment is at internal/session/task_run.go:8301.
The fix
Describe what the repository ground actually contributes to the branch and name the separate step that later lifts inherited work out of a landing.
Acceptance
- e2e: a grounded
/taskbegun with a dirty tracked file and an untracked file sees both in its copy while leaving the person's edits uncommitted. - Unit: a structural comment check or grounded-task assertion protects the corrected account.
- Keep the manual consistent and record the corrected assumption in
invalidates.
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 38分
- マージ済み PR(30日)
- 749
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Agent-Field/CodeAF#1470 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Agent-Field/CodeAF#1469 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1468 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
cvss-severity:high devguard l3montree-cybersecurity/...ard-k8s-image-inventory pkg:oci/devguard-k8s-ima...ch=amd64&tag=main-amd64 pkg:oci/devguard-k8s-ima...ch=arm64&tag=main-arm64 risk:low state:open
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
l3montree-dev/devguard#3094 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
JuliusBrussee/caveman#1127 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement low priority
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
eugenioenko/ttt#674 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
gpustack/gpustack-operator#640 ·
メンテナーはふだん 1 日以内に返信