deepseek-harness/packages/core/session/tests
creatixchu 9186824e87 feat(session): refuse session logs a build cannot faithfully read
Old runtimes meeting a newer session format now fail loud instead of
misreading: version refusal names the direction (newer: upgrade the
harness; older: no upgrade path) and points at the raw JSONL log, and an
event type outside the generated known vocabulary refuses resume unless
its envelope carries the new ignorable: true marker (default: required,
so a forgotten marker over-refuses instead of silently resuming a gutted
session). gen-persistence-catalog now also emits
KNOWN_SESSION_EVENT_TYPES; SQLite stores the marker in a dedicated
column (SCHEMA_VERSION 15). The versioning design (monotonic integer,
n->n+1 upgrader chain, migrate-on-continue) is recorded in the
session-log-version-mechanism Agent Note.
2026-08-11 11:23:48 +08:00
..
chunk-rows.spec.ts refactor: migrate linting to Oxlint 2026-07-29 14:32:11 +08:00
derived-cache.spec.ts Merge remote-tracking branch 'origin/master' into xtr/react-loop-simplification 2026-08-05 13:53:35 +08:00
fork.spec.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
gen-persistence-catalog.spec.ts fix(client): consume typed business session events 2026-08-09 18:42:25 +08:00
invariant.spec.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
json.spec.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
properties.spec.ts Merge remote-tracking branch 'origin/master' into xtr/react-loop-simplification 2026-08-05 13:53:35 +08:00
repair.spec.ts test(session): align turn-end contract artifacts 2026-08-04 14:09:52 +08:00
request-header.spec.ts Merge remote-tracking branch 'origin/master' into xtr/react-loop-simplification 2026-08-05 13:53:35 +08:00
scoped.spec.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
session.spec.ts feat(session): refuse session logs a build cannot faithfully read 2026-08-11 11:23:48 +08:00
surface.spec.ts docs: replace vague provenance prose with recorded facts 2026-08-09 15:35:02 +08:00
typert.spec.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00