mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-23 13:29:08 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| bash-tool-turn.jsonl | ||
| v0.jsonl | ||
| v1.jsonl | ||
| v2.jsonl | ||
| v3-retry.jsonl | ||
| v3.jsonl | ||
| v4-retry.jsonl | ||
| v4.jsonl | ||