@unblocklabs/unblock-memory 0.12.2 → 0.13.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 (123) hide show
  1. package/README.md +19 -18
  2. package/dist/src/analysis.js +1 -1
  3. package/dist/src/cluster-review.d.ts +2 -0
  4. package/dist/src/cluster-review.js +3 -3
  5. package/dist/src/config.d.ts +9 -6
  6. package/dist/src/config.js +31 -20
  7. package/dist/src/curation.d.ts +1 -1
  8. package/dist/src/decision-client.d.ts +39 -0
  9. package/dist/src/decision-client.js +74 -0
  10. package/dist/src/{typesafe.d.ts → decision-ranking.d.ts} +15 -18
  11. package/dist/src/decision-ranking.js +154 -0
  12. package/dist/src/{typesafe-review.d.ts → decision-review.d.ts} +13 -9
  13. package/dist/src/decision-review.js +192 -0
  14. package/dist/src/diagnostics.d.ts +5 -5
  15. package/dist/src/emotion-baselines.d.ts +28 -3
  16. package/dist/src/emotion-baselines.js +309 -113
  17. package/dist/src/evidence-review.d.ts +22 -8
  18. package/dist/src/evidence-review.js +4 -4
  19. package/dist/src/extraction-chunk.d.ts +3 -0
  20. package/dist/src/extraction-chunk.js +23 -5
  21. package/dist/src/extraction-model.d.ts +2 -0
  22. package/dist/src/extraction-model.js +73 -48
  23. package/dist/src/extraction-runtime.d.ts +3 -1
  24. package/dist/src/extraction-runtime.js +43 -16
  25. package/dist/src/extraction-source.d.ts +1 -1
  26. package/dist/src/extraction-source.js +19 -11
  27. package/dist/src/extraction-store.d.ts +28 -3
  28. package/dist/src/extraction-store.js +145 -23
  29. package/dist/src/extraction-worker.d.ts +1 -0
  30. package/dist/src/extraction-worker.js +246 -93
  31. package/dist/src/inside-out-runtime.js +41 -29
  32. package/dist/src/inside-out-store.d.ts +2 -2
  33. package/dist/src/inside-out-store.js +110 -69
  34. package/dist/src/inside-out.d.ts +10 -9
  35. package/dist/src/inside-out.js +190 -105
  36. package/dist/src/manager.d.ts +22 -9
  37. package/dist/src/manager.js +275 -169
  38. package/dist/src/memory-search.d.ts +4 -2
  39. package/dist/src/memory-search.js +5 -5
  40. package/dist/src/memory-whisperer.d.ts +1 -1
  41. package/dist/src/memory-whisperer.js +189 -127
  42. package/dist/src/my-turn.d.ts +1 -1
  43. package/dist/src/my-turn.js +87 -68
  44. package/dist/src/people-background.d.ts +4 -0
  45. package/dist/src/people-background.js +29 -6
  46. package/dist/src/people-dossier-review.d.ts +20 -8
  47. package/dist/src/people-dossier-review.js +11 -8
  48. package/dist/src/people-hooks.js +127 -22
  49. package/dist/src/people-learning-cron.d.ts +1 -1
  50. package/dist/src/people-learning-cron.js +106 -57
  51. package/dist/src/people-learning-inventory.d.ts +1 -0
  52. package/dist/src/people-learning-inventory.js +281 -171
  53. package/dist/src/people-learning-prompt.js +1 -1
  54. package/dist/src/people-learning-runtime.d.ts +1 -1
  55. package/dist/src/people-learning-runtime.js +423 -204
  56. package/dist/src/people-learning-store.d.ts +27 -4
  57. package/dist/src/people-learning-store.js +312 -96
  58. package/dist/src/people-primer-tool.js +8 -6
  59. package/dist/src/people-primer.d.ts +3 -1
  60. package/dist/src/people-primer.js +61 -44
  61. package/dist/src/people-store.d.ts +18 -21
  62. package/dist/src/people-store.js +186 -63
  63. package/dist/src/people-tools.js +136 -92
  64. package/dist/src/plugin.js +16 -16
  65. package/dist/src/quality-audit.d.ts +2 -0
  66. package/dist/src/quality-audit.js +8 -7
  67. package/dist/src/query-generator.d.ts +1 -1
  68. package/dist/src/query-generator.js +15 -8
  69. package/dist/src/response-audit.d.ts +1 -1
  70. package/dist/src/response-audit.js +76 -43
  71. package/dist/src/response-episodes.d.ts +1 -1
  72. package/dist/src/response-episodes.js +12 -17
  73. package/dist/src/response-judge.d.ts +151 -145
  74. package/dist/src/response-judge.js +535 -204
  75. package/dist/src/response-reviews.d.ts +29 -1
  76. package/dist/src/response-reviews.js +110 -13
  77. package/dist/src/response-runtime.js +8 -8
  78. package/dist/src/response-stages.d.ts +50 -53
  79. package/dist/src/response-stages.js +10 -4
  80. package/dist/src/response-store.d.ts +7 -6
  81. package/dist/src/response-store.js +332 -210
  82. package/dist/src/response-text.d.ts +2 -0
  83. package/dist/src/response-text.js +182 -36
  84. package/dist/src/review-tools.d.ts +8 -2
  85. package/dist/src/review-tools.js +18 -18
  86. package/dist/src/runtime.d.ts +7 -4
  87. package/dist/src/runtime.js +624 -98
  88. package/dist/src/safety-whisperer.d.ts +2 -2
  89. package/dist/src/safety-whisperer.js +88 -71
  90. package/dist/src/session-sync.d.ts +3 -1
  91. package/dist/src/session-sync.js +200 -95
  92. package/dist/src/skill-whisperer.d.ts +1 -1
  93. package/dist/src/skill-whisperer.js +52 -30
  94. package/dist/src/training-gate.d.ts +8 -21
  95. package/dist/src/training-gate.js +32 -35
  96. package/dist/src/training-judge.d.ts +9 -16
  97. package/dist/src/training-judge.js +5 -5
  98. package/dist/src/training-queries.d.ts +13 -8
  99. package/dist/src/training-queries.js +370 -228
  100. package/dist/src/training-retrieval.d.ts +14 -24
  101. package/dist/src/training-retrieval.js +182 -136
  102. package/dist/src/training-runtime.d.ts +3 -0
  103. package/dist/src/training-runtime.js +76 -18
  104. package/dist/src/training-store.d.ts +18 -3
  105. package/dist/src/training-store.js +138 -50
  106. package/dist/src/training.js +8 -11
  107. package/dist/src/whisperer-context.d.ts +14 -0
  108. package/dist/src/whisperer-context.js +22 -1
  109. package/docs/configuration.md +76 -63
  110. package/docs/extraction.md +9 -7
  111. package/docs/memory-training.md +7 -6
  112. package/docs/people-learning.md +2 -2
  113. package/docs/peoplesql.md +6 -6
  114. package/docs/response-audit.md +10 -8
  115. package/docs/retrieval.md +40 -37
  116. package/openclaw.plugin.json +40 -26
  117. package/package.json +3 -2
  118. package/skills/memory-curator/SKILL.md +1 -1
  119. package/skills/people-whisperer/SKILL.md +1 -1
  120. package/dist/src/typesafe-client.d.ts +0 -30
  121. package/dist/src/typesafe-client.js +0 -92
  122. package/dist/src/typesafe-review.js +0 -154
  123. 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,17 @@ 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
+ All plugin decision-model features use `plugins.entries.unblock-memory.config.decisionModel`.
42
+ Older provider config keys are rejected. When upgrading, remove the old block and
43
+ configure a credential for the endpoint you intend to use; do not copy the old key into the default route.
42
44
 
43
45
  Candidate scoring uses **one HTTP request per candidate**, with ranking done in code.
44
46
  Related questions about the same candidate can share a request (for example, quality
@@ -52,25 +54,34 @@ These evidence relationships are deliberately preserved, not split into unrelate
52
54
 
53
55
  ```json
54
56
  {
55
- "typesafe": {
57
+ "decisionModel": {
56
58
  "enabled": true,
57
- "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-typesafe.env",
59
+ "endpoint": "https://codex.unblocklabs.ai/v1/decisions",
60
+ "model": "liquid/d1.2-ultra",
61
+ "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-decisions.env",
58
62
  "timeoutMs": 1500
59
63
  }
60
64
  }
61
65
  ```
62
66
 
63
67
  This is a **plugin config fragment**, not a top-level OpenClaw configuration.
68
+ Defaults are `enabled: true`, `endpoint: "https://codex.unblocklabs.ai/v1/decisions"`,
69
+ `model: "liquid/d1.2-ultra"`, and `timeoutMs: 1500` (routed through Codex LB to OpenRouter's
70
+ `liquid/d1.2-ultra` Decisions API). For a different provider, set its
71
+ `endpoint`, `model`, and credential explicitly. Plain HTTP is allowed only on
72
+ loopback (`localhost`, `127.0.0.1`, `[::1]`).
73
+
64
74
  The key file can contain a plaintext key or dotenv entries:
65
75
 
66
76
  ```dotenv
67
- TYPESAFE_API_KEY="YOUR_TYPESAFE_KEY"
77
+ CODEX_LB_API_KEY="YOUR_CODEX_LB_KEY"
68
78
  ```
69
79
 
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`.
80
+ Inline and file credentials are sent only to the configured endpoint. A dotenv file
81
+ reads `CODEX_LB_API_KEY`, or `DECISION_MODEL_API_KEY` for a custom endpoint. Without
82
+ an explicit credential, only the Codex LB HTTPS origin can use the Gateway's
83
+ `CODEX_LB_API_KEY` environment variable.
84
+ Configure at most one of `apiKey` and `apiKeyFile`; prefer a private file over a secret in config.
74
85
 
75
86
  The file is reread when a feature resolves credentials, so replacing its contents
76
87
  does not require a Gateway restart. Restart/reload the Gateway after changing the
@@ -79,7 +90,7 @@ code and does not change the process environment. Workspace `.env` files are not
79
90
  auto-discovered, and an interactive shell's exported key need not reach a managed
80
91
  Gateway service.
81
92
 
82
- Missing/empty files or dotenv files without `TYPESAFE_API_KEY` count as no key.
93
+ Missing/empty files or dotenv files without a matching key entry count as no key.
83
94
  An explicit file never falls back to an unrelated environment key. Missing or
84
95
  unreadable credentials do not break normal memory functionality or Gateway startup;
85
96
  the feature-specific fallback/skip behavior above applies. **Unreadable files and
@@ -88,9 +99,7 @@ Use `memory_diagnostics` for credential availability; it does not verify provide
88
99
  acceptance. Keep secret files mode `600`, secret directories mode `700`, and keys
89
100
  out of Git, chat, shell arguments and logs.
90
101
 
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
102
+ `decisionModel.timeoutMs` is not a universal total deadline: People Primer and dossier
94
103
  save review use `peoplePrimer.timeoutMs` per request; Memory Whisperer has its
95
104
  own overall budget. Skill Whisperer's fixed three-second total budget includes
96
105
  credential resolution, retrieval and judging, even when its provider timeout is longer.
@@ -125,13 +134,13 @@ refresh waits an interval.
125
134
  { "name": "memory", "kind": "files", "paths": ["MEMORY.md", "USER.md", "memory/**/*.md"] },
126
135
  { "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
136
  ],
128
- "typesafe": { "enabled": false },
137
+ "decisionModel": { "enabled": false },
129
138
  "skillWhisperer": { "enabled": true }
130
139
  }
131
140
  ```
132
141
 
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.
142
+ Select only desired skill locations. To use decision model selection instead, enable
143
+ `decisionModel` and configure credentials; the selected skill still is not auto-invoked.
135
144
 
136
145
  ### Memory Whisperer over approved knowledge
137
146
 
@@ -141,7 +150,7 @@ Select only desired skill locations. To use TypeSafe selection instead, enable
141
150
  { "name": "memory", "kind": "files", "paths": ["MEMORY.md", "USER.md", "memory/**/*.md"] },
142
151
  { "name": "knowledge", "kind": "files", "paths": ["knowledge/**/*.md"] }
143
152
  ],
144
- "typesafe": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-typesafe.env" },
153
+ "decisionModel": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-decisions.env" },
145
154
  "memoryWhisperer": { "enabled": true, "corpora": ["knowledge"] }
146
155
  }
147
156
  ```
@@ -150,7 +159,9 @@ Create the private key file first. To recall conversation history, configure a
150
159
  sessions corpus and add `sessions` to `memoryWhisperer.corpora`. Automatic recall
151
160
  can then retrieve across this agent's indexed sessions. The sessions corpus's
152
161
  `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.
162
+ excerpts are sent to the configured decision endpoint (defaults to
163
+ `https://codex.unblocklabs.ai/v1/decisions` -> OpenRouter `liquid/d1.2-ultra`)
164
+ and may be injected into any conversation using this agent.
154
165
 
155
166
  ### People storage, without injection
156
167
 
@@ -164,12 +175,12 @@ excerpts are sent to TypeSafe and may be injected into any conversation using th
164
175
  {
165
176
  "people": { "enabled": true, "whisperer": { "enabled": true } },
166
177
  "peoplePrimer": { "enabled": true, "corpora": ["memory"] },
167
- "typesafe": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-typesafe.env" }
178
+ "decisionModel": { "apiKeyFile": "/absolute/path/to/secrets/unblock-memory-decisions.env" }
168
179
  }
169
180
  ```
170
181
 
171
182
  The default memory corpus exists. This separately approves its evidence for
172
- TypeSafe; it does not create a dossier or schedule maintenance. Use the
183
+ the configured decision endpoint; it does not create a dossier or schedule maintenance. Use the
173
184
  [people workflow](peoplesql.md). Adding `sessions` to primer approval, after
174
185
  configuring that corpus, approves **all indexed sessions**, as with Memory Whisperer.
175
186
 
@@ -190,7 +201,7 @@ single-session validation, backfill, and publication. Defaults: disabled,
190
201
  `publish: false`, `chatTypes: []`, hourly, six overlap messages, five chunks per run.
191
202
  `extraction.minSupport`, `minRetention`, and `minReplacement` independently accept
192
203
  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`.
204
+ Extraction always uses its own 10-second decision model deadline, not `decisionModel.timeoutMs`.
194
205
 
195
206
  ## Settings reference
196
207
 
@@ -213,44 +224,43 @@ contract; these tables explain their effects.
213
224
  | `keepEmbeddingModelWarm` | `true` | Retain embedding model/context after first use; false allows five-minute idle disposal |
214
225
  | `analysis.executable` | Unset | Optional absolute local worker path; enables ability to recluster, not automatic scheduling |
215
226
 
216
- ## TypeSafe and whisperers
227
+ ## Decision model and whisperers
217
228
 
218
229
  | Setting | Default | Meaning / supported range |
219
230
  | --- | --- | --- |
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** |
231
+ | `decisionModel.enabled` | `true` | Shared provider gate; does not opt in any feature |
232
+ | `decisionModel.endpoint` | `https://codex.unblocklabs.ai/v1/decisions` | HTTPS or loopback HTTP, without credentials, query, or fragment |
233
+ | `decisionModel.model` | `liquid/d1.2-ultra` | Requested model alias; dated `liquid/d1.2-ultra-*` snapshots are rejected on the default route |
234
+ | `decisionModel.apiKey` | Unset | Explicit inline key; mutually exclusive with key file; prefer file |
235
+ | `decisionModel.apiKeyFile` | Unset | Absolute plaintext-key or dotenv file; reread at credential resolution. If missing, no fallback |
236
+ | `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
237
  | `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
238
  | `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 |
239
+ | `skillWhisperer.minScore` | `0.5` | 0–1, **local vector fallback only**, ignored for decision model shortlist admission |
227
240
  | `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 |
241
+ | `memoryWhisperer.enabled` | `false` | Requires explicit approved non-skill corpora, decision model key and host hooks |
229
242
  | `memoryWhisperer.corpora` | `[]` | Explicit known corpus names; required nonempty when enabled; no `all` or skills |
230
243
  | `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. |
244
+ | `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
245
  | `memoryWhisperer.mlx` | unset | Deprecated: old absolute `{pythonPath, modelPath}` values are accepted but ignored for upgrade compatibility. Remove after configuring `api`. |
233
246
  | `memoryWhisperer.minUsefulness` | `0.5` | 0–1, minimum Noul yes-probability per candidate; explicit overrides are preserved |
234
247
  | `memoryWhisperer.maxHints` | `3` | 1–3 |
235
248
  | `memoryWhisperer.cooldownTurns` | `10` | 0–1,000; recently injected evidence |
236
249
  | `memoryWhisperer.timeoutMs` | `3000` | 1–10,000 total whisper deadline, not just the provider timeout |
237
250
  | `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) |
251
+ | `safetyWhisperer.enabled` | `false` | Requires at least one scenario, decision-model credentials and host hooks; see [Safety Whisperer](#safety-whisperer) |
239
252
  | `safetyWhisperer.historyMessages` | `6` | 0–20 earlier visible messages, whole messages only, for resolving follow-ups |
240
253
  | `safetyWhisperer.timeoutMs` | `3000` | 1–10,000 total deadline (credential and request); the host hook timeout must exceed the slowest enabled whisperer |
241
254
  | `safetyWhisperer.excludedChannels` | `[]` | Up to 500 `{ provider, accountId, channelId, name? }`, matched case-insensitively; skips every scenario there |
242
255
  | `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 |
256
+ | `safetyWhisperer.scenarios[].instructions` | Required | Up to 2,000 characters: what the scenario covers, with exclusions; sent to the configured decision endpoint |
257
+ | `safetyWhisperer.scenarios[].flaggedPrompt` | Required | Up to 2,000 characters, appended for matching unapproved requests; never sent to the decision endpoint |
245
258
  | `safetyWhisperer.scenarios[].minProbability` | `0.4` | 0–1 minimum yes-probability that the current request is covered |
246
259
  | `safetyWhisperer.scenarios[].approvedRequestors` | `[]` | Up to 500 `{ provider, accountId, senderId, name? }`; `senderId` must match exactly; skip this scenario for them |
247
260
  | `safetyWhisperer.scenarios[].excludedChannels` | `[]` | Up to 500 channels where only this scenario is skipped |
248
261
  | `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 |
262
+ | `safetyWhisperer.scenarios[].enabled` | `true` | Disabled scenarios are never sent to the decision endpoint |
250
263
 
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
264
  Missing/empty key and unreadable/erroring key are different for Skill Whisperer:
255
265
  the former allows vector fallback; the latter suppresses the hint.
256
266
 
@@ -283,7 +293,7 @@ the former allows vector fallback; the latter suppresses the hint.
283
293
  | `qualityAudit.minNoise` | `0.8` | 0–1 threshold for model noise flags; deterministic empty/encoding indicators have separate rules |
284
294
  | `evidenceReview.enabled` | `false` | Ordinary atomic-claim review tool; does not turn on dossier save review |
285
295
  | `evidenceReview.corpora` | `[]` | Explicit non-skill approval; nonempty when enabled |
286
- | `responseAudit.enabled` | `false` | Operator-only response evaluation; requires approved senders and TypeSafe |
296
+ | `responseAudit.enabled` | `false` | Operator-only response evaluation; requires approved senders and decision model |
287
297
  | `responseAudit.sentimentEnabled` | `true` | Within opted-in audit; false removes emotion questions without disabling quality judgments |
288
298
  | `responseAudit.senderIds` | `[]` | Up to 50 approved Slack sender IDs; nonempty when enabled; trusted human/owner metadata also required, explicit bots excluded |
289
299
  | `responseAudit.chatTypes` | `['direct']` | Nonempty approved subset of direct/group/channel |
@@ -372,16 +382,16 @@ Per-person injection state, dossier existence, availability and thread receipts
372
382
  are stored state, not config switches. See [people lifecycle](peoplesql.md#injection-and-person-state).
373
383
 
374
384
  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
385
+ selectors are not audience ACLs. Per-feature decision model approvals constrain that
376
386
  feature's remote processing, not general retrieval access. This is an agent/fleet
377
387
  boundary, not multi-tenant authorization. Approve sources for the agent's audiences.
378
388
 
379
- ## TypeSafe data scope
389
+ ## Decision model data scope
380
390
 
381
391
  | Feature | Evidence sent when explicitly enabled/approved |
382
392
  | --- | --- |
383
393
  | 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. |
394
+ | 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
395
  | Complementarity | Up to 4 already-qualified excerpts for pairwise redundancy checks |
386
396
  | 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
397
  | 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 +411,8 @@ or score is not proof. Enabling a feature approves only that feature's documente
401
411
  ## My Turn
402
412
 
403
413
  An optional advisor for group/channel conversations. Before an incoming-message
404
- turn reaches the main model, Jev judges whether this particular agent should
414
+ turn reaches the main model, the configured decision model (default `liquid/d1.2-ultra`
415
+ via `https://codex.unblocklabs.ai/v1/decisions`) judges whether this particular agent should
405
416
  respond. It uses the agent's configured identity name (falling back to its ID),
406
417
  the triggering message, and recent visible conversation text. The agent always
407
418
  retains the final say; this does not prevent wakes or guarantee silence.
@@ -436,14 +447,14 @@ retains the final say; this does not prevent wakes or guarantee silence.
436
447
  Content comes from the visible message body, never storage-only
437
448
  `__openclaw.upstreamUserText` replay prompts, for both the trigger and history.
438
449
  - 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
450
+ by author type. There are no separate Slack/iMessage history fetches. The decision model is told
440
451
  that agent replies are absent, so it must not treat their absence as proof that
441
452
  nobody answered a question.
442
453
  - The trigger must match the newest transcript message and its host-confirmed
443
454
  human sender. If a host does not expose that metadata at prompt-build time,
444
455
  **My Turn skips the decision entirely**. The original message still reaches
445
456
  the agent normally; unknown authorship never becomes a silence hint.
446
- - Enabling the feature opts in to external TypeSafe processing of recent text
457
+ - Enabling the feature opts in to external decision model processing of recent text
447
458
  from every enabled provider, including providers added later. Disable providers
448
459
  whose group conversations should not be sent. No other sessions are retrieved.
449
460
  - One Noul asks whether the named agent should respond **now**, favoring directed
@@ -456,10 +467,10 @@ retains the final say; this does not prevent wakes or guarantee silence.
456
467
 
457
468
  - Respond/uncertain results leave the prompt unchanged. The initial threshold is
458
469
  conservative, not a guarantee of classifier accuracy; evaluate it on real chats.
459
- - Uses shared `typesafe` credentials and enablement. Missing/unreadable key,
470
+ - Uses shared `decisionModel` credentials and enablement. Missing/unreadable key,
460
471
  exhausted credits, any HTTP/network error, invalid result, or timeout leaves the
461
472
  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.
473
+ credential lookup; a shorter `decisionModel.timeoutMs` can end the HTTP request sooner.
463
474
  - Input has a conservative 24,000-token estimated budget. Oversized current
464
475
  messages skip inference rather than silently truncate the
465
476
  trigger. Whole older messages are included only while they fit.
@@ -526,7 +537,7 @@ The plugin entry also needs `hooks.allowConversationAccess: true`, and
526
537
  use their channel.
527
538
  3. Disabled scenarios, scenarios limited to other `agentIds`, and scenarios that
528
539
  approve this requestor are dropped.
529
- 4. If none remain, no request is made. Otherwise one TypeSafe request asks one
540
+ 4. If none remain, no request is made. Otherwise one decision model request asks one
530
541
  independent yes/no question per remaining scenario. It includes the complete
531
542
  current message, the channel context that arrived with it (thread starter,
532
543
  replied-to message, chat history since the agent's last reply) and up to
@@ -576,7 +587,7 @@ the first such turn is also logged.
576
587
  ### When the check cannot run
577
588
 
578
589
  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
590
+ with no safety prompt. A decision model outage or missing key therefore turns the
580
591
  guardrail off. The exception is a message too large to check: the requestor
581
592
  controls its size, so every eligible scenario's `flaggedPrompt` is added instead.
582
593
  `memory_diagnostics` reports each outcome under `whisperers.safety`, keeping
@@ -588,7 +599,7 @@ could-not-check separate from no match:
588
599
  | `no_match` | Checked; no scenario matched |
589
600
  | `excluded` / `no_scenarios` | Skipped by a global exclusion, or nothing remained after filtering; no request |
590
601
  | `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 |
602
+ | `missing_key` / `decision_disabled` | Could not check: no credential, or decision model disabled |
592
603
  | `input_too_large` | Not checked: the current message exceeds the roughly 24k-token budget. It is never truncated; every eligible `flaggedPrompt` is added |
593
604
  | `timed_out` / `failed` | Could not check: deadline, provider error or no usable answer |
594
605
  | `partial_response` | Counted with `flagged`: some answers were unusable, and the confident matches were still added |
@@ -598,7 +609,7 @@ could-not-check separate from no match:
598
609
  Warnings include the outcome, error code, HTTP status and scenario count, never
599
610
  message text; a missing key is logged once until it returns.
600
611
  `memory_diagnostics` also reports `safety.active: false` with a `reason` when
601
- settings or host controls prevent checks (`typesafe_disabled`,
612
+ settings or host controls prevent checks (`decision_disabled`,
602
613
  `conversation_access_not_allowed`, `prompt_injection_not_allowed`,
603
614
  `no_enabled_scenarios`), and a `warnings` list:
604
615
 
@@ -644,14 +655,15 @@ change memories, retrieval, prompts, or dossiers.
644
655
  ```
645
656
 
646
657
  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
658
+ 30,000-token context budget, leaving room for questions under a 32k
648
659
  state-plus-longest-question limit. `intervalMinutes: 0` makes inference manual-only;
649
660
  local baselines still refresh daily and on Gateway startup when Inside Out is enabled.
650
661
  `baselineMinInteractions` defaults to 20 (1–10,000) for each comparison population.
651
- The shared `typesafe` settings supply Jev credentials and request timeout.
662
+ The shared `decisionModel` settings supply the decision endpoint, model, credentials, and request timeout.
652
663
 
653
664
  **Enabling this approves sending visible human/assistant conversation text across
654
- all retained channels to TypeSafe.** System messages, tool bodies, thinking blocks,
665
+ all retained channels to the configured decision endpoint (defaults to
666
+ `https://codex.unblocklabs.ai/v1/decisions` → OpenRouter `liquid/d1.2-ultra`).** System messages, tool bodies, thinking blocks,
655
667
  known bots, delivery mirrors, and recognized automated inputs are omitted. The
656
668
  state includes human identity keys for speaker attribution. Probabilities describe
657
669
  expressed emotion, not intensity; several emotions can be present, and they need
@@ -666,7 +678,8 @@ successes or retry oversized failures. Six Noul questions judge only `target.tex
666
678
  using history to interpret tone and speaker attribution. Short yes/no criteria define each emotion; subtle
667
679
  emotion counts without requiring explicit emotion words. Raw tool-result messages
668
680
  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`.
681
+ tool's findings remains conversation text. New routes use the rubric
682
+ `emotion-presence-v2@<canonical-endpoint>`; `inside_out.model` stores the requested alias.
670
683
 
671
684
  ```bash
672
685
  openclaw memory-emotions run --agent main
@@ -696,7 +709,7 @@ lease or persistent scheduling infrastructure.
696
709
 
697
710
  `--session` limits `run`, `report`, and `export` to one exact session ID. For a
698
711
  manual canary, keep `intervalMinutes: 0` and run/export that session; this still
699
- requires `insideOut.enabled: true` and sends its eligible interactions to Jev.
712
+ requires `insideOut.enabled: true` and sends its eligible interactions to the configured decision endpoint.
700
713
  Files are scoped by their session filename, with a header-only check for legacy
701
714
  names that differ from the session ID; unrelated transcript bodies are not parsed.
702
715
 
@@ -724,7 +737,7 @@ Queued messages use their original send timestamps when available; missing times
724
737
  fall back to retained transcript order rather than excluding interactions. Context
725
738
  keeps the target and nearest assistant whole and drops older messages to fit an
726
739
  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.
740
+ records an error and nothing is uploaded. This is an estimate, not decision model's tokenizer.
728
741
 
729
742
  The `inside_out` results table and its checkpoints live in `unblock-memory.sqlite`.
730
743
  Results store source
@@ -743,13 +756,13 @@ envelopes are not identity evidence.
743
756
  changed or removed mappings; by default it never reads transcripts. Its explicit
744
757
  `--repair-identities` option reads sources owning unlinked reviews and repairs
745
758
  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.
759
+ Neither mode calls decision model or changes scores, timestamps, review IDs or checkpoints.
747
760
  Unmatched identities stay null. Exports include `person_id` and `personal_deviation`.
748
761
  `export` emits all matching rows as JSON, including errors. `report` averages
749
762
  successful rows by human, UTC day/week, rubric, and model; counts are the denominator.
750
763
  Both accept `--person`, `--session`, `--sender`, `--since YYYY-MM-DD`, `--emotion`, and `--min`. `--sender`
751
764
  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.
765
+ account-specific analysis. These commands are read-only and never invoke decision model.
753
766
 
754
767
  ### Person-relative baselines and deviations
755
768
 
@@ -801,7 +814,7 @@ People links are matched with a read, and only changed links are written, in sho
801
814
  batches. If the refresh after grading fails, `run` still returns its counts with a
802
815
  `baselineError` (the Gateway logs a warning); saved grades are unaffected.
803
816
  `link-people` also refreshes analytics. `baseline-refresh` does this without loading
804
- transcripts, calling Jev, or requiring TypeSafe credentials. `baselines` reads
817
+ transcripts, calling decision model, or requiring decision model credentials. `baselines` reads
805
818
  weekly snapshots, newest first, with optional `--person`, `--since YYYY-MM-DD`
806
819
  (weeks whose last day, a Sunday, is on or after that UTC date) and `--limit`
807
820
  (1–1,000 weeks, default 100). It reads from one consistent snapshot, even while a
@@ -838,14 +851,14 @@ openclaw memory-emotions purge --agent main --person PERSON_ID --grades
838
851
 
839
852
  `purge` deletes one person's weekly snapshots and their whole assessment history,
840
853
  including assessments recorded while a reply was linked to them, and prints what it
841
- removed. It makes no Jev calls.
854
+ removed. It makes no decision model calls.
842
855
 
843
856
  - **Without `--grades`**, their raw grades stay, so the next refresh rebuilds
844
857
  current snapshots and assessments from replies still linked to them. Use this
845
858
  after correcting a misattributed identity.
846
859
  - **With `--grades`**, it also erases the six probabilities of every reply currently
847
860
  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
861
+ `Purged by operator`, so `run` (including `--retry`) never sends that reply to the decision endpoint
849
862
  again, `link-people` never relinks it, and refreshes skip it. Purge refreshes
850
863
  People links first, so replies linked since the last refresh are included. This
851
864
  cannot be undone.
@@ -1,7 +1,7 @@
1
1
  # Session memory extraction
2
2
 
3
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.**
4
+ decision model checks support and retention → 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,7 +31,7 @@ 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
37
  Requires host visible-transcript delta reads and working isolated LLM completion
@@ -51,9 +51,11 @@ host policy **alongside `config`** in the plugin entry:
51
51
  ```
52
52
 
53
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
54
+ no alternate-model/provider fallback. Missing decision-model credentials prevent source
55
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.
56
+ Luna and the configured decision endpoint (defaults to
57
+ `https://codex.unblocklabs.ai/v1/decisions` → OpenRouter `liquid/d1.2-ultra`);
58
+ tool calls/results and hidden thinking are removed first.
57
59
 
58
60
  ## Run, backfill, inspect
59
61
 
@@ -78,7 +80,7 @@ hypotheticals, one-off tasks, temporary status, release/incident details, generi
78
80
  technical knowledge, and credentials. The original transcripts remain searchable.
79
81
 
80
82
  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
83
+ Each proposal needs exact supporting quotes and new-message evidence. decision model checks
82
84
  support and retention independently in one request; replacements also require an
83
85
  explicit update to the same fact. All applicable thresholds must pass, and support
84
86
  must select `supported`, even if its threshold is lowered.
@@ -112,8 +114,8 @@ manual-only; the maximum is 1,440 minutes (daily). Defaults are disabled, unpubl
112
114
  no approved chat types, hourly, six overlap messages, and five chunks per run.
113
115
 
114
116
  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
+ facts and overlap, leaving room for decision model's 32k state-plus-longest-question limit.
118
+ `o200k_base` is a budgeting proxy, not an exact decision model/host token count. Quotes are
117
119
  limited to 512 characters each. Up to six overlap messages fit within 8k tokens by
118
120
  default. Oversized messages split losslessly with resumable offsets and original
119
121
  message-ID citations. A session above 100 retained facts or 40k characters of prior
@@ -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,
package/docs/peoplesql.md CHANGED
@@ -42,14 +42,14 @@ it does **not** generate claims, update dossiers, or inject context. With
42
42
  ```
43
43
 
44
44
  This is a plugin config fragment. List only configured, approved non-skill corpora. The feature is **off by
45
- default** and requires shared TypeSafe credentials. Disabled TypeSafe or missing/
45
+ default** and requires shared decision model credentials. Disabled decision model or missing/
46
46
  unreadable credentials safely skip the primer; agents can still research normally.
47
47
  Enabling it approves sending the person's identity, retrieved excerpts and optional
48
- draft snippet to TypeSafe. Existing dossiers are not sent as grading evidence.
48
+ draft snippet to the decision endpoint. Existing dossiers are not sent as grading evidence.
49
49
  Sessions includes all indexed conversations;
50
50
  results are available to the agent's tool callers, so scope approval accordingly.
51
51
  Primer and dossier-save requests use `peoplePrimer.timeoutMs`, not
52
- `typesafe.timeoutMs`; the total tool deadline is two minutes.
52
+ `decisionModel.timeoutMs`; the total tool deadline is two minutes.
53
53
 
54
54
  Three default questions cover explicit role/organization, enduring organizational
55
55
  background, and the person's relationship to the agent (not its business mission).
@@ -88,9 +88,9 @@ edit/deletion returns `conflict` instead of overwriting the newer change.
88
88
  After independently verifying every assertion and background eligibility, an agent
89
89
  can supply a source-specific `manualVerification` explanation (up to 400 characters)
90
90
  for direct human corrections, non-indexed evidence or disabled/unavailable/incorrect
91
- reviews. This explicit path skips TypeSafe, records manual provenance in change
91
+ reviews. This explicit path skips decision model, records manual provenance in change
92
92
  history and keeps all structural limits. It is not a provider pass. Normal success
93
- returns `status: "ok"`, `saved: true` and `verification: "typesafe" | "manual"`.
93
+ returns `status: "ok"`, `saved: true` and `verification: "decision" | "manual"`.
94
94
  The skill documents when to use each path. Sources outside approved corpora are
95
95
  rejected before egress; no separate `evidenceReview` toggle is needed.
96
96
 
@@ -153,7 +153,7 @@ before replacement. No automatic destructive migration or blanket deletion occur
153
153
 
154
154
  Every `replace_dossier` and `delete_dossier` action requires a concise `reason`
155
155
  (up to 500 characters for replacements, 1,000 for deletions). Replacement history
156
- also records whether TypeSafe checks passed or a manual attestation was used.
156
+ also records whether decision model checks passed or a manual attestation was used.
157
157
  The plugin transactionally records that reason with its authoritative before and
158
158
  after dossier snapshots. List small newest-first summaries with
159
159
  `memory_people_inspect({ view: "dossier_changes", personId, limit?, offset? })`,