After every assistant turn that called MCP tools, the chat now
shows up to 4 contextually relevant follow-up prompt chips —
derived from which tools just ran, not just from the static
example prompts the user clicked initially.
Behavior:
- Static curated follow-ups (from mcpExamples / routerExamples)
still take priority when the first user message matched an
example prompt — same UX as before.
- When no static match (any user-typed prompt, any subsequent
turn), follow-ups are generated by mapping the latest assistant
message's tool_calls through followUpsForTool().
- Mappings cover the major tool families: memory (store /
search / retrieve / list), system_status, performance_*,
agent_spawn / swarm_init, hooks_route, analyze_diff*, github_*,
hooks_trajectory_*, hooks_security_scan, search, web_research,
guidance.
- Deduped to 4 max across all tool calls.
Renders in the existing follow-up chip UI — no new component, no
new styles. shouldShowRouterFollowUps relaxed to allow follow-ups
on every assistant turn (not just the first), but only when the
last message is from the assistant and we're not loading.
Closes the gap where typing your own prompt got zero suggestions
even though the assistant clearly demonstrated which tools were
relevant.
svelte-check: 0 new errors.
Co-Authored-By: RuFlo <ruv@ruv.net>
Redundant with the main ruVocal.png banner above the section, and
the welcome screenshot was hidden behind a <details> toggle most
readers don't open. The action-shot tells the story better.
Asset file v3/docs/assets/ruVocal-welcome.png stays on disk for
potential reuse.
Co-Authored-By: RuFlo <ruv@ruv.net>
Was linking to a non-existent github.com/ruvnet/ruvllm repo. Actual
location is https://github.com/ruvnet/RuVector/tree/main/examples/ruvLLM
— ruvLLM lives as an example/subproject within the RuVector repo.
Updated in both README.md (Web UI emoji table) and
RufloHelpModal.svelte (under-the-hood callout).
Co-Authored-By: RuFlo <ruv@ruv.net>
The MCP (n) pill in the chat input already opens a server manager
that supports adding any MCP endpoint (HTTP, SSE, stdio). README
didn't mention this — significant gap given that "MCP" is in the
section name.
New row sits between the built-in tool count and the parallel-call
capability, where "but can I add my own?" naturally lands.
Co-Authored-By: RuFlo <ruv@ruv.net>
Was treating the three URLs (flo.ruv.io / ruflo.ruv.io /
ruvocal.ruv.io) as if they were the product. They're just my
hosted demo — RuFlo's Web UI is meant to be self-hosted.
- Drop the "Three URLs, one app" row entirely (was a deployment
detail, not a user-facing feature).
- Replace with 🏠 "Self-hostable" row that points readers at the
Dockerfile and cloudbuild.yaml.
- Heading reads "Web UI (Beta) — self-hostable, hosted demo at
flo.ruv.io" instead of listing the three aliases.
- Closing call-to-action splits into "Try the hosted demo" and
"Run your own" with paths to the source + cloudbuild.
Co-Authored-By: RuFlo <ruv@ruv.net>
Was overselling the curated cloud lineup as "the" supported set.
Reality: any OpenAI-compatible endpoint works (vLLM, Ollama, LM
Studio, Together, Groq, self-hosted). Plus native ruvLLM — RuFlo's
self-learning local model layer with MicroLoRA + SONA — for
fully-offline / privacy-sensitive workflows.
README:
- Reframe the 🧠 row as "Any model, local or remote" — keep the 6
curated cloud models as defaults, list the supported runtimes
underneath.
- New 🦾 row dedicated to ruvLLM with link to ruvnet/ruvllm.
RufloHelpModal.svelte:
- Add a green callout below the Models table noting OpenAI-compat
support for vLLM/Ollama/LM Studio/Together/Groq/self-hosted, with
a ruvLLM blurb and link.
- Adjusts the existing "All models route through OpenRouter" note
to "Cloud models route through OpenRouter".
Co-Authored-By: RuFlo <ruv@ruv.net>
README:
- Web UI section now lives directly after the "What You Get"
capability table (was wedged between MCP Server install and What
You Get). Better narrative flow: install paths → what RuFlo gives
you → live demo to try it.
- Bullets replaced with a 7-row emoji table (🧠 / 🛠️ / ⚡ / 💾 / 📘 /
🌍 / 🚀) using friendly language: "Tools run in parallel" instead
of "fan out tool_calls"; "Memory that sticks" instead of
"persistent storage via AgentDB + HNSW".
- All three domain aliases listed in the heading (flo.ruv.io,
ruflo.ruv.io, ruvocal.ruv.io). Welcome screenshot moved into a
collapsed <details> block.
RufloHelpModal.svelte:
- Added "Tool-call cards — what the icons mean" legend (✓ Called
tool, Step N — M tools completed, Retry, AUTO green/gray).
- Added "Under the hood" 8-row stack table (SvelteKit, OpenRouter,
ruflo backend, ruvector backend, AgentDB+HNSW+ONNX, rvagent-wasm,
embedded MongoDB, Cloud Run).
- Added "Domain aliases" section listing all 4 URLs (3 custom + raw
Cloud Run) with notes on Cloudflare DNS and managed cert.
- Added "Keyboard shortcuts" mini-table (Enter, Shift+Enter, Esc,
?worker=1 flag).
- Two extra example prompts added (search+web_research parallel,
diff analysis on a real PR).
Co-Authored-By: RuFlo <ruv@ruv.net>
- Add ruVocal-welcome.png as the primary section banner (520px,
centered, clickable → flo.ruv.io). Smaller and more brand-focused
than ruVocal.png — better fit for GitHub's social card.
- Move ruVocal.png into a collapsed <details> block ("See it in
action") that shows the parallel-tool-calling indicator. Keeps the
scroll-tax low while still demonstrating real functionality.
- Rewrite the lead sentence to load with searchable keywords:
"multi-model AI chat with built-in Model Context Protocol (MCP)
tool calling".
- Bullet list now leads with model count, mentions HNSW vector
search and OpenRouter explicitly, and ties the parallel-tool
feature to the "Step N — M tools completed" indicator visible in
the screenshot.
- Both <img> tags carry SEO-rich alt text covering: multi-agent AI,
MCP, persistent vector memory, AgentDB + HNSW, parallel tool
calling, and the model lineup.
- Trailing keywords blockquote for index coverage on terms like
"Model Context Protocol", "agent swarms", "OpenRouter".
Co-Authored-By: RuFlo <ruv@ruv.net>
Embeds v3/docs/assets/ruVocal.png as a clickable banner that links to
flo.ruv.io. Image shows real tool execution in the UI:
ruflo__memory_store + ruflo__memory_search firing in parallel with
the "Step 1 — 2 tools completed" indicator, the thinking process
panel, and Qwen 3.6 Max selected as the active model.
Also updates the bullet list under the section to match the current
deployed lineup (Qwen 3.6 Max as default, Opus removed) and adds a
cross-reference from the parallel-tool-calling bullet to the
indicator visible in the screenshot.
Co-Authored-By: RuFlo <ruv@ruv.net>
- Header subtitle now reflects the full picture: ~210 MCP tools · 5
server groups · 18 in-browser WASM tools · 6 frontier models · parallel
tool calling
- Quick start: default updated from "Gemini 2.5 Flash" → "Claude Haiku
4.5" (matches deployed config); 5 numbered steps now mention the
parallel-tool-calling cards and the MCP (n) pill explicitly
- NEW "Models available" section: 6-row table with provider, strength,
per-model "best for" notes, and a default-row highlight (Haiku 4.5)
- Tool groups reworked with richer per-group intros (e.g. WASM section
notes the 588 KB bundle size and ?worker=1 flag) and more accurate
per-tool descriptions
- NEW "Try these" section with 4 copy-paste example prompts in mono
font that exercise memory, parallel system probing, swarm spawning,
and route+spawn flows
- Tips expanded from 5 short bullets to 6 deeper ones, including an
explicit "Parallel tool calls" tip explaining the Promise.all
behavior and the "Step N — M tools completed" cards
- Resources section adds issue #1689 (UI capabilities & roadmap)
- Modal width bumped from max-w-2xl → max-w-3xl, max-h 85vh → 88vh to
fit the new sections without crowding
svelte-check: 0 new errors.
Co-Authored-By: RuFlo <ruv@ruv.net>
Build v8 failed with:
Rollup failed to resolve import "__sveltekit/environment" from
"/app/node_modules/@sveltejs/kit/src/runtime/app/environment/index.js"
file: /app/src/lib/wasm/workerClient.ts
Root cause: wasm.worker.ts imported loadWasm from $lib/wasm/index, which
transitively pulls $app/environment — a SvelteKit page-bundle module
not resolvable in worker context.
Inline a worker-safe mock WasmMcpServer + WasmGallery (same surface as
the index.ts mock used by the main thread today). The real rvagent_wasm
bundle still ships in static/wasm/; integrating it into the worker via
dynamic import is tracked in #1689.
Local `npm run build` now succeeds. Worker file bundles cleanly via
Vite's `new URL("./wasm.worker.ts", import.meta.url)` resolver.
Co-Authored-By: RuFlo <ruv@ruv.net>
Adds a Web Worker that owns the WASM MCP server and exposes a
JSON-RPC + gallery surface to the main thread via postMessage.
- src/lib/wasm/wasm.worker.ts — owns WasmMcpServer + WasmGallery,
handles the JSON-RPC initialize handshake during load, dispatches
callMcp / gallery.{list,search,get,setActive,getActive,count,
getCategories,listByCategory} requests
- src/lib/wasm/workerClient.ts — main-thread RPC client with
auto-incrementing IDs, Vite `new URL(..., import.meta.url)` worker
loader, idempotent ensureReady(), feature-flag (localStorage
"ruflo:wasm-worker"=true OR ?worker=1)
- src/lib/stores/wasmMcp.ts — callMcp now routes through the worker
when the flag is enabled, falls back to the in-process path
otherwise
Behind a flag so existing behavior is unchanged for default users
while we validate the worker path. Tracking issue #1689 lists the
remaining gallery / IDB integration work to make worker mode the
default.
svelte-check: 0 new errors.
Co-Authored-By: RuFlo <ruv@ruv.net>
Adds a "Web UI (Beta) — flo.ruv.io" subsection right after MCP Server
with the multi-model lineup, MCP tool count, parallel-tool-calling,
persistent memory, and help-modal highlights. Cross-references ADR-033.
Also adds the UI as a row in the "What You Get" capability table.
Co-Authored-By: RuFlo <ruv@ruv.net>
* feat(ruvocal): add WASM-MCP layer from RuVector upstream (ADR-033)
Adds in-browser WASM MCP server (rvagent-wasm) to local ruvocal:
- src/lib/wasm/ — loader, IndexedDB persistence, capability tests
- src/lib/components/wasm/GalleryPanel.svelte — template gallery UI
- src/lib/components/FoundationBackground.svelte
- src/lib/stores/wasmMcp.ts — Svelte store for WASM MCP lifecycle
- src/lib/constants/rvagentPresets.ts
- src/lib/server/textGeneration/mcp/wasmTools.test.ts
- static/wasm/ — compiled rvagent_wasm.{js,wasm} (~588 KB)
- config/branding.env.example
Pure additions; no existing files modified in this commit. Source:
ruvnet/RuVector/ui/ruvocal main as of 2026-05-01.
See ruflo/docs/adr/ADR-033-RUVOCAL-WASM-MCP-INTEGRATION.md for the
overlay strategy and integration plan.
Co-Authored-By: RuFlo <ruv@ruv.net>
* feat(ruvocal): wire WASM-MCP types into stores and Settings/Tool
Overlays from RuVector upstream needed for GalleryPanel.svelte:
- src/lib/stores/mcpServers.ts — adds WASM_SERVER_ID, loadWasmTemplate,
getWasmGalleryTemplates exports
- src/lib/types/Settings.ts — adds wasm-related settings fields
- src/lib/types/Tool.ts — adds wasm tool types
svelte-check: 0 new errors introduced. 104 pre-existing errors in
untouched files (RuFloUniverse, migrations, server tests) are
unchanged and out of scope for this ADR.
ADR-033
Co-Authored-By: RuFlo <ruv@ruv.net>
* feat(ruvocal): add Cloud Run deploy stub + document infra prereqs (ADR-033)
- cloudbuild.yaml builds ruvocal Dockerfile and deploys to Cloud Run.
Wired to existing ruv-dev secrets (ANTHROPIC_API_KEY, GOOGLE_AI_API_KEY,
OPENROUTER_API_KEY) per ADR-029 pattern.
- ADR-033 updated with deployment plan and explicit MongoDB blocker:
Cloud Run can't run Mongo natively. Operator must provision either
Atlas free tier (M0) or a Cloud Run sidecar before first deploy.
- Notes that the thin src/chat-ui/Dockerfile wrapper is unsuitable for
this integration — it can only patch the upstream HF base image with
static files, not include compiled WASM source.
Deploy is staged but blocked on mongo. Local validation already passed:
WASM MCP server initializes with 18 tools, IDB persistence works.
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruvocal): use INCLUDE_DB=true for embedded mongo on Cloud Run
The local Dockerfile already supports INCLUDE_DB=true via the
multi-stage 'local_db_true' path that copies mongod from the
official mongo:7 image. Setting --build-arg INCLUDE_DB=true and
MONGODB_URL=mongodb://localhost:27017 makes Cloud Run deploys
self-contained — no external Atlas, no sidecar, no service-YAML
rewrite.
Tradeoff: Cloud Run filesystem is ephemeral, so chat history is
lost on cold starts. Acceptable for validating the WASM-MCP
integration; production deploys should follow up with Atlas
or persistent storage (tracked separately).
ADR-033
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruvocal): enable DOCKER_BUILDKIT for Cloud Build
Dockerfile uses COPY --link and RUN --mount=type=cache (BuildKit
syntax). Without DOCKER_BUILDKIT=1 in the build env, Cloud Build's
docker daemon parses the file in legacy mode and fails with
"Unknown flag: link" before any build step runs (build baf645f5
died at 17 seconds).
Co-Authored-By: RuFlo <ruv@ruv.net>
* docs(adr-033): document Cloud Run deployment outcome
Records what's confirmed working on the deployed instance at
https://ruvocal-875130704813.us-central1.run.app and surfaces the
known /api/v2/models 500 (HF chat-ui SSR edge case unrelated to
WASM integration). WASM bundle reachable at /wasm/* with 200 OK.
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruvocal): anchor .dockerignore models/** so route dirs survive
The unanchored `models/**` pattern was matching ANY path containing
'models/' — including src/routes/api/v2/models/, src/routes/models/,
and src/lib/server/models/__tests__/. SvelteKit's production build
inside Docker was therefore missing those routes entirely, while
local `npm run build` outside Docker built them correctly. Result:
Cloud Run revisions returned 404 for /api/v2/models which the layout
load function turned into a 500 on the homepage.
Anchoring with a leading slash limits the pattern to the top-level
models/ directory only. This unblocks the deployed homepage and
fully validates the WASM-MCP integration in production.
ADR-033
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruvocal): remove models/** from .dockerignore entirely
Earlier anchor fix `/models/**` still produced images missing the
/api/v2/models route. Confirmed by `docker run --entrypoint=ls` against
gcr.io/ruv-dev/ruvocal:v2 — /app/build/server/entries/endpoints/api/v2/
did not exist, manifest contained 0 references to /api/v2/models, while
/api/v2/conversations and /api/v2/user were present.
Removing the line entirely. The placeholder models/ dir at the repo root
contains only a single 'add-your-models-here.txt' file — letting it into
the build context costs nothing.
ADR-033
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruvocal): cloudbuild deploy preserves env vars across rebuilds
Each rebuild was nuking DOTENV_LOCAL, OPENAI_API_KEY (mapped from
OPENROUTER_API_KEY secret), and other manual config because
`gcloud run deploy --set-env-vars` REPLACES rather than merges.
Drop the env/secret args from the deploy step entirely so subsequent
deploys keep whatever was set via `gcloud run services update`.
Initial env config is set out-of-band per ADR-033.
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruvocal): add .gcloudignore so model routes survive Cloud Build upload
ROOT CAUSE of the production 500 errors: gcloud builds submit
falls back to .gitignore when no .gcloudignore is present.
.gitignore line 16 is `models/*` (unanchored), which matches
EVERY models/ directory in the tree:
- src/routes/api/v2/models/* (REAL ROUTES)
- src/routes/models/* (REAL ROUTES)
- src/lib/server/models/__tests__/ (tests)
Result: source tarballs uploaded to Cloud Build had EMPTY models/
directories. Production builds shipped without /api/v2/models,
/api/v2/models/refresh, /api/v2/models/[namespace], etc. The
homepage Layout.load called /api/v2/models which 404'd, the layout
chain converted that to a 500, and /favicon.ico (also unmatched at
root, since the assets/ exclusion is unrelated) returned 500 too.
Verified by `gsutil cp` of build c07ba163 source tarball:
$ tar tzf build-source.tgz | grep models
src/routes/models/ (empty dir)
src/routes/api/v2/models/ (empty dir)
After adding .gcloudignore, the v4 source tarball includes all
+server.ts files for those routes.
ADR-033
Co-Authored-By: RuFlo <ruv@ruv.net>
* docs(adr-033): record provider config + ruvocal.ruv.io custom domain
- Gemini 2.5 Flash via Google's OpenAI-compatible endpoint with
GOOGLE_AI_API_KEY (HF router 401 was due to user-token vs router
auth mismatch; OpenRouter base URL × HF token combo also failed)
- ruvocal.ruv.io mapped to Cloud Run, Cloudflare CNAME unproxied so
Google manages the cert; 15-30 min provisioning window
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(mcp-bridge): 120s initialize timeout for Cloud Run cold starts
Bridge was hitting a hardcoded 30s RPC timeout on `initialize` while
ruflo and ruvector backends took 45-60s to boot on Cloud Run cold
start (full claude-flow / ruvector kernel + npx fetch). Backends
were marked "failed to start" but actually came up after the
timeout fired and ran as zombies — bridge served 0 backend tools.
Init gets 120s; other RPC methods stay at 30s (post-init they're
snappy).
Co-Authored-By: RuFlo <ruv@ruv.net>
* feat(ruvocal): replace HF default examples with RuFlo capabilities
Welcome screen now shows 8 prompts that exercise actual ruflo / ruvector
MCP tools (swarm spawn, memory save/recall, task routing, diff analysis,
system status, WASM gallery, GOAP planning, neural training) instead of
HuggingChat defaults like "Generate an image" or "Latest world news".
Co-Authored-By: RuFlo <ruv@ruv.net>
* feat(ruvocal): add help icon + RuFlo capabilities modal
Question-mark icon next to the theme toggle in the sidebar opens a
modal with:
- Quick-start instructions (4 steps)
- All 6 tool groups (Memory, Agents, Intelligence, DevTools, Core,
WASM) as expandable sections with per-tool descriptions
- 5 tips (MCP pill, AUTO toggle, trajectories, memory, prefixes)
- Resource links to ruflo, ADR-033, ruvector
Closes the user-visible "system doesn't seem to know its tools" gap
by surfacing what's available without forcing the user to open
Settings → Application.
Co-Authored-By: RuFlo <ruv@ruv.net>
* feat(ruvocal): replace router-mode default examples with RuFlo themes
The welcome screen has TWO example sources: mcpExamples (when all
base MCP servers are enabled) and routerExamples (otherwise). Earlier
commit only rewrote mcpExamples, leaving HF defaults like "HTML game"
visible whenever users hadn't toggled all servers on.
Router examples now cover: coding swarms, memory/recall, migration
planning, diff review, HNSW, topology choice, horizon tracking, WASM
vs bridge tools — all answerable without tool calls if needed.
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(mcp-bridge): return structured error on empty search query
When Gemini emits a `search` tool_call with no `query` field, the
bridge was sending an empty prompt to Gemini's generateContent
endpoint and returning the resulting 400 verbatim. The model then
treated it as opaque and gave up.
Validate query upfront and return a hint object the model can use
to retry with a real query.
Co-Authored-By: RuFlo <ruv@ruv.net>
* docs(readme): link banner to flo.ruv.io and add UI Beta button
The Ruflo banner image now links to the live UI at flo.ruv.io. A new
"Try the UI Beta" badge sits below it for explicit click-through.
The Cloud Run cert is still propagating but DNS resolves; CNAME is
unproxied through Cloudflare so Google can issue the managed cert.
Co-Authored-By: RuFlo <ruv@ruv.net>
---------
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
The bin shim now loads .env from CWD (or any parent) without overwriting
existing env vars, then reads COGNITUM_SEED_TOKEN. When present:
- Default endpoint switches from http://169.254.42.1 (link-local, no auth)
to https://169.254.42.1:8443 (LAN/HTTPS, bearer)
- The token is passed as the pairing/bearer token on `register`
- All subsequent SDK calls use the bearer-authenticated session
Verified end-to-end against a live Seed: bearer-authed register, status,
mesh, witness, query all work over HTTPS:8443. Self-signed dev cert is
tolerated via NODE_TLS_REJECT_UNAUTHORIZED=0 in the smoke harness;
plugin/SDK tolerance via tlsInsecure config (default true).
Smoke results with bearer: 22/25 pass. The 3 remaining failures are
real Seed-side state (rate-limited pair window from prior runs, SDK
trust-score circuit breaker after repeated unauthorized attempts in
the same in-process run, and store/ingest correctly classified as
needing a write-scoped token vs. our read-scoped one).
Plugin source (src/bin.ts):
- New loadDotenv() walks up from CWD looking for .env, parses KEY=VALUE
lines (handles quoted values, comments, blanks), sets process.env
without overwriting.
- SEED_DEFAULT_ENDPOINT = COGNITUM_SEED_ENDPOINT ?? (token ? lan : link-local)
- register handler auto-injects --token from env if not explicitly passed
- --help banner shows token status and endpoint mode
Smoke harness:
- Loads same .env, picks endpoint+token automatically
- pair-window opener now checks status first (avoids HTTP 429 on already-open),
passes bearer when available
- ingest failure now classified as expected-on-read-scope-tokens
Plugin README documents .env setup, COGNITUM_SEED_TOKEN, optional
COGNITUM_SEED_ENDPOINT/IOT_FLEET_ID/IOT_ZONE_ID/IOT_TLS_INSECURE overrides,
and the read-vs-write token scope distinction.
Bump to 1.0.0-alpha.5; published to npm (alpha + latest).
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
Drove the live-Seed smoke harness from 11/24 to 24/25 covered, then 21/25
passing on link-local HTTP (the remaining 4 are real Seed security
boundaries, not plugin bugs).
Plugin source fixes (cli-commands.ts):
- iot query: handler now accepts --vector "[..]" JSON arg and parses to
number[] (was: passed empty array; result was always nearest-neighbour
to origin)
- iot ingest: handler now accepts --vector "[..]" --metadata "{..}" OR a
JSON array on stdin (was: stub that always passed []; the SDK rejected
empty arrays). Uses the SDK's expected {values, metadata} shape.
- New parseVector helper validates JSON array of numbers.
Smoke harness (__tests__/integration/full-plugin-smoke.mjs):
- Rewrote to 25 commands across 7 tiers (init/lifecycle, read-only,
vector ops, pair round-trip, fleet ops, firmware reads, deregister).
- Pair flow opens pair window via direct API call first (the plugin
doesn't expose pair-window control yet — known gap).
- Bearer-required failures (unpair, ingest write) classified as expected
on link-local; firmware deploy/advance/rollback explicitly skipped
(OTA-can-brick).
- Pass-through dArgs() helper handles cli-commands.ts arg-style
inconsistency (some handlers read args._[0], others args['device-id']).
Cognitum.one mention (per user request):
- v3/@claude-flow/plugin-iot-cognitum/package.json: description now
includes "Get a Seed at https://cognitum.one"; added homepage field.
- New README.md for the npm package — full command reference with
cognitum.one link prominent at the top.
- plugins/ruflo-iot-cognitum/README.md: "Hardware" section added with
cognitum.one link and link-local + LAN endpoint reference.
Bump to 1.0.0-alpha.4. Published to npm (alpha + latest).
Known gaps for follow-up (not blockers, real Seed limits):
- ingest/unpair require bearer auth via https://...:8443 — plugin doesn't
support the bearer transport yet
- pair window opening isn't exposed as a CLI command
- iot pair triggers Seed rate-limiter (HTTP 429) when called repeatedly
- SDK's witness.chain() returns 0 length while raw API shows 49,138
entries — different endpoint shape
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
The IoTCoordinator.registerDevice() flow was broken: it stored the SeedClient
under the endpoint key only, but DeviceLifecycleService.registerDevice() makes
two SDK calls — getStatus(endpoint) which works, then getIdentity(device_id)
which throws "Device <id> not registered with coordinator" because the client
isn't reachable under the device-id key yet. End result: register always
failed even when the Seed responded correctly.
Fix: pre-fetch the device-id via client.status() in the coordinator, then
register the client under both keys (endpoint and device-id) before invoking
the lifecycle service. After lifecycle returns, drop the endpoint key and
keep the device-id mapping.
Verified end-to-end against a live Cognitum Seed device (firmware 0.8.1):
$ npx -y -p @claude-flow/plugin-iot-cognitum@latest cognitum-iot register
[info] No --endpoint supplied; defaulting to http://169.254.42.1
Device registered: ecaf97dd-fc90-4b0e-b0e7-e9f896b9fbb6
Endpoint: http://169.254.42.1
Trust: registered
Firmware: 0.8.1
Full-suite live smoke (register → status → mesh → witness → witness verify
→ anomalies → baseline → fleet create/list) all pass. Trust score 0.800
(certified). 239 unit tests still pass.
Bumps to 1.0.0-alpha.3, published to npm (alpha + latest).
Adds __tests__/integration/full-plugin-smoke.mjs as the chained-command
integration harness (the published bin is one-shot; this script bootstraps
the plugin once and exercises device-aware commands in a single process).
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
The marketplace registry only listed 20 of 32 plugin source directories,
so users running /plugin marketplace add ruvnet/ruflo never received the
remaining 12 — including ruflo-iot-cognitum, leaving /iot unreachable.
Added: ruflo-adr, ruflo-cost-tracker, ruflo-ddd, ruflo-federation,
ruflo-iot-cognitum, ruflo-knowledge-graph, ruflo-market-data,
ruflo-migrations, ruflo-neural-trader, ruflo-observability,
ruflo-ruvector, ruflo-sparc.
Marketplace now lists all 32 plugins matching the source tree.
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
#1605: Guard browser_* MCP tool registration behind agent-browser
availability check. Tools are no longer advertised when the binary
is missing.
#1604: Align memory-tools.ts MEMORY_DIR with memory-initializer.ts
(.swarm/memory.db). Legacy migration now correctly reads from the
old .claude-flow/memory/ path.
#1606: Wrap ensureInitialized() in try/catch to prevent unhandled
exceptions from killing the stdio transport. Fix cli.js outer catch
to return -32603 (internal error) instead of -32700 (parse error)
for handleMessage failures.
#1616: Rename .claude/settings copy.json → settings.json.bak so
VSCode Copilot no longer treats it as an active settings file.
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
The "All 21 plugins" summary was stale after adding 11 new plugins.
Updated to "All 32 plugins" with the full table in both root and CLI READMEs.
Co-Authored-By: claude-flow <ruv@ruv.net>
Rewrites claudemd-generator.ts from ~577 to ~280 lines (~50% token reduction).
Adds agent comms (SendMessage pipeline) as core section in every template.
Updates root CLAUDE.md to v3.6.10 with comms-first agent teams section.
Co-Authored-By: claude-flow <ruv@ruv.net>
Replace all 7 mock-based test files with tests that import and exercise
the real source classes. Previously tests defined local reimplementations
with divergent APIs (kebab-case types, wrong actions, different fields),
so they validated the spec but not the implementation.
Source fixes:
- Add missing `address` entry to PII policy matrix (14/14 types)
- Add @claude-flow/aidefence to plugin dependencies
Test count: 202 → 325 (all passing, 179ms)
Co-Authored-By: claude-flow <ruv@ruv.net>
Add strategic feedback to the federation ADR:
- Trust scoring formula (0.4*success + 0.2*uptime + 0.2*threat + 0.2*integrity)
with hysteresis thresholds and automatic downgrade triggers
- PII confidence scoring with adaptive calibration from operator overrides
- Consensus mode splitting: direct default, BFT only for state mutations
- RuVector/MinCut/RVF stretch direction (Section 9)
- Validation benchmark: 10k messages, zero PII leaks, malicious node isolation
- Updated failure modes: over-engineering, PII too strict, trust too complex
- Strategic framing as "TCP/IP layer for agent trust"
- Architecture evaluation scoring and business impact analysis
Co-Authored-By: claude-flow <ruv@ruv.net>
Proposes @claude-flow/plugin-agent-federation — a cross-installation
agent federation system with graduated trust, PII-gated data flow,
AI defence scanning, Byzantine fault tolerance, and compliance-grade
audit logging (HIPAA/SOC2/GDPR).
5-phase delivery plan across 16 weeks, building on existing ruflo
capabilities: aidefence, security, claims, hive-mind consensus,
and the plugin sandbox system.
Co-Authored-By: claude-flow <ruv@ruv.net>
Bug D final: args.join(',') not args.join(' ') — agent-browser expects
comma-separated single string: --args "--no-sandbox,--disable-dev-shm"
Bug E final: readSysctl used require('fs') which fails silently in ESM.
Now uses top-level import { readFileSync, existsSync } from 'node:fs'.
AppArmor check was already present but never executed due to require().
Co-Authored-By: claude-flow <ruv@ruv.net>
Test expected synchronous exports for daemonCommand et al. and ≥15
commands in the sync array, but PERF-03 moved advanced commands to
lazy loading. Now tests check async getters and expects ≥10 core
commands.
Co-Authored-By: claude-flow <ruv@ruv.net>
Bug D: --arg → --args (agent-browser CLI expects plural flag with
joined args string, not per-arg iteration).
Bug E: needsNoSandbox now checks apparmor_restrict_unprivileged_userns
in addition to unprivileged_userns_clone for Ubuntu 24.04+.
Issue #1652: DefaultHeadlessExecutor now implements IContentAwareExecutor
with setContext(). Config A removes CLAUDE.md, Config B writes provided
content. Backup/restore ensures original file is preserved.
Co-Authored-By: claude-flow <ruv@ruv.net>
Browser MCP: ENOENT fallback to npx, --args passthrough with Linux
sandbox auto-detect, hover @eN ref parity with click/fill.
RaBitQ: buildRabitqIndex now reads through bridge (better-sqlite3)
first so it sees WAL data from memory_store. Fixes vectorCount: 0
after store. embeddings_search defaults to namespace 'all'.
Co-Authored-By: claude-flow <ruv@ruv.net>
- Integrate @ruvector/rabitq-wasm for 32x vector compression and
Hamming-scan pre-filtering in the memory search pipeline
- Add 3 MCP tools: embeddings_rabitq_build, _search, _status
- Fix: bridgeStoreEntry now returns rawEmbedding for HNSW sync
- Fix: storeEntry adds to HNSW index after bridge store succeeds
- Fix: bridgeStorePattern adds to HNSW in bridge-fallback path
- Fix: RRF scoring uses pure BM25 when row has no embedding
(prevents 0.3x crush of keyword scores below threshold)
- Fix: pattern-store recognizes bridge-fallback for hnswIndexed
Closes#1659
Co-Authored-By: claude-flow <ruv@ruv.net>