Reads the long-session artifacts; outputs a briefing so work continues without re-exploration.
-
Check init.sh. If init.sh exists at repo root and is executable, remind the user:
init.sh is present. If the dev env isn't up, run: bash init.sh
-
Read claude-progress.txt tail. Entries are blank-line-separated blocks (shape defined by /progress-log). Show the last 3 entries verbatim.
-
Read .claude/spec.md. If present, show the tail (last 20 lines or the last delta block, whichever is smaller).
-
Read .claude/features.json. Summarize: N pending, M in_progress, K done. List any in_progress items by id + description.
-
Git state.
git status --short
git log --oneline -5
-
Detect test command.
package.json scripts.test
composer.json scripts.test
Makefile test target
pytest / cargo test / go test
Note it; do NOT auto-run.
-
Emit briefing in this exact shape:
## Session Briefing
**Last progress entry:** <date> — <topic>
<last entry tail>
**Features:** N pending · M in_progress · K done
In progress: F3 <desc>, F5 <desc>
**Spec tail:**
<last spec delta>
**Git:** <N commits today>, <M uncommitted files>
**Tests:** <command detected, or "no command detected">
Ready. What's next?