Repository navigation
Optimax v0.3.0
Pre-release
Pre-release
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|userandoff --scope project|usersave a per-user default. A project default lives in.git/optimax/activation.local.json(or.optimax/activation.local.jsonwith a.gitignorefor a root without.git); a user default lives in~/.optimax/activation.jsonor$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.jsoncan 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.
SessionStarthook.hooks/hooks.jsonrunsskills/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 runon --source auto:<source>.- Activation source.
on --source explicit|auto:project|auto:env|auto:useris added.auto:*is refused unless the resolved default is on and matches, or if the session already has anonoroffstate.statusnow reportssession_state,sourceand the resolved default. - Issue #3 fixed.
performance.pyandwork_breakdown.pyno longer depend on the script directory being onsys.pathand run underpython3 -Iand-P, including--help. - Issue #2 mitigated, not enforced. On resume and compact, the hook emits a reminder to check
statusand re-apply the enabled-session execution contract, when a default is on or the project has amodel-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
mainasbf4df0441f8cb368d93e41a8b8d2831e7e0575bb. The runtime candidate is commit22a4b0adfe3f1ed6404bb3c100d14bb863237aee; later commits are documentation only, and the archive built frommainis 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-dirin print mode, and all 22 files matched source. With a project default on, Haiku 5.5 activated in 4 of 4 runs with sourceauto:project. That is four runs of one model, not a compliance rate. On the superseded candidatefa3d363the same check activated 0 of 4, which led to the final hook-wording fix; earlier candidate4343510activated 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 indocs/VERIFICATION.mdanddocs/CLAUDE-ACCEPTANCE.md.
Publication status
- Asset:
optimax-plugin.zip, 100,975 bytes, 22 files, SHA-256eb41ddc941ad85f40dd5f5cd235a582f48ba15707ff5e296ff36db62dc515387. - The
v0.3.0tag and this GitHub Release were published by the maintainer on 2026-11-29 frombf4df0441f8cb368d93e41a8b8d2831e7e0575bb. - 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.