Commit Graph
9047 Commits
Author SHA1 Message Date
Rudy Celekli ec0ae3dcda fix(events): honor zero RVF query limits
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:41:28 -04:00
rUv ca74bd4f79 Merge pull request #3967 from rudycelekli/fix/active100-ruflo-screen-20261010
fix(tasks): synchronize workers when task_update reassigns a task
2026-10-10 08:03:12 -07:00
rUv 24774b9087 Merge pull request #3951 from ruvnet/fix/plugin-upgrade-trust-gate
fix(plugins): apply the #3557 trust policy on plugins upgrade (security review in PR comments)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 07:51:09 -07:00
rUv c75a1ed34c Merge pull request #3955 from ruvnet/fix/node24-better-sqlite3-abort
fix(memory): open AgentDB with our better-sqlite3 so Node 24 does not abort
2026-10-10 07:50:41 -07:00
rUv 2145a31f0d Merge pull request #3958 from ruvnet/fix/agentic-flow-root-import
fix(cli,integration): never import the agentic-flow root entry (it runs agentic-flow's CLI)
2026-10-10 07:50:39 -07:00
rUv 840c716115 Merge pull request #3947 from ruvnet/chore/retire-legacy-agentic-qe-plugin
chore(plugins): retire legacy agentic-qe shim and fabricated demo registry entry
2026-10-10 07:50:35 -07:00
rUv 4f91a6e363 Merge pull request #3968 from rudycelekli/fix/active100-workflow-validator-20261010
fix(workflows): validate the agent bindings used by the runtime
2026-10-10 07:42:44 -07:00
rUv ad916b455b Merge pull request #3970 from rudycelekli/fix/active100-sampling-timer-20261010
fix(mcp): clear sampling deadlines after provider settlement
2026-10-10 07:42:41 -07:00
rUv aade0c3a7e Merge pull request #3974 from rudycelekli/campaign/ruflo-resource-cache-invalidation-20261010
fix(mcp): invalidate notified resource caches without subscribers
2026-10-10 07:42:38 -07:00
rUv 9ee164db34 Merge pull request #3975 from rudycelekli/campaign/ruflo-tool-override-index-20261010
fix(mcp): remove stale discovery indexes when overriding tools
2026-10-10 07:42:35 -07:00
Rudy Celekli 02f4c87dd9 fix(tasks): validate reassignment and preserve retained worker ownership
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-10 10:30:31 -04:00
Dragan Spiridonov a46e49cbc5 test(memory): apply each agentdb mock change before queueing the next
vitest applies queued doMock/doUnmock entries for one path in resolve order,
so an afterEach doUnmock could win over the next test's doMock and the
stale-lock retry test saw the real agentdb (CI: 0 fake instances).
2026-10-10 10:05:30 +02:00
Dragan Spiridonov c536e77fda fix(memory): reroute the stale-lock retry AgentDB too; memory 3.0.4
Rebased onto main, where ControllerRegistry and AgentDBBackend build AgentDB
inside withAgentdbLockRecovery(); useHostSqliteDriver() now runs inside that
closure right after each `new AgentDB`, so the instance a stale-lock retry
creates also opens its handle with getHostSqliteDriver(). Tests drive the
retry path for both sites.

@claude-flow/memory 3.0.3 was published by 3.56.3 without the driver, so
this ships as 3.0.4 and the CLI pins 3.0.4. The #3693 memory-owner test
now reports a skip when no native addon is available instead of passing.
2026-10-10 09:49:07 +02:00
Dragan Spiridonov 197bfb7272 test(cli): shared-sqlite identity test follows the installed @claude-flow/memory
The root CI job resolves the published @claude-flow/memory 3.0.2, which does
not route AgentDB through its own driver; there the owner must stay agentdb.
2026-10-10 09:44:50 +02:00
Dragan Spiridonov d4458abdff fix(memory,cli): keep the CLI's better-sqlite3 handles on AgentDB's copy
Follow-up to the AgentDB driver change. shared-sqlite.ts (#3693/#3883)
resolved better-sqlite3 from agentdb's location so CLI handles share
AgentDB's native copy. With AgentDB now opened through
@claude-flow/memory's better-sqlite3, that put graph-edge-writer, the
memory-initializer repair paths, backup restore, distillation, tuning and
the attestation log back on agentdb's nested 11.x: `hooks post-task` still
loaded both addons (and aborted on Node 24), and mixing copies on one file
can delete the -wal/-shm sidecars under AgentDB's live handle.

- @claude-flow/memory exports getHostSqliteDriver(), the one source of the
  constructor; useHostSqliteDriver() opens AgentDB with it and reports
  whether it replaced the loader.
- shared-sqlite resolves better-sqlite3 from @claude-flow/memory when the
  installed memory carries agentdb-native-driver.js, else from agentdb as
  before, so either memory version keeps one copy per process.
- @claude-flow/memory 3.0.3, CLI pin 3.0.3 (leaf-publish gate).

Tests: identity between AgentDB's handle constructor and
loadBetterSqlite3(); #3693 owner model for the memory holder and the
pre-3.0.3 fallback; both AgentDB construction sites; routing against a
real nested copy; a drift guard on agentdb's initializeDatabase contract.
2026-10-10 09:44:50 +02:00
Dragan Spiridonov b1645c6f47 fix(memory): open AgentDB with our better-sqlite3 so Node 24 does not abort
On Node 24.19+, `memory search`, `memory_store` and the AgentDB MCP tools
abort intermittently with `Assertion failed: (env) != nullptr` in
node::RemoveEnvironmentCleanupHook, from Statement::~Statement() in
agentdb/node_modules/better-sqlite3 (exit 134 / "Connection closed").

agentdb 3.0.0-alpha.x pins better-sqlite3 ^11.8.1. 11.x has no Node 24
prebuild, so npm compiles it against the local Node headers, and 24.19+
headers carry a partial ObjectWrap cleanup-hook backport
(nodejs/node#65446) that aborts when a Statement is collected outside an
Environment. Our own better-sqlite3 12.x ships a Node 24 prebuild built
before that header change. The `better-sqlite3` override in the published
package.json files does not reach agentdb: npm ignores overrides in a
dependency, and `npm i -g ruflo` still installs the nested 11.10.0.

ControllerRegistry and AgentDBBackend now replace the AgentDB instance's
initializeDatabase() so its handle is opened with this package's
better-sqlite3; AgentDB's own loader stays as the fallback and forceWasm
is untouched.
2026-10-10 09:44:50 +02:00
Rudy Celekli f9261f0b9b fix(mcp): invalidate notified resources without subscribers
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-10 00:06:59 -04:00
Rudy Celekli 55e439d063 fix(mcp): remove stale discovery indexes when overriding tools
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-10 00:06:59 -04:00
Rudy Celekli 819b757a8a fix(mcp): clear sampling deadlines after provider settlement
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-09 22:46:39 -04:00
Rudy Celekli 7ce0efe815 fix(workflows): validate the agent bindings used by the runtime
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-09 22:46:36 -04:00
Rudy Celekli 3b66a3abbd fix(tasks): synchronize workers when task_update reassigns a task
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-09 22:46:34 -04:00
rUv 6c046548e2 Merge pull request #3957 from ruvnet/feat/ruvnet-brain-grounding
feat(console,mods): optional detect-only ruvnet-brain grounding (ADR-487)
2026-10-09 19:40:35 -07:00
rUv 7819992df6 Merge pull request #3961 from ruvnet/release/swarm-3.0.2
chore(release): @claude-flow/swarm 3.0.2
@claude-flow/swarm@3.0.2
2026-10-09 17:53:48 -07:00
randRuFlo c09d44cfd5 chore(release): @claude-flow/swarm 3.0.2 (carries #3929 broadcast-retry fix)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 20:40:29 -04:00
rUv 5696d1e6b2 Merge pull request #3929 from ruvnet/dream/2026-10-09-swarm
dream(swarm): #3928 MessageBus broadcast-retry re-queues under real subscriber, not 'broadcast' sentinel (evaluated, ACCEPT)
2026-10-09 15:22:16 -07:00
randRuFlo 873c5a1007 fix(swarm): skip broadcast retry re-queue for a subscriber that unsubscribed during backoff (#3928)
Without the guard the fix would recreate an orphaned queue for the departed agent. Adds a discriminating test.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 18:07:38 -04:00
r b03e7e21a1 Merge main into dream/2026-10-09-swarm 2026-10-09 18:06:38 -04:00
randRuFlo 72f789254e feat(console,mods): optional detect-only ruvnet-brain grounding (ADR-487)
Console 0.42.0: Overview "Grounding" line (on / not installed / installed, disabled / unknown), a default-on nudge setting that adds one fixed line pointing at search_ruvnet to the mission context when the brain is on and the mission names the ruvnet stack (through modelLine, nothing interpolated), and a default-off, dismissible once-per-session install hint. Mods 0.5.0: option `grounding` (default off) adds a read-only /ruflo-mods row.

Detect-only: never calls, installs, gates, blocks or copies anything of the third-party plugin; ruflo behaves identically without it (smoke steps console 20, mods 15).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 18:02:44 -04:00
rUv 22b90b7ed0 Merge pull request #3959 from ruvnet/feat/session-workspace
feat(console,mods): session workspace on the Room: attention queue, browser, preview (ADR-486)
2026-10-09 15:00:12 -07:00
rUv 8c60c8c71d Merge pull request #3960 from ruvnet/release/3.56.3
release: 3.56.3 (AgentDB alpha.20, memory 3.0.3, sql.js lock guard)
v3.56.3
2026-10-09 14:51:20 -07:00
randRuFlo 3fa9d639d6 release: regenerate witness manifests (linux/macos/windows) for 3.56.3
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:34:55 -04:00
randRuFlo 11a8cf79a7 release: re-sign helpers manifest for 3.56.3
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:34:28 -04:00
randRuFlo c6fa271756 fix(v3): declare onnxruntime-common for transformers 4.2.0 in the pnpm tree; recall test tolerates alpha.20 borderline neighbour
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:33:49 -04:00
randRuFlo dffb5171e0 chore(release): 3.56.3 versions and changelog (memory 3.0.3, AgentDB alpha.20)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:26:16 -04:00
randRuFlo dd8fd3cda8 fix(memory): settle hybrid shutdown, real-path sql.js lock test for AgentDBBackend
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:25:23 -04:00
randRuFlo f047a545f0 fix(console): fold the Sessions list, honest wording, read budget for first reads, Codex sub-agent lineage
- Sessions list starts folded; jumping from the queue opens it.
- First reads past a pass's byte budget wait for the next pass ("not read yet").
- A Codex sub-agent rollout's trailing parent session_meta is lineage, not a second identity.
- ADR/CHANGELOG/README say discovery spawns nothing; the only write is the four-count summary.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:24:09 -04:00
randRuFlo c53bed71e3 feat(console,mods): session workspace on the Room: attention queue, session browser, preview (ADR-486)
Needs-you queue (approvals, questions, failures, finished-unread) across Claude Code, Codex and Ruflo
sessions, a browser grouped by repository and worktree, and a preview of the selected session. Local,
read-only discovery (no model call, no process); ambiguous identity goes to an unassigned bucket;
finished work clears only after its preview was drawn; transcript text never reaches a model, the
state, the disk or a text answer. ruflo-mods gains an optional counts-only attention row.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:18:27 -04:00
randRuFlo 01fa240e7c wip(memory): agentdb alpha.20 floor + sql.js lock/concurrency guard
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 17:17:36 -04:00
Dragan Spiridonov 5b013f8497 fix(plugins): drop the variable-held agentic-flow root import
The plugins integration loaded the agentic-flow root through a variable
specifier, which the source scan did not see. No published root exports
handleMCPCommand, so the import only risked running agentic-flow's CLI.
The scan now also flags a variable assigned the bare root specifier.
2026-10-09 21:30:24 +02:00
rUv a1f90501d3 Merge pull request #3956 from ruvnet/feat/x-gateway-github-query
feat(x-gateway): read-only GitHub/npm query tools on /mcp (ADR-485)
2026-10-09 12:10:15 -07:00
Dragan Spiridonov 74669662f7 fix(cli,integration): never import the agentic-flow root entry
agentic-flow 3.0.0-alpha.1/.2 call their CLI main() at the bottom of
dist/index.js with no is-main guard (2.x has one). Importing the root as a
library therefore parses the host's process.argv: with `--help` it prints
agentic-flow's help and exits the host, with `mcp start` it would start its
MCP server, and with no agentic-flow flag it runs its demo agents with
whatever model credentials are in the environment, plus a health server on
:8080 and a runtime patch that rewrites files under node_modules.

The root import was only ever a fallback or a probe for exports that no
published root has (`embeddings`, `createAgenticFlow`, `VERSION`,
`configTuning`; checked 2.0.14, 2.1.4, 3.0.0-alpha.1/.2):

- cli memory-initializer: drop the dead root `embeddings` fallback.
- cli hooks token-optimize: drop the root availability fallback; the root
  re-exports the same reasoningbank module the subpath check already loads.
- integration TokenOptimizer: detect agentic-flow from the reasoningbank /
  agent-booster subpaths instead of the root.
- integration AgentAdapter, SwarmAdapter, AgenticFlowBridge: stop importing
  the root for a `createAgenticFlow` factory no release exports; keep the
  existing local-implementation path and events.
- integration SDKBridge: use the baseline version instead of a root VERSION
  export that does not exist.
- Point the "for ML embeddings" comments at agentic-flow/reasoningbank.

The regression test runs the CLI source in a child process with loader
hooks that replace the root entry with a marker, and scans v3 sources for
any root-entry import.
2026-10-09 20:54:48 +02:00
randRuFlo 39a6792f01 fix(x-gateway): escape every slash in scoped npm names (CodeQL js/incomplete-sanitization)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 14:51:37 -04:00
randRuFlo 733596cc1f feat(x-gateway): read-only GitHub/npm query tools on /mcp (ADR-485)
Adds ruv_github_search, ruv_github_repo, ruv_github_file and ruv_registry_latest
to the legacy /mcp surface: allowlisted owner (default ruvnet), public repos only,
SSRF-pinned URLs, redirects refused, size/time caps, TTL+ETag cache, per-client
and shared upstream budgets, results fenced as untrusted GitHub data. Directory
profiles (/chatgpt/mcp, /claude/mcp) are unchanged at twelve tools.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 14:28:35 -04:00
Dragan Spiridonov e0f2e83a33 fix(plugins): apply the #3557 trust policy on plugins upgrade
PluginManager.upgrade copied the new version's claude-flow hooks and
commands straight into the manifest, so hooks withheld at install were
registered on upgrade, and an upgrade to a version declaring elevated
permissions was never gated. It also kept running npm lifecycle scripts
for any install recorded with scriptsRun:true (including legacy entries),
even though that flag can come from unverified registry vouching.

- Re-run applyTrustPolicy on the upgraded package.json; record trust,
  permissions, withheld hooks/commands and verification like install does.
- Install the new version with --ignore-scripts unless --trust is passed for
  this upgrade; the original install's trust is not carried over.
- `plugins upgrade` gains --verify/--no-verify and --trust, and reports
  skipped scripts and withheld hooks.
2026-10-09 20:07:35 +02:00
Dragan Spiridonov 8e7a8e90dc chore(plugins): retire legacy agentic-qe shim and its demo registry entry
v3/plugins/agentic-qe (@claude-flow/plugin-agentic-qe) re-implemented
quality-engineering tools behind Zod schemas and never imported the real
agentic-qe package; its package.json (3.0.0-alpha.5) and plugin.yaml
(3.5.59) disagreed and it had not changed since May. Nothing in the
workspace, CI, or CLI imports it.

- remove v3/plugins/agentic-qe
- drop its built-in demo registry entry (fabricated CID/checksum and
  security-audit claim) and its featured/trending/newest/official ids
- drop it from publish-registry's package list
- point docs at the maintained agentic-qe npm package and the
  agentic-qe-fleet Claude Code plugin; mark ADR-030 superseded
- test: demo registry has no shim entry and curates only listed ids
2026-10-09 19:46:52 +02:00
rUv 9f97475fc5 Merge pull request #3944 from ruvnet/release/3.56.2
release: 3.56.2
v3.56.2
2026-10-09 10:22:17 -07:00
randRuFlo 14f2c4f850 release: regenerate witness manifests (linux/macos/windows) for 3.56.2
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 13:07:44 -04:00
randRuFlo 0f6a464a7b release: re-sign helpers manifest for 3.56.2
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 13:06:48 -04:00
randRuFlo 183d2d5140 chore(release): 3.56.2 versions and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-09 13:06:28 -04:00
rUv 04ea90611e Merge pull request #3942 from proffesor-for-testing/fix/console-adr-hardening
fix(console,swarm): linear ADR scope matcher, ADR-481 titles refused at the proposal, ADR digest validated, quoted and framed, prototype-safe What's new
2026-10-09 10:04:40 -07:00