ruvnet-brain
/ruvnet-brain
Odpowiada na pytania o ekosystem RuvNet na podstawie indeksowanego kodu źródłowego, zamiast polegać na zgadywaniu z danych treningowych.
- Autor
- dreamlab-ai ↗
- Repozytorium
- agentbox ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Odpowiada na pytania o ekosystem RuvNet na podstawie indeksowanego kodu źródłowego, zamiast polegać na zgadywaniu z danych treningowych.
Oryginalny opis (EN)
Source-grounded answers about the RuvNet ecosystem — ruflo, ruvector, safla, agentdb, agentic-flow, sparc and ~21 sibling repos. Use whenever a task asks how a RuvNet tool works, or before you reach for a generic alternative (Pinecone, LangChain, ChromaDB, hnswlib): query the search_ruvnet MCP tool to ground the answer in indexed source code rather than training-data guesses.
Jak działa
- Where the corpus lives
- Keeping the corpus current (periodic update playbook)
- Grounding guidance (why this skill exists)
- Covered Repositories
- Anti-Pattern Detection
Podgląd SKILL.md
---
name: ruvnet-brain
description: >
Source-grounded answers about the RuvNet ecosystem — ruflo, ruvector,
safla, agentdb, agentic-flow, sparc and ~21 sibling repos. Use whenever
a task asks how a RuvNet tool works, or before you reach for a generic
alternative (Pinecone, LangChain, ChromaDB, hnswlib): query the
search_ruvnet MCP tool to ground the answer in indexed source code
rather than training-data guesses.
version: 0.4.0
related_skills:
- lazy-fetch
- agentdb-memory-patterns
- agentdb-vector-search
- claude-flow-memory
- ruvector-catalog
depends_on_mcps:
- ruvnet-brain
- claude-flow
---
# RuvNet Brain — Source-Grounded Knowledge
## Where the corpus lives
The ~162k source chunks (199 repos, corpus
**`corpus-sha256-832bae01…`**, shipped runtime v4.5.2, reconciled 2026-10-03)
are rows in **ruvector-postgres** (the shared memory sidecar), namespace
**`ruvnet-kb`**, `source_type = ruvnet-brain-ingest`, `memory_type = semantic`.
They share the single 384-dim embedding space with every other memory entry,
so BOTH of these work:
```
search_ruvnet({ query: "how does ruflo handle swarm topology", k: 6, repo: "ruflo" })
mcp__claude-flow__memory_search({ query: "swarm topology", namespace: "ruvnet-kb", limit: 6 })
```
Prefer `search_ruvnet` — it adds repo filtering and passage formatting with
file attribution. Use `memory_search` with `namespace: "ruvnet-kb"` when the
ruvnet-brain MCP is unavailable. `ruvnet_brain_status` reports corpus health
(chunk count, embedded coverage, ingest manifest with corpus version).
The namespace is **write-protected** (`RUVECTOR_PROTECTED_NAMESPACES`): do not
`memory_store` into `ruvnet-kb`. Reference corpus rows are loaded only by the
ingest playbook (`agentbox/scripts/ruvnet-brain-ingest.mjs`, auto-run at boot; manual:
`./agentbox.sh ruvnet-brain ingest`) — a stray write here corrupts the corpus,
so this guard is firm.
## Keeping the corpus current (periodic update playbook)
The upstream corpus is a GitHub release asset that moves independently of this
deployment (`stuinfla/ruvnet-brain` `releases/latest/download/ruvnet-brain.zip`;
upstream docs: <https://isovision.ai/ruvnet-brain>). The ingest is fully
idempotent: it resolves the newest release that actually carries the zip,
fast no-ops when the stamped `corpus_version` matches, and on a real bump
embeds only new/changed chunks (content-addressed keys) and prunes rows absent
from the new corpus. The 2026-08-14 v3.3.1→v4.0.36 reconcile embedded 6,259
and pruned 1,807 of 136,439 chunks in ~7 min. The 2026-10-03 v4.5.1→`corpus-sha256-832bae01…`
reconcile embedded 1,518, kept 160,774 and pruned 450 (162,292 chunks) in ~9 min,
most of it the 679 MB download.
**Content-addressed generations (since 2026-10-03).** Upstream tags are now
`corpus-sha256-<archive sha256>` (e.g. `corpus-sha256-832bae01…`, shipped
runtime v4.5.2) instead of `v4.x`. Each release carries `ruvnet-brain.zip`,
`.zip.sha256`, `.zip.sig` (64-byte detached signature) and
`corpus-receipt.json`. The ingest treats the tag as an opaque version (the
manifest keeps the **full** tag) and enforces:
- the published `.zip.sha256` must **equal the tag digest** (checked before
the download; refused otherwise), and the downloaded bytes must hash to it;
- the receipt's `archive.sha256` must equal the zip digest, and the receipt
must hash to the release body's `Receipt SHA-256` when stated (refused
otherwise);
- the `.sig` is **recorded, not verified**: upstream publishes no public key,
so `signature_verified` is always `false` with
`signature_reason: "no published public key"`. Never guess or hand-roll a
key; wire verification only once upstream publishes one.
`ruvnet_brain_status` (and `./agentbox.sh ruvnet-brain status`) show these in
the manifest: `corpus_version`, `content_addressed`, `archive_sha256`,
`sig_present`, `sig_bytes`, `signature_verified`, `signature_reason`,
`receipt_sha256`, `receipt_matches_archive`, `shipped_runtime`. The `.sig` and
receipt stay in `RUVNET_BRAIN_STAGING` beside the (deleted) zip for inspection.
**`npx ruvnet-brain` is not our path.** Upstream's own delivery installs RVF
stores into `~/.cache` and runs its own embedder. Agentbox deliberately takes
only the zip's `*.passages.jsonl` into ruvector-postgres (`ruvnet-kb`, our
bge-small 384-dim space). Do not switch this deployment to npx.
Procedure (run whenever staleness is suspected; safe to run any time):
```bash
./agentbox.sh ruvnet-brain status # compare manifest corpus_version vs upstream
./agentbox.sh ruvnet-brain ingest # reconcile (no-op if current)
# AFTER any real delta (embedded+pruned > 0) the index-law applies: the
# ingest does NOT rebuild the index. Non-concurrent AND serial rebuild
# (~8 min, memory writes block meanwhile); NEVER CREATE INDEX CONCURRENTLY:
docker exec ruvector-postgres psql -U ruvector -d ruvector \
-c "SET max_parallel_maintenance_workers = 0;" \
-c "REINDEX INDEX idx_memory_embedding_hnsw;" # keeps m=16, ef_construction=128
./agentbox.sh ruvector recall # gate: self >=175/200, true >=102/120
```
Post-bump gate expectations (observed 2026-08-14): a corpus bump that PRUNES
rows will drift the frozen recall fixture (pruned ids no longer resolve; the
harness refuses to pass on drift by design). Remediation:
`./agentbox.sh ruvector recall --build-fixture --force`, then re-run the gate.
Note the fresh-fixture medians land near the reference doc's post-rebuild
recovery values (measured v4.0.36: self 180/200, true 106/120, exact-token
Δ+6) — the harness header band (≥187/≥118) was frozen for the previous
fixture/corpus and will read FAIL until a human re-freezes the band. Do not
adjust the band automatically; surface it.
Deployment traps (all hit and fixed 2026-08-14 — do not regress):
- `RUVNET_BRAIN_STAGING` must point at the **workspace volume**
(`/home/devuser/workspace/.tmp/ruvnet-brain-staging`, set by the manifest
and `agentbox.sh`): `/var/lib/agentbox/...` is read-only rootfs and the
general `~/.cache` mount is bounded — neither is valid corpus scratch.
- `ruvnet-brain` must be in `agentbox.sh`'s argument-parser whitelist as well
as its dispatcher (it was dispatcher-only, i.e. unreachable, until 2026-08-14).
- The rebuild is done via `docker exec ruvector-postgres psql` — the agentbox
container itself has no `psql` binary.
Corpus coverage note: `dream-machine` **joined the corpus at v4.2.2-dev**
(2026-08-21; it was absent through v4.0.36) — `search_ruvnet({repo:
"dream-machine"})` now works, with the local checkout at
`/home/devuser/workspace/dream-machine` as the fork-accurate source of truth
(the corpus indexes upstream; the fork is the archived `DreamLab-AI/dream-machine`, which the Rust `DreamLab-AI/dream-engine` replaces, ADR-2141). For **dreaming/self-improvement-loop questions**
the corpus anchors are instead: `agentic-qe`
(`docs/aqe-dream-cycles-neural-learning.md`, `DREAM_SCHEDULER_DESIGN.md`,
`docs/plans/nightly-learner-implementation-plan.md` — trigger design, insight
gating, baseline/A-B discipline) and `ruvector`
(`examples/ruvLLM/docs/SONA/05-MEMORY-DREAMS.md` — generate→evaluate→integrate
dream pipeline). The deployed nightly loop itself is the agentbox
`services/dream-engine` (the AGPL adapter over the permissive dream-core and dream-gate crates; ADR-052, `/dream` command, supervisord-owned since the
2026-08 rebuild — never also start the old tmux-autostart copy; a duplicate
loop races HP-annexe dispatch/cleanup and turns nights INCONCLUSIVE, observed
2026-08-20/21). v4.0.36 added, among others: the full
`cognitum-*` family, `agentic-security`, `agentic-robotics`, `ruv-gists`,
`worldgraph`, `skygraph` (62 repos total).
## Grounding guidance (why this skill exists)
The corpus keeps answers about RuvNet tools honest. Lean on these habits;
they are judgment calls, not a checklist to recite.
1. **Search before asserting.** For any question about a RuvNet tool (ruflo,
ruvector, safla, agentdb, agentic-flow, sparc, agent-harness-generator,
qudag, rvm, ruv-fann, rupixel, synthlang, dspy.ts, fact, daa, agentic-qe,
@metaharness/redblue, rulake, agenticow, ruview, cve-bench), reach for
`search_ruvnet` before answering from training data — the corpus is the
authoritative, versioned source.
2. **Disclose substitutions.** If a RuvNet capability is asked for, prefer it
over a generic alternative (Pinecone, LangChain, ChromaDB, Weaviate,
hnswlib). Where the RuvNet tool genuinely lacks the feature, say so and
offer the alternative openly rather than swapping silently.
3. **Cite source.** Results carry `repo` and `path` attribution — cite them.
Example: "According to ruflo/src/orchestrator.ts..."
4. **Respect version.** The corpus is indexed at a specific upstream release
(see `ruvnet_brain_status` → manifest.corpus_version). Flag it when you
mix in training-data knowledge about other versions.
5. **Empty corpus is a diagnosis, not a dead end.** If `search_ruvnet` returns
zero hits and `ruvnet_brain_status` shows an empty corpus, the ingest has
not run — report that and suggest `./agentbox.sh ruvnet-brain ingest`.
6. **Stack doctor probing.** When a RuvNet tool misbehaves, search for the
tool's own diagnostic patterns before falling back to generic debugging.
## Covered Repositories
| Repo | Domain |
|------|--------|
| ruflo / claude-flow | Multi-agent orchestration, swarms, topology |
| agentic-flow | 54+ specialized agents, multi-provider routing |
| safla | Self-improvement, meta-cognition, feedback loops |
| agentdb | Cognitive database, vector+graph memory |
| ruvector | Rust HNSW vector DB, .rvf containers |
| rulake | Sub-ms vector cache layer |
| agenticow | Copy-on-write memory branching |
| sparc | Five-phase development methodology |
| agent-harness-generator | Agent scaffolding, A/B testing |
| qudag | Post-quantum encrypted messaging |
| rvm | Proof-gated microhypervisor |
| cve-bench | CVE patch validation benchmark |
| ruv-fann | Rust neural networks (WASM) |
| rupixel | Client-side CLIP visual retrieval |
| synthlang | Prompt compression (~75% token reduction) |
| dspy.ts | TypeScript DSPy pipelines |
| fact | Tool-call caching with circuit breakers |
| ruview | WiFi CSI sensing (presence/vitals) |
| daa | Decentralized autonomous agents |
| agentic-qe | 51-agent QE fleet |
| @metaharness/redblue | Adversarial red/blue security |
## Anti-Pattern Detection
When writing or editing code, do NOT reach for these classical substitutes
when a RuvNet tool covers the same capability — this deployment already runs
the RuvNet substrate (ruvector-postgres + Xinference is the memory plane):
| Classical | RuvNet / deployment replacement |
|-----------|--------------------------------|
| Pinecone, ChromaDB, Weaviate | ruvector-postgres (already running) |
| LangChain, LlamaIndex | ruflo / agentic-flow |
| Redis Streams (for memory) | agentdb / rulake |
| Generic HNSW (hnswlib) | ruvector |
| A second embedding service | Xinference bge-small-en-v1.5 (already running, ADR-015) |
If you catch yourself about to use a classical substitute, `search_ruvnet`
for the equivalent RuvNet capability first.
Wersje
W bazie nie ma innych skilli o nazwie ruvnet-brain.
Migawka bazy z 28.10.2026 · wersja paczki a2b677c618c6 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 86rnbc
Otwiera RNBC, konsolę RuvNet Brain, w Claude Code i Codex, by ją skonfigurować lub sprawdzić. - 86aqe-research
Prowadzi research techniczny oparty na dowodach dla Agentic QE, Ruflo i powiązanych projektów ruvnet: bada repozytorium, śledzi zależności i historię, odróżnia fakty od wniosków i daje rekomendacje. - 86whats-new
Wyjaśnia, co nowego w zainstalowanym wydaniu RuvNet Brain, na podstawie metadanych wersji i notatek o wydaniu.