v0.22.6
[0.22.6] - 2026-06-09
Schema Compatibility
- No schema compatibility changes.
Fixed
active-task.txtno longer reverts to a stale registry focus on every
session start (#42).SessionStartpipedactive-tasks.mjs focusedinto
.harness/state/active-task.txt, so a hand-set active task was clobbered by
the multi-task registry'sfocusedid. Because the mirror was one-directional
(registry → mirror), the manual edit never updated the registry and kept
reverting on the next session — making the PreToolUse permission guard and the
Stop completion gate evaluate the wrong task contract. A new
active-tasks.mjs sync-mirrorcommand reconciles the two: when
active-task.txtnames a different, valid task it is adopted into the registry
(auto-opened) so the registry catches up and the drift cannot recur; otherwise
the registry focus is mirrored without rewriting the registry.SessionStart
now callssync-mirrorand lets the script own the mirror write, leaving the
value untouched onnodefailure instead of clearing it.
Full history: CHANGELOG.md
Install: npx agent-harness-kit@0.22.6 init