Skip to content

v0.7.2 — post-rollout follow-ups

Choose a tag to compare

@shanemhamilton shanemhamilton released this 02 Jul 03:33
· 6 commits to main since this release
3916250

Patch release fixing three defects surfaced on the live fleet after the v0.7.x rollout.

Fixed

  • run_lock.parse_owner reads the legacy owner formats still on the fleet. Tolerates both key: value (v5) and key=value (legacy) on read, splitting each line on the first separator only (ISO timestamps stay intact), and normalizes variant field names (run_token→token, started_at→start). Writes remain v5-only. This makes LOCK-EXPIRED detection accurate for exactly the legacy locks it most needs to catch — previously they read as abandoned/OVERDUE. The reclaim safety invariant is unchanged: a lock is only reclaimed when its recorded PID is dead and its lease has expired, with read-back confirmation.
  • fleet_health.py and fleet_report.py no longer count reserved non-job directories as phantom jobs. Both skip dot-prefixed dirs (.archive, .disabled, .workspace-locks, .git) and the reserved suites/ name, and only treat a directory as a job when it contains the adapter's job file (codex → automation.toml, claude → SKILL.md, gemini → prompt.md).
  • lifecycle.py adopt wires a producer's hands_off_to to the target suite's integrator (parity with add) before validation, so adopting a producer no longer fails fleet rule 3 ("producer missing 'hands_off_to'") without a hand-edit.

Verification

All four selftest suites green on Python 3.11 and 3.12: lifecycle 80, optimizer 48, state 149, digest 44 — 0 failed.