Repository navigation
docs(agents): say how to prepare a checkout no thread owns - #798
Merged
Merged
Conversation
The Prepare Dependencies Action only prepares the launching thread's checkout, so an eval or fixture checkout outside any thread's worktree had no sanctioned way to get dependencies and a delegated child stalled asking its parent for an Action that could not target it. Carry-Group: tooling Carry-Observation: Fork-added bullet directly after the fork's "Need a second checkout?" bullet in AGENTS.md Dev servers. Keep it next to that bullet when upstream edits the section. Co-Authored-By: Claude <[email protected]>
lastobelus
marked this pull request as ready for review
November 20, 2026 23:29
Owner
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Prepare Dependencies Action only prepares the checkout of the thread that launches it, and
run_project_action_and_resumetakes no target. A checkout no thread owns, such as agit worktree addcheckout or an eval's historical base, had no sanctioned way to get dependencies:AGENTS.mdsays to use the Action, and delegated children hand every Action to their parent. In the #769 pilot, an eval child stalled asking its parent to prepare three scratch checkouts, and the parent could not target them.Fix
One new bullet in
AGENTS.mdDev servers, right after "Need a second checkout?": whoever uses a checkout no thread owns prepares it directly, delegated children included. Runnode scripts/prepare-dependencies.tsfrom inside it, orpnpm install --frozen-lockfilewith its pinned pnpm where the checkout has no such script.Thread-owned checkouts still use the Action, and children still hand Actions for their own checkout to the parent. It's an added line, with no edits to existing ones.
Validation
vp run check:changed origin/lastcode/main: format pass; no code changed.node scripts/prepare-dependencies.tsrun directly in a checkout verified the pinned pnpm, installed, and reporteddependencies-installed.Local review: 1 round with gpt-6.1-terra (xhigh), approved.
Implemented by Claude Opus 5.5 in Claude Code via T3 Code.
🤖 Generated with Claude Code