fix(external-agents): Codex write runs in a linked worktree cannot stage or commit
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start with the plugins/external-agents/ command and Codex adapter, then trace how write runs set --add-dir and classify refusals as blocked-by-mode. Check how Git reports the linked worktree git directory and where uv's cache path is configured. Done means a test or recorded run shows a linked worktree can stage and commit, and cache write refusals no longer misreport a completed run.
索引モデルが issue の本文から書いたものです。
説明
Context
During the #19004 build, every external-agents run codex --use task --mode write --add-dir <worktree> run (4 of 4) was recorded blocked-by-mode. Codex's workspace-write sandbox mounted the linked worktree's git metadata read-only, so git add failed with exit 128 (index.lock could not be created), and uvx with the default cache was refused. The edits themselves landed each time, so the orchestrator had to verify, stage and commit every change by hand, and the run status misreported finished work as blocked.
A linked worktree keeps its index under the main checkout's .git/worktrees/<name>/, which is outside the --add-dir path.
Proposed work
- On a write run whose
--add-dir(or cwd) is a linked git worktree, also pass that worktree's git dir (git -C <wt> rev-parse --git-dir, plus the common dir's object store if commits need it) as a writable directory, or document that write runs leave staging and commits to the caller. - Give the run a writable uv/pip cache path, or document the expected
UV_CACHE_DIR.
Acceptance criteria
- A Codex write run in a linked worktree can
git addandgit commit, shown by a test or a recorded live run. - A run whose only refusals were cache writes it worked around is not reported as
blocked-by-mode, or the docs say why it is.
References
plugins/external-agents/(theexternal-agents runcommand and its codex adapter)- https://github.com/melodic-software/claude-code-plugins/pull/19004 (jobs 20261125T033605Z-8e98d1, 20261125T035909Z-d15bda, 20261125T043126Z-6700b5, 20261125T044004Z-f97a67)
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 2時間
- マージ済み PR(30日)
- 960
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
melodic-software/claude-code-plugins#19225 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
melodic-software/claude-code-plugins#17779 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
recurring
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
melodic-software/claude-code-plugins#19274 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
melodic-software/claude-code-plugins#19270 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
melodic-software/claude-code-plugins#19269 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nais/attest-sign#139 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
community-scripts/core#303 ·
メンテナーはふだん 1 日以内に返信
-
severity: low
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
luainkernel/lunatik#2727 ·
メンテナーはふだん 1 日以内に返信
-
[quality] release publish.mjs integrity guards have no unit test対応中かも @robarnold が今日担当しました。 オープンagent/quality stage/040-covered-by-pr testing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
marinatedconcrete/config#1155 ·
メンテナーはふだん 1 日以内に返信
-
bug report-to-upstream
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
flatpark/flatpark#1585 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信