1.loadpuddlerouter.load— Read the turn file; store the cleaned text as turn.
2.alwaysLlmpuddlerouter.alwaysLlm— Check the turn against the alwaysLlm list in puddlerouter.yaml. A hit goes straight to Claude: only confirm and reply still run. Skipped for an empty or withheld turn and a capture: turn, which goes to Capture whatever it says. A failure only loses the check.
3.recallpuddlerouter.recall— Read Jev's earlier route, decision and pick for this exact turn from the route cache (7 days). Never fails; a miss sets every flag false.
4.confirmrecipes.confirm— If the last turn in this session showed a plan, run it when this turn is only a yes and drop it otherwise. A capture: turn or a phrase on the alwaysLlm list is never a yes. Skipped in shadow mode, which never keeps a plan, and with no session.
5.mergedpuddlerouter.merged— If the turn only says a PR merged ("merged", "12 is merged"), check the PR and the worktree it was built in, read-only, and store the steps to finish. Jev and the recipes are then skipped. Skipped for an empty, withheld or capture: turn, a phrase on the alwaysLlm list and a yes confirm handled; a failure only loses the hint.
6.matchrecipes.match— Try the turn against the recipes, through @puddleworks/recipes, before asking Jev anything. A hit is deterministic whatever Jev would say, so route, decide and search are skipped; a failure carries on to route. Skipped for an empty, withheld or capture: turn, a merged turn, a phrase on the alwaysLlm list and a yes confirm handled.
7.routejev.choice— Ask Jev which route the turn should take. Skipped for an empty turn, for a turn that looks like it holds a secret (never sent to Jev), when the route cache already holds the answer, and for a merged turn, a turn sent with the capture prefix, a phrase on the alwaysLlm list, a turn a recipe matched or a yes confirm handled.
8.decidejev.noul— Ask Jev the yes/no question in the turn. Skipped unless the route is a decision at or above the cut-off (fresh or cached) and the turn is complete (nothing pasted, fenced or cut, so the text to judge is all there), when the route cache already holds the answer, and for a merged or capture: turn, a phrase on the alwaysLlm list, a turn a recipe matched or a yes confirm handled.
9.searchpuddlerouter.search— Search for extensions when no recipe matched a deterministic turn. If match failed it still runs, so the turn is not lost. A capture: turn always runs it (unless empty or withheld) and gets the request draft with no search. Skipped for a merged turn, a phrase on the alwaysLlm list or a yes confirm handled.
10.pickjev.choice— Ask Jev which extension search found, if any, can answer the turn. Skipped unless search found candidates, and when the route cache already holds the pick.
11.executerecipes.execute— Run the matched recipe, through @puddleworks/recipes, or show its plan if it makes changes. Skipped unless match found a recipe.
12.raise— Log one request in Capture as a draft, through @puddleworks/capture-log-request, for a deterministic turn that no recipe or allowlisted extension can answer, or for a capture: turn. The turn's sourceRef is the Idempotency-Key, so the same turn gives the same request. Live mode only, so shadow mode has no side effects.
13.replypuddlerouter.reply— Store what the hook should do. Runs whether or not Jev answered.