← ClaudeAtlas

stoplisted

Gracefully close, pause, or verify a session: harvest promotable content, save progress, archive soul purpose, settle AtlasCoin bounty. Use when user says /stop, wrap up, done for the day, finishing up, close session, pause, verify, or end session.
diamanthyseni3/atlas-session-lifecycle · ★ 0 · AI & Automation · score 75
Install: claude install-skill diamanthyseni3/atlas-session-lifecycle
# Session Stop Skill > Graceful session close, pause, or verification. Three intents: Pause | Finish | Verify. All session operations use `atlas-session` MCP tools directly (prefixed `session_*` and `contract_*`). Use `ToolSearch` to discover them. ## Hard Invariants 1. **User authority is absolute** — AI NEVER closes without confirmation. 2. **Human-visible memory only** — All state lives in files. 3. **Trust separation** — for bounty verify, spawn a separate finality Task agent. Never the same agent that submits. 4. **AtlasCoin is optional** — if down, skip bounty steps and continue. 5. **Idempotent** — Running /stop on an already-closed session exits cleanly. 6. **Archive after verification** — Soul purpose is archived AFTER bounty settlement, not before. ## UX Contract - User sees ONE intent question, then results. Nothing else. - No step announcements, no narration, no internal process descriptions. --- ## Phase 0: Sync + State Detection First, save the current session state so context files are up to date: 1. Invoke `/sync` — updates all session-context files and MEMORY.md with current progress. Silent, no output shown. Then detect state: 2. Call `session_read_context(project_dir)` — get soul purpose, status hint, open tasks. 2. If `status_hint` is `no_purpose` or soul purpose is empty: tell user "No active soul purpose to close." **EXIT**. 3. Check bounty: if `session-context/BOUNTY_ID.txt` exists, call `contract_get_status(project_dir)`. Store `HAS_BOUNTY`