v3.32.10 β tracker-sweep (9 bug fixes + promo seed + follow-ups)
Summary
Tracker-fire sweep from the 2026-07-24 β 2026-07-26 window. Ten tracked bugs plus one cold-start regression, landed as six commits on the branch (seventh test-coverage commit incoming). Rebased against origin/main at v3.32.9 β one issue's proposed fix (Codex #2774) was based on an incorrect diagnosis and reverted during rebase.
Regression check: apples-to-apples fresh-worktree tests β origin/main baseline 98 failed / 3199 total, this branch 91 failed / 3199 total β net -7 failures, zero new failures introduced.
Commits
38f4eaebfβ main tracker sweep (9 fixes + promo seed)8933c6c8cβparser.ts:applyDefaultswalks command/subcommand options (#2775 root cause)b2a383079βmemory_storeMCP defaultsupsert=truefor CLI parity (#2775)3abb25823β CHANGELOG re-scope to 3.32.104c39225caβhooks_post-taskdual-writes routing decisions to JSON store (#2786 fix-2)72e6cd705β 3 parser regression tests for #2775 (52/52 β 55/55)
Fixed
- Statusline promo row blank on new installs β cold-start local seed pool restored (ADR-311 had emptied it). Cognitum remote pool (
funnel.ruv.io/v1/messages) remains authoritative viaeligibleMessagesFromPools(remote wins byid); seed only renders during the β€ 60s cold-start window before first successful remote fetch. Nine seed messages: 1 disclosure, 7 educational tips pointing atcognitum.onedocs, 1 promotional. (v3/@claude-flow/cli/src/funnel/messages.ts) - #2777 β
ruflo initno longer imports the entire ruvnet/ruflo repo (97 MB, 384 SKILL.md) into.agents/skills/ruflo/. Materializes single platform SKILL.md; detects bloated prior install and re-materializes. - #2781 β
ruflo-adr adr-indexno longer silently drops ADR data: status regex accepts- **Status**: proposed; single-line and wrapped relation lines parse fully;CLI_CORE=1warns and unifies on@claude-flow/cli@latest. Dry-run over 531 ADRs captures 608 edges cleanly. - #2770 β Windows:
browser-sessionMCP tools + two initexecFileSync('npx', β¦)sites now setshell: process.platform === 'win32'so cmd.exe resolvesnpx.cmd. POSIX behavior unchanged. - #2782 β
WorkerDaemon.saveState()+autopilot-state.saveState()+autopilot-state.appendLog()no longer race on shared.tmpfilename. All three callwriteFileAtomic(pid + timestamp + random-suffixed temp) with try/catch. - #2785 β
ruflo hooks post-taskaccepts--task/-tand--store-resultsflags per CLAUDE.md-documented usage. Routing outcomes finally persist to the namespacehooks_metricsreads. - #2786 β AgentDB no longer silently fails to initialize under
CLAUDE_FLOW_ENCRYPT_AT_REST=1. NewgetAgentDbPath()returnsagentdb-memory.dbin the same dir asmemory.db; ControllerRegistry (native better-sqlite3) opens a distinct file from the sql.js CRUD writer's encryptedmemory.db.- Follow-up #2786 fix-2:
hooks_metrics"Pattern Learning" / "Agent Routing" counters were stuck at zero because the sync readergetIntelligenceStatsFromMemory()reads.claude-flow/memory/store.jsonwhilehooks_post-taskwrites only to AgentDB. Fix: dual-write β after AgentDB write, mirror routing decision into the JSON store withmetadata.type: 'routing-decision'.
- Follow-up #2786 fix-2:
- #2776 β Statusline security segment:
STALE/IN_PROGRESSbranches reachable via local overlay recomputing freshness on every render from.claude/security-scans/scan-*.json. Env:RUFLO_SCAN_STALE_HOURS(24),RUFLO_SCAN_PENDING_CAP_MIN(30). STALE renders dim gray. - #2775 β Memory store to existing key no longer dead-ends. Four layers of fix:
bridgeStoreEntryusesINSERT ... ON CONFLICTwith tombstone auto-resurrect; UNIQUE returns typed error instead of null (no more misleading demotion into #2735 guard).bridgeDeleteEntryrunswal_checkpoint(PASSIVE).parser.ts:applyDefaultswalks command + subcommand options (root cause of--upsertdefault silently dropping β affected every subcommand-declared default, not just this one).memory_storeMCP tool schema defaultsupsert: truefor CLI parity.
Investigated / not fixed
- #2774 β Reporter's diagnosis "Codex MCP generator registers management CLI instead of stdio server" appears incorrect:
ruflo mcp startIS a working stdio server perv3/@claude-flow/cli/src/commands/mcp.ts(MCP Server started on stdio). Upstreamd20f1323b fix(codex): ship stable Windows-safe Ruflo integrationcleanly centralized the Codex MCP config inmcp-config.tsusing the same command shape. A proposed swap toclaude-flow-mcpwas reverted during rebase. Recommend closing unless a fresh repro against 3.32.9+ is produced. - #2786 fix-3 β
bridgeRecordFeedback()callslearningSystem.recordFeedback()/.record()andreasoningBank.recordOutcome({taskId, verdict, β¦})with signatures that don't exist onagentdb@3.0.0-alpha.18's actual API. Wrapped in silent catch. Genuine integration work β needs RL-session lifecycle management across separate CLI processes plus meaningful state/action/reward mapping. Deferred to a separate PR.
Test plan
-
pnpm installat repo root -
cd v3/@claude-flow/security && npm run buildβ tsc + OAuth export verify pass -
cd v3/@claude-flow/cli && npm run buildβ tsc exit 0 -
cd v3/@claude-flow/codex && npm run buildβ tsc exit 0 - CLI test suite on fresh worktree: 91 failed / 3031 passed / 77 skipped / 3199 total β vs origin/main baseline 98 failed / same total. Net -7 failures; sampled failing tests are WASM/sharp/env issues in files this PR does not touch.
- Parser tests: 55/55 pass (52 pre-existing + 3 new #2775 regression tests)
- Windows CI: exercise
browser-sessionMCP tools and initexecFileSync npxpaths to confirm theshell: process.platform === 'win32'fix. - Fresh install smoke:
ruflo initin an empty dir, check.agents/skills/ruflo/is a single ~2KB SKILL.md (not 97MB). - Statusline cold-start: on a clean
~/.ruflo/, firstruflo hooks statuslinerender shows a promo row from the local seed pool. - Encrypt-at-rest:
CLAUDE_FLOW_ENCRYPT_AT_REST=1 ruflo memory store β¦succeeds andagentdb-memory.dbappears next tomemory.db. -
hooks_metricsafter severalhooks_post-task --store-resultscalls: "Agent Routing" decision count is non-zero.
Closes: #2770 #2776 #2777 #2781 #2782 #2785 #2786 (main + fix-2)
Refs: #2775 (main fix inline + parser root cause + MCP parity)
Investigation: #2774 (proposed fix reverted; diagnosis appears incorrect against current main)
Deferred: #2786 fix-3 (agentdb LearningSystem API skew β architectural)
π€ Generated with RuFlo