10615 Commits
Author SHA1 Message Date
rUvandr 87f612cef1 chore(release): 3.80.0 (#5056)
* chore(release): 3.80.0 (codex 3.0.9)

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

* fix(cli): bundled OpenRouter alternates are opt-in (#4957)

#5038 loaded the bundled openrouter-alts.json for every npm install, which
changes which OpenRouter models users are billed for. Its PR asked for a
maintainer decision on that default. Until then, the bundled copy loads only
with CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS=bundled; npm installs keep the
previous behaviour (no per-tier alternate). The file still ships.

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

* chore(release): pin @metaharness/darwin ~0.16.0; codex VERSION 3.0.9

darwin 0.16.0 is npm latest (it fixes the 0.15.0 bug that could leave SIM
journals unreadable), so the metaharness pin-drift gate flags ~0.14.0 as
stale. Bump the CLI dependency, MH_DARWIN_PIN and the plugin helper pin.
The pnpm lock entry is edited by hand to the 0.16.0 integrity; nothing else
in the lock moves. codex's exported VERSION follows the 3.0.9 bump.

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

* chore(ruflo-metaharness): 0.5.3 for the darwin ~0.16.0 helper pin

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

---------

Co-authored-by: r <r@x>
v3.80.0
2026-11-20 22:21:35 -05:00
ordinary being 6822e67d69 fix(agentbbs): advance federation sync per origin (#5031) (#5052)
A room log interleaves envelopes from multiple origins, and each origin numbers its own seq. syncRoomFromPeer stored one room-wide max and sent it as since, so after merging an origin with a high seq, a later envelope from another origin with a lower seq was skipped by the next incremental pull.\n\n- Track per-origin high-water marks in FederationPeer.lastSeqByOrigin and send them as a JSON since cursor.\n- Teach serveFederation to parse that cursor while retaining the numeric since form for older clients; malformed or oversized cursors are rejected with 400.\n- Report acceptedByOrigin from mergeEnvelopes. Duplicates use the stored envelope's origin/seq, so a duplicate cannot move another origin's cursor.\n- Start a legacy peer's first per-origin sync from 0: an old room-wide cursor may already have skipped envelopes and is not a safe baseline.\n- Tests cover interleaved origins, a new origin with no cursor entry, numeric and malformed cursors, and duplicate-origin poisoning.
2026-11-20 21:16:07 -05:00
rUvandr 662796a974 fix: openrouter-alts resolves from the package (#4957); single winner on stale ledger lock (#5025) (#5038)
* fix(cli): resolve openrouter-alts.json from the package (#4957)

loadOpenRouterAlts() probed only process.cwd(), and the file was not in the
CLI's files allowlist, so an npm install never loaded the ADR-148 per-tier
OpenRouter alternates. Resolve it relative to the module (import.meta.url,
as neural-router.ts does), keep the cwd probes as a dev fallback, and ship
the file.

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

* fix(cli): only one waiter breaks a stale managed-agent ledger lock (#5025)

Breaking a stale lock was lstat -> unlink, so two waiters that saw the same
dead lock could both break it: the second unlinked the fresh lock the first
had just taken, and two writers raced their read-modify-rename. Breakers now
serialise on <lock>.reclaim and re-check the lock's identity and age under
it, as policy-runtime.ts reclaimDeadLock does. Release removes the lock only
if it is still the file this writer created.

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

---------

Co-authored-by: r <r@x>
2026-11-20 21:16:01 -05:00
rUvandr 6da74f2874 fix(cli): statusline tips and examples name commands that exist (#5042)
Four seed statusline tips described their commands wrongly:
- `ruflo status watch`: watch is the --watch flag. The positional was
  ignored and status printed once. Now `ruflo status --watch`.
- `doctor --fix` "auto-repair": --fix prints suggested commands and
  applies nothing. Reworded.
- `hooks route` "3-tier model routing cuts token cost 30-75%": hooks
  route suggests an agent type for a task (model tiers are
  `hooks model-route`), and the percentage has no source in the docs.
  Reworded, number dropped.
- `security scan --depth deep` "audits dependencies and config": the scan
  checks dependencies (npm audit), hardcoded secrets and code patterns.

Help examples:
- `memory store -k ... -v "..."`: -v is the global --verbose. The value
  only landed through the positional fallback, with verbose switched on.
  Now --value.
- `status --json`: not a declared option. The action reads
  --format json, so the example printed text. Now --format json.

Message ids and URLs are unchanged. New test
funnel-messages-commands.test.ts resolves every educational tip against
the real Command objects. `adr index` is exempt: there is no `adr` CLI
command, which is left for a separate fix.

Co-authored-by: r <r@x>
2026-11-20 21:15:54 -05:00
rUvandClaude 69e24c392e fix(security): prototype pollution in codex config.toml validator (#5051)
parseToml looked up section headers on a plain object, so a [__proto__]
or [constructor] header in an untrusted config.toml resolved to a shared
built-in and the following key = value lines were written onto it. Use
null-prototype maps for the parsed data and its sections, check own
properties only, and replace non-object values instead of writing onto them.


Claude-Session: https://claude.ai/code/session_01MfPHVKgRKN2gU6psLP1NGd

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 21:15:48 -05:00
rUv 4a80b5af8c feat(cli): opt-in signed SIM handoff ingestion (metaharness sim-ingest) (#5054)
* feat(cli): opt-in signed SIM handoff ingestion (metaharness sim-ingest)

Consumes metaharness.sim.handoff.v2 envelopes (ruvnet/metaharness#524).
An independent Node-crypto verifier checks the Ed25519 signature over
canonical JSON, a trusted key set, the key-to-tenant binding, freshness
and that every record belongs to the tenant. Verified evidence is stored
under sim:<owner>/<repo> in a dedicated .claude-flow/sim/sim-memory.db,
separate from task-agent memory, via the real memory-initializer API.

Disabled until .claude-flow/sim/trusted-keys.json sets enabled:true.
Idempotent on the content-derived event id; revoke-event leaves a
tombstone, revoke-key deletes its events and marks it revoked; reads
re-verify each row; every decision goes to an id/hash-only audit log.

Refs ruvnet/metaharness#524

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

* fix(cli): harden sim-ingest revocation, retention and store separation proof

- revoke-key confirms each row's signer before deleting instead of
  trusting the store's tag filter (two-keys-one-tenant test with the tag
  filter ignored).
- Retention runs from the producer's createdAt; a replay after it has
  elapsed is rejected (retention_elapsed) rather than re-stored.
- An insert that collides with a soft-deleted or expired row reclaims it
  (tombstones are checked first); covered on the real store by re-signing
  revoked-key content with a second trusted key.
- Real-store test now points CLAUDE_FLOW_DB_PATH at a real task-agent db
  and proves it holds no sim: rows and that search finds only task notes.

Refs ruvnet/metaharness#524

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-20 16:38:07 -05:00
rUvandr 3c2ae91170 fix(release): absolute README URLs on npm pages + release 3.79.1 (#5053)
* fix(release): absolute README URLs on the ruflo and @claude-flow/cli npm pages

npmjs.com resolves relative README URLs against repository.directory, so on
the ruflo page docs/assets/x.svg became raw.githubusercontent.com/.../HEAD/
ruflo/docs/assets/x.svg: 41 of 51 images and every relative link 404ed. The
@claude-flow/cli page had the same problem. claude-flow publishes from the
root and was unaffected.

The release workflow now stages both subdirectory READMEs through
scripts/readme-absolute-urls.mjs, which rewrites relative images to
raw.githubusercontent.com and relative links to github.com/blob, pinned to
the commit being published. Both prepare-publish scripts use it too. Also
fixes the README's Verification link (verification.md moved to
verification/README.md in May).

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

* chore(release): 3.79.1

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

---------

Co-authored-by: r <r@x>
v3.79.1
2026-11-20 08:34:42 -05:00
rUv 6c6293dab6 Remove the ADR navigation text below the ruPro hero 2026-11-19 21:15:15 -05:00
rUv d06af9a2a3 Refresh the ruPro workflow explanations in the README tour 2026-11-19 20:56:59 -05:00
rUv 6f847a38eb Explain ruPro workflows through the decisions reviewers make 2026-11-19 20:56:57 -05:00
rUv bf16f0adaf Display the 14-scene ruPro workspace tour 2026-11-19 20:51:31 -05:00
rUv 9805ab269d Add ruPro project monitoring, browser preview and capacity planning scenes 2026-11-19 20:51:29 -05:00
rUv c9e5af0d15 Publish the 3D learning graphs in the README tour 2026-11-19 20:47:49 -05:00
rUv 113587b52a Visualize agent swarms, vector recall and self-improvement in three dimensions 2026-11-19 20:47:48 -05:00
rUv 59144db090 Publish the ruPro tour with animated agent identities 2026-11-19 20:45:06 -05:00
rUv fadb6ccac4 Animate each ruPro learning scene and identify Claude, Codex and Copilot 2026-11-19 20:45:05 -05:00
rUv b7d1345e1b Refresh the README tour with redesigned scene layouts 2026-11-19 20:41:38 -05:00
rUv 86961c5aa5 Give ruPro memory, payment and ADR scenes distinct visual layouts 2026-11-19 20:41:37 -05:00
rUv 551c5cae41 Remove the scene link row beneath the ruPro tour 2026-11-19 20:38:33 -05:00
rUv b8f391fa72 Show active slide progress inside the ruPro animation 2026-11-19 20:38:32 -05:00
rUv 65d96a0486 Link the ADR and self-learning sequence from the README 2026-11-19 20:25:38 -05:00
rUv f9be6de006 Illustrate how architecture decisions guide and evolve through agent memory 2026-11-19 20:25:37 -05:00
rUv d398f090b2 Link the eight-scene ruPro tour and its new slides from the README 2026-11-19 20:23:20 -05:00
rUv a10f84afb2 Extend the ruPro tour with three payment review scenes 2026-11-19 20:23:18 -05:00
rUv 359b08710c Surface the memory recall slide below the hero on all screen sizes 2026-11-19 20:17:13 -05:00
rUv ae01647c4e Make the memory recall scene directly addressable 2026-11-19 20:17:12 -05:00
rUv 18db80ab70 Link the five-scene mobile workspace tour 2026-11-19 20:15:14 -05:00
rUv 00de4eafea Show cross-project lesson recall before replay analytics 2026-11-19 20:15:12 -05:00
rUv e9e7eadf10 Publish the four-tab mobile workspace preview 2026-11-19 19:14:05 -05:00
rUv e9ed9c3926 Match the mobile ruPro tour to the teal four-tab workspace 2026-11-19 19:14:03 -05:00
rUv 5d22f45da2 Feature the self-improving agent walkthrough on mobile 2026-11-19 18:22:04 -05:00
rUv 702cc551f5 Show how agent teams test, remember and reuse a lesson across runs 2026-11-19 18:22:02 -05:00
rUv c7f82247a2 Show the animated R42 handoff in the mobile README 2026-11-19 18:05:48 -05:00
rUv 6f952dcdb2 Animate the ruPro project handoff, retry, evidence review and dashboard 2026-11-19 18:05:47 -05:00
rUv 57fc86f6dd Display the neon mobile workspace tour 2026-11-19 17:54:19 -05:00
rUv 67221c3a04 Match the mobile ruPro terminal to the Ruflo neon sign 2026-11-19 17:54:18 -05:00
rUv 6f889e41b8 Use the ruPro product walkthrough on mobile 2026-11-19 17:51:14 -05:00
rUv c3567c216f Explain ruPro through a cross-project mobile workspace tour 2026-11-19 17:51:13 -05:00
rUv 47921cedb1 Display the R42 terminal walkthrough on mobile 2026-11-19 17:43:54 -05:00
rUv ae47dcc278 Tell the mobile ruPro story through Ruflo shell and console commands 2026-11-19 17:43:53 -05:00
rUv 5978205a47 Refresh the mobile terminal illustration in the README 2026-11-19 17:40:47 -05:00
rUv d3f9f97522 Refine the mobile ruPro terminal, transcript and scene tabs 2026-11-19 17:40:45 -05:00
rUv fe21928871 Point the mobile README hero at the terminal animation 2026-11-19 17:38:05 -05:00
rUv 55b4ced5e6 Render the mobile ruPro walkthrough as a terminal session 2026-11-19 17:37:58 -05:00
rUv afefd6ffd3 Keep user guide links within the index table 2026-11-19 17:34:17 -05:00
rUv 0ba96ddd59 Organize README around the first task and Mission Control 2026-11-19 17:34:11 -05:00
rUvandr 861179f621 fix(auto-memory): Codex Stop hook stdout (#3163) + release 3.79.0 (#5049)
* fix(auto-memory): keep Codex Stop hook stdout empty (#3163)

Codex parses a Stop hook's stdout as hook JSON, so the AutoMemory status
prose failed every Stop with "invalid stop hook JSON output". A Codex
hook payload carries a turn_id that Claude Code's does not; under Codex the
helper now sends its status to stderr and leaves stdout empty. Claude Code,
terminal and unparseable-stdin runs keep stdout feedback. Stdin is read only
when it is not a TTY, capped at 500 ms and 1 MiB.

Verified end to end on Codex 0.170: Stop Failed with the old helper,
Completed with the new one.

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

* chore(release): 3.79.0

First train release published from CI with SLSA provenance (ADR-545).
Bumps the three packages and re-signs the helper manifest for 3.79.0
(auto-memory-hook.mjs changed for #3163).

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

---------

Co-authored-by: r <r@x>
v3.79.0
2026-11-19 16:45:01 -05:00
rUvandr ad343eb14d feat(release): SLSA provenance publishing + pinned init output (ADR-545) (#5048)
* feat(release): publish the train with SLSA provenance (ADR-545)

stable-npm-release publishes with --provenance (id-token: write), checks
repository.url before publishing, defaults to a dry run, publishes only
from main, and promotes to latest only after the registry holds a SLSA v1
attestation for exactly the verified archive built in ruvnet/ruflo.
Only latest moves (ADR-513). ADR-545 records the client review items.

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

* fix(release): drop the dead root npm ci step that runs security's tsc prepare

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

* fix(release): clear x-gateway audit gate; allow HEAD dry runs (ADR-545)

npm audit fix clears the 2 high advisories; a scoped override lifts
rimraf's glob to ^14.0.2 for the remaining glob/minimatch moderates
(0 vulnerabilities, 142/142 gateway tests). tag=HEAD (dry run only)
builds the dispatched commit so a release can be rehearsed before it
is tagged.

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

* docs(adr-545): record RuVector#1516 and the laptop-only package gap

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

* chore(release): commit the signed helper manifest for 3.78.1 (ADR-545)

CI verifies the committed manifest; the signing key stays off CI.

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

* fix(release): npm ls --all warns instead of gating (#5047)

The published 3.78.1 tree already has invalid nested ranges; the
functional smoke checks stay the gate until #5047 aligns the pins.

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

* feat(cli): pin init output to the CLI's exact version, add repin and provenance check (ADR-545)

- init writes @claude-flow/cli, claude-flow and ruflo pinned to the running
  CLI's version (one specifier helper, src/init/pinning.ts); third-party MCP
  refs (ruv-swarm, flow-nexus, agentic-jujutsu) pinned to known versions.
  `--channel latest` keeps the previous floating output byte-for-byte.
- `ruflo init repin` / `init --repin`: idempotent rewrite of settings.json,
  .mcp.json, CLAUDE.md and .claude/helpers with --dry-run and a per-line
  report. Leaves signed helpers, JSON keys and #2448 runaway hook commands
  alone and says why.
- Helper refresh never rewrites signed helpers, so pins survive it.
- Provenance check (registry attestations, SLSA v1 predicate, subject digest
  == dist.integrity, repo == github.com/ruvnet/ruflo) via
  `doctor -c provenance`, after repin, and as a non-fatal warning at init.
  Fetch is injectable; tests use recorded registry fixtures.

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

* fix(release): test the federation WebSocket fallback by removing agentic-flow

The CLI now depends on stable agentic-flow ^3.0.0, so pinning the
alpha no longer forces the fallback; the smoke step was stale.

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

* fix(cli): pin untagged npx runs in helper scripts; update #2206 CI guard (ADR-545)

`npx @claude-flow/cli hooks …` with no tag floats exactly like @latest.
The generated pre-commit hook and copied unsigned helpers (post-commit,
pre-commit) ran it untagged. Init now pins those runs on copy and in the
generator, and `init repin` pins them in .claude/helpers. Docs copied from
the package and the user's CLAUDE.md are left as is. The --prefix form used
by the signed helpers is not matched.

The wizard-init guard required the literal `ruflo@latest` in
mcp-generator.ts; it now requires the args to run the ruflo wrapper via
ourSpec('ruflo', …).

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

* docs(adr-545): CI-only train publishing in CLAUDE.md; record dry-run findings

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

* chore(x-gateway): bump plugin to 0.10.6 for the dependency audit fix

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

* fix(adr-545): unambiguous flag regex (CodeQL ReDoS), anchored scope replace, keep doctor help ending in metaharness)

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

* ci: exclude the node:test provenance gate test from the vitest ratchet (runs via node --test in v3-ci)

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

---------

Co-authored-by: r <r@x>
2026-11-19 16:21:20 -05:00
rUvandr d9213d356c feat(mods): enable Project Anatole (ruflo-protector) by default (#5046)
ruflo init and ruflo mods install now enable ruflo-protector@ruflo with
the other ruflo mods (MOD_PLUGINS). It starts in learn mode, graduates
only to notify, and never enables enforce by itself. An explicit false
in enabledPlugins is preserved. ADR-453 §14.1 amended; protector 0.1.3.

Co-authored-by: r <r@x>
2026-11-19 15:02:49 -05:00
rUv 839c3b96d7 Remove the local RVF search illustration from the README 2026-11-19 14:47:19 -05:00