deepseek-harness/apps/cli/tests
Turtle bec6805d6a refactor(session-persistence)!: handle-based seam with a lifecycle-owned write path
The persistence seam is now create/open/stat/list returning per-session
SessionHandles (read/append/flush/close); every log read and write flows
through the owning handle. The seam package exports only the service and
handle contracts, consumer-visible errors, and pure durable-data
validation helpers; each backend owns its complete storage runtime, and
the shared contract suites pin equivalent observable behavior. The
backend routes published sessions' live events by id into the active
write handle; agent-loop only acquires, seeds, and closes the handle.
Resume appends interruptedTurnClosers through its write handle;
session-query owns the revision-keyed cold cache. Legacy-only surfaces
are removed in the same swap: locate/readRaw/supportsRawArtifacts, the
legacy event-shape read migration, zstd torn-frame salvage,
DSH_SESSION_JSONL, and hook transcript_path population; a torn final
zstd frame is discarded whole; the session-list cold blank probe returns
on stat metadata (eventCount derived from the last physical row,
sizeBytes). The WebUI ZIP export serializes the logical log from a read
handle, so both backends export identically.

Refs #3245
2026-09-01 23:19:02 +08:00
..
fixtures Merge remote-tracking branch 'origin/master' into xtr/session-projection-migrations 2026-08-26 13:36:05 +08:00
profiles refactor(session-persistence)!: handle-based seam with a lifecycle-owned write path 2026-09-01 23:19:02 +08:00
agent-team-headless.e2e.ts fix(profile): preserve current fallback architecture after rebase 2026-08-26 00:15:18 +08:00
args.spec.ts feat(web,cli): open the ready Web UI by default 2026-08-19 15:42:12 +08:00
built-bin.e2e.ts refactor(bundle): remove the agent spine demo 2026-08-31 11:23:30 +08:00
dsh-badge.expected.e2e.ts fix(test): use expected-output naming 2026-08-24 21:37:14 +08:00
github-webhook-real.e2e.ts perf(history): retain packed records in client 2026-08-25 20:13:54 +08:00
headless-shutdown.e2e.ts refactor(cli)!: complete app-owned profile startup 2026-08-10 23:45:04 +08:00
lazy-search-startup.compat.spec.ts feat(web,cli): open the ready Web UI by default 2026-08-19 15:42:12 +08:00
memory-mcp-configs.spec.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
process-shutdown.spec.ts fix(cli): drain native handles on normal exit 2026-08-09 21:44:57 +08:00
profile-hmr.spec.ts feat(bundle): ship the standalone sdk-minimal profile 2026-08-24 17:28:28 +08:00
source-launch.compat.spec.ts fix(cli): separate dsh from repository build 2026-08-12 15:37:03 +08:00
telemetry-switch.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
web-agent-presets.e2e.ts refactor(session)!: distinguish event seqs from log offsets 2026-09-01 20:36:00 +08:00
web-auth.e2e.ts refactor(connection): own RPC transport contracts 2026-08-27 22:26:29 +08:00
web-browser-open.expected.e2e.ts fix(web): authenticate the browser Host API 2026-08-25 14:23:45 +08:00
windows-shell.spec.ts rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00