| name | session-start |
| description | Bootstrap a Claude Code session by reading the feature workplan, latest journal entry, and open issues. Reports context to the user so they can confirm the session goal. |
| user_invocable | true |
Session Start
Read the following and report a concise summary to the user:
-
Identify the feature from the worktree name and branch:
- Run:
basename $(pwd) and git rev-parse --abbrev-ref HEAD
- Extract the feature slug
-
Read the feature workplan:
- Read:
docs/1.0/001-IN-PROGRESS/<feature-slug>/README.md
- Read:
docs/1.0/001-IN-PROGRESS/<feature-slug>/workplan.md
- Note: current phase, completed tasks, next tasks
-
Read the latest DEVELOPMENT-NOTES.md entry:
- Read:
DEVELOPMENT-NOTES.md (last entry only)
- Note: what was accomplished, what failed, course corrections
-
Read device notes if applicable:
- If the feature involves SCSI/device work: read
SCSI-NOTES.md (last 2-3 entries)
-
Read the session analysis report (if it exists):
- Read:
data/sessions/report-all.md — look for the "LLM Session Analysis" section
- Note: top correction categories, most common patterns, improvement suggestions
- These are mistakes from previous sessions — actively avoid repeating them
-
Check open GitHub issues:
- Run:
gh issue list --label <relevant-label> --state open
-
Check testing infrastructure (if the feature involves UI work):
- Read:
TESTING.md for the overall test architecture (unit/ui/e2e categories)
- Read:
TESTING-UI.md for the UI test methodology
- Check if a test harness page exists:
src/pages/Test<Feature>Page.tsx
- Check if UI test specs exist:
test/ui/<feature>.spec.ts
- If harness missing: flag that it should be created before implementation
- If specs missing: flag that every manually verified interaction needs a spec
-
Report to the user:
- Feature name and current phase
- Last session's key accomplishments and failures
- Top correction patterns to watch for (from analysis report)
- Top unresolved issues
- Proposed goal for this session
Do NOT start coding until the user confirms the session goal.