Files
ruflo/plugins/ruflo-agentdb
Reuven cf96a562c1 feat(plugins): ADR-098 Part 1 (slice 4/4) — G7 controllers in agentdb + knowledge-graph
Closes Part 1 of ADR-098. Documents the 5 AgentDB controllers
activated in 3.6.23+/3.6.24 (G7 from ADR-095) so end users of
ruflo-agentdb and ruflo-knowledge-graph know they're available.

ruflo-agentdb/README.md:
  New "G7 controllers (activated in ruflo 3.6.23+ / 3.6.24)" section
  with a 5-row table (controller / role / source). Each entry cites
  the dist file inside the agentdb npm package so users can verify
  the wiring locally:
    gnnService           — GNN embeddings + relational scoring
    rvfOptimizer         — quantize + dedupe vector blocks
    mutationGuard        — WASM proof generation for state mutations
    attestationLog       — hash-chained audit log (.swarm/attestation.db)
    GuardedVectorBackend — wraps vectorBackend with guard + log
  Notes graphAdapter still pending external graph-DB connection.
  Pointers to agentdb_controllers / agentdb_health for runtime
  inspection.

ruflo-knowledge-graph/README.md:
  Targeted G7 section explaining which controllers help this plugin
  specifically:
    gnnService            — augments pathfinder semantic_similarity
                             with structural relational scoring
    rvfOptimizer          — collapses near-duplicate entity vectors
                             (same class re-exported from multiple
                             modules)
    mutationGuard +
    attestationLog +
    GuardedVectorBackend  — proof-gated writes for federated knowledge
                             import; .swarm/attestation.db audit trail
  Notes graphAdapter as a future improvement that would replace the
  current flat-causal-edge view with a real graph-DB backend.

Plugin versions:
  ruflo-agentdb          0.1.0 → 0.2.0 (minor — capability sync)
  ruflo-knowledge-graph  0.1.0 → 0.2.0 (minor — capability sync)

ADR-098 Part 1 complete: 6 plugins now reference recent ADR
capabilities. Acceptance: each affected plugin has a paragraph or
bullet list referencing the relevant ADR — done for the 6 plugins
flagged in the Part 1 table.

Remaining ADR-098 work:
  - Part 2: token diet (4 fat agent prompts → ≤ 60 lines)
  - Part 5: worker dispatch (≥ 8 work-producing agents)
2026-05-03 22:14:50 -04:00
..

ruflo-agentdb

AgentDB memory controllers with HNSW vector search, RuVector embeddings, and causal knowledge graphs.

Wraps Ruflo's AgentDB MCP tools (agentdb_, embeddings_, ruvllm_hnsw_*) into skills and commands for Claude Code.

Install

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-agentdb@ruflo

Features

  • 19 AgentDB controllers: Hierarchical store/recall, semantic routing, context synthesis
  • HNSW vector search: 150x-12,500x faster than brute-force scanning
  • 384-dim ONNX embeddings: all-MiniLM-L6-v2 for semantic similarity
  • Causal knowledge graphs: Link related knowledge with causal edges
  • Hyperbolic embeddings: Poincare ball model for hierarchical data

G7 controllers (activated in ruflo 3.6.23+ / 3.6.24)

ADR-095 closed five previously-disabled AgentDB controllers. They're now wired by default in the ControllerRegistry and reachable via agentdb_* MCP tools or the /agentdb slash command:

Controller Role Source
gnnService Graph Neural Network embeddings + relational scoring over the AgentDB causal graph. No-arg construction, safe-default activation. agentdb/dist/src/services/GNNService.js
rvfOptimizer RuVector format compaction — quantizes + dedupes vector blocks before persistence. No-arg construction. agentdb/dist/src/optimizations/RVFOptimizer.js
mutationGuard WASM-backed proof generation for state mutations (ADR-060). Gates writes through proof verification. agentdb/dist/src/security/MutationGuard.js
attestationLog Hash-chained audit log of mutations. Backed by a dedicated .swarm/attestation.db (separate from main memory.db so the audit trail is isolated). Requires better-sqlite3. agentdb/dist/src/security/AttestationLog.js
GuardedVectorBackend Wraps the existing vectorBackend with mutationGuard + attestationLog for proof-gated writes. Activates only when both prerequisites resolve. agentdb/dist/src/backends/ruvector/GuardedVectorBackend.js

The remaining G7 controller — graphAdapter — is still pending an external graph-DB connection. Tracked in ADR-095.

Inspect runtime status: agentdb_controllers MCP tool or agentdb_health — both report initialization status per controller.

Commands

  • /agentdb -- AgentDB health, controller status, session management
  • /embeddings -- RuVector embedding engine status and operations

Skills

  • agentdb-query -- Query AgentDB with semantic routing and hierarchical recall
  • vector-search -- HNSW vector search with RuVector embeddings