orchestrate (Claude adapter): how a native reviewer reviews a PR in another repository
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- git, markdown
調査の方向性
Start with the "Native implementer or reviewer" worktree rule and the "Review loop" clean-up step in skills/orchestrate/references/claude.md, and read references/cross-host.md for the CLI launch alternative. Add a procedure for a PR in another repository: the reviewer gets the clone path, PR and head commit, and makes its own detached worktree there. Extend clean-up to remove that worktree and its worktree-agent branch with git -C. Done when the file covers the other-repo case, states the rule for implementers, and the clean-up names the second clone.
索引モデルが issue の本文から書いたものです。
説明
What
skills/orchestrate/references/claude.md does not tell how to review a PR in a repository other than the one where the Claude Code session runs. Add that procedure.
The problem
The adapter says: "The Agent tool creates the worktree of a native implementer or reviewer at .claude/worktrees/agent-<id> ... The agent cannot use a different worktree. Thus, do not create a worktree for a native implementer or reviewer, and do not give it a worktree path."
That worktree is a worktree of the session's repository. A task can also end in a PR in a second repository, for example when a change moves a component from one repository to another. The adapter does not say where the reviewer of that PR works.
Observed with Claude Code in a native dev-team:reviewer run:
- The orchestrator made a detached worktree of the second repository's local clone at the PR head, and gave its path to the reviewer.
- The harness refused git commands in that path, because the agent is limited to its own worktree.
- The reviewer then made its own detached worktree of the second repository's clone, under that clone's
.claude/worktrees/agent-<id>, and did the review there.
The review was correct, but the orchestrator's worktree was wasted. After the review loop, the orchestrator also had to find and remove the worktree in the second clone and its worktree-agent-<id> branch, which the adapter's clean-up step does not name.
Proposed change
In references/claude.md:
- For a PR in another repository: give the native reviewer the path of that repository's local clone, the PR and the head commit. The reviewer makes a detached worktree of that clone at the head commit itself. The orchestrator does not make a worktree for it.
- Clean-up: after step 8 of "Review loop", also remove the reviewer's worktree in the other clone (
git -C <clone> worktree remove ...) and itsworktree-agent-<id>branch, if they remain. - If the same limit applies to a native implementer in another repository, state the same rule for it. Otherwise, say that a PR in another repository uses a CLI launch with an explicit worktree (
references/cross-host.md).
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 29分
- マージ済み PR(30日)
- 57
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
j3ko/agent-plugins のほかの issue
-
next
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
j3ko/agent-plugins#80 ·
メンテナーはふだん 1 日以内に返信
-
next
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
j3ko/agent-plugins#79 ·
メンテナーはふだん 1 日以内に返信
-
roles: cut the start-up reading of a Codex role (bootstrap lines, fix-up Read section, setup step)オープンnext
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
j3ko/agent-plugins#81 ·
メンテナーはふだん 1 日以内に返信
-
next
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
j3ko/agent-plugins#78 ·
メンテナーはふだん 1 日以内に返信
-
next
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
j3ko/agent-plugins#77 ·
メンテナーはふだん 1 日以内に返信
j3ko/agent-plugins の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jxxghp/MoviePilot#7699 ·
メンテナーはふだん 1 日以内に返信
-
bug TAG: unit tests
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
learningequality/ricecooker#898 ·
-
bug:unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#491 ·
メンテナーはふだん 8 日以内に返信
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
freelawproject/litigant-portal#1285 ·
メンテナーはふだん 2 日以内に返信