9112 Commits
Author SHA1 Message Date
rUv 72255a2f49 Merge pull request #4049 from ruvnet/release/3.56.5
release: 3.56.5 (cli graph header sniff keeps SQLite locks)
v3.56.5
2026-10-10 19:05:52 -07:00
randRuFlo 19fb5a71de chore(release): 3.56.5 (cli graph header sniff keeps SQLite locks, #4040/#4044); witness regen from a full build
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:52:14 -04:00
rUv 435deabd04 Merge pull request #3992 from ruvnet/fix/console-qa-3979
fix(console): Plugin Catalog names synced mods, changelog WIP lines dropped (part of #3979)
2026-10-10 18:50:20 -07:00
rUv c5e738c02b Merge pull request #3991 from ruvnet/fix/console-confirm-binding-3983
fix(console): bind every confirm route to the card the person saw (fixes #3983)
2026-10-10 18:50:11 -07:00
rUv fe703f0734 Merge pull request #4046 from ruvnet/fix/integration-no-publishconfig-tag
fix(integration): drop publishConfig.tag (3.0.1 landed on v3alpha, not latest)
2026-10-10 18:25:27 -07:00
rUv 1ab960ceea Merge pull request #4044 from ruvnet/fix/graph-header-sniff-4040
fix(memory): header sniff no longer drops live SQLite locks (#4040)
2026-10-10 18:22:48 -07:00
randRuFlo 7dc07480ff fix(integration): drop publishConfig.tag so a stable publish lands on latest
3.0.1 was published with tag v3alpha and latest stayed on 3.0.0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:09:49 -04:00
r 5b53336c97 Merge remote-tracking branch 'origin/main' into fix/graph-header-sniff-4040 2026-10-10 21:09:17 -04:00
randRuFlo 4fce7223f1 chore(console): 0.42.6 version and changelog for #3979
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:00:18 -04:00
randRuFlo ee79a98501 fix(console): Plugin Catalog names a mod loaded by sync whose plugin is not installed; drop work-in-progress and merge lines from the console and mods changelogs (#3979)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:00:18 -04:00
randRuFlo 91aa4eef59 fix(console): bind every confirm route to the card the person saw (#3983), version 0.42.5
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:58:55 -04:00
randRuFlo ec1541fb1b fix(console): bind every confirm route to the card the person saw (#3983)
A typed /ruflo yes answers only the card shown to the person or the card it names (/ruflo yes <id>); Enter again in the terminal, skills and automate fields answers the card the field raised, by id; a Claude call settles only the card it started.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:58:55 -04:00
rUv f6781f1aa7 Merge pull request #4042 from ruvnet/release/3.56.4
release: 3.56.4 (plugin-trust + helper security, MCP/task fixes, Node 24 sqlite)
v3.56.4
2026-10-10 17:58:42 -07:00
randRuFlo 32418ae160 chore(release): regen linux witness from a fully built tree (117/117 verified, no regression)
CI builds every v3 package before verifying and gates on the history diff, so
the manifest must be regenerated from a full build, not a source checkout or a
partial build.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:48:04 -04:00
rUv 9c1750c03a Merge pull request #3985 from proffesor-for-testing/fix/console-stale-confirm
fix(console): expire unanswered confirm cards at 30 s, let Claude withdraw its own ask
2026-10-10 17:38:31 -07:00
randRuFlo 3ad2f4508f chore(release): regen linux witness from a source checkout (18 verified, as CI sees it)
The earlier built-tree regen marked 101 verified; CI checks out source only, so those
markers regressed. Carry forward the same unattested dist entries as 3.56.3.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:30:38 -04:00
randRuFlo 0c7d506029 docs(changelog): 3.56.4 adds #4019 and #3999
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:30:17 -04:00
r 9715c50fb7 Merge main into release/3.56.4 2026-10-10 20:30:01 -04:00
rUv ba26d996bb Merge pull request #4038 from ruvnet/docs/compact-live-validation
docs(mods): compactCarry live canary evidence + ADR-488 compactKeep design
2026-10-10 17:24:01 -07:00
rUv 21953adcb0 Merge pull request #4019 from rudycelekli/fix/mcp-inflight-resource-cache-20261010
fix(mcp): fence stale resource cache writes after invalidation
2026-10-10 17:11:22 -07:00
rUv 97eeb315b9 Merge pull request #3982 from proffesor-for-testing/fix/console-session-workspace
fix(console): session workspace keeps transcript paths out of text answers and reads failures by ADR-486's rules
2026-10-10 17:08:28 -07:00
randRuFlo 41fe2242e5 fix(memory): read the RFE1 header in a bounded child so the sniff cannot drop live SQLite locks (#4040)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:59:36 -04:00
randRuFlo 46dac203d6 chore(release): 3.56.4 linux witness regen from a built tree (101/117 verified)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:58:26 -04:00
rUv ef13569934 Merge pull request #3999 from proffesor-for-testing/fix/security-scan-false-positives
fix(security): scan code patterns without the false positives seen on a real tree
2026-10-10 15:56:52 -07:00
randRuFlo 762400a3a4 chore(release): 3.56.4 version bumps, changelog, helpers re-signed
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:56:17 -04:00
rUv ebea43a793 Merge pull request #3990 from ruvnet/sec/helper-cli-from-helper-root
fix(helpers): resolve the ruflo CLI from the helper root, not the project (replaces #3953)
2026-10-10 15:54:07 -07:00
rUv 7047b8b030 Merge pull request #3949 from ruvnet/fix/helper-module-root-and-session-path
fix(helpers): resolve modules from the helper root and keep session writes in the project
2026-10-10 15:54:03 -07:00
randRuFlo c5e4d40e36 chore(console): 0.42.4 version and changelog for #3984
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:09:17 -04:00
Dragan SpiridonovandRuflo & AQE bde274f845 fix(console): expire unanswered confirm cards at 30 s, let Claude withdraw its own ask
An unanswered confirm card never expired: the Room showed "155s of 30s",
every later Claude console action was refused as "already waiting", Claude
could not withdraw its own ask, and a late Yes was refused anyway ("the
confirm came more than 30 s after the ask").

- A card is cleared at PENDING_TTL_MS (30 s) by a timer registered in
  state.timers (torn down with the controller) or at the next ask/call; one
  Events entry, lastResult "expired: ask again", the Room says expired. The
  window and gates are unchanged; expiry runs nothing; a later Yes is still
  refused.
- ask-withdraw clears only a write-class card Claude raised in its own
  direct console_run (origin id recorded at raise); never the person's,
  deferred, follow-up, spend, install, network or delete cards; at most
  3 withdraws a minute and a 10 s same-label re-ask cooldown.
- A typed /ruflo yes is refused within 3 s of a Claude-raised card or 10 s
  of an expiry/withdraw (press the card itself).
- ADR and skills palette hints say which page to open and how many numbers
  an entry needs.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 18:09:17 -04:00
randRuFlo 9ff0ae3d69 fix(scripts): unbiased canary id generation in the compact live driver (CodeQL)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 17:48:37 -04:00
randRuFlo f9627d8f3b docs(mods): live canary evidence for compactCarry (ADR-451 item 7) and ADR-488 compactKeep design
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 17:48:37 -04:00
randRuFlo 02a0bb4bfa chore(console,mods): console 0.42.3 and mods 0.5.1 versions and changelogs for #3981
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 15:19:36 -04:00
randRuFlo 851c2baa13 test(console): adversarial no-leak check for the session workspace over every view, console_state, palette and failure path (#3981)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 15:19:36 -04:00
Dragan SpiridonovandRuflo & AQE 7c37095729 fix(console): session workspace keeps transcript paths out of text answers and reads failures by ADR-486's rules
- Text answers (console_state, ask-Claude) no longer carry other projects'
  cwd or git branch from session transcripts; group labels use the
  placeholder titles already use. A branch name could carry
  instruction-shaped text into Claude's context.
- "failed" follows ADR-486 §2.3: raised only after the quiet period; a
  permission refusal (Claude Code's exact refusal results) and a Codex
  interrupt are not failures; a seen failure is keyed on the error record's
  own time, so metadata appends do not re-raise it.
- Timestamps are clamped (<= file mtime, <= now + 5 min); stores with future
  stamps or baselines are repaired once on load.
- The 12 MB read budget is one per pass, shared and taken in turns by all
  adapters, reserved before each read and charged the bytes read; never-read
  files are read first-come first-served, then least recently read, so no
  session starves.
- attention.json is rewritten at least every 5 min while the workspace runs,
  failed writes back off (30 s to 5 min), and /ruflo-mods marks an old
  summary stale.
- "Who is here" lists the main session and active or busy agents first, not
  the whole agent store.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 15:19:36 -04:00
rUv ce18551073 Merge pull request #3943 from proffesor-for-testing/fix/console-leftovers-3822-3823
fix(console): bound CLI numbers at the reader, keep unreadable counts visible, and a resume by Claude keeps hand-out counts
2026-10-10 12:19:26 -07:00
rUv 570392602a Merge pull request #3952 from ruvnet/fix/user-settings-pin-home-helpers
fix(init): pin user-level hook and statusline commands to $HOME helpers (security review in PR comments)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 11:54:50 -07:00
rUv fce696e51e Merge pull request #3948 from ruvnet/fix/plugin-registry-trust-fail-closed
fix(plugins): fail closed when the plugin registry is not verified (security review in PR comments)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 11:54:46 -07:00
rUv 3a03b524c2 Merge pull request #3969 from rudycelekli/fix/active100-mcp-task-cancel-20261010
fix(mcp): preserve cancellation when an aborted executor resolves
2026-10-10 11:50:02 -07:00
rUv 3d2c16dd23 Merge pull request #3986 from ruvnet/sec/optional-modules-own-install
fix(cli,plugins): resolve executed optional modules from the tool's own install (replaces #3954; security review in PR body)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 11:44:57 -07:00
rUv 559ccedc34 Merge pull request #3977 from ruvnet/dream/2026-10-10-performance
dream(performance): #3976 fallbackLouvain() communityTotal O(n²)→O(n·deg) incremental fix (evaluated, ACCEPT)
2026-10-10 10:20:24 -07:00
rUv c252cb676f Merge pull request #3980 from Devesh-Maheshwari/fix/status-agents-list
fix(cli): show registered agents in status agents
2026-10-10 09:19:14 -07:00
Dragan SpiridonovandRuflo & AQE 58604dabce fix(security): keep the old command-injection reach; bound the comment stripper
Adversarial review of the first commit (a Claude devil's-advocate agent and three
Codex rounds) found inputs main reports that it dropped, a ReDoS, and quadratic paths.

- Command injection is main's rule again (child_process ... exec), tested after
  comment stripping, so execSync is reported and no execFile shape is exempt: env,
  node -e, python -c, bash.exe, options variables and exec passed as a value were all
  bypasses. The execFile callback regex that backtracked catastrophically is gone.
- Carried block comments continue only through comment-looking lines; regex literals
  are read as code (bounded to 200 chars); '://' is never a comment. Lines are built
  from parts with a 12-char tail, so the stripper is linear.
- SQL placeholders: only param/placeholder names, params/values/args.length, numbers
  and loop letters, in value position, outside single- or double-quoted SQL text, in
  one left-to-right pass that skips escapes. pageNum, userIdx, req.body.length and
  quoted placeholders are reported.
- Spec: 26 tests, including every reviewer input and linear-time checks; each of ten
  source mutations fails at least one test.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 18:13:04 +02:00
rUv c6bb662f0b Merge pull request #3946 from proffesor-for-testing/fix/console-mission-create-transient
fix(console): mission create retries only real lock timeouts, undoes and reads back on abort, reports run outcomes in lastResult
2026-10-10 09:05:38 -07:00
Rudy Celekli 9c23f9f298 fix(mcp): fence cache writes after resource invalidation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-10 11:33:00 -04:00
Dragan SpiridonovandRuflo & AQE 3b4b91fcd5 fix(security): scan code patterns without the false positives seen on a real tree
`ruflo security scan --depth deep` on a 10-repo checkout reported 10 high findings,
all false: `child_process.execFile` named in comments, numbered pg placeholders
(`$${paramCount}`) as SQL injection, and a Playwright report bundle. Mediums
included "retrieval (" read as eval and istanbul/Playwright assets.

- eval needs a word start; window.eval still matches.
- Command injection is any exec/execSync/execFile use (call, ?.(), .call/.apply/
  .bind, ['exec'], passed as a value), except execFile of a literal non-shell
  program with a literal argv and no shell or options variable. execSync, which
  `exec[^S]` skipped, is now reported.
- A counter-shaped pg placeholder where SQL takes a value, outside SQL quotes, is
  not interpolation; quoted or value-shaped `$${...}` still is. The SQL test runs in
  linear time.
- Comment text is stripped before matching (strings respected); a block comment
  carries only from a line-start opener that closes later.
- istanbul prettify/sorter/block-navigation/lcov-report next to a coverage marker,
  and Playwright trace/data next to index.html, are skipped. Folder names are looked
  up in a Map.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 17:30:34 +02: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
randRuFlo 9a70d78e5a chore(console): 0.42.2 version and changelog for #3822 and #3823
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 10:58:58 -04:00
Dragan SpiridonovandRuflo & AQE 31c288db71 fix(console): bound CLI numbers at the reader, keep unreadable counts visible, and a resume by Claude keeps hand-out counts
Leftovers of #3817/#3822 and #3818/#3823.

Numbers from CLI JSON (#3822). JSON.parse('1e999') is Infinity; a count can
also be negative, fractional or absurd. Bounded where read with data/safe.ts
countOf / ratioOf and a new measureOf (finite, within +-1e12):
- secure.ts scanReader: every severity count and the total are at least
  the listed findings, so a summary never reads CLEAN beside a listed
  finding. A count or total the tool printed but no reader can trust stays
  UNKNOWN (SecFindings.unreadable / isTotalUnknown), with the listed
  findings only as its lower bound: "critical ?" / "high ≥2 ?",
  "? findings (total unreadable)", COUNTS UNREADABLE. securityBand() is the
  one rule for the band (views/bar.ts) and the menu badge (menu-style.ts):
  it warns on high/critical ("N+" when anything is unknown) and on any
  unknown count or total. Threat confidence via ratioOf, composition score via measureOf.
  The verdict-exit judgement (#3934, SCAN_FOUND/countsWith) is unchanged.
- Same class swept in perf.ts, mh-lab.ts (labLines cells, gepa chars,
  genome ids, receipts), neural.ts, memory-lines.ts,
  data/evolve.ts, data/research.ts and data/cli.ts.

Mission resume (#3823). setPaused takes who resumed. The mission-resume
palette entry built inside Claude's console_run (state.control.viaModel)
resumes as 'model': hand-out counts are kept and an advisor stop-the-line
is not re-opened, so an exhausted task gets no new billed hand-out. The
person's resume (page buttons, palette, a typed /ruflo run) still gives
every task its hand-outs back.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 10:57:58 -04:00
randRuFlo 72d895a81d fix(helpers): never interpolate a shell-active install-root path; run the delegation smoke from a helper root
The statusline now builds shell command lines from HELPER_ROOT (the checkout's
directory, chosen by whoever made it). A directory named p$(...) was expanded
inside the double-quoted command; shell-active paths are now skipped.

The statusline-generator delegation smoke ran the generated helper from tmpdir,
so with CLI resolution moved to the helper root it fell through to the registry's
published CLI (intelligencePct null). It now writes the helper into a throwaway
helper root whose v3/@claude-flow/cli is the repo's built CLI.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 10:54:15 -04:00
Dragan Spiridonov e625b7104a fix(helpers): resolve the ruflo CLI from the helper root, not the project
A home-level helper or a user-level plugin hook serves every opened project.
hook-handler.cjs and statusline.cjs executed a CLI found under the project
(<cwd>/node_modules/{@claude-flow/cli,ruflo}, <cwd>/v3/...), and every npx
fallback ran with the project as cwd, where npx prefers the project's own
install. The plugin shims also resolved `ruflo` through relative PATH
entries, which resolve against the cwd.

- hook-handler.cjs / statusline.cjs (package and repo copies): candidates
  are built from the helper's install root; for a project-local helper that
  is the project, so its behaviour is unchanged.
- npx fallbacks pass `--prefix <helper root>` (generated hook-handler and
  ruflo-hook.cjs too) or, in the plugin shims, `--prefix <plugin data dir or
  home>`. The spawned CLI still runs with the project as its cwd.
- ruflo-hook.cjs (all four copies): relative/empty PATH entries are skipped.

Test: helper-cli-resolution-trust.test.ts (11 cases, 10 fail on main);
hook-handler-artifact-parity follows the npx args into cliSpawnArgs().

The signed helpers changed, so the helpers manifest needs re-signing.
2026-10-10 10:51:22 -04:00