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

fix(ci): ruflo-metaharness smoke β€” fix brittle 17z61 lookback + iter-93 stale count

ruv575a7bdeed1c
diff --git a/CLAUDE.md b/CLAUDE.md
index be53594197..1ac853046d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -1158,6 +1158,9 @@ mcp__claude-flow__metaharness_audit_list
mcp__claude-flow__metaharness_audit_trend
mcp__claude-flow__metaharness_similarity # iter 36 β€” ADR-152 Β§3.1 genome similarity
mcp__claude-flow__metaharness_drift_from_history # iter 53 β€” 1-command drift detection
+mcp__claude-flow__metaharness_bench # ADR-153 β€” create/verify bench suites for evolve --bench
+mcp__claude-flow__metaharness_evolve # MAP-Elites driver β€” evolve a harness across bench suites
+mcp__claude-flow__metaharness_security_bench # security-focused benchmark suite gate
```
### Routing integration (ADR-148/149)
diff --git a/plugins/ruflo-metaharness/scripts/smoke.sh b/plugins/ruflo-metaharness/scripts/smoke.sh
index 63794e3c3d..dc53cb3cc7 100755
--- a/plugins/ruflo-metaharness/scripts/smoke.sh
+++ b/plugins/ruflo-metaharness/scripts/smoke.sh
@@ -657,8 +657,13 @@ grep -q "metaharness drift-from-history" "$W" 2>/dev/null || miss="$miss no-cli-
grep -q '"path": "file"' "$W" 2>/dev/null || miss="$miss no-path-file-assert"
grep -q '"skippedAuditList": true' "$W" 2>/dev/null || miss="$miss no-skip-true-assert"
grep -q "/tmp/drift-baseline.json" "$W" 2>/dev/null || miss="$miss no-baseline-path"
-# Iter-98 step lives in the metaharness-real-data job
-grep -B100 "Drift-from-history dispatcher round-trip" "$W" 2>/dev/null | grep -q "metaharness-real-data:" \
+# Iter-98 step lives in the metaharness-real-data job. The brittle
+# fixed-window lookback (-B100) broke once the job grew past 100 lines;
+# instead use awk to find the most recent top-level job header above
+# the step and check it is metaharness-real-data.
+last_job=$(awk '/^ [a-zA-Z_-]+:[[:space:]]*$/ { last=$0 }
+ /Drift-from-history dispatcher round-trip/ { print last; exit }' "$W" 2>/dev/null)
+echo "$last_job" | grep -q "metaharness-real-data:" \
|| miss="$miss not-in-real-data-job"
[[ -z "$miss" ]] && ok || bad "$miss"
@@ -737,8 +742,10 @@ for t in $TOOLS; do
grep -q "mcp__claude-flow__${t}" "$CMD" 2>/dev/null \
|| miss="$miss ${t}-not-in-claude-md"
done
-# Lock count: 9 MCP tools (mint deliberately excluded β€” see iter 73)
-[[ "$COUNT" == "9" ]] || miss="$miss mcp-tool-count-stale:$COUNT-expected-9"
+# Lock count: 12 MCP tools (mint deliberately excluded β€” see iter 73).
+# Bumped from 9 β†’ 12 after ADR-153 added metaharness_bench,
+# metaharness_evolve, and metaharness_security_bench.
+[[ "$COUNT" == "12" ]] || miss="$miss mcp-tool-count-stale:$COUNT-expected-12"
[[ -z "$miss" ]] && ok || bad "$miss"
step "17z55. MCP enum + SEVERITY_RANK vocabulary aligned (iter 92)"