🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
chore(mods): drop provably unused hasSecret/tidy, swarm PLUGIN_NAME, ruos parseProbe; fix guidance screen header
ruv6029b0aa2cda
diff --git a/plugins/ruflo-mods/.claude-plugin/plugin.json b/plugins/ruflo-mods/.claude-plugin/plugin.jsonindex a7a8be0d99..89ba5ed5e0 100644--- a/plugins/ruflo-mods/.claude-plugin/plugin.json+++ b/plugins/ruflo-mods/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "ruflo-mods","description": "ruflo as a Claude Code mod (function hooks, ADR-404): in-process prompt routing, edit learning signals, tighten-only tool checks from ruflo policy, the cost-tracker budget ladder, a mod trust gate for newly installed mods, and the $.ruflo noun other mods compose their status with. Opt-in and removable: the classic hook-handler hooks stay the default and take every event back whenever the mod is not loaded.",- "version": "0.3.4",+ "version": "0.3.5","author": {"name": "ruvnet","url": "https://github.com/ruvnet"diff --git a/plugins/ruflo-mods/hooks/guidance/screen.ts b/plugins/ruflo-mods/hooks/guidance/screen.tsindex b3b107dbef..49d1bd8251 100644--- a/plugins/ruflo-mods/hooks/guidance/screen.ts+++ b/plugins/ruflo-mods/hooks/guidance/screen.ts@@ -1,6 +1,6 @@/**- * Pure text screening for the AgentDB mod (ADR-445). Two jobs: find secrets (so none is stored) and find prompt-injection phrasing (so- * retrieved memory cannot instruct the model). Findings are NAMES only: the matched text is never returned, logged or counted by value.+ * Pure text screening for the guidance and delivery features. Two jobs: find secrets (so none is stored or sent) and find prompt-injection phrasing (so+ * screened text cannot instruct the model). Findings are NAMES only: the matched text is never returned, logged or counted by value.*/const SECRETS: readonly (readonly [string, RegExp])[] = [@@ -39,12 +39,3 @@ export function scan(text: string): Findings {const bounded = bare(text)return { secrets: names(SECRETS, bounded), injection: names(INJECTION, bounded) }}--export const hasSecret = (text: string) => names(SECRETS, bare(text)).length > 0---/** Makes stored text safe to show: no control or bidi characters, whitespace collapsed, at most `max` characters. */-export function tidy(text: string, max: number): string {- const flat = text.replace(INVISIBLE, '').replace(/\s+/g, ' ').trim()- return flat.length > max ? `${flat.slice(0, Math.max(0, max - 1))}…` : flat-}diff --git a/plugins/ruflo-mods/scripts/smoke.sh b/plugins/ruflo-mods/scripts/smoke.shindex 278fe669da..2b63b58a14 100755--- a/plugins/ruflo-mods/scripts/smoke.sh+++ b/plugins/ruflo-mods/scripts/smoke.sh@@ -1,5 +1,5 @@#!/usr/bin/env bash-# Structural + security smoke for ruflo-mods v0.3.4 (ADR-404, ADR-447).+# Structural + security smoke for ruflo-mods v0.3.5 (ADR-404, ADR-447).# Static only: CI has no Claude Code, so the hooks module's behaviour is held# by v3/@claude-flow/cli/__tests__/mods/*.test.ts and, where function hooks are# on, by `claude plugin test plugins/ruflo-mods`.@@ -12,9 +12,9 @@ ok() { printf "PASS\n"; PASS=$((PASS+1)); }bad() { printf "FAIL: %s\n" "$1"; FAIL=$((FAIL+1)); }HOOKS="$ROOT/hooks"-step "1. plugin.json declares ruflo-mods 0.3.4"+step "1. plugin.json declares ruflo-mods 0.3.5"grep -q '"name": "ruflo-mods"' "$ROOT/.claude-plugin/plugin.json" \- && grep -q '"version": "0.3.4"' "$ROOT/.claude-plugin/plugin.json" && ok || bad "name/version"+ && grep -q '"version": "0.3.5"' "$ROOT/.claude-plugin/plugin.json" && ok || bad "name/version"step "2. hooks.json names exactly one module and no classic hook commands"grep -q '"modules": \["./register.ts"\]' "$HOOKS/hooks.json" && ! grep -q '"command"' "$HOOKS/hooks.json" \diff --git a/plugins/ruflo-ruos/.claude-plugin/plugin.json b/plugins/ruflo-ruos/.claude-plugin/plugin.jsonindex 9720a4cce1..cbeb83adc5 100644--- a/plugins/ruflo-ruos/.claude-plugin/plugin.json+++ b/plugins/ruflo-ruos/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "ruflo-ruos","description": "Run ruflo swarm agents on your own ruOS cloud desktops via the tenant-authenticated fleet MCP or per-tenant SSH; optional and removable (ADR-405)",- "version": "0.1.0",+ "version": "0.1.1","author": {"name": "ruvnet","url": "https://github.com/ruvnet"diff --git a/plugins/ruflo-ruos/scripts/lib/command-builder.mjs b/plugins/ruflo-ruos/scripts/lib/command-builder.mjsindex 8fa8760c4f..6cc58332e3 100644--- a/plugins/ruflo-ruos/scripts/lib/command-builder.mjs+++ b/plugins/ruflo-ruos/scripts/lib/command-builder.mjs@@ -228,12 +228,6 @@ export function buildProbe(n) {return seal(`if command -v claude >/dev/null ; then ${say(n, 'RUNNER_OK')} ; else ${say(n, 'RUNNER_MISSING')} ; fi`);}-/**- * @param {string} stdout- * @param {string} n- */-export const parseProbe = (stdout, n) => marker(n, 'RUNNER_OK').test(stdout);-/*** @typedef {object} PollResult* @property {number|null} exitCode null while runningdiff --git a/plugins/ruflo-ruos/scripts/smoke.sh b/plugins/ruflo-ruos/scripts/smoke.shindex 16446a6e99..182b4b41e0 100755--- a/plugins/ruflo-ruos/scripts/smoke.sh+++ b/plugins/ruflo-ruos/scripts/smoke.sh@@ -9,9 +9,9 @@ step() { printf "→ %s ... " "$1"; }ok() { printf "PASS\n"; PASS=$((PASS+1)); }bad() { printf "FAIL: %s\n" "$1"; FAIL=$((FAIL+1)); }-step "1. plugin.json is valid and declares 0.1.0"+step "1. plugin.json is valid and declares 0.1.1"v=$(node -e 'const p=require(process.argv[1]);if(p.name!=="ruflo-ruos")process.exit(1);console.log(p.version)' "$ROOT/.claude-plugin/plugin.json" 2>/dev/null)-[[ "$v" == "0.1.0" ]] && ok || bad "got '$v'"+[[ "$v" == "0.1.1" ]] && ok || bad "got '$v'"step "2. commands, skill and agent present with frontmatter"miss=""diff --git a/plugins/ruflo-swarm/.claude-plugin/plugin.json b/plugins/ruflo-swarm/.claude-plugin/plugin.jsonindex 51e3d99aca..96fdfe71b3 100644--- a/plugins/ruflo-swarm/.claude-plugin/plugin.json+++ b/plugins/ruflo-swarm/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "ruflo-swarm","description": "Agent teams, swarm coordination, Monitor streams, and worktree isolation — wraps 4 swarm_* + 8 agent_* MCP tools (12 total) plus 6 topologies (hierarchical / mesh / hierarchical-mesh / ring / star / adaptive). With Claude Code function hooks on (early access), a live swarm pane: agent tiles lit by reads and writes, topology, task and claims board, cost, router pick and hive-mind votes, with buttons that act through the ruflo CLI",- "version": "0.3.2",+ "version": "0.3.3","author": {"name": "ruvnet","url": "https://github.com/ruvnet"diff --git a/plugins/ruflo-swarm/hooks/state.ts b/plugins/ruflo-swarm/hooks/state.tsindex 4ed4ee1e05..26aea72d63 100644--- a/plugins/ruflo-swarm/hooks/state.ts+++ b/plugins/ruflo-swarm/hooks/state.ts@@ -5,7 +5,6 @@ import type { Activity } from './model/members'import { routeFromStore, type RoutePick } from './reader/parse'import type { Snapshot } from './reader/snapshot'-export const PLUGIN_NAME = 'ruflo-swarm'export const PANE_ID = 'ruflo-swarm'/**diff --git a/plugins/ruflo-swarm/scripts/smoke.sh b/plugins/ruflo-swarm/scripts/smoke.shindex 47af65c05e..8065ef43de 100755--- a/plugins/ruflo-swarm/scripts/smoke.sh+++ b/plugins/ruflo-swarm/scripts/smoke.sh@@ -7,9 +7,9 @@ step() { printf "→ %s ... " "$1"; }ok() { printf "PASS\n"; PASS=$((PASS+1)); }bad() { printf "FAIL: %s\n" "$1"; FAIL=$((FAIL+1)); }-step "1. plugin.json declares 0.3.2 with new keywords"+step "1. plugin.json declares 0.3.3 with new keywords"v=$(grep -E '"version"' "$ROOT/.claude-plugin/plugin.json" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)-if [[ "$v" != "0.3.2" ]]; then bad "expected 0.3.1, got '$v'"; else+if [[ "$v" != "0.3.3" ]]; then bad "expected 0.3.3, got '$v'"; elsemiss=""for k in mcp topologies worktree-isolation monitor-stream; dogrep -q "\"$k\"" "$ROOT/.claude-plugin/plugin.json" || miss="$miss $k"