security(ruflo-console): at level 'write' Claude could run a shell command through the console — fixed; classOf hardened; ADR-450 threat model (0.33.3)
console_run -> runById -> ask() ran a remembered kind at once with no pending action, and callTool
only applies the level / confirm rules to a pending one. Found by the capability review (R1) by
reading runner.ts:135-141 and model-tools.ts:285-291; reproduced and fixed here.
Co-Authored-By: RuFlo <ruv@ruv.net>
A bounded reader for .claude-flow/*-mod/status.json (60 folders, 8 KB each, version-checked, unknown shapes refused) and a table of mod, guard, calls, blocked, last written, stale marker, blocked mods first.
Co-Authored-By: RuFlo <ruv@ruv.net>
Pending banner with the 30 s window, a say box over the existing broadcast/aside/guide (each still
asks), source filter/find/pause/paging, who is here. Named-only page: every hotkey letter is taken.
Co-Authored-By: RuFlo <ruv@ruv.net>
Reads .claude-flow/agentdb-mod/status.json (version-checked), shows install state, recall/guard
settings, counters and the last attached items. Help guide agentdb-mod. ADR-445 accepted with results.
Co-Authored-By: RuFlo <ruv@ruv.net>
The list drew six missions as blocks of four or more lines, in update order, with no way to reach the rest. It now draws one line a mission, sorts blocked and failed first, counts what needs attention, scrolls a window of ten with j and k, and expands the cursor's mission below. A record older than ten minutes is flagged as possibly stale.
The ordering, freshness, row text and window are a pure module (hooks/mission-list.ts) with tests/mission-list.spec.ts, so they run without the claude-code test kit. Read-only: no mission action is added.
Co-Authored-By: RuFlo <ruv@ruv.net>
Every section's footer gets an Ask Claude button (the view's text as quoted data, secrets scrubbed, asks first, fills the box mid-turn, /btw aside, fitting plugin command); /ruflo ask <question>. tests/matrix.test.ts mounts all 27 views at two widths and asks through the bridge; scripts/e2e-smoke.sh opens every view in a real Claude Code with no AI turn. ADR-408 s10.
Co-Authored-By: RuFlo <ruv@ruv.net>
A goal becomes a plan over one lifecycle (Research, Create with ADRs and SOP, Build, Test, Validate, Secure, Benchmark, Learn), then a governed mission and ruflo tasks that the primary Claude session carries out one at a time. After a goal is entered, claude -p (plan mode, read-only, budgeted; asks first unless always accept) writes guidance by stage with the ruflo capabilities to bring in. Confirms sit under the field that raised them, fields can be edited again, Mission Control leads the main menu, the band shows the active mission, Missions is key 1 and every view has a hotkey. ADR-408.
Co-Authored-By: RuFlo <ruv@ruv.net>
Every page but the main menu now leads with its own title as RUFLO ░▒▓▒░ PAGE ░▒▓ (the RUFLO letters sweep like the menu banner) and its purpose line, then the welcome and networks lines with a blank row either side, then the tabs. The menu keeps the RUFLO banner and drops its second title block.
Co-Authored-By: RuFlo <ruv@ruv.net>
Automation (id automate, keyless): the twelve background workers as cards
with status lights read from .claude-flow/daemon-state.json and a run
button each, daemon status/start/stop; a pending/running/done task kanban
from tasks/store.json with assign/complete/cancel/retry; workflows
(list, templates, create, validate, status, run, pause, resume, cancel,
save as template); autopilot (status, enable, disable, predict, learn,
log, history, reset); sessions (list, current, save, restore, export,
delete); config (list, get, set) with secrets masked as they are parsed
and never set from the console.
Learning Lab (id neural, keyless): learning stats from disk, neural train
per pattern and epochs with a progress sweep and a per-run loss
sparkline, status, patterns, memory analysis, intelligence stats,
quantize, compress, and route / explain / predict fields.
Every action is one fixed argv verified against @claude-flow/cli 3.51.1;
reads run at once into a result panel, writes ask first with their
cost, overwrite or delete on the confirm row; workflow run says it costs
money. Worker cancel reads n/a: the CLI keeps workers in a per-process
map. Shared hunks: ActionSpec.read + one runner line, VIEWS/ViewId/auto
state, BODIES, palette entries and keywords, the MetaHarness result panel
filtered to mh- runs, smoke step 14 runs the new spec.
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 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>