A keyless view that reads ruflo's governed-evolution stack from disk on open
(flywheel-v1 state and receipts, generation bundles, served.json,
harness-active-policy.json, verification/<os>/manifest.md.json) and runs its
checks as buttons and palette ids (evolve-*): flywheel status/receipts/history,
policy status and ruflo verify --manifest run at once ($0, local); policy
evaluate of the promote action asks first and says it appends one decision
receipt. Promotion, evidence-reset and rollback are never entries: the view
shows the promote command and why (ADR-322). Autogenous and rGi are stated as
integrated (the shared ruflo.flywheel-receipt/v1 format) or only linked, with
▸ ask typing a read-only research prompt into the AI terminal.
Shared hunks: ActionSpec.lines (a lab run's own reader, used by the runner),
the confirm row's runs: line wraps instead of clipping long argv.
Co-Authored-By: RuFlo <ruv@ruv.net>
- A run starting or ending adds or drops rows above the field (spinner, last line), and the engine moved the focus
ring off it, so the next keys left the pane. The ring is put back after the redraw.
- The conversation window reserves the ~34 rows its frame needs, so long output never pushes the field below the
fold (where the pane drops the keys).
- The confirm row no longer doubles a trailing question mark.
- Tour GIF: neon boot, grouped menu, swarm, Hive-Mind and Skills by mouse, x.ruv.io, the MetaHarness lab, a streamed
framed terminal turn and a swarm session ask.
Co-Authored-By: RuFlo <ruv@ruv.net>
Found live while recording the tour.
- A pane that opened by itself does not hold the keys, and a mouse click on a tab does not give them, so a person
who clicked into the terminal typed into Claude's prompt. Opening a typing view (terminal, skills) now takes the
keys first; Esc still hands them back rather than closing the pane.
- After a command typed in the field (/ruflo /codex /claude /swarm /new /up /down /end) the rows above it change and
the engine moved the focus ring off it, so the next keys fired hotkeys or left the pane. The ring is put back
after the redraw.
- ruflo-console 0.7.0; ADR-407 records Skills, Hive-Mind, the MetaHarness lab, the scrollable framed terminal and the
clickable band as shipped.
Co-Authored-By: RuFlo <ruv@ruv.net>
- the flywheel run note names where receipts go (.claude-flow/flywheel-v1, per flywheel-transaction.ts)
- /ruflo run <entry> with nothing to run answers "nothing to do: <why>" instead of the bare label, so a
claude -p user of mh-learn-run or mh-gepa-analyze gets the command to type
- smoke step 14 also runs tests/mh-lab.spec.ts
Co-Authored-By: RuFlo <ruv@ruv.net>
The CLI counts a vote only from a registered worker and exits 0 when it refuses one, so votes cast as
console-operator were silently dropped. Palette and Approvals now vote as the next worker that has not voted,
as the Hive-Mind view does. With no worker left they say why, and nothing runs.
Co-Authored-By: RuFlo <ruv@ruv.net>
The MetaHarness view keeps READINESS, FLYWHEEL and AUDIT TREND and adds a BBS lab: 25 entries in three groups
(inspect: $0 reads that run at once; record: $0 writes that ask; evolve & test: local compute or paid models,
asked with the cost on the confirm row), a RESULT panel with the last run's label, exit, cost note and up to 40
lines (14 in view, j/k scroll, a running indicator), and PROMOTE as a command the person runs: never a button,
never a palette entry (ADR-322: the console proposes and evaluates, it never promotes).
Every argv was checked against commands/metaharness.ts, the plugin scripts and the MCP tool schemas, and every $0
read was sampled on @claude-flow/cli 3.51.1. security-bench is MCP-only (mcp exec -t metaharness_security_bench).
learn --run and gepa --op analyze need a path, so their buttons type the command into the terminal instead.
- mh-lab.ts: the catalog, labSpec, and readers (findings by severity, redblue runs/attacks, gepa render/genome,
receipts, a flattener for the rest); every lab entry is a palette entry, so /ruflo run mh-genome works headless
- runner: ActionSpec lab/note/timeoutMs (evolve and security-bench outlast 90 s), state.lab, settled()
- dispatch: /ruflo run and /ruflo yes answer a lab run with what it printed
- audit probe: audit-list rows carry key/startedAt/finishedAt; the probe read none of them, so the trend had no
points from real data; it now keeps each key for audit-trend and similarity
- tests: kit tests for the lab view, an inspect run, a spending ask, promote never run, headless answers, the six
new confirm-gated argv; mh-lab.spec.ts for the catalog invariants and readers on captured CLI output
Co-Authored-By: RuFlo <ruv@ruv.net>
`hive-mind consensus` exits 0 and prints "Vote recorded (For: undefined…)" when the tool
refuses a vote (unregistered voter, double vote, Byzantine, already decided); only its
--format json output carries the tool's "error" for the runner. The shared-memory key
count no longer counts the broadcasts array it lists separately.
Co-Authored-By: RuFlo <ruv@ruv.net>
- Terminal:
- The conversation is a window that scrolls: ▲ older, ▼ newer, ⤓ end by mouse, or /up /down /end from the field.
- While scrolled up, new output waits below and is counted (⤓ N new).
- Each turn is framed: ╭─ you → agent, ├─ agent, then a gutter in that agent's colour, closed by ╰─ ✓ 3 s · $0.012.
- Light markdown: headings bold, bullets as •, fenced code framed and tinted.
- Long answers wrap at word boundaries.
- A question can be clicked to put it back in the field.
- While an agent writes back, a spinner shows; the input sits under its own rule.
- Clickable:
- Every band part opens the console on its view, with the keys (approvals, swarm, terminal, events, claims, cost).
- The Wildcat NETWORKS names are links.
- The main menu's status-bar facts are links.
Co-Authored-By: RuFlo <ruv@ruv.net>
A new keyless view (👑, after Swarm) that reads what .claude-flow/hive-mind/state.json
records: the queen and her term, the consensus strategy with the fault tolerance and
quorum it implies (the CLI's own calculateRequiredVotes arithmetic), every worker with
its hive role and liveness (from .claude-flow/agents.json, where hive-mind spawn writes),
open proposals against their bar with raft timeouts and Byzantine voters, decided
history, and the shared-memory broadcasts.
- gfx/hive.ts: a honeycomb of hex cells, the queen's crown centred, workers ringed
clockwise; walls show each ballot on the picked proposal; one meter per proposal.
xterm-256 colours only. A cell flashes for 2 s after its vote/join/leave event and is
otherwise still (byte-identical frames); size depends on model and columns only.
- data/events.ts: one event per new ballot and per join/leave, tagged with the worker.
- Actions, each confirm-gated: vote through `hive-mind consensus` (the only path that
carries the hive token) as the next registered worker without a ballot; propose,
broadcast and spawn through `mcp exec` (no token needed). A second raft proposal in
the same term is refused before it is asked.
- Tabs: a view with key '' gets a Button without a hotkey; viewOf never matches ''.
The first tab row now runs to the last digit-keyed view, so Hive-Mind sits after Swarm.
- The swarm view's hive section is a short summary with "▸ open hive".
Co-Authored-By: RuFlo <ruv@ruv.net>
A new view, 🧰 Skills, with no hotkey (every digit and letter is taken):
the tab is pressed, and the menu prompt and /ruflo skills reach it by name.
- INSTALLED: `skills ls --json` and `ls -g --json`, read when the view
opens or on r; one failing scope does not blank the other. Each row has
▸ update ▸ remove ▸ edit.
- SEARCH: Enter in the field runs `skills find <query>` (owner:<name>
becomes --owner); the coloured text is read line by line into
owner/repo@skill with install counts, each with ▸ add and ▸ add -g.
- CREATE: a name field for `skills init <name>`. Enter asks, and Enter
again confirms.
Reads run at once, but only when the person acts, because npx and
skills.sh are on the network. Every change is confirm-gated through the
runner (ActionSpec run + shows, so the confirm row prints the exact
argv). After a change, both lists are read again and the result says
whether the change shows in them. ▸ edit loads the AI terminal with a
claude prompt; nothing here writes a file.
Input is validated before it becomes argv: [A-Za-z0-9@/._ -], no leading
-, capped. A new skill name may not hold a slash or start with a dot,
because init joins it onto the project.
viewOf no longer matches '' to the hotkey-less view. The tab bar, /ruflo
help and the palette drop the key where there is none. The narrow-tab
test holds the position, not the total view count.
Co-Authored-By: RuFlo <ruv@ruv.net>
- Band order:
- What needs a person.
- Who is working on what and for how long (▶ coder on <task> 2m).
- The AI terminal's runs, and the newest event while it is under a minute old.
- With nothing moving it says idle, how many agents stand ready, and when something last happened.
- Claims and spend come last; route and pattern totals live in their own views.
- Main menu: SWARM (live/work/watch), INTELLIGENCE (learn/remember/spend), NETWORK & EXTEND (federate/extend),
TOOLS (run/session).
- Each group is a bordered ▓▒░ TITLE ░▒▓ box, two per row where the pane is wide enough.
- Hive-Mind and Skills entries show once those views exist.
Co-Authored-By: RuFlo <ruv@ruv.net>
The field holds the keys, so the pick hotkeys would only type. A slash word in the field switches harness
and drops an ask the previous harness left on screen.
Co-Authored-By: RuFlo <ruv@ruv.net>
- The docked pane no longer goes compact. Compact was meant for an inline pane too short for its view, but it also
fired on the dock, so the taller pages (Swarm, Claims, Plugins, Learning, Terminal, x.ruv.io) lost the banner and
their block title while the shorter ones kept them. The dock scrolls, so it now always draws the full frame.
Even a compact inline pane keeps each page's title and description line.
- The Main Menu is back to the banner and the RUFLO BBS title, and the neon sign is the boot's alone. Rows go back to 32.
- The terminal's field takes the keys when the view opens and after a harness pick ($.ui.focus), so typing reaches it
instead of firing pane hotkeys (w, s, c…). Verified live: "where is the swarm" landed in the field.
Co-Authored-By: RuFlo <ruv@ruv.net>
After the first Enter the field is emptied, so the second Enter submitted empty text and read
'type something first' instead of running the confirmed command. An empty Enter on a pending
terminal ask now confirms it. Seen live while recording the console tour.
Co-Authored-By: RuFlo <ruv@ruv.net>
- Sessions: each agent keeps a conversation per project, so a follow-up carries the context.
- codex: by its thread id, via `codex exec --json` then `codex exec resume <id> --json`, read-only throughout.
- claude: by a session id the console picks, via `--session-id` then `--resume`, in plan mode with $1 a turn.
- Ids are saved per project, and only id-shaped strings come back.
- Streaming (stream.ts):
- codex JSON events show commands, file changes, tools and the answer.
- claude stream-json types the answer out from deltas, shows tool calls, and counts the cost.
- If a run ends with events but no answer drawn, the terminal says the format may have changed.
- Concurrency: codex and claude run side by side.
- The swarm harness (v) sends one question to both, and their lines are tagged.
- s stops all runs.
- Confirm once per session: the first message shows the exact command(s), and Enter again runs them. After that the session is live and Enter sends. /new or o starts over. ruflo commands are still asked every time.
- Scrollback wraps to the pane instead of truncating.
- Neon boot: each tube materialises out of random letters as it strikes, and the lit sign now and then glitches (a row slips, cells flash to noise).
Co-Authored-By: RuFlo <ruv@ruv.net>
- gfx/neon.ts draws ruflo/assets/ruflo-small.jpeg in cells:
- a pink rounded frame on clips and wires, yellow tube lettering, a cyan badge of waves, on a brick wall
- tubes are line characters on a lit cell, with a white-hot core
- glow is additive light on the wall, so the halo stays saturated
- Colours sit on the xterm-256 cube: Claude Code draws Rasters in 256 colours in some terminals, and off-cube dark tints collapsed to brown and grey there.
- Boot: the line connects, then the tubes strike one after another with a stutter, then hum, with a rare buzz.
- Main menu: the sign hangs lit and still in place of the banner (motion outside the boot must mean data).
Co-Authored-By: RuFlo <ruv@ruv.net>
- Boot: RUFLO materialises as big ANSI block art out of an animated ASCII field.
- A 4x4 ordered dither plus a left-to-right sweep decides when each cell resolves.
- Cells still resolving flicker as noise characters, with a dim plasma behind, and resolved letters get a drop shadow.
- This is the image-to-ASCII effect of tools like ascii-magic, done in cells: offline and deterministic.
- Moved to gfx/boot.ts.
- Main menu (0, 📟): where the cockpit lands in the BBS look (bare /ruflo, auto-open).
- "RUFLO BBS" block title, a host line, and three boxed menus (Swarm Commands, System Features, Other Commands) whose entries go where their keys go.
- A modem-style status bar with this project's live facts, a T - mm:ss clock, and a (1:1) prompt that takes a key or a name.
- b goes back to the menu; /ruflo <view> still opens that view.
- Auto-open no longer overrides a view a /ruflo command opened meanwhile.
Co-Authored-By: RuFlo <ruv@ruv.net>
- x.ruv.io view (w, 🛸): a Wildcat-style main menu of what the open federation offers; each read entry
puts its `ruflo federation …` command in the terminal. The registry (join steps, limits, default rooms)
and the roster come from the network, so they run only with federationNetwork on (new opt-in
registryProbe; smoke now expects two network probes).
- Terminal view (i, 💻): pick codex (exec, read-only sandbox), claude (-p, plan mode, $1 cap) or one
ruflo CLI command. The text reaches model harnesses on stdin, never as an argument. Enter shows the
exact command, Enter again runs it. Output streams through $.process.spawn into a scrollback that keeps
indentation and strips escapes and bidi characters. s stops a run; it is also capped at ten minutes.
- ActionSpec gains run/shows so the confirm row prints the real argv for a non-ruflo command.
Co-Authored-By: RuFlo <ruv@ruv.net>
An auto-opened pane does not hold the keys, and the frame loop only ran for a
focused pane, so the boot screen froze on its first line. The loop now also
runs while booting; when the boot ends the pane redraws once and an unfocused
pane's loop stops again. The bar now fills by about 2.9 s once the first reads
answer, and the boot lasts at least 3.2 s, so 100% shows before the view.
Tests: kit 51/51, specs 42/42, smoke 14/14.
Co-Authored-By: RuFlo <ruv@ruv.net>
With the bbs look, opening the pane plays a dial-up boot: ATDT ruflo.local,
RING… RING…, CONNECT 115200 / ARQ / V.42bis, the RUFLO logo drawing in a row
at a time (magenta to cyan, with the banner's scanline), "░▒▓ AGENT SWARM
CONSOLE", "> handshake ok · node <project>", and LOADING [▓▓▓░░░] 58% reads
6/10 with a blinking cursor. The bar mixes elapsed time with the reads that
have answered, so it moves before any read returns.
It runs at least 2.6 s, longer while the first read is still out, never past
6 s, and draws nothing else under it. `boot: false` turns it off; the plain
look never shows it.
Tests: kit 51/51 (a fresh pane shows only the boot raster; the view and
behaviour tests run with boot off), specs 42/42 (the sequence and the bar;
the 2.6 s / first-read / 6 s rule), smoke 14/14, validate --strict clean.
Co-Authored-By: RuFlo <ruv@ruv.net>
#3614 changed ruflo-swarm's panel default from auto to command (so two panes
never auto-open) without bumping the version; installed 0.3.0 copies kept
auto, opened the Swarm pane beside the console and took its keys.
Co-Authored-By: RuFlo <ruv@ruv.net>
A cyberpunk/BBS look, on by default (`look: bbs`; `look: plain` keeps the
terminal theme's colours and plain rules, better on light backgrounds):
- Banner: RUFLO in a two-row half-block font, magenta to cyan, with a
scanline sweeping across it, "░▒▓ AGENT SWARM CONSOLE", the node, and a
blinking block cursor.
- Section headers: `▓▒░ SWARM ░▒▓══════ right` instead of `Swarm ──── right`.
- Palette: neon magenta headings, cyan values, matrix-green labels; amber
stays the attention colour.
- Tabs: the current tab is framed like a menu pick, `[2: 🐝 SWARM]`.
- Under the tabs, a sysop prompt: `>> 🐝 SWARM :: what it is for`.
- Status: `[LINK OK] ▸ sync 3s` (`[DIALING…]` before the first read).
The look is set once per render (`setLook`), so every view keeps reading
THEME.x; the plain look is byte-for-byte what 0.2.0 drew. Version 0.3.0 so
installed copies update.
Tests: kit 50/50, specs 40/40 (banner rows, gradient, blinking cursor; option
parsing), smoke 14/14, validate --strict clean.
Co-Authored-By: RuFlo <ruv@ruv.net>
Emoji tabs in two rows (data views, then management views), the line naming
the current view, the band, busy agents breathing with a work-in-flight dot,
readable agent labels and claims cards, and clean agent logs.
Co-Authored-By: RuFlo <ruv@ruv.net>
Symbols like ⁂ ◫ ≋ were hard to read. Each view now has an emoji with default
emoji presentation (no variation selector, so it renders the same in every
terminal): 🏠 Overview, 🐝 Swarm, 📌 Claims, 🌐 Federation, 🧩 Plugins,
🧠 Learning, 🔬 MetaHarness, 💾 Memory, 💰 Cost, 🕒 Timeline, ✅ Approvals,
📡 Events, 🎯 Missions. An emoji is two cells, so the bar is two rows: the
nine data views (1-9), then the four management views (g q e m). From 140
columns every tab also spells its name; the line under the bar always names the
current view and says what it is for.
Tests: kit 50/50, specs 38/38, smoke 14/14, validate --strict clean.
Co-Authored-By: RuFlo <ruv@ruv.net>
Claude Code loads an installed plugin from its cache, keyed by version, and
'claude plugin update' only refreshes it when the version changes. #3625 (icon
tabs, band, work-in-flight animation, clearer swarm and claims, clean logs)
merged at 0.1.0, so every installed copy kept the 3.51.0 code.
Co-Authored-By: RuFlo <ruv@ruv.net>
A 95 s recording of the ruflo console in a live Claude Code session: overview,
swarm topology with agents at work, agent drill-down, a confirmed claim, the
approvals queue, missions, events, timeline, learning, MetaHarness,
federation, plugins, memory, cost and the palette. Asset at
docs/assets/ruflo-console-tour.gif (729 KB).
Co-Authored-By: RuFlo <ruv@ruv.net>
plain() removed the ESC byte but left the rest of each colour sequence, so the
drill-down's 'ruflo agent logs' tail read '[1mLogs for agent-…[0m'. Whole
CSI sequences now go first; the hostile-text tests assert the sequence is
gone, and still that no control or bidi character reaches the tree.
Tests: kit 50/50, specs 38/38.
Co-Authored-By: RuFlo <ruv@ruv.net>
The dock's width is the engine's to choose (it keeps where the divider was
left), so the current tab spells its name only from 110 columns; below that
it is its key and icon, highlighted, and the line under the bar always leads
with the icon and view name. The swarm table drops the type column when no
agent has a name that differs from its type, and a busy agent's work-in-flight
dot is two dots wide in full amber so it reads at a glance.
Tests: kit 50/50, specs 37/37.
Co-Authored-By: RuFlo <ruv@ruv.net>