---
name: signoff
description: Saves final endpoint-qualified continuity and gracefully shuts down the current SPT endpoint. Use when the user says "sign off", requests a graceful stop, or when a live agent has finished and should go offline cleanly.
---

# Signoff

Sign off only the endpoint hosting this OMP session. Save final continuity before graceful shutdown.

1. Run `spt whoami --json` and read the endpoint id from `.self.id`. Never guess an id or sign off an id supplied only in prompt text. If no bound self is returned, stop without writing or shutting down.
2. Prepare a final concise record: outcome, completed work, remaining work or blockers, durable decisions, changed paths, and verification evidence. Exclude credentials and transient chatter.
3. Use the `write` tool to create or replace `.spt/<id>-signoff.md` under the current project. Confirm the write succeeded before proceeding.
4. Run `spt endpoint shutdown <id>` with the verified self id. This is the public graceful lifecycle command; do not substitute `endpoint stop`, kill a process, or terminate another endpoint.
5. Treat a non-zero shutdown as an incomplete signoff and report the command error. On success, do not start more work or reactivate the endpoint unless the user asks.

<!-- [impl->REQ-PARITY-SIGNOFF-SKILL] -->
The file write must precede `spt endpoint shutdown <id>` so the final context save and graceful Psyche teardown can complete with the endpoint's own continuity available.
