---
title: Handoff
description: "A Handoff: the commit of a `ready` cut of an enclosing Workspace, which a nested Workspace takes at its own cut (ADR-0080)."
---

# `Handoff`

Type, in `@jr2/orchestrator/src/handoff.ts`. It is an export of `@jr2/orchestrator`, in the [Effects](group-effects.md) group of the [Authoring surface](../authoring-surface.md) 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](../decisions/0080-a-nested-workspace-takes-a-handoff-at-its-cut.md)). 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.
