somora 2026.930.4 → 2026.1001.2

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 (106) hide show
  1. package/config.example.yaml +8 -4
  2. package/docs/api.md +3 -3
  3. package/docs/builder.md +2 -2
  4. package/docs/dream-phases.md +1 -1
  5. package/docs/mcp.md +1 -1
  6. package/docs/memory.md +56 -4
  7. package/docs/projects.md +7 -7
  8. package/docs/setup.md +5 -5
  9. package/docs/team.md +1 -1
  10. package/docs/tools.md +1 -1
  11. package/docs/wiki.md +5 -5
  12. package/npm-shrinkwrap.json +2 -2
  13. package/package.json +1 -1
  14. package/src/browser/service.ts +8 -8
  15. package/src/cli/resolvers/clawhub.ts +1 -1
  16. package/src/cli/skill.ts +1 -1
  17. package/src/cli/tui/turn-views.tsx +4 -4
  18. package/src/config/loader.ts +7 -3
  19. package/src/config/types.ts +40 -15
  20. package/src/dream/deep-actions.ts +1 -1
  21. package/src/dream/deep-prompts.ts +8 -8
  22. package/src/dream/deep-runner.ts +1 -1
  23. package/src/dream/lucid-storage.ts +2 -2
  24. package/src/dream/lucid-structure.ts +1 -1
  25. package/src/dream/lucid-worker.ts +1 -1
  26. package/src/dream/rem-dedup.ts +5 -5
  27. package/src/dream/rem-extract.ts +4 -4
  28. package/src/dream/rem-runner.ts +1 -1
  29. package/src/dream/wiki-context.ts +1 -1
  30. package/src/engine/a2a.ts +2 -2
  31. package/src/engine/claude-cli.ts +6 -6
  32. package/src/engine/model-availability.ts +2 -2
  33. package/src/engine/openai-compatible.ts +2 -2
  34. package/src/engine/types.ts +1 -1
  35. package/src/imagegen/aspect.ts +1 -1
  36. package/src/imagegen/types.ts +1 -1
  37. package/src/mcp/hub/bridge.ts +1 -1
  38. package/src/mcp/hub/manager.ts +1 -1
  39. package/src/mcp/server.ts +1 -1
  40. package/src/mcp/tool-schema.ts +2 -2
  41. package/src/media/capabilities.ts +1 -1
  42. package/src/memory/inject.ts +1 -1
  43. package/src/memory/manager.ts +5 -2
  44. package/src/memory/rescan.ts +1 -1
  45. package/src/memory/retrieval.ts +74 -6
  46. package/src/memory/shared-index.ts +1 -1
  47. package/src/memory/slug.ts +1 -1
  48. package/src/memory/storage.ts +1 -1
  49. package/src/persona/loader.ts +1 -1
  50. package/src/server/ask-wait-graph.ts +2 -2
  51. package/src/server/builder-prompt.ts +1 -1
  52. package/src/server/builder-session.ts +1 -1
  53. package/src/server/claude-credential-sync.ts +1 -1
  54. package/src/server/env-file.ts +3 -3
  55. package/src/server/heal-session.ts +1 -1
  56. package/src/server/index.ts +8 -8
  57. package/src/server/logger.ts +1 -1
  58. package/src/server/logs.ts +1 -1
  59. package/src/server/run-turn-types.ts +1 -1
  60. package/src/server/run-turn.ts +3 -3
  61. package/src/server/sanitize-assistant-text.ts +2 -2
  62. package/src/server/session-queue.ts +1 -1
  63. package/src/server/start-turn.ts +1 -1
  64. package/src/server/work-ledger.ts +16 -16
  65. package/src/skills/bin-checks.ts +1 -1
  66. package/src/skills/env-scope.ts +2 -2
  67. package/src/skills/gating.ts +1 -1
  68. package/src/skills/lint.ts +1 -1
  69. package/src/skills/path-helpers.ts +2 -2
  70. package/src/ssh/exec.ts +1 -1
  71. package/src/testing/isolated-home.mts +1 -1
  72. package/src/tmux/attention.ts +1 -1
  73. package/src/tools/agents/ask.ts +3 -3
  74. package/src/tools/agents/images.ts +1 -1
  75. package/src/tools/agents/session-model.ts +2 -2
  76. package/src/tools/browser/tools.ts +1 -1
  77. package/src/tools/exec/allowlist.ts +2 -2
  78. package/src/tools/exec/blacklist.ts +5 -5
  79. package/src/tools/exec/internal-env.ts +1 -1
  80. package/src/tools/exec/local.ts +1 -1
  81. package/src/tools/exec/remote.ts +1 -1
  82. package/src/tools/file/analyze.ts +1 -1
  83. package/src/tools/file/local.ts +1 -1
  84. package/src/tools/file/persona-guard.ts +1 -1
  85. package/src/tools/file/remote.ts +1 -1
  86. package/src/tools/image/tools.ts +1 -1
  87. package/src/tools/memory/tools.ts +4 -1
  88. package/src/tools/sentinel/tools.ts +1 -1
  89. package/src/tools/skill/tools.ts +2 -2
  90. package/src/tools/tmux/tools.ts +1 -1
  91. package/src/types/events.ts +1 -1
  92. package/src/voice/realtime/call.ts +15 -15
  93. package/src/voice/realtime/consult.ts +5 -5
  94. package/src/voice/realtime/manager.ts +2 -2
  95. package/src/voice/realtime/openai-provider.ts +4 -4
  96. package/src/voice/realtime/persona.ts +6 -6
  97. package/src/voice/realtime/session-match.ts +4 -4
  98. package/src/wiki/explorer.ts +3 -3
  99. package/src/wiki/language.ts +4 -4
  100. package/src/wiki/log-builder.ts +1 -1
  101. package/src/wiki/map.ts +6 -6
  102. package/src/wiki/migration/analyze.ts +4 -4
  103. package/src/wiki/migration/refine.ts +1 -1
  104. package/src/wiki/taxonomy.ts +1 -1
  105. package/web/dist/assets/index-BaVv6pB2.js.map +1 -1
  106. package/web-mobile/dist/assets/index-X_vRr6cd.js.map +1 -1
@@ -368,7 +368,7 @@ providers:
368
368
  # idleStopMinutes: 30 # stop an unused browser; logins stay
369
369
  # viewport: { width: 1280, height: 800 }
370
370
  # allowPrivate: [] # LAN hosts/CIDRs agents may open,
371
- # # e.g. ["192.168.1.0/24", "nas.local"]
371
+ # # e.g. ["192.0.2.0/24", "nas.local"]
372
372
  # deny: [] # hostnames never opened, e.g. ["*.bank.at"]
373
373
  # profiles: {} # shared profiles: { firma: { agents: [a, b] } }
374
374
 
@@ -430,7 +430,7 @@ providers:
430
430
  # the agent knows which paths matter for this conversation.
431
431
  #
432
432
  # `entities` is a CONTROLLED VOCABULARY — projects belong to one
433
- # entity (e.g. "privat", "enovom"), and the agent picks FROM this list
433
+ # entity (e.g. "privat", "acme"), and the agent picks FROM this list
434
434
  # at create time. Prevents STT mishearings from inventing phantom
435
435
  # entities ("enofhom" silently becoming a new category). Only edited
436
436
  # here — agents cannot extend it via tools.
@@ -439,8 +439,8 @@ providers:
439
439
  # entities:
440
440
  # - slug: privat
441
441
  # label: Privat
442
- # - slug: enovom
443
- # label: enovom GmbH
442
+ # - slug: acme
443
+ # label: acme GmbH
444
444
  # - slug: firma2
445
445
  # label: Firma Zwei
446
446
 
@@ -718,6 +718,10 @@ providers:
718
718
  # vectorWeight: 0.7 # weight of vector similarity in fused score
719
719
  # bm25Weight: 0.3 # weight of BM25/FTS5 in fused score
720
720
  # slugMatchBoost: 1.5 # page whose slug names a query word (1 = off); all searches
721
+ # slugFullNameBoost: 1.5 # extra when the query names the page in full (1 = off)
722
+ # logDemotion: 0.5 # wiki/logs/* rank behind the pages they point at (1 = off);
723
+ # # lifted for questions about a month / what changed / when
724
+ # pageSupport: 0.3 # a page matching in several sections gains support (0 = off)
721
725
 
722
726
  # Obsidian vault + wiki layer (docs/wiki.md, docs/dream-phases.md).
723
727
  # The vault is read as a recall source for every agent; the wiki is a
package/docs/api.md CHANGED
@@ -2061,8 +2061,8 @@ search, block budget) without running a turn. Body:
2061
2061
  {
2062
2062
  "text": "und wer gehört sonst noch zur familie?",
2063
2063
  "history": [
2064
- { "kind": "user_message", "text": "was kannst du mir über walter erzählen?" },
2065
- { "kind": "assistant_message", "text": "Walter ist …" }
2064
+ { "kind": "user_message", "text": "was kannst du mir über karl erzählen?" },
2065
+ { "kind": "assistant_message", "text": "Karl ist …" }
2066
2066
  ],
2067
2067
  "autoInject": { "historyWeight": 0.4 }
2068
2068
  }
@@ -2403,7 +2403,7 @@ The controlled entity vocabulary from `config.projects.entities`.
2403
2403
  {
2404
2404
  "entities": [
2405
2405
  { "slug": "privat", "label": "Privat" },
2406
- { "slug": "enovom", "label": "enovom GmbH" }
2406
+ { "slug": "acme", "label": "acme GmbH" }
2407
2407
  ]
2408
2408
  }
2409
2409
  ```
package/docs/builder.md CHANGED
@@ -23,7 +23,7 @@ a builder never becomes a chat agent: the files differ (a builder has no
23
23
  ```
24
24
 
25
25
  ```yaml
26
- # ~/.somora/agents/rudi/agent.yaml
26
+ # ~/.somora/agents/dan/agent.yaml
27
27
  kind: builder
28
28
  model: deepseek # any configured alias; local models work well here
29
29
  workspace:
@@ -40,7 +40,7 @@ steering: true # a message typed while it works goes INTO the turn
40
40
 
41
41
  ```markdown
42
42
  ---
43
- name: rudi
43
+ name: dan
44
44
  description: Builds and changes software in the repository it is pointed at.
45
45
  role: builder
46
46
  icon: 🔨
@@ -551,7 +551,7 @@ as one line each, not the whole `index.md`. Then a final
551
551
  cross-folder pass looks across folders — but it sees only the opening
552
552
  line of each page. That is enough for a dead link or a missing page
553
553
  that spans folders; a contradiction between the body of
554
- `personen/jane-doe` and the body of `projekte/familie-luca-podcast` is
554
+ `personen/jane-doe` and the body of `projekte/familie-leo-podcast` is
555
555
  out of its sight.
556
556
 
557
557
  The size limit is not only for scale — claude-cli's stdin-stream
package/docs/mcp.md CHANGED
@@ -326,7 +326,7 @@ when something differs); the bridge registers a changed tool anew
326
326
 
327
327
  somora's own tools, when they run through the MCP child (claude-cli,
328
328
  codex-cli), refuse a call with a parameter the tool does not know —
329
- `exec({resource: "cerebro"})` instead of `target` fails with an input
329
+ `exec({resource: "gpu-box"})` instead of `target` fails with an input
330
330
  validation error naming `resource`, instead of silently dropping it and
331
331
  running on the local host. Bridged tools of other MCP servers keep
332
332
  taking whatever the model sends; validation is that server's job.
package/docs/memory.md CHANGED
@@ -193,6 +193,9 @@ memory:
193
193
  vectorWeight: 0.7
194
194
  bm25Weight: 0.3
195
195
  slugMatchBoost: 1.5 # page whose slug names a query word (1 = off)
196
+ slugFullNameBoost: 1.5 # … and extra when the query names the page in full (1 = off)
197
+ logDemotion: 0.5 # the wiki's monthly change logs rank behind the pages (1 = off)
198
+ pageSupport: 0.3 # a page matching in several sections gains support (0 = off)
196
199
  ```
197
200
 
198
201
  **How the query is built.** The current message is the query. The
@@ -215,20 +218,69 @@ a short question. Refinements, measured on replayed real sessions:
215
218
  question names outright is never pushed down by the history; a
216
219
  follow-up without a topic word still finds its page through the
217
220
  history.
218
- - For a one- or two-word question ("wer ist walter?") the exact word
221
+ - For a one- or two-word question ("wer ist karl?") the exact word
219
222
  match is the question, so BM25 gets `shortQueryBm25Weight` of the
220
223
  fusion instead of the hybrid default.
221
224
  - `hybrid.slugMatchBoost` (all searches, not only auto-inject): a chunk
222
225
  whose slug contains a content word of the query is multiplied. The
223
- page ABOUT a person or thing rarely repeats its own name — the Walter
224
- page says "Walter" once, the family page four times — so BM25 alone
226
+ page ABOUT a person or thing rarely repeats its own name — the Karl
227
+ page says "Karl" once, the family page four times — so BM25 alone
225
228
  ranks the mentions above the page; the name in the slug marks the
226
229
  canonical page.
227
230
 
231
+ ### Which page wins — the three rules after the fusion
232
+
233
+ Measured on 26 real questions against a 400-page wiki (2026-10-01; the
234
+ report that started it: an agent asked "how did we set up acme.com on
235
+ dmz-host?", the project page came 7th behind the change log and
236
+ four neighbouring pages, and the agent answered that it knew nothing).
237
+ With all three rules the page is 2nd, the other 25 questions are as
238
+ good or better, and the questions that ARE about the log still find it.
239
+
240
+ - **`logDemotion` (default 0.5)** — Deep writes a monthly change log
241
+ (`logs/2026-09`): one dense line per page it created or changed, every
242
+ keyword of the topic. For "how did we set up X" that line is a pointer;
243
+ the page about X is the answer. Hits in `logs/` are multiplied by this
244
+ factor — *unless the question is about the chronicle*: a month name
245
+ (`september`, `march`), a year or `2026-09`, or a word like *changed*,
246
+ *when*, *promoted*, *created*, *log* in the question switches the
247
+ demotion off, so "what changed in September?" and "when was the page
248
+ created?" keep the log on top. Set `1` to rank logs like any page; a
249
+ lower value (`0.3`) if your logs keep winning on questions about the
250
+ thing itself — check with `memory_search` before and after.
251
+ - **`pageSupport` (default 0.3)** — hits are chunks, not pages. A project
252
+ page answers "how did we set it up" across several sections (DNS,
253
+ deployment, timeline), each matching only part of the question, while
254
+ a page with one dense paragraph scores higher on that paragraph. The
255
+ page's best chunk gains this share of the scores of its next two
256
+ chunks, counting only chunks that reach half of the best one — so a
257
+ page that mentions every word somewhere does not outgrow a single
258
+ exact note. Raise it (`0.5`) when long pages keep losing to short
259
+ mentions; lower it (`0.1`) or `0` when short memory notes lose to long
260
+ wiki pages. Measured: `0.3` lifted the project page from unranked to
261
+ 2nd and cost one memory note one rank; `0.5` cost three.
262
+ - **`slugFullNameBoost` (default 1.5)** — `slugMatchBoost` fires for any
263
+ page whose name shares a word with the question, so "acme website
264
+ dmz-host setup" boosts `projekte/acme-website` and
265
+ `infrastruktur/hosts/dmz-host-vm` alike. When the question
266
+ contains *every* word of a page's name (two words or more), that page
267
+ is multiplied again — the question means that page. A tried
268
+ alternative, scaling the boost by the share of name words matched,
269
+ made longer names lose to shorter ones (`elevenlabs-agents-preise`
270
+ behind `elevenlabs-agents` for "wie teuer sind elevenlabs agents") and
271
+ was dropped.
272
+
273
+ None of the three changes what is indexed; they only reorder hits, so a
274
+ new value takes effect at the next search (config reload or restart).
275
+ When you tune them, keep a handful of your own questions with the page
276
+ you expect and compare ranks before and after — the ranking is
277
+ sensitive to wording, and a value that fixes one question can cost
278
+ another.
279
+
228
280
  The BM25 side sees the message only, with filler words removed
229
281
  (`FTS_STOPWORDS` in `src/memory/retrieval.ts`, German and English) —
230
282
  otherwise every page that says "was", "du" and "so" a lot outranked
231
- the one page that says "walter". `POST /agents/<name>/memory/recall-preview`
283
+ the one page that says "karl". `POST /agents/<name>/memory/recall-preview`
232
284
  runs exactly this path for a message plus a supplied history, which is
233
285
  how recall tuning is measured ([api.md](api.md#post-agentsagentmemoryrecall-preview)).
234
286
 
package/docs/projects.md CHANGED
@@ -68,8 +68,8 @@ projects:
68
68
  entities:
69
69
  - slug: privat
70
70
  label: Privat
71
- - slug: enovom
72
- label: enovom GmbH
71
+ - slug: acme
72
+ label: acme GmbH
73
73
  # add as many as you need — these are YOURS to curate
74
74
  ```
75
75
 
@@ -80,7 +80,7 @@ systemctl --user restart somora
80
80
  ```
81
81
 
82
82
  `entities` is a **controlled vocabulary** — projects belong to one
83
- entity (e.g. "Privat" or "enovom"), and the agent must pick from this
83
+ entity (e.g. "Privat" or "acme"), and the agent must pick from this
84
84
  list at create time. See [Entities](#entities--the-controlled-vocabulary)
85
85
  below for why this matters.
86
86
 
@@ -98,7 +98,7 @@ changes.
98
98
  └── projects/
99
99
  ├── heimkino.md
100
100
  ├── steuern-2025.md
101
- ├── enovom-website.md
101
+ ├── acme-website.md
102
102
  └── ...
103
103
  ```
104
104
 
@@ -147,13 +147,13 @@ must match one of the entries you configured in
147
147
  tools — only you can, by editing `config.yaml`.
148
148
 
149
149
  This is the **voice-input safety net**: when you say something like
150
- "create a new project Heimkino as an enovom project" and the
150
+ "create a new project Heimkino as an acme project" and the
151
151
  transcription comes back fuzzy ("enofhom" because the mic didn't
152
152
  hear clearly), the agent calls `entity_list` first, sees the actual
153
- options (`privat`, `enovom`, `firma2`, …), and picks the closest
153
+ options (`privat`, `acme`, `firma2`, …), and picks the closest
154
154
  match instead of inventing a new phantom category. If it does call
155
155
  `project_create` with the misspelled slug anyway, the tool rejects
156
- with `unknown entity 'enofhom' — available: privat, enovom, firma2`
156
+ with `unknown entity 'enofhom' — available: privat, acme, firma2`
157
157
  so the agent retries.
158
158
 
159
159
  Entities also give you a free filter axis. `project_list({entity:
package/docs/setup.md CHANGED
@@ -789,7 +789,7 @@ memory:
789
789
  # docs/projects.md for the full model.
790
790
  #
791
791
  # `entities` is a CURATED VOCABULARY — projects belong to one entity
792
- # (e.g. "privat", "enovom"), and the agent must pick from this list
792
+ # (e.g. "privat", "acme"), and the agent must pick from this list
793
793
  # at create time. Prevents STT mishearings from inventing phantom
794
794
  # entities and gives you a free filter axis ("list all private
795
795
  # projects"). Agents cannot extend this list via tools.
@@ -798,8 +798,8 @@ memory:
798
798
  # entities:
799
799
  # - slug: privat
800
800
  # label: Privat
801
- # - slug: enovom
802
- # label: enovom GmbH
801
+ # - slug: acme
802
+ # label: acme GmbH
803
803
  # # add as many as you need — these are YOURS to curate
804
804
  ```
805
805
 
@@ -1205,8 +1205,8 @@ Other useful scripts:
1205
1205
  | Command | What |
1206
1206
  |---|---|
1207
1207
  | `npm run typecheck` | server-side `tsc --noEmit` |
1208
- | `npm test` | every `*.test.mts`, each against a throwaway `SOMORA_HOME` |
1209
- | `npm test src/browser` | one subtree, same isolation |
1208
+ | `npm test` | every `*.test.mts` under `src/`, `web/src` and `web-mobile/src`, each against a throwaway `SOMORA_HOME`; the web clients run from their own folders so their JSX compiles with their own tsconfig |
1209
+ | `npm test src/browser` | one subtree, same isolation (`npm test web/src/lib` for the web client) |
1210
1210
  | `npm run verify:fast` | typecheck plus the suite |
1211
1211
  | `cd web && npm run dev` | Vite dev server for the web client (proxies API to `:18737`) |
1212
1212
  | `cd web && npm run build` | rebuild `web/dist/` (the bundle the production server serves at `/web/`) |
package/docs/team.md CHANGED
@@ -141,7 +141,7 @@ turns carry the same block as the agent's normal sessions.
141
141
 
142
142
  Every framework we looked at routes on one short description per
143
143
  colleague, and so does every model: write **triggers**, not résumés —
144
- `library docs and framework comparisons`, not `Lisa is an experienced
144
+ `library docs and framework comparisons`, not `Bea is an experienced
145
145
  researcher with a journalist's mindset`. Character and voice belong in
146
146
  that agent's own persona. Keep the block short: every agent loads it in
147
147
  every turn, and `somora team check` (and the web preview) warn above
package/docs/tools.md CHANGED
@@ -11,7 +11,7 @@ path it's on.
11
11
 
12
12
  | Toolset | Tools | Purpose |
13
13
  |---|---|---|
14
- | `memory` | `memory_search`, `memory_get`, `memory_list`, `memory_write`, `memory_edit`, `memory_delete` | Read/write across the three layers — agent memory inbox, shared wiki, read-only vault. Hybrid retrieval (vector + BM25) with per-source boost; filler words are dropped from the keyword side and a page whose slug names a query word is lifted, so `memory_search "walter"` finds the page about Walter, not the pages that mention him most (see `memory.md`). |
14
+ | `memory` | `memory_search`, `memory_get`, `memory_list`, `memory_write`, `memory_edit`, `memory_delete` | Read/write across the three layers — agent memory inbox, shared wiki, read-only vault. Hybrid retrieval (vector + BM25) with per-source boost; filler words are dropped from the keyword side and a page whose slug names a query word is lifted, so `memory_search "karl"` finds the page about Karl, not the pages that mention him most (see `memory.md`). |
15
15
  | `dream` | `dream_list`, `dream_get`, `dream_apply`, `dream_dismiss`, `dream_run`, `dream_review` | Inspect findings from REM (per-agent) and Lucid (platform-wide); trigger Deep/Lucid via `dream_run({phase: 'deep'\|'lucid'})`. `dream_review({dream_id, action:'start'\|'end'})` opens/closes a conversational wiki-edit loop for a Lucid run. See `dream-phases.md`. |
16
16
  | `wiki` | `wiki_edit`, `wiki_create`, `wiki_delete`, `wiki_move` | Loop-scoped wiki write tools. Only exposed to the agent currently holding the active `dream_review` loop; otherwise hidden. `wiki_edit` mutates body and/or `related:`/`sources:` frontmatter; `wiki_move` moves or renames a page into a folder the wiki map lists and rewrites every `[[link]]` to it. A per-turn cap on wiki_* calls (`wiki.lucid.maxCallsPerTurn`, default 3) keeps the model from batch-editing without user check-in. See `dream-phases.md`. |
17
17
  | `time` | `time_now` | Current date/time/timezone — model never hallucinates "today". |
package/docs/wiki.md CHANGED
@@ -43,7 +43,7 @@ it reads `people/`, `projects/`, `knowledge/`, `places/`.
43
43
  Three reasons memory and wiki need to be separate:
44
44
 
45
45
  **Multi-agent.** Each agent has its own conversation history and its
46
- own atomic observations. But a fact like "Lisa is the user's spouse"
46
+ own atomic observations. But a fact like "Bea is the user's spouse"
47
47
  is not agent-private — it's something every agent should know. The
48
48
  wiki is where shared facts live.
49
49
 
@@ -120,13 +120,13 @@ two dogs. This page bundles the key people …
120
120
 
121
121
  ## Eigenschaften
122
122
 
123
- - **Spouse:** Dr. Lisa Klein (* 03.02.1984)
123
+ - **Spouse:** Dr. Bea Klein (* 03.02.1984)
124
124
  - **Sister:** Eva Klein (* 08.12.1973)
125
125
  - …
126
126
 
127
127
  ## Zeitleiste
128
128
 
129
- - 1941-04-30 — Hans Klein born
129
+ - 1941-04-30 — Ada Klein born
130
130
  - 1973-12-08 — Eva Klein born
131
131
  - …
132
132
 
@@ -165,7 +165,7 @@ shape.
165
165
  ### Wikilinks
166
166
 
167
167
  Use Obsidian's `[[wiki-path]]` syntax for cross-references between
168
- pages. Example: `Lisa ist die [[personen/familie-klein|Ehefrau]]`.
168
+ pages. Example: `Bea ist die [[personen/familie-klein|Ehefrau]]`.
169
169
 
170
170
  Wikilinks are indexed as plain text (the brackets are tokenized away),
171
171
  so a search for `garten` finds pages mentioning `[[orte/garten]]`. They
@@ -271,7 +271,7 @@ twin. Names that already exist in several folders are noted in the
271
271
  structure file for the migration.
272
272
 
273
273
  A page whose name extends an entity page's name — a note filed as
274
- `enovom-kapitalruecklage` while `unternehmen/enovom` exists — is
274
+ `acme-kapitalruecklage` while `unternehmen/acme` exists — is
275
275
  usually a detail of that entity: Deep is asked again with the entity
276
276
  page in full and merges the note into it, unless it insists the page
277
277
  is a thing of its own.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "somora",
3
- "version": "2026.930.4",
3
+ "version": "2026.1001.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "somora",
9
- "version": "2026.930.4",
9
+ "version": "2026.1001.2",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/claude-agent-sdk": "^0.3.152",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "somora",
3
- "version": "2026.930.4",
3
+ "version": "2026.1001.2",
4
4
  "description": "A self-hosted multi-agent harness: your agents, your models, one server — with memory, a shared wiki, a web desktop, a phone app and a terminal client.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  // are refused by `act`.
15
15
  // view = one agent's window on a process (`<browser id>@<agent>`).
16
16
  // A shared profile has ONE process but one view per agent,
17
- // so hans and lisa each get their own window, tabs, control
17
+ // so ada and bea each get their own window, tabs, control
18
18
  // state and handoff (private/browser-design.md §10).
19
19
  // control = per view: agent_control | handoff_requested |
20
20
  // human_control | paused. While a human controls a view,
@@ -697,8 +697,8 @@ export class BrowserService {
697
697
  private tabOf(b: BrowserRec, tabId: string, agent?: string): TabRec {
698
698
  const t = b.tabs.get(tabId);
699
699
  if (!t || t.page.isClosed()) throw new BrowserOpError('BROWSER_TAB_NOT_FOUND', `tab '${tabId}' not found in browser '${b.id}' — op:"tabs" lists the open ones`);
700
- // Tabs belong to one window. In a shared profile that keeps hans out
701
- // of lisa's tabs even though both drive the same Chromium.
700
+ // Tabs belong to one window. In a shared profile that keeps ada out
701
+ // of bea's tabs even though both drive the same Chromium.
702
702
  if (agent && t.agent !== agent) {
703
703
  throw new BrowserOpError('BROWSER_TAB_NOT_FOUND', `tab '${tabId}' belongs to another agent's window on browser '${b.id}' — op:"tabs" lists yours`);
704
704
  }
@@ -1038,8 +1038,8 @@ export class BrowserService {
1038
1038
 
1039
1039
  /**
1040
1040
  * Close this agent's window. The Chromium process only ends when no
1041
- * other agent still has one on it — in a shared profile hans must not
1042
- * pull the browser out from under lisa.
1041
+ * other agent still has one on it — in a shared profile ada must not
1042
+ * pull the browser out from under bea.
1043
1043
  */
1044
1044
  async stop(agent: string): Promise<{ stopped: string | null }> {
1045
1045
  const bs = this.browsersFor(agent).filter((b) => b.views.has(agent));
@@ -1070,8 +1070,8 @@ export class BrowserService {
1070
1070
  // ── UI / control (stage 3 surfaces; HTTP-testable now) ────────────
1071
1071
 
1072
1072
  /**
1073
- * One entry per open window, not per process: in a shared profile hans
1074
- * and lisa are two rows with their own tabs and control state. Stopped
1073
+ * One entry per open window, not per process: in a shared profile ada
1074
+ * and bea are two rows with their own tabs and control state. Stopped
1075
1075
  * browsers are left out the way the tmux list leaves dead sessions out
1076
1076
  * — except one still holding an unanswered handoff, which is the only
1077
1077
  * trail back to that request (private/browser-design.md §10.4).
@@ -1172,7 +1172,7 @@ export class BrowserService {
1172
1172
  this.touch(b);
1173
1173
  // Whom to wake: the requesting agent+session when a handoff was
1174
1174
  // pending; otherwise — only if the human actually did something —
1175
- // the session of the last tab used IN THIS WINDOW (Rene 2026-09-10).
1175
+ // the session of the last tab used IN THIS WINDOW (the operator 2026-09-10).
1176
1176
  let wake: { agent: string; session: string; text: string; prefix: string; viewId: string; cause: 'handoff' | 'activity'; handoffId?: string } | null = null;
1177
1177
  if (handoff) {
1178
1178
  wake = {
@@ -83,7 +83,7 @@ export function isClawHubUrl(url: string): boolean {
83
83
  * is taken by multiple owners (409 AMBIGUOUS_SKILL_SLUG otherwise) —
84
84
  * dropping it from the URL made `somora skill install
85
85
  * https://clawhub.ai/steipete/skills/gog` fail on any contested slug
86
- * (Lucy case study 2026-07-24). Returns null on unrecognized shapes. */
86
+ * (Partner case study 2026-07-24). Returns null on unrecognized shapes. */
87
87
  export function parseClawHubUrl(url: string): { slug: string; owner?: string } | null {
88
88
  let u: URL;
89
89
  try {
package/src/cli/skill.ts CHANGED
@@ -152,7 +152,7 @@ async function cmdCheck(args: string[]): Promise<number> {
152
152
  if (!skill) {
153
153
  // Distinguish "no file on disk" from "file exists but loader rejected".
154
154
  // The bare 'not found' message used to hide parse/schema errors that the
155
- // loader logs as warnings and silently skips (see hans bug 2026-05-11).
155
+ // loader logs as warnings and silently skips (see ada bug 2026-05-11).
156
156
  const skillDir = join(USER_SKILLS_DIR, slug);
157
157
  const skillMdPath = join(skillDir, 'SKILL.md');
158
158
  if (await pathExists(skillMdPath)) {
@@ -119,14 +119,14 @@ function UserTurn({
119
119
  // local human just typed. Same line height, similar weight — keeps
120
120
  // scrollback rhythm intact.
121
121
  if (fromAgent) {
122
- // Sender from a non-main session shows as `↬ naxon/cerebrocraft`
122
+ // Sender from a non-main session shows as `↬ nova/craftbox`
123
123
  // so mis-routed project traffic is visible in scrollback; main
124
- // stays the plain `↬ naxon` it always was.
124
+ // stays the plain `↬ nova` it always was.
125
125
  const slug = fromSession ? sessionSlugOf(fromSession) : undefined;
126
126
  const tag = `↬ ${fromAgent}${slug && slug !== 'main' ? `/${slug}` : ''}`.padEnd(6, ' ');
127
127
  // The tag must not give way to a long message: Ink lays the row out
128
- // as a flex line and shrank "↬ lisa" to "↬ lis" beside a follow-up
129
- // (Rene, 2026-09-13). The name keeps its width; the text wraps.
128
+ // as a flex line and shrank "↬ bea" to "↬ lis" beside a follow-up
129
+ // (the operator, 2026-09-13). The name keeps its width; the text wraps.
130
130
  return (
131
131
  <Box marginTop={1}>
132
132
  <Box flexShrink={0} marginRight={1}>
@@ -97,8 +97,12 @@ providers:
97
97
  # minScore: 0.5 # Treffer unter diesem Score verwerfen (0..1)
98
98
  # maxTokens: 1500 # Hard-Cap auf den injecten Memory-Block
99
99
  # hybrid:
100
- # vectorWeight: 0.7 # Gewichtung Vector-Score in Hybrid-Fusion
101
- # bm25Weight: 0.3 # Gewichtung BM25/FTS5-Score
100
+ # vectorWeight: 0.7 # weight of vector similarity in the fused score
101
+ # bm25Weight: 0.3 # weight of BM25 (keyword) score
102
+ # slugMatchBoost: 1.5 # page whose name contains a query word (1 = off)
103
+ # slugFullNameBoost: 1.5 # extra when the query names the page in full (1 = off)
104
+ # logDemotion: 0.5 # wiki change logs rank behind the pages (1 = off)
105
+ # pageSupport: 0.3 # a page matching in several sections gains support (0 = off)
102
106
 
103
107
  # Workspace — Default-CWD für die file_*-Tools. Kein Sandkasten:
104
108
  # Agents dürfen auch außerhalb schreiben (eigene Persona-Files,
@@ -262,7 +266,7 @@ export function applyCodexCliEnv(config: Config): void {
262
266
  // SOMORA_CODEX_SHELL_ENV_POLICY → `-c shell_environment_policy.inherit=…`.
263
267
  // Default 'inherit-all' makes codex's exec-shells see the full somora
264
268
  // server env (GOG_KEYRING_PASSWORD etc.) — fixes the 2026-05-10
265
- // lisa/gog regression where codex's default core-only env stripping
269
+ // bea/gog regression where codex's default core-only env stripping
266
270
  // hid skill-required vars from the agent's shell.
267
271
  if (
268
272
  process.env.SOMORA_CODEX_SHELL_ENV_POLICY === undefined ||
@@ -242,7 +242,7 @@ export const CompactionConfigSchema = z
242
242
  workers: z.array(z.string().min(1)).optional(),
243
243
  /**
244
244
  * Try the session's own model first — the one that is loaded and
245
- * answering right now — before `workers` (naxon, 2026-09-26: a
245
+ * answering right now — before `workers` (nova, 2026-09-26: a
246
246
  * session on a model outside the list waited for workers that were
247
247
  * not loaded and ended on a weaker one). Only when its engine can
248
248
  * summarize and its window fits; `workers` stay the cascade behind
@@ -287,7 +287,7 @@ export const MemoryAutoInjectConfigSchema = z.object({
287
287
  * question decides, the conversation nudges. Before 2026-09-08 the
288
288
  * turns were concatenated as one text, and a 46-character question
289
289
  * after two long answers about something else recalled that
290
- * something else (Walter → CerebroCraft). 0 = current message only.
290
+ * something else (Karl → Craftbox). 0 = current message only.
291
291
  */
292
292
  historyWeight: z.number().min(0).max(1).default(0.3),
293
293
  /** History weight when the message has only one or two content words
@@ -302,7 +302,7 @@ export const MemoryAutoInjectConfigSchema = z.object({
302
302
  historyTurnChars: z.number().int().positive().default(800),
303
303
  /**
304
304
  * BM25 share of the fusion for a message with only one or two content
305
- * words ("wer ist walter?"): the exact word match IS the question, and
305
+ * words ("wer ist karl?"): the exact word match IS the question, and
306
306
  * the default 0.3 lets a topic-drifted vector outvote it. Vector share
307
307
  * is the remainder. `null` = use `memory.hybrid` as for every query.
308
308
  */
@@ -314,13 +314,38 @@ export const MemoryHybridConfigSchema = z.object({
314
314
  bm25Weight: z.number().min(0).max(1).default(0.3),
315
315
  /**
316
316
  * Multiplier on the fused score of a chunk whose slug contains a
317
- * content word of the query — `personen/walter-siegl` for "wer ist
318
- * walter?". The page ABOUT something rarely repeats its name in the
317
+ * content word of the query — `personen/karl-muster` for "wer ist
318
+ * karl?". The page ABOUT something rarely repeats its name in the
319
319
  * body, so BM25 ranks the pages that mention it above it; the slug
320
320
  * says which page is the canonical one. 1 = off.
321
321
  */
322
322
  slugMatchBoost: z.number().min(1).max(3).default(1.5),
323
- }).default({ vectorWeight: 0.7, bm25Weight: 0.3, slugMatchBoost: 1.5 });
323
+ /**
324
+ * Multiplier on hits in the wiki's monthly change logs (`logs/`).
325
+ * Deep writes there which pages it created or changed — one dense
326
+ * line per page, every keyword of the topic, but the line only says
327
+ * WHEN. For "how did we set up X" the page about X is the answer and
328
+ * the log entry a pointer; without the demotion the log won on
329
+ * keyword density (2026-09-30 report). 1 = treat logs like any page.
330
+ */
331
+ logDemotion: z.number().min(0).max(1).default(0.5),
332
+ /**
333
+ * Share of a page's other candidate chunks that its best chunk gains.
334
+ * A page that matches in several sections (a project page: DNS,
335
+ * deployment, timeline) beats a single dense chunk elsewhere.
336
+ * 0 = each chunk stands alone.
337
+ */
338
+ pageSupport: z.number().min(0).max(1).default(0.3),
339
+ /**
340
+ * Extra multiplier (on top of slugMatchBoost) when the query contains
341
+ * EVERY word of the page's own name — "acme website …" names
342
+ * `projekte/acme-website` in full, while the host page
343
+ * `dmz-host-vm` only shares two of its three words. Names
344
+ * with one word get no extra: the plain boost already covers them.
345
+ * 1 = off.
346
+ */
347
+ slugFullNameBoost: z.number().min(1).max(3).default(1.5),
348
+ }).default({ vectorWeight: 0.7, bm25Weight: 0.3, slugMatchBoost: 1.5, logDemotion: 0.5, pageSupport: 0.3, slugFullNameBoost: 1.5 });
324
349
 
325
350
  export const MemoryConfigSchema = z.object({
326
351
  embedding: MemoryEmbeddingConfigSchema,
@@ -340,7 +365,7 @@ export const MemoryConfigSchema = z.object({
340
365
  embedding: { provider: 'local', model: 'all-MiniLM-L6-v2' },
341
366
  chunking: { targetTokens: 400, overlapTokens: 80 },
342
367
  autoInject: { queryTurns: 3, maxResults: 5, minScore: 0.35, maxTokens: 1500, historyWeight: 0.3, historyWeightShort: 0.55, historyWeightEmpty: 0.8, historyTurnChars: 800, shortQueryBm25Weight: 0.5 },
343
- hybrid: { vectorWeight: 0.7, bm25Weight: 0.3, slugMatchBoost: 1.5 },
368
+ hybrid: { vectorWeight: 0.7, bm25Weight: 0.3, slugMatchBoost: 1.5, logDemotion: 0.5, pageSupport: 0.3, slugFullNameBoost: 1.5 },
344
369
  rescanMinutes: 10,
345
370
  });
346
371
  export type MemoryConfig = z.infer<typeof MemoryConfigSchema>;
@@ -349,7 +374,7 @@ export type MemoryConfig = z.infer<typeof MemoryConfigSchema>;
349
374
  // model, idle trigger, chunking) stay in agent.yaml `rem:` — this block
350
375
  // is for behavior that should not vary per agent.
351
376
  //
352
- // dedup (2026-07-21, buffet's workspace-dedup report): mechanical
377
+ // dedup (2026-07-21, finn's workspace-dedup report): mechanical
353
378
  // post-extraction filter against already-persisted knowledge. The
354
379
  // extractor prompt ALSO asks the worker model to dedupe, but small
355
380
  // worker models (gemma-class) demonstrably ignore that — 26/27 findings
@@ -622,7 +647,7 @@ export const AgentLoopConfigSchema = z.object({
622
647
  * legitimate parallel-build / parallel-test patterns aren't blocked.
623
648
  * Counts both local AND remote background jobs against the same
624
649
  * cap (the host's resources are what we're protecting; whether the
625
- * load lands on the somora server or on spiderman doesn't change
650
+ * load lands on the somora server or on media-box doesn't change
626
651
  * the basic "don't go nuts" intent).
627
652
  */
628
653
  execMaxConcurrentPerAgent: z.number().int().positive().default(8),
@@ -726,7 +751,7 @@ export const CodexCliConfigSchema = z
726
751
  * `core-only` — codex's own restrictive default, which keeps only
727
752
  * PATH/HOME/USER/LANG/etc. Skills with declared env_vars then
728
753
  * silently see them as missing inside the shell — exactly the
729
- * 2026-05-10 lisa/GOG_KEYRING_PASSWORD bug. Use only if you have
754
+ * 2026-05-10 bea/GOG_KEYRING_PASSWORD bug. Use only if you have
730
755
  * a hardening reason and have audited every skill.
731
756
  *
732
757
  * Maps to codex's `-c shell_environment_policy.inherit=all|core`
@@ -1145,7 +1170,7 @@ export const RealtimeVoiceConfigSchema = z
1145
1170
  /**
1146
1171
  * How easily the model lets itself be interrupted.
1147
1172
  *
1148
- * Talking over it was hard in practice (Rene, 2026-09-12): the
1173
+ * Talking over it was hard in practice (the operator, 2026-09-12): the
1149
1174
  * provider decides an interruption has happened from its own voice
1150
1175
  * activity detection, and its defaults are tuned for a caller who
1151
1176
  * waits politely. Lower `threshold` reacts to quieter speech,
@@ -1191,7 +1216,7 @@ export const TtsConfigSchema = z
1191
1216
  * in `agentVoices`. */
1192
1217
  textPrefix: z.string().optional(),
1193
1218
  /** Optional per-agent text-prefix overrides. Key = agent name (e.g.
1194
- * "naxon", "hans"); value = the prefix string to prepend to the
1219
+ * "nova", "ada"); value = the prefix string to prepend to the
1195
1220
  * synthesize input when somora is generating audio FOR that agent.
1196
1221
  * Lookup order at synth time:
1197
1222
  * 1. agentVoices[<agent>] → use it
@@ -1566,7 +1591,7 @@ export function resolveImageModel(
1566
1591
  // in the system prompt so the agent knows which paths matter.
1567
1592
  //
1568
1593
  // Entities are a CONTROLLED VOCABULARY — projects belong to one entity
1569
- // (e.g. "privat", "enovom"), and at write time the agent's chosen
1594
+ // (e.g. "privat", "acme"), and at write time the agent's chosen
1570
1595
  // entity is validated against this list. Prevents STT mishearings from
1571
1596
  // inventing new phantom entities ("enofhom" silently becomes a new
1572
1597
  // category). The list is intentionally USER-curated and edited in
@@ -1711,7 +1736,7 @@ export const WikiDeepConfigSchema = z
1711
1736
  * skip stands until the note changes. */
1712
1737
  skipCacheDays: z.number().int().min(0).max(3650).default(30),
1713
1738
  /** A page this large is not merged into any more: Deep files the
1714
- * note as a sub-page under it instead (Rene, 2026-09-29: "so große
1739
+ * note as a sub-page under it instead (the operator, 2026-09-29: "so große
1715
1740
  * Seiten sollten nie entstehen" — the migration had folded 97
1716
1741
  * reports into one 100 KB page). */
1717
1742
  maxPageChars: z.number().int().min(5_000).default(50_000),
@@ -2159,7 +2184,7 @@ export const ConfigSchema = z.object({
2159
2184
  * Model outages are remembered for every cascade (chat fallback, REM
2160
2185
  * workers, compaction workers): a model that was unreachable is not
2161
2186
  * tried again for this many minutes; a success clears the note early
2162
- * (naxon/Rene, 2026-09-27 — a swapped GPU profile keeps models away
2187
+ * (nova/The operator, 2026-09-27 — a swapped GPU profile keeps models away
2163
2188
  * for hours, and every turn paid the dead hops again).
2164
2189
  */
2165
2190
  fallback: z
@@ -89,7 +89,7 @@ export async function applyPromote(args: {
89
89
  ctx: ActionContext;
90
90
  }): Promise<CandidateOutcome> {
91
91
  const { candidate, decision, ctx } = args;
92
- const wikiPath = decision.slug; // e.g. "personen/luca"
92
+ const wikiPath = decision.slug; // e.g. "personen/leo"
93
93
  const wikiFileAbs = join(ctx.wikiAbs, `${wikiPath}.md`);
94
94
 
95
95
  // Build the new wiki page content.