8 Commits
Author SHA1 Message Date
ruv a97c33f5f1 test(ruflo-console): repo e2e stops a ruflo daemon it started (it rewrites the tracked agentdb.rvf.lock)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:59:33 -04:00
ruv fcb32c9e5d test(ruflo-console): e2e checks say what they check; repo runs leave ruflo's runtime stores as found
- 100-column inline run: records the rows the layout gave (asked 30, got 16)
  and checks both borders and the controls are on screen, instead of a label
  claiming the whole view fits
- /ruflo commands step: the ADR-406 catalog loads live
- repo mode copies .claude-flow/{agents,tasks,claims,swarm,hive-mind}
  (gitignored) before the run and restores them after, so agents no longer
  pile up across runs

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:51:45 -04:00
ruv 34a630e893 test(ruflo-console): e2e animation check samples up to eight captures (decorations rest part of each cycle)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:38:51 -04:00
ruv 5194355c2a feat(ruflo-console): keep every command (ADR-406), headless views, ADR-406 catalog and missions
- /ruflo-console is registered again and is the same command as /ruflo;
  ruflo-mods and ruflo-swarm answer mods / swarm <sub> on both. /ruflo-mods
  and /ruflo-swarm-* stay registered for good (ADR-406: nothing removed,
  renamed or reassigned); descriptions and READMEs say 'same as', not
  'deprecated'
- without a pane (claude -p), /ruflo <view> answers the view as text; dump
  waits (bounded, 20 s) for the view's CLI probes, joining any already running
- an inline pane given fewer rows than it asked for goes compact: controls
  under the tabs, no title strip, the view scrolls below
- /ruflo commands [word]: browses the ADR-406 command catalog copied into
  catalog/ (parity spec on its digest); built-in mod list as fallback
- Missions view (m): the ADR-406 mission observation, read-only; task status
  shown as recorded, evidence as verified, session-bound said plainly
- ruflo-mods docs: ruflo-console@ruflo in the modTrustAllow example
- e2e: /ruflo-console alias, headless /ruflo <view>, dump waits for probes,
  a 100-column inline run

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:33:06 -04:00
ruv 736bb7b90a test(ruflo-console): e2e seeds trust for a worktree's main checkout too
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:17:06 -04:00
ruv 0e935d9fc6 test(ruflo-console): end-to-end script against real ruflo state and a real Claude Code
scripts/e2e.sh [--target scratch|repo]: makes real state with this branch's CLI
(swarm, agents, tasks, claims claim/release/handoff, hive proposal, memory,
route, policy status), then with RUFLO_E2E_LIVE=1 drives Claude Code in an
isolated CLAUDE_CONFIG_DIR (login copied 0600, shredded on exit; project and
ancestor .mcp.json servers rejected): /ruflo, /ruflo mods, /ruflo swarm,
/ruflo dump <view> headless; the pane under tmux (hotkeys, palette, a confirm
gated release re-read from disk, animation running and stopping); auto-start
from settings.local.json and a directory marketplace; negative paths. Scratch
run: 66/66 PASS.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:13:25 -04:00
ruv cbbabb8339 feat(ruflo-console): one /ruflo command, auto-start, diagrams, palette and management views
- /ruflo is the single command for every ruflo mod: views, palette, run/yes/no,
  agent drill-down, help; /ruflo mods is answered by ruflo-mods and /ruflo swarm
  <pane|status|topology|claims|consensus> by ruflo-swarm (both hook the same
  command; the old /ruflo-mods and /ruflo-swarm-* stay as deprecated aliases)
- auto-start: panel auto opens the cockpit at session start where it docks,
  never taking the keys; the band says /ruflo to open otherwise. ruflo-swarm's
  own pane now defaults to panel command so two panes do not open
- diagrams (Raster, one pure function per diagram shared by paint and blit):
  topology with event pulses and a leader heartbeat, claims lanes with TTL
  rings and handoff arrows, federation map by trust, plugin health matrix,
  learning curve draw-in and RETRIEVE→JUDGE→DISTILL→CONSOLIDATE pipeline,
  MetaHarness radar and audit trend, cost gauge and burn, agent timeline
- management: command palette (fuzzy, text entries), confirm-gated actions
  through fixed argv, agent drill-down with logs, approvals queue (votes,
  stealable claims, refused mods, policy denies, budget), event stream with
  filter, health alerts with the fix named
- tests: 28 kit tests, 28 vitest specs; 100-agent frame 0.25 ms median

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:15:40 -04:00
ruv 6eb25a823c feat(ruflo-console): tests, smoke, bench, marketplace entry, CI baseline
Kit tests (19) for every view, hotkeys, confirm-gated claims, refusal,
empty project, narrow and desktop fallbacks, the frame loop stopping when
hidden or unfocused, hostile text and the band. Pure vitest specs (18)
for readers, CLI JSON, cell graphics and $.ruflo type parity.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 21:34:10 -04:00