deepseek-harness/.agents/notes/rejected/simplification
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
..
2026-06-20-assembled-assistant-messages-only.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-06-20-assembled-assistant-messages-only.md refactor(session): fold the session family into packages/session/ 2026-08-09 01:21:11 +08:00
2026-06-20-assembled-assistant-messages-only.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-06-20-drop-bash-output-spill-files.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-06-20-drop-bash-output-spill-files.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
2026-06-20-drop-bash-output-spill-files.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-06-20-drop-durable-step-boundaries.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-06-20-drop-durable-step-boundaries.md Merge refreshed docs/i18n-batch-cds-postmortem into docs/i18n-batch-rfc 2026-07-22 23:07:14 +08:00
2026-06-20-drop-durable-step-boundaries.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-06-20-fold-session-persistence-interface.i18n.yaml refactor(session-persistence)!: handle-based seam with a lifecycle-owned write path 2026-09-01 23:19:02 +08:00
2026-06-20-fold-session-persistence-interface.md refactor(session-persistence)!: handle-based seam with a lifecycle-owned write path 2026-09-01 23:19:02 +08:00
2026-06-20-fold-session-persistence-interface.zh.md refactor(session-persistence)!: handle-based seam with a lifecycle-owned write path 2026-09-01 23:19:02 +08:00
2026-06-20-truncate-interrupted-turns.i18n.yaml fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
2026-06-20-truncate-interrupted-turns.md refactor(session): fold the session family into packages/session/ 2026-08-09 01:21:11 +08:00
2026-06-20-truncate-interrupted-turns.zh.md fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
2026-07-12-collapse-workflow-to-foreground-core.i18n.yaml docs(i18n): include complete proofreading corpus 2026-08-12 12:30:19 +08:00
2026-07-12-collapse-workflow-to-foreground-core.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
2026-07-12-collapse-workflow-to-foreground-core.zh.md docs(i18n): include complete proofreading corpus 2026-08-12 12:30:19 +08:00
2026-07-12-prune-unused-skill-registry-api.i18n.yaml rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
2026-07-12-prune-unused-skill-registry-api.md rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
2026-07-12-prune-unused-skill-registry-api.zh.md rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
2026-07-19-fold-compaction-package-split.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-07-19-fold-compaction-package-split.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
2026-07-19-fold-compaction-package-split.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.i18n.yaml refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.zh.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
2026-07-26-dependency-swaps-rejected-by-nih-audit.i18n.yaml docs(api): describe Connection-owned transport 2026-08-27 22:26:30 +08:00
2026-07-26-dependency-swaps-rejected-by-nih-audit.md docs(api): describe Connection-owned transport 2026-08-27 22:26:30 +08:00
2026-07-26-dependency-swaps-rejected-by-nih-audit.zh.md docs(api): describe Connection-owned transport 2026-08-27 22:26:30 +08:00