archived-session-management
Installation
SKILL.md
Archived Session Management
Implement archived-session UX as an end-to-end feature, not a single-button patch. Archived session work spans the Control UI, gateway RPC handlers, transcript file moves, the session_history SQLite index, and the live sessions.json store.
Core workflow
-
Inspect the whole chain first
- UI list/search rendering
- gateway methods for
sessions.archived,sessions.resume,sessions.deleteArchived - archive/restore helpers in
src/gateway/session-archive.ts - history DB filters in
src/config/sessions/history-db.ts - live session store behavior in
sessions.json
-
Treat these as separate failure classes
- archived list cannot find a real session
- archived list finds the session but resume fails
- resume works but opens the wrong live session
- session vanishes from both Live and Archived due to DB/store drift