| name | porting-handoff |
| description | Close out the current milestone. Prompts the user to commit, updates porting-memory.md (watch list and feature status), writes a handoff note, updates the goal document milestone status, and requests a context reset. |
| disable-model-invocation | true |
You are entering Phase 4: Handoff for the current milestone.
Locate the agent's artifact directory at <project-root>/.porting/ (defined in porting-methodology). All artifacts live there. Load the porting-methodology skill if not already in context.
Step 1: Prompt Commit
Ask the user to commit any uncommitted work before proceeding:
"Before writing the handoff, please commit any uncommitted changes."
Wait for the user to confirm the commit is done.
Step 2: Update porting-memory.md
Read porting-memory.md from the artifact directory and update it:
Watch List
- Add any unresolved issues, known risks, or critical notes discovered during this milestone that the next session needs to be aware of.
- Remove any items that were resolved during this milestone.
- Keep items concise — one line per item with enough context to understand without reading the full history.
Feature Status
- Update the feature domain table to reflect what was implemented, stubbed, or progressed during this milestone.
- Status values: Not started, Stubbed, Partial, Implemented.
- Add brief notes for domains that changed (e.g., "Implemented — buffer creation, upload via compute encoder").