alt+t · fleet detail136×31 · croplive capture
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ 1242 │ SessionEndReason (type) │ "quit" | "reload" | "new" | "resume" | "fork" — pi's │
│ │ │ session_shutdown reasons. │
├──────┼──────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────┤
│ 1257 │ registryShutdown(reason?): Promise<void> │ Session-shutdown cleanup: kill panes, clear toast timers, stop │
│ │ │ controls; replacement reasons also retire in-memory records. │
└──────┴──────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────┘
<results>
<files>
- /home/user/torus/extensions/fsutil.ts - shared filesystem/formatting/timing helpers; 20
exported symbols listed above
- /home/user/torus/extensions/registry.ts - delegation registry; 58 exported symbols (types,
functions, constants) listed above
</files>
<answer>
Complete export inventories for both files with one-line summaries per symbol, derived from full reads of both files plus their doc
comments. fsutil.ts is the state/filesystem foundation (project keys, state/scratch dirs, JSON IO, pruning, caching, formatting);
registry.ts is the delegation/fleet runtime (records, tmux panes, beacons, steering, rehydration, teams, external runs).
</answer>
<next_steps>
Ready to proceed — no follow-up needed. If you want cross-references (who imports each symbol), say which symbol and I can grep usage
sites.
</next_steps>
</results>
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
torus fleet · explorer glm-5.3-flash ✓ done 8t · 29.2k→3.9k · $0.0109 · 50s · j/k scroll · g/G ends · [esc] back · 01a1d241-3385-769d-a…
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ RECORD_TEXT_CAP │ const │ 4000-char bounded head of final text kept on finished/rehydrated │
│ │ │ records. │
├─────────────────────────────────────────────────┼─────────────┼────────────────────────────────────────────────────────────────────┤
│ parseLastTurnText(raw) │ function │ Extract the last turn block from a raw log, undoing the two-space │
│ │ │ child indent and stripping markers. │
├─────────────────────────────────────────────────┼─────────────┼────────────────────────────────────────────────────────────────────┤
│ readFullRecordText(record) │ function │ A record's complete final text read back from its log; null when │
│ │ │ unreadable. │
├─────────────────────────────────────────────────┼─────────────┼────────────────────────────────────────────────────────────────────┤
│ rehydrateFromLogs(currentSessionId?) │ function │ Rebuild registry records from the project's delegation logs after │
│ │ │ a resume (capped at 50, skips live foreign beacons). │
├─────────────────────────────────────────────────┼─────────────┼────────────────────────────────────────────────────────────────────┤
│ SessionEndReason │ type │ "quit" | "reload" | "new" | "resume" | "fork" — pi │
│ │ │ session-shutdown reasons. │
├─────────────────────────────────────────────────┼─────────────┼────────────────────────────────────────────────────────────────────┤
│ registryShutdown(reason) │ async │ Session-shutdown cleanup: kill panes, drop toasts/controls; clears │
│ │ function │ records for replacement reasons. │
└─────────────────────────────────────────────────┴─────────────┴────────────────────────────────────────────────────────────────────┘
</answer>
<next_steps>
Both files are shared modules imported by the extension set (`registry.ts` imports `fsutil.js` directly). If you need per-symbol call
sites, grep for the symbol name across `extensions/` — most consumers are the delegation, fleet, roster, and memory extensions.
</next_steps>
</results>
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
torus fleet · explorer glm-5.3-flash ✓ done 6t · 31.0k→3.2k · $0.0090 · 38s · j/k scroll · g/G ends · [esc] back · 01a1d240-5902-748e-9…
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────