codeburn/tests/fixtures/dsh
ozymandiashh 78d9cea13c
Read DSH session format v4 written by dsh 0.2.0-rc.2 (#1612)
* Read DSH session format v4 written by dsh 0.2.0-rc.2

dsh 0.2.0-rc.2 stamps every session log v4, so discovery skipped each one
and DeepSeek Harness contributed no usage anywhere (#1584).

Admitting v4 only after verifying the reader's whole consumption surface
against DSH's official sessionFormatCatalog (recovery: 'strict',
validation: 'current', @deepseek-ai/dsh-session-format-catalog@0.2.0-rc.2),
per the semantic-update rule docs/providers/dsh.md prescribes for format
bumps: dense seq, usage at assistant/message data.usage (plus a new
informational totalTokens sum) or the embedded stream, tagged end-seed
inheritance, and llm/retry-started attempt slots are all unchanged. What
v4 does change (tool-result role lift, plugin: tag namespacing, surfaceOp
append/replace metadata, new header fields, untagged end-seed markers in
unseeded sessions) is ignored or already handled.

Adds catalog-validated v4 fixtures (same buckets as v0-v3 plus the
informational totalTokens) and extends the per-version parse tests to v4.
Bumps the dsh parse version so cached skip-era sessions recompute.

Verified end to end against a real 0.2.0-rc.2 log: doctor reports the
session readable, and the parsed totals (12 calls, input 11783, output
3699, cache read 107520) match the official catalog artifact exactly.

* daily cache v52; drop unused field

---------

Co-authored-by: Resham Joshi <65915470+iamtoruk@users.noreply.github.com>
2026-10-05 11:54:55 +02:00
..
bash-tool-turn.jsonl fix(dsh): correct usage attribution against the real session format 2026-08-17 10:59:52 -07:00
v0.jsonl Fix DSH v0-v3 session discovery and usage accounting 2026-09-11 12:40:36 +08:00
v1.jsonl Fix DSH v0-v3 session discovery and usage accounting 2026-09-11 12:40:36 +08:00
v2.jsonl Fix DSH v0-v3 session discovery and usage accounting 2026-09-11 12:40:36 +08:00
v3-retry.jsonl Fix interleaved DSH accounting and preserve inclusive output 2026-09-11 21:12:15 +08:00
v3.jsonl Fix DSH v0-v3 session discovery and usage accounting 2026-09-11 12:40:36 +08:00
v4-retry.jsonl Read DSH session format v4 written by dsh 0.2.0-rc.2 (#1612) 2026-10-05 11:54:55 +02:00
v4.jsonl Read DSH session format v4 written by dsh 0.2.0-rc.2 (#1612) 2026-10-05 11:54:55 +02:00