(branch: AgentBranch)
| 666 | export type AgentBranchNotTrunk = I<typeof AgentBranchNotTrunk> |
| 667 | |
| 668 | export function assertIsNotTrunk(branch: AgentBranch): asserts branch is AgentBranchNotTrunk { |
| 669 | if (branch.agentBranchNumber === TRUNK) throw new Error('expected not trunk') |
| 670 | } |
| 671 | |
| 672 | export const SetupState = z.enum([ |
| 673 | 'NOT_STARTED', |