Commit Graph
2385 Commits
Author SHA1 Message Date
randRuFlo eadc4adfe3 fix(cli,plugins): stop plugin-dir walk-ups at the node_modules boundary; drop embeddings hunk
A project-local install lives at <project>/node_modules/@claude-flow/cli, so the
8-level walk-up from import.meta.url used by the testgen/metaharness locators and
doctor crossed node_modules and reached <project>/plugins/ruflo-*, i.e. code the
opened repository supplies. ownInstallAncestors()/ownPluginDirs() now stop at the
first node_modules directory. Source-checkout dev layouts are unaffected.

The @claude-flow/embeddings hunk is dropped from this change: that package cannot
ship from main until its alpha branch is reconciled, so it needs its own change.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 10:45:48 -04:00
Dragan Spiridonov 4c95a6a1b6 fix(cli,plugins): resolve executed optional modules from the tool's own install
The CLI, two MCP tools and two plugin scripts imported or ran code found
relative to the cwd, which is the opened project:
- doctor (metaharness check), `metaharness` command and metaharness MCP
  tools: plugins/ruflo-metaharness/scripts under the cwd;
- testgen MCP tools: plugins/ruflo-testgen/scripts under the cwd, reached
  on every published install because that plugin is not bundled;
- init: <cwd>/node_modules/@claude-flow/codex;
- embeddings: <cwd>/node_modules, <cwd>/../node_modules and a fixed
  /workspaces/claude-flow path for agentic-flow;
- ruflo-ruos ledger: the CLI's mcp-client resolved from the cwd;
- cost-tracker compact.mjs: @claude-flow/integration resolved from the cwd.

Each now resolves from the tool's own install (module location /
createRequire(import.meta.url)), plus the user's marketplace checkout for
the plugin scripts. The project remains the data/scoring target.

Test: optional-module-resolution-trust.test.ts (10 cases, all fail on main).
2026-10-10 10:45:48 -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
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 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
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
Dragan SpiridonovandRuflo & AQE bc14216777 fix(task,console): task_update accepts only the five statuses; a task stored as "complete" is never shown pending or re-dispatched
task_update stored any string as a task's status, so an agent writing
"complete" left a finished task every reader misread: the ruflo-console
Automation kanban listed it under PENDING (offering assign/cancel), and
Mission Control derived it as ready, so nextTask() would hand finished work
to Claude again as a new billed turn.

CLI (mcp-tools/task-tools.ts)
- statusOf(): trimmed, case-insensitive, aliases complete/done/canceled/
  running/in-progress; anything else (incl. "" and prototype keys) is
  refused with the allowed list and the task is left unchanged.
- No schema enum on purpose: the HTTP/WebSocket registry validates enums
  before the handler, which would refuse aliases there but not over stdio.
- Completing through task_update now finishes the task as task_complete
  does (progress 100, completedAt, worker idle and counted once per
  hand-out); cancelling frees workers as failing already did. Worker
  effects run after the task store is saved.

Console
- taskStatusOf() reads the spellings older CLIs already stored; used by the
  kanban lanes and verbs, Mission Control derive (no re-dispatch), mission
  cancel, workflow links and the workflow guide.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-09 15:54:18 +02:00
randRuFlo 133b3a4735 release: re-sign helpers manifest for 3.56.1
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 23:49:19 -04:00
randRuFlo 6ecabbbe42 chore(release): 3.56.1 versions and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 23:48:55 -04:00
rUv 6287f19938 Merge pull request #3901 from rudycelekli/fix/config-reset-section-20261007
fix(config): preserve unrelated sections during targeted reset
2026-10-08 20:42:02 -07:00
rUv f49ddd4f78 Merge pull request #3923 from ruvnet/fix/3918-encrypted-store-rewrite
fix(cli): ensureSchemaColumns no longer rewrites an up-to-date (encrypted) store (#3918)
2026-10-08 20:25:40 -07:00
rUv 9f8e37dac3 Merge pull request #3922 from ruvnet/fix/3919-policy-anchor-home
fix(cli): policy trust mirror/key honour HOME and XDG_CONFIG_HOME (#3919)
2026-10-08 20:25:37 -07:00
rUv 1a84aece9e Merge branch 'main' into fix/config-reset-section-20261007 2026-10-08 20:10:18 -07:00
randRuFlo 6625465a50 fix(cli): ensureSchemaColumns rewrites the store only when something changed (#3918)
The status backfill set modified=true even when the UPDATE touched 0 rows, so
every open of an up-to-date store re-exported and rewrote the whole image; with
encryption at rest each write uses a fresh nonce, so read-only commands such as
'memory stats' changed the RFE1 bytes every call. Gate on getRowsModified().

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 22:50:40 -04:00
randRuFlo 1c10601716 fix(cli): policy trust mirror and key honour HOME/XDG_CONFIG_HOME; guardrail test runs in a scratch project (#3919)
The anchor mirror and trust key were resolved with userInfo().homedir, which
ignores a throwaway HOME, so tests wrote into the developer's real
~/.config/ruflo/policy-trust and later failed closed on a reused path.
Resolve from the environment at call time (XDG_CONFIG_HOME when absolute,
else os.homedir()/.config; legacy location kept for XDG users who already
have trust state there). mcp-client-guardrail.test.ts now uses a scratch
cwd and HOME.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 22:47:14 -04:00
rUv 7ae3a6481e Merge branch 'main' into fix/config-reset-section-20261007 2026-10-08 19:46:50 -07:00
rUv 438f9189fb Merge branch 'main' into fix/config-cli-mcp-interop-20261007 2026-10-08 19:46:47 -07:00
randRuFlo b5f529567e release: re-sign helpers manifest for 3.56.0
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 17:18:42 -04:00
randRuFlo 6991551f8a chore(release): 3.56.0 versions, leaf pins (memory 3.0.2, security 3.0.3), lockfiles, changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 17:17:31 -04:00
randRuFlo 5c49d55c51 chore(cli): drop the empty .claude/agents/tmp.json that shipped in the package tarball
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 17:10:06 -04:00
randRuFlo 67b06b2877 test(cli): resolve the vitest runner via package.json and isolate pnpm NODE_PATH in subprocess fixtures
vitest 4.1.8 does not export ./vitest.mjs, and pnpm's .bin shim exports NODE_PATH with
every workspace dependency, so the optional-package absence guards in the #3904, #3907
and #3910 fixtures failed under 'pnpm test'.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 17:05:25 -04:00
randRuFlo e201290385 style(memory): move append-conditions imports below the file header (#3750 review nit)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-08 16:56:05 -04:00
r fa7e4a966c Merge branch 'pr-3750' into feat/release-3.56.0-batch 2026-10-08 16:55:50 -04:00
r d821c22653 Merge branch 'pr-3498' into feat/release-3.56.0-batch 2026-10-08 16:55:50 -04:00
r be5da99198 Merge branch 'pr-3904' into feat/release-3.56.0-batch 2026-10-08 16:55:50 -04:00
r a52b7877a1 Merge branch 'pr-3505' into feat/release-3.56.0-batch
# Conflicts:
#	v3/@claude-flow/cli/src/mcp-tools/workflow-tools.ts
2026-10-08 16:55:21 -04:00
r 8129a3d6f7 Merge branch 'pr-3495' into feat/release-3.56.0-batch
# Conflicts:
#	v3/@claude-flow/cli/src/mcp-tools/agent-execute-core.ts
2026-10-08 16:55:05 -04:00
r 3fb09bc31c Merge branch 'pr-3528' into feat/release-3.56.0-batch 2026-10-08 16:54:43 -04:00
r aac9d733e2 Merge branch 'pr-3507' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r c2fc22ef1e Merge branch 'pr-3506' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r 9abd649b79 Merge branch 'pr-3502' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r 92c93ae9a8 Merge branch 'pr-3501' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r a187611c17 Merge branch 'pr-3500' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r a6e1cf3d93 Merge branch 'pr-3499' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r 27ed89b06d Merge branch 'pr-3497' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r 77a187aa41 Merge branch 'pr-3496' into feat/release-3.56.0-batch 2026-10-08 16:54:35 -04:00
r 9f2ce096d2 Merge branch 'pr-3494' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r b0e730d07c Merge branch 'pr-3493' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r f6f6d68548 Merge branch 'pr-3492' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r 5668f4c87b Merge branch 'pr-3491' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r e34e742e0f Merge branch 'pr-3490' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r feb362921e Merge branch 'pr-3489' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r 2083853282 Merge branch 'pr-3488' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r 729bb70d5f Merge branch 'pr-3484' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r e3102bec18 Merge branch 'pr-3543' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r 63a252fe9e Merge branch 'pr-3586' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00
r 4a133615c7 Merge branch 'pr-3523' into feat/release-3.56.0-batch 2026-10-08 16:54:34 -04:00