BranchPolicy
Parameters and properties
Section titled “Parameters and properties”The fields below cover all variants; the signature specifies their allowed combinations.
modeRequired"current" | "named" | "integrate"current works in the checkout itself; named works on the branch name in a worktree under .outpost/workspaces; integrate creates an outpost/<label>-<id> branch there, which integrate() merges into the base branch.nameVariant-dependentstringWork branch for named mode, kept when the workspace closes. An existing branch continues from its tip and reuses its managed worktree; one checked out outside .outpost/workspaces fails with code conflict.fromVariant-dependentstring | undefinedRevision a new work branch starts from, default HEAD. Ignored when the named branch already exists.