Skip to content

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 14:36
· 117 commits to main since this release

v1.4.1

Patch release closing the three confirmed P1 reliability gaps from the paranoid maintainer audit, plus two secret-display fixes and their regression tests.

Fail-closed session persistence

  • A failed session save mid-run is now a first-class condition: the driver latches a sticky degraded state and cancels the run context, so no further side-effecting tools execute against a stale file.
  • The run exits terminal (non-zero) instead of pretending state is durable, including when adoption writes (heal/agent alignment) or supervisor bookkeeping fail.
  • Supervisor restart accounting is verified against the session file: an unverified mirror write stops supervision instead of spending budget the file cannot account for.

Verification-aware exit status

  • New ExitUnverified (5): EventDone exits 0 only with a verified status; partial/unverified completions exit non-zero while still printing their output.
  • Plain chat is unaffected (zero tool calls report verified, as before).
  • ff supervise parks on unverified completions instead of treating them as success, and the exit-code contract is documented in docs/Recovery.md.

Bounded live shell output

  • Live onChunk stream output now shares the tool byte budget: the first line past the cap is replaced by a single truncation marker, then the stream goes quiet.
  • Shell is the only production streaming tool, so this closes the channel end to end; normal small output streams byte-identical with no marker.

Secret-display fixes

  • The headless permission prompt no longer prints raw arguments (including env objects) to stdout.
  • The TUI approval modal now scrubs non-string argument values the same way it already scrubbed strings.

Correctness

  • Portable MCP cwd assertion in tests; gitleaks ignore for a flagged false positive.
  • Full test suite and go vet pass; every new behavior above is pinned by regression tests proven to fail against the old behavior.

Full Changelog: v1.4.0...v1.4.1