Commit Graph
874 Commits
Author SHA1 Message Date
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
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 bb94f75547 Merge pull request #3781 from ruvnet/loop/t10-legacy
fix(ruflo-mods): a legacy or unknown-mode policy projection is rejected and the mode is shown (ADR-450 T10 cheap layer, 0.3.12)
2026-10-05 03:14:45 -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 24613ad405 fix(console): vendored RufloSnapshot type follows ruflo-mods (policy mode legacy removed)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:59:24 -04:00
ruv 2533d8abef Merge remote-tracking branch 'origin/main' into loop/t10-legacy 2026-10-05 05:50:31 -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 ecb0c0bfa6 fix(ruflo-mods): reject a legacy or unknown-mode policy projection as unreadable; report shows the mode (ADR-450 T10), 0.3.12
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:44:23 -04:00
rUv e0b8084f52 Merge pull request #3778 from ruvnet/loop/runbyid-exact
fix(console): console_run resolves an exact palette id only (ADR-450 T13, 0.33.14)
2026-10-05 02:44:14 -07: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 adaae27404 Merge remote-tracking branch 'origin/main' into loop/recall-fold 2026-10-05 05:20:45 -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 6ac6840a11 fix(agentdb): NFKC-fold recalled memories and judge key/value pairs before attaching (ADR-450 T5), 0.4.7
Recall folds each retrieved item with NFKC (bounded, never throws) and screens the folded text, so fullwidth, circled, mathematical and ligature spellings of an injection phrase or a secret are dropped. Structured fields are judged as name=value pairs with the guard's extras(). The shared screen region is untouched.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:19:08 -04:00
rUv c00229406c Merge pull request #3774 from ruvnet/loop/readme-options
docs(ruflo-mods): README has a row for every option, with a smoke check that keeps it that way (0.3.11)
2026-10-05 02:14:40 -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 9be6c6dd8d Merge origin/main into loop/drive-installed
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:04:04 -04:00
ruv ffe15550de Merge origin/main into loop/readme-options
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 05:02:29 -04:00
rUv 19e3a6790c Merge pull request #3769 from ruvnet/loop/console-chip
feat(console): console_open can select a Settings plugin-options chip, read-only (0.33.12)
2026-10-05 02:02:15 -07:00
ruv 981757f12d docs(ruflo-mods): README rows cite the live options run and the source of the 76% figure
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 04:55:43 -04: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 5f717842b4 docs(ruflo-mods): complete the option table, one row per userConfig key, with a smoke guard (0.3.11)
Adds the missing toolHints, agentTrim and agentTrimKeep rows, evidence pointers, drops the stale console 'pending' line, and adds smoke step 13. 0.3.11 chosen because loop/probe-label (0.3.10) is not merged yet.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 04:47:20 -04:00
ruv ff66586247 fix(ruflo-mods): print the probe label once in the /ruflo-mods report (0.3.10)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 04:41:04 -04:00