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

feat(metaharness): top-level dispatch for audit-list + audit-trend (iter 17)

ruv01694d961d7a
diff --git a/plugins/ruflo-metaharness/scripts/smoke.sh b/plugins/ruflo-metaharness/scripts/smoke.sh
index d6e5fa3db2..1227faf7e5 100755
--- a/plugins/ruflo-metaharness/scripts/smoke.sh
+++ b/plugins/ruflo-metaharness/scripts/smoke.sh
@@ -151,9 +151,9 @@ F="$ROOT/../../v3/@claude-flow/cli/src/commands/metaharness.ts"
miss=""
[[ -f "$F" ]] || miss="$miss command-file-missing"
grep -q "name: 'metaharness'" "$F" 2>/dev/null || miss="$miss no-name-field"
-# All 6 subcommands must each be present in the dispatch table.
+# All 8 subcommands must each be present in the dispatch table.
# Match either quoted ('mcp-scan': ...) or unquoted shorthand (score: ...) keys.
-for sub in score genome mcp-scan threat-model oia-audit mint; do
+for sub in score genome mcp-scan threat-model oia-audit audit-list audit-trend mint; do
grep -qE "(^|[[:space:]])'?${sub}'?:" "$F" 2>/dev/null || miss="$miss missing-$sub"
done
# Registered in the loader
diff --git a/v3/@claude-flow/cli/src/commands/metaharness.ts b/v3/@claude-flow/cli/src/commands/metaharness.ts
index efa888cadb..ec546b38b7 100644
--- a/v3/@claude-flow/cli/src/commands/metaharness.ts
+++ b/v3/@claude-flow/cli/src/commands/metaharness.ts
@@ -51,6 +51,10 @@ const SUBCOMMANDS: Record<string, string> = {
'threat-model': 'threat-model.mjs',
// iter 7 — composite Phase-2 weekly audit worker
'oia-audit': 'oia-audit.mjs',
+ // iter 15 — diff two oia-audit records (drift detection)
+ 'audit-trend': 'audit-trend.mjs',
+ // iter 16 — enumerate metaharness-audit records
+ 'audit-list': 'audit-list.mjs',
mint: 'mint.mjs',
};
@@ -122,6 +126,8 @@ export const metaharnessCommand: Command = {
output.writeln(' mcp-scan static security scan of declared MCP surface');
output.writeln(' threat-model enterprise-grade threat model');
output.writeln(' oia-audit composite weekly audit (oia + threat + mcp) → memory');
+ output.writeln(' audit-list enumerate timestamped audit records');
+ output.writeln(' audit-trend diff two audit records (drift detection)');
output.writeln(' mint scaffold a custom harness (dry-run by default)');
output.writeln('');
output.writeln('Each subcommand accepts --format json|table and --help.');