Commit Graph
289 Commits
Author SHA1 Message Date
rUv a4b990e88f Merge pull request #3721 from ruvnet/loop/adr-index
docs(adr): mod-system ADR index (404, 406–451), status/date/cross-link corrections, and an ADR link + duplicate-number check
2026-10-04 19:44:32 -07:00
ruv ebf229a12b Merge remote-tracking branch 'origin/main' into loop/adr-index 2026-10-04 22:21:39 -04:00
ruv b545645d41 Merge remote-tracking branch 'origin/main' into loop/guard-hardening
# Conflicts:
#	scripts/probe-mod-guards.known-holes.json
2026-10-04 22:11:05 -04:00
ruv a959998417 docs(adr): mod-system ADR index, status/date/cross-link corrections, ADR link check
Index of ADRs 404-451 with status, builds-on, PR and tests. Corrects ADR-404/444/447
statuses that contradicted shipped code, 444-446 dates (committed 2026-10-04), stale
follow-ups in 446/448, adds superseded-in-part back-links (422, 424, 430 amendments)
and scripts/check-adr-links.mjs (+node:test) for broken links and duplicate numbers.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:03:45 -04:00
ruv e117918a6f test(mods): regenerate the guard-probe baseline and report against main (key-name / budget fixes landed in #3708/#3710)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:34:29 -04:00
ruv 41358126ab Merge remote-tracking branch 'origin/main' into loop/guard-probe 2026-10-04 21:29:59 -04:00
ruv b1a6243a86 Merge remote-tracking branch 'origin/main' into loop/screen-vendor
# Conflicts:
#	.github/workflows/all-plugins-smoke.yml
2026-10-04 21:06:45 -04:00
ruv 53de5bb936 fix(mods): one iterative textsOf in the shared screen — depth, sibling, size caps, object keys and the invisible-character set fixed at the root (ADR-445)
Replaces 37 copy-pasted recursive walkers with a shared breadth-first one (keys as key=value, overlapping windows for long strings, node and char budgets) and widens INVISIBLE (soft hyphen, bidi isolates, Mongolian separator, more). Probe holes 788 -> 0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 20:51:39 -04:00
ruv cb889f86df Merge branch 'loop/guard-probe' into loop/guard-hardening 2026-10-04 20:39:26 -04:00
ruv 5d8ab06dc4 test(mods): guard probe timing is a hang gate (median of 3 > 1000 ms), 50 ms/50x advisory; bare --known-holes; wider watchdog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 20:34:20 -04:00
ruv bf84712833 test(mods): probe gate fails on lost calibration; --report splices below the marker
A baselined guard that stops refusing anything is now a failure, not 26 fixes;
fixed holes need an actual pass. --report preserves hand-written text above the
generated marker. Two tests added; report regenerated.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:40:23 -04:00
ruv 7de1657db8 test(mods): fleet adversarial probe for every plugin guard (W6)
scripts/probe-mod-guards.mjs bundles each hooks/guard.ts with esbuild and runs a
97-probe corpus through its verdict: invisible/bidi splits, nesting to 5000,
wide/huge inputs, secrets in object keys, encodings, regex-DoS stress timed per
call (50 ms gate), benign look-alikes. Calibrates each guard's real secret
surface first so a miss is a real bypass. A fast subset runs last in
smoke-all-plugins against a known-holes baseline. Findings (4 root causes across
32 guards, no ReDoS/crash/hang) are in v3/docs/validation/mod-guard-probe-2026-10.md.
No plugin code changed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:35:38 -04:00
ruv 71bf281bf0 refactor(mods): one source for the secret screen — sync-mod-screen.mjs regenerates the shared region of 37 screen.ts copies, --check in all-plugins-smoke (ADR-445)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:03:37 -04:00
ruv 00eed549d4 test(mods): check that every tool name a plugin guard watches exists in the registry
Adds scripts/check-guard-tool-names.mjs, an allowlist for tools other servers
serve, node:test tests, and a step in the all-plugins-smoke workflow. Fails
loud when nothing is extracted or the registry is empty.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:02:02 -04:00
rUv 090c88cf2a Merge pull request #3703 from ruvnet/fix/3698-plugin-beta-feedback
fix: address Ruflo mod and console beta feedback
2026-10-04 14:06:12 -07:00
rUv 1b62011183 fix(guidance): close source identity, offline export and serialization edge cases 2026-10-04 13:43:46 -07:00
rUv 2207f8779a feat(guidance): bind mod exports to Git blobs and explain review signals 2026-10-04 13:38:29 -07:00
rUv 668f99dc33 fix: address Ruflo mod and console beta feedback (#3698) 2026-10-04 13:25:23 -07:00
ruv d9a6258895 chore: bump ruflo-console 0.28.0, ruflo-goals 0.3.0, ruflo-mods 0.1.1; baseline research.test.ts
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 00:28:33 -04:00
ruv 1156cb6b82 feat(ruflo-console): 0.25.0 — a compact nav: groups, one group's pages and a search, ADR-424
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 14:42:14 -04:00
ruv 9716a2e483 feat(ruflo-console): 0.24.0 — Start here steps on pages with an order, ADR-423
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 11:42:25 -04:00
ruv 2d39675494 Merge branch 'feat/console-watch' into feat/console-learning
# Conflicts:
#	plugins/ruflo-console/.claude-plugin/plugin.json
#	plugins/ruflo-console/hooks/bindings.ts
#	plugins/ruflo-console/hooks/views/common.ts
#	plugins/ruflo-console/scripts/smoke.sh
#	scripts/ci-test-baseline.txt
2026-10-03 02:09:29 -04:00
ruv 5346b8df27 Merge branch 'feat/console-optimizer' into feat/console-learning
# Conflicts:
#	plugins/ruflo-console/.claude-plugin/plugin.json
#	plugins/ruflo-console/hooks/bindings.ts
#	plugins/ruflo-console/hooks/views/common.ts
#	plugins/ruflo-console/scripts/smoke.sh
#	v3/docs/adr/ADR-408-ruflo-console-mission-control.md
2026-10-03 02:08:19 -04:00
ruv 881067bc01 feat(ruflo-console): 0.16.0 — Learning page: animated pulse, folded settings and configuration, self-learning actions (pretrain, consolidate, pattern store)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 02:07:52 -04:00
ruv 20d280148b feat(ruflo-console): 0.18.0 — Timeline look-back and who was busy; Events kind chips, find, pause, paging and detail
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 02:02:56 -04:00
ruv ba8a84212c feat(ruflo-console): 0.17.0 — ruflo Optimizer: findings with confirm-gated fixes, scope, before/after, on the Overview
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 01:36:29 -04:00
ruv b3d8e88cb2 feat(ruflo-console): 0.15.0 — Loop Manager: 16 presets from practical to exotic, a configurator, a launcher into the Claude UI
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 01:06:19 -04:00
ruv 589ccadc19 feat(ruflo-console): 0.14.1 — confirms and answers open under the element that was clicked, on every page; clearer confirm indicator
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-03 00:50:10 -04:00
ruv bc578a5fdd feat(ruflo-console): 0.13.0 — Ask Claude on every section, per-view regression matrix, no-spend live smoke
Every section's footer gets an Ask Claude button (the view's text as quoted data, secrets scrubbed, asks first, fills the box mid-turn, /btw aside, fitting plugin command); /ruflo ask <question>. tests/matrix.test.ts mounts all 27 views at two widths and asks through the bridge; scripts/e2e-smoke.sh opens every view in a real Claude Code with no AI turn. ADR-408 s10.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 23:53:22 -04:00
ruv 4aa8e5ca43 feat(ruflo-console): 0.11.0 — Mission Control: lifecycle planner, claude -p guidance, inline confirms, menu strip, hotkeys for every view
A goal becomes a plan over one lifecycle (Research, Create with ADRs and SOP, Build, Test, Validate, Secure, Benchmark, Learn), then a governed mission and ruflo tasks that the primary Claude session carries out one at a time. After a goal is entered, claude -p (plan mode, read-only, budgeted; asks first unless always accept) writes guidance by stage with the ruflo capabilities to bring in. Confirms sit under the field that raised them, fields can be edited again, Mission Control leads the main menu, the band shows the active mission, Missions is key 1 and every view has a hotkey. ADR-408.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 23:02:46 -04:00
ruv bf1b5550ed feat(ruflo-console): 0.10.0 — Settings with search, AI terminal (claude default, auto-ask, always accept, scrollbar), remembered actions, NAV styles, Hive ACT menu, collapsible sections
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 22:18:56 -04:00
ruv ed47d37556 feat(ruflo-console): 0.9.0 — Plugin Catalog (every ruflo plugin, mod and skill), button sweep, tour GIF
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 20:46:14 -04:00
ruv eebd30db3b Merge branch 'feat/console-integrate' into feat/console-starts
# Conflicts:
#	plugins/ruflo-console/hooks/bindings.ts
#	plugins/ruflo-console/hooks/palette.ts
#	plugins/ruflo-console/hooks/runner.ts
#	plugins/ruflo-console/hooks/state.ts
#	plugins/ruflo-console/hooks/views/common.ts
#	plugins/ruflo-console/hooks/views/pane.ts
#	plugins/ruflo-console/tests/views.test.ts
2026-10-02 18:21:57 -04:00
ruv 089d2d6fba Merge branch 'feat/console-evolve' into feat/console-starts
# Conflicts:
#	plugins/ruflo-console/hooks/actions.ts
#	plugins/ruflo-console/hooks/bindings.ts
#	plugins/ruflo-console/hooks/palette.ts
#	plugins/ruflo-console/hooks/runner.ts
#	plugins/ruflo-console/hooks/state.ts
#	plugins/ruflo-console/hooks/views/common.ts
#	plugins/ruflo-console/hooks/views/pane.ts
#	plugins/ruflo-console/tests/views.test.ts
2026-10-02 18:15:09 -04:00
ruv 3e2b2def51 Merge branch 'feat/console-vector' into feat/console-starts
# Conflicts:
#	plugins/ruflo-console/hooks/actions.ts
#	plugins/ruflo-console/hooks/bindings.ts
#	plugins/ruflo-console/hooks/palette.ts
#	plugins/ruflo-console/hooks/runner.ts
#	plugins/ruflo-console/hooks/state.ts
#	plugins/ruflo-console/hooks/views/common.ts
#	plugins/ruflo-console/hooks/views/pane.ts
#	plugins/ruflo-console/tests/views.test.ts
2026-10-02 18:13:17 -04:00
ruv 1251fc3ffc Merge branch 'feat/console-skillsplus' into feat/console-starts
# Conflicts:
#	plugins/ruflo-console/hooks/bindings.ts
#	plugins/ruflo-console/hooks/dispatch.ts
#	plugins/ruflo-console/hooks/palette.ts
#	plugins/ruflo-console/hooks/state.ts
#	plugins/ruflo-console/hooks/views/common.ts
#	plugins/ruflo-console/tests/views.test.ts
2026-10-02 18:07:52 -04:00
ruv 4394677afc Merge branch 'feat/console-memory' into feat/console-starts
# Conflicts:
#	plugins/ruflo-console/hooks/actions.ts
#	plugins/ruflo-console/hooks/palette.ts
#	plugins/ruflo-console/hooks/runner.ts
#	plugins/ruflo-console/hooks/state.ts
2026-10-02 18:03:48 -04:00
ruv 49452e2eb1 feat(ruflo-console): the x.ruv.io board runs every federation capability itself
The board was a menu that typed `ruflo federation …` into the terminal. Each
capability is now a row with its own button or field, run as one fixed argv
through `mcp exec -t x_federation_*`:

- identity: whether ~/.ruflo/nostr.key exists (never read), the pubkey a
  result names, join with an optional invite code (masked on the confirm row
  and in answers), the agentbbs node identity; unregister is shown as not
  offered, since the gateway has no leave endpoint
- live: registry, roster, work-claims board and the last 20 swarm messages,
  kept live with federationNetwork, else fetched once per click
- channels: list, read, publish as yourself, create, grant, accept
- admin (gateway identity): hub publish and admit ask first and need
  RUFLO_X_ADMIN_TOKEN, of which only "is it set" is kept; invites are minted
  in the terminal, never by the board, since the code is a bearer secret
- a result panel that j/k scroll, and every action as an x-* palette entry,
  so `/ruflo run x-roster` works headless

Reads run at once; joins, publishes, grants, creates and accepts ask first and
say what they send. Channel reads ask until a Nostr key exists, because the CLI
makes one on first use. Claims and sync are two new network probes gated by the
same option.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-02 17:49:44 -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
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 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 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
ruv d3a3979ae6 Merge origin/main into feat/ruflo-ruos
Resolves .claude-plugin/marketplace.json and scripts/ci-test-baseline.txt
after #3608/#3607 merged: both sides appended entries, so the resolution
keeps both (ruflo-mods + ruflo-ruos marketplace entries; all baseline blocks).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 19:29:44 -04:00
rUv fbaeca0695 Merge pull request #3607 from ruvnet/feat/claude-code-mods-swarm-ui
feat(ruflo-swarm): live swarm pane mod for Claude Code (function hooks)
2026-10-01 19:28:45 -04:00
ruv 969dcb2125 fix(mods): CI — keep metaharness last in doctor help; RUFLO_MODS_OWNS escape hatch; self-contained plugin tsconfigs
- doctor --component help lists 'mods' before 'metaharness': the
  ruflo-metaharness smoke step 17h greps 'metaharness)' (smoke-all,
  smoke-without-metaharness).
- audit-env-var-precedence: RUFLO_MODS_OWNS is the ADR-404 handshake set
  by the running mod, read by hook scripts with no CLI-flag surface
  (Plugin package install-safety job).
- plugins/ruflo-mods and the mod template tsconfigs no longer extend the
  gitignored .claude-plugin/types/tsconfig.json: vite/esbuild loads the
  nearest tsconfig for every transformed module, so in CI (types absent)
  root vitest failed to transform the six mods suites that import plugin
  code (TSCONFIG_ERROR: Tsconfig not found). typeRoots points at the
  generated folder instead; tsc still checks against it where present.

Verified: ruflo-metaharness smoke 125/125; env-var audit clean; root vitest
on the mods suites 99/99 with the generated types moved aside (as in CI);
tsc clean for mod and template; kit 16/16 + 1/1; validate passes.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 19:01:00 -04:00
ruv c957086f3b feat(ruflo-ruos): mod part — ruos status segment via $.ruflo.segment
ruflo-mods landed the flat segment API (#3608, ADR-404). The ruflo-ruos mod
reads only .claude-flow/ruos/hosts.json and sets $.ruflo.segment({id:'ruos',
text}) on session start, each prompt and every 15 s; try/catch, no feature
detection, no network, no $.ruos dependency. Vendored $.ruflo type with a
parity test; claude plugin validate + 3 claude plugin tests pass; smoke runs
them when the claude CLI is present. CI baseline lists the two new test files.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:13:29 -04:00
ruv 707977d2bc feat(plugin-creator): scaffold governed Claude Code mods (create-mod + templates/mod, ADR-404)
A working template mod, validated and kit-tested on Claude Code 2.1.287 and
live-loaded with --plugin-dir: hybrid hooks.json (classic UserPromptSubmit
fallback that exits while the module runs, via MY_MOD_ACTIVE), a host
adapter over literal $ calls, refusal-tolerant status drawing, a namespaced
command, userConfig, engine-kit tests and a tsconfig extending the
generated types. create-mod skill carries the rules (tighten-only
tool.check, no process/http from event input, state in $.store/$.state,
namespaced commands) and the validate/test/typecheck loop.

ruflo-plugin-creator 0.2.1 -> 0.3.0 (smoke sentinel + step 11).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:13:02 -04:00
ruv 8a1e11f3bd feat(mods): $.ruflo noun, status segments, mod trust gate, refusal-tolerant $ (ADR-404)
- engine.create adds a flat $.ruflo noun (types/index.d.ts, plugin.json
  "types"): segment({id,text}), lastRoute(), snapshot(). Other mods (ruOS,
  ruflo-ruos) contribute status segments instead of drawing a second bar.
  Segments are untrusted: id token, control/bidi stripped, 48 chars, max 8,
  sorted by id. One drawer for the status line, from the $ beneath.
- plugin.register trust gate: names what a later-registering user-tier mod
  can do (process.run, http.fetch, env.set; tool.check, tool.call, *,
  classic.*, plugin.register, prompt.compose), from the host scan.
  userConfig modTrust: observe (default) | refuse-risky | off, plus
  modTrustAllow. Under refuse-risky a gate failure refuses.
- every ui.status/log/toast call tolerates refusal (admins can withhold $)
- tsconfig extends the types Claude Code >= 2.1.287 writes on load
- kit tests: 15/15 on Claude Code 2.1.287, incl. two tighten-only tool.check
  mods composing, trust refusal at load, budget ladder with options
- vitest: 95/95 (noun/segment and trust suites added)
- CI ratchet baseline: the four engine-kit files (claude-code/testing is not
  resolvable by root vitest), as #3605/#3607 do

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:09:25 -04:00