Commit Graph
896 Commits
Author SHA1 Message Date
ruv 2db7fe2a40 feat(console): Workflows worktree manager, templates and Anatole per agent (ADR-463)
Worktree list with ahead/behind, dirty, age and maker, plus a confirm-gated removal of merged,
clean, idle worktrees that re-checks each one before it goes; four workflow templates with a
dry-run estimate launched through the existing prompt path; Project Anatole verdicts matched to
runs and agents from the files alone, with 'not attributed' where they cannot be placed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 22:36:45 -04:00
ruv dab6c087cb feat(console): wire the Workflows page (ADR-464): view, nav, menu, live refresh, keys, slot seams
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 22:16:35 -04:00
ruv db2299956c feat(console): register memory-health probe; move segmentOf out of controller (500-line limit)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:58:43 -04:00
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 585ec22b07 fix(console): sanitize router text, never clip pipeline stages on narrow panes (ADR-455)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:57:36 -04:00
ruv 60ef7c5a30 fix(console): wire the recall probe and nn-recall entries, mask credentials, fit the lifecycle table at 80 columns, tighten tests (ADR-456)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:56:36 -04:00
ruv ebea124e52 fix(console): scroll workflows lists with the cursor, fix narrow layout, mask secrets and strip control chars, harden tests (ADR-458)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:54:40 -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 e36986d861 fix(console): register the memmap probe, cap the namespace key and embedding length, tests for each
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:49:26 -04:00
ruv 97fb5351ff feat(console): explain-a-recall and pattern lifecycle in the Learning Lab (ADR-456)
Recorded last recall per session plus a re-score with the hook's own formula,
and a models.json lifecycle table with confirm-card prune and promote.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:47:08 -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 7772cd379a fix(console): memory health review - honest section subtitle, shorter consolidate note, tests that kill 5 surviving mutants
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:44:20 -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 6ac184d481 feat(console): swarm and workflow management page (ADR-458)
Phases left, agents right, run header; reads Claude Code workflow run
folders and folds the ruflo swarm into the same layout. Read-only; ruflo
agents keep their confirm-gated stop and spawn.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:42:33 -04:00
ruv 3030d6af51 feat(console): memory map in the Memory Lab (ADR-454)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:41:33 -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 c15bf29cbe feat(console): memory health in the Memory Lab (ADR-457)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:38:19 -04:00
ruv 54cacbd3c7 feat(console): learning pipeline diagram with stale stages and router candidates picture (ADR-455)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 21:37:38 -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 97eb78c7bd Merge pull request #3827 from ruvnet/feat/console-band-live
feat(ruflo-console): the band shows how long Claude has been working, the tool-call rhythm and the context gauge (0.33.22)
2026-10-05 16:29:23 -07:00
rUv 975b04b7f5 Merge pull request #3828 from ruvnet/feat/anatole-console-pr
feat(ruflo-console): Project Anatole section in Security & Doctor
2026-10-05 16:29:06 -07:00
ruv 6ab6b395f6 merge origin/main (console 0.33.21); version per merge order 2026-10-05 19:18:58 -04:00
ruv 87dcddce6f merge origin/main (console 0.33.21); version per merge order 2026-10-05 19:18:09 -04:00
ruv 80d82dc6a6 merge origin/main (console 0.33.21); version per merge order 2026-10-05 19:17:21 -04:00
ruv baf97eb242 merge origin/main into the sentry/results PR (excluded-test list: keep both sides) 2026-10-05 18:53:49 -04:00
ruv f80c1584a2 feat(ruflo-console): Project Anatole section in Security & Doctor (0.33.23)
The console half of Project Anatole (ADR-453; the ruflo-protector plugin is on main, default off). A collapsible section on the Security &
Doctor page, in labelled blocks:
- Status: mode, a baseline maturity bar, open alerts by severity, blocked count, degraded, and a line saying the data is reported by the
  mod and unauthenticated;
- Rules: the 13 rules as an aligned table with their OWASP refs, an off/notify/block chip each, hits and acked share (from the last 200
  alerts), "changed from default" and "auto-demoted";
- Actions: run (scan the Claude configuration) and replay (what would have fired), results in the page's Result panel;
- Mode: off/learn/notify/enforce with a sentence on what the current mode does, and reset baseline;
- Open alerts: two lines each, with ack and allow buttons; the Findings meter also counts them, labelled as the mod's report.
Reading is bounded and regular-file-only, every field is whitelisted and cleaned (a hostile file cannot break the page), and rule ids,
fingerprints and alert ids are matched against tight patterns before they can reach a command. Every change goes through the confirm
gate: a mode, rule, ack or allow change is a write; switching to enforce is declared install-class and reset-baseline delete-class, so
Claude's own console tools always wait for the person on them. With the plugin never reported, the section is one install line.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 17:34:19 -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 4d60958db2 fix(ruflo-console): keep the Router's running-success curve (an existing test and feature); only explain why it is empty
The previous commit also replaced the curve with a strip when a few outcomes were all successes. The kit test for the Learning page treats
the curve as intended for exactly that data, and it was not asked for, so that part is removed. What stays: the "last pick" line says the
classic hook-handler owns routing here, and a history nothing has been added to for a day says "nothing recorded since".

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 16:23:02 -04:00
ruv 878dae104d fix(ruflo-console): the Router block says why it is empty and does not stretch a flat curve over nine outcomes
With ruflo-mods owning nothing (the project's classic hook-handler runs `route`), "last pick" said only "no prompt routed yet this session",
which reads as a fault. It now says the classic hook owns routing here and the mod records no picks. An outcome history nothing has been
added to for a day says "nothing recorded since". With fewer than 12 outcomes the running-rate curve (a flat line stretched across the pane)
is replaced by one cell per outcome; a real history still gets the curve.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 16:19:54 -04:00
ruv 84b7be3b34 fix(ruflo-console): the Learning pulse charts mean one thing each and line up (0.33.22)
The model mix scaled every bar to the busiest model, so the top bar was always full whatever its share (6 of 11 looked like 100%), and a
highlight swept along each bar like a glitch. The success row overwrote one cell of its own chart with a cursor and was a different width
from the others. Now: Pipeline, Model mix, Outcomes and Store are separate labelled groups; each model's bar is its share of all routed
tasks, with the percentage; the outcomes row is one cell per outcome (a short cell is a failure); the store bars say they are relative to
the largest. Every row uses one label column and one bar width, and nothing is drawn over the data. The pipeline marker is unchanged.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 16:14:20 -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 f63a849e4e Merge remote-tracking branch 'origin/main' into feat/anatole-plugin 2026-10-05 15:49:01 -04:00
ruv da60cdfb3a fix(ruflo-protector): status.json carries version 1 and the *Ms times the Mods scan needs; the console maps the plugin to Security & Doctor
The console's mod scan (ADR-446) accepts only `version: 1` and reads `startedMs`/`updatedMs`; the plugin wrote `schemaVersion`, `startedAt`
and `updatedAt`, so the Mods page would have listed it as refused. It now writes both sets (the test that claimed to check this now does,
and fails without the change). The console's plugin-coverage test requires every plugin directory to have a home section, so
ruflo-protector is mapped to Security & Doctor in plugin-map.ts and the section's expected plugin list.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:44:56 -04:00
ruv ee772e73b6 test(ruflo-console): a result renders in the real engine as an aligned table with markdown read as text, inside a result frame
Runs a Dev Tools read whose CLI answer is the pasted neural patterns table plus a markdown line, and checks the drawn text (box-drawn aligned
table, no ASCII rules, markers gone) and the element tree (one round result-frame).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:23:48 -04:00
ruv 345ad256f7 fix(ruflo-console): the Optimizer's answer panel is framed like every other result
It built its own result rows and was missed by the shared frame. Same frame, coloured by the outcome.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:17:28 -04:00
ruv 6fd0a78c23 fix(ruflo-console): results read markdown as text: pipe tables drawn aligned, headings, bullets, bold, code and links tidied
The result lines carried raw markdown (| --- | separator rows, **bold**, `code`, ## headings, - bullets, ``` fences) that the console printed
literally. prettyLines now draws markdown pipe tables with the same aligned box as the CLI's ASCII tables (markers inside cells removed),
reads headings as "▸ Title", bullets as "•", quotes as "│", drops bold/code markers and turns [text](url) into "text (url)", and shows a
fenced block as it is without the fence lines. Single asterisks, snake_case and unpaired markers are left alone.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:14:26 -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 06d38d059a feat(ruflo-protector): Project Anatole plugin, tests, corpus gate, bench, fleet registration
ruflo-mods 0.3.14: /ruflo-mods shows one protector row from .claude-flow/protector-mod/status.json.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:06:42 -04:00
ruv bccd1a3426 feat(ruflo-protector): Project Anatole plugin core (WIP)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 15:01:07 -04:00
ruv 2d7ef5d7a9 merge origin/main (0.33.19 security field border) into the confirm card; version 0.33.20
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 14:41:14 -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 feb42e204c feat(ruflo-console): the Security view's text field sits in a round border (0.33.19)
The paste field under "Check text" was a bare line among the buttons, so it was hard to tell where to type. It is now wrapped in a round
bordered box (info colour, one column of padding), the same treatment the loops, missions and events fields already have. The check
buttons below still act on it; without a text-field surface the view still says how to type instead.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 14:28:49 -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 408c3e502a fix(ruflo-mods): trust gate counts prompt.submit and agent.spawn as risky; ranked context drops control and bidi characters (0.3.13)
#3787: under modTrust=refuse-risky a user-tier mod whose only hook was prompt.submit (the documented injection path at that tier) or
agent.spawn loaded, because neither was in the risk sets. Both are now named and refused; observe still only names them.

#3790: the [INTELLIGENCE] block put remembered entries into the prompt cut to 80 characters but otherwise as they were. They now pass
through the same control and bidi cleaning the research guard uses.

Both new tests fail without the change.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 11:54:51 -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 ed0888b4f8 fix(console): the agentdb mod status file must be a regular file too (ADR-450 T2)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 06:22:39 -04:00