Saphan StudioDocs
Reference/Commands

saphan stop2

Closes a round of work you authored yourself, in one command, from inside that round's worktree.

Closes a round of work you authored yourself, in one command, from inside that round's worktree. It declares the round at the current commit, returns its status, records the coordinating agent's verification document, brings the event record up to date and shows the stream, stopping at the first step that refuses and printing that refusal unchanged; steps already completed stay recorded. The worktree must sit under the workspace's worktrees directory and carry the status and verification documents at its root, and a stream that has spawned agent runs is refused (those rounds close with saphan return). Every value is worked out from the worktree you are standing in, and each flag overrides one of them. On success it prints the owner's next command, saphan accept <stream>.

saphan stop2
flagtypedefaultwhat it does
--basestringThe base branch of the round; defaults to the stream's registered base, otherwise develop, so give it when your trunk has another name.
--branchstringThe branch to close; defaults to the branch checked out in this worktree.
--bystringWho authored the round, recorded as given and not checked against who runs the command; defaults to your configured identity.actor.
--continueboolfalseUse when this branch's stream is already merged and the workspace is set to open later rounds as new streams: creates <stream>-r<N> with a new branch and worktree and the order carried over, then runs the same steps there.
--move-worktreeboolfalseConfirm that this stream's registered worktree has moved on purpose; without it a moved worktree is refused.
--roundint0The round number; defaults to the next unused one.
--streamstringThe stream to close; defaults to the stream registered on this branch.
--worktreestringThe worktree to close; defaults to the top of the git checkout you are in.

Global options apply to every command — see Every command.