720 Commits
Author SHA1 Message Date
rUvandr 973d0ab497 release: 3.62.0 (#4469)
Co-authored-by: r <r@x>
2026-10-24 19:46:31 -04:00
rUvandr e6c3743ef1 release: 3.61.1 (#4453)
Patch release: ruflo-console 0.48.0 (ruRE outside-folder allowlist, ADR-499) reaches ruflo tui users.

Co-authored-by: r <r@x>
2026-10-24 00:52:47 -04:00
rUvandr 52884d98aa release: 3.61.0 (#4450)
Minor release: rure_analyze_cuda (CUDA fatbin/cubin/PTX static analysis), ruflo-console 0.47.0 CUDA row, zod advisory fix.

Co-authored-by: r <r@x>
2026-10-23 23:28:30 -04:00
rUvandr af6c74b3bc release: 3.60.1 (#4437)
* release: 3.60.1

Patch release: cleanup --keep-config fix (#4435) and ruflo-console 0.45.1 Windows writes (#4434).

Co-Authored-By: RuFlo <ruv@ruv.net>

* docs(changelog): 3.60.1 includes #4436

Co-Authored-By: RuFlo <ruv@ruv.net>

* docs(changelog): fix escaped backslashes

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-23 14:52:53 -04:00
rUvandr 7402c321a5 release: 3.60.0 (#4431)
* chore(release): @claude-flow/hooks 3.0.2, @claude-flow/mcp 3.1.2

hooks: restart-timer cancellation on stop (#4413), dedup count (#4415), non-blocking fallback embeddings (#4422).
mcp: unguessable session ids (#4418).

Co-Authored-By: RuFlo <ruv@ruv.net>

* release: 3.60.0

@claude-flow/cli, claude-flow and ruflo to 3.60.0 (minor: new MCP tools — the six rure_* reverse-engineering tools).
@claude-flow/mcp pin to 3.1.2 (published standalone: unguessable session ids).

Co-Authored-By: RuFlo <ruv@ruv.net>

* docs(changelog): 3.60.0

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-23 13:20:20 -04:00
rUvandr 1b31914579 feat(ruflo-rure): new reverse-engineering plugin, Phase 1 (JS/Electron static analysis) (#4396)
* docs(ruflo-rure): ADR-0001 scope/dual-use policy, ADR-0002 Phase 1 architecture

Fixes #4395 (part 1 — research/planning phase)

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(ruflo-rure): Phase 1 implementation — JS/Electron static analysis

Implements the plugin scaffold (manifest, skill, command, agent, smoke
test, benchmark) and the three Phase 1 MCP tools per ADR-0001/0002:

- rure_extract_asar: resource-capped .asar extraction via @electron/asar,
  checking the archive header's declared size/file count before writing
  anything (decompression-bomb guard).
- rure_analyze_js_app: TypeScript-compiler-API-based static analysis —
  import/export graph, Electron process-boundary detection (ipcMain/
  ipcRenderer/contextBridge, require("electron"), nodeIntegration flags),
  every finding evidence-sourced to file + line range.
- rure_find_feature: deterministic lexical/structural feature search,
  explicitly not semantic/LLM matching.

Every extracted string is routed through the AIDefence content gate
before being returned; flagged content is redacted, never dropped
silently. Parses only — never executes analyzed code, independently
verified by scripts/smoke.mjs grepping the real source (comments
stripped first, so the doc comment describing the property can't trip
its own check).

27 new tests, all passing. Typecheck clean. Tool-description audit
(ADR-112) clean. Benchmark: ~3.6k-18k files/s on a synthetic Electron
bundle (plugins/ruflo-rure/scripts/benchmark.ts).

Trust tier: experimental. Marketplace/directory submission is a
separate, explicit decision, not part of this change (ADR-0001).

Part of #4395.

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(console): add ruflo-rure to the plugin map (devtools section)

Every plugin directory needs a line in PLUGIN_MAP or the console's own
plugin-coverage test fails. ruflo-rure lands in devtools, same section
as the other inspection/analysis plugins (ruflo-browser, ruflo-jujutsu,
ruflo-testgen).

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-rure): fix CI failures — real deps, capability-brain classification

Three real bugs surfaced by PR #4396's CI, not flakes:

- typescript was only a devDependency of @claude-flow/cli, but
  src/rure/ts-walk.ts needs it at runtime. Moved to dependencies.
  (CI: "Cannot find package 'typescript'" in a from-source install.)
- @claude-flow/aidefence was never declared as a dependency of
  @claude-flow/cli at all (only resolvable locally via monorepo
  hoisting), so the AIDefence gate silently no-op'd in CI's isolated
  install. Added as an optionalDependency, matching the existing
  graceful-degradation code path and the browser_act precedent this
  also fixes.
- capability-brain.ts classified every registered MCP tool into a
  domain by prefix; the three new rure_* tools had no domain, so
  guidance-brain.test.ts's "classifies every live registered tool"
  assertion failed. Added a 'reverse-engineering' domain (experimental
  maturity, matching ADR-0001's trust tier) and its package-owner
  lookup entry.

All 35 rure + guidance-brain tests pass; typecheck clean;
audit-tool-descriptions and audit-cli-mcp-tools clean.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-rure): revert @claude-flow/aidefence optionalDependency, mock it in tests instead

Reverts the optionalDependency added in 2570cf39d — it's on the #2561
forbidden-heavy-optionalDependencies list (CI's "Enforce CLI + ruflo
optionalDependencies budget" guard caught it): adding it back to
@claude-flow/cli regresses the cold `npx -y @claude-flow/cli@alpha
--version` startup time that #2561 fixed.

gateWithAIDefence's dynamic import was always meant to be speculative
— present only if something else in the install graph happens to pull
it in, same as the existing (unexported) copy in
browser-intent-tools.ts, which never declares it as a dependency
either. The real fix for "my tests need deterministic flagging
behavior" is mocking the module boundary, not forcing the real
optional package to be installed. Both rure-aidefence-gate.test.ts and
rure-tools.test.ts now vi.mock('@claude-flow/aidefence', ...), matching
the precedent in issue-2670-security-defend.test.ts. Added one more
test asserting graceful pass-through (not a thrown error) when the
module genuinely isn't resolvable.

36/36 rure + guidance-brain tests pass; typecheck clean; CLI
optionalDependencies back to 12 (budget 13), no forbidden entries.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-rure): alias typescript/@electron/asar in the isolated analyze-command test

analyze-json-output.test.ts runs analyzeCommand in a fully isolated temp
directory (scrubbed PATH/HOME/TMPDIR, no real node_modules reachable),
resolving only the handful of packages it explicitly aliases to this
package's own resolved paths (vitest, semver, bcryptjs, zod, plus the
cli-core/security source trees). The capability-brain / mcp-tools
registry analyzeCommand transitively loads now reaches rure-tools.ts,
so the same treatment is needed for its two real dependencies:
typescript (compiler API, src/rure/ts-walk.ts) and @electron/asar
(src/rure/extract-asar.ts) — both aliased to requireHere.resolve(...),
matching the existing zod/semver/bcryptjs pattern exactly. This is the
sanctioned mechanism this test already uses for a dependency it
genuinely needs to execute; it's unrelated to the heavy-package
absence assertions earlier in the same file (ruvector, agentic-flow,
@huggingface/transformers, etc.), which stay untouched.

20/20 analyze-json-output tests pass; full rure + guidance-brain suite
(56 tests) passes alongside it in the same run.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-rure): memoize the aidefence module resolution, make gateAll sequential

CI's "Test V3 Packages" job reproducibly failed exactly one test —
gateAll's "preserves order and length across mixed benign/flagged
input" — twice, while every other mock-dependent test in the same file
passed both times. gateAll was the only caller that resolves
@claude-flow/aidefence via several concurrent gateWithAIDefence calls
(Promise.all over the input array); every other test calls it once.
In CI, @claude-flow/aidefence is genuinely absent from node_modules
(confirmed by this job's own "@claude-flow/aidefence not loadable"
log line elsewhere in the same run) — unlike this dev environment,
where it's pnpm-hoisted and physically present, just mocked over.

Fix: memoize the dynamic import behind a single shared promise, so
concurrent callers all await the same resolution attempt instead of
each firing their own against a module vi.mock has to intercept
without a real file backing it. Also made gateAll sequential as
defense in depth — gating is cheap, and there's no reason multiple
calls need to race the first-ever resolution attempt at all.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-rure): add @electron/asar to the root package.json for CI's Test Suite job

Root CI's "Test Suite" job never installs v3/'s own pnpm workspace —
it runs `npm ci` at repo root only, then runs vitest from repo root
against v3/@claude-flow/cli/__tests__/*. Module resolution for those
test files walks up from v3/@claude-flow/cli (no node_modules there in
this job) through v3/ (also none) to the repo root's node_modules,
which is why `typescript` already resolved (already a root
devDependency, for an unrelated reason) while `@electron/asar` did
not (never referenced anywhere in the root tree before this).

Added @electron/asar to the root dependencies, matching how zod/ws
are already placed there for the same reason, and regenerated
package-lock.json. The regen also synced two pieces of real,
pre-existing lockfile staleness this surfaced: the recorded root
version (3.58.0, several releases behind the actual 3.59.17) and a
leftover `toml` dependency entry (removed from package.json before
this PR, but never swept from the lockfile until this install).

Verified against CI's actual invocation shape: `node
node_modules/vitest/vitest.mjs run v3/@claude-flow/cli/__tests__/rure-*`
from repo root, not just the v3-workspace-scoped `npx vitest run` I'd
been using to verify until now.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-rure): lazy-load the TypeScript compiler instead of a top-level import

ts-walk.ts statically imported `typescript` at module scope. Since
rure-tools.ts is registered into mcp-client.ts's shared tool list, every
CLI invocation loaded the full TypeScript compiler into memory at
startup, not just commands that use ruRE — the same failure shape as the
#2561 cold-start regression (@claude-flow/aidefence).

This also explains three straight CI failures on the exact same file
(mods-cli-bin.test.ts, which exec's the built CLI's `init` through
execFileSync): the heavier startup made it the most likely victim of the
repo's known tinypool worker-crash flake under CI's resource limits.

Fix: import type-only `typescript` for AST types, and lazy-load the real
module (memoized) inside analyzeModuleSource, matching the pattern
already used by aidefence-gate.ts and extract-asar.ts. This makes
analyzeModuleSource/analyzeJsApp/findFeature async; updated their two
call sites in rure-tools.ts and the benchmark script, plus the test
files's call sites.

Verified: `node bin/cli.js --version` succeeds with node_modules/typescript
physically removed (previously would have crashed), confirming the
compiler is no longer loaded on every invocation.

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-22 17:45:55 -04:00
rUvandr f5af26322b release: 3.59.17 (#4393)
fix(init): stop advertising a memory path the runtime ignores (#4392)

Co-authored-by: r <r@x>
2026-10-22 09:20:12 -04:00
rUvandr d5c341f853 release: 3.59.16 (#4391)
Co-authored-by: r <r@x>
2026-10-22 07:18:56 -04:00
rUvandr 450f653c90 release: 3.59.15 (#4383)
Co-authored-by: r <r@x>
2026-10-22 03:58:44 -04:00
rUvandr 88bdc9a63e release: 3.59.14 (#4375)
Bumps @claude-flow/cli, claude-flow, and ruflo to 3.59.14, carrying:
- fix(mcp): let memory tools target an explicit store (#4350)
- fix(cli): report every stored workflow in workflow_list total, not just the limited page (#4372)

Co-authored-by: r <r@x>
2026-10-22 00:30:50 -04:00
rUvandr 056a11ece4 release: 3.59.13 (#4370)
Bumps @claude-flow/cli, claude-flow, and ruflo to 3.59.13, carrying:
- fix(claims): anchor MCP claims store to project cwd (#3210)
- fix(hooks): resolve globally-installed ruflo before falling back to npx (#3368) (#4368)

Co-authored-by: r <r@x>
2026-10-21 17:56:09 -04:00
rUvandr c76465410e release: 3.59.12 (#4367)
Ships #3341 (restores the `ruflo pair` command the bundled
pair-programming skill has depended on since v2 — every project with
that skill previously hit "Unknown command: pair" when activating any
mode).

Co-authored-by: r <r@x>
2026-10-21 16:44:24 -04:00
rUvandr 0e7696e6dc release: 3.59.11 (#4364)
Ships #4362 (appliance build/sign/update: read the parser's camelCase
flag keys instead of the raw kebab-case strings, same bug class as
#4330/#4349/#4353 in 3.59.10).

Co-authored-by: r <r@x>
2026-10-21 15:32:49 -04:00
rUvandr 2e0036af62 release: 3.59.10 (#4363)
Ships #4330 (Windows ADR path indexing), #4349 (daemon start
--max-cpu-load/--min-free-memory/--no-distill flag keys), and #4353
(init --no-signup enrollment prompt skip).

Co-authored-by: r <r@x>
2026-10-21 14:09:45 -04:00
rUvandr 588ef6b36e release: 3.59.9 (#4360)
Bundles two merged fixes:
- #4357: removed an unused toml dependency carrying two unpatched
  high-severity CVEs (GHSA-82x6-q7mm-w9cf, GHSA-v5mp-jgw5-2x6j).
  @iarna/toml is the TOML parser actually used; toml had zero
  require/import sites in the codebase.
- #4359: picked up @metaharness/darwin@0.12.1, which fixes the
  contrastive development loop's timeoutMs restarting per callback
  instead of enforcing one deadline across a round (metaharness#424).

Co-authored-by: r <r@x>
2026-10-21 12:29:02 -04:00
rUvandr d8832d5512 fix(security): remove unused toml dependency with unpatched high-severity CVEs (#4357)
toml@3.0.0 was declared as a direct dependency in three manifests
(root package.json, @claude-flow/cli, @claude-flow/codex) but never
imported anywhere in the codebase — @iarna/toml is the TOML parser
actually used (e.g. @claude-flow/codex/src/dual-mode/orchestrator.ts).

Confirmed via a real consumer install (`npm install ruflo@3.59.8` in
a scratch project) that toml reaches end users through this unused
dependency, carrying two unpatched high-severity advisories with no
non-breaking fix available:
- GHSA-82x6-q7mm-w9cf (Uncontrolled Recursion)
- GHSA-v5mp-jgw5-2x6j (Prototype Pollution via __proto__ key-path
  desynchronization)

Since the dependency is dead weight, removing it is strictly safer
than bumping to a breaking major version of a package nothing calls.

Co-authored-by: r <r@x>
2026-10-21 11:38:05 -04:00
rUvandr 33c3e15d57 release: 3.59.8 (#4355)
Bundles two merged fixes:
- #4351: memory_delete / purgeNamespace now scrub the tombstone payload
  (content, embedding, tags, metadata) instead of leaving it recoverable,
  and enable PRAGMA secure_delete on the sql.js and native delete paths.
- #4354: config_list's default-scope merge loop no longer short-circuits
  the explicit scope's own precedence branch, so a value set only at a
  non-default scope stops being silently dropped in the default view.

Co-authored-by: r <r@x>
2026-10-21 09:46:35 -04:00
rUvandr 51d42418bd release: 3.59.7 (#4345)
Bundles PR #4343 (policy lock fails fast on path errors instead of
timing out). acquireLock() treated every openSync() error as lock
contention, so a permission error, missing parent directory, or a
directory/symlink/FIFO planted at the lock path waited the full 5s
lock budget on every MCP tool call before surfacing a misleading
policy-state-lock-timeout. The create now uses O_NOFOLLOW (where
supported) to close the create-through-a-symlink path; ELOOP and
any non-EEXIST errno surface immediately; an EEXIST path is lstat'd
and a non-regular target (directory/FIFO/symlink) fails immediately
rather than being treated as a reclaimable lock. Live/dead regular-
file lock handling is unchanged.

Validated before tagging:
- audit-umbrella-version-lockstep.mjs: ok (all three at 3.59.7, ruflo pins cli)
- audit-leaf-versions-published.mjs: ok (4/4 non-bundled leaves resolve on the registry)
- pnpm -r build: all 25 workspace packages build clean (one transient
  tsc segfault on @claude-flow/cli, confirmed non-reproducing on retry)
- policy-lock-dead-owner.test.ts, memory-export-path-3196.test.ts,
  distill-both-stores-3446.test.ts, hive-mind-init-persist-contract.test.ts,
  memory-list-teardown-3226.test.ts, task-cancel.test.ts,
  task-status-header.test.ts, tui-command.test.ts: 59 passed, 3 skipped

Co-authored-by: r <r@x>
2026-10-21 02:50:43 -04:00
rUvandr a00b2855e5 release: 3.59.6 (#4342)
Bundles PR #4341 (memory export can target an explicit store,
#3196): memory export was the only primary memory subcommand
without --path, and memory_export had no dbPath input, so a
specific snapshot (agentdb-memory.db, an archive, a restored
backup) could not be exported from the CLI. An explicit dbPath
is now a true single-store read: it does not initialize or merge
the sibling default store. Default (no --path) behavior is
unchanged.

Validated before tagging:
- audit-umbrella-version-lockstep.mjs: ok (all three at 3.59.6, ruflo pins cli)
- audit-leaf-versions-published.mjs: ok (4/4 non-bundled leaves resolve on the registry)
- pnpm -r build: all 25 workspace packages build clean
- memory-export-path-3196.test.ts, distill-both-stores-3446.test.ts,
  hive-mind-init-persist-contract.test.ts, memory-list-teardown-3226.test.ts,
  task-cancel.test.ts, task-status-header.test.ts, tui-command.test.ts:
  37 passed, 3 skipped

Co-authored-by: r <r@x>
2026-10-21 00:51:30 -04:00
rUvandr 5f5f5941b5 release: 3.59.5 (#4339)
Bundles PR #4338 (memory distillation now covers both project
stores, #3446): memory distill run and the daemon's consolidate
worker previously resolved only memory.db, which in an MCP-only
project often lacks the AgentDB target tables, so every tick
skipped while the actual corpus accumulated un-distilled in the
sibling agentdb-memory.db. Both stores are now resolved and
distilled (a per-store failure can't block the other); an explicit
--db still pins a single store.

Validated before tagging:
- audit-umbrella-version-lockstep.mjs: ok (all three at 3.59.5, ruflo pins cli)
- audit-leaf-versions-published.mjs: ok (4/4 non-bundled leaves resolve on the registry)
- pnpm -r build: all 25 workspace packages build clean
- distill-both-stores-3446.test.ts, hive-mind-init-persist-contract.test.ts,
  memory-list-teardown-3226.test.ts, task-cancel.test.ts,
  task-status-header.test.ts, tui-command.test.ts: 34 passed, 3 skipped

CI note: PR #4338's Test Suite (ubuntu-latest) needed 5 re-runs before
passing, each failure on a different file unrelated to the PR's diff
(mods-cli-bin.test.ts, swarm-status-id-and-stop.test.ts,
missions/store-replay.test.ts) — pre-existing CI flakiness, not a
regression from this change. Documented on issue #4307.

Co-authored-by: r <r@x>
2026-10-21 00:14:43 -04:00
rUvandr a4b8162c45 release: 3.59.4 (#4337)
Bundles PR #4336 (hive-mind_init honors its advertised persistence
contract): declares maxAgents/memoryBackend/persist in the MCP schema,
validates all input before any filesystem write, skips saveHiveState()
and the bootstrap-secret write entirely when persist:false, and fixes
the legacy status fallback (byzantine -> raft, matching init's
documented default).

Validated before tagging:
- audit-umbrella-version-lockstep.mjs: ok (all three at 3.59.4, ruflo pins cli)
- audit-leaf-versions-published.mjs: ok (4/4 non-bundled leaves resolve on the registry)
- pnpm -r build: all 25 workspace packages build clean
- hive-mind-init-persist-contract.test.ts, memory-list-teardown-3226.test.ts,
  task-cancel.test.ts, task-status-header.test.ts, tui-command.test.ts:
  28 passed, 3 skipped

Co-authored-by: r <r@x>
2026-10-20 22:24:43 -04:00
rUvandr eb808c2468 release: 3.59.3 (#4335)
Bundles PR #4334 (Windows memory-list intermittent libuv crash fix,
merged as 134911452): the CLI's exit handler now sets process.exitCode
instead of calling process.exit(0), and best-effort awaits
shutdownBridge() to drain cached ControllerRegistry resources before
the event loop closes naturally.

Validated before tagging:
- audit-umbrella-version-lockstep.mjs: ok (all three at 3.59.3, ruflo pins cli)
- audit-leaf-versions-published.mjs: ok (4/4 non-bundled leaves resolve on the registry)
- pnpm -r build: all 25 workspace packages build clean
- memory-list-teardown-3226.test.ts, task-cancel.test.ts,
  task-status-header.test.ts, tui-command.test.ts: 22 passed, 3 skipped

Co-authored-by: r <r@x>
2026-10-20 21:52:47 -04:00
rUvandr 2276232b41 release: 3.59.2 (#4333)
Patch release bundling two task-command correctness fixes:

- task cancel: task_cancel claimed success (and printed "Previous
  status: undefined") for a task id that doesn't exist or is already
  completed/failed/cancelled, and overwrote a finished task's result
  with the cancel reason. It now returns previousStatus, refuses to
  touch a finished task, and the CLI exits 1 instead of printing
  "cancelled" for either case (#4331).
- task status: the status box was titled "Task: undefined" for every
  task — the command read result.id, but task_status returns taskId,
  the field every other task tool uses (#4332).

Validated: both PRs' new test files (task-cancel.test.ts,
task-status-header.test.ts) pass (6/6), pnpm -r build clean, tsc
--noEmit clean, audit-umbrella-version-lockstep and
audit-leaf-versions-published both clean before publish.

Co-authored-by: r <r@x>
2026-10-20 20:59:15 -04:00
rUvandr 9271be48b0 release: 3.59.1 (#4329)
Patch release: npx ruflo tui now defaults mouse clicking on, instead of
requiring --mouse (#4328). --mouse had been opt-in since ADR-489 with
only a one-time startup notice (#4305), but users kept reporting that
clicking did nothing. --no-mouse remains available for terminals where
SGR mouse reporting fights native text selection.

Validated: v3/@claude-flow/cli/__tests__/tui-command.test.ts (16/16),
plugins/ruflo-console tests/tui-parity.spec.ts + tests/tui-nav.spec.ts
(30/30, confirming the runTui library's own default is unchanged for
every other caller), full pnpm -r build clean, tsc --noEmit clean.
Also verified live against the previously-published ruflo@3.59.0 with
a real pty: a raw SGR mouse-click escape sequence at the page-bar row
with --mouse passed switched the page.

audit-umbrella-version-lockstep and audit-leaf-versions-published both
clean before publish.

Co-authored-by: r <r@x>
2026-10-20 13:14:36 -04:00
randRuFlo 190eb0916f release: 3.59.0
Minor release (new backward-compatible flags: Grok Build CLI host
surface #3512, memory list/search tag filter #3526) bundled with a
round of correctness fixes merged since 3.58.1: memory delete-sync
(#4138), real AgentDB HNSWIndex replacing the dead getController('hnsw')
path with safe exact-search fallback (#4249/#4322), harness live-process
reporting (#3521), RaBitQ on-demand index build (#4318/#4319),
metaharness ADR-152 cost-dimension and verdict-band fix (#3520), swarm
idle-agent heartbeat false-positive (#4320), ephemeral-agent termination
idempotency (#4323), status/task_list field-mapping and total-count
fixes (#4321/#4324).

Also fixes the actual cause of broken images/links on
npmjs.com/package/ruflo: `ruflo/package.json`'s `repository.directory:
"ruflo"` field added an extra path layer on top of the README content
(the root README.md, copied in verbatim by `prepublishOnly` at publish
time, which is already written with repo-root-relative paths) — every
relative image/link resolved to e.g. `raw/main/ruflo/ruflo/assets/...`
instead of `raw/main/ruflo/assets/...`. Removed the `directory` field to
match claude-flow's own (directory-less) repository entry. A prior PR
(#4325) fixed `ruflo/README.md`'s own relative paths for anyone browsing
that file directly on GitHub, but that file is overwritten by the root
README at publish time and was never the actual npm-rendered content.

Published to npm: @claude-flow/cli@3.59.0, claude-flow@3.59.0,
ruflo@3.59.0, and standalone @claude-flow/memory@3.0.8 (the #4249 fix —
not part of the 3-package train, published separately per its own
leaf's npm presence). All three umbrella packages' latest/alpha/v3alpha
dist-tags verified pointing at 3.59.0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-20 10:10:13 -04:00
Mathew BeaneandRuFlo 953d8d0018 feat: Grok Build host surface + host-agnostic team bus (ADR-402) (#3512)
* feat: Grok Build host surface + host-agnostic team bus (ADR-402)

Adds `ruflo init --grok` and nine team_* MCP tools. Together they let a
lead agent on Grok Build (or Codex, or Claude) run a named agent team
without Claude's SendMessage. The team state lives in the project under
.claude-flow/teams/.

Team bus (team_create, team_spawn, team_send, team_broadcast,
team_inbox, team_plan, team_status, team_on_stop, team_shutdown)
- One implementation: templates/grok/scripts/grok-team-bus.mjs (ops,
  CLI) plus grok-team-store.mjs (storage). The MCP tools import these
  files, the SubagentStop hook imports them, and init --grok copies
  them into a project as a CLI with no dependencies. The repo root has
  no second copy.
- Mail is scoped per team: teams/<team>/mailbox/<agent>/. team_inbox
  requires the team, and team_status counts only that team's mail.
- team.json updates take a cross-process lock (team.lock, an O_EXCL
  file holding an owner token) and are written through a temp file and
  a rename. A stale lock is broken by renaming it aside and checking
  the token, never by a blind delete, and release removes only the
  holder's own token. 30 concurrent spawns
  from separate processes register all 30.
- team_shutdown closes the team. After it, spawn, send, plan and
  on-stop refuse. team_spawn enforces maxAgents.
- A broadcast with no members is refused. priority is an integer from
  0 to 999, stored as a zero-padded filename prefix. Symlinked mailbox
  directories are refused. Concurrent drains claim each message by
  rename, so no message is delivered twice and no drain throws ENOENT.
- The spawn description is <role>:<agent>@<team>. The SubagentStop
  hook parses it to advance that team's plan. When the hook cannot
  record a team subagent, or the team is ambiguous, it writes the
  reason to stderr and exits 1.

init --grok
- Writes .grok/ (config, rules, four agent profiles, a skill, the
  SubagentStop hook), scripts/ and docs/grok/README.md in the project,
  and lists every path it wrote. --dry-run writes nothing.
- Pins the project MCP server to the running release (ruflo@<version>,
  which ships team_*) instead of @latest. From a source checkout it
  points at that checkout's bin/cli.js. Inserted values are escaped as
  TOML strings, so Windows paths are valid.
- Writes nothing outside the project unless --grok-statusline is
  passed. With the flag, it installs ~/.grok/ruflo/host-statusline.mjs
  and merges [ui.status_line] into ~/.grok/config.toml using
  @iarna/toml. The merge leaves an existing status row alone in any
  TOML form. It writes only when the re-parsed result keeps every
  other value, and otherwise prints the snippet to paste. The command
  is `node "<absolute path>"`, which needs no shell and runs no
  script from the repo.
- The status row expects only the agent-teams-grok skill.

Also classifies team_* in the capability brain (swarm-coordination)
and adds ADR-402.

Tests: __tests__/team-tools.test.ts, __tests__/grok-init.test.ts.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(grok-host): address round-2 review of ADR-402 team bus (#3512)

N1 (blocking): root package.json "files" listed cli/dist but not
cli/templates, so npm pack (and npx claude-flow) shipped a build that
team_create / init --grok couldn't find grok-team-bus.mjs /
grok-team-store.mjs from. Added v3/@claude-flow/cli/templates/** and
verified with a real npm pack + tar extract (files present with the fix,
absent without it).

N2: breakStaleLock renamed a stale lock without re-checking it was still
the lock it first observed. A waiter that read a stale token could have
that exact lock broken by someone else and re-acquired fresh in between,
and the rename would steal that live lock out from under its holder,
opening a window for a fourth party to grab the vacated slot — two
holders at once. Now re-verifies token + mtime immediately before
renaming and backs off (no rename at all) if either changed. Added a
direct regression test (monkeypatched fs to force the exact interleaving)
plus a concurrent-CLI-process test with a pre-seeded stale lock.

N3: LOCK_WAIT_MS (10s) was shorter than LOCK_STALE_MS (30s), so any
acquire attempted in the ~20s gap between "waiter gives up" and "lock
considered stale" failed even with nothing actually stuck — and the
SubagentStop hook's own 5s command timeout couldn't survive either value.
Lowered stale/wait to 4s/4.5s (wait >= stale, both comfortably under the
hook's 5s budget with real critical sections being sub-millisecond JSON
r-m-w). Also replaced the synchronous Atomics.wait lock-wait loop with an
async setTimeout-based poll (sleepMsAsync), so an MCP server keeps serving
other requests while a caller waits for the lock; threaded async/await
through withTeamLock/createTeam/spawnMember/runCli/main and the
SubagentStop hook and team-tools.ts's dispatcher. sleepMs (sync) stays
only for writeJsonAtomic's bounded Windows rename retry.

Minor 1: --grok-statusline replaced a symlinked ~/.grok/config.toml with
a plain file, destroying the symlink. writeFileAtomic now resolves an
existing symlink and writes through it instead.

Minor 2: a TOML integer above 2^53 in the user's config parses to a
BigInt (@iarna/toml) and crashed JSON.stringify inside the status-line
merge, which ran as the LAST step of init — leaving project files already
written. Now validated up front, before any file is touched, naming the
offending key; init fails clean with nothing written instead of half-done.

Minor 3: host-statusline.mjs matched `trusted = true` / `[mcp_servers.x]`
via substring/regex, so a commented-out trusted=true read as trusted and
an `enabled = false` server still counted as loaded. Can't add a runtime
dependency on @iarna/toml here (this script ships as a zero-dependency
copy outside any node_modules tree — project scripts/ and
~/.grok/ruflo/host-statusline.mjs). Added a small comment-aware
table/key parser instead and used it for grok, and for codex's
mcp_servers check too (same bug class).

Minor 4: team_create --force reopened a team but left the old
incarnation's mailboxes on disk. Now clears mailbox/ when recreating.

Minor 5: priority accepted "1e2" and "0x10" (Number() coerces both).
Now requires a plain base-10 integer literal string.

Minor (stray changes): reverted an incidental .helpers-version bump and
a router.js mode change (644->755) picked up from a concurrent session's
helper auto-refresh — not part of this PR.

Verified: cli build + tsc --noEmit clean; grok-init.test.ts and
team-tools.test.ts (41 tests, including 8 new ones) and
guidance-brain.test.ts pass; full `npm test` for @claude-flow/cli is
green except 20 pre-existing failures across 16 files, all from
@claude-flow/memory / @claude-flow/mcp / @claude-flow/codex not being
built in this environment (none touch grok/team/statusline code).

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(grok-host): address round-3 review nits on the team lock and status line (#3512)

A lock whose holder pid is still alive is no longer broken after 4s, so a stalled writer does not lose an update. An existing [ui.status_line] no longer fails init when another value is a BigInt. Quoted trusted-folder keys may contain ].

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(grok-host): keep the TOML parser out of the MCP tool import path (#3512)

grokTemplatesRoot moves to init/grok-templates.ts, which has no
dependencies. The team_* tools import it from there, so loading the MCP
tool table no longer pulls in grok-generator and @iarna/toml. On current
main, analyze-json-output.test.ts runs the analyze command from a copied
source tree with only cli-core and security beside it, and failed 20 of
20 with "Cannot find package '@iarna/toml'" before this change.
grok-generator re-exports grokTemplatesRoot, so its callers are unchanged.

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: RuFlo <ruv@ruv.net>
2026-10-20 05:42:06 -04:00
rUvandr 1a6a58fc74 release: 3.58.1 (#4317)
Patch release covering the CWE-22 path-containment fix (#4313), the CLI
parser repeated-marker fix (#4314), and a CI test-categorization fix
(#4316). Also includes the already-merged console nav bar separators
(#3664).

Published to npm: @claude-flow/cli@3.58.1, claude-flow@3.58.1,
ruflo@3.58.1, and standalone @claude-flow/integration@3.0.2 (#4315's
fix — not part of the 3-package train but published separately per
its own leaf's npm presence).

Co-authored-by: r <r@x>
2026-10-20 04:29:18 -04:00
rUvandr d529a38a7c release: 3.58.0 (#4306)
* chore(release): 3.58.0 version bumps and changelog

Minor release: new memory peek command, Codex activity viewer, configurable
MCP rate limits, plus the #4303 install-breaking fix and a round of
correctness fixes merged since 3.57.2. Also bumps ruflo-console 0.44.4 ->
0.44.5 for the #4305 TUI fix, which shipped to main without a plugin version
bump (the same gap already documented as a past mistake in the console's own
changelog for 0.44.3/0.44.4).

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ruflo-console): update smoke.sh's hardcoded version check to 0.44.5

The plugin.json version bump to 0.44.5 (for the #4305 TUI fix) broke the
smoke contract's own hardcoded expectation of 0.44.4 in step 1. Update the
step name and grep pattern to match.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ci): sync the smoke-workflow regression test to the real 15-minute timeout

#3950 bumped .github/workflows/all-plugins-smoke.yml's smoke-all job from
timeout-minutes 10 to 15 (the job now also checks out and smokes the first
external git-subdir marketplace entry, agentic-qe-fleet) but never updated
this test's hardcoded expectation of 10, breaking the Test Suite job on
every PR since.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(memory): resolve sql.js's wasm dist path directly, not via package.json

fts5.test.ts located sql-wasm.wasm via require.resolve('sql.js/package.json')
then string-replaced the suffix. sql.js 1.14 tightened its exports map to
"." and "./dist/*" only, so that package.json subpath resolve throws
ERR_PACKAGE_PATH_NOT_EXPORTED even though the wasm file is present on disk —
caught by the existing try/catch and misreported as "sql.js isn't installed",
failing all 4 SqlJsBackend FTS5 tests with "sql.js/dist/sql-wasm.wasm not
found". Resolve 'sql.js/dist/sql-wasm.wasm' directly instead, which the
"./dist/*" export already permits.

Verified: 6/6 passing locally (was 4 failed before the fix).

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ci): move pod-tick.test.mjs to the node:test exclusion list

Same fix as #4308: this file imports test() from node:test (not vitest)
and documents itself as "Run with: node --test" in its own header, but
was miscategorized into ci-test-baseline.txt. Running it under vitest's
shared worker process correlates strongly with the ERR_IPC_CHANNEL_CLOSED
crash hit 4/6 times on this PR's own CI (#4307). Applying here directly so
this release doesn't wait on #4308 to merge first.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ci): cap the ratchet's vitest worker count to 2

#4307: Test Suite (ubuntu-latest) intermittently crashes with tinypool's
ERR_IPC_CHANNEL_CLOSED at three different, unrelated points across 7 runs
on this PR, after ruling out any specific file as the cause (one
candidate, pod-tick.test.mjs, was fixed separately for an unrelated
reason and the crash still recurred at a different file). The pattern
(crash location varies, happens ~60-90s into a ~9500-test run) is more
consistent with cumulative memory pressure across the default fork
pool (one fork per CPU, ~4 on a standard runner) than a single bad
test. Capping workers at 2 trades some wall-clock time for headroom
while the real cause is still open in #4307.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(graph-intelligence): build the optional cli import specifier from parts

#4307 investigation, round 8: once the worker-cap fix (3739f3a9) stopped
the random tinypool crash, Test Suite started failing deterministically
on plugins/ruflo-graph-intelligence/tests/phase4-adapters.spec.ts —
"./src/memory/graph-edge-writer.js" is not exported, even though that
spec file's own tests never execute the real GraphEdgesSource.listEdges()
(they all use inline fake listEdges() test doubles). The spec file does
statically import knowledge-graph-adapter.ts at module level, though, so
vitest's module-graph crawl sees the string literal and (CI-only, not
reproduced locally in 2/2 attempts) appears to eagerly resolve it outside
this method's own try/catch during collection.

Build both the primary and fallback specifiers from joined array parts
instead of literals, so no bundler's static import-specifier scan can
find and pre-resolve them — the actual resolution still only happens at
the real `await import(...)` call site, same as before.

Verified: full plugin suite green, 104/104 (was 8/8 on the one affected
file already — this closes the only CI-only gap).

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(ci): baseline token-optimizer.test.ts — real, pre-existing, unrelated bug

v3/@claude-flow/integration/src/token-optimizer.ts calls
this.agentBooster.editCode(...), but the real agentic-flow/agent-booster
module's AgentBooster/EnhancedAgentBooster class has no editCode method
at all (its real API is apply/applyBatch/prefetch/...). Confirmed by
enumerating the class prototype directly. Not a version-pin issue, not
caused by anything in this release — @claude-flow/integration isn't even
part of the release train. Filed as #4311 with the real-fix suggestion
(rewrite optimizedEdit() against the actual API) for whoever owns that
integration layer; baselining here so the Test Suite ratchet reflects
reality instead of blocking an unrelated release on pre-existing debt.

Co-Authored-By: RuFlo <ruv@ruv.net>

* docs(changelog): record the CI-reliability fixes found validating 3.58.0

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-20 02:11:26 -04:00
randRuFlo d774b66482 chore(release): 3.57.2 version bumps and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-19 19:04:39 -04:00
randRuFlo cdc044ed05 chore: bump root umbrella's cli-core pin to the now-published 3.7.5
@claude-flow/cli-core@3.7.5 is live on the registry (published earlier
this session), so this pin is now resolvable — closes the
wrapper-dep-ranges-audit gap left after the CLI's own pin bump.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-19 18:45:20 -04:00
rUv 4ceb0a4737 Merge pull request #4278 from weave-logic-ai/chore/rvf-0.3.4
chore(deps): pin @ruvector/rvf to 0.3.4
2026-10-19 19:50:36 +01:00
randRuFlo 08bc106f23 chore(release): 3.57.1 version bumps and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-19 12:08:30 -04:00
rUvandClaude 6cdad1ae0e dream(security): #4229 DENYLISTED_ENV_NAMES gaps — git/perl/ruby/java hijack family (evaluated, ACCEPT) (#4230)
* dream(security): denylist gaps in validateEnv() for git/perl/ruby/java env-var hijack family

DENYLISTED_ENV_NAMES (v3/@claude-flow/cli-core/src/mcp-tools/validate-input.ts)
covered loader-hijack and the 2026-09-21 search-path-family fix, but missed
credential/arbitrary-command vars in the same git family (GIT_ASKPASS,
GIT_PROXY_COMMAND), interpreter-flag-injection vars for Perl/Ruby/Java
(PERL5OPT/RUBYOPT/JAVA_TOOL_OPTIONS/_JAVA_OPTIONS/JDK_JAVA_OPTIONS), two more
search-path vars (PYTHONHOME, CLASSPATH), and git's numbered
GIT_CONFIG_KEY_<n>/VALUE_<n>/COUNT runtime-config-injection family (added via
a new regex, not a fixed name — strictly broader than any single name).
PYTHONSTARTUP included for defense-in-depth with an honest caveat (interactive-
REPL-only, not live-exploitable through today's non-interactive execSync path).
Researched and explicitly rejected: PYTHONEXECUTABLE (cosmetic, macOS-only),
PSModulePath (single-source, Grade C evidence only).

18 new discriminating tests added to validate-input-env.test.ts, matching the
file's existing pattern. Stash-isolated: 18/18 fail against baseline, 51/51
pass on candidate. Full @claude-flow/cli suite: byte-identical 60-failure set
baseline vs candidate (zero regressions). tsc --noEmit: 0 errors.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01S1h1otMCeN5gSX8S5gC17H

* dream(security): fix-forward post-critique — correct test counts, document GIT_CONFIG_NOSYSTEM/PYTHONSTARTUP caveats

Independent adversarial critic caught: (1) an arithmetic error in this
session's own evaluation writeup (32 pre-existing tests, not 33; 19 new
tests of which 18 discriminate, not 18 flat); (2) GIT_CONFIG_NOSYSTEM's
denylist rationale was undocumented despite guidance/mod-sources.ts's git()
helper setting that same var defensively elsewhere in this repo; (3) the
PYTHONSTARTUP comment overclaimed that execSync's non-interactive child
"cannot enter" Python's interactive mode — a caller-supplied `python3 -i`
can still trigger it. All three addressed: gist corrected, source comments
now document the real rationale for both. Net security conclusion for
PYTHONSTARTUP unchanged (defense-in-depth, no new capability — the caller
already controls the full command string). Re-verified: 51/51 tests,
tsc --noEmit clean.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01S1h1otMCeN5gSX8S5gC17H

* dream(security): update LEDGER.md for 2026-10-16 (#4229/#4230)

Appends tonight's row, confirms #4053/#3977 merged via GitHub MCP tools,
confirms no run-gap for 10-12..10-15, and flags that 10-11's own PR cited
a CVE-2026-25725 that does not resolve in NVD/MITRE.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01S1h1otMCeN5gSX8S5gC17H

* dream(security): fix CI — bump @claude-flow/cli-core 3.7.3->3.7.4 (leaf-package-publish audit)

The "Plugin package install-safety" CI check's audit-leaf-package-publish.mjs
caught that this PR's source change to v3/@claude-flow/cli-core (not bundled
into the release tarballs, resolved from the registry at the version
v3/@claude-flow/cli/package.json pins) left the leaf's own package.json
version unchanged — per CLAUDE.md's "Publishing Rules" (ruvnet/ruflo#3335,
#3390), that means a release would ship the OLD registry copy and this
fix would reach nobody. PATCH bump per repo semver policy (bug fix, no API
change): 3.7.3 -> 3.7.4. Updated the three places that need to agree:
cli-core's own package.json, @claude-flow/cli's dependency pin, and
v3/pnpm-lock.yaml's specifier for that workspace link.

Re-verified: audit-leaf-package-publish.mjs clean, tsc --noEmit 0 errors,
51/51 tests pass.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01S1h1otMCeN5gSX8S5gC17H

* dream(security): fix CI — bump root claude-flow's @claude-flow/cli-core range 3.7.3->3.7.4

audit-wrapper-dep-ranges.mjs (ruvnet/ruflo#2127) caught that the root
claude-flow umbrella's own declared dependency range for the just-bumped
@claude-flow/cli-core leaf (3.7.3) no longer includes the workspace's actual
version (3.7.4) after the prior commit's bump. package-lock.json's resolved
node_modules/@claude-flow/cli-core record intentionally left untouched (still
3.7.3, with its real registry integrity hash) since 3.7.4 has not actually
been published yet — see the PR comment on the structural publish blocker.

Re-verified all 5 install-safety audit scripts locally: clean.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01S1h1otMCeN5gSX8S5gC17H

* Revert "dream(security): fix CI — bump root claude-flow's @claude-flow/cli-core range 3.7.3->3.7.4"

This reverts commit 9dae077cb3.

* dream(security): resolve CI blocker — @claude-flow/cli-core@3.7.4 is now published

A maintainer's 3.57.0 release (main advanced from 1882006a0 to b93144803
while this PR sat open) published @claude-flow/cli-core@3.7.4 to the real
npm registry, containing this exact fix (verified via `npm pack` + diff
against the source on this branch). That resolves the structural blocker
described in this PR's comment: the root claude-flow umbrella's own
dependency range can now safely bump to match, since 3.7.4 genuinely
exists — unlike three days ago, this no longer breaks root `npm ci`/
`npm install` for the rest of the CI matrix.

Re-verified for real this time (not just the static audits): ran
`node scripts/smoke-cli-npx-install.mjs` directly — packs the real CLI
tarball and does a genuine `npm install` into a scratch project — and it
now succeeds end-to-end (previously failed with ETARGET). All 5 install-
safety audit scripts clean. 51/51 tests, tsc --noEmit 0 errors.

Note: main's own source tree (v3/@claude-flow/cli-core/src/mcp-tools/
validate-input.ts) is still at the pre-fix 3.7.3 content as of this
commit — only the npm registry got the fix early, via whatever process
published 3.7.4. Merging this PR is what reconciles main's source with
what's already shipped to real users.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01S1h1otMCeN5gSX8S5gC17H

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 16:55:41 +01:00
Mathew BeaneandRuFlo 98b1ca67fc chore(deps): pin @ruvector/rvf to 0.3.4
The tree resolved @ruvector/rvf 0.1.9 through ruvector@0.2.27 (^0.1.0)
and 0.2.3 through agentdb. 0.1.9 loses string ids on reopen: a query
returns label "0" instead of the stored id. 0.3.4 keeps them through
the .idmap.json sidecar, and its API only adds to 0.1.9's and 0.2.3's.

- overrides in package.json and ruflo/package.json (root overrides do
  not reach the published wrapper, #2112) and pnpm.overrides in
  v3/package.json
- lockfiles regenerated with npm and the pinned pnpm@8.15.0; in v3,
  cli's ruvector ^0.2.27 now resolves to 0.2.41 (agentdb's copy), and
  the root lockfile catches up with five workspace versions as any
  npm install on main does

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-18 11:34:25 -04:00
rUvandr e4fb889e1b release: 3.57.0 (#4255)
* chore(release): 3.57.0 version bumps and changelog

Co-Authored-By: RuFlo <ruv@ruv.net>

* chore(release): 3.57.0 witness regen from a full build (117/117)

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-17 23:33:48 +01:00
r 9ba51fb82a Merge main into release/3.56.10 2026-10-14 11:43:28 -04:00
randRuFlo f1d258bf34 chore(release): 3.56.10 version bumps and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 10:22:47 -04:00
randRuFlo b9d36d55e2 chore: cli-core 3.7.3 (project-cwd guard) + pins, ruflo-core plugin 0.2.9; merge main (leaf publish pending: cli-core 3.7.3)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 05:26:43 -04:00
randRuFlo 00b7e70fc5 chore(release): 3.56.9 (security/codex 3.0.5 pins, shared 3.0.5, cli-core 3.7.2); witness regen from a full build (117/117)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 16:47:55 -04:00
randRuFlo 67b75f322d chore(release): shared 3.0.5 and cli-core 3.7.2 for #4014 #4015 #4018, align CLI/root pins
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 13:32:08 -04:00
randRuFlo 78981548fa chore(release): 3.56.8 version bumps and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:58:05 -04:00
randRuFlo c84a6d0a18 chore(shared): 3.0.4 (RVF tail recovery + runtime dependencies), CLI/root pins, fresh-consumer smoke
Carries #4031 (rudycelekli) and #4091 (proffesor-for-testing); oversized-tail and permission-safe
recovery per rUv's review and martinvlad's fresh-consumer finding. Adds scripts/smoke-shared-fresh-consumer.mjs
(packed tarball, plain Node) and a CI step for it.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:21:58 -04:00
randRuFlo 30a2336377 chore(release): 3.56.7 (ruflo tui, MCP resources, auto-memory/purge fixes, doctor native-addon check, mods hardening, safe init --dual); codex 3.0.4 pin; witness regen from a full build
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 16:57:22 -04:00
rUv 17a8b86256 Merge pull request #4059 from ruvnet/feat/ruflo-tui-adr
feat(cli,console): ruflo tui, the console in a terminal of its own (ADR-489, phase 1)
2026-10-11 12:16:32 -07:00
randRuFlo 11cc8cd648 feat(cli,console): ruflo tui --plain, exit 2 without a terminal, bundle staged for publish, esbuild declared (ADR-489 A-E)
- E: `ruflo tui --plain` prints one plain frame and exits 0; without a TTY and
  without --plain it prints a one-line hint on stderr and exits 2 (no frame).
  Tests for terminal, non-terminal, --plain in a terminal, no raw mode, and
  through the command with the real bundle.
- A: esbuild is a declared root devDependency (^0.27.2, already locked).
- B: v3/@claude-flow/cli/scripts/prepare-publish.mjs builds and stages
  plugins/ruflo-console/dist/tui.mjs so a registry install runs `ruflo tui`.
  Measured: +449,345 bytes on the CLI tarball.
- ADR-489: status Accepted; section 8 records decisions A-E (C: Swarm, Events,
  Missions, Room; D: Codex read-only by default, no danger-full-access, OpenRouter
  https-only to openrouter.ai + convoTargets hosts). Repairs a corrupted table row
  that had pasted copies of the file head into the ADR.
- README: a short ruflo tui section.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:07:28 -04:00
r b0a35764f3 Merge remote-tracking branch 'origin/main' into feat/e2e-host-matrix 2026-10-11 12:43:22 -04:00
randRuFlo 98f2eb5213 feat(e2e): three-host integration loop (Claude Code, Codex, OpenRouter); fix MCP resources capability and Codex plugin clone budget
ADR-490 (loop), ADR-491 (mods host integration, Proposed). The loop's first run found two defects, fixed test-first:
- ruflo mcp start advertised resources but answered resources/* with -32601 (3 stdio servers).
- init --dual's marketplace clone ran under a 20 s budget (17.5 s measured), swallowing the real error.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 12:43:14 -04: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
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
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