ruvector/docs/research/rv2/05-human-augmentation.md
rUv aaea9ee242 feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262)
* feat: ADR-093 through ADR-102 — DeepAgents complete Rust conversion planning

10 Architecture Decision Records for 100% fidelity port of
langchain-ai/deepagents (Python) to Rust within the RuVector workspace:

- ADR-093: Master overview and architecture mapping
- ADR-094: Backend protocol traits and 5 implementations
- ADR-095: Middleware pipeline with 9 middleware types
- ADR-096: Tool system with 8 tool implementations
- ADR-097: SubAgent orchestration and state isolation
- ADR-098: Memory, Skills & Summarization middleware
- ADR-099: CLI (ratatui) & ACP server (axum) conversion
- ADR-100: RVF integration and 9-crate workspace structure
- ADR-101: Testing strategy with 80+ test file mappings
- ADR-102: 10-phase, 20-week implementation roadmap (~26k LoC)

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat: ADR-103 review amendments + security audit for DeepAgents conversion

Synthesizes findings from three parallel review agents:
- Performance: 25 findings (7 P0) — typed AgentState, parallel tools, arena allocators
- RVF Capability: 17 integration points — witness chains, SONA, HNSW, COW state
- Security: 30 findings (5 Critical) — TOCTOU, shell hardening, prompt injection

Key amendments: typed AgentState replaces HashMap<String,Value>, parallel tool
execution via JoinSet, atomic path resolution, env sanitization, ACP auth,
witness chain middleware, resource budget enforcement, SONA adaptive learning.

Timeline extended from 20 to 22 weeks with new Phase 11 (Adaptive).

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat: rvAgent scaffold — 8 crates with initial source files (swarm WIP)

Rebrand DeepAgents to rvAgent under crates/rvAgent/ subfolder.
15-agent swarm implementing in parallel:
- rvagent-core: typed AgentState, config, models, graph, messages
- rvagent-backends: protocol, filesystem, shell, composite, state, unicode security
- rvagent-middleware: pipeline with 11 middlewares
- rvagent-tools: 9 tools with enum dispatch
- rvagent-subagents: spec, builder, orchestration
- rvagent-cli: TUI terminal agent
- rvagent-acp: ACP server with auth
- rvagent-wasm: WASM bindings

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): 82 source files from 15-agent swarm — core + backends + middleware + tools + CLI + ACP + WASM

Swarm progress:
- rvagent-core: 12 src files (state, config, graph, messages, models, arena, parallel, metrics, string_pool, prompt, error)
- rvagent-backends: 8 src files (protocol, filesystem, shell, composite, state, utils, unicode_security, security)
- rvagent-middleware: 12 src files (lib, todolist, filesystem, subagents, summarization, memory, skills, patch_tool_calls, prompt_caching, hitl, tool_sanitizer, witness, utils)
- rvagent-tools: 10 src files (lib, ls, read_file, write_file, edit_file, glob, grep, execute, write_todos, task)
- rvagent-subagents: 5 src files (lib, builder, prompts, orchestrator, validator)
- rvagent-cli: 6 src files (main, app, session, tui, display, mcp)
- rvagent-acp: 6 src files (main, server, auth, agent, types, lib)
- rvagent-wasm: 4 src files (lib, backends, tools, bridge)
- Tests: 14 test files across crates
- Benchmarks: 4 criterion bench files

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): additional files from swarm agents — store backend, model fixes, bench updates

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): test suites + security tests + tool refinements from swarm

- 38 unit/integration tests for core+backends (all passing)
- Security test suite for backends
- Tool bench and lib refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* fix(rvAgent): agent refinements — ACP server, backend bench, lib exports

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): core crate finalized (83 tests), tool refinements, middleware bench

- rvagent-core: 83 tests passing, typed AgentState with Arc, SystemPromptBuilder
- Tool implementations refined (ls, read, write, edit, grep, execute)
- Middleware bench updated
- ACP server refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* fix(rvAgent): swarm agent refinements — auth, filesystem, prompt caching

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): integration tests (23 passing) + agent refinements

- Core integration: 8 tests (graph flow, tool calls, parallel, COW state)
- Subagents integration: 8 tests (spawn, isolation, rate limits, parallel)
- ACP integration: 7 tests (health, auth, session lifecycle)
- CLI integration: 9 tests (help, version, session roundtrip)
- Refinements to ACP agent/types, composite backend, HITL, WASM

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): subagents finalized (55 tests), witness middleware, composite fixes

- Subagent orchestrator with JoinSet parallel execution
- Prompt injection detector with 25 patterns across 5 categories
- Result validator with configurable limits (ADR-103 C8)
- Witness middleware, ACP server, composite backend refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): middleware tests, tool sanitizer, ACP lib, utils refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): criterion benchmarks finalized, backend lib + CLI TUI refinements

- 4 criterion benchmark suites (state, backends, tools, middleware)
- Benchmarks cover: Arc clone vs deep clone, line formatting, grep perf,
  unicode detection, tool dispatch, parallel vs sequential, middleware pipeline
- Backend lib.rs and CLI TUI refinements from remaining agents

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): security tests, tool tests, middleware filesystem, TUI updates

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): ACP server finalized (65 tests), tool tests, middleware subagents

- ACP: auth middleware, rate limiter, session management, 6 routes
- New read_file test suite
- Middleware subagents and CLI TUI refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): edit_file tests, CLI display + TUI refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): backends finalized (123 tests), grep/execute tests, summarization

- Backends: 94 unit + 29 integration tests, all passing
- Full security hardening: O_NOFOLLOW, env sanitization, virtual_mode=true
- Unicode security with 36 confusable pairs, BiDi detection
- New grep and execute test suites
- Summarization middleware refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* fix(rvAgent): CLI TUI + tools lib refinements from agents

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): security hardening finalized (77 tests), memory + ls refinements

- Security module: env sanitization, path validation, injection detection,
  YAML bomb protection, rate tracking, heredoc safety, tool call ID validation
- 42 backend security tests + 25 middleware security tests
- All SEC-001 through SEC-022 findings addressed
- Memory middleware and ls tool refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): middleware pipeline tests, write_file refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): CLI finalized (39 tests), edit_file refinements

- CLI: clap args, TUI with ratatui, session management with encryption
- MCP client integration stubs
- Display with markdown rendering, tool call formatting
- 11-middleware pipeline ordering per ADR-103

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): documentation, execute tool refinement, glob_tool cleanup

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): documentation complete, tool + middleware refinements

- README, architecture, security, API reference, getting started guides
- All docs derived from ADR-093 through ADR-103 and source code
- Middleware bench, execute tool, grep tool refinements

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): build verified — 679 tests passing across all 8 crates

All crates compile cleanly, all tests pass:
- rvagent-core: 105 tests (state, config, graph, messages, models, arena, parallel, metrics)
- rvagent-backends: 132 tests (filesystem, shell, composite, state, store, unicode, security)
- rvagent-middleware: 55 tests (pipeline, security, summarization)
- rvagent-tools: 25 tests (dispatch, ls, read, edit, grep, execute)
- rvagent-subagents: 30 tests (compile, isolation, orchestrator, validator)
- rvagent-cli: 39 tests (args, session, display, MCP, TUI)
- rvagent-acp: 65 tests (auth, rate limit, sessions, types)
- rvagent-wasm: 34 tests (agent, backends, tools, bridge)

Fixed subagent integration test state isolation expectations.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): summarization middleware tests from late agent completion

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): final test suites — orchestrator, security, summarization tests

All 15 swarm agents complete. Final integration tests:
- Orchestrator: compile, isolation, validation, injection detection, parallel spawn
- Security middleware: sanitizer, witness, skill validation, memory trust
- Summarization: compaction triggers, UUID filenames, permissions

688+ tests passing, 0 failures across all 8 crates.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* perf(rvAgent): deep review — eliminate warnings, optimize hot paths

- Fix 19 compiler warnings across rvagent-cli and rvagent-subagents
  (dead code annotations, unused imports, unused variables)
- Optimize witness hash: pre-allocated hex buffer (no 32 intermediate Strings)
- Optimize injection detection: pre-lowercased markers (no per-call allocation)
- Add #[inline] to hot-path functions: Message::content, has_tool_calls,
  AgentState::message_count, is_image_file
- Zero warnings, 688+ tests passing across all 8 crates

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* perf(rvagent-middleware): optimize SHA3-256 hex encoding

Use pre-allocated buffer with fmt::Write instead of 32 intermediate
String allocations via iterator map/collect.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): add MCP tools/resources, topology routing, skills bridge

New rvagent-mcp crate (9th crate) with full MCP implementation:
- McpToolRegistry: exposes all 9 built-in tools as MCP tools
- McpResourceProvider: agent state, skills catalog, topology as resources
- TopologyRouter: hierarchical, mesh, adaptive, standalone strategies
- SkillsBridge: cross-platform skills (Claude Code + Codex compatibility)
- McpServer: JSON-RPC 2.0 request dispatch
- Transport layer: stdio, SSE, memory transports

MCP bridge middleware in rvagent-middleware for pipeline integration.

ADR-104: Architecture for MCP tools, resources, and topology routing
ADR-105: Implementation details and protocol specification

893 tests passing across all 9 crates (up from 235).
60+ new MCP/topology/stress tests including:
- Topology routing across all 4 strategies
- 100-node stress tests with churn patterns
- Property-based serde roundtrip validation
- Cross-architecture consistency tests

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* test(rvagent-mcp): update stress tests with topology and skills coverage

Add topology scaling, skills roundtrip, and resource stress tests
alongside the existing registry and protocol stress tests.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* test(rvagent-mcp): add 96 integration tests across all topologies

Deep integration tests covering MCP protocol, topology routing
(hierarchical, mesh, adaptive, standalone), skills bridge, transport,
and cross-architecture consistency.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvagent-middleware): add McpToolCallOrigin for transport tracking

Adds origin tracking struct to MCP bridge middleware for identifying
which transport and client initiated each tool call.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* Add ADR-106: RuVix kernel integration with RVF

Documents the current uni-directional dependency between ruvix and rvf,
identifies type divergence and duplicate implementations, and proposes a
shared-types bridge architecture with feature-gated integration layers.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): deep ADR-106 RuVix/RVF integration across all layers

Implements the shared-types bridge architecture from ADR-106:

Layer 1 (rvagent-core/rvf_bridge.rs):
- Shared wire types: RvfMountHandle, RvfComponentId, RvfVerifyStatus, WitTypeId
- RVF witness header with 64-byte wire-format serialization
- RvfManifest/RvfManifestEntry for package discovery
- MountTable for tracking mounted RVF packages
- RvfBridgeConfig integrated into RvAgentConfig

Layer 2 (rvagent-middleware/rvf_manifest.rs):
- RvfManifestMiddleware for package discovery and tool injection
- Manifest-driven tool registration (rvf:<tool_name> namespace)
- Package state injection into agent extensions
- Signature verification delegation point (rvf-crypto ready)

Layer 3 (rvagent-backends/rvf_store.rs):
- RvfStoreBackend wrapping any Backend with rvf:// path routing
- Read-only RVF package access via mount table
- Shared mount table across backend instances
- Fallthrough to inner backend for non-RVF operations

Phase 4 (rvagent-middleware/witness.rs):
- WitnessBuilder.with_rvf() for RVF wire-format witness bundles
- add_rvf_tool_call() with latency, policy check, cost tracking
- build_rvf_header() producing rvf-types-compatible WitnessHeader
- to_rvf_entries() converting to RvfToolCallEntry format
- Full backward compatibility with existing witness chain

53 new tests, all 160 tests passing.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* perf(rvAgent): benchmark suite and optimizations for ADR-106 integration

Add Criterion benchmarks for rvf_bridge (witness header serialization,
mount table operations, manifest filtering, tool call entry serde) and
witness middleware (hash computation, builder throughput, RVF entry
conversion).

Optimizations:
- MountTable: O(1) lookups via HashMap indices by handle ID and package
  name (was O(n) linear scan). New get_by_name() method.
- compute_arguments_hash: LUT-based hex encoding (eliminates 32 write!
  calls per hash invocation)
- truncate_hash_to_8: zero-allocation inline hex decoder (was allocating
  intermediate Vec)
- RvfStoreBackend: ls_info/read_file use O(1) get_by_name instead of
  linear scan through mount table entries
- all_tools: filter entries inline instead of calling manifest.tools()
  which allocates an intermediate Vec

Benchmark results:
- Witness header wire-format roundtrip: 6.5ns (215x faster than serde JSON)
- MountTable get by handle: 12ns (O(1))
- MountTable find by name: 2.8ns (O(1))
- Hash computation (small args): 511ns
- 50 RVF entries + header build: 155µs

All 348 tests pass across rvagent-core, rvagent-backends, rvagent-middleware.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* feat(rvAgent): implement all critical improvements — 825 tests passing

Major improvements across all 8 crates:

1. Anthropic LLM backend (rvagent-backends/src/anthropic.rs)
   - Real HTTP client calling Anthropic Messages API via reqwest
   - Message conversion between rvAgent types and API format
   - Retry with exponential backoff (3 retries on 429/500/502/503)
   - API key resolution from env vars or files

2. CLI real agent execution (rvagent-cli/src/app.rs)
   - invoke_agent() now uses AgentGraph with real model calls
   - CliToolExecutor dispatches to rvagent-tools
   - Falls back to StubModel when no API key is configured
   - System prompt integration

3. MCP stdio transport (rvagent-cli/src/mcp.rs)
   - Real subprocess spawning via tokio::process::Command
   - JSON-RPC initialize handshake and tools/list discovery
   - Real tool call execution via JSON-RPC

4. Re-enabled disabled dependencies
   - rvagent-subagents now links backends, middleware, tools
   - rvagent-acp now links all sister crates

5. AES-256-GCM session encryption (rvagent-cli/src/session.rs)
   - Real encryption replacing plaintext stub
   - V1 format backward compatibility
   - Key derivation from RVAGENT_SESSION_KEY env var

6. ACP server real prompt handling (rvagent-acp/src/agent.rs)
   - Wired to AgentGraph for real execution

7. Retry middleware (rvagent-middleware/src/retry.rs)
   - Exponential backoff with configurable retries
   - Integrates into middleware pipeline

8. Streaming support (rvagent-core/src/models.rs)
   - StreamChunk, StreamUsage types
   - StreamingChatModel trait

9. Error handling fixes
   - Poisoned mutex handling in auth.rs
   - Witness policy_hash computed from governance mode

10. Test coverage: 148 → 825 tests (+677)
    - New test files for WriteFile, WriteTodos, Glob tools
    - New tests for MCP bridge, prompt caching, HITL middleware
    - Anthropic client mock server tests

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* test(rvAgent): add live Anthropic API integration test

Skips automatically when ANTHROPIC_API_KEY is not set.
Run with: ANTHROPIC_API_KEY=sk-... cargo test -p rvagent-backends --test live_anthropic_test

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* Add RuVector V2 research series: 50-year forward vision from Cognitum.one

8 research documents exploring how the existing RuVector/rvAgent stack
extends from coherence-gated AI agents to planetary-scale infrastructure:

- 00: Master vision — the Cognitum thesis (coherence > intelligence)
- 01: Cognitive infrastructure — planetary nervous system
- 02: Autonomous systems — robotics to deep space
- 03: Scientific discovery — materials, medicine, physics
- 04: Economic systems — finance, supply chains, governance
- 05: Human augmentation — BCI, prosthetics, education
- 06: Planetary defense — climate, security, resilience
- 07: Implementation roadmap — 12-month sprint to 2075

Every claim traces to existing crates: prime-radiant, cognitum-gate-kernel,
ruvector-nervous-system, ruvector-hyperbolic-hnsw, ruvector-gnn, rvAgent,
ruqu-core, ruvector-mincut, and 90+ others.

https://claude.ai/code/session_014KXn8m21w3WDih3xpTY1Tr

* fix(ruvllm-cli): add PiQ3/PiQ2 memory estimate support

Add missing match arms for PiQ3 and PiQ2 quantization formats in
print_memory_estimates function. These pi-constant quantization formats
from ADR-090 were missing in the TargetFormat match statement.

- PiQ3: 3.0625 bits/weight (~75% of Q4_K_M storage)
- PiQ2: 2.0625 bits/weight (~50% of Q4_K_M storage)
- Add MemoryEstimate import for explicit type annotation

Co-Authored-By: claude-flow <ruv@ruv.net>

* docs: add collapsed sections to ruvllm and mcp-brain READMEs

- ruvllm: Wrap Performance, ANE, mistral-rs, LoRA, and Evaluation sections in <details>
- mcp-brain: Wrap REST API, Feature Flags, and Deployment sections in <details>
- mcp-brain: Add Quick Start section with npx ruvector brain examples

Matches root README style with progressive disclosure.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(rvAgent): add .ruv RVF-integrated agent framework

- Add 4 specialized agent templates (queen, coder, tester, security)
- Add RVF manifest with cognitive container configuration
- Add hooks integration (pre-task, post-task, security-scan)
- Add manifest loader script for environment initialization
- Configure 3-tier model routing (WASM → Haiku → Sonnet/Opus)
- Enable SONA learning with 0.05ms adaptation threshold
- All 725 rvAgent tests passing

Agent capabilities:
- rvagent-queen: Swarm orchestration, consensus, resource allocation
- rvagent-coder: Code generation, refactoring, witness attestation
- rvagent-tester: TDD London School, coverage analysis, mock generation
- rvagent-security: AIMD threat detection, PII scanning, CVE auditing

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(rvAgent): wire AnthropicClient and enable live API calls

- Add CliModel enum to support multiple model backends (Stub, Anthropic)
- Wire AnthropicClient in app.rs for real API calls when key is available
- Add native-tls feature to reqwest for HTTPS support
- Fix request body serialization with explicit JSON stringify
- Add example demo scripts for coder, tester, security agents

Verified working:
- Code generation (Fibonacci with memoization)
- TDD test generation
- Security audit with vulnerability detection
- Architecture design

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat: RuVocal UI thinking blocks + MCP brain delta fixes + rvAgent security

UI/RuVocal:
- Add thinking block collapse regex (THINK_BLOCK_REGEX) to ChatMessage.svelte
- Integrate FoundationBackground animated canvas
- Default to dark mode across app
- Update mcpExamples to RuVector/π Brain focused queries

MCP Brain Server:
- Fix brain_page_delta: add witness_hash field with server-side fallback
- Fix evidence_links: transform simple strings to EvidenceLink structs
- Add voice.rs, optimizer.rs, symbolic.rs modules
- Deploy to Cloud Run (ruvbrain-00092-npp)

rvAgent:
- Enhanced sandbox path security and restrictions
- Add unicode_security middleware
- Add CRDT merge and result validator
- Add AGI container, budget, session crypto modules
- Add swarm examples and Gemini backend
- Security tests and validation

Docs:
- ADR-107 through ADR-111
- Security docs (sandbox, session encryption)
- Implementation summaries

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): add WASM MCP tools with server-side virtual filesystem

- Add default WASM file tools (read_file, write_file, list_files, delete_file, edit_file)
  that are always available without client-side WASM setup
- Implement server-side in-memory virtual filesystem for tool execution
- Update toolInvocation.ts to actually execute WASM tools instead of returning placeholder
- Add hasActiveToolsSelection check for WASM tools in toolsRoute.ts
- Force MCP flow when WASM tools are present regardless of router decision
- Add WASM MCP server store with IndexedDB persistence
- Add GalleryPanel component for RVF template selection
- Clean up excessive debug logging

The WASM file tools now execute on an in-memory virtual filesystem
on the server, enabling file operations within conversations without
requiring any client-side WASM module setup.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): implement complete rvAgent WASM MCP toolset

- Add full rvAgent implementation with 15 server-side tools:
  - File operations (5): read, write, list, delete, edit
  - Search tools (2): grep, glob
  - Task management (3): todo_add, todo_list, todo_complete
  - Memory tools (2): memory_store, memory_search (HNSW-indexed)
  - Witness chain (2): witness_log, witness_verify (cryptographic audit)
  - RVF Gallery (3): gallery_list, gallery_load, gallery_search

- Enhance wasm/index.ts with 8 comprehensive agent templates:
  - Development Agent: Full-featured with 8 tools and 4 skills
  - Research Agent: Memory-enhanced with HNSW search
  - Security Agent: 15 built-in security controls
  - Multi-Agent Orchestrator: CRDT-based state merging
  - SONA Learning Agent: 3-loop self-improvement
  - AGI Container Builder: SHA3-256 verified packages
  - Witness Chain Auditor: Cryptographic compliance
  - Minimal Agent: Lightweight file operations

- Each template includes tools, prompts, skills, MCP tools, and capabilities
- Witness chain provides immutable audit trail for all tool calls
- Server-side state persists across conversation turns

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): enhance MCP tool descriptions and sidebar sorting

- Improve all 15 WASM MCP tool descriptions with comprehensive guidance
  - Add WHEN TO USE sections for clear usage context
  - Add detailed PARAMETERS documentation with examples
  - Add RETURNS section documenting output format
  - Add EXAMPLES showing typical usage patterns
  - Add IMPORTANT notes and TIPS for edge cases

- Fix NavMenu sidebar conversation sorting
  - Sort conversations by newest first within each group (today/week/month/older)
  - Apply sorting to paginated results when loading more conversations

- Add comprehensive test suite (48 tests)
  - File operations: read, write, list, delete, edit
  - Search tools: grep, glob with pattern matching
  - Task management: todo_add, todo_list, todo_complete
  - Memory tools: memory_store, memory_search with tags
  - Witness chain: witness_log, witness_verify with hash verification
  - RVF gallery: gallery_list, gallery_load, gallery_search

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ruvocal): improve WASM MCP tool descriptions for LLM guidance

- Add REQUIRED/OPTIONAL labels to all parameters
- Include concrete examples for every tool
- Clear parameter descriptions with expected formats
- Better guidance on when to use each tool

Tools updated:
- File ops: read_file, write_file, list_files, delete_file, edit_file
- Search: grep, glob
- Tasks: todo_add, todo_list, todo_complete
- Memory: memory_store, memory_search
- Audit: witness_log, witness_verify
- Gallery: gallery_list, gallery_load, gallery_search

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ruvocal): add explicit parameter guidance to prevent empty tool calls

- Add TOOL PARAMETERS guidance to system prompt
  - NEVER call tools with empty {} if parameters required
  - Check inputSchema for required fields
  - Use example values as guidance

- Improve error messages with examples
  - Every validation error now includes correct usage example
  - File not found errors show available files
  - Template not found errors list available options
  - Task not found errors show available task IDs

- Updated all 15 WASM tools:
  - read_file, write_file, delete_file, edit_file
  - grep, glob
  - todo_add, todo_complete
  - memory_store, memory_search
  - witness_log
  - gallery_load, gallery_search

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ruvocal): intercept empty tool args and auto-fill sensible defaults

- Add autoFillMissingParams() to intercept empty {} requests
- Auto-fill gallery_load with "development-agent" when id missing
- Auto-fill read_file with first available file when path missing
- Auto-fill todo_complete with first incomplete task when id missing
- Auto-fill memory_search with "*" wildcard for empty queries
- Simplify tool descriptions to ultra-concise copyable examples
- Add enum constraints for gallery template IDs
- Add additionalProperties: false to all schemas

This prevents LLM from failing on empty argument calls by providing
reasonable defaults based on available context.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ruvocal): add auto-fill feedback to teach LLM proper arg passing

When parameters are auto-filled, include feedback in the result:
"[AUTO-FILLED: id="development-agent". Next time pass your own values,
 e.g. gallery_load({id: "development-agent"})]"

This teaches the LLM to pass arguments correctly on subsequent calls.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ruvocal): use function signature format for tool descriptions

Change tool descriptions to function signature style that models
understand better:

  gallery_search(query: string) → Search templates by keyword.
  Arguments: {"query": "search_term"}
  Example: {"query": "security"}

This format:
- Shows parameter names and types in signature
- Labels the arguments JSON clearly
- Provides concrete example
- Removes verbose instructions

Also adds feedback notice when parameters are auto-filled so model
learns correct format from results.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): add rvf_help guidance tool and RVF context

- Add rvf_help() tool that explains the RVF agent environment
- Supports topic filter: files, memory, tasks, witness, gallery
- Add RVF context to system prompt when WASM tools present
- Explains what "run in RVF" means
- Lists available gallery templates with descriptions

Model can now call rvf_help() first to understand capabilities.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): add comprehensive system_guidance tool for all MCP tools

- Rename rvf_help to system_guidance (kept alias for compatibility)
- Documents ALL available tools including π Brain and search tools
- Filter by category: files, memory, tasks, witness, gallery, brain, search
- Get specific tool help: system_guidance({"tool": "brain_search"})
- Shows exact JSON format examples for each tool
- Includes tips on proper parameter passing

Model should call system_guidance() first when unsure about capabilities.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): add system_guidance tool to WASM UI panel

- Add system_guidance as first tool in tools/list response
- Shows 🔮 emoji to make it prominent
- Supports tool and category filters
- Add handler with comprehensive documentation for all tools
- Groups by category: files, memory, tasks, gallery, witness, brain

Now visible in Available Tools panel for user guidance.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(ruvocal): add anti-repetition rules and comprehensive tool examples

- Add CRITICAL RULES - AVOID REPETITION section to system prompt
- Add TOOL SEQUENCING patterns (list_files → read_file → analyze)
- Add AVOID THESE PATTERNS with explicit  examples
- Expand system_guidance with practical/advanced/exotic examples for each tool
- Add workflows category showing multi-tool patterns
- Improve tool documentation with required/optional parameter clarity

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(rvAgent): MCP server, WASM gallery, and RVF tools integration

rvagent-mcp:
- Add groups.rs for tool group management
- Add main.rs for standalone MCP server binary
- Update transport and integration tests

rvagent-wasm:
- Add gallery.rs for RVF app gallery support
- Add mcp.rs for MCP tool handlers
- Add rvf.rs for RuVector Format operations
- Update backends for WASM compatibility

Documentation:
- Update ADR-107 through ADR-111
- Add ADR-112: rvAgent MCP Server
- Add ADR-113: RVF App Gallery (RuVix Applications)
- Add ADR-114: RuVector Core Hash Placeholders

RuVocal:
- Add compiled WASM artifacts for browser integration

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ruvocal): add wasmTools and autopilotMaxSteps to MessageUpdateRequestOptions

Co-Authored-By: claude-flow <ruv@ruv.net>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-03-16 09:52:32 -04:00

21 KiB

RV2 Forward Research: Human Augmentation

50-Year Horizon (2025-2075) -- Grounded in the RuVector Stack

Every system described in this document traces back to a shipping RuVector crate. The gap between today's software primitives and tomorrow's neural interfaces is smaller than it appears: the same algorithms that decode vector similarity can decode neural spike trains; the same safety gates that protect an LLM pipeline can protect a prosthetic limb. What follows is the engineering roadmap for closing that gap.


1. Neural Interface Computing

The brain communicates in spike trains -- precisely timed sequences of electrical impulses separated by milliseconds. Decoding those trains is a temporal pattern-matching problem, and ruvector-nervous-system already solves it.

Dendritic Spike Train Decoding

The Dendrite struct in ruvector-nervous-system::dendrite::coincidence implements NMDA-like coincidence detection. It watches for multiple synaptic inputs arriving within a configurable window (10-50ms) and fires a plateau potential when threshold is reached. In a neural interface context, each "synapse" becomes an electrode channel, and the coincidence detector identifies when a cluster of neurons fires together -- the fundamental signature of motor intent.

use ruvector_nervous_system::dendrite::coincidence::Dendrite;

// Configure for 96-channel Utah array: fire when 8+ channels
// activate within a 15ms window (typical motor cortex burst)
let mut decoder = Dendrite::new(8, 15.0);

// Feed electrode spikes as they arrive
for spike in electrode_stream {
    decoder.receive_spike(spike.channel_id, spike.timestamp_us);
    // Plateau potential fires when coincidence detected --
    // that is a decoded motor command
}

The nmda_threshold parameter (5-35 in the current implementation) maps directly to the number of electrodes that must co-activate to register a volitional signal versus noise. The 200ms default plateau duration in PlateauPotential::new(200.0) matches the timescale of sustained motor cortex activity during reach planning.

One-Shot Memory Encoding with BTSP

Human memory formation is famously one-shot: you remember a face after a single encounter. BTSPLayer replicates this via behavioral timescale synaptic plasticity, with bidirectional weight updates gated by dendritic plateau potentials. The 1-3 second eligibility trace window (tau_btsp: 1000-3000ms) matches the hippocampal encoding window measured in Bittner et al. 2017.

use ruvector_nervous_system::plasticity::btsp::BTSPLayer;

// 2048-dim sensory input, 2-second encoding window
let mut memory = BTSPLayer::new(2048, 2000.0);

// Single exposure: associate a scene with a context tag
let scene_encoding = visual_encoder.encode(&camera_frame);
memory.one_shot_associate(&scene_encoding, context_tag);

// Immediate retrieval -- no training loop required
let recalled = memory.forward(&partial_cue);

For augmented memory systems, BTSP means a wearable device can store a new episodic memory from a single experience, exactly as the hippocampus does. The <100ns per-synapse update target makes this feasible at biological rates.

E-prop for Neuromorphic Hardware

Backpropagation through time (BPTT) is incompatible with implantable hardware: it requires storing entire activation histories. EpropSynapse solves this with eligibility propagation -- a three-factor learning rule that uses only 12 bytes per synapse (weight + 2 traces) and requires no backward pass. The update rule dw = lr * eligibility_trace * learning_signal is purely local, making it suitable for neuromorphic chips like Intel Loihi or SpiNNaker.

use ruvector_nervous_system::plasticity::eprop::EpropSynapse;

// Each synapse on the neuromorphic chip: 12 bytes of state
let mut synapse = EpropSynapse::new(0.1, 20.0); // 20ms time constant

// Online learning from streaming neural data
synapse.update(pre_spike, pseudo_derivative, learning_signal, dt, lr);

HDC for Neural Signal Encoding

Raw electrode signals are noisy and high-dimensional. Hypervector in ruvector-nervous-system::hdc encodes them as 10,000-bit binary vectors packed into 156 u64 words (1,248 bytes per vector). XOR binding runs in <50ns, and SIMD popcount similarity in <100ns. The key property: hypervectors are robust to noise. Flipping 10% of bits due to electrode drift changes the similarity score by only 10%, providing graceful degradation that rigid classifiers lack.

use ruvector_nervous_system::hdc::Hypervector;

// Encode each electrode channel as a random basis vector
let channel_bases: Vec<Hypervector> = (0..96)
    .map(|_| Hypervector::random())
    .collect();

// Bind spike timing into a composite neural state vector
let mut neural_state = Hypervector::zero();
for (ch, timing) in active_channels {
    let time_rotated = channel_bases[ch].rotate(timing);
    neural_state = neural_state.bundle(&time_rotated);
}
// Similarity search against known motor patterns: <100ns
let intent = pattern_library.nearest(&neural_state);

Signal Quantization with Stochastic Resonance

Neural signals must be quantized for digital processing, but naive rounding destroys information in low-amplitude signals. ruvector-dither::quantize_dithered adds controlled noise before quantization -- a technique called stochastic resonance -- that paradoxically improves signal fidelity. The golden-ratio dither sequence ensures uniform coverage of the quantization interval.

use ruvector_dither::{GoldenRatioDither, quantize_dithered};

let mut dither = GoldenRatioDither::new(0.0);

// 8-bit quantization with half-LSB dither: preserves sub-threshold signals
for sample in neural_signal.iter_mut() {
    *sample = quantize_dithered(*sample, 8, 0.5, &mut dither);
}

At 5-bit quantization (sufficient for spike detection), dithering reduces the effective noise floor by 6-12 dB compared to direct rounding, enabling smaller implants with lower ADC power budgets.


2. Cognitive Prosthetics

A prosthetic limb must decode intent from neural signals, plan a movement trajectory, and execute it -- all within the ~100ms window of natural motor control. The RuVector stack provides each layer of this pipeline.

Real-Time Decoding on FPGA

ruvector-fpga-transformer runs transformer inference on FPGA fabric with <1ms latency. The CoherenceGate trait provides a critical safety mechanism: it performs a preflight check before every inference cycle, verifying that the decoded intent is internally consistent. If coherence drops below threshold, the gate blocks execution -- the prosthetic holds position rather than making an erratic movement.

use ruvector_fpga_transformer::gating::{CoherenceGate, CoherenceConfig};

// Strict gating for prosthetic safety: require positive coherence,
// minimum 4 layers of confirmation before acting
let safety = CoherenceConfig::strict();

// Every motor command passes through the gate
let decision = gate.preflight(&motor_intent_hint);
match decision {
    GateDecision::Allow => actuator.execute(decoded_trajectory),
    GateDecision::Skip(_reason) => actuator.hold_position(),
}

The checkpoint method enables layer-by-layer early exit: if coherence stabilizes after 4 transformer layers instead of 12, the FPGA skips the remaining layers, cutting latency in half while maintaining safety.

Flash Attention for Neural Streams

Implanted electrode arrays produce continuous streams at 30kHz per channel. Processing 96 channels simultaneously generates attention matrices that would consume prohibitive memory with standard O(n^2) attention. FlashAttention in ruvector-attention::sparse::flash computes attention in tiles of configurable block_size, reducing memory to O(block_size) while maintaining numerical stability through online softmax.

use ruvector_attention::sparse::flash::FlashAttention;

// Process 96-channel neural stream in 32-sample blocks
let decoder_attention = FlashAttention::new(96, 32);
let attended = decoder_attention.compute(&query, &keys, &values)?;

Sparse Inference on Implantable Hardware

ruvector-sparse-inference::SparseFfn activates only a subset of neurons per forward pass. For a 4096-hidden-dim model with 10% sparsity, this means computing 410 neurons instead of 4096 -- a 10x reduction in multiply-accumulate operations. The W2 transposed storage layout provides an additional 15-25% speedup through contiguous memory access. This is the difference between a model that fits on a cortical implant's power budget and one that does not.

Global Workspace for Sensory Integration

A patient with both a cochlear implant and a retinal prosthetic needs unified perception, not two separate streams. GlobalWorkspace in ruvector-nervous-system::routing::workspace implements Baars-Dehaene global workspace theory: representations from different sensory modules compete for broadcast based on salience scores, creating a unified conscious experience from disparate inputs.

use ruvector_nervous_system::routing::workspace::{GlobalWorkspace, WorkspaceItem};

let mut workspace = GlobalWorkspace::new(5); // capacity for 5 active items

// Visual prosthetic submits a high-salience object detection
workspace.submit(WorkspaceItem::new(visual_encoding, 0.9, VISUAL_MODULE, now));

// Auditory prosthetic submits a lower-salience ambient sound
workspace.submit(WorkspaceItem::new(audio_encoding, 0.3, AUDIO_MODULE, now));

// Broadcast: highest-salience item becomes the focus of attention
let focus = workspace.broadcast();

3. Memory Augmentation

Human memory is reconstructive, hierarchical, and lossy. Augmenting it requires systems that mirror these properties rather than replacing them with flat databases.

Hierarchical Episodic Memory

ruvector-hyperbolic-hnsw implements HNSW search in the Poincare ball model of hyperbolic space. Hyperbolic geometry naturally encodes hierarchies: abstract concepts cluster near the origin while specific memories occupy the periphery. This matches how human episodic memory organizes experiences -- "trip to Paris" contains "dinner at the restaurant" contains "taste of the wine."

use ruvector_hyperbolic_hnsw::{HyperbolicHnswConfig, DistanceMetric};

let config = HyperbolicHnswConfig {
    curvature: 1.0,             // Controls hierarchy depth
    metric: DistanceMetric::Poincare,
    use_tangent_pruning: true,  // Accelerated search via tangent space
    ef_search: 50,              // Recall-latency tradeoff
    ..Default::default()
};

The tangent space pruning optimization projects candidate vectors into local Euclidean patches for fast pre-filtering before computing expensive Poincare distances -- a 3-5x search speedup that makes real-time memory retrieval feasible for augmented cognition.

Pattern Separation for Interference-Free Encoding

The hippocampal dentate gyrus solves a problem that plagues all memory systems: new memories interfering with old ones. DentateGyrus in ruvector-nervous-system::separate::dentate replicates this by expanding inputs 50-100x (128D to 10,000D) and enforcing 2-5% sparsity via k-winners-take-all. The result: collision rate below 1% even for highly similar inputs.

use ruvector_nervous_system::DentateGyrus;

// 512D sensory input -> 25,000D sparse code, 500 active neurons (2%)
let separator = DentateGyrus::new(512, 25000, 500, 42);

let memory_a = separator.encode(&experience_morning);
let memory_b = separator.encode(&experience_afternoon);
// Even if morning and afternoon share 90% of features,
// sparse codes overlap < 1%

Continual Learning without Forgetting

ElasticWeightConsolidation in ruvector-gnn::ewc computes the Fisher information diagonal to identify which weights are critical for previously learned knowledge. The regularization term L_EWC = lambda/2 * sum(F_i * (theta_i - theta_star_i)^2) penalizes changes to important weights while leaving unimportant ones free to learn new information. With lambda in the 10-10,000 range, a memory augmentation system can continuously learn new facts without degrading recall of old ones.

Sleep-Cycle Consolidation

CircadianController in ruvector-nervous-system::routing::circadian implements time-aware compute regulation inspired by the suprachiasmatic nucleus. During the Consolidation phase, the ReplayBuffer from ruvector-gnn::replay replays important experiences using reservoir sampling for uniform temporal coverage. This mirrors the hippocampal replay observed during slow-wave sleep, where the brain selectively strengthens important memories.

use ruvector_nervous_system::routing::CircadianController;

let mut clock = CircadianController::new(24.0);

// During waking: encode new memories
if clock.should_compute() {
    memory_system.encode(new_experience);
}

// During sleep: replay and consolidate
if clock.should_consolidate() {
    let batch = replay_buffer.sample_batch(32);
    ewc.consolidate(&current_weights, &fisher_diagonal);
}

4. Education Revolution

Education is the application of human augmentation that requires no surgery. Every cognitive enhancement primitive in the RuVector stack can be applied to learning systems today.

Knowledge Graph Navigation with GNN

ruvector-gnn models curricula as graphs where nodes are concepts and edges are prerequisite relationships. GNN message-passing propagates mastery signals through the graph: when a student masters "linear algebra," that signal flows forward to unlock "machine learning" and backward to reinforce "calculus" confidence. The mmap-backed gradient accumulation handles knowledge graphs with millions of concepts without exceeding device memory.

Attention-Based Struggle Detection

The 18+ attention variants in ruvector-attention can be repurposed to model student attention. local_global fusion attention processes fine-grained interaction data (keystroke timing, eye tracking) locally while maintaining global context (course progress, learning style). When attention weights concentrate on a concept node, it signals struggle; when they diffuse, it signals mastery.

Self-Organizing Curricula with SONA

SonaEngine records learning trajectories and self-optimizes the system architecture in response. Applied to education: each student interaction generates a TrajectoryBuilder that records concept sequence, time spent, and assessment quality. SONA's loop coordinator then reshapes the curriculum graph -- adding remedial branches, collapsing mastered sections, surfacing cross-domain connections -- all without manual curriculum design.

use sona::SonaEngine;

let engine = SonaEngine::new(768); // embedding dim for concept vectors

let trajectory = engine.begin_trajectory(student_state_embedding);
// ... student works through lesson ...
engine.end_trajectory(trajectory, assessment_score);
// SONA automatically adjusts curriculum architecture

Information Bottleneck for Concept Compression

InformationBottleneck in ruvector-attention::info_bottleneck compresses representations through a variational bottleneck with loss L = Reconstruction + beta * KL(q(z|x) || p(z)). For education, this means identifying the minimal representation of a complex topic that still enables reconstruction of the full concept. A textbook chapter compressed through the information bottleneck yields the essential intuitions -- the "aha moment" distilled from the noise.

Automatic Domain Expansion

ruvector-domain-expansion evaluates cross-domain transfer: when a student's kernel trained on Domain 1 (say, music theory) accelerates learning in Domain 2 (say, mathematics), the system automatically surfaces that connection. The DomainId and Task abstractions with difficulty levels [0.0, 1.0] enable principled measurement of transfer learning in human education -- something no existing ed-tech platform attempts.


5. Collective Intelligence

Human-AI Agent Mesh

rvAgent provides the substrate for teams where human and AI agents share context through a unified memory layer. ruvector-cognitive-container packages an agent's complete cognitive state -- memory slab, witness chain, epoch controller -- into a portable, serializable unit with ContainerConfig. A surgeon can carry their cognitive container between operating rooms; a researcher can share theirs with a collaborator, transferring not just data but learned patterns and calibrated intuitions.

use ruvector_cognitive_container::container::ContainerConfig;

let config = ContainerConfig {
    instance_id: surgeon_id,
    max_receipts: 4096,  // Full audit trail via witness chain
    ..Default::default()
};

The WitnessChain provides cryptographic auditability: every cognitive state transition is logged with a ContainerWitnessReceipt, enabling post-hoc verification that an augmented cognition system behaved correctly during a critical procedure.

Predictive Knowledge Routing

PredictiveLayer in ruvector-nervous-system::routing::predictive learns to predict what information you will need next, transmitting only prediction errors (residuals) when they exceed a threshold. Applied to collaborative work: the system pre-fetches relevant knowledge, research papers, and context before a team member asks for it. The 90-99% bandwidth reduction from residual coding means this anticipatory routing can operate continuously without overwhelming the user.

Coherence Fabric for Shared Understanding

When multiple augmented humans collaborate, their individual cognitive models must maintain consistency. The CoherenceEngine in prime-radiant::coherence computes spectral coherence across agent states, detecting when team members' mental models diverge. The min_coherence threshold triggers reconciliation -- surfacing the specific point of disagreement rather than letting misunderstandings compound.


6. Timeline

Phase 1: Cognitive Assistants (2025-2030)

Available now. SONA-powered tutoring systems, GNN-based curriculum navigation, information bottleneck explanations. Coherence gating from prime-radiant ensures AI assistants never present contradictory information. Predictive routing reduces latency in knowledge retrieval. No hardware implants required -- these are software-only augmentations running on commodity hardware.

Key crates: sona, ruvector-gnn, ruvector-attention, prime-radiant, ruvector-domain-expansion.

Phase 2: Neural Interface Prosthetics (2030-2040)

FPGA-accelerated neural decoding with ruvector-fpga-transformer drives prosthetic limbs. HDC encoding in ruvector-nervous-system::hdc provides noise-robust signal representation. Flash attention processes high-bandwidth electrode arrays. Sparse inference on ruvector-sparse-inference fits sophisticated models onto implantable power budgets. Coherence gating provides the safety layer that regulatory bodies require.

Key crates: ruvector-fpga-transformer, ruvector-nervous-system, ruvector-sparse-inference, ruvector-dither.

Phase 3: Bidirectional BCI (2040-2055)

Writing to the brain, not just reading. BTSP one-shot learning enables direct memory implantation -- encoding new skills or knowledge in a single exposure rather than hours of practice. Dentate gyrus pattern separation ensures implanted memories do not corrupt existing ones. EWC continual learning allows the augmentation system to grow with the user over decades without catastrophic forgetting. Circadian-regulated replay consolidates implanted memories during sleep.

Key crates: ruvector-nervous-system (BTSP, dentate gyrus, circadian), ruvector-gnn (EWC, replay).

Phase 4: Hybrid Cognition (2055-2075)

The boundary between biological and computational cognition dissolves. Cognitive containers become extensions of the self, portable across substrates. Global workspace theory -- already implemented in ruvector-nervous-system::routing::workspace -- provides the integration layer where biological perception and computational analysis merge into a single conscious experience. Collective intelligence emerges not from connecting brains directly but from connecting cognitive containers through coherence-verified channels, ensuring shared understanding without sacrificing individual autonomy.

Key crates: ruvector-cognitive-container, ruvector-nervous-system (global workspace), prime-radiant (coherence fabric), rvAgent.


Crate Reference Matrix

Augmentation Domain Primary Crates Key Structs
Spike train decoding ruvector-nervous-system Dendrite, Hypervector, BTSPLayer
Motor prosthetics ruvector-fpga-transformer, ruvector-sparse-inference CoherenceGate, SparseFfn
Signal conditioning ruvector-dither GoldenRatioDither, quantize_dithered
Memory augmentation ruvector-hyperbolic-hnsw, ruvector-gnn HyperbolicHnswConfig, ElasticWeightConsolidation, ReplayBuffer
Pattern separation ruvector-nervous-system DentateGyrus
Sensory integration ruvector-nervous-system GlobalWorkspace, WorkspaceItem
Adaptive education sona, ruvector-gnn, ruvector-attention SonaEngine, InformationBottleneck
Knowledge routing ruvector-nervous-system, ruvector-domain-expansion PredictiveLayer, CircadianController
Collective cognition ruvector-cognitive-container, prime-radiant ContainerConfig, WitnessChain
Attention processing ruvector-attention FlashAttention, local_global

Every struct in this table ships today. The research path from software primitive to human augmentation is not a leap of faith -- it is an engineering schedule.