8 Commits
Author SHA1 Message Date
randRuFlo ae13e393d2 fix(cli,ruflo-intelligence): neural_train reports empty, neural_predict has a similarity floor, nested subcommands dispatch at any depth, built-in registry fallback is honest (#4156, #4157)
ruflo-intelligence 0.4.5.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 05:37:35 -04:00
randRuFlo d2a2c98c9c review(#4096): shared-screen references and email verb, plugin version bumps, helpers re-signed
Independent review of #4096 (issues #4093-#4095). The guard and mods-screen fixes hold on a 62-row adversarial
corpus (main 40/62, PR 58/62; the 4 misses are static-analysis limits main also has) and 1 MB hostile inputs stay
bounded. Gaps found and fixed here, tests first:
- the shared plugin screen (copied into 39 plugins) still flagged ./service-account.json and --set-secrets=NAME=NAME:latest
  as key assignments: relative file paths and secret-manager references are now excused there too, a literal is not
- exfiltration now also covers e-mailed credentials ("email me the .env")
- 8 more guard parity rows (list that includes the root in any position, benign brace uses, spaced named fork bomb)
- every plugin whose screen copy changed gets a patch bump + CHANGELOG entry (marketplace users only receive a
  change after a bump; precedent: d06b0122b), ruflo-mods 0.6.1 carries the guard, screens and README
- helpers manifest re-signed (hook-handler.cjs changed)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 13:39:02 -04:00
RuFlo 06756fbf70 review(plugins): group C — fix claims that do not match the real CLI/MCP/tools, harden unsafe flows
Verified every CLI flag, MCP tool parameter and neural-trader flag these plugins
tell the model to use against @claude-flow/cli 3.56.5 (--help and MCP schemas) and
neural-trader 2.8.11 (run offline), and fixed what was false:

- intelligence: neural_train needs modelType (no patternType/--pattern-type; CLI
  flag is --pattern), hooks_model-outcome/trajectory-end/pretrain/build-agents/
  explain parameters, mcp tool call -> mcp exec, microlora has no consolidate;
  intelligence-transfer rewritten (hooks_transfer only copies from a local
  project; marketplace is hooks transfer store ..., PINATA_API_KEY/SECRET, PII
  scan + confirmation before publish).
- loop-workers: CronCreate takes {cron,prompt,recurring} and is session-scoped
  (7-day expiry), ScheduleWakeup needs prompt, 270s heartbeat qualified by TTL.
- market-data: candles were routed to the ~11-pattern ruvllm_hnsw router;
  untrusted-feed rules; no order placement.
- neural-trader: many documented flags answer "Unknown command" in 2.8.11; several
  handlers return demo output; backtests/signals use synthetic bars without
  --live; backtest signing now refuses non-live data; live/broker path and
  circuit-breaker claims corrected; signal TTL used a non-existent expiresAt.
- iot-cognitum: pin the fleet CLI instead of @latest; confirmation gates for
  firmware deploy/advance/rollback and fleet delete.
- migrations: confirmation/dry-run/validate gates before migrate up/down.
- music: bearer token only sent to music.cognitum.one; pin cogmusic@0.1.1; token
  never enters the transcript.
- jujutsu: analyze_diff* take a ref, not diff text; gate PR merge/close/create.
- knowledge-graph: align relation weights with kg-extract.
- Removed the invalid post-task --train-neural flag everywhere in these plugins.

Plugin versions bumped (marketplace users only receive changes after a bump):
intelligence 0.4.3, loop-workers 0.3.4, market-data 0.3.4, neural-trader 0.3.5,
iot-cognitum 0.3.3, jujutsu 0.3.4, knowledge-graph 0.3.4, migrations 0.3.4,
music 0.2.4. metaharness reviewed, no change needed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:33:03 -04:00
ruv d06b0122be fix(mods): shared textsOf reports truncation and every guard fails closed on it
The walker dropped input past its node, character and per-string budgets
silently, so 32 guards passed a secret placed after the cap. textsOf now
appends a TRUNCATED marker; names/hasSecretIn treat it as a finding. Regenerated
the 38 copies, bumped the 39 plugins, emptied the known-holes baseline.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 00:27:13 -04:00
ruv 21adb5ce28 feat(mods): vendor the flag option parser from one origin with the screen sync and drift check (review #2)
Extend scripts/sync-mod-screen.mjs to a second kit: the flag() helper in hooks/options.ts of 38 mods now sits between SHARED FLAG markers and is
rewritten/checked from ruflo-agentdb. Drift, a lost marker or zero copies fails --check. Bump the 39 touched plugin versions and their version pins.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 23:46:06 -04:00
ruv 1ca7d0e788 feat(plugins): goals, graph-intelligence, intelligence, iot-cognitum as mods
Tighten-only guards on each plugin's own tools (secrets; dossier ID numbers;
intelligence reset confirm + public-transfer email screen; destructive
cognitum-iot confirm), /<short>-mod local commands, status files, tests and
smoke steps. Minor version bumps.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:35:31 -04:00
ruvnet e332689b8c fix(release): harden hooks, statusline, security, and plugin MCP integration 2026-07-16 23:06:29 -04:00
ReuvenandRuFlo 78e5658dfd feat(ruflo-intelligence): v0.3.0 — surface completeness, 4-step pipeline, IPFS transfer, namespace coordination
Implements ADR-0001 for ruflo-intelligence. Plugin previously documented
~14 of 29 intelligence-related MCP tools and never operationalized the
4-step pipeline (RETRIEVE → JUDGE → DISTILL → CONSOLIDATE) that CLAUDE.md
treats as the V3 framing. IPFS-based cross-project pattern transfer
(hooks_transfer) was completely invisible despite being a real
differentiator.

Verified surface (29 tools across 5 families):
- 6 neural_* (incl. neural_compress, previously undocumented)
- 10 hooks_intelligence_*-family (incl. _attention, _learn, _stats,
  -reset — all previously undocumented)
- 6 routing/meta hooks (hooks_route, hooks_explain, hooks_pretrain,
  hooks_build-agents, hooks_metrics, hooks_transfer — last 5
  previously undocumented)
- 3 hooks_model-* (Tier 1/2/3 routing)
- 4 ruvllm_sona_* + ruvllm_microlora_* (MicroLoRA previously undocumented)

Changes:
- bump 0.1.0 → 0.3.0; new keywords (microlora, ewc, attention, moe,
  pattern-transfer, model-routing, mcp)
- ADR-0001 (Proposed): documents drift, decisions, smoke contract,
  namespace coordination with ruflo-agentdb
- README: full rewrite with tool inventory + 4-step pipeline (each phase
  mapped to specific tool calls) + cross-project IPFS transfer + hook
  integration table + namespace coordination (defers to ruflo-agentdb
  ADR-0001) + EWC++ explanation (no longer phantom feature) + MoE mode
  enumeration + Compatibility section
- intelligence-specialist agent: tool routing matrix (29 entries),
  pipeline responsibility table, namespace contract, MoE mode selection,
  EWC++ in practice, cross-project transfer flow
- /intelligence command: real dashboard (stats + metrics + model-stats
  + neural-status + hooks_explain on --why)
- /neural command: adds neural_compress dispatch
- intelligence-route skill: adds hooks_explain rationale step
- neural-train skill: adds MicroLoRA section, EWC++ via consolidate flag,
  hooks_pretrain + hooks_build-agents bootstrap, hooks_intelligence-reset
  for testing
- NEW intelligence-transfer skill: walks the IPFS workflow end-to-end
  (store / load / from-project), Pinata prerequisite documented
- scripts/smoke.sh: 16 structural checks (3 doc invariants + 13 contract)

Verification:
  bash plugins/ruflo-intelligence/scripts/smoke.sh
  → 16 passed, 0 failed

Coordinates with prior ADRs:
- ruflo-agentdb ADR-0001 §"Namespace convention" — pattern (singular)
  vs patterns (plural) gotcha referenced inline
- ruflo-ruvector ADR-0001 — trajectory hooks land in ruvector substrate
- ruflo-browser ADR-0001 — consumes trajectory hooks for replay

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-04 19:39:44 -04:00