Lesson 6 - Local agent refresh
ENPT

Refresh local agent sessions before opening a new front.

The command center becomes more useful when it sees the real local queue across Codex, Claude Code, Kimi, and Grok. This refresh turns scattered sessions into a short importable operating list.

Simple layer. Run the refresh, read the report, import only if it makes the cockpit clearer, then close three sessions or proof gates before starting anything new.
The script reads local session files, short sanitized snippets, timestamps, project paths, and status signals. It does not call the web, send messages, or publish private session data.
1. ScanCollect recent local sessions by agent.
2. ClassifyMark continue, extract task, validate, or archive.
3. ImportCreate a cockpit JSON only you choose to load.
4. ClosePick three items and finish proof gates.

Run the refresh

node work/life-os-agent-session-refresh.mjs

# then open:
outputs/life-os-command-center/agent-session-refresh.md
outputs/life-os-command-center/agent-session-import.json

Review the queue

ContinueRecent sessions that deserve one more proof gate.
ExtractOlder work that should become a task or note.
ValidateRuns with error or blocker signals.
ArchiveClosed loops that should stop asking for attention.

Import into the cockpit

Open outputs/life-os-command-center/index.html, click Importar JSON, and choose outputs/life-os-command-center/agent-session-import.json. Nothing is imported until you choose the file.

Proof from this run

The refresh imported 186 local sessions: Codex=60, Claude Code=60, Kimi=14, and Grok=52. It also wrote a Markdown report, a structured JSON snapshot, and a cockpit import JSON. Verify with node work/verify-life-os.mjs.