deepseek-harness/packages/session-persistence/session-persistence-jsonl/tests
Tianyi Cui db0b43bf86 persistence: advance schemas after removing policy columns
The simplification deletes sandbox_mode and approval_policy from the parent branch's SQLite layouts. Restoring master's older version numbers would violate the monotonic schema contract and could make a database created by the parent look current under a different layout.

Advance durable session persistence from schema 11 to 12 and the disposable session-query index from 6 to 7. The former rejects the incompatible parent layout; the latter resets its derived tables through the existing version-mismatch path.

JSONL shares SESSION_FORMAT_VERSION 0 during pre-release, so explicitly reject the retired sandboxMode and approvalPolicy header fields instead of silently dropping the only inherited policy facts from a parent-produced child log. New logs carry those facts as ordinary seeded events.

Focused JSONL, SQLite persistence, and SQLite query suites cover all affected source lines and branches.
2026-07-28 21:40:51 +08:00
..
jsonl.spec.ts persistence: advance schemas after removing policy columns 2026-07-28 21:40:51 +08:00
win32.spec.ts fix(jsonl): handle filesystem path aliases 2026-07-24 21:50:11 +08:00
zstd.compat.spec.ts feat(persistence): compress JSONL logs with Zstandard 2026-07-20 00:06:21 +08:00
zstd.spec.ts fix(session): resolve packed default without schema 2026-07-27 03:54:03 +08:00