Files
ruflo/v3/docs/adr
rUv aee3b99910 feat(harness): anti-overfitting — frozen public human eval + per-gen red/blue deltas + clean-room replay (ADR-176) (#2580)
Addresses the biggest failure mode: the loop could overfit the self-supervised
proxy while human relevance is merely PRESERVED, not improved. Fix makes that
visible + falsifiable:

1. FROZEN PUBLIC HUMAN EVAL SET — .claude/eval/human-relevance-frozen-v1.json
   (10 ADR-081 labelled queries), loaded via harness-frozen-eval.ts which PINS
   the canonical content hash (sha256:6096e48e…) and THROWS on drift. Single
   source of truth for the red/blue anchor; supersede with a new versioned file,
   never edit. The daemon runtime now loads the anchor from it (was an inline
   duplicate).

2. PER-GENERATION HUMAN-RELEVANCE DELTA — every receipt records
   deltas.humanRelevance (candidate − baseline nDCG@3 on the frozen set) +
   humanEvalHash. flywheelStatus exposes cumulativeBenchmarkDelta (proxy) vs
   cumulativeHumanRelevanceDelta (human); the status script flags
   'proxy up but human flat → OVERFITTING'. The overfitting mode is now
   observable in the lineage instead of hidden.

3. CLEAN-ROOM REPLAY ACCEPTANCE TEST — scripts/replay-generation.mjs: from a
   clean install, replay one PROMOTED generation from its receipt alone —
   recompute every hash bit-identically + re-run accept/v1+sig to reproduce
   promoted=true, with fetch trapped (offline). Wired into v3-ci alongside the
   proof guard (which now also verifies the frozen-eval pinned hash). Verified:
   real-generation-1 replays with identical hashes, offline.

Additive + backwards-compatible (new optional receipt fields; old committed
bundles still replay). 76 harness+config tests green; both CI guards pass.


Claude-Session: https://claude.ai/code/session_01S7GYqnVUVxBfZ5W8znqry3
2026-07-05 12:56:22 -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