SlotHandles
Type, in @jr2/orchestrator/src/workspace.ts. The signature of an export, or a type that it names, names this type. The Authoring surface page lists each export. This type is not an export of @jr2/orchestrator, so a workflow module does not import it by name.
type SlotHandles<TSlots extends string> = {
repos: Record<TSlots, string>;
branch: string;
review?: Partial<Record<TSlots, string>>;
};The handles of a Workspace that declares Repo Slots. @internal
Fields
repos:Record<TSlots, string>The absolute path of each Repo Slot's Worktree,
/work/<slot>/<branch>, in the order thatreposdeclares the slots. Give one to an Agent's Turn as itscwd.branch:stringThe branch that the Workspace works on: the
branchof the spec.review(optional):Partial<Record<TSlots, string>>The path of each Repo Slot's review Worktree. Present only when the spec has
reviewSha. Give one to a reviewer's Turn as itscwd.