sassy_memory_handoff
Save task state at session end, posting handoff details to a crosslink channel and logging a milestone so the next session can resume with full context.
Instructions
Mutating: runs the session-end handoff protocol — three writes at once. task (required) names the work. status defaults to "in-progress" (also: blocked, needs-review, paused, completed). completed, next_steps, blockers, files_touched are comma-separated lists; project scopes the entry; context_notes holds anything the next session must know. It (1) upserts memory record task___state (task lowercased, spaces to underscores, first 40 chars) tagged task-active,handoff with high priority — repeat calls for the same task and project overwrite the previous handoff; (2) posts the payload to the crosslink channel "task-handoff"; (3) logs a milestone. Returns {"handoff_saved", "memory_key", "crosslink_channel", "next_session", "crosslink_posted"} — crosslink_posted is false when the crosslink post failed and the handoff is local-only. The next session resumes with sassy_memory_context plus sassy_crosslink_recv on "task-handoff". Use at session end or when context runs low — not as a substitute for sassy_memory_remember.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| status | No | in-progress | |
| project | No | ||
| blockers | No | ||
| completed | No | ||
| next_steps | No | ||
| context_notes | No | ||
| files_touched | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_key | Yes | ||
| next_session | Yes | ||
| handoff_saved | Yes | ||
| crosslink_posted | Yes | ||
| crosslink_channel | Yes |