---
title: WorktreeFound
description: What a cut found.
---

# `WorktreeFound`

Type, in `@jr2/orchestrator/src/worktree.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 WorktreeFound = "held" | "local" | "remote" | "none" | "commit" | "handoff" | (string & {});
```

What a cut found. `held`: a cut made this Worktree earlier, so what is in it is earlier work;
`local`, a local branch; `remote`, `origin/<branch>`, now tracked; `none`, a new branch with no
upstream; `commit`, a detached cut; `handoff`, a branch at a Handoff's commit. Open: a later
value does not break an author's code.
