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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>