mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Review fix (ds-review-bot on #623): matching baselines with differing seedLength still resolve different policies — overrideOf folds own switches past the boundary, so a stored seedLength: 1 marks event 0 as subsumed seed history while a live seedLength: 0 lets the same event tighten the session; adoption retained the stored header and a restart silently restored the wide baseline. When either side carries a baseline, the seed boundary is part of the policy identity and a mismatch rejects as an id collision. Red-first in the shared coordinator contract (both backends).
session-persistence/ — persistence capability family
English | 中文
The durable session-persistence seam and its storage backends. The interface package owns the abstract SessionPersistence service and the shared write coordinator; the backends are concrete implementations that register on ctx.sessionPersistence. All product packages.
| Package | Role | ctx key |
|---|---|---|
session-persistence/ |
Persistence seam + shared write coordinator | ctx.sessionPersistence |
session-checkpoint-policy/ |
Semantic durability barriers for agent requests and tool execution | (wraps ctx.llm / ctx.tools, listens on agent events) |
session-persistence-jsonl/ |
JSONL-sidecar persistence backend | (registers ctx.sessionPersistence) |
session-persistence-sqlite/ |
SQLite persistence backend | (registers ctx.sessionPersistence) |
The interface lives at session-persistence/session-persistence/; backends are flat siblings. A new storage backend joins here and registers on ctx.sessionPersistence. See session persistence.