Commit Graph
930 Commits
Author SHA1 Message Date
ruv 925d2ac782 fix(console): autopilot MCP preflight names the plugin-namespaced tool (fleet MCP prefix audit)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 02:14:53 -04:00
ruv 9df7e0f88b bench(console): startup bench separating engine module-load cost from plugin runtime
Measured: the 3-8 kit-test timeouts on this branch are the engine transpiling and scanning the larger value-reachable module graph (189 -> 265 modules, 248k -> 353k AST nodes) on every test's plugin load; plugin-side start, refresh and render are unchanged. The engine refuses dynamic import(), so the graph cannot be loaded lazily.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:54:09 -04:00
ruv 710e16ec28 test(console): hostile-text expectation matches the removal-not-spacing mask
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:29:25 -04:00
ruv d89940a289 test(console): the scan-per-event reference fold counts starts like the real fold (security pin)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:25:11 -04:00
ruv 6b17188cad merge verify/bench; ADR-468 for the bench optimisations; console 0.34.0
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:23:57 -04:00
ruv e00c40da9b test(console): kill the two surviving mutations (per-command verify permission, rotation inside the write chain)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:23:02 -04:00
ruv 0181befe7e fix(console): merge follow-ups - denied verify counts as failed, journaled-start TOCTOU test, paths convention
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:17:33 -04:00
ruv 83e0a77dc5 Merge verify/review into verify/security (autopilot: union of both hardening sets)
ap-guard: PATH/RELATIVE_PATH/UNPLACED/NFKC from security plus URL host and GitHub repo extraction from review.
ap-loop: all paths, hosts, repos checked; deny not liftable; lost-on-restart park; sleep slack; clock-set-back fix.
ap-live: pin + held stop + slack + verifyPermission + startedCount hand-over check; rotate and adaptPass moved to ap-maint.ts (500-line limit).
ap-panel: Start card lists verify commands, repos and secret env names.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:14:57 -04:00
ruv 15933793f1 perf(console): fix per-frame transcript re-parse, quadratic journal fold, repeated tail reads; add workflow and autopilot benchmarks (ADR-467)
Frame 64 ms -> 0.06 ms, drill/search frames 1.4 s -> 0.1 ms, foldJournal 100k events 15 s -> 53 ms,
unchanged journal not replayed, unchanged oversized transcripts not re-read. Digests identical before/after.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:12:01 -04:00
ruv 19fbfdc120 fix(console): pin the recorded stop, bound the hand-over read, mask zero-width-split keys at parse, ADR-467
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:00:24 -04:00
ruv af173534e9 fix(console): security audit of the control plane, bridge and autopilot
Approval pin held outside the project (hash + start count), kill flag and second-session re-check before hand-over,
verify argv validated and asked of the engine, protected autopilot/Anatole folders, fresh-status Anatole gate,
receipt chain enforced, lost-on-restart steps parked, base-url SSRF guard, full-payload confirm card,
untrusted-quoted relay, zero-width-proof masking and classification, rotation archive link check.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:52:57 -04:00
ruv 7fbb456969 fix(console): autopilot adversarial review - stop wins races and a full disk, sleep/clock-safe timeouts, envelope checks every path/host/repo, deny is not liftable, narrow-width rows, verify commands on the confirm card (ADR-466)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:48:17 -04:00
ruv 116ee09a81 feat(console): wire control plane, conversation and mission autopilot into the Workflows page (ADR-465, ADR-466)
Registers the control tab, Conversation board and autopilot panel; wireWfControl/wireWfConvo/wireAutopilot in wf-wire; convoTargets option; /ruflo autopilot command; smoke step 5 now allows the conversation bridge's one extra send; ap-core spec split for the 500-line limit.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:36:19 -04:00
ruv 7befcbd963 merge feat/mission-autopilot (ADR-466)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:22:43 -04:00
ruv d745e0940d test(console): wording assertions hold with or without the control tab registered (ADR-465)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:21:52 -04:00
ruv a7706df505 fix(console): facts read after a run read not in a render, spend class, peer home guard, convoTargets option parser (ADR-465)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:20:41 -04:00
ruv d7a642aa46 feat(console): interactive control plane and multi-model bridge (ADR-465)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:17:28 -04:00
ruv dd4026281d feat(console): control tab, Conversation board, truthful stop/message wording (ADR-465 wip)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:14:48 -04:00
ruv b08c7b28c7 feat(console): autopilot live loop, panel, parked queue and tests (ADR-466)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:08:38 -04:00
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 a65692eb1c feat(console): autopilot pure core - envelope, journal, step machine, adapt gate, guards (ADR-466)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 00:02:46 -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