From 325d0771a4daf6556890986ab9443b40e943f85d Mon Sep 17 00:00:00 2001 From: Dai Ha Date: Fri, 11 Sep 2026 06:13:49 +0700 Subject: [PATCH] fleetd #480 Unit B: add handover skill for lead session handoff Adds .claude/skills/handover/SKILL.md, the procedure an outgoing lead follows to write the handover file a fresh lead session inherits when fleetd clears the pane. Registers the new skill in CLAUDE.md's primary-side skills list; no other change to CLAUDE.md. --- .claude/skills/handover/SKILL.md | 163 +++++++++++++++++++++++++++++++ CLAUDE.md | 6 +- 2 files changed, 167 insertions(+), 2 deletions(-) create mode 100644 .claude/skills/handover/SKILL.md diff --git a/.claude/skills/handover/SKILL.md b/.claude/skills/handover/SKILL.md new file mode 100644 index 0000000..5c08eb3 --- /dev/null +++ b/.claude/skills/handover/SKILL.md @@ -0,0 +1,163 @@ +--- +name: handover +description: Procedure for an outgoing lead to write the handover file before a fresh lead session replaces it (fleetd #480). Load this when your context is full and fleetd is about to clear your pane. The file is the new lead's only inheritance — follow it exactly. +--- + +# Handover — write the file the next lead depends on + +fleetd ticket #480 lets a lead session hand off to a fresh one. The outgoing lead writes a +handover file, fleetd checks it, clears the pane, and tells the new session to read that file +and carry on. + +**The new lead's only inheritance is that file.** It does not see your conversation, your plan, +or your screen. If the file is thin or wrong, the new lead re-derives what you already knew, and +that wastes hours. Writing a good handover file is real work. It is not paperwork you rush +through at the end of a session. + +This skill is the procedure for writing it. Every rule below earned its place because a past +handover got it wrong. + +## 1. Confirm you are the right session to write this + +Run `fleet_whoami` first. It must answer `primary`. Only a primary (lead) session writes a +handover file. A worker's job ends with its own pull request, not a fleet-wide handoff. + +## 2. Every number needs a command, run in this turn + +A number is a claim: a count, a commit hash, a process id, a percentage, a queue depth. Before +you write one, run the command that produces it — now, in this turn, against the live state. + +Never take a number from: + +- earlier in your own conversation — the state has moved since then, +- a peer lead's report — that is their measurement, not yours, +- your own memory of an earlier session. + +Put the command, or its real output, next to the number. That lets the next lead re-run it and +check it still matches. If you cannot measure something yourself, say so instead of guessing: +"the fleet01 lead reports 91 commits behind; I have not checked this myself." + +## 3. Say what you measured and what you did not + +Mark every claim as one of two things: + +- **"I checked this myself, in the code or on this host, at `