Commit Graph
742 Commits
Author SHA1 Message Date
rUv 9acf1c7067 Merge pull request #3717 from ruvnet/loop/sec-console
security(ruflo-console): at level 'write' Claude could run a shell command through the console — fixed; classOf hardened; ADR-450 threat model (0.33.3)
2026-10-04 19:18:18 -07:00
rUv 87b8a9d7d5 Merge pull request #3716 from ruvnet/loop/research-roadmap
ADR-451 mod capability roadmap + API coverage table; prototype: ruflo-mods toolHints via tool.describe (default off, 0.3.0)
2026-10-04 19:08:37 -07:00
rUv 6e6bb70253 Merge pull request #3718 from ruvnet/loop/console-timing-tests
chore(ci): console smoke step 14 keeps the failing vitest lines (it failed in CI on a branch that never touched the console)
2026-10-04 19:08:22 -07:00
rUv 349a93052c Merge pull request #3715 from ruvnet/loop/screen-quality
fix(mods): the shared secret screen judges values, not names — fewer false positives, vendor keys, URL credentials, env assignments, 200 KB scan (ADR-445)
2026-10-04 19:02:27 -07:00
ruv a0ef670ed9 test(ruflo-mods): allow-comment the deliberate standalone-prefix tool name in describe.test.ts (fleet MCP namespace audit)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:51:20 -04:00
ruv 0179f98f15 chore(ruflo-console): keep the failing specs' lines when smoke step 14 fails (it failed in CI on a branch that did not touch the console, with nothing to read)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:46:56 -04:00
ruv 7725b867fd security(ruflo-console): a shell command is a 'full'-level action, class detection no longer a weak denylist; ANSI/OSC/hidden-text stripping; ADR-450 threat model (0.33.3)
Live proof on main: at level write + auto-confirm, console_run dt-term-exec ran a shell command.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:42:28 -04:00
ruv 549f66b0dc chore(ruflo-mods): 0.3.0 (toolHints option)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:38:27 -04:00
ruv 6eea49d3dc Merge remote-tracking branch 'origin/main' into loop/research-roadmap 2026-10-04 21:38:05 -04:00
rUv b4ba5a6c2b Merge pull request #3713 from ruvnet/loop/console-remembered-bypass
fix(ruflo-console): a remembered 'always allow' no longer lets Claude skip the control level (0.33.2) — found by the capability review
2026-10-04 18:37:28 -07:00
ruv bbe5989e3c Merge remote-tracking branch 'origin/main' into loop/screen-quality 2026-10-04 21:35:52 -04:00
rUv e33f464a49 Merge pull request #3711 from ruvnet/loop/screen-vendor
refactor(mods): one source for the secret screen — sync script regenerates 37 copies, drift check in CI (ADR-445)
2026-10-04 18:29:44 -07:00
ruv 7aeead82cb fix(ruflo-console): a person's always-allow answer is no longer Claude's pass around the control level (0.33.2)
console_run -> runById -> ask() ran a remembered kind at once with no pending action, and callTool
only applies the level / confirm rules to a pending one. Found by the capability review (R1) by
reading runner.ts:135-141 and model-tools.ts:285-291; reproduced and fixed here.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:25:11 -04:00
ruv a6486f371f feat(ruflo-mods): toolHints option hooks tool.describe (default off); ADR-451 mod capability roadmap and API coverage table
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:24:14 -04:00
ruv 6dbf8aae48 fix(ci): MetaHarness parse bench ceiling 30us on the median — the CI runner's p50 is 6us for the 5-finding payload
The 5us ceiling failed smoke-all on speed alone (artifact: rich p50 6.051us, mean 6.93us).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 21:21:45 -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 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 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 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 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 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 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 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 668f99dc33 fix: address Ruflo mod and console beta feedback (#3698) 2026-10-04 13:25:23 -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 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
ruv 520231b08a Merge branch 'mods/batch-03' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00
ruv 94d060fe13 Merge branch 'mods/batch-02' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00
ruv 8332e10ba8 Merge branch 'mods/batch-01' into feat/plugins-as-mods 2026-10-04 15:37:55 -04:00
ruv cf7ff2b6e6 chore(ruflo-jujutsu): tsconfig for the mod
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:37:54 -04:00
ruv 1718b8d0d0 feat(ruflo-rvf): function-hook mod (ADR-445)
Local /<short>-mod command, status file, tighten-only secret guard where the plugin has write tools, tests, smoke steps M1-M3, README section.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:35:35 -04:00
ruv 9fbfcf9e2e feat(ruflo-ruvllm): function-hook mod (ADR-445)
Local /<short>-mod command, status file, tighten-only secret guard where the plugin has write tools, tests, smoke steps M1-M3, README section.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:35:35 -04:00
ruv 343215a5d8 feat(ruflo-ruvector): function-hook mod (ADR-445)
Local /<short>-mod command, status file, tighten-only secret guard where the plugin has write tools, tests, smoke steps M1-M3, README section.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:35:35 -04:00
ruv 35cb4fd596 feat(ruflo-rag-memory): function-hook mod (ADR-445)
Local /<short>-mod command, status file, tighten-only secret guard where the plugin has write tools, tests, smoke steps M1-M3, README section.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:35:35 -04:00