🌊 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
fix(ruflo-console): lab notes name the flywheel ledger dir; a headless run that cannot go says why; smoke runs mh-lab.spec
ruv98f373651fbe
diff --git a/plugins/ruflo-console/hooks/dispatch.ts b/plugins/ruflo-console/hooks/dispatch.tsindex 48858618a3..52f917f9b2 100644--- a/plugins/ruflo-console/hooks/dispatch.ts+++ b/plugins/ruflo-console/hooks/dispatch.ts@@ -114,7 +114,7 @@ export async function dispatch(control: Controller, state: State, args: string,// A lab read answers with what it printed, so `/ruflo run mh-genome` works headless.if (state.pending === null) await control.runner.settled()- return { text: state.pending !== null ? `Asked: ${state.pending.label}. Confirm with /ruflo yes (or y in the pane), cancel with /ruflo no.` : (labAnswer(state, intent.paletteId, askedAtMs) ?? state.outcome?.label ?? 'done') }+ return { text: state.pending !== null ? `Asked: ${state.pending.label}. Confirm with /ruflo yes (or y in the pane), cancel with /ruflo no.` : (labAnswer(state, intent.paletteId, askedAtMs) ?? (state.outcome !== null && !state.outcome.ok ? `${state.outcome.label}: ${state.outcome.detail}` : (state.outcome?.label ?? 'done'))) }}case 'confirm':if (state.pending === null) return { text: 'Nothing is waiting for a confirm.' }diff --git a/plugins/ruflo-console/hooks/mh-lab.ts b/plugins/ruflo-console/hooks/mh-lab.tsindex e3de77933d..94e68c5abe 100644--- a/plugins/ruflo-console/hooks/mh-lab.ts+++ b/plugins/ruflo-console/hooks/mh-lab.ts@@ -81,7 +81,7 @@ export const LAB: readonly LabEntry[] = [{ id: 'mh-learn-run', group: 'evolve', name: 'LEARN RUN', about: 'a GEPA learning run on a slice: type its path', label: 'learn run: a GEPA learning run on a slice (spends)', cost: 'spends', types: `${MH} learn --run --format json --host claude-code --model haiku --slice `, note: 'COSTS MONEY: model calls and Docker sandboxes; needs a metaharness checkout' },{ id: 'mh-evolve', group: 'evolve', name: 'EVOLVE', about: '3 generations × 3 children, each sandbox-scored', label: 'evolve: 3 generations × 3 children, sandbox-scored', cost: 'local', args: [MH, 'evolve', '--repo', '.', '--confirm', ...JSON_OUT], note: 'local, minutes: runs your test command for each of ~9 variants and writes .metaharness/; the deterministic mutator calls no model', timeoutMs: 600_000 },{ id: 'mh-security-bench', group: 'evolve', name: 'SECURITY BENCH', about: 'Darwin Shield on a 10-vuln / 9-decoy corpus', label: 'security bench: Darwin Shield against four baselines', cost: 'spends', args: exec('metaharness_security_bench', {}), note: 'may call models: its B1 baseline is an LLM single pass; about 2-3 minutes', timeoutMs: 300_000 },- { id: 'mh-flywheel-run', group: 'evolve', name: 'FLYWHEEL RUN', about: 'evaluate candidates into receipts, never promotes', label: 'flywheel run: evaluate candidates into receipts (local proposer)', cost: 'local', args: [MH, 'flywheel', 'run', '--proposer', 'local'], note: 'local: evaluates up to 40 harvested samples and writes receipts under .claude-flow; it never changes the champion', timeoutMs: 180_000 },+ { id: 'mh-flywheel-run', group: 'evolve', name: 'FLYWHEEL RUN', about: 'evaluate candidates into receipts, never promotes', label: 'flywheel run: evaluate candidates into receipts (local proposer)', cost: 'local', args: [MH, 'flywheel', 'run', '--proposer', 'local'], note: 'local: evaluates up to 40 harvested samples and writes receipts to .claude-flow/flywheel-v1; it never changes the champion', timeoutMs: 180_000 },]/** The confirm-free spec for a read, the asked one for the rest; null when the entry cannot run now (or only types). */diff --git a/plugins/ruflo-console/scripts/smoke.sh b/plugins/ruflo-console/scripts/smoke.shindex e7e0d9ffb5..22adf23712 100755--- a/plugins/ruflo-console/scripts/smoke.sh+++ b/plugins/ruflo-console/scripts/smoke.sh@@ -72,7 +72,7 @@ step "13. marketplace lists ruflo-console"grep -q '"name": "ruflo-console"' "$REPO/.claude-plugin/marketplace.json" && ok || bad "missing marketplace entry"step "14. pure specs pass under vitest"-if (cd "$REPO" && npx vitest run plugins/ruflo-console/tests/pure.spec.ts plugins/ruflo-console/tests/vendored-types.spec.ts >/dev/null 2>&1); then ok; else bad "vitest specs failed"; fi+if (cd "$REPO" && npx vitest run plugins/ruflo-console/tests/pure.spec.ts plugins/ruflo-console/tests/vendored-types.spec.ts plugins/ruflo-console/tests/mh-lab.spec.ts>/dev/null 2>&1); then ok; else bad "vitest specs failed"; fiprintf "\n%d passed, %d failed\n" "$PASS" "$FAIL"[[ $FAIL -eq 0 ]]diff --git a/plugins/ruflo-console/tests/palette.test.ts b/plugins/ruflo-console/tests/palette.test.tsindex 413d765eeb..b12f47bab2 100644--- a/plugins/ruflo-console/tests/palette.test.ts+++ b/plugins/ruflo-console/tests/palette.test.ts@@ -153,6 +153,8 @@ describe('palette and /ruflo', () => {expect(answer).toMatch(/^✓ mcp-scan: static MCP findings by severity · exit 0\n/)expect(answer).toContain(' [low] 12 unpinned dependency range(s)')+ // An entry that cannot run headless says why: the typed ones name the command to type.+ expect((await $.command.run(command('run mh-learn-run'))).text).toBe('nothing to do: type it in the terminal (i): ruflo metaharness learn --run --format json --host claude-code --model haiku --slice <path>')})test('/ruflo help, an unknown word, and the hints when ruflo-mods or ruflo-swarm are not loaded', { options: { boot: false } }, async ($, on) => {