diff --git a/.claude/skills/handover/SKILL.md b/.claude/skills/handover/SKILL.md index f24b41c..1b63437 100644 --- a/.claude/skills/handover/SKILL.md +++ b/.claude/skills/handover/SKILL.md @@ -141,6 +141,14 @@ refused.** own workspace before it hands it to you. The daemon and your pane can run in different directories, so a path you resolve yourself can point at a different file from the one the daemon will check. + + **Check that the path is ignored by git before you write to it (#491).** A relative + `handoverPath` resolves inside YOUR workspace, which is usually a repository — and usually not + the `fleetd` one, so an ignore rule added to `fleetd` does not protect it. Run + `grep -n handover /.gitignore`. No output means the file you are about to write + will show up as untracked content in that repo. The file is a snapshot of live state and must + never be committed, so tell the operator rather than committing it or silently editing their + `.gitignore`. 2. **Write the handover file at that path**, following sections 1–10 above. 3. **Ask the operator, then `fleet_handover{action: "confirm", token, operatorConfirmed: true}`.**