Files
ruflo/plugins/ruflo-ruvllm
ruv 6198abfab7 fix(plugins): reconcile stale smoke contract assertions across 23 plugins
full-system-test surfaced 23/32 plugin smoke contracts failing on a
single drifted assertion: the smoke gate greps ADR-0001 for
`status: Proposed`, but those ADRs were long since promoted to
`Accepted` without updating the gate. Flip the assertion (label, grep,
message) Proposed -> Accepted only where the ADR is genuinely Accepted.

ruflo-core additionally had a stale version assertion (0.2.0 -> 0.2.2).

Left untouched: ruflo-adr, ruflo-browser, ruflo-intelligence — their
ADR-0001 is genuinely Proposed, so their smokes correctly assert it.
No plugin source or ADR changed — only the drifted test assertions.

All 32 plugin smoke contracts now pass; full-system-test is 4/4 green.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-29 15:00:34 -04:00
..

ruflo-ruvllm

RuVLLM local inference with chat formatting, model configuration, MicroLoRA fine-tuning, and SONA real-time adaptation.

Install

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

Features

  • Model configuration: Generate optimal configs for local inference
  • MicroLoRA: Task-specific fine-tuning with lightweight adapters
  • SONA adaptation: Real-time neural adaptation (<0.05ms)
  • Chat formatting: Multi-provider prompt formatting (Claude, GPT, Gemini, Ollama, Cohere)
  • HNSW routing: Context retrieval for RAG pipelines (≤11 hot patterns; for large-corpus search see ruflo-agentdb embeddings_search)

Commands

  • /ruvllm -- Model status, adapters, and provider availability

Skills

  • llm-config -- Configure models, MicroLoRA, and SONA
  • chat-format -- Format prompts for different LLM providers

Compatibility

  • CLI: pinned to @claude-flow/cli v3.6 major+minor.
  • Verification: bash plugins/ruflo-ruvllm/scripts/smoke.sh is the contract.

Cross-plugin tool ownership

This plugin shares the ruvllm_* MCP family with two sibling plugins. Each tool group has a canonical owner; this plugin is the entry point for LLM-config + chat formatting:

Tool group Canonical owner This plugin's role
ruvllm_sona_create, ruvllm_sona_adapt ruflo-intelligence ADR-0001 (4-step pipeline DISTILL phase) Surfaces SONA in llm-config skill
ruvllm_microlora_create, ruvllm_microlora_adapt ruflo-intelligence ADR-0001 (DISTILL + CONSOLIDATE phases via --consolidate flag) Surfaces MicroLoRA in llm-config skill
ruvllm_hnsw_create, ruvllm_hnsw_add, ruvllm_hnsw_route ruflo-agentdb ADR-0001 (WASM router, ≤11 patterns — distinct from large-corpus embeddings_search) References from chat-format for context routing

Source: v3/@claude-flow/cli/src/mcp-tools/ruvllm-tools.ts:142, 169, 192, 222 (SONA + MicroLoRA) and :57-58 (HNSW WASM router with ~11 patterns cap).

Namespace coordination

This plugin owns the ruvllm-config AgentDB namespace (kebab-case, follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention"). Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.

ruvllm-config stores model configurations, adapter manifests, and chat-format templates. Accessed via memory_* (namespace-routed).

Verification

bash plugins/ruflo-ruvllm/scripts/smoke.sh
# Expected: "10 passed, 0 failed"

Architecture Decisions

  • ruflo-intelligence — owns SONA + MicroLoRA in the 4-step pipeline
  • ruflo-agentdb — owns HNSW WASM router; namespace convention owner
  • ruflo-ruvector — sibling substrate plugin (pinned ruvector@0.2.25)
  • ruflo-rag-memory — consumes RAG context routing