Session closeout — canonicalize, verify, commit, produce handoff artifacts
You are closing a working session on The Long Walk. This skill is write-heavy and procedural. Execute all steps in order. Do not skip steps. Only ask questions if execution is impossible without clarification.
Reconcile everything from this session into durable artifacts.
~/.claude/projects/-Volumes-Queen-Amara-The-Long-Walk/memory/MEMORY.mddocs/CHANGELOG.mdIf anything was discussed but intentionally not done, record it. "We chose not to do X" is valuable.
Both stacks must pass before committing.
cd "/Volumes/Queen Amara/The Long Walk" && npx tsc --noEmit
Gate: If this fails, fix the type errors before proceeding.
cd "/Volumes/Queen Amara/The Long Walk" && npx tsc --noEmit -p server/tsconfig.json
Gate: Fix errors before proceeding.
cd "/Volumes/Queen Amara/The Long Walk" && npx vite build
Gate: Must succeed.
If any gate fails and you cannot fix it, stop and tell the user what's broken.
Review all modified files with git status and git diff. Stage files intentionally.
Never stage:
.env, .env.local, credentials filesnode_modules/, dist/Use atomic commits — one logical change per commit.
Commit message format: type(scope): description
feat, fix, docs, refactor, chore, testclient, server, viz, agents, docs, skillsgit commit -m "$(cat <<'EOF'
type(scope): description
Co-Authored-By: Claude Opus 4.6 <[email protected]>
EOF
)"
git push origin main
After pushing, deploy the latest code to Railway production:
Use the Railway MCP deploy tool with workspacePath="/Volumes/Queen Amara/The Long Walk"
Wait for deployment to complete. Verify the health endpoint responds:
curl -s https://the-long-walk-production.up.railway.app/api/health
Gate: Health check must return {"status":"ok"}. If it fails, check Railway logs via the MCP get-logs tool.
Save to docs/sessions/SESSION_LEDGER_{date}_{slug}.yaml
session_id: "{date}-{slug}"