@unblocklabs/unblock-memory 0.12.3 → 0.14.0

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.
Files changed (138) hide show
  1. package/README.md +19 -18
  2. package/defaults.json +162 -0
  3. package/dist/src/analysis.js +1 -1
  4. package/dist/src/cluster-review.d.ts +2 -0
  5. package/dist/src/cluster-review.js +9 -8
  6. package/dist/src/config.d.ts +9 -6
  7. package/dist/src/config.js +59 -45
  8. package/dist/src/curation.d.ts +1 -1
  9. package/dist/src/decision-client.d.ts +45 -0
  10. package/dist/src/decision-client.js +87 -0
  11. package/dist/src/{typesafe.d.ts → decision-ranking.d.ts} +15 -18
  12. package/dist/src/decision-ranking.js +155 -0
  13. package/dist/src/{typesafe-review.d.ts → decision-review.d.ts} +13 -9
  14. package/dist/src/decision-review.js +193 -0
  15. package/dist/src/defaults.d.ts +8 -0
  16. package/dist/src/defaults.js +128 -0
  17. package/dist/src/diagnostics.d.ts +5 -5
  18. package/dist/src/emotion-baselines.d.ts +28 -3
  19. package/dist/src/emotion-baselines.js +312 -115
  20. package/dist/src/evidence-review.d.ts +22 -8
  21. package/dist/src/evidence-review.js +11 -8
  22. package/dist/src/extraction-chunk.d.ts +3 -0
  23. package/dist/src/extraction-chunk.js +25 -6
  24. package/dist/src/extraction-config.js +4 -2
  25. package/dist/src/extraction-model.d.ts +25 -17
  26. package/dist/src/extraction-model.js +232 -104
  27. package/dist/src/extraction-runtime.d.ts +3 -1
  28. package/dist/src/extraction-runtime.js +48 -20
  29. package/dist/src/extraction-source.d.ts +1 -1
  30. package/dist/src/extraction-source.js +21 -12
  31. package/dist/src/extraction-store.d.ts +29 -3
  32. package/dist/src/extraction-store.js +149 -25
  33. package/dist/src/extraction-worker.d.ts +3 -3
  34. package/dist/src/extraction-worker.js +250 -95
  35. package/dist/src/inside-out-runtime.js +43 -30
  36. package/dist/src/inside-out-sources.js +2 -1
  37. package/dist/src/inside-out-store.d.ts +2 -2
  38. package/dist/src/inside-out-store.js +111 -69
  39. package/dist/src/inside-out.d.ts +10 -9
  40. package/dist/src/inside-out.js +194 -106
  41. package/dist/src/manager.d.ts +22 -9
  42. package/dist/src/manager.js +279 -172
  43. package/dist/src/memory-database.js +3 -2
  44. package/dist/src/memory-passage.d.ts +2 -2
  45. package/dist/src/memory-passage.js +3 -2
  46. package/dist/src/memory-search.d.ts +4 -2
  47. package/dist/src/memory-search.js +5 -5
  48. package/dist/src/memory-whisperer.d.ts +1 -1
  49. package/dist/src/memory-whisperer.js +195 -129
  50. package/dist/src/my-turn.d.ts +1 -1
  51. package/dist/src/my-turn.js +90 -70
  52. package/dist/src/people-background.d.ts +5 -1
  53. package/dist/src/people-background.js +31 -7
  54. package/dist/src/people-dossier-review.d.ts +20 -8
  55. package/dist/src/people-dossier-review.js +15 -11
  56. package/dist/src/people-hooks.js +127 -22
  57. package/dist/src/people-learning-cron.d.ts +1 -1
  58. package/dist/src/people-learning-cron.js +107 -57
  59. package/dist/src/people-learning-inventory.d.ts +1 -0
  60. package/dist/src/people-learning-inventory.js +283 -172
  61. package/dist/src/people-learning-prompt.js +1 -1
  62. package/dist/src/people-learning-runtime.d.ts +1 -1
  63. package/dist/src/people-learning-runtime.js +360 -203
  64. package/dist/src/people-learning-store.d.ts +27 -4
  65. package/dist/src/people-learning-store.js +312 -96
  66. package/dist/src/people-primer-tool.js +13 -10
  67. package/dist/src/people-primer.d.ts +3 -1
  68. package/dist/src/people-primer.js +66 -48
  69. package/dist/src/people-store.d.ts +18 -21
  70. package/dist/src/people-store.js +188 -64
  71. package/dist/src/people-tools.js +138 -93
  72. package/dist/src/plugin.js +19 -18
  73. package/dist/src/quality-audit.d.ts +2 -0
  74. package/dist/src/quality-audit.js +11 -9
  75. package/dist/src/quality-triage.js +4 -3
  76. package/dist/src/query-generator.js +5 -2
  77. package/dist/src/response-audit.d.ts +1 -1
  78. package/dist/src/response-audit.js +78 -44
  79. package/dist/src/response-config.js +3 -1
  80. package/dist/src/response-episodes.d.ts +1 -1
  81. package/dist/src/response-episodes.js +15 -19
  82. package/dist/src/response-identity.js +2 -1
  83. package/dist/src/response-judge.d.ts +151 -145
  84. package/dist/src/response-judge.js +535 -204
  85. package/dist/src/response-memory.js +2 -1
  86. package/dist/src/response-outcome.js +9 -8
  87. package/dist/src/response-reviews.d.ts +29 -1
  88. package/dist/src/response-reviews.js +113 -15
  89. package/dist/src/response-runtime.js +10 -9
  90. package/dist/src/response-stages.d.ts +50 -53
  91. package/dist/src/response-stages.js +10 -4
  92. package/dist/src/response-store.d.ts +7 -6
  93. package/dist/src/response-store.js +335 -212
  94. package/dist/src/review-tools.d.ts +8 -2
  95. package/dist/src/review-tools.js +22 -21
  96. package/dist/src/runtime.d.ts +7 -4
  97. package/dist/src/runtime.js +625 -98
  98. package/dist/src/safety-config.js +3 -2
  99. package/dist/src/safety-whisperer.d.ts +2 -2
  100. package/dist/src/safety-whisperer.js +90 -73
  101. package/dist/src/session-sync.d.ts +3 -1
  102. package/dist/src/session-sync.js +202 -96
  103. package/dist/src/skill-whisperer.d.ts +2 -2
  104. package/dist/src/skill-whisperer.js +55 -32
  105. package/dist/src/slack-directory.js +3 -2
  106. package/dist/src/training-gate.d.ts +9 -22
  107. package/dist/src/training-gate.js +34 -36
  108. package/dist/src/training-input.js +4 -3
  109. package/dist/src/training-judge.d.ts +9 -16
  110. package/dist/src/training-judge.js +6 -5
  111. package/dist/src/training-models.d.ts +1 -1
  112. package/dist/src/training-models.js +9 -7
  113. package/dist/src/training-queries.d.ts +14 -9
  114. package/dist/src/training-queries.js +374 -231
  115. package/dist/src/training-retrieval.d.ts +17 -27
  116. package/dist/src/training-retrieval.js +186 -139
  117. package/dist/src/training-runtime.d.ts +3 -0
  118. package/dist/src/training-runtime.js +76 -18
  119. package/dist/src/training-store.d.ts +18 -3
  120. package/dist/src/training-store.js +141 -52
  121. package/dist/src/training.js +9 -11
  122. package/dist/src/whisperer-context.d.ts +13 -0
  123. package/dist/src/whisperer-context.js +22 -1
  124. package/docs/configuration.md +83 -64
  125. package/docs/extraction.md +26 -35
  126. package/docs/memory-training.md +7 -6
  127. package/docs/people-learning.md +2 -2
  128. package/docs/peoplesql.md +6 -6
  129. package/docs/response-audit.md +10 -8
  130. package/docs/retrieval.md +43 -47
  131. package/openclaw.plugin.json +76 -75
  132. package/package.json +5 -2
  133. package/skills/memory-curator/SKILL.md +1 -1
  134. package/skills/people-whisperer/SKILL.md +1 -1
  135. package/dist/src/typesafe-client.d.ts +0 -30
  136. package/dist/src/typesafe-client.js +0 -92
  137. package/dist/src/typesafe-review.js +0 -154
  138. package/dist/src/typesafe.js +0 -147
@@ -9,13 +9,13 @@ settings; a rotated credential file is reread without a restart.
9
9
 
10
10
  ## Feature gates and fallbacks
11
11
 
12
- | Feature | Required settings/dependencies | TypeSafe disabled / no key | Provider or unreadable-key failure |
12
+ | Feature | Required settings/dependencies | decision model disabled / no key | Provider or unreadable-key failure |
13
13
  | --- | --- | --- | --- |
14
14
  | My Turn | `myTurn.enabled`; conversation access and prompt injection | No hint; normal turn | No hint; normal turn |
15
15
  | `memory_search` | Installed/enabled memory slot; configured corpora | Local retrieval-ranked leads with degraded warning | Successful judged siblings returned with a partial warning; total judging failure or unreadable key uses local retrieval fallback |
16
16
  | `memory_get` | Installed/enabled memory slot; configured corpora | Unchanged local indexed reads | Unchanged; its own indexing errors still matter |
17
17
  | Skill Whisperer | `skillWhisperer.enabled`, skills corpus, host hooks | Best local vector candidate meeting `minScore` | Exclude failed candidates; successful siblings may qualify; no vector fallback |
18
- | Memory Whisperer | `memoryWhisperer.enabled`, explicit approved corpora, host hooks | No hints | Exclude failed candidates; deadline failures still suppress the turn; query-API failures fall back to deterministic local queries before TypeSafe judging |
18
+ | Memory Whisperer | `memoryWhisperer.enabled`, explicit approved corpora, host hooks | No hints | Exclude failed candidates; deadline failures still suppress the turn; query-API failures fall back to deterministic local queries before decision model judging |
19
19
  | Complementary hints | Enabled Memory Whisperer + `complementaryHints` | No additional judgment; base hints also require a key | Keep baseline hints unless the total deadline expires |
20
20
  | Safety Whisperer | `safetyWhisperer.enabled`, at least one scenario, host hooks (conversation access and prompt injection) | Could not check: the turn proceeds without safety prompts (fails open) | Fails open; recorded as could-not-check, never as no match |
21
21
  | People store/tools | `people.enabled` | Available; automatic save review needs primer/key or verified manual alternative | Storage/inspection still available |
@@ -30,15 +30,23 @@ settings; a rotated credential file is reread without a restart.
30
30
  Skill Whisperer turns on by default once a `skills` corpus is configured; without
31
31
  one it registers no hook and reports inactive.
32
32
  My Turn, Memory/People Whisperers, people storage, the primer and audits default off.
33
- `typesafe.enabled` defaults true but does not enable those opt-in features;
33
+ `decisionModel.enabled` defaults true but does not enable those opt-in features;
34
34
  `sentimentEnabled` defaults true only **within an enabled
35
35
  response audit**. `peoplePrimer` controls automatic dossier-save review;
36
36
  `evidenceReview` is a different advisory tool. Disabling people injection does
37
37
  not disable people tools/storage or erase dossiers.
38
38
 
39
- ## Shared TypeSafe credentials
39
+ ## Shared decision model credentials
40
40
 
41
- All plugin TypeSafe features use `plugins.entries.unblock-memory.config.typesafe`:
41
+ Operational defaults are bundled in `defaults.json`. To override them, set
42
+ `UNBLOCK_MEMORY_DEFAULTS_FILE` to an absolute path to a JSON file before starting
43
+ the Gateway (or running a standalone command). Supply only the keys you want
44
+ to change; unknown keys and invalid values fail startup. Explicit plugin config
45
+ takes precedence for settings exposed there.
46
+
47
+ All plugin decision-model features use `plugins.entries.unblock-memory.config.decisionModel`.
48
+ Older provider config keys are rejected. When upgrading, remove the old block and
49
+ configure a credential for the endpoint you intend to use; do not copy the old key into the default route.
42
50
 
43
51
  Candidate scoring uses **one HTTP request per candidate**, with ranking done in code.
44
52
  Related questions about the same candidate can share a request (for example, quality
@@ -52,25 +60,34 @@ These evidence relationships are deliberately preserved, not split into unrelate
52
60
 
53
61
  ```json
54
62
  {
55
- "typesafe": {
63
+ "decisionModel": {
56
64
  "enabled": true,
57
- "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-typesafe.env",
65
+ "endpoint": "https://codex.unblocklabs.ai/v1/decisions",
66
+ "model": "liquid/d1.2-ultra",
67
+ "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-decisions.env",
58
68
  "timeoutMs": 1500
59
69
  }
60
70
  }
61
71
  ```
62
72
 
63
73
  This is a **plugin config fragment**, not a top-level OpenClaw configuration.
74
+ Defaults are `enabled: true`, `endpoint: "https://codex.unblocklabs.ai/v1/decisions"`,
75
+ `model: "liquid/d1.2-ultra"`, and `timeoutMs: 1500` (routed through Codex LB to OpenRouter's
76
+ `liquid/d1.2-ultra` Decisions API). For a different provider, set its
77
+ `endpoint`, `model`, and credential explicitly. Plain HTTP is allowed only on
78
+ loopback (`localhost`, `127.0.0.1`, `[::1]`).
79
+
64
80
  The key file can contain a plaintext key or dotenv entries:
65
81
 
66
82
  ```dotenv
67
- TYPESAFE_API_KEY="YOUR_TYPESAFE_KEY"
83
+ CODEX_LB_API_KEY="YOUR_CODEX_LB_KEY"
68
84
  ```
69
85
 
70
- Credentials come from inline `typesafe.apiKey`, an absolute `typesafe.apiKeyFile`,
71
- or (when neither is configured) the Gateway process's `TYPESAFE_API_KEY` environment
72
- variable. Configure at most one of `apiKey` and `apiKeyFile`; prefer a private file
73
- over a secret in config. Defaults are `enabled: true` and `timeoutMs: 1500`.
86
+ Inline and file credentials are sent only to the configured endpoint. A dotenv file
87
+ reads `CODEX_LB_API_KEY`, or `DECISION_MODEL_API_KEY` for a custom endpoint. Without
88
+ an explicit credential, only the Codex LB HTTPS origin can use the Gateway's
89
+ `CODEX_LB_API_KEY` environment variable.
90
+ Configure at most one of `apiKey` and `apiKeyFile`; prefer a private file over a secret in config.
74
91
 
75
92
  The file is reread when a feature resolves credentials, so replacing its contents
76
93
  does not require a Gateway restart. Restart/reload the Gateway after changing the
@@ -79,7 +96,7 @@ code and does not change the process environment. Workspace `.env` files are not
79
96
  auto-discovered, and an interactive shell's exported key need not reach a managed
80
97
  Gateway service.
81
98
 
82
- Missing/empty files or dotenv files without `TYPESAFE_API_KEY` count as no key.
99
+ Missing/empty files or dotenv files without a matching key entry count as no key.
83
100
  An explicit file never falls back to an unrelated environment key. Missing or
84
101
  unreadable credentials do not break normal memory functionality or Gateway startup;
85
102
  the feature-specific fallback/skip behavior above applies. **Unreadable files and
@@ -88,9 +105,7 @@ Use `memory_diagnostics` for credential availability; it does not verify provide
88
105
  acceptance. Keep secret files mode `600`, secret directories mode `700`, and keys
89
106
  out of Git, chat, shell arguments and logs.
90
107
 
91
- The plugin reads only `TYPESAFE_API_KEY` from the environment. Standalone QMD also
92
- supports `TYPESAFE_API_KEY_FILE`; these are separate credential resolvers.
93
- `typesafe.timeoutMs` is not a universal total deadline: People Primer and dossier
108
+ `decisionModel.timeoutMs` is not a universal total deadline: People Primer and dossier
94
109
  save review use `peoplePrimer.timeoutMs` per request; Memory Whisperer has its
95
110
  own overall budget. Skill Whisperer's fixed three-second total budget includes
96
111
  credential resolution, retrieval and judging, even when its provider timeout is longer.
@@ -125,13 +140,13 @@ refresh waits an interval.
125
140
  { "name": "memory", "kind": "files", "paths": ["MEMORY.md", "USER.md", "memory/**/*.md"] },
126
141
  { "name": "skills", "kind": "skills", "paths": ["skills/**/SKILL.md", ".agents/skills/**/SKILL.md", "~/.agents/skills/**/SKILL.md", "~/.openclaw/skills/**/SKILL.md", "~/.openclaw/plugin-skills/**/SKILL.md"] }
127
142
  ],
128
- "typesafe": { "enabled": false },
143
+ "decisionModel": { "enabled": false },
129
144
  "skillWhisperer": { "enabled": true }
130
145
  }
131
146
  ```
132
147
 
133
- Select only desired skill locations. To use TypeSafe selection instead, enable
134
- `typesafe` and configure credentials; the selected skill still is not auto-invoked.
148
+ Select only desired skill locations. To use decision model selection instead, enable
149
+ `decisionModel` and configure credentials; the selected skill still is not auto-invoked.
135
150
 
136
151
  ### Memory Whisperer over approved knowledge
137
152
 
@@ -141,7 +156,7 @@ Select only desired skill locations. To use TypeSafe selection instead, enable
141
156
  { "name": "memory", "kind": "files", "paths": ["MEMORY.md", "USER.md", "memory/**/*.md"] },
142
157
  { "name": "knowledge", "kind": "files", "paths": ["knowledge/**/*.md"] }
143
158
  ],
144
- "typesafe": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-typesafe.env" },
159
+ "decisionModel": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-decisions.env" },
145
160
  "memoryWhisperer": { "enabled": true, "corpora": ["knowledge"] }
146
161
  }
147
162
  ```
@@ -150,7 +165,9 @@ Create the private key file first. To recall conversation history, configure a
150
165
  sessions corpus and add `sessions` to `memoryWhisperer.corpora`. Automatic recall
151
166
  can then retrieve across this agent's indexed sessions. The sessions corpus's
152
167
  `chatTypes` setting controls whether direct messages are included. Selected
153
- excerpts are sent to TypeSafe and may be injected into any conversation using this agent.
168
+ excerpts are sent to the configured decision endpoint (defaults to
169
+ `https://codex.unblocklabs.ai/v1/decisions` -> OpenRouter `liquid/d1.2-ultra`)
170
+ and may be injected into any conversation using this agent.
154
171
 
155
172
  ### People storage, without injection
156
173
 
@@ -164,12 +181,12 @@ excerpts are sent to TypeSafe and may be injected into any conversation using th
164
181
  {
165
182
  "people": { "enabled": true, "whisperer": { "enabled": true } },
166
183
  "peoplePrimer": { "enabled": true, "corpora": ["memory"] },
167
- "typesafe": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-typesafe.env" }
184
+ "decisionModel": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-decisions.env" }
168
185
  }
169
186
  ```
170
187
 
171
188
  The default memory corpus exists. This separately approves its evidence for
172
- TypeSafe; it does not create a dossier or schedule maintenance. Use the
189
+ the configured decision endpoint; it does not create a dossier or schedule maintenance. Use the
173
190
  [people workflow](peoplesql.md). Adding `sessions` to primer approval, after
174
191
  configuring that corpus, approves **all indexed sessions**, as with Memory Whisperer.
175
192
 
@@ -190,7 +207,7 @@ single-session validation, backfill, and publication. Defaults: disabled,
190
207
  `publish: false`, `chatTypes: []`, hourly, six overlap messages, five chunks per run.
191
208
  `extraction.minSupport`, `minRetention`, and `minReplacement` independently accept
192
209
  0–1 and default to 0.90. Settings are operator-controlled; reload/restart after edits.
193
- Extraction always uses its own 10-second Jev deadline, not `typesafe.timeoutMs`.
210
+ Extraction always uses its own 10-second decision model deadline, not `decisionModel.timeoutMs`.
194
211
 
195
212
  ## Settings reference
196
213
 
@@ -213,44 +230,43 @@ contract; these tables explain their effects.
213
230
  | `keepEmbeddingModelWarm` | `true` | Retain embedding model/context after first use; false allows five-minute idle disposal |
214
231
  | `analysis.executable` | Unset | Optional absolute local worker path; enables ability to recluster, not automatic scheduling |
215
232
 
216
- ## TypeSafe and whisperers
233
+ ## Decision model and whisperers
217
234
 
218
235
  | Setting | Default | Meaning / supported range |
219
236
  | --- | --- | --- |
220
- | `typesafe.enabled` | `true` | Shared plugin provider gate; no feature is opted in merely by adding a key |
221
- | `typesafe.apiKey` | Unset | Explicit inline key; mutually exclusive with key file; prefer file |
222
- | `typesafe.apiKeyFile` | Unset | Absolute raw-key or dotenv file, reread at credential resolution; explicit missing file never falls back to a different key |
223
- | `typesafe.timeoutMs` | `1500` | 1–10,000 per request for Skill/Memory Whisperer, quality/claim/cluster review and response audit; **primer and dossier save use `peoplePrimer.timeoutMs` and Safety Whisperer uses `safetyWhisperer.timeoutMs` instead** |
237
+ | `decisionModel.enabled` | `true` | Shared provider gate; does not opt in any feature |
238
+ | `decisionModel.endpoint` | `https://codex.unblocklabs.ai/v1/decisions` | HTTPS or loopback HTTP, without credentials, query, or fragment |
239
+ | `decisionModel.model` | `liquid/d1.2-ultra` | Requested model alias; dated `liquid/d1.2-ultra-*` snapshots are rejected on the default route |
240
+ | `decisionModel.apiKey` | Unset | Explicit inline key; mutually exclusive with key file; prefer file |
241
+ | `decisionModel.apiKeyFile` | Unset | Absolute plaintext-key or dotenv file; reread at credential resolution. If missing, no fallback |
242
+ | `decisionModel.timeoutMs` | `1500` | 1–10,000 per request for Skill/Memory Whisperer, quality/claim/cluster review and response audit; **primer and dossier save use `peoplePrimer.timeoutMs` and Safety Whisperer uses `safetyWhisperer.timeoutMs` instead** |
224
243
  | `skillWhisperer.enabled` | `true` with a `skills` corpus, else `false` | Needs appropriate host hook access; fixed 3-second total deadline; `false` opts out. An explicit `true` without a skills corpus logs a warning and stays inactive |
225
244
  | `skillWhisperer.historyMessages` | `5` | Nonnegative integer; prior visible messages used for routing |
226
- | `skillWhisperer.minScore` | `0.5` | 0–1, **local vector fallback only**, ignored for TypeSafe shortlist admission |
245
+ | `skillWhisperer.minScore` | `0.5` | 0–1, **local vector fallback only**, ignored for decision model shortlist admission |
227
246
  | `skillWhisperer.cooldownTurns` | `10` | Nonnegative user-turn count; no fallback to weaker cooling-down alternatives |
228
- | `memoryWhisperer.enabled` | `false` | Requires explicit approved non-skill corpora, TypeSafe key and host hooks |
247
+ | `memoryWhisperer.enabled` | `false` | Requires explicit approved non-skill corpora, decision model key and host hooks |
229
248
  | `memoryWhisperer.corpora` | `[]` | Explicit known corpus names; required nonempty when enabled; no `all` or skills |
230
- | `memoryWhisperer.api.endpoint` | `http://192.168.1.191:18087` | Resident V2 query-model API base URL. Override with `http://127.0.0.1:18087` for a node hosting its own API (e.g. Theo). |
231
- | `memoryWhisperer.api.apiKeyFile` | unset | Absolute path to a file containing the API bearer token. Missing credentials, timeouts, or API failures fall back to deterministic local queries before TypeSafe judging. |
249
+ | `memoryWhisperer.api.endpoint` | Empty | Optional query-model API URL. Unset or empty uses deterministic local queries. |
250
+ | `memoryWhisperer.api.apiKeyFile` | unset | Absolute path to a file containing the API bearer token. Missing credentials, timeouts, or API failures fall back to deterministic local queries before decision model judging. |
232
251
  | `memoryWhisperer.mlx` | unset | Deprecated: old absolute `{pythonPath, modelPath}` values are accepted but ignored for upgrade compatibility. Remove after configuring `api`. |
233
252
  | `memoryWhisperer.minUsefulness` | `0.5` | 0–1, minimum Noul yes-probability per candidate; explicit overrides are preserved |
234
253
  | `memoryWhisperer.maxHints` | `3` | 1–3 |
235
254
  | `memoryWhisperer.cooldownTurns` | `10` | 0–1,000; recently injected evidence |
236
255
  | `memoryWhisperer.timeoutMs` | `3000` | 1–10,000 total whisper deadline, not just the provider timeout |
237
256
  | `memoryWhisperer.complementaryHints` | `false` | Optional extra redundancy judgment; does not expand retrieval or enable the feature |
238
- | `safetyWhisperer.enabled` | `false` | Requires at least one scenario, a TypeSafe key and host hooks; see [Safety Whisperer](#safety-whisperer) |
257
+ | `safetyWhisperer.enabled` | `false` | Requires at least one scenario, decision-model credentials and host hooks; see [Safety Whisperer](#safety-whisperer) |
239
258
  | `safetyWhisperer.historyMessages` | `6` | 0–20 earlier visible messages, whole messages only, for resolving follow-ups |
240
259
  | `safetyWhisperer.timeoutMs` | `3000` | 1–10,000 total deadline (credential and request); the host hook timeout must exceed the slowest enabled whisperer |
241
260
  | `safetyWhisperer.excludedChannels` | `[]` | Up to 500 `{ provider, accountId, channelId, name? }`, matched case-insensitively; skips every scenario there |
242
261
  | `safetyWhisperer.scenarios` | `[]` | Up to 20; unique `id` of letters, digits, `.`, `_` or `-` |
243
- | `safetyWhisperer.scenarios[].instructions` | Required | Up to 2,000 characters: what the scenario covers, with exclusions; sent to TypeSafe |
244
- | `safetyWhisperer.scenarios[].flaggedPrompt` | Required | Up to 2,000 characters, appended for matching unapproved requests; never sent to TypeSafe |
262
+ | `safetyWhisperer.scenarios[].instructions` | Required | Up to 2,000 characters: what the scenario covers, with exclusions; sent to the configured decision endpoint |
263
+ | `safetyWhisperer.scenarios[].flaggedPrompt` | Required | Up to 2,000 characters, appended for matching unapproved requests; never sent to the decision endpoint |
245
264
  | `safetyWhisperer.scenarios[].minProbability` | `0.4` | 0–1 minimum yes-probability that the current request is covered |
246
265
  | `safetyWhisperer.scenarios[].approvedRequestors` | `[]` | Up to 500 `{ provider, accountId, senderId, name? }`; `senderId` must match exactly; skip this scenario for them |
247
266
  | `safetyWhisperer.scenarios[].excludedChannels` | `[]` | Up to 500 channels where only this scenario is skipped |
248
267
  | `safetyWhisperer.scenarios[].agentIds` | Unset (every agent) | Non-empty list limits the scenario to these agents when one config serves several; normalized like OpenClaw agent IDs (lowercase) |
249
- | `safetyWhisperer.scenarios[].enabled` | `true` | Disabled scenarios are never sent to TypeSafe |
268
+ | `safetyWhisperer.scenarios[].enabled` | `true` | Disabled scenarios are never sent to the decision endpoint |
250
269
 
251
- No configured plugin credential means fallback to **`TYPESAFE_API_KEY` only** in
252
- the Gateway environment. Unlike QMD's resolver, the plugin does not read a
253
- `TYPESAFE_API_KEY_FILE` environment variable. Do not conflate these contracts.
254
270
  Missing/empty key and unreadable/erroring key are different for Skill Whisperer:
255
271
  the former allows vector fallback; the latter suppresses the hint.
256
272
 
@@ -283,7 +299,7 @@ the former allows vector fallback; the latter suppresses the hint.
283
299
  | `qualityAudit.minNoise` | `0.8` | 0–1 threshold for model noise flags; deterministic empty/encoding indicators have separate rules |
284
300
  | `evidenceReview.enabled` | `false` | Ordinary atomic-claim review tool; does not turn on dossier save review |
285
301
  | `evidenceReview.corpora` | `[]` | Explicit non-skill approval; nonempty when enabled |
286
- | `responseAudit.enabled` | `false` | Operator-only response evaluation; requires approved senders and TypeSafe |
302
+ | `responseAudit.enabled` | `false` | Operator-only response evaluation; requires approved senders and decision model |
287
303
  | `responseAudit.sentimentEnabled` | `true` | Within opted-in audit; false removes emotion questions without disabling quality judgments |
288
304
  | `responseAudit.senderIds` | `[]` | Up to 50 approved Slack sender IDs; nonempty when enabled; trusted human/owner metadata also required, explicit bots excluded |
289
305
  | `responseAudit.chatTypes` | `['direct']` | Nonempty approved subset of direct/group/channel |
@@ -372,16 +388,16 @@ Per-person injection state, dossier existence, availability and thread receipts
372
388
  are stored state, not config switches. See [people lifecycle](peoplesql.md#injection-and-person-state).
373
389
 
374
390
  Normal memory tools can access the agent's configured non-skill corpora. Corpus
375
- selectors are not audience ACLs. Per-feature TypeSafe approvals constrain that
391
+ selectors are not audience ACLs. Per-feature decision model approvals constrain that
376
392
  feature's remote processing, not general retrieval access. This is an agent/fleet
377
393
  boundary, not multi-tenant authorization. Approve sources for the agent's audiences.
378
394
 
379
- ## TypeSafe data scope
395
+ ## Decision model data scope
380
396
 
381
397
  | Feature | Evidence sent when explicitly enabled/approved |
382
398
  | --- | --- |
383
399
  | Skill selection | Bounded visible current/recent conversation + shortlisted skill names/descriptions; not skill procedures or source-path fields |
384
- | Memory hints | Same 8,192-token/24,000-byte visible conversation as training goes to the configured query API (when available); TypeSafe passage judging receives the compacted conversation (current request plus at most two prior visible messages, bounded to 1,500 characters) plus one complete excerpt (up to 1,200 characters), corpus/source path, represented-message timestamps and evaluation time per candidate, capped at the top 6 RRF-fused eligible passages from at most 10 BM25 + 10 vector candidates across the approved scope. All indexed sessions in approved corpora are eligible; `chatTypes` controls DMs. |
400
+ | Memory hints | Same 8,192-token/24,000-byte visible conversation as training goes to the configured query API (when available); decision model passage judging receives the compacted conversation (current request plus at most two prior visible messages, bounded to 1,500 characters) plus one complete excerpt (up to 1,200 characters), corpus/source path, represented-message timestamps and evaluation time per candidate, capped at the top 6 RRF-fused eligible passages from at most 10 BM25 + 10 vector candidates across the approved scope. All indexed sessions in approved corpora are eligible; `chatTypes` controls DMs. |
385
401
  | Complementarity | Up to 4 already-qualified excerpts for pairwise redundancy checks |
386
402
  | People primer | Person identity, agent name, approved retrieved excerpts and source/session metadata; all indexed sessions eligible if approved, not just the current chat |
387
403
  | Dossier save/draft review | Proposed blurb, person/agent names and 1–3 exact approved indexed evidence ranges, at most 6,000 characters total; existing dossier is not evidence |
@@ -401,7 +417,8 @@ or score is not proof. Enabling a feature approves only that feature's documente
401
417
  ## My Turn
402
418
 
403
419
  An optional advisor for group/channel conversations. Before an incoming-message
404
- turn reaches the main model, Jev judges whether this particular agent should
420
+ turn reaches the main model, the configured decision model (default `liquid/d1.2-ultra`
421
+ via `https://codex.unblocklabs.ai/v1/decisions`) judges whether this particular agent should
405
422
  respond. It uses the agent's configured identity name (falling back to its ID),
406
423
  the triggering message, and recent visible conversation text. The agent always
407
424
  retains the final say; this does not prevent wakes or guarantee silence.
@@ -436,14 +453,14 @@ retains the final say; this does not prevent wakes or guarantee silence.
436
453
  Content comes from the visible message body, never storage-only
437
454
  `__openclaw.upstreamUserText` replay prompts, for both the trigger and history.
438
455
  - Opaque bundled channel history is omitted because it cannot be filtered reliably
439
- by author type. There are no separate Slack/iMessage history fetches. Jev is told
456
+ by author type. There are no separate Slack/iMessage history fetches. The decision model is told
440
457
  that agent replies are absent, so it must not treat their absence as proof that
441
458
  nobody answered a question.
442
459
  - The trigger must match the newest transcript message and its host-confirmed
443
460
  human sender. If a host does not expose that metadata at prompt-build time,
444
461
  **My Turn skips the decision entirely**. The original message still reaches
445
462
  the agent normally; unknown authorship never becomes a silence hint.
446
- - Enabling the feature opts in to external TypeSafe processing of recent text
463
+ - Enabling the feature opts in to external decision model processing of recent text
447
464
  from every enabled provider, including providers added later. Disable providers
448
465
  whose group conversations should not be sent. No other sessions are retrieved.
449
466
  - One Noul asks whether the named agent should respond **now**, favoring directed
@@ -456,10 +473,10 @@ retains the final say; this does not prevent wakes or guarantee silence.
456
473
 
457
474
  - Respond/uncertain results leave the prompt unchanged. The initial threshold is
458
475
  conservative, not a guarantee of classifier accuracy; evaluate it on real chats.
459
- - Uses shared `typesafe` credentials and enablement. Missing/unreadable key,
476
+ - Uses shared `decisionModel` credentials and enablement. Missing/unreadable key,
460
477
  exhausted credits, any HTTP/network error, invalid result, or timeout leaves the
461
478
  turn unchanged. No retries. The fixed **1.5-second total deadline** also covers
462
- credential lookup; a shorter `typesafe.timeoutMs` can end the HTTP request sooner.
479
+ credential lookup; a shorter `decisionModel.timeoutMs` can end the HTTP request sooner.
463
480
  - Input has a conservative 24,000-token estimated budget. Oversized current
464
481
  messages skip inference rather than silently truncate the
465
482
  trigger. Whole older messages are included only while they fit.
@@ -526,7 +543,7 @@ The plugin entry also needs `hooks.allowConversationAccess: true`, and
526
543
  use their channel.
527
544
  3. Disabled scenarios, scenarios limited to other `agentIds`, and scenarios that
528
545
  approve this requestor are dropped.
529
- 4. If none remain, no request is made. Otherwise one TypeSafe request asks one
546
+ 4. If none remain, no request is made. Otherwise one decision model request asks one
530
547
  independent yes/no question per remaining scenario. It includes the complete
531
548
  current message, the channel context that arrived with it (thread starter,
532
549
  replied-to message, chat history since the agent's last reply) and up to
@@ -576,7 +593,7 @@ the first such turn is also logged.
576
593
  ### When the check cannot run
577
594
 
578
595
  Safety Whisperer **fails open**: if the check cannot complete, the turn proceeds
579
- with no safety prompt. A TypeSafe outage or missing key therefore turns the
596
+ with no safety prompt. A decision model outage or missing key therefore turns the
580
597
  guardrail off. The exception is a message too large to check: the requestor
581
598
  controls its size, so every eligible scenario's `flaggedPrompt` is added instead.
582
599
  `memory_diagnostics` reports each outcome under `whisperers.safety`, keeping
@@ -588,7 +605,7 @@ could-not-check separate from no match:
588
605
  | `no_match` | Checked; no scenario matched |
589
606
  | `excluded` / `no_scenarios` | Skipped by a global exclusion, or nothing remained after filtering; no request |
590
607
  | `empty_request` | The current message had no text, such as an attachment alone; not checked |
591
- | `missing_key` / `typesafe_disabled` | Could not check: no credential, or TypeSafe disabled |
608
+ | `missing_key` / `decision_disabled` | Could not check: no credential, or decision model disabled |
592
609
  | `input_too_large` | Not checked: the current message exceeds the roughly 24k-token budget. It is never truncated; every eligible `flaggedPrompt` is added |
593
610
  | `timed_out` / `failed` | Could not check: deadline, provider error or no usable answer |
594
611
  | `partial_response` | Counted with `flagged`: some answers were unusable, and the confident matches were still added |
@@ -598,7 +615,7 @@ could-not-check separate from no match:
598
615
  Warnings include the outcome, error code, HTTP status and scenario count, never
599
616
  message text; a missing key is logged once until it returns.
600
617
  `memory_diagnostics` also reports `safety.active: false` with a `reason` when
601
- settings or host controls prevent checks (`typesafe_disabled`,
618
+ settings or host controls prevent checks (`decision_disabled`,
602
619
  `conversation_access_not_allowed`, `prompt_injection_not_allowed`,
603
620
  `no_enabled_scenarios`), and a `warnings` list:
604
621
 
@@ -644,14 +661,15 @@ change memories, retrieval, prompts, or dossiers.
644
661
  ```
645
662
 
646
663
  Defaults: disabled; daily cadence; at most 100 attempted reviews per run; estimated
647
- 30,000-token context budget, leaving room for questions under Jev's 32k
664
+ 30,000-token context budget, leaving room for questions under a 32k
648
665
  state-plus-longest-question limit. `intervalMinutes: 0` makes inference manual-only;
649
666
  local baselines still refresh daily and on Gateway startup when Inside Out is enabled.
650
667
  `baselineMinInteractions` defaults to 20 (1–10,000) for each comparison population.
651
- The shared `typesafe` settings supply Jev credentials and request timeout.
668
+ The shared `decisionModel` settings supply the decision endpoint, model, credentials, and request timeout.
652
669
 
653
670
  **Enabling this approves sending visible human/assistant conversation text across
654
- all retained channels to TypeSafe.** System messages, tool bodies, thinking blocks,
671
+ all retained channels to the configured decision endpoint (defaults to
672
+ `https://codex.unblocklabs.ai/v1/decisions` → OpenRouter `liquid/d1.2-ultra`).** System messages, tool bodies, thinking blocks,
655
673
  known bots, delivery mirrors, and recognized automated inputs are omitted. The
656
674
  state includes human identity keys for speaker attribution. Probabilities describe
657
675
  expressed emotion, not intensity; several emotions can be present, and they need
@@ -666,7 +684,8 @@ successes or retry oversized failures. Six Noul questions judge only `target.tex
666
684
  using history to interpret tone and speaker attribution. Short yes/no criteria define each emotion; subtle
667
685
  emotion counts without requiring explicit emotion words. Raw tool-result messages
668
686
  and tool-call blocks never enter either field; visible assistant text explaining a
669
- tool's findings remains conversation text. The rubric is `emotion-presence-v2`.
687
+ tool's findings remains conversation text. New routes use the rubric
688
+ `emotion-presence-v2@<canonical-endpoint>`; `inside_out.model` stores the requested alias.
670
689
 
671
690
  ```bash
672
691
  openclaw memory-emotions run --agent main
@@ -696,7 +715,7 @@ lease or persistent scheduling infrastructure.
696
715
 
697
716
  `--session` limits `run`, `report`, and `export` to one exact session ID. For a
698
717
  manual canary, keep `intervalMinutes: 0` and run/export that session; this still
699
- requires `insideOut.enabled: true` and sends its eligible interactions to Jev.
718
+ requires `insideOut.enabled: true` and sends its eligible interactions to the configured decision endpoint.
700
719
  Files are scoped by their session filename, with a header-only check for legacy
701
720
  names that differ from the session ID; unrelated transcript bodies are not parsed.
702
721
 
@@ -724,7 +743,7 @@ Queued messages use their original send timestamps when available; missing times
724
743
  fall back to retained transcript order rather than excluding interactions. Context
725
744
  keeps the target and nearest assistant whole and drops older messages to fit an
726
745
  estimated token budget. If that essential pair alone exceeds the budget, the row
727
- records an error and nothing is uploaded. This is an estimate, not Jev's tokenizer.
746
+ records an error and nothing is uploaded. This is an estimate, not decision model's tokenizer.
728
747
 
729
748
  The `inside_out` results table and its checkpoints live in `unblock-memory.sqlite`.
730
749
  Results store source
@@ -743,13 +762,13 @@ envelopes are not identity evidence.
743
762
  changed or removed mappings; by default it never reads transcripts. Its explicit
744
763
  `--repair-identities` option reads sources owning unlinked reviews and repairs
745
764
  their channel, sender ID and human key from persisted metadata before linking.
746
- Neither mode calls Jev or changes scores, timestamps, review IDs or checkpoints.
765
+ Neither mode calls decision model or changes scores, timestamps, review IDs or checkpoints.
747
766
  Unmatched identities stay null. Exports include `person_id` and `personal_deviation`.
748
767
  `export` emits all matching rows as JSON, including errors. `report` averages
749
768
  successful rows by human, UTC day/week, rubric, and model; counts are the denominator.
750
769
  Both accept `--person`, `--session`, `--sender`, `--since YYYY-MM-DD`, `--emotion`, and `--min`. `--sender`
751
770
  matches exact sender IDs across channels; use exported `human_key` for precise
752
- account-specific analysis. These commands are read-only and never invoke Jev.
771
+ account-specific analysis. These commands are read-only and never invoke decision model.
753
772
 
754
773
  ### Person-relative baselines and deviations
755
774
 
@@ -801,7 +820,7 @@ People links are matched with a read, and only changed links are written, in sho
801
820
  batches. If the refresh after grading fails, `run` still returns its counts with a
802
821
  `baselineError` (the Gateway logs a warning); saved grades are unaffected.
803
822
  `link-people` also refreshes analytics. `baseline-refresh` does this without loading
804
- transcripts, calling Jev, or requiring TypeSafe credentials. `baselines` reads
823
+ transcripts, calling decision model, or requiring decision model credentials. `baselines` reads
805
824
  weekly snapshots, newest first, with optional `--person`, `--since YYYY-MM-DD`
806
825
  (weeks whose last day, a Sunday, is on or after that UTC date) and `--limit`
807
826
  (1–1,000 weeks, default 100). It reads from one consistent snapshot, even while a
@@ -838,14 +857,14 @@ openclaw memory-emotions purge --agent main --person PERSON_ID --grades
838
857
 
839
858
  `purge` deletes one person's weekly snapshots and their whole assessment history,
840
859
  including assessments recorded while a reply was linked to them, and prints what it
841
- removed. It makes no Jev calls.
860
+ removed. It makes no decision model calls.
842
861
 
843
862
  - **Without `--grades`**, their raw grades stay, so the next refresh rebuilds
844
863
  current snapshots and assessments from replies still linked to them. Use this
845
864
  after correcting a misattributed identity.
846
865
  - **With `--grades`**, it also erases the six probabilities of every reply currently
847
866
  linked to that person and unlinks it. Each row stays as a tombstone with the error
848
- `Purged by operator`, so `run` (including `--retry`) never sends that reply to Jev
867
+ `Purged by operator`, so `run` (including `--retry`) never sends that reply to the decision endpoint
849
868
  again, `link-people` never relinks it, and refreshes skip it. Purge refreshes
850
869
  People links first, so replies linked since the last refresh are included. This
851
870
  cannot be undone.
@@ -1,7 +1,7 @@
1
1
  # Session memory extraction
2
2
 
3
- Opt-in lasting-fact extraction: **Luna proposes facts → code checks exact quotes →
4
- Jev checks support and retention → SQLite stores accepted facts → optional QMD search.**
3
+ Opt-in lasting-fact extraction: **d1.2 selects transcript spans → code maps them to exact quotes →
4
+ d1.2 checks support, retention, and corrections → SQLite stores accepted facts → optional QMD search.**
5
5
  It is independent of Inside Out: emotion scores do not select or strengthen memories.
6
6
  It never writes `MEMORY.md`, daily Markdown, or people dossiers.
7
7
 
@@ -31,29 +31,18 @@ and be a subset of the configured sessions corpus. This is channel agnostic.
31
31
  }
32
32
  ```
33
33
 
34
- Configure [TypeSafe credentials](configuration.md#typesafe-and-whisperers).
34
+ Configure [decision model credentials](configuration.md#shared-decision-model-credentials).
35
35
  Manual runs use the same Gateway-owned worker as scheduled runs; the Gateway must
36
36
  be running and the CLI caller needs `operator.admin`. Reports can be read offline.
37
- Requires host visible-transcript delta reads and working isolated LLM completion
38
- (validated on OpenClaw 2026.9.2 with Codex 0.159.2). The native harness must be
39
- installed through OpenClaw, not merely added to `plugins.load.paths`. Grant this
40
- host policy **alongside `config`** in the plugin entry:
37
+ Extraction requires host visible-transcript delta reads and a decision-model key.
38
+ It does not use host LLM completion or require a plugin `llm` grant. Missing
39
+ decision-model credentials prevent source scans and model calls.
41
40
 
42
- ```json
43
- {
44
- "llm": {
45
- "allowAgentIdOverride": true,
46
- "allowModelOverride": true,
47
- "allowedModels": ["openai/gpt-5.6-luna"],
48
- "allowedCompletionModels": ["openai/gpt-5.6-luna"]
49
- }
50
- }
51
- ```
52
-
53
- Luna uses the host's configured agent runtime and credentials, with zero tools and
54
- no alternate-model/provider fallback. Missing TypeSafe credentials prevent source
55
- scans and model calls. Enabling approves sending selected conversation text to
56
- Luna and Jev; tool calls/results and hidden thinking are removed first.
41
+ Enabling extraction sends selected visible conversation text to the configured
42
+ decision provider. The default is `liquid/d1.2-ultra` via
43
+ `https://codex.unblocklabs.ai/v1/decisions`. A custom endpoint must support both
44
+ `/decisions` and its sibling `/extractions`. Tool calls, tool results, and hidden
45
+ thinking are removed first.
57
46
 
58
47
  ## Run, backfill, inspect
59
48
 
@@ -77,11 +66,16 @@ preferences, enduring project purposes, and adopted standing rules. Omit guesses
77
66
  hypotheticals, one-off tasks, temporary status, release/incident details, generic
78
67
  technical knowledge, and credentials. The original transcripts remain searchable.
79
68
 
80
- A blue guess followed by a human correction to red retains only the red preference.
81
- Each proposal needs exact supporting quotes and new-message evidence. Jev checks
82
- support and retention independently in one request; replacements also require an
83
- explicit update to the same fact. All applicable thresholds must pass, and support
84
- must select `supported`, even if its threshold is lowered.
69
+ A blue guess followed by a human correction to red retains the resolved preference.
70
+ Proposals store speaker-attributed verbatim quotes. If a reply needs the preceding
71
+ question to make sense, the proposal can quote both turns. At least one quote must
72
+ come from a new message. List items below 0.50 confidence are skipped when the
73
+ provider supplies per-item confidence.
74
+
75
+ If prior facts exist, a choice judgment looks for an explicit correction or update.
76
+ A second decision checks support and retention, and rechecks any proposed replacement
77
+ against the original evidence. All applicable thresholds must pass, and support must
78
+ select `supported`, even if its threshold is lowered.
85
79
 
86
80
  The three thresholds accept 0–1 and default to 0.90. Lowering retention changes
87
81
  certainty about category membership, not the categories themselves. Agents can
@@ -111,14 +105,11 @@ The Gateway owns the scheduler; no cron/launchd job is added. Interval 0 means
111
105
  manual-only; the maximum is 1,440 minutes (daily). Defaults are disabled, unpublished,
112
106
  no approved chat types, hourly, six overlap messages, and five chunks per run.
113
107
 
114
- Chunks target 24k input tokens and cap at 28k, including Luna instructions, prior
115
- facts and overlap, leaving room for Jev's 32k state-plus-longest-question limit.
116
- `o200k_base` is a budgeting proxy, not an exact Jev/host token count. Quotes are
117
- limited to 512 characters each. Up to six overlap messages fit within 8k tokens by
118
- default. Oversized messages split losslessly with resumable offsets and original
119
- message-ID citations. A session above 100 retained facts or 40k characters of prior
120
- facts pauses rather than silently dropping comparison context. The output limit
121
- is advisory on some host runtimes; malformed/truncated JSON is retried, never saved.
108
+ Chunks target 24k input tokens and cap at 28k using an `o200k_base` estimate.
109
+ Quotes are limited to 512 characters, and overlap is capped at 8k tokens by default.
110
+ Oversized messages split with resumable offsets and original message-ID citations.
111
+ A session above 100 retained facts or 40k characters of prior facts pauses rather
112
+ than silently dropping comparison context. Model errors leave the chunk uncommitted.
122
113
 
123
114
  This is a conservative v1, not a calibrated guarantee of memory recall or truth.
124
115
  Start with a single-session shadow run and inspect the retained facts before publishing.
@@ -6,7 +6,8 @@ changes, memory writes, live-index mutation or automatic background inference.
6
6
  ## Recipe
7
7
 
8
8
  1. Collect eligible historical user turns and preceding visible conversation.
9
- 2. TypeSafe `jev-1.13.0` recall probability **>=0.7** gates query generation.
9
+ 2. Recall probability **>=0.7** from the configured decision model gates query generation.
10
+ The default is `liquid/d1.2-ultra` via Codex LB.
10
11
  Preserve negative labels for audit; greetings do not need query targets.
11
12
  3. Isolated `openai/gpt-6-luna`, **xhigh**, generates **five distinct queries per
12
13
  lane**: discriminating BM25 keywords for `lex`, semantic natural language for
@@ -14,7 +15,7 @@ changes, memory writes, live-index mutation or automatic background inference.
14
15
  4. Retrieve ten matches per query using **only its lane's backend**, from the
15
16
  originating agent's historical sessions. Use the same complete-excerpt renderer
16
17
  and **1,200-character limit** as runtime, with no merged passage-count cap.
17
- 5. The shared runtime TypeSafe `noul` grader judges each distinct passage in its
18
+ 5. The shared runtime decision model `noul` grader judges each distinct passage in its
18
19
  own request against the **original conversation**. It receives as-of time and
19
20
  passage source/date context, never query, rank, retrieval score, or backend.
20
21
  6. Score each query by the **mean of its three highest raw probabilities**. Average
@@ -39,7 +40,7 @@ V2 replaces v1 in place; no v1 execution mode or old-output compatibility parser
39
40
  ```sh
40
41
  openclaw memory-training collect --agent main --dry-run
41
42
  openclaw memory-training collect --agent main
42
- openclaw memory-training run --agent main --concurrency 256
43
+ openclaw memory-training run --agent main --concurrency 32
43
44
  openclaw memory-training generate --agent main --concurrency 8
44
45
  openclaw memory-training evaluate --agent main --concurrency 4
45
46
  openclaw memory-training status --agent main
@@ -61,7 +62,7 @@ Evaluate's optional `--max-calls` counts new retrievals, uncached passage judgme
61
62
  and revision teacher calls. Its revision teacher input-byte budget also defaults to
62
63
  3,000,000. There is no default example/call-count cap.
63
64
 
64
- Recall defaults to 256 concurrent requests, generation to 8 isolated completions.
65
+ Recall defaults to 32 concurrent requests, generation to 8 isolated completions.
65
66
  Evaluation defaults to 4 inputs. Distinct remote passage judgments overlap;
66
67
  identical conversation/passage judgments are reused across queries and rounds.
67
68
  Native vector work is serialized per snapshot. Raise concurrency within machine
@@ -166,7 +167,7 @@ recall probability, corpus coverage and teacher/retrieval/judgment provenance.
166
167
  Recall-gate exports include negatives. Export revalidates input sources but does
167
168
  not rerun retrieval; evaluate first if a fresh corpus assessment is desired.
168
169
  Export reselects targets from saved completed scores, including older v2 evaluations
169
- excluded only for no useful evidence. It makes no new Luna/TypeSafe calls, records
170
+ excluded only for no useful evidence. It makes no new Luna/decision model calls, records
170
171
  the current target policy, and leaves original checkpoint/attempt records untouched.
171
172
 
172
173
  Freeze one **recall-gate export per node after recall labeling and before selecting
@@ -184,7 +185,7 @@ historical timestamp; changed/out-of-cohort targets are rejected rather than cha
184
185
  the evaluation population. Use the actual
185
186
  **LFM2.5-230M-Base** tokenizer and an explicit causal-LM input/target format before
186
187
  fine-tuning; the byte guard is additional to the token limit. Runtime abstention remains
187
- a separate TypeSafe gate; positive-only query training does not teach abstention.
188
+ a separate decision model gate; positive-only query training does not teach abstention.
188
189
 
189
190
  The repository helper uses a pinned official tokenizer revision and chat template,
190
191
  with assistant-only loss labels, a 32,768-token total-sequence ceiling, and deterministic
@@ -21,7 +21,7 @@ Enable People Whisperer as usual:
21
21
  }
22
22
  ```
23
23
 
24
- Learning defaults on only when both switches are on. It does not enable TypeSafe,
24
+ Learning defaults on only when both switches are on. It does not enable decision model,
25
25
  People Primer, response audits, additional senders, or new corpora.
26
26
 
27
27
  Optional settings under `people.learning`:
@@ -220,7 +220,7 @@ analysis attempts.
220
220
  Install the reviewed tarball with `openclaw plugins install /absolute/path/package.tgz`.
221
221
  4. Merge the People Whisperer settings above into
222
222
  `plugins.entries.unblock-memory.config`. Preserve existing hook permissions,
223
- tool policies, corpus approvals, TypeSafe settings and response-audit sender
223
+ tool policies, corpus approvals, decision model settings and response-audit sender
224
224
  approvals. Set the host timezone or explicit per-agent overrides.
225
225
  5. Synchronize exact local identities using the existing PeopleSQL directory
226
226
  workflow (`memory_people_sync` where approved). Confirm the roster, accounts,