WorktreeReady
Type, in @jr2/orchestrator/src/worktree.ts. It is an export of @jr2/orchestrator, in the Effects group of the Authoring surface page.
ts
type WorktreeReady<S extends string = string> = {
outcome: "ready";
slot: S;
path: WorktreePath<S>;
branch: string | null;
head: string;
found: WorktreeFound;
stale?: string;
};Fields
outcome:"ready"slot:Spath:WorktreePath<S>branch:string | nullThe branch of the cut, from git and the cut's record, never from the folder or HEAD.
nullwhen the Worktree is detached.head:stringThe tip of
branch(of the commit, when detached). Never HEAD.found:WorktreeFoundstale(optional):stringADR-0053's words when the remote did not answer. The cut used what the clone holds.