Repository navigation
thirdshift architect base <branch>: an Architect run names its Base branch - #256
Merged
Merged
Conversation
…ranch base <branch> (or --base <branch>) on architect names the Base branch, whatever the Launch directory has checked out: the Architecture review's worktree starts at its origin head, and the Spec run or Run the plan is dispatched as takes it as its Base branch, as an internal parameter of the dispatch. The detached-HEAD check is skipped when it is given, and launch pull only updates the checkout when the named branch is the one checked out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h its PR replaces was given or checked out, exact errors for base on a Run, the test module's doc in order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan an Architecture review marked ready carries the Architect run's Base branch inside the Reviewed outcome, next to the skipped one, and a run that names its Base branch takes the repository's lock once the checks on that branch pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 1, 2026
Closed
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
thirdshift architect base <branch>(or--base <branch>) names the Base branch of an Architect run, so the branch checked out in the Launch directory stops mattering.run_to_endnow takes what started the Run in place ofchild: Option<&Kind>:baseis parsed forarchitectonly.thirdshift <Issue URL>doesn't take it, and no hidden argument was added: the dispatch is in-process.Seams tested: the argument parser (
args::parse, unit tests) and thethirdshiftbinary end to end (tests/architect_run.rs,tests/command_surface.rs, with the fakeclaudeandgh).Evidence
cargo testpasses: 28 test binaries, 0 failed;cargo clippy --all-targetsandcargo fmt --checkare clean.base_carries_the_named_branch_to_the_dispatched_spec_run_whatever_is_checked_outon its exit code. I didn't capture its stderr. It passed in the next full run and in 12 further runs of that test, so I couldn't find a cause.Unaddressed findings
Standards
architect.rsandrun.rs(symbolic-ref, given-or-checked-out,check_base_branch, launch pull). Skipped: a Run's resolution goes through Issue branch selection, where a Continuation's open pull request decides, and an Architect run's doesn't, so the shared part is two git calls.Outcome::PlanReadycarries the Base branch back tomain.rs. Skipped: only a ready plan is dispatched, and it is the one outcome that needs the branch, so the variant is where it belongs; returning it beside every outcome would give idea outcomes a branch they don't use.ask_baserepeatsask_parallel's shape. Skipped: the reviewer judged it acceptable, and it follows the existing pattern.develop_on_origin(detached: bool)is a flag argument, and thedevelopsetup is repeated in the Spec run and launch pull tests. Skipped: those tests build their scenario another way first (spec_plan, a checked-outdevelop), so the helper doesn't fit them without a second one.Spec
basegained ", or name it with base ", against "thirdshift architectwithoutbasebehaves as before". Skipped: the run is rejected as before, and the hint names the way out this Ticket adds. The duplicate test the reviewer pointed at was folded into the existing one.basefollowed by an argument starting with a dash, or a blank one, is an argument error too, where the Ticket only lists "nothing after it, or given twice". Skipped: no branch name starts with a dash, soarchitect base --plan-onlyis a typo, which story 18 says must not silently pick a branch.mergeinto the named branch,baserejected on a Run). Skipped: they pin "It is not added tothirdshift <Issue URL>" and cost little.Merge Danger
Door: two-way
Reverting removes the flag; nothing is stored or migrated.
Blast Radius: Runs
Every Run now goes through
StartedBy, and a Ticket's Run or a Base fix reads the real checked-out branch where it used to read the branch it was given, which only feeds launch pull, off for child Runs. The detached-HEAD message ofthirdshift architectand the progress line of a Continuation whose pull request's base replaces a given branch (not the given <branch>) changed wording.Closes #246
🤖 Generated with Claude Code