Repository navigation
D313 — the refusal off main says the command makes its own branch, and the way from a worktree - #591
Merged
Merged
Conversation
…d the way from a worktree Downstream, the coordinator made a branch and a worktree for the update first; the refusal said `git switch main`, which a worktree beside main's cannot do. nstack update, update --forge and config now share one Action: switch to the default branch, or detach at its tip in a worktree (#261), and the command makes its own branch: none is made before. Agent-Session: napkinstack-os-1e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s plainly (#589) The verifier found change_forge's guard untested, before D313 and since: a test now refuses it off main, with the way back and no branch made. "make none before" replaces "none is made before"; INSTALL.md says the update makes its own branch. Agent-Session: napkinstack-os-1e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: napkinstack-os-1e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
napkinstack-admin
approved these changes
Nov 29, 2026
Merged
3 tasks done
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.
Workstream
D313 — the update's refusal off main did not say it makes its own branch, nor the way from a worktree (#589). Reported by the consumer project's coordinator. Decided by the decider, for v0.35.5.
What it changes
project._start_from: one Action for the refusals ofnstack update,nstack update --forgeandnstack configoff the default branch. It reads:git switch <default>, or, in a worktree beside the one that holds it,git switch --detach <default>(nstack update: an untracked file reads as 'modified', and a clean worktree is refused #261); and the command makes its own branch, so make none before.INSTALL.md: the update makes its own branch.What a project receives
A person or an agent who made a branch, or a worktree, for the update first is told the way back and that the command makes its own branch. No behaviour changes.
Verification
Red first: the assertions in
test_update_tree.py(detached HEAD elsewhere) andtest_config.py(off main) failed on main.A fresh read-only verifier ran on 8a0fd16 and found nothing blocking. It checked in scratch repositories that the Action is true for each of the three commands, each followed by a pass and its own branch:
git switch mainfails there, andgit switch --detach mainpasses;Fixed after its review, in 2636bac:
change_forge's guard was untested, before D313 and since: a test now refuses it off main, with no branch made;INSTALL.mdis aligned.Mutants killed:
--detachdropped, the wrong command named for config, and for the forge change; the forge guard removed.uv run bash platform/tests/run.shat 2636bac: Platform tests: OK.DoD
🤖 Generated with Claude Code