🌊 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(console): triage re-run text no longer says the console cannot stop a run (0.34.1)
ruvd4e85e087ad8
diff --git a/plugins/ruflo-console/.claude-plugin/plugin.json b/plugins/ruflo-console/.claude-plugin/plugin.jsonindex c64e5d5a6a..07d1048d12 100644--- a/plugins/ruflo-console/.claude-plugin/plugin.json+++ b/plugins/ruflo-console/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "ruflo-console","description": "ruflo's cockpit inside Claude Code and the one /ruflo command for every ruflo mod (function hooks, early access). Views: overview with health alerts, swarm topology graph, claims flow with TTL rings, federation map, plugin health matrix, learning curve and pipeline, MetaHarness radar and audit trend, memory, cost gauge, agent timeline, approvals queue, event stream, a main menu, an x.ruv.io federation board, an AI terminal (codex, claude or both in remembered sessions, streamed), Skills (npx skills), a Hive-Mind view, a MetaHarness lab, agent drill-down; a command palette for confirm-gated actions through the ruflo CLI; a band above the prompt. Reads ruflo's files and the CLI's local JSON; anything not measured reads n/a. The one network call it makes by itself is a daily read of the published plugin.json at github.com/ruvnet/ruflo to offer an update (Settings → Updates: ask, auto, or off); it installs only through Claude Code's own claude plugin update, and never a new major version without asking.",- "version": "0.34.0",+ "version": "0.34.1","author": {"name": "ruvnet","url": "https://github.com/ruvnet"diff --git a/plugins/ruflo-console/hooks/data/wf-triage.ts b/plugins/ruflo-console/hooks/data/wf-triage.tsindex fe2cec84f6..9f6ce6eb06 100644--- a/plugins/ruflo-console/hooks/data/wf-triage.ts+++ b/plugins/ruflo-console/hooks/data/wf-triage.ts@@ -125,7 +125,7 @@ export function rerunText(run: WfRun, failed: readonly TriageItem[], hasJournal:const list = (items: readonly TriageItem[]): string => `${items.slice(0, 10).map(name).join('; ')}${items.length > 10 ? `; +${items.length - 10} more` : ''}`return [- ...(run.running > 0 ? ['Stop the run first (the console cannot: Claude Code\'s Workflows panel, or TaskStop), then:'] : []),+ ...(run.running > 0 ? ['Stop the run first (the Control tab\'s Stop asks first and calls TaskStop; unverified for a workflow run\'s own id: Claude Code\'s Workflows panel always works), then:'] : []),`Workflow({ scriptPath: "<the script that started this run>", resumeFromRunId: "${run.id}" })`,...(again.length > 0 ? [`runs again, no result recorded: ${list(again)}`] : []),...(cached.length > 0 ? [`stays cached, its error is its recorded result: ${list(cached)}. Change that agent() call or its input to run it again`] : []),diff --git a/plugins/ruflo-console/hooks/version.ts b/plugins/ruflo-console/hooks/version.tsindex 79ede445e1..a5b8326de0 100644--- a/plugins/ruflo-console/hooks/version.ts+++ b/plugins/ruflo-console/hooks/version.ts@@ -2,4 +2,4 @@* The console's version, shown on the header so a person can tell which build is running. Kept equal to the plugin's manifest* (`.claude-plugin/plugin.json`); tests/version.spec.ts fails if the two drift.*/-export const CONSOLE_VERSION = '0.34.0'+export const CONSOLE_VERSION = '0.34.1'diff --git a/plugins/ruflo-console/scripts/smoke.sh b/plugins/ruflo-console/scripts/smoke.shindex 6b3348eb8f..9823515207 100755--- a/plugins/ruflo-console/scripts/smoke.sh+++ b/plugins/ruflo-console/scripts/smoke.sh@@ -11,9 +11,9 @@ step() { printf "→ %s ... " "$1"; }ok() { printf "PASS\n"; PASS=$((PASS+1)); }bad() { printf "FAIL: %s\n" "$1"; FAIL=$((FAIL+1)); }-step "1. plugin.json declares ruflo-console 0.34.0"+step "1. plugin.json declares ruflo-console 0.34.1"grep -q '"name": "ruflo-console"' "$ROOT/.claude-plugin/plugin.json" \- && grep -q '"version": "0.34.0"' "$ROOT/.claude-plugin/plugin.json" && ok || bad "name/version"+ && grep -q '"version": "0.34.1"' "$ROOT/.claude-plugin/plugin.json" && ok || bad "name/version"step "2. hooks.json names exactly one module and no classic hook commands"grep -q '"modules": \["./register.ts"\]' "$HOOKS/hooks.json" && ! grep -q '"command"' "$HOOKS/hooks.json" \diff --git a/plugins/ruflo-console/tests/wf-triage.spec.ts b/plugins/ruflo-console/tests/wf-triage.spec.tsindex d8107819b8..d7b3f4b907 100644--- a/plugins/ruflo-console/tests/wf-triage.spec.ts+++ b/plugins/ruflo-console/tests/wf-triage.spec.ts@@ -107,11 +107,11 @@ describe('rerunText', () => {expect(text.join('\n')).toMatch(/stays cached.*build:b \(Build\)/)})- it('tells the person to stop a running run first (the console cannot), and says when the journal was not read', () => {+ it('tells the person to stop a running run first (the Control tab asks and calls TaskStop; unverified for the run own id), and says when the journal was not read', () => {const run = { ...finished(), running: 1 }const text = rerunText(run, failedOf(triageRun(run, null)), false) ?? []- expect(text[0]).toMatch(/Stop the run first \(the console cannot/)+ expect(text[0]).toMatch(/Stop the run first \(the Control tab's Stop asks first and calls TaskStop; unverified/)expect(text.join('\n')).toMatch(/journal was not read/)})diff --git a/v3/docs/adr/ADR-462-workflows-cost-triage-alerts.md b/v3/docs/adr/ADR-462-workflows-cost-triage-alerts.mdindex 8461350b4c..f24cd89d5c 100644--- a/v3/docs/adr/ADR-462-workflows-cost-triage-alerts.md+++ b/v3/docs/adr/ADR-462-workflows-cost-triage-alerts.md@@ -39,7 +39,7 @@ timeout event in the files, so `timeout` is a text match and the page says so. Tand each failing row carries the first error line (masked, control characters stripped). The "re-run just the failed items" text is thedocumented `Workflow({ scriptPath, resumeFromRunId })` (ruflo-workflows: workflow-run: unchanged `agent()` calls return cached), splitinto agents that run again (no result recorded) and agents whose error *is* their recorded result and so stay cached. It is text for the-person to run: the console never runs it, and says to stop a running run first because the console cannot stop or message a workflow.+person to run: the console never runs it, and says to stop a running run first (amended by ADR-465 and 0.34.1: the Control tab's Stop asks first and calls TaskStop, which is unverified for a workflow run's own id, so the Workflows panel is named as the sure way).A ruflo swarm has no resume verb and is told so.**Guards** (`data/wf-alerts.ts`, pure). Options `wfBudgetRunUsd`, `wfBudgetDayUsd` (0 off, else 0.01 to 10000) and `wfAlertRules`