Commit Graph
8419 Commits
Author SHA1 Message Date
rUv a962c403e0 Merge pull request #3710 from ruvnet/loop/live-mods-b
fix(mods): guards in 13 plugins now read key names and every field; neural-trader gates the package's real order tools
2026-10-04 18:05:46 -07:00
rUv 669f852a7e Merge pull request #3708 from ruvnet/loop/live-mods-w4
fix(mods): guard defects found by live-checking 20 of the 39 mods (adr, ddd, federation, deepseek, browser, bbs, chatgpt, pods)
2026-10-04 18:05:16 -07:00
rUv 6d9f1b328a Merge pull request #3707 from ruvnet/loop/console-mods-section
feat(ruflo-console): a Mods section on the Room and a count on Overview — every mod's guard and blocks in one place (0.33.1)
2026-10-04 18:05:03 -07:00
rUv 369dac508b Merge pull request #3706 from ruvnet/loop/guard-tool-names
test(mods): CI check that every tool name a plugin guard watches exists in the registry
2026-10-04 18:04:52 -07:00
rUv 36c2e76ac6 Merge pull request #3709 from ruvnet/loop/metaharness-perf-gate
fix(ci): stop the recurring smoke-all failure — gate the MetaHarness perf bench on the median, not the mean
2026-10-04 18:04:41 -07: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 31d3e89620 Merge branch 'loop/live-mods-b' 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 b4957cca43 fix(ruflo-console): name a missing optional MetaHarness instead of 'no JSON' (ADR-150); mod MetaHarness validation report
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 20:03:03 -04:00
ruv f2190b38ad fix(mods): secret screen — a 20+ char value under a secret-named key is a secret even all-letter or UUID-shaped, unless a clear reference (ADR-445)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:57:17 -04:00
ruv 3fd850042f feat(ruflo-console): drive.sh — console-drive as a repo script with --expect assertions (0.33.1)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:56:21 -04:00
ruv f84ded2e91 docs(validation): ruvector report — real test runs, MCP schemas, pin-vs-npx split
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:53:58 -04:00
ruv 0b5eb1c109 fix(mods): secret screen judges values, not names — fewer false positives, vendor keys, URL credentials, env assignments, 200 KB scan (ADR-445)
One canonical region in ruflo-agentdb/hooks/screen.ts, regenerated into the 37 copies by sync-mod-screen.mjs. 'key assignment' is now decided by
the value (not a call/env/path/placeholder/UUID/name; two character classes; >=2.5 bits entropy). Adds stripe, npm, huggingface, sendgrid, twilio,
slack webhook and credentialed DB URL rules; bearer and DB URL placeholders are rejected. 40 new agentdb tests; 20 KB ReDoS probe 0.57 -> 0.68 ms.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:50:47 -04:00
ruv cb8c7cf16f docs(validation): ruvector 0.3.3 vs pinned ^0.2.27 compatibility report (no pin change)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:50:03 -04:00
ruv b39cf24273 bench(mods): per-event hook latency across the plugin mods; measured, no optimization justified
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:47: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 1b870ae91b chore(ruflo-metaharness): keep the perf bench's output when its smoke step fails
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:31:06 -04:00
ruv f367827c68 fix(ruflo-metaharness): gate the parseMcpScanText perf bench on the median, not the mean
The fleet smoke-all report pass failed on most CI runs at step 17z49 (mean > 5us on a loaded runner).
Under 64 busy loops: mean gate failed 6/12, p50 gate 0/12.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:23:08 -04:00
ruv 1d1394aa53 fix(mods): live-check W5 — guards read key names and every field; trader gates the package's real order tools
Found by driving each plugin's mod live (/SHORT-mod status ran for all 19; status.json parsed, version 1) and probing the guards.

- 13 guards (jujutsu, knowledge-graph, loop-workers, market-data, metaharness, rag-memory, ruvector, ruvllm, rvf, security-audit, sparc,
  workflows, x-gateway): textsOf dropped the key name, so {"api_key": "abcdef1234567890abcdef"} was never an assignment; and one long
  field (a 40 KB base64 blob) used the whole 20 KB budget so a key in the next field was never read. Strings now lead with their key and
  each is charged at most 20 KB of a 100 KB budget.
- neural-trader: the live-order gate matched execute_trade only; the package's execute_multi_asset_trade and place_prediction_order_tool
  went through unconfirmed. Paper/simulated tools stay ungated.
- tsconfig.json for knowledge-graph, loop-workers, market-data, metaharness (the host writes it on load; jujutsu already commits it).
- Patch bump for the 14 plugins; smoke step 1 pins updated.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:11:10 -04:00
ruv ddbe7453b9 fix(mods): live-check guard defects in 8 plugins (adr, ddd, federation, deepseek, browser, bbs, chatgpt, pods)
Live `/SHORT-mod status` ran clean on all 20 assigned plugins; probing the guards with realistic inputs found:
- adr: the guard never fired on the adr-create skill's own writes (hierarchical-store has no namespace field; causal-edge); now keyed on mem:ADR-NNN
- ddd: `domain-<context>` entries (the skill's key) were not screened
- federation: 1 in 10 epoch-ms timestamps passed Luhn and were refused as card numbers; cards must start 2-6
- deepseek-harness: the guard missed an installed copy (plugin-cache version directory)
- browser: `location.href ==` and `.src ==` read as sinks; document['cookie'] and a trailing-dot metadata host slipped through
- bbs-federation: 0, 0.0, 00.0.0.0, 0x0.0.0.0, ::0 and long IPv6 zeros bypassed the wildcard-bind refusal
- chatgpt-federation: payload cap counted UTF-16 units, not bytes
- business-pods: `.env[^/]*` refused a `.environments` directory

Each has a regression test that fails without the fix; plugins bumped one patch.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:06:03 -04:00
ruv 9d4b45de0f feat(ruflo-console): Mods section on the Room and a count on Overview (0.33.1)
A bounded reader for .claude-flow/*-mod/status.json (60 folders, 8 KB each, version-checked, unknown shapes refused) and a table of mod, guard, calls, blocked, last written, stale marker, blocked mods first.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:03:42 -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 12028c058a docs(adr): ADR-449 proposed — guidance learning loop on the mod system
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:02:26 -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 cd010ee76c Merge pull request #3705 from ruvnet/feat/console-room
feat(ruflo-console): The Room — a shared live feed for you, Claude and the swarm (ADR-448, 0.33.0)
2026-10-04 15:07:46 -07:00
ruv 981ec8e2ab feat(ruflo-console): The Room — one live feed of events, Claude's console actions and what you said (ADR-448, 0.33.0)
Pending banner with the 30 s window, a say box over the existing broadcast/aside/guide (each still
asks), source filter/find/pause/paging, who is here. Named-only page: every hotkey letter is taken.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 17:58:37 -04:00
rUv 7e1245312a Merge pull request #3704 from ruvnet/docs/adr-console-pulse-dashboard
ADR-448 The Room (proposed) + expired confirms leave an event (console 0.32.2)
2026-10-04 14:54:27 -07:00
ruv 860ede0bc7 fix(ruflo-console): an expired confirm leaves an event in the feed (ADR-448 §3.2, 0.32.2); ADR review corrections
say() does write state.outcome (one slot, overwritten); the guidance-offer clobber was #3699.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 17:44:02 -04:00
ruv a6af2c09ac docs(adr): ADR-448 — The Room, a shared console feed for humans and agents
Proposes a new ruflo-console page that merges the Events feed, the
Claude-control action log, and the existing broadcast/mission-aside/
mission-guide write actions into one place to watch and talk to the
swarm. Grounded in a live trace of the console's single-slot pending
confirm (runner.ts): two independent ways a confirm silently
disappears today (no queue, and a >30s-late "yes" is dropped with no
trace) were found while testing the four model tools end to end, and
fixing the second (emit a ConsoleEvent on expiry) is included as the
one behavioral change this ADR makes beyond adding the page.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 17:24:21 -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 bbb8b8b735 Merge pull request #3702 from ruvnet/feat/3701-native-guidance-observations
feat(mods): compile committed guidance and review native observations
2026-10-04 14:04:00 -07:00
rUv 5abc3f895d docs(adr447): record immutable-source and CI verification evidence 2026-10-04 13:48:16 -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 2747833e7d docs(mods): record ADR-447 ruOS verification evidence
Record measured source and native contracts separately from rollout gates and unmeasured task quality.
2026-10-04 13:24:57 -07:00
rUv 745503c3e5 fix(mods): constrain observation identifiers to compiler rule IDs
Prevent credential-shaped arbitrary identifiers from entering the metadata queue.
2026-10-04 13:22:30 -07:00
rUv 9161994613 test(mods): verify configured native guidance and provenance recovery
Add reproducible legacy engine fixture, typed candidate records, corrupt queue recovery, and displayed version attribution.
2026-10-04 13:19:09 -07:00
rUv 22b6447a92 test(mods): use native test plugin block registration 2026-10-04 13:15:30 -07:00
rUv e999b0625c fix(mods): compose guidance inside native event handlers
Respect one handler per event, preserve defaults, and exercise real CLI command handlers.
2026-10-04 13:14:20 -07:00
rUv b6731e4234 feat(mods): add versioned advisory guidance and observation review
Refs #3701; ADR-447. Candidate observations never train or promote.
2026-10-04 13:11:03 -07:00
rUv 8ce24908c5 Merge pull request #3700 from ruvnet/feat/plugins-as-mods
feat: every hook-less ruflo plugin gets a mod — guard, status file, /…-mod command (ADR-446)
2026-10-04 12:47:47 -07:00
rUv d2414d2864 Merge pull request #3699 from ruvnet/fix/console-pending-not-displaced
fix(ruflo-console): background guidance offer no longer displaces a pending confirm (0.32.1)
2026-10-04 12:47:44 -07:00
ruv 5b07e5681a docs(adr): ADR-446 plugins as mods
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:38:54 -04:00
ruv b84d53049d Merge branch 'mods/batch-07' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00
ruv b583702095 Merge branch 'mods/batch-06' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00
ruv e2df674c2a Merge branch 'mods/batch-05' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00
ruv b59ddab6b4 Merge branch 'mods/batch-04' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00