Skip to content

v2.1.5

Choose a tag to compare

@nokhodian nokhodian released this 16 Jul 22:47

Fix: npm-published package was shipping stale .claude helpers

Several fixes had only ever been applied to this repo's own root .claude/helpers/ and never ported to packages/@monomind/cli/.claude/helpers/ — the copy that actually ships to npm and that npx monomind init/upgrade copies into consumer projects. Every prior release including 2.1.4 was still shipping the stale code.

Ported into the published package source:

  • capture-handler.cjsderiveSubagentSuccess now uses the transcript's last tool_result is_error as an authoritative failure signal. Previously it was a false-blind text-keyword check that kept the routing-feedback success flag permanently stuck at 100% true, making the routing-learning signal useless.
  • gates-handler.cjs — the monofence-ai threat-scan integration for PreToolUse Write/Edit was entirely missing from the published package.
  • route-handler.cjs — the intelligence-embedding routing bridge (SONA/ReasoningBank read path) and real keyword-match-count confidence scoring were missing.
  • hook-handler.cjs — security-gate-ordering fix so the block/allow decision is computed and awaited before slower enrichment work, closing a fail-open race under the global 5s timeout.
  • router.cjs — routing confidence now reflects actual keyword-match count instead of a static constant.

Packages published: monomind@2.1.5, @monoes/monomindcli@2.1.5