mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
Four open issues fixed on this branch; #2246 already shipped in source, #2243 and #2259 documented as out-of-scope here (see body). #2267 — v3-ci.yml YAML parse failure on main (5 consecutive failures, 0 jobs created). Root cause: unquoted ": " inside step name "Guard 2 — smoke: generate .cjs ..." — YAML parser saw `smoke:` as a second mapping key. Quote the name. File now parses to 52 jobs. #2257 — `.claude/helpers/router.js` mis-routes at 80% confidence via unanchored regex. Tokens like `cd`/`ci`/`ui`/`add`/`structure` matched inside `decision`/ `infrastructure`/`address`/`addendum`. Switch to a token-list schema with `\b` word boundaries on single tokens (phrases keep whitespace as a natural boundary), drop matched-confidence 0.8→0.6 and fall-through 0.5→0.3 since this is a static heuristic, not a learned classifier. Fixed in canonical generator (`src/init/helpers-generator.ts::generateAgentRouter`) plus the two in-repo snapshots (`v3/@claude-flow/cli/.claude/helpers/`, `v3/@claude-flow/mcp/.claude/helpers/`). Validated against all 11 reported mis-route cases; generator output verified. #2256 — `--version` blocks 60+ s on cold ONNX cache (SIGTERM under 60s timeouts including npx default and MCP stdio 30s window). Short-circuit `--version`/`-V` in bin/cli.js *before* any heavy import — read version straight from package.json and exit. Measured: 60s+ → ~31ms. Does not affect `<cmd> --help` lazy command loading. #2253 — MCP stdio mode pollutes stdout with ONNX init progress, corrupting JSON-RPC and breaking Codex/strict clients. Extend log-filters.ts to redirect known third-party embedder progress prefixes (`Loading model: `, ` Downloading: `, ` Cache hit: `, ` Disk cache hit: `, `Model cache cleared`, `🚀 Initializing `, `✅ `) from console.log to stderr. Filter installed in BOTH `bin/cli.js` (so MCP-mode path benefits before mcp-client.js imports) and `src/log-filters.ts` (CLI mode). Verified end-to-end: `echo '<jsonrpc>' | node bin/cli.js` now returns clean `{"jsonrpc":"2.0","id":1,"result":...}` on stdout with all noise on stderr. #2246 (memory_search_unified 6-namespace hardcode) — already fixed in source (3.10.29, ADR-089). Reporter's environment was 3.10.22 dist. Confirmed present in v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js. Ships in the next published version. No code change. #2243 (verify.mjs cannot load @noble/ed25519) — not a code bug. Script already handles missing dep with a clear "Fix:" message and exits 2 (precondition failure). Confirmed signatureValid=true on this checkout. The issue is operational: the external scheduled runner is a source-only checkout that needs to run `npm ci` before invoking verify.mjs. Fix belongs in that runner's config (not in this repo). #2259 (memory-store/list contradictory persistence surfaces) — out of scope for this branch. Architectural fix in memory-bridge.ts dispatch; needs its own PR + tests. Shape: storeEntry/listEntries both call getBridge() but the bridge's read path diverges from its write path. Tracked separately. Co-Authored-By: RuFlo <ruv@ruv.net>