23f7624596
ADR-166 MCP Bridge Security Lock / Static-source security lock (push) Failing after 0s
ADR-166 MCP Bridge Security Lock / Compose default binds loopback + Mongo has auth (push) Failing after 2s
CodeQL Advanced / Analyze (rust) (push) Failing after 0s
ADR-166 MCP Bridge Security Lock / plugin-agent-federation bindHost default (push) Failing after 1s
ADR-166 MCP Bridge Security Lock / Runtime behavior — 401 + terminal gate + fail-closed (push) Failing after 4s
business-pods-smoke / smoke (push) Failing after 1s
all-plugins-smoke / smoke-all (push) Failing after 2s
CI/CD Pipeline / Security & Code Quality (push) Failing after 1s
CI/CD Pipeline / Test Suite (ubuntu-latest) (push) Failing after 1s
CI/CD Pipeline / Build & Package (macos-latest) (push) Has been skipped
CI/CD Pipeline / Build & Package (ubuntu-latest) (push) Has been skipped
CI/CD Pipeline / Build & Package (windows-latest) (push) Has been skipped
CI/CD Pipeline / Documentation & Examples (push) Failing after 1s
Clone Tracker (14-day rolling) / Snapshot clones for ruflo ecosystem (push) Failing after 1s
CodeQL Advanced / Analyze (actions) (push) Failing after 1s
CodeQL Advanced / Analyze (javascript-typescript) (push) Failing after 1s
federation-peer-rust / stable-noop (push) Failing after 1s
metaharness-ci / score (push) Failing after 1s
metaharness-ci / router-compat (push) Failing after 0s
metaharness-ci / similarity-tests (push) Failing after 0s
no-agentbbs-smoke / smoke-without-agentbbs (push) Failing after 1s
V3 CI/CD Pipeline / Build V3 (windows-latest) (push) Has been skipped
codex-integration-audit / Codex integration audit (push) Failing after 1s
helpers-manifest-guard / guard (push) Failing after 1s
🔗 Cross-Agent Integration Tests / 🤝 Agent Coordination Tests (push) Has been skipped
🔗 Cross-Agent Integration Tests / 🧠 Memory Sharing Integration (push) Has been skipped
🔗 Cross-Agent Integration Tests / 🛡️ Fault Tolerance Tests (push) Has been skipped
🔗 Cross-Agent Integration Tests / ⚡ Performance Integration Tests (push) Has been skipped
metaharness-ci / mcp-scan (push) Failing after 1s
metaharness-ci / eject-dryrun (push) Failing after 1s
metaharness-ci / metaharness-real-data (push) Failing after 0s
no-cli-optdep-bloat-2561 / guard (push) Failing after 1s
no-metaharness-smoke / smoke-without-metaharness (push) Failing after 1s
no-phantom-agentic-flow-subpath / guard (push) Failing after 1s
🔄 Automated Rollback Manager / 🚨 Failure Detection (push) Failing after 1s
V3 CI/CD Pipeline / Plugin hooks smoke / ubuntu-latest / Node 22 (push) Failing after 1s
V3 CI/CD Pipeline / ruflo-graph-intelligence build + test smoke (#2044, ADR-123) (push) Failing after 1s
CVE Audit Gate / Audit root (critical-blocking) (push) Failing after 2s
cost-tracker-smoke / smoke (push) Failing after 3s
oia-audit-weekly / audit (push) Failing after 2s
ruflo-agent-smoke / ruflo-agent structural smoke (push) Failing after 1s
📊 Status Badges Update / 📊 Update Status Badges (push) Failing after 1s
V3 CI/CD Pipeline / Static regression guards (#2267 YAML + (push) Failing after 1s
V3 CI/CD Pipeline / Test V3 Packages (push) Failing after 0s
V3 CI/CD Pipeline / agent_execute provider routing smoke (#2042) (push) Failing after 0s
CVE Audit Gate / Audit v3 (critical-blocking) (push) Failing after 1s
federation-peer-rust / stable-native (push) Failing after 2s
🔗 Cross-Agent Integration Tests / 🚀 Integration Test Setup (push) Failing after 2s
neural-trader-smoke / runtime-smoke (push) Failing after 1s
V3 CI/CD Pipeline / Build V3 (macos-latest) (push) Has been skipped
V3 CI/CD Pipeline / Build V3 (ubuntu-latest) (push) Has been skipped
V3 CI/CD Pipeline / Type Check V3 (push) Failing after 1s
V3 CI/CD Pipeline / Smoke (no better-sqlite3) / ubuntu-latest / Node 24 (push) Failing after 1s
V3 CI/CD Pipeline / Smoke (no better-sqlite3) / ubuntu-latest / Node 22 (push) Failing after 2s
V3 CI/CD Pipeline / browser rvf create flag smoke (#2015) (push) Failing after 0s
V3 CI/CD Pipeline / Dependency review (#2046) (push) Has been skipped
V3 CI/CD Pipeline / Supply-chain audit (#2046) (push) Failing after 0s
V3 CI/CD Pipeline / witness marker drift smoke (#2021) (push) Failing after 1s
V3 CI/CD Pipeline / neural-trader portfolio CG smoke (#2068, ADR-126 Phase 3) (push) Failing after 1s
V3 CI/CD Pipeline / neural-trader backtest signing smoke (#2068, ADR-126 Phase 4) (push) Failing after 1s
V3 CI/CD Pipeline / kg-extract type-import classification smoke (#2049) (push) Failing after 0s
V3 CI/CD Pipeline / witness verify precondition smoke (#1880) (push) Failing after 2s
V3 CI/CD Pipeline / neural-trader pipeline risk-gate smoke (#2068, ADR-126 Phase 5) (push) Failing after 0s
V3 CI/CD Pipeline / neural-trader feature attribution smoke (#2068, ADR-126 Phase 6) (push) Failing after 0s
V3 CI/CD Pipeline / plugin-registry signature verification smoke (#1922, CWE-347) (push) Failing after 4s
V3 CI/CD Pipeline / memory stats legacy-DB smoke (#2120) (push) Failing after 4s
V3 CI/CD Pipeline / github deprecated actions smoke (#2089, ADR-127 Phase 3) (push) Failing after 1s
V3 CI/CD Pipeline / graph query + pathfinder smoke (ADR-130 P2+P5) (push) Has been skipped
V3 CI/CD Pipeline / graph trajectory hooks smoke (ADR-130 P3) (push) Has been skipped
V3 CI/CD Pipeline / graph plugin adapter smoke (ADR-130 P4) (push) Has been skipped
V3 CI/CD Pipeline / graph benchmark (ADR-130 P6) (push) Has been skipped
V3 CI/CD Pipeline / statusline generator delegation smoke (#2195) (push) Failing after 1s
V3 CI/CD Pipeline / wizard init regression guard (#2206 (push) Failing after 1s
V3 CI/CD Pipeline / memory no-stray-db smoke (ADR-125 P7) (push) Failing after 1s
V3 CI/CD Pipeline / github-safe injection smoke (#2089, ADR-127 Phase 1) (push) Failing after 1s
V3 CI/CD Pipeline / github actions pin smoke (#2089, ADR-127 Phase 1) (push) Failing after 1s
V3 CI/CD Pipeline / github attribution opt-in smoke (#2089, ADR-127 Phase 4) (push) Failing after 1s
V3 CI/CD Pipeline / pre-bash hook safety smoke (#2017) (push) Failing after 1s
V3 CI/CD Pipeline / Memory import smoke / ubuntu-latest (push) Failing after 0s
V3 CI/CD Pipeline / MCP protocol smoke / ubuntu-latest (push) Failing after 2s
V3 CI/CD Pipeline / ruvllm WASM auto-init smoke (#2086) (push) Failing after 4s
V3 CI/CD Pipeline / MCP paired-tool round-trip smoke (#1889) (push) Failing after 1s
V3 CI/CD Pipeline / Plugin package install-safety (#1902/#1903/#1904) (push) Failing after 1s
V3 CI/CD Pipeline / Tool description discoverability (ADR-112) (push) Failing after 3s
V3 CI/CD Pipeline / CLI npx-install smoke (#1147 / (22) (push) Failing after 1s
V3 CI/CD Pipeline / CLI npx-install smoke (#1147 / (24) (push) Failing after 1s
V3 CI/CD Pipeline / Windows hook shim smoke (#2132) / ubuntu-latest (push) Failing after 2s
V3 CI/CD Pipeline / Windows hook execution smoke (#2132) / ubuntu-latest (push) Failing after 1s
V3 CI/CD Pipeline / Windows init hooks smoke (#2132) / ubuntu-latest (push) Failing after 1s
V3 CI/CD Pipeline / Vector-index dimension audit (#1947) (push) Failing after 0s
V3 CI/CD Pipeline / Hook-command install safety (#1921) (push) Failing after 1s
V3 CI/CD Pipeline / ToolOutputGuardrail smoke (ADR-131, (push) Failing after 1s
V3 CI/CD Pipeline / init-bundle invariants smoke (#2095, ADR-128 Phase 5) (push) Failing after 1s
V3 CI/CD Pipeline / wasm provider bridge smoke (ADR-129 P1) (push) Failing after 2s
V3 CI/CD Pipeline / wasm gallery CRUD smoke (ADR-129 P3) (push) Failing after 1s
V3 CI/CD Pipeline / wasm plugin bridge smoke (ADR-129 P4) (push) Failing after 0s
V3 CI/CD Pipeline / wasm compose smoke (ADR-129 P2) (push) Failing after 4s
V3 CI/CD Pipeline / graph schema smoke (ADR-130 P1) (push) Failing after 0s
Validate Marketplace / validate (push) Failing after 1s
🔍 Verification Pipeline / 🚀 Setup Verification (push) Failing after 1s
🔍 Verification Pipeline / 🛡️ Security Verification (push) Has been skipped
🔍 Verification Pipeline / 📝 Code Quality (push) Has been skipped
🔍 Verification Pipeline / 🧪 Test Verification (${{ matrix.os }}, Node ${{ matrix.node }}) (push) Has been skipped
🔍 Verification Pipeline / 🏗️ Build Verification (push) Has been skipped
🔍 Verification Pipeline / 📚 Documentation Verification (push) Has been skipped
CVE Audit Gate / High-severity report (warn only) (push) Has been cancelled
🔄 Automated Rollback Manager / 🔄 Execute Rollback (push) Has been cancelled
🔄 Automated Rollback Manager / ✅ Post-Rollback Verification (push) Has been cancelled
🔄 Automated Rollback Manager / 📊 Rollback Monitoring (push) Has been cancelled
V3 CI/CD Pipeline / Windows init hooks smoke (#2132) / windows-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook execution smoke (#2132) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook execution smoke (#2132) / windows-latest (push) Has been cancelled
🔄 Automated Rollback Manager / ⏳ Manual Rollback Approval (push) Has been cancelled
V3 CI/CD Pipeline / MCP protocol smoke / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Memory import smoke / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook shim smoke (#2132) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook shim smoke (#2132) / windows-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows init hooks smoke (#2132) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Witness verify (signed manifest) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Witness verify (signed manifest) / ubuntu-latest (push) Has been cancelled
V3 CI/CD Pipeline / Witness verify (signed manifest) / windows-latest (push) Has been cancelled
V3 CI/CD Pipeline / Publish to npm (alpha) (push) Has been cancelled
V3 CI/CD Pipeline / Smoke (no better-sqlite3) / macos-latest / Node 22 (push) Has been cancelled
V3 CI/CD Pipeline / Plugin hooks smoke / macos-latest / Node 22 (push) Has been cancelled
CI/CD Pipeline / Deploy & Release (push) Has been cancelled
CI/CD Pipeline / CI Status (push) Has been cancelled
🔗 Cross-Agent Integration Tests / 📊 Integration Test Report (push) Has been cancelled
🔄 Automated Rollback Manager / 🔍 Pre-Rollback Validation (push) Has been cancelled
🔍 Verification Pipeline / ⚡ Performance Verification (push) Has been cancelled
🔍 Verification Pipeline / 📊 Verification Report (push) Has been cancelled
172 lines
13 KiB
Markdown
172 lines
13 KiB
Markdown
---
|
|
id: ADR-0001
|
|
title: Optimize ruflo-intelligence — surface completeness, 4-step pipeline, IPFS pattern transfer, namespace coordination with ruflo-agentdb
|
|
status: Proposed
|
|
date: 2026-05-04
|
|
authors:
|
|
- reviewer (Claude Code)
|
|
tags: [plugin, intelligence, sona, microlora, moe, ewc, hnsw, hooks, transfer, namespace, smoke-test]
|
|
---
|
|
|
|
## Context
|
|
|
|
### Today's `ruflo-intelligence`
|
|
|
|
The plugin (v0.1.0) wraps "intelligence" capabilities loosely. Six files:
|
|
|
|
- `.claude-plugin/plugin.json:4` — `version: "0.1.0"`, keywords `intelligence, sona, neural, learning, routing`
|
|
- `README.md:5` — claims wrapping of `neural_*`, `hooks_intelligence_*`, `hooks_model-*` MCP families. No tool inventory or count.
|
|
- `agents/intelligence-specialist.md:15-19` — names four tool prefixes (`neural_*`, `hooks_intelligence_*`, `hooks_route`/`hooks_model-route`, `ruvllm_sona_*`)
|
|
- `commands/intelligence.md` — calls `hooks_intelligence_stats`, `neural_status`, `hooks_model-stats` only
|
|
- `commands/neural.md` — dispatches `neural_train`/`status`/`patterns`/`predict`/`optimize`
|
|
- `skills/intelligence-route/SKILL.md:5` — `allowed-tools` enumerates 8 tools
|
|
- `skills/neural-train/SKILL.md:5` — `allowed-tools` enumerates 13 tools
|
|
|
|
### What the CLI actually exposes (verified on 2026-05-04)
|
|
|
|
Counted directly from source:
|
|
|
|
| Family | Plugin coverage | Real count | Source |
|
|
|--------|-----------------|------------|--------|
|
|
| `neural_*` | 5 of 6 | **6** (`neural_train`, `neural_predict`, `neural_patterns`, `neural_compress`, `neural_status`, `neural_optimize`) | `v3/@claude-flow/cli/src/mcp-tools/neural-tools.ts:195, 312, 413, 539, 651, 706` |
|
|
| `hooks_intelligence_*` (and dispatcher / reset) | 6 of 10 | **10** (`hooks_intelligence`, `hooks_intelligence-reset`, `hooks_intelligence_trajectory-start/step/end`, `hooks_intelligence_pattern-store`, `hooks_intelligence_pattern-search`, `hooks_intelligence_stats`, `hooks_intelligence_learn`, `hooks_intelligence_attention`) | `v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts:2093, 2226, 2296, 2355, 2404, 2556, 2634, 2741, 2952, 3027` |
|
|
| Routing & meta hooks (`hooks_route`, `hooks_explain`, `hooks_pretrain`, `hooks_build-agents`, `hooks_metrics`, `hooks_transfer`) | 1 of 6 (only `hooks_route`) | **6** | `hooks-tools.ts:884, 1062, 1420, 1499, 1593, 1664` |
|
|
| `hooks_model-*` | 2 of 3 | **3** (`hooks_model-route`, `hooks_model-outcome`, `hooks_model-stats`) | `hooks-tools.ts:3797, 3844, 3879` |
|
|
| `ruvllm_sona_*` + `ruvllm_microlora_*` | 2 of 4 (only sona_create / sona_adapt) | **4** | `v3/@claude-flow/cli/src/mcp-tools/ruvllm-tools.ts:142, 169, 192, 222` |
|
|
| **Total** | ~14 of **29** | **29** | — |
|
|
|
|
The plugin documents roughly half the intelligence-related surface that the CLI actually exposes. Specifically missing or underspecified:
|
|
|
|
- **`hooks_intelligence_attention`** — attention-mechanism dispatch (the same primitive `ruflo-ruvector` surfaces via `attention list`). Plugin makes no mention.
|
|
- **`hooks_intelligence_learn`** — the "learn from outcomes" tool, the heart of the self-learning loop.
|
|
- **`hooks_intelligence-reset`** — clears intelligence state. Useful for testing and fresh runs.
|
|
- **`hooks_metrics`** — metrics dashboard. Plugin's `/intelligence` command should call it.
|
|
- **`hooks_explain`** — routing-decision rationale. Critical for trust ("why did the system pick this agent?").
|
|
- **`hooks_build-agents`** — generates optimized agent configs from learned patterns.
|
|
- **`hooks_transfer`** — **IPFS-based pattern transfer between projects**. Genuine differentiator, totally invisible in the plugin.
|
|
- **`ruvllm_microlora_create` / `ruvllm_microlora_adapt`** — MicroLoRA adaptation. Plugin only mentions SONA.
|
|
- **`neural_compress`** — neural-pattern compression for storage efficiency.
|
|
|
|
### What's claimed but unsurfaced
|
|
|
|
`README.md:20` claims **"EWC++ consolidation"** as a feature. The plugin nowhere says how to invoke it. The actual EWC++ semantic lives in `agentdb_consolidate` and `ruvllm_microlora_adapt --consolidate` (per the ruvector adaptive embedder). The plugin should map the feature claim to the tool that delivers it.
|
|
|
|
`agents/intelligence-specialist.md:9` mentions **"SONA and MoE"**. SONA gets two tool calls; MoE gets none. `hooks_intelligence` accepts `enableMoe` and `mode`, but the plugin never tells you the modes (`balanced`, `sona`, `moe`, `hnsw`).
|
|
|
|
CLAUDE.md describes the **4-step intelligence pipeline (RETRIEVE → JUDGE → DISTILL → CONSOLIDATE)**. The plugin never surfaces this pipeline in user-facing form, even though it's the conceptual frame the whole substrate revolves around.
|
|
|
|
### Namespace coordination
|
|
|
|
`ruflo-agentdb` ADR-0001 (just landed) introduced a namespace convention with three reserved namespaces: `pattern` (ReasoningBank fallback), `claude-memories` (Claude Code bridge), `default`. **The intelligence pipeline writes to `pattern`** (via `agentdb_pattern-store` and the `hooks post-task --train-neural` path). The plugin should explicitly cite the convention so consumers don't reinvent it.
|
|
|
|
There's also a pluralization gotcha worth surfacing here: ruvector's neural/pretrain hooks write to `patterns` (plural), distinct from ReasoningBank's `pattern`. `ruflo-agentdb` documents this; `ruflo-intelligence` should reference the documentation.
|
|
|
|
### Why now
|
|
|
|
`ruflo-intelligence` is the **user-facing** surface for the self-learning system that the rest of the plugin family relies on. Documentation drift here means:
|
|
|
|
1. Agents that follow the plugin's instructions miss half the available learning loop.
|
|
2. `hooks_transfer`'s IPFS-based cross-project pattern sharing — a genuine differentiator — is invisible.
|
|
3. The 4-step pipeline is never operationalized; users invoke `neural_train` without understanding RETRIEVE/JUDGE/DISTILL/CONSOLIDATE as distinct steps.
|
|
4. Downstream plugins (`ruflo-browser` ADR-0001 references trajectory recording; `ruflo-agentdb` references `pattern` namespace writes) lose their anchor doc.
|
|
|
|
We just fixed analogous drift in `ruflo-ruvector` (ADR-0001) and `ruflo-agentdb` (ADR-0001). Same pattern applies here.
|
|
|
|
## Decision
|
|
|
|
Six changes. Each is plugin-local; no CLI source modifications.
|
|
|
|
### 1. Plugin metadata bump and accurate keyword set
|
|
|
|
`plugin.json` moves `0.1.0 → 0.3.0` (matches the ruflo-agentdb cadence and reflects that this is a **substantial scope expansion**, not a patch). Keywords gain `microlora`, `ewc`, `attention`, `moe`, `pattern-transfer`, `model-routing`, `mcp`. Description rewrites to explicitly enumerate the three families and the IPFS transfer.
|
|
|
|
### 2. README rewrite — surface completeness + 4-step pipeline + IPFS transfer
|
|
|
|
The README becomes the canonical entry point with these new sections:
|
|
|
|
- **Tool inventory** (3-family count table: 6 + 10 + 9 + 4 = **29**, with source file:line citations).
|
|
- **The 4-step intelligence pipeline** — operationalized as a section that maps each step (RETRIEVE / JUDGE / DISTILL / CONSOLIDATE) to specific tool calls. Aligns with CLAUDE.md but is now verifiable.
|
|
- **Cross-project pattern transfer** — `hooks_transfer` documented end-to-end (IPFS publish, fetch, apply). This is the single most undersold capability of the plugin family.
|
|
- **Hook integration** — table mapping `post-task --train-neural`, `pretrain`, `pre-task` to which intelligence tools fire. References ruflo-agentdb's reserved namespaces (`pattern` for ReasoningBank, `patterns` for neural-train).
|
|
- **Namespace coordination** — explicit deferral to `ruflo-agentdb` ADR-0001 §"Namespace convention"; reproduces the pluralization gotcha (`pattern` vs `patterns`).
|
|
- **EWC++ explanation** — no longer just a feature claim. Maps to `agentdb_consolidate` and `ruvllm_microlora_adapt --consolidate`.
|
|
- **MoE explanation** — `hooks_intelligence` modes (`balanced` / `sona` / `moe` / `hnsw`) enumerated.
|
|
- **Compatibility** — pinned to `@claude-flow/cli` v3.6 (matches ruflo-agentdb).
|
|
|
|
### 3. Agent rewrite — tool routing matrix
|
|
|
|
`agents/intelligence-specialist.md` gains a **routing matrix** that maps user intent to the specific MCP tool: "user wants routing rationale → `hooks_explain`"; "user wants pattern compression → `neural_compress`"; etc. Replaces the bullet list of prefixes with a decision table. Drops the free-form `memory store --namespace routing-outcomes` line (the tools handle this).
|
|
|
|
### 4. Commands fill in the gaps
|
|
|
|
- `/intelligence` — calls `hooks_intelligence_stats` + `hooks_metrics` + `hooks_model-stats` + `neural_status` + `hooks_explain` (when invoked with a `--why <task>` arg). Becomes a real dashboard, not a 4-step list.
|
|
- `/neural` — adds `neural_compress` to the dispatch table.
|
|
|
|
### 5. Skills
|
|
|
|
- `intelligence-route/SKILL.md` — adds `hooks_explain` as the post-routing rationale step. Updates the 3-tier routing table to match the actual `hooks_model-route` output shape.
|
|
- `neural-train/SKILL.md` — adds **MicroLoRA** section (`ruvllm_microlora_create` / `_adapt`) with EWC++ consolidation. Adds `neural_compress` for pattern compaction.
|
|
- **NEW skill `intelligence-transfer`** — `hooks_transfer` IPFS workflow. Covers `transfer store`, `transfer load`, `transfer from-project`. This is the single biggest gap in the current plugin.
|
|
|
|
### 6. Smoke contract
|
|
|
|
`scripts/smoke.sh` (new file). Structural checks against the documented surface — no live MCP calls. The contract:
|
|
|
|
1. plugin.json declares `0.3.0` with the new keywords.
|
|
2. README has all 4 new sections (tool inventory, 4-step pipeline, IPFS transfer, hook integration, namespace coordination, EWC++ explanation).
|
|
3. All 6 `neural_*` tools referenced somewhere in plugin docs.
|
|
4. All 10 `hooks_intelligence_*`-family tools referenced.
|
|
5. All 6 routing/meta hooks (`hooks_route`, `hooks_explain`, `hooks_pretrain`, `hooks_build-agents`, `hooks_metrics`, `hooks_transfer`) referenced.
|
|
6. All 3 `hooks_model-*` tools referenced.
|
|
7. All 4 SONA + MicroLoRA tools referenced.
|
|
8. The 4-step pipeline section names all four phases.
|
|
9. `intelligence-transfer` skill exists with allowed-tools enumerated and references `hooks_transfer`.
|
|
10. Pluralization gotcha referenced (`pattern` vs `patterns`) — defers to ruflo-agentdb.
|
|
11. No skill grants wildcard tool access.
|
|
12. ADR file exists with status Proposed.
|
|
13. Compatibility section pins to `@claude-flow/cli` v3.6.
|
|
|
|
Plus three doc invariants checked by single-line greps:
|
|
|
|
- `grep -q "4-step intelligence pipeline" plugins/ruflo-intelligence/README.md`
|
|
- `grep -q "hooks_transfer" plugins/ruflo-intelligence/skills/intelligence-transfer/SKILL.md`
|
|
- `grep -qE "RETRIEVE.+JUDGE.+DISTILL.+CONSOLIDATE" plugins/ruflo-intelligence/README.md`
|
|
|
|
## Consequences
|
|
|
|
**Positive:**
|
|
|
|
- Every documented capability claim maps to a verifiable MCP tool. No more "EWC++ consolidation" as a phantom feature.
|
|
- The 4-step intelligence pipeline (CLAUDE.md's V3 framing) is now operationalized in a user-facing form.
|
|
- IPFS pattern transfer becomes discoverable — agents in different projects can share what they've learned.
|
|
- Namespace coordination with `ruflo-agentdb` is explicit; downstream plugins inherit one consistent story.
|
|
- A smoke contract makes future drift catchable in CI.
|
|
|
|
**Negative:**
|
|
|
|
- Three downstream agents may currently call the legacy `memory store --namespace routing-outcomes` pattern from the agent file. Updating them is a separate cleanup.
|
|
- The new `intelligence-transfer` skill assumes `hooks_transfer` is wired to a working IPFS endpoint (Pinata or similar). If the endpoint is unconfigured, the skill returns a structured error — but agents reading the skill MD may be surprised. We document the prerequisite.
|
|
- Plugin v0.1.0 → v0.3.0 is a two-minor jump. Justified by scope (5 new sections + new skill + smoke + ADR), but consumers tracking strict semver should be aware.
|
|
|
|
**Neutral:**
|
|
|
|
- No new MCP tools introduced. All capability is **surfacing** of existing tools.
|
|
- The agent file's "Memory Learning" section (currently writing to a free-form `routing-outcomes` namespace) is replaced. Consumers of that namespace should migrate to `hooks_model-outcome` which is the typed equivalent.
|
|
|
|
## Verification
|
|
|
|
```bash
|
|
bash plugins/ruflo-intelligence/scripts/smoke.sh
|
|
# Expected: "16 passed, 0 failed" (13 contract checks + 3 doc invariants)
|
|
```
|
|
|
|
## Related
|
|
|
|
- `plugins/ruflo-ruvector/docs/adrs/0001-pin-ruvector-0.2.25.md` — pinning + smoke-as-contract precedent
|
|
- `plugins/ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md` — namespace convention + reserved namespaces (`pattern`/`claude-memories`/`default`); pluralization gotcha; hook integration table
|
|
- `plugins/ruflo-browser/docs/adrs/0001-browser-skills-architecture.md` — uses ruvector trajectory hooks (a primary learning input for this plugin)
|
|
- `v3/@claude-flow/cli/src/mcp-tools/neural-tools.ts` — 6 neural tool definitions
|
|
- `v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts` — 19 hooks-family tools (intelligence, route, model, transfer, metrics, explain, pretrain, build-agents)
|
|
- `v3/@claude-flow/cli/src/mcp-tools/ruvllm-tools.ts` — 4 SONA + MicroLoRA tools
|
|
- CLAUDE.md (V3 Performance Targets + 4-step pipeline framing)
|