deepseek-harness/packages/core/session/src
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.ts docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
index.ts feat(session): refuse session logs a build cannot faithfully read 2026-08-11 11:23:48 +08:00
invariant.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
json.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
known-event-types.ts feat(session): refuse session logs a build cannot faithfully read 2026-08-11 11:23:48 +08:00
preparation.ts feat: add reusable session preparation 2026-08-06 04:11:57 +08:00
repair.ts docs: replace vague provenance prose with recorded facts 2026-08-09 15:35:02 +08:00
request-header.ts fix(agent-loop): rematerialize adapter defaults 2026-07-30 21:49:58 +08:00
surface.ts docs: replace vague provenance prose with recorded facts 2026-08-09 15:35:02 +08:00
types.ts feat(session): refuse session logs a build cannot faithfully read 2026-08-11 11:23:48 +08:00