Task is complete. Update the handover for the next session.
Use Task Master MCP tool to set status:
set_task_status --id=<current-task-id> --status=done
Prefer MCP tools over CLI commands for Task Master operations.
Create feature-based documentation for completed work.
- Identify what was implemented (group by feature, not task).
- Create doc in
docs/technical/(ordocs/for top-level topics). - Update
docs/index.mdwith the new entry and a 1-line description.
Naming: Good: lsp-on-demand-startup.md. Bad: task-33.md.
Fetch the next task using MCP: next_task or get_task --id=<next-task-id>
Replace the current task sections with the new task:
- Current Task: Full details of next task (ID, title, description, complexity, etc.)
- Key Files: Only files relevant to the NEW task.
- Model Selection: Update complexity and model recommendation.
Crucial Rule: Remove ANY previous task details. Do NOT accumulate a task history.
If the completed task changed the architecture significantly:
- Update the Architecture section or "Where Things Live" table.
- Keep the file under ~100 lines.
- Do NOT add task history or "Recently Changed" entries.
- Current task marked as
donein Task Master - Feature documentation created
-
docs/index.mdupdated with new doc entry -
current-handover-prompt.mdupdated with ONLY next task context -
ai-context.mdupdated if architecture changed - Code compiles and tests pass:
cargo build