@lacneu/openclaw-knowledge 3.2.5 → 3.2.6

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/CHANGELOG.md CHANGED
@@ -86,12 +86,12 @@ Invalid `injectedChars` values (`NaN`, negative numbers) fall back to
86
86
 
87
87
  ### Added — payload-size guards for the pgvector reranker
88
88
 
89
- Production observation on jerome's Jina dashboard (2026-05-17
90
- 2026-05-24): rerank calls averaged **~66 600 tokens** each way over
91
- the model's 8 K context window. Almost all of that came from LightRAG-
92
- side reranker chunking, but the plugin-side reranker would face the
93
- same risk once `knowledge_jerome` is alimented. v3.2.4 ships two
94
- preventive knobs to keep the plugin-side spend bounded:
89
+ Production observation: rerank calls were averaging far over the
90
+ model's 8 K context window (**~66 600 tokens** each). Almost all of
91
+ that came from LightRAG-side reranker chunking, but the plugin-side
92
+ reranker would face the same risk once a shared collection is
93
+ alimented. v3.2.4 ships two preventive knobs to keep the plugin-side
94
+ spend bounded:
95
95
 
96
96
  - **`jina.pgvectorReranker.candidatePoolMax`** (default `20`). Caps the
97
97
  number of cosine-ranked candidates sent to Jina /v1/rerank. Pgvector
@@ -162,28 +162,28 @@ to recommend:
162
162
  the `.env.template` block for the full operating-point comparison
163
163
  (chunking-ON vs TOP_K=5 vs jina-reranker-v3).
164
164
 
165
- Apply on the NAS:
165
+ Apply on the host:
166
166
 
167
167
  ```bash
168
- sudo vi /volume3/openclaw/lightrag/.env.jerome
168
+ sudo vi /volume1/openclaw/lightrag/.env.agent
169
169
  # Change: RERANK_MAX_TOKENS_PER_DOC=600
170
170
  # Change: MIN_RERANK_SCORE=0.05
171
- sudo docker restart openclaw-lightrag-jerome
171
+ sudo docker restart openclaw-lightrag-agent
172
172
  ```
173
173
 
174
- Expected saving on jerome's observed rate: ~8.4 M → ~5.6 M tokens
174
+ Expected saving at the observed rate: ~8.4 M → ~5.6 M tokens
175
175
  per 7 days (-33%), no quality regression.
176
176
 
177
177
  ### Migration
178
178
 
179
179
  Drop-in plugin patch. Defaults preserve the v3.2.3 behavior on
180
- runtimes that don't set the new fields. To activate the new caps on
181
- both instances:
180
+ runtimes that don't set the new fields. To activate the new caps,
181
+ run on each configured instance:
182
182
 
183
183
  ```bash
184
- sudo docker exec openclaw-jerome openclaw plugins update @lacneu/openclaw-knowledge
185
- sudo docker exec openclaw-olivier openclaw plugins update @lacneu/openclaw-knowledge
186
- sudo docker restart openclaw-jerome openclaw-olivier
184
+ # run on each configured instance
185
+ sudo docker exec openclaw-agent openclaw plugins update @lacneu/openclaw-knowledge
186
+ sudo docker restart openclaw-agent
187
187
  ```
188
188
 
189
189
  Verify post-restart:
@@ -290,9 +290,8 @@ metadata after every assistant turn:
290
290
 
291
291
  These are not user questions and have no business hitting the
292
292
  knowledge base. Previously the heuristic let them through, the
293
- Jina classifier was billed, and on jerome they typically scored 0.27
294
- → `classifier_low_confidence` → ALL → wasted LightRAG call (the
295
- 2026-05-23 19:42:05 case in the issue).
293
+ Jina classifier was billed, and in production they typically scored
294
+ ~0.27 → `classifier_low_confidence` → ALL → wasted LightRAG call.
296
295
 
297
296
  The new META_PATTERN catches them at the start of the prompt:
298
297
 
@@ -309,9 +308,9 @@ who quotes the template inside a real question keeps their content.
309
308
  Drop-in patch. No config change required.
310
309
 
311
310
  ```bash
312
- sudo docker exec openclaw-jerome openclaw plugins update @lacneu/openclaw-knowledge
313
- sudo docker exec openclaw-olivier openclaw plugins update @lacneu/openclaw-knowledge
314
- sudo docker restart openclaw-jerome openclaw-olivier
311
+ # run on each configured instance
312
+ sudo docker exec openclaw-agent openclaw plugins update @lacneu/openclaw-knowledge
313
+ sudo docker restart openclaw-agent
315
314
  ```
316
315
 
317
316
  After restart, expect:
@@ -415,7 +414,7 @@ only** — no SQL params, no query content — to keep PHI out of logs.
415
414
 
416
415
  ### Fixed — Jina classifier silently blocked retrieval on low-confidence scores
417
416
 
418
- After v3.2.1 fixed query extraction, jerome's production traces showed
417
+ After v3.2.1 fixed query extraction, production traces showed
419
418
  that 6 out of 8 user turns ended up with `route=NONE` from
420
419
  `reason=classifier_hit` with scores tightly clustered around **0.25**:
421
420
 
@@ -433,7 +432,7 @@ retrieval on legitimate questions.
433
432
  Confirmed regression scenario, from a real chat-export on 2026-05-23:
434
433
 
435
434
  > Query: `"Quel est l'arbitrage principal de la réunion hebdomadaire
436
- > Ataraxis du 19 mai 2026 ?"`
435
+ > Acme du 19 mai 2026 ?"`
437
436
  > Classifier: `NONE @ 0.25` → router blocked the RAG.
438
437
  > The agent then recovered via the `gworkspace-search` skill, but the
439
438
  > RAG never contributed and the turn took 43 s + 5 tool calls instead
@@ -478,9 +477,9 @@ explicitly (e.g. for an evaluation A/B), set
478
477
  `jina.router.minConfidence: 0` via `openclaw config set`.
479
478
 
480
479
  ```bash
481
- sudo docker exec openclaw-jerome openclaw plugins update @lacneu/openclaw-knowledge
482
- sudo docker exec openclaw-olivier openclaw plugins update @lacneu/openclaw-knowledge
483
- sudo docker restart openclaw-jerome openclaw-olivier
480
+ # run on each configured instance
481
+ sudo docker exec openclaw-agent openclaw plugins update @lacneu/openclaw-knowledge
482
+ sudo docker restart openclaw-agent
484
483
  ```
485
484
 
486
485
  After restart, watch the `[knowledge.event]` router lines: previously
@@ -506,7 +505,7 @@ clear the floor, defeating the guard.
506
505
  ### Test coverage
507
506
 
508
507
  - Total: 232 tests, all green (was 223 in 3.2.1; +9 new).
509
- - 7 new tests in `test/router/router.test.ts` covering the Ataraxis
508
+ - 7 new tests in `test/router/router.test.ts` covering the Acme
510
509
  regression scenario, the exact boundary (`score === minConfidence`
511
510
  passes), a clear-match scenario above threshold, the few-shot path,
512
511
  the `minConfidence=0` escape hatch, the public-API safety case
@@ -552,9 +551,9 @@ Drop-in patch — no config change required. `update` the plugin and
552
551
  restart the gateway:
553
552
 
554
553
  ```bash
555
- sudo docker exec openclaw-jerome openclaw plugins update @lacneu/openclaw-knowledge
556
- sudo docker exec openclaw-olivier openclaw plugins update @lacneu/openclaw-knowledge
557
- sudo docker restart openclaw-jerome openclaw-olivier
554
+ # run on each configured instance
555
+ sudo docker exec openclaw-agent openclaw plugins update @lacneu/openclaw-knowledge
556
+ sudo docker restart openclaw-agent
558
557
  ```
559
558
 
560
559
  After the restart, `[knowledge.event]` logs should show `queryLength`
@@ -788,7 +787,7 @@ passes (2026-05-23):
788
787
 
789
788
  - **Privacy: query preview removed from debug logs.** The original
790
789
  `emitQueryPreview` logged the first 80 chars of every user query when
791
- `logger.debug` was active. In Ataraxis-style deployments those queries
790
+ `logger.debug` was active. In production deployments those queries
792
791
  routinely carry PHI / client content / occasionally secrets, so even a
793
792
  truncated preview was a leak vector. Replaced by `emitQueryFingerprint`
794
793
  which logs a non-reversible SHA-256 prefix (`fp=<12 hex chars>`) and
@@ -974,7 +973,7 @@ For instance owners on `@lacneu/openclaw-knowledge@3.1.0` or `3.1.1`:
974
973
  format (`### Document Search Results` + `### Knowledge Graph Context`), same
975
974
  parallel execution via `Promise.allSettled`, same cooldown (3 errors → 5 min),
976
975
  same Gemini native `embedContent` endpoint, same `halfvec(3072)` SQL cast.
977
- - Current plugin configurations (Olivier and Jerome instances) continue to work
976
+ - Existing plugin configurations continue to work
978
977
  without any changes — all config keys and defaults are preserved. The breaking
979
978
  changes below are limited to internal types and legacy input shapes that were
980
979
  defensive cruft, not fields used by active deployments.
package/README.md CHANGED
@@ -280,7 +280,7 @@ a structured event line:
280
280
 
281
281
  ```
282
282
  [knowledge.event] {"type":"router","route":"PGVECTOR_ONLY","reason":"heuristic_keyword","score":null,"queryLength":42,"trigger":"user"}
283
- [knowledge.event] {"type":"pgvector","collections":["knowledge_olivier"],"rawCount":5,"rerankedCount":5,"topScore":0.78,"durationMs":124}
283
+ [knowledge.event] {"type":"pgvector","collections":["knowledge_default"],"rawCount":5,"rerankedCount":5,"topScore":0.78,"durationMs":124}
284
284
  [knowledge.event] {"type":"cooldown","scope":"router","consecutiveErrors":3}
285
285
  ```
286
286
 
package/dist/config.js CHANGED
@@ -40,15 +40,15 @@ const DEFAULT_ROUTER_MODE = "heuristic";
40
40
  // (`DEFAULT_MIN_CONFIDENCE`). Re-export of a local alias would create
41
41
  // two sources of truth — we import the single constant instead.
42
42
  //
43
- // Empirical observation on jerome's traces (v3.2.1 deployment): Jina v3
43
+ // Empirical observation in production traces (v3.2.1 deployment): Jina v3
44
44
  // zero-shot scores cluster at 0.25-0.27 when no label actually matches
45
45
  // the query, then resolve to a noisy `NONE` decision that wrongly
46
46
  // blocks retrieval. A floor of 0.35 catches that noise band while
47
47
  // staying below typical hit scores (≈ 0.40-0.65).
48
48
  const DEFAULT_RERANKER_MODEL = "jina-reranker-v2-base-multilingual";
49
49
  const DEFAULT_RERANKER_TOP_N = 5;
50
- // 3.2.4 — payload-trimming defaults. Empirically calibrated on jerome's
51
- // Jina dashboard (2026-05-17 → 2026-05-24): 20 candidates × 2000 chars
50
+ // 3.2.4 — payload-trimming defaults. Empirically calibrated from the
51
+ // production Jina dashboard: 20 candidates × 2000 chars
52
52
  // fits in ~10K tokens (well below jina-reranker-v2's 8K context window
53
53
  // once the query is added) while preserving the top-precision band.
54
54
  const DEFAULT_RERANKER_CANDIDATE_POOL_MAX = 20;
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,EAAE;AACF,2EAA2E;AAC3E,6DAA6D;AAE7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAU3D;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAI,KAAQ;IACpC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,IAAY,EAAE,EAAE;QACvD,OAAO,O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IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IACtC,IAAI,KAAK,GAAG,CAAC;QAAE,OAAO,CAAC,CAAC;IACxB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // Default zero-shot labels for the Jina Classifier.
2
2
  //
3
3
  // The labels are intentionally bilingual: most prompts in the observed
4
- // traces are French (Ataraxis is a French-speaking deployment) but the
4
+ // traces are French (the deployment is French-speaking) but the
5
5
  // system prompts and agent meta-questions are often English. Jina
6
6
  // `jina-embeddings-v3` handles both languages natively.
7
7
  //
@@ -1 +1 @@
1
- {"version":3,"file":"labels.js","sourceRoot":"","sources":["../../src/router/labels.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,EAAE;AACF,uEAAuE;AACvE,uEAAuE;AACvE,kEAAkE;AAClE,wDAAwD;AACxD,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,qEAAqE;AACrE,mEAAmE;AACnE,8DAA8D;AAC9D,qFAAqF;AAErF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC;AACjC,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC;AAE/B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD,2CAA2C;IAC3C,GAAG,UAAU,oKAAoK;IAEjL,iDAAiD;IACjD,GAAG,mBAAmB,2IAA2I;IAEjK,4CAA4C;IAC5C,GAAG,mBAAmB,uJAAuJ;IAE7K,uCAAuC;IACvC,GAAG,SAAS,oKAAoK;CACjL,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB;IACnD,UAAU;IACV,mBAAmB;IACn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CACV,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAa;IACjD,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,IAAI,UAAU,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACjC,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC;IAC/C,OAAO,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AACvC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  "id": "openclaw-knowledge",
3
3
  "name": "Knowledge Base",
4
4
  "description": "Multi-source knowledge search (pgvector + LightRAG) with optional Jina-powered router & reranker — injects relevant documents and knowledge graph context before each turn via the before_prompt_build hook",
5
- "version": "3.2.5",
5
+ "version": "3.2.6",
6
6
  "activation": {
7
7
  "onStartup": true
8
8
  },
@@ -207,7 +207,7 @@
207
207
  "collections": {
208
208
  "label": "Collections to search",
209
209
  "placeholder": "knowledge_default",
210
- "help": "Collection names in the knowledge_vectors table (e.g. knowledge_olivier, knowledge_shared)"
210
+ "help": "Collection names in the knowledge_vectors table (e.g. knowledge_default, knowledge_shared)"
211
211
  },
212
212
  "topK": {
213
213
  "label": "Top-K per collection",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacneu/openclaw-knowledge",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "type": "module",
5
5
  "description": "Multi-source knowledge plugin for OpenClaw — pgvector + LightRAG injection with optional Jina-powered router & reranker, via before_prompt_build hook",
6
6
  "license": "MIT",