mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
The high-tier scope (sessions / terminals / memory.db) shipped over the past four iterations. Updating the ADR so it reflects ground truth rather than reading like a still-open proposal. Header changes: Status: Proposed → Accepted (Phase 1–4 implemented; Phase 5+ deferred) Date: 2026-05-03 (proposed) / 2026-05-04 (accepted) Version target: v3.6.25 (next batch publish) Related: appended commit refscb9a9f3/98aa256/49c8019/841365fAcceptance criteria walked with check / defer status + commit refs: ✓ session save→restore round-trip —98aa256✓ legacy plaintext readable after gate flip — across all 3 wired surfaces —98aa256,49c8019,841365f✓ flipped-byte tamper detection — 6 cases in vault tests + memory-db tamper test —cb9a9f3,841365f✓ baseline stays green with gate off — full suite 1933/1933 (was 1865 + 25 pre-existing failures cleared in iter #39; +68 new encryption-track tests) ✓ encryption-vault.test.ts exercises every path — 45 cases plus 8 + 7 + 7 + 9 across the integration files = 76 total encryption tests ⊘ ruflo doctor encryption-status report — deferred to Phase 5 (small surface change, not blocking high-tier ship) ⊘ witness manifest entry — deferred until the batch publish per the loop directive of "do not publish on every iteration" New "Implementation status" table: Phase 1cb9a9f3— vault primitives — 45 tests — suite 1865→1910 Phase 298aa256— session-tools wired — +7 tests — suite 1910→1917 Phase 349c8019— terminal-tools wired — +7 tests — suite 1917→1924 Phase 4841365f— memory-initializer DB wired — +9 tests — 1924→1933 Renumbered the original "Phase 2" (key rotation) → Phase 5, "Phase 3" (medium-tier stores) → Phase 7. Now-ordered Phase 5 (doctor report), Phase 6 (sealed-box backups), Phase 7 (medium-tier extension), plus listed keytar/passphrase resolvers + AgentDB native column-level encryption as separate follow-up scope. No code changes — just close-the-loop on the ADR contract so a future reader doesn't have to chase commits to know what's done.
Claude Flow V3 - Architecture Decision Records
All ADRs are located in /v3/implementation/adrs/.
Quick Links
| 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
- ADR Status Summary - Implementation status overview
- V3 ADRs Master - Complete ADR document
- Full README - Detailed index with roadmap
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