v3.5.51
ruvnet/ruflov3.5.51Apr 2, 2026by ruvnet
AI Summary
This release fixes critical issues in ruflo including making terminal_execute actually execute commands (was a stub), exposing agent/task results that were stored but never returned, enabling security scans on Windows, and adding MCP tools auto-discovery via global CLAUDE.md.
Key Highlights
- terminal_execute now uses execSync for real command execution instead of returning a stub message
- Agent and task results are now properly exposed via lastResult and result fields in their respective status endpoints
- Security scans work on Windows by removing POSIX shell syntax (2>/dev/null)
- MCP tools auto-discovery via global CLAUDE.md with idempotent init --full
- All 1725 tests pass
New Features
- Real command execution in terminal_execute with stdout/stderr capture and exit codes
- lastResult field added to agent_status response
- result field added to task_status response
- Cross-platform npm audit using stdio: 'pipe' + try/catch
- MCP tools auto-discovery through ~/.claude/CLAUDE.md
Full Release Notes
## Fixes ### #1457: terminal_execute Now Executes Commands - Was a stub returning `[STATE TRACKING] Command recorded: ...` — now uses `execSync` for real execution - Respects timeout parameter, captures stdout/stderr, returns real exit codes ### #1448: Agent & Task Results Retrievable - `agent_status` now returns `lastResult` field with output from the agent's last completed task - `task_status` now returns `result` field (was stored but never included in response) ### #1493: Security Scan Works on Windows - Removed `2>/dev/null || true` POSIX shell syntax from `npm audit` calls - Uses `stdio: 'pipe'` + try/catch for cross-platform compatibility ### #1497: MCP Tools Auto-Discovery via Global CLAUDE.md - `init --full` now writes ruflo tool instructions to `~/.claude/CLAUDE.md` - Claude will auto-discover and use ruflo MCP tools without per-project manual wiring - Idempotent — won't duplicate the block on re-init ## Stats - **1725 tests pass** (28 files, 0 failures) - Published: `@claude-flow/cli@3.5.51`, `claude-flow@3.5.51`, `ruflo@3.5.51`