4095 Commits
Author SHA1 Message Date
randRuFlo 9d1202e40c chore(release): 3.75.2
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 11:35:33 -05:00
randRuFlo 7cb8603b7f fix(release): ship zod 4 inside the bundled security package; release 3.75.1 (#4940)
@claude-flow/cli 3.74.1 and 3.75.0 (and the claude-flow umbrella) bundle
@claude-flow/security 3.0.7, which needs zod >=4.6.7, while the wrappers
keep zod 3. The staging script stripped the nested dependencies, so
security's `import 'zod'` resolved to zod 3 and the root export threw
`z.config is not a function`.

Declaring the dependency is not enough: npm never installs the
dependencies of a bundled package (checked against the 3.75.0 tarball).
The stager now vendors declared leaf dependencies into the bundled
package's own node_modules, checks the workspace copy satisfies the
declared range, and refuses a dependency that has dependencies itself.

The npx-install smoke now imports every bundled runtime package from the
installed CLI, so this fails CI instead of users.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 08:40:27 -05:00
rUv 4184c5cc24 Merge pull request #4933 from ruvnet/weaver/aidefence-agentdb-store
fix(aidefence): make the documented AgentDB vector store work (3.2.0, 3.2.1)
2026-11-10 00:31:40 -05:00
rUv 6f1acb1e87 Merge pull request #4821 from lj1166/fix/4754-bound-imports-and-join
fix(mcp): bound imports and federation join inputs
2026-11-10 00:16:14 -05:00
rUv a8970c2618 Merge pull request #4829 from MannXo/fix/4748-federation-require-jcs
fix(federation): default signatureMode to require-jcs
2026-11-10 00:16:10 -05:00
rUv cb39f37e18 Merge pull request #4830 from MentaNew/fix/embeddings-init-zero
Fix/embeddings init zero
2026-11-10 00:16:06 -05:00
rUv a3a38378af Merge pull request #4853 from NotZhu/fix/4734-readonly-getentry
fix(memory): make getEntry a read-only path, drop whole-image write (#4734)
2026-11-10 00:16:01 -05:00
rUv 25ac216aed Merge pull request #4879 from NotZhu/fix/transfer-store-download-hardening
fix(transfer): verify pattern downloads against a trusted key and bound size/time
2026-11-10 00:15:57 -05:00
rUv 7a2905f36e Merge pull request #4519 from ruvnet/fix/daemon-queue-supervisor-gate
fix(daemon): the dispatch queue lives in the user's state dir, not the project
2026-11-10 00:02:11 -05:00
randRuFlo b4f55ec56f chore(cli): pin @claude-flow/aidefence 3.2.1 (published)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 22:37:26 -05:00
ruv f9abbf84ca fix(aidefence): no hidden 0.7 similarity floor in searchSimilarThreats (3.2.1)
3.2.0 shipped the AgentDB adapter, but searchSimilarThreats() defaulted
minSimilarity to 0.7. InMemoryVectorStore ignored that value; the adapter
honours it, and MiniLM cosine over regex-source pattern text measures
0.22-0.41. With agentdb installed, default searches and the README example
returned [] (seen in the post-publish smoke test).

- Default minSimilarity is now 0 (ranked, no floor); callers can still pass one.
- The test no longer depends on order: either learned threat type may rank first.
- The README example uses the defaults; it was run against the packed tarball,
  with and without agentdb installed.

agentdb is not a devDependency. CI installs it with --no-save in
aidefence-tests.yml, so the pnpm lockfile is unchanged.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-09 22:11:59 -05:00
rUv d798763259 Merge branch 'main' into fix/daemon-queue-supervisor-gate 2026-11-09 21:46:51 -05:00
rUv 77613cf5ee Merge branch 'main' into fix/4744-helper-integrity 2026-11-09 21:46:49 -05:00
rUv 7f755f80eb Merge pull request #4907 from lj1166/fix/4755-safe-defaults
fix(security): tighten Mongo, handshake and update defaults
2026-11-09 21:46:39 -05:00
rUv b50026394c Merge pull request #4859 from PerryLink/fix/cleanup-preserve-user-data-4833-20261106
fix(cleanup): stop --force from deleting a project's own data/ and memory/, and keep the user's hooks
2026-11-09 21:46:34 -05:00
rUv 6aa97ff6f4 Merge pull request #4877 from PerryLink/fix/providers-test-openai-endpoint-4834-20261107
fix(providers): probe the endpoint saved for openai instead of api.openai.com (#4834)
2026-11-09 21:46:30 -05:00
rUv b348d68b6e Merge pull request #4850 from Tong-bit-art/fix/hive-mind-permissions-default
fix(hive-mind): keep permission prompts on by default
2026-11-09 21:46:25 -05:00
rUv 27f264c87b Merge pull request #4906 from ruvnet/dependabot/npm_and_yarn/v3/claude-flow/browser/agent-browser-0.41.2
chore(deps): bump agent-browser from 0.41.0 to 0.41.2 in /v3/@claude-flow/browser
2026-11-09 21:46:20 -05:00
ruv f6f9a7c0e6 fix(aidefence): make the documented AgentDB vector store work (3.2.0)
The README and createAIDefence JSDoc told users to pass `new AgentDB()` as
`vectorStore`. AgentDB has no store/search/get/delete, so the first
learnFromDetection threw "this.vectorStore.store is not a function".

- Add createAgentDBVectorStore(): imports the optional `agentdb` peer lazily,
  embeds with its EmbeddingService and indexes in its vector backend (async
  methods when the backend is async-only, as RuVector is). Falls back to
  InMemoryVectorStore with one warning when agentdb is missing.
- createAIDefence wraps an AgentDB instance passed as vectorStore, and rejects
  any other object lacking the VectorStore methods at construction.
- Real-import tests against agentdb 3.7.7 (devDependency), verified against the
  ^3.6.0 peer floor too; a fallback test; a CI workflow that runs them.
- Drop the unmeasured "150x-12,500x" / "0.1ms HNSW" AgentDB claims.
- Package metadata: homepage ruv.io, repository/bugs -> ruvnet/ruflo.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-09 21:42:36 -05:00
randRuFlo d8f8b59da6 chore(release): 3.75.0
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 19:37:54 -05:00
r d5cffcba75 Merge remote-tracking branch 'origin/main' into chore/codex-3.0.8
# Conflicts:
#	package-lock.json
#	package.json
#	v3/@claude-flow/cli/package.json
2026-11-09 19:00:12 -05:00
rUv 8976d98ad7 Merge pull request #4928 from ruvnet/fix/2633-project-root-anchor
fix(cli,cli-core): anchor durable state to the project root, not raw cwd (#2633)
2026-11-09 18:59:21 -05:00
randRuFlo ebeb58d8cf chore(codex): release 3.0.8 (single-source dual init #2638, registered tool names #3153); CLI and root pin 3.0.8
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 18:34:18 -05:00
rUv 95358c00ce Merge pull request #4927 from ruvnet/chore/swarm-3.0.5
chore(swarm): release 3.0.5 (QueenCoordinator failover config, #4902)
2026-11-09 18:32:51 -05:00
rUv f959311cc5 Merge pull request #4925 from ruvnet/feat/2638-2640-init-single-source
feat(init): AGENTS.md as the single dual-mode source (#2638); defer to installed plugins (#2640)
2026-11-09 18:32:47 -05:00
randRuFlo c56f57c42d chore(cli): pin @claude-flow/cli-core 3.7.7 (published)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 18:05:01 -05:00
randRuFlo c9b87db61d fix(cli,cli-core): anchor durable state to the project root, not raw cwd (#2633)
Under an agent the Bash tool cwd is sticky, and MCP servers and hooks inherit
it, so process.cwd() is often a subdirectory of the project. Memory, autopilot,
neural and metrics state keyed to it was written under the subdirectory and
never read again: loadState() returned defaults and the learning state
silently started over.

- Extract the #2877 daemon marker walk (nearest Ruflo marker, `.git` hard
  stop, start dir when nothing matches, read-only) into
  cli/src/services/project-root.ts; resolveDaemonProjectRoot and
  isRufloProject delegate to it unchanged.
- getProjectRoot()/anchorToProjectRoot() add the home/filesystem-root guard
  cli-core already applies, so a ~/.claude/settings.json claudeFlow key never
  makes $HOME the project.
- getMemoryRoot(), `memory backup` and `memory distill` resolve memory
  against the project root.
- autopilot-state resolves its state, log, swarm-tasks and checklist paths
  against the project root per call (exported constants stay relative).
- neural checkpoints/patterns, `.claude-flow/memory` patterns, LoRA weights,
  EWC fisher and swarm-activity metrics use the project root.
- cli-core: export isRufloProject/resolveProjectRoot from mcp-tools/types;
  getProjectCwd() keeps CLAUDE_FLOW_CWD precedence, else walks up from
  process.cwd(), falling back to process.cwd() when no marker is found or
  the walk lands on home / a filesystem root. Bump cli-core to 3.7.7.

The CLI pins cli-core 3.7.6, which lacks these exports, so the CLI carries a
copy of the walk; a parity test pins both copies together.

Fixes #2633

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 18:01:12 -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
r 7e9e263ea6 Merge main (incl. #4926) into the memory 3.3.0 branch
Co-Authored-By: RuFlo <ruv@ruv.net>

# Conflicts:
#	v3/@claude-flow/cli/package.json
#	v3/@claude-flow/cli/src/mcp-tools/agentdb-tools.ts
#	v3/@claude-flow/cli/src/memory/memory-bridge.ts
2026-11-09 17:45:58 -05:00
rUv 65db110751 Merge pull request #4926 from ruvnet/feat/4707-agentdb-inventory-tools
feat(cli): read-only AgentDB pattern/skill inventory MCP tools (#4707)
2026-11-09 17:44:41 -05:00
rUv b27598f730 Merge pull request #4921 from ruvnet/feat/2854-host-plugin-installer
feat(cli): plugins host — dual-host Claude Code + Codex marketplace installer (#2854)
2026-11-09 17:44:37 -05:00
rUv 6f44e533bd Merge pull request #4919 from ruvnet/fix/2305-embedding-config
fix(cli): memory path honours .claude-flow/embeddings.json (#2305)
2026-11-09 17:44:33 -05:00
rUv f2fe699728 Merge pull request #4918 from ruvnet/fix/3153-1177-tool-names-start-all
fix(codex): registered tool names in AGENTS.md (#3153); feat(cli): start all (#1177)
2026-11-09 17:44:29 -05:00
rUv 7dfce96333 Merge pull request #4915 from ruvnet/fix/4715-core005-compact-boundary
fix(aidefence): CORE-005 compact matching flags sentence-ending "you are now" (#4715)
2026-11-09 17:44:25 -05:00
randRuFlo b18d051526 chore(swarm): release 3.0.5 for the QueenCoordinator failover config fix (#4902)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 16:45:48 -05:00
randRuFlo be63552467 chore(cli): pin @claude-flow/memory 3.3.0 (published)
memory 3.3.0 carries #4712 (tiered-memory inventory) and #4884 (learning
bridge reopen, merged in from #4910).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 16:44:58 -05:00
randRuFlo 7047eedb1b Merge main into the memory 3.3.0 branch
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 16:42:18 -05:00
randRuFlo 7a28c86cb6 Merge #4910 (learning-bridge reopen) into the memory 3.3.0 branch
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 16:42:18 -05:00
randRuFlo 102296b080 chore(cli): pin @claude-flow/aidefence 3.1.2 (published)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 16:42:09 -05:00
rUv f6fe4199f7 Merge pull request #4923 from ruvnet/feat/1227-memory-scopes
feat(memory): wire AgentMemoryScope into memory store/retrieve/search (#1227)
2026-11-09 16:38:52 -05:00
rUv a4c5303848 Merge pull request #4922 from ruvnet/feat/4852-4851-automemory
fix(helpers): auto-memory resolves @claude-flow/memory itself (#4851); read --all, read-id, dedupe (#4852)
2026-11-09 16:38:48 -05:00
rUv b3e474e512 Merge pull request #4917 from ruvnet/fix/3215-agent-spawn-model-id
fix(cli): let agent_spawn take an exact model id (#3215)
2026-11-09 16:38:43 -05:00
rUv 76ab3a37ca Merge pull request #4914 from ruvnet/fix/4862-aidefence-learn-pii
fix(cli): aidefence_learn no longer records PII feedback as a missed injection (#4862)
2026-11-09 16:38:39 -05:00
randRuFlo 8e79004422 test(cli): assert inventory tools are adjacent, not last (#4712)
PR #4926 also appends tools to agentdbTools; requiring these two to be last would fail whichever PR merges second.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 15:20:07 -05:00
randRuFlo 18ccd1097d test(cli): match agentdb's real CrudValidationError code in #4707 fixtures
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 15:19:00 -05:00
randRuFlo 4f4920b6d4 feat(cli): read-only AgentDB pattern/skill inventory MCP tools (#4707)
Adds agentdb_pattern-list (ReasoningBank.listPatterns), agentdb_skill-list
(SkillLibrary.listSkills), agentdb_skill-get (SkillLibrary.getSkill) and the
count-only agentdb_hierarchical-stats (TieredMemoryStore.getTierStats +
countPersisted). They read through the existing memory-bridge registry under
the bridge operation lease. A missing controller or method returns
success:false, code:'unsupported' naming the method, never an empty list;
native errors (page validation, graph-adapter refusal) keep their own code.

Fixes #4707

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 15:17:48 -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 a4fab2b339 fix(codex): shared instructions use the codex CLI-invocation convention (#2638)
The Codex integration audit forbids `@claude-flow/cli@latest` anywhere in
codex src. The shared-instructions module now takes the CLI prefix as a
parameter: codex defaults to its generators' convention (`npx @claude-flow/cli`,
unversioned, as AGENTS.md already uses), and the CLI passes its own
`@latest` form, so the single-host CLAUDE.md is byte-identical (snapshots
unchanged). finalizeDualInstructions checks AGENTS.md for the codex form.
Both copies of the module stay byte-identical.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 15:14:28 -05:00
randRuFlo 1f6ac3efbd chore(aidefence): bump to 3.1.2 for the CORE-005 compact-boundary fix
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 15:11:04 -05:00