# Hand off

A new session knows only what is written down. `handoff` writes it down, in one short file, so the next session can continue without you explaining it again.

```text
/mycelium-extra:handoff
```

## What you get

`HANDOFF.md` at the root of your repository, usually under 80 lines:

- **Next action:** the exact first command or edit.
- **State:** uncommitted files, failing tests, the last run.
- **Locked decisions:** what you settled, and why, so it is not asked again.
- **Dead ends:** what was tried and failed, so it is not tried again.
- **Open items:** what still needs you, with the agent's leaning marked as not a decision.

The file points to paths and commits; it does not copy code or logs. The agent is told to replace secrets and personal identifiers with a name or a count. Check the file before you share it.

To resume, start a fresh session and say: `Read HANDOFF.md, run its Check first, then <next action>.`

## Staying oriented during a session

| You type | What you get |
|---|---|
| `focus <folder>` | Tells the agent which analysis this session works on. `track-changes` can then show edits made elsewhere. |
| `where` | A short card for the focused analysis: aim, where it stands, what to do next. Typed as a message it needs the gate on; otherwise use `/mycelium-extra:where`. |
| `/mycelium-extra:track-changes` | What changed against the approved plan, read-only. |

## Check that the handoff works

`handoff test` gives a fresh reader only the file and the paths it names, then lists what that reader could not follow. Fix those lines before you stop.

## What it does not do

A handoff is a summary, not a record. Decisions that must last belong in your repository, for example in Mycelium's `.living/decisions.md`. A plan that is waiting for approval is never summarised: the handoff points to the stored copy, or pastes the plan unchanged, so you approve exactly what you read. A pasted plan is not redacted.

Next: the [reference](commands.md) lists every command and skill.
