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

ci(metaharness): weekly cron summary surfaces timing.path (iter 97)

ruvde8b3e44e82b
diff --git a/.github/workflows/oia-audit-weekly.yml b/.github/workflows/oia-audit-weekly.yml
index c9ceea5080..9bef56296b 100644
--- a/.github/workflows/oia-audit-weekly.yml
+++ b/.github/workflows/oia-audit-weekly.yml
@@ -135,8 +135,17 @@ jobs:
const j = JSON.parse(require('fs').readFileSync('/tmp/drift-trend.json'));
console.log(j.alert?.triggered ? 'TRIGGERED' : 'OK');
")
+ # iter 97 — also surface the fast-path label so the Actions UI
+ # shows which iter-66/67 path executed. Confirms cron used the
+ # baseline-file path (expected ~1.4s) and not slow path (~26s).
+ PATH_TAKEN=$(node -e "
+ const j = JSON.parse(require('fs').readFileSync('/tmp/drift-trend.json'));
+ const t = j.timing || {};
+ console.log((t.path || 'unknown') + ' (wall ' + (t.parallelWallMs ?? '?') + 'ms)');
+ ")
echo "## Drift vs prior week: \`$VERDICT\` (similarity=$OVERALL)" >> $GITHUB_STEP_SUMMARY
echo "Alert status: \`$ALERT\`" >> $GITHUB_STEP_SUMMARY
+ echo "Path: \`$PATH_TAKEN\`" >> $GITHUB_STEP_SUMMARY
- name: Upload drift trend artifact
# iter 70 — same always() pattern; the trend artifact is most
diff --git a/plugins/ruflo-metaharness/scripts/smoke.sh b/plugins/ruflo-metaharness/scripts/smoke.sh
index f45022503c..eae372b101 100755
--- a/plugins/ruflo-metaharness/scripts/smoke.sh
+++ b/plugins/ruflo-metaharness/scripts/smoke.sh
@@ -191,6 +191,15 @@ grep -q "execCli(\[\s*'-y'\s*,\s*'metaharness@latest'" "$F" 2>/dev/null || \
grep -q "cwd: opts" "$F" || miss="$miss no-cwd-passthrough"
[[ -z "$miss" ]] && ok || bad "$miss"
+step "17z60. weekly cron summary surfaces timing.path (iter 97)"
+miss=""
+W="$ROOT/../../.github/workflows/oia-audit-weekly.yml"
+grep -q "PATH_TAKEN" "$W" 2>/dev/null || miss="$miss no-path-taken-var"
+grep -q "t.path || 'unknown'" "$W" 2>/dev/null || miss="$miss no-path-extraction"
+grep -q "t.parallelWallMs" "$W" 2>/dev/null || miss="$miss no-wall-extraction"
+grep -q 'echo "Path: \\`\$PATH_TAKEN\\`"' "$W" 2>/dev/null || miss="$miss no-path-summary-line"
+[[ -z "$miss" ]] && ok || bad "$miss"
+
step "17z59. drift-from-history table output shows path + wall (iter 96)"
miss=""
F="$ROOT/scripts/drift-from-history.mjs"