Repository navigation
v1.20.3 — review hardening
1.20.3 — review hardening
Independent host/client/packaging review fixes, all with regression tests:
- Per-turn strip counts real tool errors (DSH
ToolChatData.root) and retries when its report cache predates the turn. - Settings writes merge inside the write queue (no lost fields);
windowTtlMs,reportOnTurnEnd,turnReportsandpromptHintnow apply live. - Failed
skillloads no longer open or supersede evidence windows. - Corrupt window/MCP records and invalid timestamps cannot crash reports or history.
- Release checks are falsifiable: canonical-route fails on restart skew, turn-boards cannot pass with zero boards, manual rows are INFO, and displayed weights always sum to 100.
- accept CLI reads the served dataDir and parses
--data-dircorrectly; the packaging doctor passes in an installed tarball and--releaseinspects its contents. - Versioned routes that answer 200 HTML fall back to canonical JSON for data and settings.
- Per-turn boards carry the settled turn; snapshots are atomic; analyzer/listener teardown is symmetric.
- Settings fence also blocks DNS-rebinding Hosts; 403/413/rebinding tests added.
- Dev tab renders settings file and warning count; settings labels are accessible; score colours follow configured thresholds.
Tests: 258 passing (npm test). doctor and doctor --release pass; verify-live is 7 checks + 2 manual.