Commit Graph

7 Commits

Author SHA1 Message Date
ruvnet e332689b8c fix(release): harden hooks, statusline, security, and plugin MCP integration 2026-07-16 23:06:29 -04:00
ruv 7fcdede483 darwin-plugins iter 3 — ruflo-agentdb: fix stale '10 checks' count (smoke has 13 + 3 INV) 2026-06-26 20:26:29 -04:00
ruv 6ae2746ee4 darwin-plugins iter 2 — ruflo-agentdb: replace unverified 150x-12,500x HNSW claims with measured ~1.9x-4.7x 2026-06-26 20:11:39 -04:00
Reuven 6324f5ae07 feat(ruflo-agentdb): v0.3.0 — accurate surface, RaBitQ workflow, namespace contract, hook integration
Implements ADR-0001 for ruflo-agentdb: ends the "19 controllers" myth,
surfaces the RaBitQ 32× quantization path that was buried in the substrate,
documents three HNSW operating profiles, owns the namespace convention
that downstream plugins (ruflo-browser, ruflo-rag-memory, ruflo-intelligence)
have been re-inventing, and adds a 16-check smoke contract.

Changes:
- bump 0.2.0 → 0.3.0; new keywords (rabitq, quantization, namespace-convention,
  controller-bridge, mcp)
- README: real INIT_LEVELS table from controller-registry.ts:160-174 (no more
  "19 controllers" magic number); namespace convention contract (reserved
  list, controller-routing rules, GC posture, naming guardrails); operational
  fallback table (pattern-store fallback, graph-node backend, bridge
  unavailable); compatibility section pinning to @claude-flow/cli v3.6
- ADR-0001: surface accuracy, RaBitQ, HNSW tuning, namespace convention,
  fallback docs, smoke as contract, pinning posture (200 lines, status
  Proposed, file-and-line-cited)
- agentdb-specialist agent: replaces "19 Controllers" header with the real
  3-family count table (15+10+3); routing matrix; fallback response branching
- /agentdb command: defers controller count to runtime tool
- /embeddings command: adds RaBitQ 5-step recipe + hyperbolic + neural notes
- agentdb-query skill: drops "19 Controllers", adds namespace-routing warnings
  and fallback branching guide
- vector-search skill: splits @claude-flow/memory HNSW (large-scale, 150–
  12,500×) from WASM ruvllm_hnsw_* router (~11 patterns); adds RaBitQ
  quantized-search section with rerank caveat; documents 3 tuning profiles
  (recall-first/balanced/latency-first)

Claude Code surface (added per follow-up):
- README "How Claude Code populates AgentDB" section: memory_import_claude
  (manual + .claude/helpers/auto-memory-hook.mjs SessionStart=import,
  SessionEnd=sync), memory_bridge_status, memory_search_unified default
  namespace list, plus the pattern-vs-patterns pluralization gotcha
- README "Hook integration convention" table: SessionStart→claude-memories,
  post-task --train-neural→pattern (ReasoningBank), pretrain→patterns,
  ruvector trajectory hooks→ruvector substrate. Implication: don't double-
  write, don't manually refresh claude-memories, surface fallback responses

Verification:
- bash plugins/ruflo-agentdb/scripts/smoke.sh → 16 passed, 0 failed
  (3 doc invariants + 10 ADR contract checks + 3 Claude Code surface checks)
- Smoke checks #7-#9 are source-inspection on agentdb-tools.ts (no env-var
  gate exists to force the bridge-unavailable path live, as flagged in ADR
  Verification caveat)

Pre-existing unrelated edits (v3/@claude-flow/cli/src/commands/performance.ts,
neural-tools.ts, embedding-service.ts) and untracked files left out of this
commit — they predate this session.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-04 19:33:35 -04:00
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
Reuven f25bcf2073 feat: add 10 new ruflo plugins, optimize all 32, add READMEs and user guide
New plugins: ruflo-adr (ADR lifecycle), ruflo-ddd (domain-driven design),
ruflo-sparc (SPARC methodology), ruflo-neural-trader (trading strategies),
ruflo-ruvector (vector embeddings), ruflo-knowledge-graph (entity graphs),
ruflo-market-data (OHLCV ingestion), ruflo-migrations (schema management),
ruflo-observability (logging/tracing), ruflo-cost-tracker (token budgets).

Optimizations across all 32 plugins:
- All pass `claude plugin validate` (removed invalid manifest arrays)
- 51/51 skills have argument-hint frontmatter
- Model routing: 4 haiku, 24 sonnet, 2 opus (cost-optimized)
- Neural learning hooks on 25/30 agents
- Cross-references between 6 related plugin pairs
- Pathfinder graph traversal algo for researcher agent
- READMEs for all 32 plugins + plugins/README.md catalog
- discover-plugins skill updated with full 32-plugin catalog

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-29 23:46:54 -04:00
Reuven 81418649c6 feat: add 19 Claude Code native plugins with 64 skills, 25 commands, 21 agents
Complete plugin marketplace for Ruflo with validated Claude Code plugin format:

- ruflo-core: MCP server, status, doctor, plugin discovery
- ruflo-swarm: swarm coordination, Monitor, worktree isolation
- ruflo-autopilot: autonomous /loop completion with learning
- ruflo-intelligence: SONA neural patterns, trajectory learning, routing
- ruflo-agentdb: AgentDB controllers, HNSW vector search, RuVector
- ruflo-aidefence: AI safety scanning, PII detection, prompt defense
- ruflo-browser: Playwright browser automation, testing, scraping
- ruflo-jujutsu: git diff analysis, risk scoring, reviewer recs
- ruflo-wasm: sandboxed WASM agents and gallery sharing
- ruflo-workflows: workflow templates, orchestration, lifecycle
- ruflo-daa: Dynamic Agentic Architecture, cognitive patterns
- ruflo-ruvllm: local LLM inference, MicroLoRA, SONA, chat format
- ruflo-rvf: RVF portable memory, session persistence, transfer
- ruflo-loop-workers: background /loop workers, CronCreate
- ruflo-security-audit: CVE scanning, dependency checks
- ruflo-rag-memory: simple store/search/recall interface
- ruflo-testgen: test gap detection, TDD workflow
- ruflo-docs: doc generation, drift detection
- ruflo-plugin-creator: scaffold, validate, publish new plugins

All 19 pass `claude plugin validate`. Skills auto-discovered from
directory structure (not declared in plugin.json). Each skill wires
to ruflo MCP tools via allowed-tools frontmatter.

Includes: marketplace.json, GitHub Pages storefront, CI validation
workflow, minimalist README with USERGUIDE split.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-27 23:07:33 -04:00