Help us improve
Share bugs, ideas, or general feedback.
From starlight-intelligence-system
Gracefully closes a /yolo Hive session by persisting vault writes, finalizing the audit log, committing a Memory Bus session-summary atom, and running post-session drift detection and phase-in counter updates.
npx claudepluginhub frankxai/starlight-intelligence-systemHow this command is triggered — by the user, by Claude, or both
Slash command
/starlight-intelligence-system:yolo-exitThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /yolo-exit — Graceful Session Close Close the current /yolo session cleanly. Run only when no action is in flight (if one is, use `/yolo-abort` instead). ## Persistence chain 1. **Operational vault append** (`memory/vaults/operational-vault.md`): - Session timestamp + duration - Moves picked + outcomes - Repos touched - $ spent - Drift flags surfaced 2. **Strategic vault append** (`memory/vaults/strategic-vault.md`) — only if any move was strategic-class per spec §8.4: - New repo creation (vertical spawn, domain sub-stack) - New business decision (entity, revenue ...
Share bugs, ideas, or general feedback.
Close the current /yolo session cleanly. Run only when no action is in flight (if one is, use /yolo-abort instead).
Operational vault append (memory/vaults/operational-vault.md):
Strategic vault append (memory/vaults/strategic-vault.md) — only if any move was strategic-class per spec §8.4:
Memory Bus session-summary atom via mcp__memory-bus__memory_commit:
{
"kind": "yolo-session-summary",
"session_id": "<from audit log>",
"moves": [...],
"duration_ms": ...,
"ts": "<ISO>"
}
Cross-Repo Indexer re-index of session audit log (idempotent via sidecar state file).
Audit log finalize: append {"event": "session-close", "ts": "..."} and checksum the file.
Drift detection (post-session pass): diff committed-this-session against audit-log proposed actions. Any committed change not in audit log → append to memory/_audit/yolo/_drift.jsonl for next session to surface.
Phase-in counter: increment private/yolo-scope.json::phase_in.session_count. If session_count >= 3 && unlock_review_passed === false, mark pending_phase_in_review: true so the next /yolo opens with a Phase-In Review prompt (spec §14.1).
Monthly roll-up trigger: if this is the first /yolo session of the calendar month closing (check operational vault for prior-month entries), produce the monthly digest per spec §8.3 (sessions count, $ spent, moves shipped, drift events, board verdicts, repos most-touched) and append to operational vault.
Final message: session ID + duration + move count + $ spent + persistence chain status (each step ✓ or ✗) + drift flag count + phase-in counter status.
Built on SIP · /yolo-exit · v1.0.0