Skip to content

Harness 0.3.0

Choose a tag to compare

@cptnbg cptnbg released this 10 Oct 09:45
· 6 commits to main since this release

Pairs with Router 0.3.0.

Added

  • Add window-relative checkpoint reminders and a private context pressure file for Router.
  • Default checkpoint reminders to 65% and 85% of the live context window; explicit remind_at and urgent_at stay fixed token counts.
  • Add read-only install.sh --status with versions, hook registration, files, token budget, last hook write, and plugin state.
  • Add --purge to remove Harness backups alone or after --uninstall; use --dry-run to preview.
  • Add generated Claude Code plugins for Harness and shared roles; script-installed hooks take precedence.
  • Add a cache-hit percent segment to the Claude statusline.
  • Add a Claude-only warning for expired resume caches when the host supplies that signal.
  • Add CI checks, a release-notes script, and SECURITY and CONTRIBUTING guides.
  • Add a VERSION stamp to the install manifest and preflight both hosts before installation.

Changed

  • Restore checkpoint sections in priority order with recent lines, Git facts, and In flight work after compaction.
  • Require TASK and RETURN for the sweeper, researcher, and planner roles, and all four fields (TASK, FILES, BAR, RETURN) for judge and the other shared roles; keep the same brief rule in Codex TOML files.
  • Keep Router-claimed roles unchanged on install; move shared roles to 0.3.0 bytes after both tools are upgraded.
  • Upgrade cleanly by removing unchanged files no longer shipped while keeping edited files and listing both.
  • Restore original settings bytes and mode without group or other write when a backup matches exactly, otherwise in standard JSON layout, in either install or uninstall order with Router 0.3.0; reruns after Router edits settings make no change.
  • Show Codex token counts when price data is unavailable and leave the spend segment empty when usage is incomplete.
  • Stop hook entry scripts from writing bytecode.

Fixed

  • Block destructive Git, filesystem, download-to-shell, and unsafe background shell commands on both hosts, including disguised downloads and protected paths after directory changes.
  • Keep the newest checkpoint line tail and detached HEAD facts during restore.
  • Remove the empty folders a 0.1 or 0.2 Harness or Router install made when the last tool leaves.
  • Keep an existing settings file's mode when Harness rewrites it; a new settings file is private.

Upgrade notes: run both installers from their 0.3.0 checkouts. A 0.2 installer run after a 0.3 sibling refuses; once both are upgraded, the first tool's next run quietly updates its own shared-role record.