Skip to content

v0.1.1 — sessions stay loadable

Latest

Choose a tag to compare

@Guard42 Guard42 released this 24 Aug 16:37
· 1 commit to main since this release

Fixed

  • Sessions no longer become unloadable after using review tools. flow_review_prepare / flow_review_decide no longer append custom humanize/* events into the session log. The stock harness persistence layer refuses to interpret a log containing an event type outside its catalog unless the envelope carries the ignorable marker — which is not expressible through the public session.append API — so any session in which a review ran failed history load and resume forever with SessionFormatUnsupportedError.

    Review state remains fully file-backed (.humanize/reviews/<id>/prepared.json, decision.json, review.md); visibility is carried by tool receipts and run event logs.

Added

  • Bundle packaging: installing as a DSH plugin (dsh plugin --profile <profile> add github:Guard42/dsh-humanize) auto-syncs the preset into the DSH preset root on startup; user-modified files are never overwritten on upgrade.

  • tools/repair-session-log.mjs: zero-dependency repair for logs damaged by ≤ 0.1.0 — scans the zstd frame container, adds "ignorable": true to unknown-type event envelopes, preserves every other byte, self-verifies before writing (dry-run by default, --apply writes after a .bak backup):

    node tools/repair-session-log.mjs "$env:USERPROFILE\.dsh\sessions" --scan          # inventory
    node tools/repair-session-log.mjs "$env:USERPROFILE\.dsh\sessions" --scan --apply  # repair

Full changelog: https://github.com/Guard42/dsh-humanize/blob/main/CHANGELOG.md