ruvnet-brain 4.3.29 → 4.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@ Created: 2026-06-29 22:36:38 EDT
7
7
 
8
8
  # 🧠 RuvNet Brain
9
9
 
10
- ### 🧠 RuvNet Brain — [![RuvNet Brain version 4.3.29 — updated 2026-07-30 03:24 EDT](https://img.shields.io/badge/version_4.3.29-updated_2026--07--30_03:24_EDT-1E90FF?style=for-the-badge&labelColor=0757BA)](https://github.com/stuinfla/ruvnet-brain/blob/main/plugin/.claude-plugin/plugin.json)
10
+ ### 🧠 RuvNet Brain — [![RuvNet Brain version 4.3.30 — updated 2026-07-30 03:24 EDT](https://img.shields.io/badge/version_4.3.30-updated_2026--07--30_03:24_EDT-1E90FF?style=for-the-badge&labelColor=0757BA)](https://github.com/stuinfla/ruvnet-brain/blob/main/plugin/.claude-plugin/plugin.json)
11
11
 
12
12
  **A portable, source-grounded brain over Reuven Cohen's (rUv's) RuvNet stack — delivered as a Claude Code plugin that makes Claude _use_ the stack instead of fighting it.**
13
13
 
package/bin/install.mjs CHANGED
@@ -2449,7 +2449,22 @@ async function smokeQuery(cacheDir) {
2449
2449
  // The stable MCP shell sets this exact default before spawning its worker. Passing the same
2450
2450
  // path here makes the install smoke warm the model cache the product will actually reopen,
2451
2451
  // instead of a second kb-local cache that can go green while the real door stays cold.
2452
- env: { ...process.env, KB_MODEL_CACHE: resolveRuntimeModelCache() },
2452
+ //
2453
+ // RUVNET_BRAIN_QUERY_DEADLINE_MS: this ONE probe is the very first query ever run against a
2454
+ // freshly-installed cache — the model is cold and the cross-encoder "rerank" phase has to pay
2455
+ // load cost that every later, warm query never pays again. Measured on macOS GitHub Actions
2456
+ // runners 2026-09-27 (public-verification runs 36324328134 job 108636740357, 28.5-28.7s; and
2457
+ // 36325803503 job 108638381147, 27.1-27.2s): this exact probe consistently needs ~27-29s on
2458
+ // that platform, against the general 20s deadline (kb/query-deadline.mjs
2459
+ // DEFAULT_QUERY_DEADLINE_MS) that is correct for every normal, warm query. 45s keeps this
2460
+ // bounded (never unbounded — the module's core guarantee) while giving this one cold-start
2461
+ // probe real margin, without touching the default that protects normal queries everywhere
2462
+ // else. Only applied if the caller hasn't already set an explicit override.
2463
+ env: {
2464
+ ...process.env,
2465
+ KB_MODEL_CACHE: resolveRuntimeModelCache(),
2466
+ RUVNET_BRAIN_QUERY_DEADLINE_MS: process.env.RUVNET_BRAIN_QUERY_DEADLINE_MS ?? '45000',
2467
+ },
2453
2468
  });
2454
2469
  } catch {
2455
2470
  warn("skipped the live test (couldn't launch the reader) — it'll warm on your first real question");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruvnet-brain",
3
- "version": "4.3.29",
3
+ "version": "4.3.30",
4
4
  "description": "One-command installer for RuvNet Brain \u2014 a portable, source-grounded brain over rUv's RuvNet building blocks, delivered as a Claude Code plugin so Claude uses the stack instead of fighting it.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ruvnet-brain",
3
3
  "description": "RuvNet brain transplant for Claude Code — grounds every RuvNet decision in real source across 77 rUv repositories, prefers Ruflo / RuVector-RVF / AgentDB over training-prior defaults (pgvector, Pinecone, hand-rolled cosine), and can pull in any RuvNet repo on demand. Ships a UserPromptSubmit retrieve-and-inject grounding hook and a PreToolUse write gate that refuses ungrounded rUv-product code until search_ruvnet has been consulted (ADR-0012 / ADR-067).",
4
- "version": "4.3.29",
4
+ "version": "4.3.30",
5
5
  "author": {
6
6
  "name": "Stuart Kerr"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruvnet-brain",
3
- "version": "4.3.29",
3
+ "version": "4.3.30",
4
4
  "description": "Source-grounded RuvNet knowledge, lifecycle enforcement, and learning for Codex.",
5
5
  "author": {
6
6
  "name": "Stuart Kerr"