🌊 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
test(plugins): preserve standalone MCP catalog assertions
ruvnet1fb874005c1b
diff --git a/plugins/ruflo-metaharness/scripts/smoke.sh b/plugins/ruflo-metaharness/scripts/smoke.shindex e0a08a0ec4..6eadb353e3 100755--- a/plugins/ruflo-metaharness/scripts/smoke.sh+++ b/plugins/ruflo-metaharness/scripts/smoke.sh@@ -799,8 +799,8 @@ TOOLS=$(grep -oE "name: 'metaharness_[a-z_]+'" "$WRAPPER" 2>/dev/null \COUNT=0for t in $TOOLS; doCOUNT=$((COUNT + 1))- # Look for `mcp__plugin_ruflo-core_ruflo__metaharness_X` (the agent-facing name form)- grep -q "mcp__plugin_ruflo-core_ruflo__${t}" "$CMD" 2>/dev/null \+ # audit-allow: standalone-mcp-prefix — this checks the repository CLAUDE.md, not a plugin skill.+ grep -q "mcp__claude-flow__${t}" "$CMD" 2>/dev/null \|| miss="$miss ${t}-not-in-claude-md"done# Count derived from the wrapper source (mint deliberately excluded — see@@ -1521,7 +1521,8 @@ grep -q "drift-from-history.mjs" "$WRAPPER" 2>/dev/null || miss="$miss no-scriptgrep -q "baselineSince" "$WRAPPER" 2>/dev/null || miss="$miss no-baseline-since-input"# CLAUDE.md mentions both surfacesCMD="$ROOT/../../CLAUDE.md"-grep -q "mcp__plugin_ruflo-core_ruflo__metaharness_drift_from_history" "$CMD" 2>/dev/null || miss="$miss claude-md-no-mcp"+# audit-allow: standalone-mcp-prefix — this checks the repository CLAUDE.md, not a plugin skill.+grep -q "mcp__claude-flow__metaharness_drift_from_history" "$CMD" 2>/dev/null || miss="$miss claude-md-no-mcp"grep -q "ruflo metaharness drift-from-history" "$CMD" 2>/dev/null || miss="$miss claude-md-no-subcommand"# Phase 4 includes the new positive-case assertionsT="$ROOT/scripts/test-mcp-tools.mjs"@@ -1806,7 +1807,8 @@ grep -q "Graceful fallback when fingerprint missing" "$F" 2>/dev/null || miss="$grep -q "Distance alert gate exits 1" "$F" 2>/dev/null || miss="$miss no-alert-step"# CLAUDE.md documents the new MCP tool + subcommandCMD="$ROOT/../../CLAUDE.md"-grep -q "mcp__plugin_ruflo-core_ruflo__metaharness_similarity" "$CMD" 2>/dev/null || miss="$miss claude-md-no-mcp-tool"+# audit-allow: standalone-mcp-prefix — this checks the repository CLAUDE.md, not a plugin skill.+grep -q "mcp__claude-flow__metaharness_similarity" "$CMD" 2>/dev/null || miss="$miss claude-md-no-mcp-tool"grep -q "ruflo metaharness similarity" "$CMD" 2>/dev/null || miss="$miss claude-md-no-subcommand"grep -q -- "--alert-on-distance-below" "$CMD" 2>/dev/null || miss="$miss claude-md-no-distance-flag"[[ -z "$miss" ]] && ok || bad "$miss"@@ -2123,7 +2125,8 @@ grep -q "Ruflo remains operational if every MetaHarness package is removed" "$F"grep -q "no-metaharness-smoke.yml" "$F" || miss="$miss no-ci-gate-ref"# Command surface + tool surface enumeratedgrep -q "npx ruflo metaharness score" "$F" || miss="$miss no-cli-example"-grep -q "mcp__plugin_ruflo-core_ruflo__metaharness_" "$F" || miss="$miss no-mcp-tool-list"+# audit-allow: standalone-mcp-prefix — this checks the repository CLAUDE.md, not a plugin skill.+grep -q "mcp__claude-flow__metaharness_" "$F" || miss="$miss no-mcp-tool-list"# Routing + parallel-log integration both mentionedgrep -q "CLAUDE_FLOW_ROUTER_NEURAL\|CLAUDE_FLOW_ROUTER_PARALLEL_LOG" "$F" || miss="$miss no-routing-flags"# 3-criteria gatediff --git a/scripts/audit-plugin-mcp-prefix.mjs b/scripts/audit-plugin-mcp-prefix.mjsindex 6d3cb2de2d..04fe3116d2 100644--- a/scripts/audit-plugin-mcp-prefix.mjs+++ b/scripts/audit-plugin-mcp-prefix.mjs@@ -11,6 +11,7 @@ const ROOT = dirname(dirname(fileURLToPath(import.meta.url)));const PLUGINS = join(ROOT, 'plugins');const LEGACY_PREFIX = 'mcp__claude-flow__';const CORRECT_PREFIX = 'mcp__plugin_ruflo-core_ruflo__';+const STANDALONE_AUDIT_ALLOW = 'audit-allow: standalone-mcp-prefix';const TEXT_EXTENSIONS = new Set(['.md', '.mjs', '.js', '.cjs', '.ts', '.sh', '.json', '.yaml', '.yml']);function* walk(dir) {@@ -32,6 +33,10 @@ for (const path of walk(PLUGINS)) {const lines = content.split(/\r?\n/);for (let index = 0; index < lines.length; index++) {if (lines[index].includes(LEGACY_PREFIX)) {+ const explicitlyChecksStandaloneSurface =+ lines[index].includes(STANDALONE_AUDIT_ALLOW) ||+ (index > 0 && lines[index - 1].includes(STANDALONE_AUDIT_ALLOW));+ if (explicitlyChecksStandaloneSurface) continue;violations.push(`${relative(ROOT, path)}:${index + 1}`);}}