Skip to content

Handoff ​

Type, in @jr2/orchestrator/src/handoff.ts. It is an export of @jr2/orchestrator, in the Effects group of the Authoring surface page.

ts
type Handoff = {
  slot: string;
  path: string;
  branch: string | null;
  head: string;
};

A Handoff: the commit of a ready cut of an enclosing Workspace, which a nested Workspace takes at its own cut (ADR-0080). It is the ready output of the parent's cut, as plain data: a WorktreeReady is a Handoff. Pass it to the nested Workspace through its door, and give it to the cut there: { path, handoff }.

Fields

  • slot: string

    The Repo Slot of the parent's cut.

  • path: string

    The Worktree of the parent's cut.

  • branch: string | null

    The branch of the parent's cut. null when that Worktree is detached.

  • head: string

    The commit to hand off: the head of that cut.

The docs of Kit version 0.8.0. Each page is also at its .md URL.