Repository navigation
Share the Ready issue search between the Pickup run and the Architect run - #329
Merged
Merged
Conversation
Move the Pickup run's search for the lowest-numbered Ready issue into its own module, ready::first, so that an Architect run can later ask the same question. The Sweep and the Claim limit stay in the Pickup run. No behaviour changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…any run (#324) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 3, 2026
Merged
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.
Summary
The Pickup run's search for the lowest-numbered Ready issue moves into its own module, so that an Architect run can later ask "does this repository have a Ready issue?" against the very same definition. No behaviour changes.
The Sweep and the Claim limit stay in the Pickup run.
Evidence
cargo test --test pickup_run: 72 passed.After:
cargo test --test pickup_run: 72 passed, with no test changed. The fullcargo testpasses, as docargo clippy --all-targets -- -D warningsandcargo fmt --check.Merge Danger
Door: two-way
A code move with no behaviour change, so reverting it is trivial.
Blast Radius: none
The Pickup run's
ghcalls and stderr lines are the same and come in the same order.ready::firsthas only the one caller until the Architect run picks it up in #311.Unaddressed findings
Standards
ready::firsthas one caller. Skipped: issue Share the Ready issue search between the Pickup run and the Architect run #324 asks for this prefactor, and Weeding: Architect runs that follow each other as soon as the last plan is merged #311's Architect run is its second caller.launch: &Giton a public function. Skipped: the name is the glossary's Launch directory and was carried over fromSearch.launch. The doc now names it as the Launch directory.is_specdoc onReadyIssueandStanding::Ready. Skipped: merging the two would mix the public result with the search's private standing, and the overlap is one field.line's doc ("which a Pickup run takes"). Skipped: this is still accurate, since a Pickup run is what reaches a Ticket through its Spec. TheSETTLEdoc was reworded.Spec
ready::firstalways writes its passed-over lines to stderr, so an Architect run would print them too. Skipped: Share the Ready issue search between the Pickup run and the Architect run #324 asks for the same search with the same lines. Whether the Architect run wants them belongs to Weeding: Architect runs that follow each other as soon as the last plan is merged #311's Architect ticket.Closes #324
🤖 Generated with Claude Code