Skip to content

Optimax v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@shafqatevo shafqatevo released this 29 Nov 13:50
bf4df04

Optimax v0.3.0

Optimax v0.3.0 adds opt-in standing activation defaults and a read-only Claude SessionStart hook that applies them, so a session can start Optimax through the same explicit on path without you typing it each time. It also fixes issue #3 and mitigates, but does not enforce, issue #2. Installing the plugin still does not turn Optimax on; you set a default yourself.

Changes

  • Standing defaults. on --scope project|user and off --scope project|user save a per-user default. A project default lives in .git/optimax/activation.local.json (or .optimax/activation.local.json with a .gitignore for a root without .git); a user default lives in ~/.optimax/activation.json or $OPTIMAX_PREFS_PATH. Precedence: kill switch (OPTIMAX_AUTOACTIVATE=0), project preference, OPTIMAX_DEFAULT, user preference. A saved default is consent to run the explicit activation flow, not an active session. A default saved under an older activation policy must be reconfirmed. A committed .optimax/team.json can only suggest a default and never enables Optimax.
  • Binding and safety. Project preferences record their checkout root and are ignored if copied from another checkout, missing a root, or (POSIX) not owned by the current user. An invalid project preference blocks lower layers instead of falling through.
  • SessionStart hook. hooks/hooks.json runs skills/optimax/scripts/activation.py hook. It writes nothing, never reads ledger contents, always exits 0, and emits fixed-template context. On startup or clear with a default on, it tells the model to load the skill and run on --source auto:<source>.
  • Activation source. on --source explicit|auto:project|auto:env|auto:user is added. auto:* is refused unless the resolved default is on and matches, or if the session already has an on or off state. status now reports session_state, source and the resolved default.
  • Issue #3 fixed. performance.py and work_breakdown.py no longer depend on the script directory being on sys.path and run under python3 -I and -P, including --help.
  • Issue #2 mitigated, not enforced. On resume and compact, the hook emits a reminder to check status and re-apply the enabled-session execution contract, when a default is on or the project has a model-perf/ directory (existence check only). This is conditional context; whether it is followed depends on the model. Issue #2 is closed as mitigated.
  • Release build. Rollback is fixed when a replaced archive reuses its predecessor's inode. The archive now includes the hook and activation.py.

See CHANGELOG.md and INSTALL.md ("Turn it on by default") for the full list of review fixes and details.

Qualification

  • Source. PR #4 was merged to main as bf4df0441f8cb368d93e41a8b8d2831e7e0575bb. The runtime candidate is commit 22a4b0adfe3f1ed6404bb3c100d14bb863237aee; later commits are documentation only, and the archive built from main is byte-identical.
  • Tests. python3 -B -m unittest discover -s tests: 449 tests OK (Linux, Python 3.13.18).
  • Review. Three independent review rounds found 12, then 3, then 0 code findings; all were fixed with tests.
  • Live check. Claude Code 2.1.332 on Linux loaded the archive through session-only --plugin-dir in print mode, and all 22 files matched source. With a project default on, Haiku 5.5 activated in 4 of 4 runs with source auto:project. That is four runs of one model, not a compliance rate. On the superseded candidate fa3d363 the same check activated 0 of 4, which led to the final hook-wording fix; earlier candidate 4343510 activated in its single run. Other cases (off, kill switch, reconfirm, resume, environment default, compact/clear, forged committed preference) were observed at hook level on earlier candidates and not re-run on the final commit. Details are in docs/VERIFICATION.md and docs/CLAUDE-ACCEPTANCE.md.

Publication status

  • Asset: optimax-plugin.zip, 100,975 bytes, 22 files, SHA-256 eb41ddc941ad85f40dd5f5cd235a582f48ba15707ff5e296ff36db62dc515387.
  • The v0.3.0 tag and this GitHub Release were published by the maintainer on 2026-11-29 from bf4df0441f8cb368d93e41a8b8d2831e7e0575bb.
  • Marketplace catalogs (alo-labs/agent-plugins, Claude and Codex) now point to v0.3.0 (alo-labs/agent-plugins#1).
  • The Pages site is unchanged.

Limits

  • No cloud Claude Projects or account-synced hook firing was verified; see INSTALL.md "Cloud and Claude Projects" for the persistence caveats and the manual fallback.
  • No Codex hook execution was verified.
  • No Windows testing.
  • No marketplace or main-profile installation was tested; only session-only --plugin-dir.
  • Print mode only, not the interactive TUI.
  • Haiku runs only, so there is no cross-model or statistical compliance claim.
  • Issue #2 is mitigated by reminder text, not enforced.