v2.2.0
monomind init now fully configures itself — no more manual follow-up commands
Fixes the 4 "unconfigured, not bugs" doctor warnings that used to require running memory configure, guidance setup, and hooks worker run manually after every init.
The real root causes, not just symptoms:
-
Guidance Gates secrets gate was never active on any released version.
settings-generator.tswired the Write/Edit/MultiEditPreToolUsehook to callhook-handler.cjs pre-edit— which isn't a registered dispatch command (onlypre-writeis;pre-editis a different, unrelatedmonomind hooks pre-editCLI subcommand). The dispatcher silently no-ops on any unrecognized subcommand, so the secrets-detection gate has never actually run for a project set up via defaultmonomind init. Fixed the wiring; verified live. -
Memory Database "initialization" was shelling out to
npx @monomind/cli@latest memory init— a package name that has never existed on npm (404). Every init silently failed and printed a misleading "already exists" message regardless of actual state. Replaced with a direct in-process call to the same functionmonomind memory inititself uses — no subprocess, no network dependency. Also fixed the identical broken package name in swarm-init and embeddings-init calls acrossinit.ts,init-wizard.ts, andswarm.ts's status hints (the generatedCLAUDE.mddocs already correctly warned against this old name — the code just never got updated to match). -
Worker Metrics / Security Audit only ever populated at the first real Claude Code session, so running
doctorright afterinitfrom a bare shell always showed them as unconfigured.initnow seeds.monomind/metrics/immediately via the same in-process worker pattern the session-start hook uses.
Verified live end-to-end: fresh init in a scratch project → doctor now shows Memory Database, Guidance Gates, and Worker Metrics all passing, and Security Audit correctly surfaces a real finding (not a placeholder) once the worker actually runs. Full CLI suite 773/774 (1 pre-existing skip) passing.
Packages published: monomind@2.2.0, @monoes/monomindcli@2.2.0