Commit Graph
1347 Commits
Author SHA1 Message Date
randRuFlo 0e9902f396 feat(ruflo-intelligence): document neural wsp ruv-FANN tooling (0.6.0)
/neural wsp, intelligence-specialist rows, and an intelligence-route step
that runs neural wsp check after the centroid artifact is replaced.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-12 15:58:34 -05:00
randRuFlo 8fff84a767 test(mods): judge none label renders as no specialist (ADR-530)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-11 17:15:59 -05:00
randRuFlo c05eb65398 fix(mods): judge keeps the vendored route contract; real-binary contract; ADR-530 wording
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-11 17:13:03 -05:00
randRuFlo 1acb1fc98f feat(mods): opt-in model-judge routing (routeJudge, ADR-530)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-11 17:02:27 -05:00
randRuFlo de924cdc91 chore(ruflo-metaharness): 0.5.2 for the darwin ~0.14.0 helper pin
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 22:54:58 -05:00
randRuFlo b9b053e29a deps(cli): @metaharness/darwin ~0.14.0 (#4952)
0.14.0 adds an opt-in numeric surrogate (ruv-fann as an optional peer).
Without the surrogate config, evolveNumeric behaves as in 0.13.1, and
exports are unchanged. Moves the CLI range, the plugin's
DARWIN_PIN_VERSION and MH_DARWIN_PIN together. v3/pnpm-lock.yaml gains
a darwin@0.14.0 entry; 0.13.0 stays for metaharness, ruvector and
ruvllm-gpu-loop, which still declare ^0.13.0.

Fixes #4952

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 22:48:24 -05:00
rUv 0ef9f2de0b Merge pull request #4949 from ruvnet/test/4930-darwin-parity-diagnostics
test(metaharness): diagnose bench parity flake, fix 404-in-digest degraded misclassification (#4930)
2026-11-10 17:16:00 -05:00
rUv 4ff25300c8 Merge pull request #4946 from ruvnet/fix/4885-witness-unbuilt
fix(witness): report unbuilt checkouts as not-built without masking real failures (#4885)
2026-11-10 17:15:14 -05:00
randRuFlo de84eef06d docs(ruflo-graph-intelligence): changelog entry for 0.3.1
The console's ADR-478 check parses a plugin's changelog once its version is
stable semver; every heading here was a prerelease, so the file didn't parse.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 16:02:48 -05:00
randRuFlo 871f2ff35b test(ruflo-metaharness): smoke accepts any plugin version from 0.5.0 up
The exact-match check broke on every ruflo-metaharness version bump.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 14:57:47 -05:00
randRuFlo 5ee6a349a3 test(ruflo-core): smoke accepts any plugin version from 0.2.15 up
The exact-match check broke on every ruflo-core version bump.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 14:48:17 -05:00
randRuFlo 8421e87322 chore(release): 3.75.3
@claude-flow/cli, claude-flow and ruflo 3.75.3. Carries #4905 (shared 3.0.8,
zod 4), #4947 (memory 3.3.1 pin), #4943, #4935, #4934, #4936 and #4938.
ruflo-graph-intelligence plugin 0.3.1 (the version audit ignores prerelease
tags, so 0.3.0 did not count as a raise over 0.3.0-alpha.1).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 14:09:19 -05:00
randRuFlo b05b7a640d chore(ruflo-graph-intelligence): bump plugin to 0.3.0
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 14:07:33 -05:00
randRuFlo 20ef743935 chore(ruflo-metaharness): bump plugin to 0.5.1
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 14:07:30 -05:00
randRuFlo f6bdc4e9aa chore(ruflo-core): bump plugin to 0.2.16
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 14:07:27 -05:00
randRuFlo 0383c7e7b6 fix(metaharness): do not classify a "404" inside a hex digest as darwin unavailable
DEGRADED_RX matched any 404 substring. When bench.mjs cannot import
darwin (CI's Test V3 Packages job installs only v3/ with pnpm, so the
plugin script finds no @metaharness/darwin and runs the cached darwin
CLI), darwin reports a tampered suite on stderr with both sha256 digests.
A digest containing "404", about 3% of tampered suites, made
classifyDegraded() report the tamper as "darwin not available", and the
script exited 0 instead of 1.

The 404 token now has to stand alone ("404 Not Found", "E404"). The
regression test runs classifyDegraded on a tamper message whose digests
contain 404, and checks that the npm 404 forms are still classified as
unavailable.

Refs #4930

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 13:11:09 -05:00
randRuFlo 0352da8033 test(metaharness): report darwin resolution path and subprocess tails on bench parity mismatch
bench.mjs now adds a top-level darwinSource field to every JSON payload
(library | cli-local | cli-cache | none). A degraded payload also carries
the darwin CLI's exit code and stderr tail. Existing fields and exit codes
are unchanged. runDarwin() returns the resolved bin source, and the shared
degraded emitter takes optional extra diagnostic fields.

darwin-inprocess-adr526 puts darwinSource, the degraded reason, and the
stdout/stderr tails in the assertion message when the bench.mjs
subprocess exit code is not the expected one.

Refs #4930

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 13:07:04 -05:00
randRuFlo 5ac614dd9e fix(witness): report unbuilt checkouts as not-built without masking real failures (#4885)
verify.mjs already exited 2 with precondition dist-not-built on a source-only
checkout, but the verdict was too broad and its message was misleading:

- A built tree with ONE dist file deleted was reported as "dist-not-built"
  (exit 2) instead of a missing artifact (exit 1).
- A manifest with an invalid signature on an unbuilt checkout also exited 2.
- The text said "every manifest entry is missing" when 18 source entries had
  been checked and passed; scheduled runners quoted that as an integrity failure.

Not-built is now reported only when the signature is valid, no source entry is
regressed or missing, and none of the manifest's dist/ entries exist on disk.
Anything else falls through to the normal exit-1 failure path.

JSON gains `status` ('ok' | 'fail' | 'not-built' | 'no-source-entries') on every
path, plus `notBuilt` {distEntries, sourceEntries, distDirs} and `results` on the
not-built path. `ok`, `scope`, `precondition`, `signature` and `summary` are
unchanged, and exit 2 + precondition dist-not-built are kept for existing
consumers (smoke-witness-verify-precondition.mjs Case 5).

Adds a vitest test (collected by the root CI ratchet) with a node:crypto-signed
fixture: unbuilt -> not-built; built+intact -> ok; marker removed -> fail;
dist file deleted in a built tree -> fail; source regression and tampered
signature on an unbuilt tree -> fail.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 13:06:17 -05:00
ruv dfc87e5c03 chore(npm): canonical repository, homepage and keywords for 12 packages; verified quickstarts for memory and security
Package metadata only (ADR-356 distribution lane). No version bumps, no
dependency, script or source changes; it ships with each package's next
release.

- homepage https://ruv.io, repository {url ruvnet/ruflo, directory},
  bugs ruvnet/ruflo/issues on @claude-flow/{memory,security,embeddings,
  swarm,testing,plugins,performance,providers,deployment,
  plugin-agent-federation,plugin-iot-cognitum} and
  ruflo-graph-intelligence. Nine of these had no repository field at all,
  so their npm pages link nowhere.
- 10-12 keywords per package, taken from each package's README features.
- ruflo-graph-intelligence description trimmed to 160 chars.
- memory and security READMEs: one-line job statement, supported
  environments, a quickstart run against the published 3.3.0 / 3.0.7
  with its real output, a link to the next package, and an animated SVG
  (2.5 KB / 2.1 KB, prefers-reduced-motion aware) that shows that run.

Packages in #4897 (aidefence, browser, cli-core, guidance, neural,
teammate-plugin) are left alone to avoid conflicting with it.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-09 19:45:00 -05:00
randRuFlo 4e249930fc chore(ruflo-console): 0.50.1 for the command catalog refresh
The command catalog copy changed (#2640 command renames + catch-up
regeneration), so ruflo-console moves 0.50.0 -> 0.50.1 in plugin.json,
hooks/version.ts, scripts/smoke.sh and the CHANGELOG. The catalog is
regenerated on the merged tree (one entry changed by main) and copied to
the console again.

The single-host AGENTS.md snapshot follows main's #3153 change (#4918:
registered MCP tool names); no other line differs.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 17:49:12 -05:00
r 981adf7acf Merge remote-tracking branch 'origin/main' into feat/2638-2640-init-single-source 2026-11-09 17:46:20 -05:00
randRuFlo e894a8b93c chore(catalog): regenerate command catalog after the #2640 command renames
`ruflo catalog generate` + copy to the ruflo-console catalog (their digests
must match). Picks up memory-neural, stream-chain-run and swarm-orchestrate.
The committed catalog was already stale on main (243 entries; now 290: new
mod registrations and plugins since the last regeneration), so this also
carries that drift. The host-specific engine report is left as committed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 15:14:28 -05:00
randRuFlo d96d246e5c docs(plugins): README names the piiGuard option (#4861)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 12:13:25 -05:00
randRuFlo 59377fdb63 feat(plugins): separate piiGuard option from the secret guard (#4861)
ruflo-federation's one `guard` switch gated both the secret refusal and
the SSN/card refusal, so an operator could not make PII informational
without also dropping secret screening. Add a `piiGuard` userConfig
option (default on: behaviour unchanged) wherever `guard` is declared:

- ruflo-federation 0.4.0: verdict() takes the options; the hasPii refusal
  runs only while piiGuard is on. Secrets and input too large to screen
  are still refused whenever guard is on.
- ruflo-intelligence 0.5.0: the hooks_transfer EMAIL refusal is gated by
  piiGuard; the secret refusal is not. piiGuard joins the status file.
- ruflo-console 0.50.0: the mission screen gets a distinct `secret`
  status from the local secret screen (blocks guidance even when
  AIDefence is missing); `pii` blocks only while the new piiGuard option
  is on, otherwise the finding is reported in a `safe` result's detail.

New tests per plugin: default refuses PII; piiGuard off lets PII-only
text through; a secret is still refused with piiGuard off; guard off
behaves as before.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 12:11:22 -05:00
randclaude-flow ab18c33548 fix(deps): zod ^4.6.7 floor, integration agentic-flow ^2.0.14, mcp/codex/shared advisory floors
zod (GHSA-mrhx-c7xc-m3w5): shared, claims, the twelve v3 plugins,
ruvector-upstream, plugins/ruflo-{arena,ai-team,chatgpt-federation,x-gateway}
and goal_ui move to zod ^4.6.7. hooks declared zod but never imported it, so
the dependency is dropped.

gastown-bridge drops uuid/@types/uuid (GHSA-w5hq-g745-h8pq).

integration: peer agentic-flow ^2.0.0-alpha -> ^2.0.14 || ^3.0.0
(GHSA-vcv2-r9jh-99m5). The repo source already matched the published 3.0.2,
so this ships as 3.0.3. A patched agentic-flow leaves a ReasoningBank timer
alive, which made plugins/ruflo-cost-tracker/scripts/compact.mjs print its
result and never exit; compact.mjs now exits after stdout drains, guarded by
scripts/smoke-compact-exit.mjs (hangs on main, passes here) in
cost-tracker-smoke.

Stale ranges outside the cli: mcp ws ^8.21.0 (GHSA-96hv-2xvq-fx4p), express
^4.22.3 (GHSA-qw6h-vgh9-j6wx), ajv ^8.20.0 (GHSA-2g4f-4pwh-qvx6); codex yaml
^2.8.3 (GHSA-48c2-rrv3-qjmp); shared express ^4.22.3 || ^5.1.0. Each package
gets an advisory-ranges test over its own manifest.

ADR-356 metadata on every published manifest: homepage https://ruv.io,
canonical repository with directory, bugs, 8-20 keywords, description
<= 200 characters.

Versions: shared 3.0.8, hooks 3.0.3, claims 3.0.1, integration 3.0.3,
mcp 3.1.7, codex 3.0.7, gastown-bridge 0.1.6, prime-radiant 0.1.7, other
v3 plugins one alpha up. Marketplace plugin.json bumps for the five changed
plugins. The cli, claude-flow and ruflo pins are left for the release lane.

Lockfiles: v3/pnpm-lock.yaml drops the agentic-flow@2.0.0-alpha tree;
standalone plugin locks were regenerated with npm 11 (npm 10 crashed on a
stale optional peer in four of them).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-09 02:21:15 -05:00
2d789faadc fix(zod4): port shared and v3 plugin schemas to zod 4; gastown convoy IDs from crypto.randomUUID
zod < 4.6.6 can exhaust memory validating oversized constrained collections
(GHSA-mrhx-c7xc-m3w5, high) and has no 3.x fix. This ports the zod 3 APIs
that break under zod 4:

- ZodError.errors -> .issues (shared config validator, gastown sanitizers,
  validators, sync bridge)
- one-argument z.record(value) -> z.record(z.string(), value)
- z.ZodType<Out, ZodTypeDef, In> -> z.ZodType<Out, In>
- prime-radiant: `.default({})` no longer parses the default under zod 4, so
  nested defaults were dropped; the default now parses `{}`
- gastown: MCP inputSchema conversion reads zod 4's `_def.shape`/`_def.type`

The shared and plugin source ports are taken from #4535 by Dragan
Spiridonov (proffesor-for-testing), applied onto current main.

gastown-bridge also drops `uuid` (GHSA-w5hq-g745-h8pq): it only generated
v4 convoy IDs, now `crypto.randomUUID()`.

Tests: every v3 plugin gets a red/green zod floor test against its real
input schema. An oversized bounded array of invalid elements yields one
`too_big` issue under zod >= 4.6.6 and one issue per element below it; the
tests fail on main's source with zod 3.25.76 and pass here.

Co-authored-by: Dragan Spiridonov <spiridonovdragan@gmail.com>
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-09 02:20:56 -05:00
randRuFlo 9b46f57c58 feat(metaharness): @metaharness/darwin as a regular dependency, used in-process (ADR-526); release 3.74.0
- darwin moves to dependencies (ADR-526 amends ADR-150 rule 2 for darwin
  only); the smoke gate, doctor check and clean-install test accept it.
- src/metaharness/darwin-lib.ts: cached import; metaharness_bench verify and
  every metaharness_gepa op run in-process with the scripts' exact payloads
  and exit codes, falling back to the scripts when darwin does not import.
- ruflo-metaharness 0.5.0: bench.mjs verify imports darwin directly (bare
  import, no tool-time install) and falls back to the installed darwin CLI.
- Parity test vs the plugin scripts; benchmark script + measured runs.
- Version 3.74.0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-08 22:01:25 -05:00
rUvandr 657a4ff81c feat(funnel): count plugin-only users via the ruflo-core MCP launch (#4872)
* feat(funnel): count plugin-only users via the ruflo-core MCP launch

Plugin-only users never run init, so no SessionStart hook refreshes the
funnel cache and they are invisible in the usage numbers. The ruflo-core
launcher now sets RUFLO_LAUNCH_SURFACE=plugin; mcp start (stdio) makes the
existing 6h-cached /v1/messages fetch off the start path, gated on
resolveFunnelEnabled(), and the User-Agent gains ' surface/plugin' from a
closed allowlist. Nothing is written to stdout. LIA updated.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-core): keep RUFLO_MCP_SPAWN inside the env-precedence audit window

The four-line insertion pushed the existing RUFLO_MCP_SPAWN read past the
audit's 20-line function-signature heuristic. Collapse it to one line and
move the explanation to the header comment.

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-11-06 15:00:01 -06:00
rUvandr adef54c386 chore(ruflo-console): Vector Lab pin follows ruflo-ruvector to ruvector 0.3.13 (0.49.13) (#4856)
Readers checked against 0.3.13 output (hooks stats, hooks route, rvf
examples, identity show): same shapes as 0.3.12. Console smoke 21/21;
claude plugin test 255/260, the same 5 mission-control / compact-nav /
goal-length failures as on main (noted in #4842), none in the vector page.

Co-authored-by: r <r@x>
2026-11-06 07:28:20 -06:00
rUvandr b9f32453f3 feat(plugins): agentdb 3.4, ruvllm 4.1 runtime, sublinear-core, injection guard in plugins + marketplace pins (#4843)
* feat(plugins): ecosystem releases in agentdb, ruvllm, aidefence, intelligence, graph-intelligence + marketplace pins

ruflo-ruvllm 0.4.0: new ruvllm-runtime skill telling apart ruvllm-wasm (MCP
tools), @ruvector/ruvllm ^4.1.0 (restored SonaCoordinator/LoraAdapter/
TrainingPipeline runtime) and @ruvector/ruvllm-gpu-loop 1.1.x; warns off the
wrong-repo 4.0.x. ruflo-agentdb 0.4.12: agentdb 3.4 capabilities (pathfinder
dynamic-mincut, AGENTDB_INJECTION_GUARD, where RaBitQ lives for ruflo), and
the agentdb-specialist ruvector pin line from #4842. ruflo-aidefence 0.3.4:
agentdb guard + agentic-flow prompt_injection_scan. ruflo-intelligence 0.4.6:
learning-wasm / ruvllm 4.1 backends, links lora-learning and fast-code-edits.
ruflo-graph-intelligence 0.3.0-alpha.1: declared solver dep
sublinear-time-solver -> @ruvnet/sublinear-core (never imported; lockfile
1,015 -> 77 packages; tsc + vitest 104/104), new sublinear-core skill,
supply-chain allowlist updated.

Marketplace: external agentdb -> plugin-v3.4.0 (agentdb@3.4.0); external
agentic-flow -> aa5b11e (plugin 3.3.0, agentic-flow@3.3.0, ecosystem tools).

ruflo-ruvector is left to #4842; additions on top follow after it merges.
The six CLI ecosystem skills are linked, not duplicated; no v3/ changes.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(plugins): keep the two new skill descriptions under 300 chars (ADR-507)

Co-Authored-By: claude-flow <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-11-06 07:28:16 -06:00
rUvandr 459dea5a55 feat(ruflo-ruvector): pin ruvector 0.3.13 — DiskANN CLI/MCP, RaBitQ hook recall; drop MCP tools the server never had (0.4.1) (#4855)
Follows #4842. Smoke 14/14 against 0.3.13; DiskANN build + search round
trip run with the diskann extra. 0.3.13 registers 118 MCP tools (adds
diskann_build, diskann_search) and moves to @ruvector/attention ^2.2.3
(GHSA-p62c-q7fc-qmg9) and @ruvector/sona ^0.1.11. The agent listed
sona_*, attention_* and gnn_* MCP tools that ruvector never registered;
they are CLI-only. Documents ruvector add extras and
RUVECTOR_RABITQ_THRESHOLD. Removes the benchmark limitation, which no
longer reproduces.

Co-authored-by: r <r@x>
2026-11-06 07:17:36 -06:00
randRuFlo 357c06dfa0 test(plugins): smoke contracts expect ruflo-agentdb 0.4.12 and ruflo-browser 0.3.8
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-05 22:42:49 -05:00
randRuFlo 13432299e5 fix(plugins): keep history in comments, hint on an uncached pin, scope the verified claim
- browser-session-tools / neural-tools: comments keep the versions they
  describe (#2015 was found on 0.2.25; ONNX bundled since 0.2.27). The
  embedder label no longer hardcodes a version the ^0.3.11 range may not
  resolve to.
- Console vector page: npx --offline with only an older pin cached printed a
  bare ENOTCACHED. The result now starts with the command that fixes it.
  Spec added.
- ruflo-ruvector README: the "since 0.3.3" table says which rows were run.
  The two MCP gates were exercised over stdio (refused without the variable,
  allowed with it); 0.3.10/0.3.11 come from release notes. /vector-setup says
  to re-register the server after upgrading.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-05 22:29:05 -05:00
randRuFlo 8ecb115eef chore(ruflo-agentdb): 0.4.12 for the ruvector pin note
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-05 22:21:11 -05:00
randRuFlo 4ed8aa3926 feat(plugins): move ruflo-ruvector, ruflo-browser and the console vector page to ruvector 0.3.12
The CLI has depended on ruvector ^0.3.11 since #4838. The plugins still pinned
older releases: 0.3.3 in ruflo-ruvector and the console vector page, and
0.2.27/0.2.25 in ruflo-browser and the CLI's browser-session npx fallback.
0.3.3 predates the 0.3.4 MCP security hardening.

- Every pinned command was run against 0.3.12: the ruflo-ruvector smoke
  (14/14), the console vector page's read commands, and the browser-session
  rvf + trajectory argv.
- Fix the ruflo-browser agent and browser-record recipes. They passed
  --session-id/--task/--args/--verdict to `hooks trajectory-*`, which no
  ruvector release accepts. They now use the argv the browser_session_* MCP
  tools already use.
- ruflo-ruvector README: a "What changed since 0.3.3" table (MCP env gates,
  per-project store, CRUD, `ruvector add`, rvf lock fix, graph-mincut fix),
  a re-verified limitations table, and the correct ADR link and tool count.
  /vector-setup documents RUVECTOR_MCP_ALLOW_INIT and RUVECTOR_MCP_ROOTS.
- Versions: ruflo-ruvector 0.4.0, ruflo-browser 0.3.8, ruflo-console 0.49.12.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-05 22:20:36 -05:00
rUvandr 29b327ee5f feat(cli,codex): ecosystem integrations + skills; darwin ^0.13.0, ruvllm ^4.1.0; release 3.72.1 (#4838)
* feat(cli,codex): wire ecosystem packages into real code paths + ecosystem skills

Every integration here has a reachable path (optional dep or lazy import,
graceful fallback) and a test that drives the real package.

- @ruvector/learning-wasm 0.1.29 (new optional dep): it was imported by
  ruvector-training.ts, neural.ts and ruvector/index.ts but never declared,
  so MicroLoRA always ran on the JS fallback. Now initializeTraining()
  reports backend 'wasm'; `neural benchmark` measures ~2 us/adaptation at
  256-dim. The benchmark's attention section (broken against
  @ruvector/attention 2.x) no longer aborts the MicroLoRA numbers.
- ruvector ^0.2.27 -> ^0.3.11. ruvector 0.3 ships @ruvector/mincut-wasm and
  its DynamicMinCut wrapper. New ruvector/mincut-bridge.ts folds duplicate and
  reversed edges (the solver rejects them) and backs:
  - agentdb_graph-pathfinder `dynamic-mincut`, previously a k-hop stub: exact
    min cut of the seed's depth-hop neighbourhood, returns the seed's side
    plus cut metadata (cutValue, cutEdges, backend). JS Stoer-Wagner
    fallback for neighbourhoods <= 300 nodes.
  - graph-analyzer loadRuVector(), which probed a nonexistent
    ruvector.hooks_graph_mincut and @ruvector/wasm GraphAnalyzer. Measured
    187 ms vs 6 s (JS) at 1,000 nodes, same cut value.
  spectral-sparsify / connected-component-churn stay k-hop approximations
  and now say so in the response (`implementation`).
- @ruvector/rabitq-wasm 0.1.0 -> 0.1.2: ruvector 0.3.11 declares an optional
  peer >=0.1.1, and npm raises ERESOLVE against an exact 0.1.0 pin. Same API.
- agent-booster ^0.2.2 (new optional dep) backs a new hooks_fast-apply MCP
  tool: merges a code snippet into a file or string (~ms, no LLM), with
  project-root and symlink containment, dryRun and minConfidence. ADR-143
  is respected: it is an applier for caller-supplied snippets, not a Tier-1
  intent engine. The appliance bridge's tier-1 hint, labelled
  'agent-booster' while being two regexes, is now labelled 'codemod' and
  points at hooks_codemod. Path-containment helpers move from hooks-tools.ts
  to realpath-containment.ts so both tools share them.
- ast-analyzer / diff-classifier / coverage-router imported @ruvector/ast,
  @ruvector/diff, @ruvector/coverage, which were never published (npm 404).
  ruvector 0.3's ASTParser needs native tree-sitter and is async-only;
  parseDiff / parseIstanbulCoverage are plain JS equivalent to the local
  parsers. The phantom imports are removed rather than swapped for a no-op hop.
- Skills: six new Claude Code skills (vector-quantization, graph-mincut,
  sublinear-solver, injection-defense, fast-code-edits, lora-learning) in a
  new SKILLS_MAP.ecosystem group, installed by default `ruflo init`
  (`init skills --ecosystem`), and the Codex equivalents bundled in
  @claude-flow/codex .agents/skills (built-in, installed by --full).
  @claude-flow/codex 3.0.5 -> 3.0.6.
- no-cli-optdep-bloat-2561 guard: CLI_MAX 13 -> 17 and learning-wasm off the
  FORBIDDEN list, with cold-install measurements (learning-wasm 0.38 s / 1
  pkg / 104K; agent-booster 0.98 s / 67 pkgs / 5.8M).

Evaluated and not wired: sublinear-time-solver as a PPR accelerator (its
computePageRank took 1.2 s at 500 nodes and 68 s at 2,000, vs ms for the
built-in power iteration; 184 deps / 123 MB), strange-loops (pulls the same
tree), @ruvector/kge, @ruvector/cnn, @ruvector/rvlite, @ruvector/graph-wasm,
@ruvector/emergent-time, agentic-jujutsu, @ruvector/pi-brain (no existing
caller doing the job badly); @ruvector/diskann (see the memory PR).

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(deps): bound @ruvector/ruvllm away from the broken 4.0.x; ruvector override to ^0.3.11

@ruvector/ruvllm 4.0.0/4.0.1 were published from the wrong repository: an
ESM-only GPU-loop harness with no main entry and none of SonaCoordinator,
ContrastiveTrainer, TrainingPipeline or LoraAdapter. The open `>=2.6.0`
ranges in the root and ruflo overrides and the v3 pnpm.overrides let it
resolve, and every createRequire('@ruvector/ruvllm') caller (intelligence.ts,
sona-optimizer.ts, native-training.ts) then fell back to JS silently.

- root/ruflo overrides, v3 pnpm.overrides, providers peer:
  `>=2.6.0 <4.0.0 || ^4.1.0` (2.6-3.x all export the four classes; 4.1.0 is
  the restored runtime). Narrow to ^4.1.0 once it is on the registry.
- root/ruflo overrides: ruvector ^0.2.41 -> ^0.3.11. agentdb 3.3.0 itself
  depends on ruvector ^0.3.5 and the CLI now on ^0.3.11, so the old override
  forced both below their own ranges inside this repo's tree.
- ruflo overrides: agentdb `>=3.3.0` -> `^3.3.0`, agentic-flow `>=2.0.14` ->
  `^2.0.14 || ^3.0.0` (no open-ended ecosystem ranges).
- providers/src/__tests__/ruvllm-runtime-contract.test.ts loads the installed
  package through createRequire, asserts the four classes, constructs a
  SonaCoordinator the way the CLI does, and checks the resolved version is in
  range. Against 4.0.1, require() itself fails (no CJS entry).

Co-Authored-By: claude-flow <ruv@ruv.net>

* test: run ecosystem and ruvllm contract tests where the packages are installed

ci.yml's repo-root npm layout does not install the CLI's optional
dependencies, so those blocks skip there; the pnpm workspace that Test V3
Packages uses installs every one of them, so they run. The probe walks
node_modules only up to the repository root. A @ruvector/ruvllm that is
installed but does not load through require() still fails, and says which
copy and why.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(umbrella): claude-flow carries the CLI's new optional deps; rabitq-wasm 0.1.2

The claude-flow umbrella ships the CLI dist with its own dependency list.
With @ruvector/rabitq-wasm pinned at 0.1.0, npm could not hoist ruvector 0.3
(optional peer rabitq-wasm >=0.1.1) and nested it under agentdb/agentic-flow,
so the umbrella's copy of the CLI could not import('ruvector') and the mincut
path was dead there. rabitq-wasm -> 0.1.2 (same API) puts ruvector back at
the top level; ruvector ^0.3.11, @ruvector/learning-wasm 0.1.29 and
agent-booster ^0.2.2 join the umbrella's optionalDependencies so the WASM
MicroLoRA, min-cut and fast-apply paths are reachable from npx claude-flow too.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(security): @metaharness/darwin ^0.13.0 (GHSA-mjwg-5fm3-fx2p), metaharness ^0.4.20

@metaharness/darwin 0.13.0 fixes a high-severity sandbox bypass
(GHSA-mjwg-5fm3-fx2p); the CLI's `~0.12.0` could never resolve it.

- cli optionalDependencies @metaharness/darwin ~0.12.0 -> ^0.13.0; peer
  metaharness ^0.4.1 -> ^0.4.20
- distill-oracle MH_DARWIN_PIN 0.12.0 -> 0.13.0 (npx tier-1 oracle calls)
- ruflo-metaharness helper pins: _darwin.mjs ~0.12.0 -> ~0.13.0,
  _harness.mjs ~0.4.1 -> ~0.4.20 (tilde, as check-metaharness-pins requires);
  plugin 0.4.0 -> 0.4.1

Checked against 0.13.0 before bumping (0.x minor): same exports
(., ./contrastive, ./gepa), same metaharness-darwin verbs ruflo surfaces
(evolve, evolve-numeric, bench create|verify, security bench), and the gepa
library calls (loadCand6Genome, validateGenome, buildSystemFromGenome)
return identical results to 0.12.0. Tier-2 evolution now runs in an isolated
child process upstream; ruflo already drives darwin as a subprocess. Note:
0.13.0 adds one runtime dependency (@babel/parser), where 0.12 had none.
check-metaharness-pins, metaharness-clean-install-test and the CLI's
metaharness/distill/darwin tests (80) pass.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(deps): @ruvector/ruvllm ^4.1.0 now that the restored runtime is published

4.1.0 is the dual CJS/ESM runtime again. Root and ruflo overrides, v3
pnpm.overrides and the providers peer move from `>=2.6.0 <4.0.0 || ^4.1.0`
to `^4.1.0`; both lockfiles now resolve 4.1.0. The contract test requires
>=4.1 <5 and passed against 4.1.0 (SonaCoordinator, ContrastiveTrainer,
TrainingPipeline, LoraAdapter, DEFAULT_SONA_CONFIG; SonaCoordinator
constructs), as did the CLI's neural-status/trajectory/learning tests.

Co-Authored-By: claude-flow <ruv@ruv.net>

* release: 3.72.1

@claude-flow/cli, claude-flow and ruflo 3.72.1 (ruflo pins cli 3.72.1),
carrying the ecosystem integrations, @claude-flow/memory 3.2.3, codex 3.0.6,
@ruvector/ruvllm ^4.1.0 and @metaharness/darwin ^0.13.0.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(metaharness): tilde-pin darwin ~0.13.0; smoke expects plugin 0.4.1

ruflo-metaharness smoke step 17z73 enforces tilde pins for @metaharness/*
(ADR-150 review: tilde stays on one minor). ~0.13.0 admits the same versions
as ^0.13.0 on a 0.x line and still resolves the GHSA-mjwg-5fm3-fx2p fix.
Smoke step 1 hard-codes the plugin version; it moves to 0.4.1 with the bump
that plugin-version-bump requires. smoke.sh: 128/128 locally.

Co-Authored-By: claude-flow <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-11-05 20:50:18 -06:00
randRuFlo 7c0ad84e5e fix(cost-tracker): warm an npx CLI once before parallel subchecks; a failed CLI read is an error (#4711)
cost-health started four subchecks at once, each running
npx -y @claude-flow/cli@latest. With a cold npm cache the four first
installs raced in one ~/.npm/_npx directory and left a broken install. Its
memory reads then exited 1, and budget/_sessions read that as no data, so
the budget check reported "no budget set" and Case 2 of the integration
test failed about half the time.

- health.mjs resolves the CLI once, serially, when it comes from npx
  (HEALTH_SKIP_WARMUP=1 skips it).
- A non-zero memory list is reported as an error with the CLI's stderr
  (exit 2) by budget, burn, anomaly and projection.
- New test-cli-failure-4711.mjs, in smoke step 48 and the CI workflow; the
  integration test runs with RUFLO_DAEMON_AUTOSTART=0.
- ruflo-cost-tracker 0.31.2.

Closes #4711

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-05 17:52:20 -05:00
randRuFlo 704330e488 fix(cli): reuse an identical corrupt-store backup; bump workflows 0.7.2 and plugin-creator 0.4.5
Polling a corrupt store made a new .corrupt-<ts> copy on every read (#4779
review). A backup with identical bytes is now reused.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-05 09:53:38 -05:00
r 4ea572a9d3 Merge PR #4797 2026-11-05 09:52:45 -05:00
r 1bac85340b Merge PR #4796 2026-11-05 09:52:45 -05:00
chaitanya-y20 13af5f1208 chore(plugins): give every plugin manifest a repository field
44 of the 48 `plugins/*/.claude-plugin/plugin.json` manifests had no
`repository`, while the four that do already point at the repo URL their
`homepage` names. The field is what the directory listing and
`npm view` read, and its absence is invisible until something reads it.

Add it to the 44 that lack it, then make `scripts/audit-plugin-manifest.mjs`
enforce it so the next plugin cannot ship without one:

- check 6 in the script header, the violation in `auditManifest`, and the
  clean-run summary line. A manifest may carry the repository as a string or
  as an object's `url`; anything else is reported as missing, and a value that
  is not an http(s) URL is reported separately.
- the required-field lists in `create-plugin` and `validate-plugin` skills, so
  a scaffolded plugin passes the gate it is told to satisfy.

Verified with the repo's own gates:

- `node scripts/audit-plugin-manifest.mjs` scans 48 manifests, clean.
- removing the field from one manifest reports `repository field: missing or
  empty` and exits 1; setting it to `ruvnet/ruflo` reports `repository is a URL`
  and exits 1; restoring it exits 0.
- `node scripts/check-plugin-manifests.mjs` is unchanged by this diff (its two
  nested-manifest findings belong to `ruflo-ai-team/directory` and
  `ruflo-x-gateway/directory`, which this change does not touch).
- `node scripts/audit-plugin-secrets.mjs` clean, 48 manifests.

No plugin version is bumped: the installed artifact's behaviour does not change
and no user-visible surface reads the field from an installed copy, so there is
nothing for a version bump to deliver. The `Plugin version bump` workflow will
flag the 44 manifests it sees as shipped files, and this PR needs the
`skip-plugin-version-check` label rather than 44 unrelated version bumps that
would collide with each plugin's own release cadence.

Closes #4774
2026-11-05 09:25:38 +05:30
Doomguy d50f5b6fa1 docs: document GAIA critic and decomposition diagnostics 2026-11-05 06:50:04 +03:00
Doomguy 7b2e1b3ce0 docs: add the ruRE plugin guide 2026-11-05 06:18:42 +03:00
rUv 8b132881ae Merge pull request #4791 from ruvnet/fix/untrusted-project-context
fix(hooks): ignore repo-committed learning data; label surfaced notes as project data
2026-11-04 21:10:17 -06:00
randRuFlo f91135144b fix(hooks): ignore repo-committed learning data; label surfaced notes as project data
.claude-flow/data stores committed to a cloned repository are no longer read
as this machine's learned patterns or synced into the user's Claude Code
memory, and are never rewritten. Surfaced entries are flattened to one line
(control, bidi and zero-width characters removed) and the block ends with a
line saying they are project notes, not instructions. Same change in the
generated fallback helper and the ruflo-mods routeContext block (0.16.2).
Helper manifest re-signed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-04 21:53:45 -05:00
randRuFlo 825ce061d5 fix(x-gateway): key per-IP limits on the trusted forwarding address
Rate limits and the Seraphina/GitHub allowances keyed on the leftmost
X-Forwarded-For entry. They now use the same trusted-chain derivation as
registration (shared client-ip module). Gateway 0.9.2, plugin 0.10.3.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-04 21:41:09 -05:00
Michael ValderramaandMichael Valderrama 5c44615e78 fix(cost-tracker): count each Claude Code response once in track and session (#4688)
* fix(cost-tracker): count each Claude Code response once in track and session

Claude Code writes one assistant line per content block and repeats the response's usage on each, so summing lines counts a response once per block. Key responses by message.id + requestId, as _ledger.mjs already does, and price each once.

* chore(cost-tracker): bump to 0.31.1; use a counter in the test fixture

The double-count fix changes shipped scripts, so the plugin version rises for installed copies to pick it up. The fixture's uuid no longer uses Math.random, which CodeQL flagged.

---------

Co-authored-by: Michael Valderrama <17348490+ibucketbranch@users.noreply.github.com>
2026-11-04 17:49:00 -06:00
rUv d2e33508f4 Merge pull request #4704 from ruvnet/integrate/sweep-2026-11-04b
integrate: 4 contributor fixes + #4693 + #4691 (2026-11-04 sweep)
2026-11-04 17:32:41 -06:00
rUvandr 00432b4eb1 fix(plugins): agentdb_context-synthesize guidance in agentdb, observability and rag-memory (#4691 follow-up) (#4705)
agentdb 0.4.11, observability 0.3.6, rag-memory 0.3.8: the tool summarizes
validated task episodes; ordinary memories and trace spans get no-eligible-
episodes, which the old 'combine memories' guidance made look like missing data.

Co-authored-by: r <r@x>
2026-11-04 17:31:57 -06:00
randRuFlo e95c77d469 fix: refuse a trajectoryIds selection in hooks_intelligence_learn (#4693); route research synthesis away from the episode controller (#4691)
- hooks_intelligence_learn advertised trajectoryIds but never read it, so a
  scoped request ran global learning. The learning path cannot select, so an
  explicit selection is now refused before anything is imported or mutated.
- agentdb_context-synthesize summarizes validated task episodes; its description,
  the research-synthesize skill (ruflo-goals 0.4.6) and the researcher agent
  (ruflo-core 0.2.14) no longer send research documents to it.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-04 17:46:14 -05:00