Commit Graph
910 Commits
Author SHA1 Message Date
ruv 3c658f92de feat(console): conversation model, transports, tests with fake transports (ADR-465 wip)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:05:44 -04:00
ruv 3f44b13f3e feat(console): control plane data (stop, message, redirect), targets registry, send transports (ADR-465 wip)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:01:13 -04:00
ruv c1ad589922 test(console): type-clean the security specs
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 23:15:01 -04:00
ruv 58654ec831 fix(console): Workflows security audit - fsmonitor off on the ignored-files probe, tag/variation characters stripped, DB_PASS mask, real-git removal guard tests
The worktree guard now also refuses a directory holding ignored files named like a secret (.env, keys),
since git worktree remove deletes ignored files. Regression specs run real git, real dd and real links.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 23:14:36 -04:00
ruv 7ee6b0a567 fix(console): Workflows review - unread cost is n/a not $0, export carries the Cost figure, key hints name real keys
Review fixes: fmtCosted/isUnread (unread run or phase was drawn as $0), exportCostOf wired
to setExportCostSource (export said n/a beside a Cost board figure), header and footer hints
named h/l, Enter and [ ] (real keys: b/l, d, u/i), two dead exports removed.

Also swept in by this commit: a concurrent session's uncommitted security hardening in the same
worktree (wf-clean/parse ESCAPES+HIDDEN, checkNoLinks on saved-view writes, wf-security.spec.ts).
One of its tests (wf-security: 'writes the saved views normally when nothing is a link') was
failing (EPIPE) when committed; not part of this review.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 23:09:50 -04:00
ruv 533849de54 feat(console): merge the five Workflows features and wire their seams (ADR-459..463)
Merges drill, links, replay, cost and worktrees; adds hooks/wf-wire.ts (one wiring point called from bindings.ts), an afterRead hook list
in wf-live, the three guard options in state and plugin.json, and registers every feature in views/wf-register.ts. The merge found three
collisions the features could not see alone: the drill took the w, t and g hotkeys (import order now lets worktrees and templates take them and the
drill falls back along its letter lists), the slot cap of 12 silently refused the 13th board (now 24), and the replay spec assumed it was the only board.
Also: export file name no longer repeats a run whose name is its id; worktrees says to retry after a failed read.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 23:01:29 -04:00
ruv 907710b15a merge feat/wf-worktrees 2026-10-05 22:46:42 -04:00
ruv e45ea295bc merge feat/wf-cost 2026-10-05 22:46:42 -04:00
ruv 0e658e4200 merge feat/wf-replay 2026-10-05 22:46:41 -04:00
ruv 9e94787e4f merge feat/wf-links 2026-10-05 22:46:41 -04:00
ruv 604dfa9932 feat(console): Workflows drill-down (ADR-459): levels, activity, log, files, result, cross-level search
Plugged in through the page's slot seams only: a board slot for the panel, eight key slots, a search slot and a follow tick.
Reads are capped and path-checked; loaders need the host bound (bindWorkflowDrill), unbound the drill states what it cannot read.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 22:46:09 -04:00
ruv a753bf87f0 feat(console): Workflows cost, failure triage and alert guards (ADR-462)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 22:38:12 -04:00
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 ef867aa200 feat(console): Workflows replay, compare, export and saved views (ADR-461)
Four board slots behind one import: scrub a finished run through its agents' start and end moments, compare two runs of one workflow, export a masked markdown summary through the confirm card, and remember the cursor and pins across restarts. No shell in any write; no hotkey taken.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 22:32:05 -04:00
ruv d3767df09a feat(console): workflow links, run events, mission-as-workflow and guidance (ADR-460)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 22:30:22 -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