Skip to content

Optimax v0.6.0

Pre-release
Pre-release

Choose a tag to compare

@shafqatevo shafqatevo released this 30 Nov 21:49
ea09dab

Optimax v0.6.0

Optimax v0.6.0 makes ledger git sync a per-project setting. A repository turns it on by committing .optimax/team.json with {"schema":1,"sync":"on"}. Nobody turns it on alone any more.

Changes

  • Per-project sync. performance.py sync [--push] and reconcile run only when PROJECTROOT/.optimax/team.json asks for sync, is committed in git HEAD, and matches the working file byte for byte. An uncommitted, staged-only, locally modified or symlinked file is refused (team_not_committed, team_modified, team_symlink, team_unverified). "sync": "off" is an explicit project off. The schema is strict: schema 1 plus suggest and/or sync, each "on" or "off".
  • Personal opt-out. OPTIMAX_SYNC=0 beats team.json. The kill switch OPTIMAX_AUTOACTIVATE=0 still beats everything.
  • Retired personal enablers. OPTIMAX_SYNC=1 alone no longer enables sync (team_sync_required), and on --scope … --sync is refused with a pointer to team.json. Consent files saved by 0.4.0 or 0.5.0 are ignored and reported (sync_consent_ignored), never deleted automatically.
  • On sessions only. sync and reconcile refuse with session_not_on unless --session is on in the ledger, before any fetch or write.
  • Activation unchanged. team.json never activates Optimax; it only suggests, and its sync setting matters only in sessions that are already on. resolve and status report team_sync, sync, sync_source and sync_reasons.
  • Hook. The SessionStart hook stays read-only and never runs git. At startup, when a default is on or the project has a model-perf/ directory and team.json asks for sync, it adds one line saying the ledger will be committed and pushed, and that the first sync's publication_notice must be shown.
  • Older readers. 0.3.0-0.5.0 resolvers read a team.json with a sync key as corrupt_team (no suggestion line), with activation otherwise unaffected, and older sync gates never read team.json.

See CHANGELOG.md for details.

Qualification

  • Source. PR #10 was merged to main as ea09dab610ed67c0d52ccb603a4afad1dfa1594d.
  • Tests. 882 tests.
  • Live check. Live Claude Code acceptance run.

Publication status

  • Asset: optimax-plugin.zip, 199,722 bytes, SHA-256 92900b1883e64d9986ce413c7cd56f1f2ff4dd28d0486aab61c43031d31ba84d, built with python3 build_release.py from ea09dab610ed67c0d52ccb603a4afad1dfa1594d.
  • Codex users: if /hooks shows the Optimax hook as new or modified after updating, trust it again.