Files
ruflo/v3/docs/adr
ruv 08bf1cf324 docs(adr): three Proposed security ADRs (144, 145, 146) covering the dream-cycle cluster
Land three security ADRs from the open dream-cycle backlog so the
architectural decisions stop living only on dream branches. All three
remain Proposed; no code changes here. Each ADR has phased rollout plans
with the first phase scoped to a single PR.

ADR-144 — Agent Authorization Propagation + MCP Authentication Enforcement (#2248)
  Action-layer security: SendMessage envelope carries a monotonically-
  reducing AuthScope; MCP server identity validated before tool responses
  enter agent reasoning. Closes the 40.55% unauthenticated-MCP-server
  exposure (arXiv:2605.22333) and targets AIRGuard's 85%-reduction
  benchmark for action-layer attacks (arXiv:2605.28914). Adapted from the
  draft on origin/dream/2026-05-31-security with house-style header,
  resolved issue ref, and an added Validation section.

ADR-145 — Plugin Supply-Chain Integrity + Memory Namespace Governance (#2254)
  Install-layer + memory-write-layer security. Part A: Ed25519 signature
  verification + semantic-intent scan at `plugins install`, closing the
  77.67%-breach / 0%-detection SCH gap (arXiv:2605.14460). Part B: AgentDB
  namespace write ACLs (Mnemonic Sovereignty primitives 1-3) blocking
  Plan-Injection-style cross-namespace poisoning (arXiv:2506.17318).
  Adapted from origin/dream/2026-06-01-security; removed the ADR-144-
  collision note (sequentially numbered on main).

ADR-146 — ToolOutputGuardrail Integration Rollout (ADR-131 P2-P5) (#2149)
  New ADR (no dream-branch draft). ADR-131 shipped only the
  ToolOutputGuardrail *class* in P1; the four call-site phases (P2 MCP
  tool boundary, P3 memory read path, P4 Raft consensus payload, P5
  per-tool policy + telemetry) never landed, leaving #2149 open with a
  partial fix. ADR-146 commits to a coordinated rollout with shared
  policy defaults and a shared GuardrailEvent telemetry shape that
  ADR-144 (provenance log) and ADR-145 (verification log) reuse so the
  three security ADRs render as one coherent picture, not three
  disconnected layers.

The three ADRs are explicitly orthogonal layers:
  ADR-131 / ADR-146  →  content boundary (what content enters reasoning)
  ADR-144            →  action boundary (what agents can do, when)
  ADR-145            →  install + write boundary (what code/memory exists)

Each ADR has been cross-linked to the others in its `Related` block.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-02 05:18:48 -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