Skip to content

Optimax v0.4.0

Pre-release
Pre-release

Choose a tag to compare

@shafqatevo shafqatevo released this 30 Nov 10:03
4349fae

Optimax v0.4.0

Optimax v0.4.0 adds opt-in ledger git sync, so model-perf learning survives fresh cloud containers and parallel threads. It is off unless you opt in with OPTIMAX_SYNC=1 or on --scope project|user --sync. It includes the v0.3.1 Codex hook fix.

Changes

  • Ledger sync. performance.py sync [--push] commits only the exact ledger path and, with --push, pushes HEAD to the current branch without force. It refuses detached HEAD, protected branches (main, master, trunk, release/*, OPTIMAX_SYNC_PROTECTED globs) and the remote's default branch, and never bypasses git hooks. Without opt-in it reports sync_disabled; OPTIMAX_SYNC=0 or OPTIMAX_AUTOACTIVATE=0 make it a reported no-op. The first sync returns a publication_notice: user id, session ids, model ids and scores become git history.
  • Reconcile ("main wins, replay ours"). performance.py reconcile keeps the default branch's rows first and replays this thread's later runs through the controller's own validation, re-anchoring completed pairs where only the epoch differs and dropping true mismatches.
  • Git-tracked ledger binding. A ledger committed in the repository binds to the repository rather than its path, so a fresh clone can load it. Untracked, copied or forged files still fail closed.
  • Activation. Sync consent is stored separately (sync.local.json / sync.json), so 0.3.x resolvers are unaffected; off --scope and clear-default remove it, and resolve reports sync.
  • Contract. With sync on, the Orchestrator runs sync after each assessment and sync --push once before its final reply. Hooks stay read-only.

See CHANGELOG.md for the full list.

Qualification

  • Source. PR #6 was merged to main as 4349fae8d952f872211123c565496a4c634e1410.
  • Tests. 478 tests.
  • Live check. Live two-thread Claude Code acceptance.

Publication status

  • Asset: optimax-plugin.zip, 118,583 bytes, 21 files, SHA-256 6486cc6effaf7d69ff3591d3bad328610d970128d508825b3b2c7bc6a512b59b, built with python3 build_release.py from 4349fae8d952f872211123c565496a4c634e1410.
  • Codex users: trust the Optimax hook once with /hooks after updating.