Commit Graph
761 Commits
Author SHA1 Message Date
ruv ebe2f82146 ruflo-mods 0.3.2: live validation of toolHints/agentTrim/status, correct the agentTrim option text
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-05 00:25:30 -04:00
rUv 5604c6d0d7 Merge pull request #3729 from ruvnet/loop/adr451-top
feat(ruflo-mods): agentTrim hides unused agent types (ADR-451 item 2, 0.3.1)
2026-10-04 20:50:32 -07:00
rUv 063381434b Merge pull request #3728 from ruvnet/loop/cap-r1
fix(ruflo-agentdb): guard reads name/value pairs, refuses oversize input (0.4.2)
2026-10-04 20:50:20 -07:00
ruv 3a4ddbbd96 fix(ruflo-agentdb): guard reads name/value pairs and refuses inputs past the screen budgets (0.4.2)
Review item 1: a { key: 'api_key', value } or ['token', value] write held the name and the value in two strings, so the
key-assignment rule never saw them together; inputs past the walker's node or character budget were silently half read.
Pairs are now joined as name=value, and an oversize input is refused instead of passed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 23:29:48 -04:00
ruv 33a60c715f feat(ruflo-mods): agentTrim option hooks agent.offer (default off), ADR-451 item 2; 0.3.1
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 23:28:44 -04:00
ruv 336eeeb84c Merge remote-tracking branch 'origin/main' into loop/t6-guards 2026-10-04 23:14:36 -04:00
rUv dd6d201246 Merge pull request #3724 from ruvnet/loop/live-recall
fix(ruflo-agentdb): live-verified recall (0.4.1) + live harness and report
2026-10-04 20:08:36 -07:00
ruv d973e2f930 feat(mods): guard secret-bearing MCP tools named in ADR-450 T6
browser_fill/type/session_record (browser), x_federation_invite_mint
(x-gateway, federation), memory_import/session_import/config_import (rvf,
rag-memory) now go through the shared secret screen. Patch bumps + tests.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:59:53 -04:00
ruv fd3fade675 Merge origin/main into loop/live-recall
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:50:32 -04:00
ruv 86f4032195 fix(ruflo-agentdb): live-verified recall (0.4.1) + live harness and validation report
Run against a real initialised AgentDB with real MCP servers and headless haiku
(v3/docs/validation/agentdb-recall-live-2026-10.md, scripts/live-agentdb-recall.sh).

Defects found by the live run and fixed:
- status.json only flushed on attach/block: skipped, timed-out, cached and error
  counters were invisible; add lastReader and lastError
- a permission-refused or failing reader call was swallowed and read as "nothing
  relevant"; now counted in errors/lastError
- memory_search (the only semantic reader) was never used; it is now the first
  reader, whole prompt only, and its 60-character value cut is completed with
  memory_retrieve before the screen and the frame
- ruvector scores arrive as strings and are noise (-0.10..0.10); read numeric
  strings and skip results scoring under 0.25
- an all-unsafe answer ended the search, hiding a clean memory behind a poisoned
  one; the walk continues and dropped counts each note once
- readers were cached even when none was connected
- add directed-at-the-assistant phrasing rules (plugin-local): haiku followed 6 of
  10 injected directives that passed the shared screen, whatever the frame said

41 plugin tests (was 26), smoke 19/19, claude plugin validate passes.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:48:04 -04:00
ruv a215b3d560 chore(console): resync shared secret screen after guard-hardening merge
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:44:29 -04:00
ruv 9832920142 Merge remote-tracking branch 'origin/main' into loop/autopilot-limits 2026-10-04 22:44:02 -04:00
rUv 28451d83c5 Merge pull request #3719 from ruvnet/loop/guard-hardening
fix(mods): harden every plugin guard at the root — one iterative textsOf; fleet probe holes 749 → 0 (depth, size, sibling caps, object keys, invisible characters)
2026-10-04 19:38:04 -07:00
ruv e1eb2d90a7 chore(ruflo-console): resync the console's screen.ts copy with the canonical shared block (main moved in #3715)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:21:06 -04:00
ruv 37fe248ac3 Merge remote-tracking branch 'origin/main' into loop/autopilot-limits 2026-10-04 22:18:27 -04:00
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 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 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 6b3eefed57 security(ruflo-console): auto-confirm never answers network/spend/delete, secret screen on text Claude passes, env override can only lower control (0.33.4; ADR-450 T8, T12)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:03:36 -04: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 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 31d3e89620 Merge branch 'loop/live-mods-b' into loop/guard-hardening 2026-10-04 20:39:26 -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 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