Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUv2d89ae9ee1ee
diff --git a/v3/implementation/adrs/ADR-021-transfer-hook-ipfs-pattern-sharing.md b/v3/implementation/adrs/ADR-021-transfer-hook-ipfs-pattern-sharing.md
index db8688b881..80f98c2796 100644
--- a/v3/implementation/adrs/ADR-021-transfer-hook-ipfs-pattern-sharing.md
+++ b/v3/implementation/adrs/ADR-021-transfer-hook-ipfs-pattern-sharing.md
@@ -2068,36 +2068,58 @@ CLI Commands: Wired to real store modules βœ…
---
-**Status:** Fully Implemented
-**Next Steps:** Production hardening (real IPFS integration, signature verification, malware scanning)
+**Status:** Production-Ready with Demo Fallback
+**Updated:** 2026-01-08
### Integration Summary
-| Component | Status | Location |
-|-----------|--------|----------|
-| Pattern Store | βœ… Complete | `src/transfer/store/` |
-| Plugin Store | βœ… Complete | `src/plugins/store/` |
-| CLI Commands | βœ… Complete | `hooks transfer`, `plugins` |
-| MCP Tools | βœ… Complete | `src/mcp-tools/transfer-tools.ts` |
-| Demo Data | βœ… Working | 9 plugins including Plugin Creator Pro |
-| Test Suite | βœ… 44/44 Pass | Pattern + Plugin store tests |
-
-### Available MCP Tools (16)
-
-| Tool | Description |
-|------|-------------|
-| `transfer/export` | Export patterns with anonymization |
-| `transfer/import` | Import patterns from file/IPFS |
-| `transfer/anonymize` | Apply PII redaction |
-| `transfer/detect-pii` | Scan for PII |
-| `transfer/ipfs-upload` | Upload to IPFS |
-| `transfer/ipfs-download` | Download from IPFS |
-| `transfer/ipfs-resolve` | Resolve IPNS names |
-| `transfer/store-search` | Search pattern store |
-| `transfer/store-info` | Get pattern details |
-| `transfer/store-install` | Install from store |
-| `transfer/store-publish` | Publish to store |
-| `transfer/plugin-search` | Search plugin store |
-| `transfer/plugin-info` | Get plugin details |
-| `transfer/verify` | Verify signatures |
-| `transfer/sign` | Sign patterns |
+| Component | Status | Details |
+|-----------|--------|---------|
+| **Pattern Store Module** | βœ… Real | `PatternStore` class in `src/transfer/store/` |
+| **Plugin Store Module** | βœ… Real | `PluginDiscoveryService` in `src/plugins/store/` |
+| **CLI β†’ Store Wiring** | βœ… Real | CLI commands call actual store modules |
+| **MCP Tools** | βœ… Real | 11 tools registered, handlers call store modules |
+| **IPFS Upload** | βœ… Real | Web3.Storage/Pinata with demo fallback |
+| **IPFS Download** | ⚠️ Demo | Uses demo registry (real IPNS resolution attempted) |
+| **Registry Discovery** | ⚠️ Demo | Fallback demo data when public gateways slow |
+
+### How It Works
+
+```
+β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
+β”‚ CLI Command: plugins list --official β”‚
+β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
+β”‚ 1. CLI calls createPluginDiscoveryService() [REAL CODE] β”‚
+β”‚ 2. Service attempts IPNS resolution [REAL NETWORK] β”‚
+β”‚ 3. If fails, loads demo registry [FALLBACK] β”‚
+β”‚ 4. searchPlugins() filters results [REAL CODE] β”‚
+β”‚ 5. CLI displays formatted output [REAL CODE] β”‚
+β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
+```
+
+### Available MCP Tools (11)
+
+| Tool | Status | Description |
+|------|--------|-------------|
+| `transfer/detect-pii` | βœ… Real | Scan content for PII |
+| `transfer/ipfs-resolve` | ⚠️ Demo | Resolve IPNS names (fallback on failure) |
+| `transfer/store-search` | βœ… Real | Search pattern store |
+| `transfer/store-info` | βœ… Real | Get pattern details |
+| `transfer/store-download` | ⚠️ Demo | Download pattern (uses demo data) |
+| `transfer/store-featured` | βœ… Real | Get featured patterns |
+| `transfer/store-trending` | βœ… Real | Get trending patterns |
+| `transfer/plugin-search` | βœ… Real | Search plugin store |
+| `transfer/plugin-info` | βœ… Real | Get plugin details |
+| `transfer/plugin-featured` | βœ… Real | Get featured plugins |
+| `transfer/plugin-official` | βœ… Real | Get official plugins |
+
+### Quick Test
+
+```bash
+# Verify CLI uses real store
+./bin/cli.js plugins list --official
+# Should show: "claude-flow-official (demo)" and list 6 official plugins
+
+# Verify MCP tools work
+./bin/cli.js mcp exec --tool "transfer/plugin-search" --params '{"query":"neural"}'
+```