9202 Commits
Author SHA1 Message Date
rUv 5905d40b8b Merge pull request #4066 from ruvnet/release/3.56.6
release: 3.56.6
v3.56.6
2026-10-11 09:40:27 -07:00
rUv 0f1a342b11 Merge pull request #4065 from ruvnet/plugins/review-group-d
fix(plugins): review of 9 plugins (group D), verified against the real CLI/MCP
2026-10-11 09:29:31 -07:00
rUv 989c2818c6 Merge pull request #4062 from ruvnet/plugins/review-group-b
fix(plugins): group B skills and agents use real CLI flags and MCP parameter names
2026-10-11 09:20:38 -07:00
rUv 518485e1e6 Merge pull request #4064 from ruvnet/review/plugins-group-c
review(plugins): group C — fix docs that don't match the real CLI/MCP/tools, harden unsafe flows
2026-10-11 09:12:09 -07:00
randRuFlo 1a6e95ff4b chore(release): 3.56.6 (Windows hooks via node -e, SessionStart risk scanner, trajectory feedback, cli-core 3.7.1 / shared 3.0.3 pins); witness regen from a full build
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 12:06:55 -04:00
rUv 8137b3d2f6 Merge pull request #4061 from ruvnet/batch/rudycelekli-fixes
fix: reviewed batch from rudycelekli (cli-core 3.7.1, shared 3.0.3, ruflo-adr 0.5.5)
2026-10-11 09:03:12 -07:00
randRuFlo bb6a958c53 fix(plugins): review of 9 plugins (group D) - verified against the real CLI/MCP, bump versions
Checked every CLI command, flag and MCP tool the skills tell the model to use
against ruflo 3.56.5 and the tool registry. Fixed what was false:

- workflows 0.6.6: MCP tool names with underscores that do not exist; gaia-bench
  has no --dry-run/--task-id (unknown flags are ignored, so the documented cost
  estimate started a billed run); opt-in guard for native workflows; stale smoke
- security-audit 0.3.4: non-existent `security report`, wrong `audit` usage,
  scan depth table that described phases the scanner lacks; --fix gated
- swarm 0.3.7: `swarm watch/health/shutdown` do not exist; swarm-watch.mjs poller
- rag-memory 0.3.5: `ruflo recall`/`memory bridge` do not exist; shell-quoting
  of user text in /recall
- testgen 0.3.2: tdd-repair now enforces that the test is not edited; shell
  quoting; invalid --limit
- rvf 0.3.6: export went through the public IPFS marketplace; now memory export
- ruvllm 0.3.4: provider claims and persistence claims corrected
- observability 0.3.4: no invented traces when nothing wrote spans
- plugin-creator 0.4.3: required plugin.json fields and tool existence check

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:33:24 -04:00
r 80575f3255 Merge origin/main into review/plugins-group-c 2026-10-11 11:33:09 -04:00
RuFlo 06756fbf70 review(plugins): group C — fix claims that do not match the real CLI/MCP/tools, harden unsafe flows
Verified every CLI flag, MCP tool parameter and neural-trader flag these plugins
tell the model to use against @claude-flow/cli 3.56.5 (--help and MCP schemas) and
neural-trader 2.8.11 (run offline), and fixed what was false:

- intelligence: neural_train needs modelType (no patternType/--pattern-type; CLI
  flag is --pattern), hooks_model-outcome/trajectory-end/pretrain/build-agents/
  explain parameters, mcp tool call -> mcp exec, microlora has no consolidate;
  intelligence-transfer rewritten (hooks_transfer only copies from a local
  project; marketplace is hooks transfer store ..., PINATA_API_KEY/SECRET, PII
  scan + confirmation before publish).
- loop-workers: CronCreate takes {cron,prompt,recurring} and is session-scoped
  (7-day expiry), ScheduleWakeup needs prompt, 270s heartbeat qualified by TTL.
- market-data: candles were routed to the ~11-pattern ruvllm_hnsw router;
  untrusted-feed rules; no order placement.
- neural-trader: many documented flags answer "Unknown command" in 2.8.11; several
  handlers return demo output; backtests/signals use synthetic bars without
  --live; backtest signing now refuses non-live data; live/broker path and
  circuit-breaker claims corrected; signal TTL used a non-existent expiresAt.
- iot-cognitum: pin the fleet CLI instead of @latest; confirmation gates for
  firmware deploy/advance/rollback and fleet delete.
- migrations: confirmation/dry-run/validate gates before migrate up/down.
- music: bearer token only sent to music.cognitum.one; pin cogmusic@0.1.1; token
  never enters the transcript.
- jujutsu: analyze_diff* take a ref, not diff text; gate PR merge/close/create.
- knowledge-graph: align relation weights with kg-extract.
- Removed the invalid post-task --train-neural flag everywhere in these plugins.

Plugin versions bumped (marketplace users only receive changes after a bump):
intelligence 0.4.3, loop-workers 0.3.4, market-data 0.3.4, neural-trader 0.3.5,
iot-cognitum 0.3.3, jujutsu 0.3.4, knowledge-graph 0.3.4, migrations 0.3.4,
music 0.2.4. metaharness reviewed, no change needed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:33:03 -04:00
randRuFlo ac583cd342 fix(plugins): group B skills and agents use real CLI flags and MCP parameter names
Verified every CLI flag and MCP call example in ruflo-core, cost-tracker, daa,
ddd, deepseek-harness, docs, federation and goals against the published CLI
(3.56.5) and the tool schemas in source:

- hooks post-task has no --train-neural (8 agents/skills); neural train takes
  --pattern, not --pattern-type; hooks worker dispatch takes --context, not
  --scope (docs scoping was silently ignored).
- agentdb_* examples used non-existent parameters (semantic-route query ->
  input; causal-edge from/to/type -> sourceId/targetId/relation; hierarchical
  store/recall path/data/depth -> key/value/tier and query/topK; pattern-search
  limit -> topK; context-synthesize sources -> maxEntries); ddd skills used a
  CLI-style --parent/--child form that failed on required key/value. The
  researcher agent now follows edges with graph-query/graph-pathfinder.
- hooks_worker-status has no worker filter; cost docs now filter the result.
- dossier-collect/investigator fetch web content: add untrusted-content rules
  and AIDefence screening. deepseek skills state the data egress.
- Stale smoke/tool/command counts and four dead relative links fixed.

Patch-bumps each changed plugin with a CHANGELOG entry.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:26:09 -04:00
rUv e9e27ca604 Merge pull request #4053 from ruvnet/dream/2026-10-11-security
dream(security): #4052 wire settings.json risk scanner into the automatic SessionStart hook (evaluated, ACCEPT-scoped)
2026-10-11 08:25:34 -07:00
randRuFlo 8c14d4d134 chore(lock): root package-lock follows the cli-core 3.7.1 / shared 3.0.3 pins
Both are published, so npm ci resolves them from the registry.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:21:44 -04:00
randRuFlo 66b42ec532 fix(security): linear-time encoded-powershell match (repeated-token case was quadratic) in both scanners; re-sign helpers
Refs #4052, #4053.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 10:52:06 -04:00
r b40e8053ce Merge main into dream/2026-10-11-security 2026-10-11 10:49:55 -04:00
rUv 47ad62e5af Merge pull request #4054 from ruvnet/fix/win-hooks-4045
fix(init): Windows hooks launch through node -e, not cmd /c (#4045)
2026-10-11 07:48:54 -07:00
randRuFlo b662966540 chore: bump cli-core 3.7.1, shared 3.0.3, ruflo-adr 0.5.5 for the reviewed rudycelekli batch
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 10:46:01 -04:00
r 21622f6769 Merge branch 'pr-4026' into batch/rudycelekli-fixes
# Conflicts:
#	v3/@claude-flow/cli-core/src/output.ts
2026-10-11 10:45:32 -04:00
r 665808183b Merge branch 'pr-4037' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 17ecf82cf9 Merge branch 'pr-4035' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 6f36161c7e Merge branch 'pr-4030' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r e2384d4e6e Merge branch 'pr-4029' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r ffd66d59fc Merge branch 'pr-4028' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 29b5574fd0 Merge branch 'pr-4025' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 78cd445550 Merge branch 'pr-4024' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 33af710814 Merge branch 'pr-4023' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 096643f123 Merge branch 'pr-4033' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 18ed76d3e0 Merge branch 'pr-4032' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r af5b6b92c6 Merge branch 'pr-4022' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r cc44e3248c Merge branch 'pr-4021' into batch/rudycelekli-fixes 2026-10-11 10:45:18 -04:00
r 2940c91fcd Merge branch 'pr-4020' into batch/rudycelekli-fixes 2026-10-11 10:45:18 -04:00
rUv 325ee58359 Merge pull request #4050 from ruvnet/fix/codex-swarm-hook-manifest-3688
fix(ruflo-swarm): add host-specific no-op manifest for native Codex hook discovery
2026-10-11 07:44:33 -07:00
rUv dfb5f63554 Merge pull request #4048 from Devesh-Maheshwari/fix/codex-ledger-attribution
fix(cost-tracker): preserve Codex usage ownership
2026-10-11 07:33:38 -07:00
ClaudeandRuFlo 25f26f5e3e fix(security): address review — linear-time regex, drop snippet from automatic-boot stdout
Two findings from ruvnet's review on #4053:

1. The powershell/-EncodedCommand pattern (`\s+.*-e(...)`) backtracks
   quadratically on hostile input -- measured ~1.9s on 64,000 spaces with no
   match; a 1MB hook command would stall session-restore (an unconditional
   boot path) for minutes. Rewritten as a linear token-walk
   (`(?:\S+\s+)*?`), confirmed <5ms on a 1MB hostile input while still
   matching real EncodedCommand payloads. Fixed in both the CJS mirror and
   the shared TS original (settings-risk-scanner.ts), since the TS version
   is already live via init/--upgrade.

2. scanSessionStartSettingsForRisk()'s warnings included up to 120 chars of
   the matched hook-command snippet -- but session-restore's stdout is read
   back into the live Claude Code session as context, unlike init/--upgrade
   where a human reads the terminal directly. Printing attacker-controlled
   settings.json content into that context is a prompt-injection path even
   with control characters stripped. The automatic-boot path now prints
   only the scanner-generated location + reason, never the snippet;
   srFormatRiskFindingsAsWarnings (snippet included) is unchanged for
   init/--upgrade's human-facing output.

New tests: a 1MB ReDoS timing guard, a snippet-leak regression guard, and a
real-payload-still-detected check after the regex rewrite. 75/75 related
tests pass.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01HW4yuGGcrCy4CcPgQ7Q2dx
2026-10-11 13:38:47 +00:00
rUv 71b58843a8 Merge pull request #4034 from rudycelekli/fix/adr-directory-cycle-scan-20261010
fix(adr): visit each real directory once during scanning
2026-10-11 06:32:33 -07:00
rUv 4ccab79df0 Merge pull request #4027 from rudycelekli/fix/adr-context-end-anchor-20261010
fix(adr): preserve end-of-file context and literal Z characters
2026-10-11 06:31:59 -07:00
rUv 9723fa33ea Merge branch 'main' into fix/circuit-breaker-completion-window-20261010 2026-10-11 06:31:52 -07:00
rUv 9ad0743e11 Merge branch 'main' into fix/circuit-breaker-stats-date-snapshots-20261010 2026-10-11 06:31:50 -07:00
rUv 37d78d6a17 Merge branch 'main' into fix/json-memory-expired-key-reuse-20261010 2026-10-11 06:31:48 -07:00
rUv f7f7a81471 Merge branch 'main' into fix/json-memory-substring-results-20261010 2026-10-11 06:31:46 -07:00
rUv 0c08382cc6 Merge branch 'main' into fix/rvf-record-owned-snapshots-20261010 2026-10-11 06:31:44 -07:00
rUv 9b83e11f33 Merge branch 'main' into fix/rvf-initialize-retry-indexes-20261010 2026-10-11 06:31:42 -07:00
rUv 3ab24929e3 Merge branch 'main' into fix/rvf-zero-limit-pagination-20261010 2026-10-11 06:31:39 -07:00
rUv 13a72e50ef Merge branch 'main' into fix/output-colored-header-widths-20261010 2026-10-11 06:31:38 -07:00
rUv fd35e71d8a Merge branch 'main' into fix/output-table-padding-width-20261010 2026-10-11 06:31:35 -07:00
rUv 19c59a2a40 Merge pull request #4051 from ruvnet/fix/3662-stepful-trajectory-feedback-indexing
fix(hooks): index trajectory-end feedback even when steps were recorded (#3662)
2026-10-11 06:31:35 -07:00
rUv 3450d0ce13 Merge branch 'main' into fix/output-empty-progress-20261010 2026-10-11 06:31:33 -07:00
rUv 715b80f0bd Merge branch 'main' into fix/json-memory-utf8-size-20261010 2026-10-11 06:31:31 -07:00
randRuFlo a606b3cfeb fix(init): Windows hooks launch through node -e, not cmd /c (#4045)
Under Git Bash MSYS rewrote the /c of the generated cmd /c IF EXIST hook, so cmd
started interactively, executed the hook's stdin JSON and created zero-byte files
from text after a >. The Windows hook is now a single node -e with no cmd, no
%VAR%, and none of < > | & $ or inner double quotes. It keeps the project-first
then user-profile fallback (#1943), user scope never reads the project, and the
helper runs as a child with inherited stdio so stdin and the exit status pass
through. pinToUserHelpers recognises the new form (exact match only) as well as
the old ones.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 09:31:30 -04:00
rUv b5ad35cb9c Merge branch 'main' into fix/json-memory-entry-envelope-20261010 2026-10-11 06:31:29 -07:00
rUv 342ad839bb Merge branch 'main' into fix/json-memory-transaction-snapshots-20261010 2026-10-11 06:31:28 -07:00