refactor(tui): resume rows fold titles only, timestamp from artifact mtime

Rows no longer read logs for anything but the batch title fold: the
activity timestamp is a live session's last in-memory event time or the
artifact mtime via the optional sessionPersistence.locate(), falling
back to creation time; the last-turn, route, and goal columns are gone.
Route availability moves to the Enter-time preflight, which already
fully reads and replay-validates the one chosen log. The projectSessions
public API this PR had added to session-query is reverted — the change
is now confined to the TUI package.
This commit is contained in:
Turtle
2026-08-03 16:40:47 +08:00
parent 776cc6889a
commit 7077d6befc
25 changed files with 295 additions and 372 deletions

View File

@@ -55,8 +55,6 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
SessionEvent: 'core.md',
SessionId: 'core.md',
SessionStartSource: 'core.md',
LogicalProjectionResult: 'session-query.md',
LogicalSessionSource: 'session-query.md',
SessionLogSnapshot: 'session-query.md',
SessionSurfaceSnapshot: 'session-query.md',
ApprovalOutcome: 'approval.md',

View File

@@ -459,16 +459,6 @@
"symbol": "SessionTitleObservationResult",
"source": "packages/session-query/session-query/src/types.ts"
},
{
"doc": "docs/core-data-structures/session-query.md",
"symbol": "LogicalSessionSource",
"source": "packages/session-query/session-query/src/corpus.ts"
},
{
"doc": "docs/core-data-structures/session-query.md",
"symbol": "LogicalProjectionResult",
"source": "packages/session-query/session-query/src/corpus.ts"
},
{
"doc": "docs/core-data-structures/session-query.md",
"symbol": "SessionEventRecord",