handoff
Constant, in @jr2/orchestrator/src/handoff.ts. It is an export of @jr2/orchestrator, in the Effects group of the Authoring surface page.
ts
const handoff: z.ZodType<Handoff>The schema of a Handoff, for a door's input or a pick's param: z.object({ handoff }). It checks the shape only. The cut checks each field against the run's ledger, and refuses a Handoff that the run did not make. Other fields of a WorktreeReady (outcome, found) are dropped.
Example
ts
import { handoff } from "@jr2/orchestrator";
import { z } from "zod";
export const finalInput = z.object({ handoff, earlier: z.array(z.string()) });See also