Commit Graph
7911 Commits
Author SHA1 Message Date
rUv 2cc3bade7f Merge pull request #3625 from ruvnet/feat/console-band-v2
feat(ruflo-console): a band that says what matters, in words
2026-10-02 09:30:42 -07:00
rUv 09a1cb0244 Merge pull request #3626 from ruvnet/release/3.51.1
release 3.51.1: security fixes for the pre-bash hook and MCP service destinations
v3.51.1
2026-10-02 09:06:03 -07:00
ruv c16b6bf86d release 3.51.1: regenerate witness manifests (linux, macos, windows)
117/117 verified on all three, drift 0, signature valid, nothing newly
regressed in history.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:55:06 -04:00
ruv 77a77a4527 release 3.51.1: re-sign helper manifest
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:54:28 -04:00
ruv ce7c13a65f release 3.51.1: bump train to 3.51.1
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:54:27 -04:00
ruv 25804a5cdd docs(readme): the /ruflo console tour replaces the plugins GIF
A 95 s recording of the ruflo console in a live Claude Code session: overview,
swarm topology with agents at work, agent drill-down, a confirmed claim, the
approvals queue, missions, events, timeline, learning, MetaHarness,
federation, plugins, memory, cost and the palette. Asset at
docs/assets/ruflo-console-tour.gif (729 KB).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:53:17 -04:00
rUv 551520d8bc Merge pull request #3624 from ruvnet/fix/mcp-configured-service-destinations-20261002
fix(mcp): pin service destinations to server configuration
2026-10-02 08:50:02 -07:00
ruv 0f29acc73d fix(ruflo-console): strip whole ANSI sequences from CLI text (agent logs showed [1m)
plain() removed the ESC byte but left the rest of each colour sequence, so the
drill-down's 'ruflo agent logs' tail read '[1mLogs for agent-…[0m'. Whole
CSI sequences now go first; the hostile-text tests assert the sequence is
gone, and still that no control or bidi character reaches the tree.

Tests: kit 50/50, specs 38/38.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:49:58 -04:00
ruv 55c2534943 fix(ruflo-console): tab bar fits a narrow dock; the line under it names the view
The dock's width is the engine's to choose (it keeps where the divider was
left), so the current tab spells its name only from 110 columns; below that
it is its key and icon, highlighted, and the line under the bar always leads
with the icon and view name. The swarm table drops the type column when no
agent has a name that differs from its type, and a busy agent's work-in-flight
dot is two dots wide in full amber so it reads at a glance.

Tests: kit 50/50, specs 37/37.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:42:37 -04:00
ruv dc4ec3f84a feat(ruflo-console): icon tab bar with a line saying what each view is for; clearer swarm and claims; live work-in-flight
Tabs: `1: Ovr◂ 2: Swm 3: Clm …` becomes an icon per view (one terminal cell,
no emoji) with the current tab's key, icon and name in the heading colour —
`1:⌂ 2:⁂ Swarm 3:⚑ 4:⇄ 5:◫ 6:✦ 7:⚙ 8:▤ 9:$ g:◷ q:✓ e:≋ m:⚐` — and one dim
line under the bar says what the current view is for (the drill-down says how
to go back).

Swarm: one label per agent (name, else type, with a short id only where two
read the same: `coder·i1a3`), the type column only when it differs from the
name, `#od014i` instead of the full id, and a one-line legend.

Animation stays data, never decoration (the graph's rule): while ruflo has an
agent busy, a dim amber dot keeps travelling from the leader down its edge and
the node (◉) breathes; idle agents are still. Test: a busy agent moves with no
event and stops when it goes idle; with every agent idle only the leader's
heartbeat moves before an event.

Claims lanes: a card leads with the task's title (from the task store, also
for claimed tasks), then `owner · #shortid`, clipped with an ellipsis; empty
lanes shrink to their title and the room goes to lanes that hold cards.

Tests: kit 50/50, specs 37/37, smoke 14/14, validate --strict clean.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:34:47 -04:00
rUv 9a60ff8080 Merge pull request #3623 from ruvnet/fix/pre-bash-block-exit-20261002
fix(hooks): use blocking exit status for pre-bash denials
2026-10-02 08:26:23 -07:00
ruv 6950b984ff chore(helpers): re-sign helper manifest for the exit-2 pre-bash handler
hook-handler.cjs changed, so its signed hash did too (helper-signing.test.ts
failed on the old hash). Re-signed with the ruflo-helpers-signing-key; all 5
helper hashes match; root and packaged hook-handler.cjs are identical.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:09:25 -04:00
ruv 39d73ea1eb fix(mcp): absent URL assertions use the configured base; loopback HTTP in operator config
Review follow-ups on the destination pinning:
- null and "" now mean "no assertion" (MCP clients commonly send null for
  optional fields) instead of throwing; the destination still comes only
  from server configuration, so this cannot widen anything.
- Operator configuration may name a plain-HTTP loopback service
  (localhost, 127.0.0.1, [::1]) for a local or self-hosted gateway/LLM.
  Public http:// and lookalike hosts (localhost.attacker.example,
  127.0.0.1.nip.io, 10.0.0.1) stay rejected. An argument must still equal
  the configured base exactly, so it can never select a loopback port the
  operator did not.
- Note: this supersedes ADR-125's "tool argument beats env var" precedence
  for RUFLO_X_GATEWAY_URL and SERAPHINA_METALLM_URL; arguments are now
  assertions only.

Tests: mcp-service-url-security 37/37 (new: absent overrides, loopback
config and port mismatch, lookalike hosts; 0/false/{} still rejected),
x-federation-tools passes; CLI build clean; env-var precedence audit ok.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 11:08:53 -04:00
ruv e96bf74023 feat(ruflo-console): a band that says what matters, in words
Before: `◆ ruflo · hierarchical 0/0 busy · 7466 patterns · → coder · $1010.66 console`
After:  `◆ ruflo · 2 to approve (q) · ⚠ 1 alert · swarm, no agents · $1,011 this session · routed → coder · +12 learned  open console`

- Leads with what needs a person: approvals waiting and warn/bad alerts,
  in the warning colour. Info alerts (a claim held for days) stay in the pane.
  A stale marketplace clone is one of those alerts, so it is no longer a
  separate word.
- The swarm in words: "3 agents idle", "1/3 agents busy", "swarm, no agents".
  Never "0/0 busy"; the topology name is config and lives in Swarm (2).
- Spend is labelled ("this session"), whole dollars above $100, and hidden
  until it reaches a cent.
- "routed → coder" names the router's last pick.
- Learning shows as growth since the console loaded ("+12 learned"), not a
  running total that never tells you anything new.
- Parts are ordered by importance, so a narrow band drops the least useful.
- The button says "open console" and only shows while the pane is closed.

Tests: band.spec.ts (5), kit behaviour test updated; console kit 50/50,
ruflo-mods and ruflo-swarm 0 fail, smoke 14/14, validate --strict clean.
Seen live in ~/projects/ruflo: `◆ ruflo · 1 agent idle · 26 claims · +1 learned`.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 10:54:44 -04:00
Dragan Spiridonov 68283ba7fc fix(mcp): pin service destinations to server configuration
Validate configured HTTPS bases and matching compatibility arguments before I/O, reject redirects, and retain operator-only destination selection for federation and Seraphina tools.

Prepared by Codex in Dragan’s authorized session.
2026-10-02 09:44:58 +02:00
Dragan Spiridonov f65928eeaf fix(hooks): use blocking exit status for pre-bash denials
Require Claude Code PreToolUse exit 2 across shipped and generated handlers, with regression checks for command shapes and mod ownership.

Prepared by Codex in Dragan’s authorized session.
2026-10-02 09:44:53 +02:00
rUv 9e4fd175b5 Merge pull request #3619 from ruvnet/release/3.51.0
release 3.51.0: the /ruflo console, mods in ruflo init, ADR-406 mission control
v3.51.0
2026-10-02 01:22:55 -04:00
ruv a13c7f5f90 release 3.51.0: regenerate witness manifests (linux, macos, windows)
117/117 verified on all three (every marker-cited dist built before regen),
drift 0, Ed25519 signature valid, no newly regressed fix in history.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 01:09:07 -04:00
ruv d582270956 release 3.51.0: re-sign helper manifest
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 00:56:10 -04:00
ruv 00d13f551c release 3.51.0: bump train to 3.51.0
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 00:55:34 -04:00
ruv f88e4106ce chore(dogfood): enable ruflo-mods, ruflo-swarm and ruflo-console in this repo
The ruflo repo's own .claude/settings.json now enables the three mod plugins
from the ruvnet/ruflo marketplace, plus CLAUDE_CODE_ENABLE_FUNCTION_HOOKS for
Claude Code 2.1.277-2.1.286. Same keys `ruflo mods install --scope project`
writes; formatting of the rest of the file left untouched.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 00:55:25 -04:00
rUv 97de39ed0b Merge pull request #3618 from ruvnet/feat/mods-console-required
feat(mods): ruflo-console is a required mod plugin; catalog lists /ruflo
2026-10-02 00:52:54 -04:00
ruv 6383a28267 feat(mods): ruflo-console is a required mod plugin; catalog lists /ruflo
#3614 shipped ruflo-console on main, so `ruflo init` and `ruflo mods install`
now install it like ruflo-mods and ruflo-swarm. A marketplace clone without
it is stale (a doctor failure with the exact repair), never "pending".

- MOD_PLUGINS: ruflo-console@ruflo required: true.
- `ruflo mods install` points at /ruflo (and /ruflo mods) instead of /ruflo-mods.
- ADR-406 catalog: the source scan now reads `$.command.registerCommand`, and
  the engine parser splits a `command=a|b` matcher into its names and treats
  `command=?` (a matcher chosen at run time) as naming nothing, deferring to
  the source scan for that plugin. Without this, regenerating after #3614
  either failed schema validation (`ruflo|ruflo-console`, `?`) or dropped the
  five /ruflo-swarm-* commands. Regenerated: 241 -> 243 entries (+/ruflo,
  +/ruflo-console), none removed; the console's catalog copy is synced.
- Tests and the e2e-mods-init script now expect ruflo-console installed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 00:33:07 -04:00
rUv af87a26657 Merge pull request #3614 from ruvnet/feat/ruflo-console-mod
feat(ruflo): one /ruflo command, auto-start cockpit, diagrams, palette and agentic management (+e2e)
2026-10-02 00:22:55 -04:00
ruv cc56d6470f test(ruflo-console): tool.list fixture uses the ruflo-core plugin MCP prefix (audit-plugin-mcp-prefix)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 00:09:03 -04:00
ruv e1723ef825 fix(ruflo-console): focus hint and Esc behaviour say what the engine does; catalog equality spec always runs
- ctrl+x tab focuses the band, not a pane: the footer and help no longer
  suggest it for the pane
- Esc: a pane /ruflo opened (focus, closeOnEscape) closes; one that opened by
  itself under panel=auto only hands the keys back, by design (an unasked dock
  should not vanish on a stray Esc at an empty prompt). Help says so
- main now ships catalog.generated.json, so the parity spec no longer skips

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 00:01:08 -04:00
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 4149a78815 fix(ruflo-console): dump waits at most 8 s for its probes; registration test is exact
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:53:27 -04:00
ruv 5f21711384 Merge remote-tracking branch 'origin/main' into feat/ruflo-console-mod 2026-10-01 23:52:25 -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 93974863e6 Merge pull request #3617 from ruvnet/feat/adr-406-mission-control
feat: ADR-406 command registry (P0/P1) and mission control runtime (M0/M1)
2026-10-01 23:37:56 -04:00
ruv be2fc099b9 fix(ruflo-console): the claims view picks the newest open task first
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:36:56 -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 0150757686 Merge origin/main into feat/ruflo-console-mod
Resolves plugins/ruflo-mods/README.md: main's install and dogfooding docs,
with /ruflo mods as the command and /ruflo-mods as its deprecated alias.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:21:57 -04:00
ruv 88cac6c758 fix(ruflo-console): with ruflo-mods or ruflo-swarm absent, /ruflo mods and /ruflo swarm <sub> show the hint
Found live: Claude Code answers a registered command no hook answered with its
own message, which the dispatcher passed through as if a plugin had answered.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 23:19:54 -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 48ec166d9b fix(missions): ADR-112 guidance in mission MCP tool descriptions
Each mission_* description now states when to use it and why the nearest
alternative (task_create, memory_store, task_status, polling mission_get,
task_cancel) is wrong. scripts/audit-tool-descriptions.mjs: 392/392 with
guidance, all gates pass.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:58:17 -04:00
rUv 1c78a51d42 Merge pull request #3612 from ruvnet/fix/mods-install-marketplace
feat(mods): default-on in ruflo init + install the plugins, fail doctor on a stale marketplace (ADR-404 amendment 1)
2026-10-01 22:44:03 -04:00
ruv 5913dd519b fix(mods): ADR-406 catalog classifies lower-case report workflows and anchors to inventoried files
`.*report.*` labelled the real workflow analysis:performance-report as
documentation. Loader-exposed docs are the all-caps basenames (README,
COMMAND_COMPLIANCE_REPORT); match those only. 226 shipped, 15 documentation.

The catalog's sourceCommit was the newest commit under any scanned root, so
an unrelated plugin commit made `catalog generate --check` stale. It is now
the newest commit touching a file the catalog actually inventories.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:39:15 -04:00
ruv 0483ac5517 feat(missions): ADR-406 M1 mission observation via CLI and MCP, e2e gate
`ruflo mission create|plan|get|events|action` and the mission_create,
mission_plan, mission_get, mission_events and mission_request_action MCP
tools are thin transports over the one MissionService and its zod schemas;
MCP calls are still authorized by the existing policy runtime in
mcp-client.ts. A bounded, sanitized .claude-flow/missions/observation.json
(contract ruflo.mission-observation/1, source-time observedAt) is rewritten
atomically after each committed event for the workbench to read.

scripts/e2e-adr-406.mjs runs the built CLI in throwaway HOME,
CLAUDE_CONFIG_DIR and project dirs: catalog current and verified, legacy
command files byte-unchanged, CLI create + MCP plan reading identical
records and events, revision conflict, honest admit refusal, SIGKILL of a
writer then restart, and the §18 fixture replay with mods off vs on
(permissions, policy mode and outcomes unchanged; uninstall restores).
RUFLO_E2E_LIVE=1 adds engine version and plugin validate (no model calls).

Mod hooks the engine confirms are recorded against their declaring source
file, so the catalog is identical with or without an engine. mission_*
tools are classified in the capability brain's tasks/workflows domain.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:34:58 -04:00
ruv 67206969b9 feat(mods): uninstall what ruflo installed, --source local (directory marketplace), exact disclosure
- mods uninstall runs `claude plugin uninstall <id> --scope <scope>` for
  exactly the plugins ruflo installed (absent before, enabled by ruflo;
  recorded as claudeInstalled in install.json), then removes exactly the
  settings keys it added. A plugin installed before is never uninstalled.
- mods install --source local [--marketplace-path <dir>]: declares the
  ruflo marketplace as a directory source (a ruflo checkout), adds it, and
  installs nothing, so the plugins load live from the working tree.
  Verified on 2.1.287 in an isolated config: loads with no install record,
  and an edit shows on the next run. Doctor reports the source type and
  warns when the project's declared source differs from the known one.
- The repair honours the marketplace the settings file declares.
- Init output, README and ADR state exactly what loads: ruflo-swarm's
  commands/skills/agents without function hooks, its host-command mod with
  them; the first trusted start clones github.com/ruvnet/ruflo; headless -p
  on a fresh config loads nothing; refuse-risky + modTrustAllow as opt-in
  hardening (modTrust stays observe). Claude Code's re-serialization of
  settings.json is reported, never fought.
- e2e: live load is `claude -p "/ruflo-mods"` behind RUFLO_E2E_LIVE=1 with
  CLAUDE_CODE_OAUTH_TOKEN or ANTHROPIC_API_KEY; no credential file copied,
  nothing printed; adds the --source local and uninstall scenarios.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:31:28 -04:00
ruv b3b6c3469d feat(missions): ADR-406 M0 mission contract and durable storage
Versioned mission schemas (§19.3 MissionRecord exactly, strict inputs with
bounded strings and integer monetary units), the §19.4 transition table as
data with guards (exact-plan authorization, atomic budget reservation
against the ceiling, lease epochs that fence stale executors, verified
evidence bound to plan/criteria/artifact, connectivity loss never counted as
failure), and a reducer that replays a hash-chained append-only log.

Store decision: reuse ruflo's existing authoritative-state pattern (project
files + per-file lock + atomic replace, as the policy ledger, claims and
leases do) rather than optional better-sqlite3 or in-memory sql.js. Events
are one fsynced line each; a torn final line is ignored and truncated by the
next locked writer; the snapshot is a cache that must agree with the log.
Exports the policy runtime's acquireLock (dead-owner detection by pid, pid
namespace and boot id) instead of copying it.

The shared MissionService derives principal/tenant/workspace from the local
context, deduplicates by request id (same input replays, different input is
refused), rejects stale revisions with the current one, and refuses
admit/resume until a durable executor exists. Tests: table exactness,
seeded property tests over random sequences, snapshot+tail == full replay,
torn-tail repair, chain tamper, concurrent create and plan races, and a
SIGKILL of a writer process mid-stream.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:28:18 -04:00
ruv b84cd3b777 feat(ruflo-console): auto-open only in a ruflo project, remember a person's close, every action argv tested
- autoOpen is gated on a ruflo project; Esc or the pane's mark persists
  isClosedByPerson so a dismissed cockpit stays shut next session
- tests/actions.test.ts: each confirm-gated palette action asks, runs nothing
  until yes, then exactly its fixed argv (13 actions)
- radar axis words, handoff arrows name the target agent, gantt now marker
- READMEs: /ruflo swarm and /ruflo mods, old names deprecated for one release;
  ruflo-swarm panel now defaults to command

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:26:03 -04:00
ruv b0976f3b1e feat(mods): ADR-406 P0 command inventory and P1 canonical registry
Inventory every Ruflo slash command across repository command dirs, the
packaged init templates, marketplace and source plugin command folders, and
mod command hooks observed by `claude plugin validate` (engine 2.1.287).
Records channel, package, digest, observed invocation, binding and shipped
packages (npm pack --dry-run). Loader-exposed READMEs and reports are
cataloged as documentation, not workflows.

P1: strict zod CommandDefinition per ADR-406 §6 (no unknown fields, size
caps, no dispatch for prompt workflows), duplicate id/name validator,
deterministic catalog (sorted, canonical JSON, per-file last commit, no
timestamp) with a sha256 sourceDigest consumers can recheck, and an
expected-hash write guard. Interim `ruflo catalog generate|verify|engine`
command until commands/mods.ts (PR #3612) can host it.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:19:15 -04:00
ruv 6fcd9f39d9 feat(ruflo-console): /ruflo dump <view>, and read plugin records from CLAUDE_CONFIG_DIR
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:19:08 -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 2546278c8c feat(mods): the init wizard enables the mods too (ADR-404 amendment 1)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:13:58 -04:00
ruv dcceb32585 feat(mods): default-on in ruflo init, init upgrade --mods, three mod plugins (ADR-404 amendment 1)
- ruflo init enables the mods by default (--no-mods opts out) in the
  committed .claude/settings.json: enabledPlugins for MOD_PLUGINS
  (ruflo-mods, ruflo-swarm, ruflo-console), extraKnownMarketplaces.ruflo and
  CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1, then refreshes the marketplace and
  `claude plugin install`s each plugin at project scope (--no-plugin-install
  skips; skipped under VITEST/CI; manual commands printed on failure).
- ruflo init upgrade --mods applies the same merge + install to an existing
  project; --add-missing and --settings imply it. Never clobbers: only absent
  keys are added (a plugin set to false stays false and is never installed,
  since `claude plugin install` would flip it), each addition is reported.
- MOD_PLUGINS is the one list; `required: false` marks a plugin not yet in
  the marketplace (ruflo-console): reported as pending, never a failure.
- Install record v2 per settings file; v1 (3.50.0) records are read; mods
  uninstall reverses exactly what was added in every file.
- Detection corrected from live evidence: an interactive trusted session
  loads plugins straight from the marketplace clone with no install record,
  so the clone decides. A stale clone (the field report, reproduced live:
  "Unknown command: /ruflo-mods") fails doctor; no clone yet is a warning.
- scripts/e2e-mods-init.sh: built CLI + real claude, isolated HOME and
  CLAUDE_CONFIG_DIR per scenario; E2E_LIVE=1 adds a live tmux session.
- ADR-404 Amendment 1, with where the "safe default" argument stops
  (ruflo-swarm's commands/skills load regardless; modTrust stays observe).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:05:16 -04:00