Repository navigation
A Ready issue goes ahead of an Architect run - #333
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… too (#327) 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
While the repository has a Ready issue, an Architect run is now skipped before any review, so work a human shaped goes ahead of Weeding. It uses the same search the Pickup run uses,
ready::first, but makes no Sweep and holds no Claim limit. This check comes last:architect::run launch::start # lock: another run still going open Architect plans → Skipped::OpenPlans Architect ideas waiting for triage → Skipped::IdeasWaiting + ready::first(&launch, &repo) → Skipped::ReadyIssue(issue, title) launch pull, worktree, Architecture review …A skip exits
0and prints the issue's URL on stdout. On stderr it prints the Pickup run's lines on eachready-for-agentissue passed over, followed by:A
ready-for-agentissue that is not a Ready issue (claimed, unsettled, blocked, a Ticket in a Spec that isn't ready, a Base fix's issue) gets its passed-over line, and the Architect run goes ahead. The README has a new "A Ready issue goes first" section. It warns that aready-for-agentissue with no Pickup line to take it keeps Architect runs from starting.helpsays the same.Evidence
tests/architect_run.rsfail. For example,a_ready_issue_skips_the_architect_run_before_any_reviewstarts the review and prints the plan's URL (left: ".../issues/8",right: ".../issues/7").After:
cargo testpasses in full, andcargo clippy --all-targets -- -D warningsandcargo fmt --checkare clean. New tests:ready-for-agentTicket inside a Spec that isn't ready: no skipready-for-agentgoes first as a Ready issueready-for-agentissue as their "lets the run go ahead" case, and that issue is now a Ready issue. One now carries a Claim. The other'sready-for-agentcase moved into its own test. In two Pickup tests that start an Architect run to hold the lock, the issue is now labelledready-for-agentonly after the Architect run has started. The Pickup run's behaviour and its assertions are unchanged.Merge Danger
Door: two-way
Blast Radius: Architect runs
Every Architect run now runs the Ready issue search: one
ghlist, plus per-candidate reads when there areready-for-agentissues. A repository with Ready issues and no Pickup line stops getting Architect runs until those issues are taken, which is the intended behaviour.Unaddressed findings
Standards
Skipped::ReadyIssue(IssueUrl, String)adds a third(issue, title)pair besideOpenPlansandIdeasWaiting. Skipped: it follows the existing idiom, and the three should change together in a refactor of their own.ready_issuetest helper duplicates the one intests/pickup_run.rs. Skipped: the two have different signatures (this one takes a title), and each suite keeps its helpers local.help, and the module and function docs. Skipped: that is the repo's documentation style, andhelpis pinned bycommand_surface.rs.Spec
Skipped:reason so it matches today's behaviour until A skipped Architect run sends no Run notification #325 lands.Closes #327
🤖 Generated with Claude Code