v3.10.42 β community bug batch: Windows path validation, trajectory feedback, init hooks
Patch release fixing three reproducible community bugs reported by @grym3s, batched in the style of v3.10.41 / PR #2346.
Fixes
#2352 β hooks post-edit: Windows paths rejected, failure printed as [OK]
validatePathused the generalSHELL_METAset which includes\, so every absolute Windows path (E:\Repos\β¦) failed with"shell metacharacters". Claude Code hook events deliver absolute paths intool_input.file_path, so every forwardedpost-editcall failed silently on Windows.- The CLI action printed
[OK] Outcome recorded for β¦whenever the MCP call returned at all, masking the failure. Now checksresult.success, surfaces the error, and exits non-zero.
#2351 β trajectory-end: step-less feedback never distilled
When trajectory-end is called with feedback but no recorded steps (the common LLM-agent case), the feedback was persisted with the trajectory but never embedded as a searchable pattern β patternsExtracted always reported 0 and pattern-search never surfaced it. Now routes the trimmed feedback through bridge.bridgeStorePattern (or store-fallback) with modest default confidence, tagged trajectory-feedback. New feedbackDistilled.{patternId, controller} field on the response.
#2350 β init hooks: subcommand wrote no hooks block to settings.json
The settings generator gates the hooks block on components.helpers (the hook commands point at the helper script). The init hooks subcommand had helpers: false, so the one subcommand whose purpose is "Initialize only hooks configuration" produced settings.json with no hooks key while reporting "N hooks enabled". Helpers now ship with the subcommand.
Install / upgrade
npx ruflo@latest init # 3.10.42
npx @claude-flow/cli@latest # 3.10.42All three packages (@claude-flow/cli, claude-flow, ruflo) and all three dist-tags (latest, alpha, v3alpha) are pinned to 3.10.42.
Tests
- New
validate-input-path-2352.test.tsβ 22 tests pin Windows-path acceptance, POSIX still works, all shell metacharacters and traversal still rejected. - All existing
validate-input,init-wizard-bugs,hooks-intelligence-learning,hooks-post-tasktests still pass.
Diff
PR #2355 Β· mainβ¦v3.10.42
π€ Generated with RuFlo