Invocation: /start (also called automatically from agent activation files)
Works for: any agent (saga, freya, mimir)
Loads project state and session context. Always reads the project index first — this gives the agent a complete picture of what exists before doing anything else.
Always read progress/project-index.md first, regardless of whether a session state exists.
If found: parse Phase Status and Artifacts sections. Hold this as project context — it informs everything below. If not found: proceed silently. The index will be built on first wrap.
Read ~/.claude/wds/tools/memory/SKILL.md and follow the load operation for the current agent_id.
Fallback chain: state found → show resume prompt → fresh start
Parse the state file for:
Display:
⏸ Previous session found ([date from Wrapped field])
Project: [N artifacts — current phase from project index, or "no index yet"]
Left off: [content from Context section]
Next: [Next — strip MODEL prefix, show as plain task]
Model: [Sonnet | Opus — from MODEL prefix, or inferred]
[If milestones present:]
── Session Plan ──────────────────────────────
[DONE] Milestone 1 — description
[CURRENT] Milestone 2 — description (~N sessions)
[ ] Milestone 3 — description (~N sessions)
──────────────────────────────────────────────
Resume where we left off, or start fresh?
Wait for the user's response.
Model inference (if no MODEL prefix in Next):
If resume:
If fresh:
Proceed with the normal activation sequence.
If the user describes a multi-session task at the start of a fresh session, offer to map milestones:
This looks like multi-session work. Want me to map it into milestones first?
(Adds ~2 min upfront, saves context thrashing later.)
If yes: produce milestone plan before starting work. If no: proceed directly.
If work appears single-session: proceed directly without asking.
Do not mention /start or the absence of a state file.
progress/project-index.md — never skip it. It is the project's memory.progress/[agent].md relative to the project root.