Repository navigation
Architect run dispatches its plan as a Spec run or a Run - #244
Merged
Merged
Conversation
Without --plan-only, once the plan is marked ready-for-agent, the Architect run dispatches it as thirdshift <plan URL> would, and ends as that run does. merge, no-merge and parallel <n> apply to the dispatched run, and are rejected with --plan-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ec plan coverage Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
origin/issue-27 brings #231: an Architect run whose review found no Strong candidate ends as a success on the idea issue or the issue that already covers it. This branch dispatches the plan (#232). Conflicts resolved by keeping both: architect::run returns #231's Outcome, and the command dispatches only an Outcome::PlanReady without --plan-only. An idea issue or an already-filed issue is printed and nothing is dispatched, with or without --plan-only, as #231 specifies. The old "published no plan" failures are gone with reported_plan. README and help describe the dispatch and the No Strong candidate endings together; one test covers a no-plan review given without --plan-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 1, 2026
Merged
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
Without
--plan-only, an Architect run now goes on from the plan it marked ready to the Spec run or Run thatthirdshift <plan URL>would start, and ends as that run does.goalismerge/no-merge, else the User config'smerge.always;parallelisparallel <n>, elsespec.parallel(Parallel::new, now shared with the Run path).email.alwayssays: that is One Run notification per Architect run #233. The README and help say so.merge,no-mergeandparallelare flags afterarchitect, with or without dashes, so none of them can be the focus.Seams tested: the
thirdshiftbinary end to end throughtests/support::Scenariowith the fakeclaudeandgh(tests/architect_run.rs,tests/command_surface.rs), and the argument parser,args::parse. The fakeghgainsgh fake sub-issues <n> '<list>', so a fake Architecture review can publish a Spec.Evidence
thirdshift architect→ exit2,architect needs --plan-only: it can't yet implement the plan it publishes.After: new end-to-end tests in
tests/architect_run.rs, all passing:parallelfrom the dispatch makes bothparalleltests fail (checked by hand, then restored).--plan-only;tests/command_surface.rscovers the same rejections on the binary (exit2, help on stderr, no review started).cargo testpasses, every test binary (87 unit tests, 28 inarchitect_run, 61 inspec_run, and the rest);cargo clippy --all-targetsandcargo fmt --checkare clean.Unaddressed findings
Reviewed with
origin/issue-27as the fixed point: the localissue-27branch on this machine is behind it.Standards
DispatchArgs { goal, parallel }repeats two fields ofRunArgs. Embedding it would changeRunArgsand the Run's parsing, which Architect run: thirdshift finds and implements a Strong deepening opportunity unattended #27 says stays unchanged; the separate type is what makes "flags with--plan-only" unrepresentable.merge/no-merge/parallelmatch arms are in bothparseandparse_architect. Three one-line arms over the sharedask_onceandask_parallel; a shared flag parser for two loops that otherwise differ would cost more than it saves.pr_fromandagent_opens_printests/architect_run.rsresemble helpers intests/spec_run.rs. Test files here keep their own small helpers and agent scripts; moving them intotests/supportwould mean rewritingspec_run.rscall sites in this PR.src/architect.rs(up to the plan) andarchitect()insrc/main.rs(the dispatch). Deliberate:main.rsis where a Run's flags meet the User config's defaults, so dispatching from there is what keeps the plan's run identical tothirdshift <plan URL>.Spec
thirdshift <plan URL>would" would be wrong for anyone withemail.alwaysset.Merge Danger
Door: two-way
Revert the two commits and
architectneeds--plan-onlyagain.Blast Radius: architect
thirdshift architectwithout--plan-onlyused to be an argument error and now implements the plan unattended, opening a pull request, or merging it withmergeormerge.always. A baremerge,no-mergeorparallelafterarchitectis now a flag, not a focus. The Run path changes only in how it buildsParallel.Closes #232
🤖 Generated with Claude Code