Commit Graph
100 Commits
Author SHA1 Message Date
ruv 107e9aac0a merge feat/swarm-management-ui 2026-10-05 21:57:43 -04:00
ruv 8b4630ccb7 merge feat/mind-memory-health 2026-10-05 21:57:43 -04:00
ruv 793d2e11dc merge feat/mind-explain-recall 2026-10-05 21:57:43 -04:00
ruv d020462392 merge feat/mind-pipeline-router 2026-10-05 21:57:43 -04:00
ruv 2169b620b9 perf(console): memoize transcript parses and bound page cells; add bench-swarmui (ADR-458)
Refresh of 6 runs x 60 agents 158 ms -> 3.4 ms; 10k-agent page draw 1.5 ms -> 0.02 ms.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:50:28 -04:00
ruv a8544dfe13 perf(console): memoize recall explain and per-refresh parses; add bench-recall (ADR-456)
Profile showed trigrams() rebuilt per entry on every render with a prompt picked (70% of CPU).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:49:59 -04:00
ruv 67ce7a2c18 perf(console): memory map embedding layout 28x faster, one layout per frame (bench-memmap)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:45:33 -04:00
ruv b0767e0df0 perf(console): bound route-candidate parsing to the five the picture draws; add bench-pipeline (ADR-455)
10k-line route query: 1.03 ms -> 0.0006 ms parse, 1.27 ms -> 0.065 ms parse+draw.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:42:39 -04:00
ruv 4355f7bd8b perf(console): memory health analysis computed once per probe result, per-entry key work hoisted; bench-health.mjs
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:40:53 -04:00
ruv 616a7ebb01 feat(console): band notices, tone border, /ruflo band|notices|quiet (0.33.23)
The band now announces approvals, alerts, finished missions, long turns
ending and Anatole blocks on a notice row (linked, dismissable, 20s),
colours its border by state, can go compact, and labels subagents by a
short id instead of the raw one.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 20:01:52 -04:00
ruv 6ab6b395f6 merge origin/main (console 0.33.21); version per merge order 2026-10-05 19:18:58 -04:00
ruv b2d030c88d feat(ruflo-console): the band shows how long Claude has been working, the tool-call rhythm and the context gauge (0.33.24)
The two-row band above the prompt now carries three live signals, each shown only while it has something to say:
- "▶ Claude working 41s": how long the current turn has run (the turn's start is now recorded at turn.start);
- a sparkline of tool calls per minute over the last ten minutes ("·▃▅·▃█▃▅█▅ tool calls, 10m"), so an unattended session's rhythm is
  visible at a glance; silent for fewer than three calls, and it counts only what the console observed;
- "ctx 83%" from the session's context fill: quiet under 60%, plain to 79%, amber from 80%, "· /compact soon" from 85%.
Also fixed: the standing row began "↳  · …" with a doubled separator.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 16:54:51 -04:00
ruv 1a2318f084 fix(ruflo-console): smoke step 12 accepts the excluded list as well as the CI baseline for kit tests
A new kit test belongs on scripts/ci-test-excluded.txt (the baseline only shrinks), which step 12 did not know about.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 16:05:48 -04:00
ruv d1d4dab56d fix(ruflo-console): sentries start /loop as a command, and every result is a bordered status card with aligned tables (0.33.21)
Sentry "▶ start" confirmed but created no loop: the console sent "/loop …" with $.prompt.submit, which gives the model a message that merely
looks like a command. It now runs as the /loop command ($.command.run, as if typed); mid-turn it is placed in the prompt box and says so;
a refusal is reported. The Security page shows the outcome under the sentries as a card (✓/✗, title, age, wrapped detail, next step).

Results in general: every view's Result panel (Security, Dev Tools, Automate, Evolve, Memory lab, MetaHarness lab, Vector, x.ruv, Plugin
catalog) is now one round border coloured by how the run went (green, red, amber while running, dim when idle). The CLI's ASCII tables
had lost their padding by the time they were shown; they are read back as cells and drawn again with box characters and aligned columns
at the one place results are stored (runner.ts), and blank-line runs are collapsed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:09:02 -04:00
ruv dc1ada1b12 feat(ruflo-console): the ask-first confirm is one bordered card with a header, a rule and labelled sections (0.33.20)
The confirm that every ask-first action shows was a stack of loose lines: a header, a long "Confirm: …?" line clipped mid-sentence, the
command, the note, and the buttons hard against them. It is now one round bordered box in the warning colour: "▶ CONFIRM NEEDED" with
"click Yes or press y" beside it, a rule, the question, the exact command ("runs: …", wrapped so all of it shows), the note labelled
"Effect:" (wrapped, alarm colour for money or models), and the buttons set apart by a blank line. Text inside is clipped to the width
within the border. Every string the existing kit tests read is unchanged.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 14:36:33 -04:00
ruv e8384b5e56 feat(ruflo-console): Claude can read the console by default — modelControl read, modelConfirm ask (0.33.18)
At the owner's request the four console_* tools are available by default at the read level: Claude can open pages and read console state,
and cannot act. A missing confirm mode is now ask; a saved "off" stays off and a saved "auto" stays auto. ADR-444 and ADR-450 record it and
resolve the open "default to ask" decision.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 12:53:52 -04:00
ruv 8612da1ed9 fix(ruflo-console): a Dev Tools entry's own cost is the floor of its class; jsonAfter stops at the JSON's own end (0.33.17)
#3788: Claude's confirm gate re-derived the action class from English words and ignored each Dev Tools entry's declared cost, so the
network entry dt-prov-test read as a plain write and could auto-run at write + auto. The entry's cost now travels with the ask
(`declared`) and the gate takes the stricter of the two classes. Live drive: at level write the entry is now refused as a network
action (needs manage); before, it was not asked about.

#3789: jsonAfter sliced to the LAST } or ] in the output, so a trailing log line holding one dropped valid JSON. It now finds the
bracket that closes the first one, skipping strings.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 11:51:32 -04:00
ruv 2c5a9f6534 fix(ruflo-console): never read a link, FIFO or folder named status.json (ADR-450 T2, 0.33.16)
Engine probe: fs.read follows symlinks, even outside the project; stat reports isLink and kind.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 06:19:39 -04:00
rUv 5b029146d5 Merge pull request #3783 from ruvnet/loop/t14-attribution
feat(console): a pending confirm says when Claude asked, and the action class (ADR-450 T14, 0.33.15)
2026-10-05 03:15:04 -07:00
ruv c829121b1c fix(console): smoke step 14 retries once and names the failing spec
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 06:01:25 -04:00
ruv 2f1692b1ff feat(console): a pending confirm says who asked and the action class (ADR-450 T14)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:49:50 -04:00
ruv 58ffe6aa67 fix(console): console_run resolves only an exact palette id (ADR-450 T13)
Model path passes exact:true to runById; person palette keeps fuzzy. Console 0.33.14.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:30:11 -04:00
rUv 040c703260 Merge pull request #3775 from ruvnet/loop/drive-installed
feat(console): drive.sh can run with an installed plugin in its throwaway config; the ruflo-mods option rows are now seen live (0.33.13)
2026-10-05 02:20:43 -07:00
rUv f1bcc87fb5 Merge pull request #3772 from ruvnet/loop/smoke-timeout
fix(console): smoke step 14 no longer times out under fleet load (reproduced: 4/4 fail before, 4/4 pass after)
2026-10-05 02:08:23 -07:00
ruv 5710dc7ee3 fix(console): smoke step 14 no longer times out under fleet load (vitest 30 s test timeout)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 04:54:25 -04:00
ruv 5c7b0da4f6 feat(console): drive.sh CONSOLE_DRIVE_INSTALL installs a plugin in the throwaway config (0.33.13)
Registers a directory marketplace and installs the named plugin inside the isolated config only, so the Settings view's plugin option rows can be driven live. The real plugins and settings are never touched.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 04:37:13 -04:00
ruv 25c3724234 feat(ruflo-console): console_open takes a Settings chip so a model can read a plugin's options (0.33.12)
console_open gains an optional chip (settings only), validated against the
Plugin options chips that exist and routed through the same action a chip
press uses. It stays a read: no setting is written and no write class changes.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 04:30:02 -04:00
ruv 79cdf571ad feat(ruflo-console): list the ruflo-mods tool hints, agent trim and delivery screen switches in Settings (0.33.11)
Show toolHints, agentTrim, agentTrimKeep and deliveryScreen at the simple level of Settings with a one-line honest note each; changes stay the same confirm-gated plugin option write, in the install class.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 03:43:51 -04:00
ruv d9a226913e feat(console): Mods reader shows calls from seen/checked/calls-object and refusal class from lastReason/lastBlocked (console 0.33.10)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 02:47:11 -04:00
ruv deaa2220e4 feat(console): scripts/drive.sh drives the console from a headless Claude (0.33.9); isolated config
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 01:48:48 -04:00
ruv 9f2e76bcb0 Merge origin/main into loop/ux-room; console 0.33.8
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 01:21:14 -04:00
rUv 86f68f7875 Merge pull request #3738 from ruvnet/loop/optimize-console
docs(console): optimization measurements and two benches — no code change justified
2026-10-04 22:20:21 -07:00
ruv e83b9cfe62 chore(console): 0.33.7 for the degraded-probe message
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 00:58:59 -04:00
ruv a83a50ddce Merge remote-tracking branch 'origin/main' into loop/optimize-console 2026-10-05 00:56:52 -04:00
ruv d06b0122be fix(mods): shared textsOf reports truncation and every guard fails closed on it
The walker dropped input past its node, character and per-string budgets
silently, so 32 guards passed a secret placed after the cap. textsOf now
appends a TRUNCATED marker; names/hasSecretIn treat it as a finding. Regenerated
the 38 copies, bumped the 39 plugins, emptied the known-holes baseline.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 00:27:13 -04:00
ruv eade0fd9dc feat(ruflo-console 0.33.5): per-session action budget per class and install class at full (ADR-450 T8)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 23:44:44 -04:00
ruv 37fe248ac3 Merge remote-tracking branch 'origin/main' into loop/autopilot-limits 2026-10-04 22:18:27 -04:00
rUv 9acf1c7067 Merge pull request #3717 from ruvnet/loop/sec-console
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)
2026-10-04 19:18:18 -07:00
ruv 6b3eefed57 security(ruflo-console): auto-confirm never answers network/spend/delete, secret screen on text Claude passes, env override can only lower control (0.33.4; ADR-450 T8, T12)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:03:36 -04:00
ruv 0179f98f15 chore(ruflo-console): keep the failing specs' lines when smoke step 14 fails (it failed in CI on a branch that did not touch the console, with nothing to read)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:46:56 -04:00
ruv 7725b867fd security(ruflo-console): a shell command is a 'full'-level action, class detection no longer a weak denylist; ANSI/OSC/hidden-text stripping; ADR-450 threat model (0.33.3)
Live proof on main: at level write + auto-confirm, console_run dt-term-exec ran a shell command.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:42:28 -04:00
ruv 7aeead82cb fix(ruflo-console): a person's always-allow answer is no longer Claude's pass around the control level (0.33.2)
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>
2026-10-04 21:25:11 -04:00
ruv 5a86097e56 perf(console): measure cold start, loaded render, snapshot reads and status writes (R4)
Adds bench-views.mjs and bench-snapshot.mjs and the findings page. No console or
mod code changes: every target was engine-bound or already under 1 ms.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:22:49 -04:00
ruv c4116f2377 ruflo-console 0.33.2: Room and Mods UX — clickable Mods detail, blocked filter, jump from feed entries
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:17:55 -04:00
ruv 3fd850042f feat(ruflo-console): drive.sh — console-drive as a repo script with --expect assertions (0.33.1)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:56:21 -04:00
ruv 9d4b45de0f feat(ruflo-console): Mods section on the Room and a count on Overview (0.33.1)
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>
2026-10-04 19:03:42 -04:00
ruv 981ec8e2ab feat(ruflo-console): The Room — one live feed of events, Claude's console actions and what you said (ADR-448, 0.33.0)
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>
2026-10-04 17:58:37 -04:00
ruv 860ede0bc7 fix(ruflo-console): an expired confirm leaves an event in the feed (ADR-448 §3.2, 0.32.2); ADR review corrections
say() does write state.outcome (one slot, overwritten); the guidance-offer clobber was #3699.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 17:44:02 -04:00
ruv d47f5e8d9b fix(ruflo-console): a background guidance offer never displaces an action waiting for a Yes (0.32.1)
Reported by a Claude driving the console in ask mode: the pending mission-create vanished.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:28:11 -04:00
ruv 9a13de7138 chore(ruflo-console): 0.32.0 (AgentDB mod section, autopilot default)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:16:58 -04:00