Files
ruflo/v3/docs/adr
rUvandReuven 545426f605 docs(adr-117): neural-trader heavy jobs on the Managed Agent cloud runtime (#1935)
ADR-117 (Accepted): dispatch heavy neural-trader jobs — multi-year
walk-forward backtests, big Monte-Carlo, parameter sweeps, LSTM/
Transformer/N-BEATS training — to an Anthropic Managed Agent cloud
container via the managed_agent_* tools (ADR-115, shipped in
3.7.0-alpha.27). No new MCP tools, no new deps — pure orchestration.

- skills/trader-cloud-backtest/SKILL.md — the recipe (provision-once,
  pre-flight-cheap, run, ingest-locally, terminate-eagerly); allowed-tools
  scoped to managed_agent_* + memory_* + agentdb_pattern-store + Bash/Read
  (no wildcard grant).
- commands/trader.md — /trader cloud <backtest|train|sweep> subcommand.
- scripts/smoke.sh — step 2 now asserts the 7th skill exists, references
  managed_agent_create, and names the local trader-backtest fallback;
  step 10 ADR-status check corrected to Accepted.
- README.md — overview + skills table + Architecture-Decisions +
  Related-Plugins cross-refs to ADR-117 / ADR-115 / ruflo-agent.
- ADR-115 Links — cross-refs ADR-117 as the first consumer.

Cost-optimization rules baked into the recipe (the "optimize" requirement):
install-once in initScript, reuse the environment, pre-flight cheap
(1-path/3-month smoke before a 1000-path/multi-year run), batch sweeps into
one prompt, terminate eagerly + GC orphans (#1931), cheap agent model
(Haiku/Sonnet — the compute is the Rust engine, not the LM; ADR-026),
estimate before kicking off.

Validation: ruflo-neural-trader smoke 11/0, ruflo-agent smoke 12/0,
audit-cli-mcp-tools / audit-tool-descriptions / audit-plugin-packages /
audit-hook-commands all green. No new MCP tools → cli build unaffected.

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-12 12:31:42 -04:00
..
2026-02-08 17:21:23 +00:00

Claude Flow V3 - Architecture Decision Records

All ADRs are located in /v3/implementation/adrs/.

ADR Title Status
ADR-001 Adopt agentic-flow as Core Foundation Complete
ADR-002 Domain-Driven Design Structure Complete
ADR-003 Single Coordination Engine Complete
ADR-004 Plugin Architecture Complete
ADR-005 MCP-First API Design Complete
ADR-006 Unified Memory Service Complete
ADR-007 Event Sourcing Complete
ADR-008 Vitest Testing Complete
ADR-009 Hybrid Memory Backend Complete
ADR-010 Node.js Only Complete
ADR-011 LLM Provider System Complete
ADR-012 MCP Security Features Complete
ADR-013 Core Security Module Complete
ADR-014 Workers System Complete
ADR-015 Unified Plugin System Complete
ADR-016 Collaborative Issue Claims Complete
ADR-017 RuVector Integration Complete
ADR-018 Claude Code Integration Complete
ADR-019 Headless Runtime Package Complete
ADR-020 Headless Worker Integration Complete
ADR-046 Dual Umbrella: claude-flow + ruflo Accepted
ADR-047 Fast Mode Integration Proposed

Summary Documents

Performance Targets

Metric Target Status
HNSW Search 150x-12,500x faster ✅ Achieved
Flash Attention 2.49x-7.47x speedup ✅ Achieved (alpha.102)
Memory Reduction 50-75% ✅ Achieved
MCP Response <100ms ✅ Achieved
CLI Startup <500ms ✅ Achieved

Neural Features (alpha.102+)

Component Status Lines Notes
SONA Optimizer ✅ Real 841 Pattern learning from trajectories
EWC++ Consolidation ✅ Real ~600 Fisher matrix, prevents forgetting
MoE Router ✅ Real ~500 8 experts with gating network
Flash Attention ✅ Real ~500 O(N) block attention
LoRA Adapter ✅ Real ~400 128x compression (rank=8)
Hyperbolic Embeddings ✅ Real - Poincaré ball model
Int8 Quantization ✅ Real - 3.92x memory savings

Security Status

CVE Severity Status
CVE-2 Critical ✅ Fixed
CVE-3 Critical ✅ Fixed
HIGH-1 High ✅ Fixed
HIGH-2 High ✅ Fixed

Security Score: 10/10


Last Updated: 2026-01-14 CLI Version: @claude-flow/cli@3.0.0-alpha.104