diff --git a/postmortem/SKILL.md b/postmortem/SKILL.md index aeb88e7..c5dee3d 100644 --- a/postmortem/SKILL.md +++ b/postmortem/SKILL.md @@ -80,6 +80,14 @@ dir — i.e. the session you are in (it will be flagged `active`, meaning totals are partial). To grade a finished run, pass its `--session `. +The default log dir is derived from cwd (the path with `/` replaced +by `-`), so a session run inside a git worktree resolves to a +*different* slug than the primary clone, and after exiting a worktree +the default again follows the current cwd. To grade a worktree run +from the primary clone, pass `--project-dir +~/.claude/projects/` (or `--file ` to bypass slug +derivation entirely). + The script emits one JSON object on stdout. That JSON — not the raw log — is your evidence base.