counterparts 0.3.29 → 0.3.31

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 (171) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/docs/module-map.md +3 -2
  3. package/package.json +1 -1
  4. package/src/adapters/claude-code/CONTRACT.md +6 -2
  5. package/src/adapters/claude-code/NOTES.md +27 -0
  6. package/src/adapters/claude-code/bin/runner.ts +12 -6
  7. package/src/adapters/claude-code/child.ts +3 -2
  8. package/src/adapters/claude-code/doctor-self-page.ts +1 -1
  9. package/src/adapters/claude-code/doctor-upgrades.ts +86 -2
  10. package/src/adapters/claude-code/doctor.ts +40 -20
  11. package/src/adapters/claude-code/index.ts +0 -1
  12. package/src/adapters/claude-code/night-run.ts +76 -17
  13. package/src/adapters/cli/CONTRACT.md +20 -11
  14. package/src/adapters/cli/NOTES.md +12 -0
  15. package/src/adapters/cli/commands-note.ts +10 -7
  16. package/src/adapters/cli/commands-project.ts +118 -0
  17. package/src/adapters/cli/commands-remove.ts +9 -22
  18. package/src/adapters/cli/commands.ts +13 -2
  19. package/src/adapters/cli/dream-core.ts +2 -7
  20. package/src/adapters/cli/export.ts +49 -215
  21. package/src/adapters/cli/help.ts +2 -0
  22. package/src/adapters/cli/install.ts +0 -1
  23. package/src/adapters/config.ts +15 -5
  24. package/src/adapters/dashboard/NOTES.md +61 -3
  25. package/src/adapters/dashboard/registries.ts +4 -1
  26. package/src/adapters/dashboard/web/README.md +4 -5
  27. package/src/adapters/dashboard/web/actions.ts +3 -0
  28. package/src/adapters/dashboard/web/app.html +2 -0
  29. package/src/adapters/dashboard/web/flow.ts +1 -0
  30. package/src/adapters/dashboard/web/lanes.ts +3 -0
  31. package/src/adapters/dashboard/web/mechanisms/picture.js +2 -3
  32. package/src/adapters/dashboard/web/narrate.ts +22 -14
  33. package/src/adapters/dashboard/web/pages/home/sections/today.js +1 -1
  34. package/src/adapters/dashboard/web/pages/memories/row.js +4 -4
  35. package/src/adapters/dashboard/web/pages/memories/sections/search.js +1 -1
  36. package/src/adapters/dashboard/web/pages/self/index.js +1 -0
  37. package/src/adapters/dashboard/web/pages/self/sections/dreams.js +2 -2
  38. package/src/adapters/dashboard/web/pages/self/sections/journal.js +1 -1
  39. package/src/adapters/dashboard/web/pages/self/sections/map.js +3 -3
  40. package/src/adapters/dashboard/web/pages/self/sections/settling.js +3 -3
  41. package/src/adapters/dashboard/web/pages/self/sections/traits.js +2 -2
  42. package/src/adapters/dashboard/web/pages/self/sections/wake.js +1 -1
  43. package/src/adapters/dashboard/web/pages/self/self.css +3 -1
  44. package/src/adapters/dashboard/web/pages/subjects/index.js +295 -0
  45. package/src/adapters/dashboard/web/pages/subjects/subjects.css +67 -0
  46. package/src/adapters/dashboard/web/reveal.ts +24 -85
  47. package/src/adapters/dashboard/web/server.ts +17 -0
  48. package/src/adapters/dashboard/web/shared/format.js +2 -3
  49. package/src/adapters/dashboard/web/shared/memory-card-words.js +2 -2
  50. package/src/adapters/dashboard/web/shared/memory-modal.js +20 -8
  51. package/src/adapters/dashboard/web/shared/modal.css +4 -0
  52. package/src/adapters/dashboard/web/shared/widgets/rows.css +0 -1
  53. package/src/adapters/dashboard/web/shell/pages.js +2 -1
  54. package/src/adapters/dashboard/web/views/dreams.ts +2 -6
  55. package/src/adapters/dashboard/web/views/mechanism-panel.ts +4 -5
  56. package/src/adapters/dashboard/web/views/memories.ts +9 -12
  57. package/src/adapters/dashboard/web/views/memory-words.ts +6 -4
  58. package/src/adapters/dashboard/web/views/memory.ts +54 -30
  59. package/src/adapters/dashboard/web/views/mind.ts +14 -24
  60. package/src/adapters/dashboard/web/views/overview.ts +3 -5
  61. package/src/adapters/dashboard/web/views/search.ts +5 -8
  62. package/src/adapters/dashboard/web/views/self-map.ts +2 -4
  63. package/src/adapters/dashboard/web/views/shared.ts +0 -3
  64. package/src/adapters/dashboard/web/views/subjects.ts +614 -0
  65. package/src/adapters/dashboard/web/views/today.ts +8 -13
  66. package/src/adapters/dashboard/web/views/traits.ts +8 -17
  67. package/src/adapters/dashboard/web/views.ts +4 -4
  68. package/src/adapters/expansions.ts +15 -14
  69. package/src/adapters/fired.ts +5 -16
  70. package/src/adapters/lifecycle.ts +5 -5
  71. package/src/adapters/mcp/CONTRACT.md +39 -17
  72. package/src/adapters/mcp/INTERFACE-GAPS.md +7 -1
  73. package/src/adapters/mcp/NOTES.md +60 -0
  74. package/src/adapters/mcp/bin/serve.ts +11 -72
  75. package/src/adapters/mcp/deliberate.ts +8 -25
  76. package/src/adapters/mcp/facts.ts +7 -21
  77. package/src/adapters/mcp/index.ts +0 -8
  78. package/src/adapters/mcp/meaning.ts +7 -16
  79. package/src/adapters/mcp/nights.ts +10 -54
  80. package/src/adapters/mcp/server-args.ts +51 -2
  81. package/src/adapters/mcp/server-options.ts +0 -19
  82. package/src/adapters/mcp/server-self-tools.ts +75 -4
  83. package/src/adapters/mcp/server-session-end.ts +11 -2
  84. package/src/adapters/mcp/server-words.ts +1 -8
  85. package/src/adapters/mcp/server.ts +63 -100
  86. package/src/adapters/mcp/tools.ts +109 -15
  87. package/src/adapters/sidebar-status.ts +2 -3
  88. package/src/adapters/stance-env.ts +5 -28
  89. package/src/core/counterpart-boundary.ts +65 -6
  90. package/src/core/counterpart-deposit.ts +61 -30
  91. package/src/core/counterpart-events.ts +24 -2
  92. package/src/core/counterpart-projects.ts +198 -0
  93. package/src/core/counterpart-sweep.ts +12 -12
  94. package/src/core/counterpart-types.ts +31 -25
  95. package/src/core/counterpart.ts +280 -88
  96. package/src/core/dream/CONTRACT.md +73 -17
  97. package/src/core/dream/NOTES.md +161 -0
  98. package/src/core/dream/feeling-weeks.ts +2 -2
  99. package/src/core/dream/index.ts +56 -68
  100. package/src/core/dream/mind.ts +1 -3
  101. package/src/core/dream/project-ask.ts +242 -0
  102. package/src/core/dream/reflect.ts +754 -170
  103. package/src/core/dream/slices.ts +4 -18
  104. package/src/core/dream/tags.ts +346 -0
  105. package/src/core/dream/tunables.ts +42 -11
  106. package/src/core/dream/unmarked.ts +3 -2
  107. package/src/core/handoff/CONTRACT.md +11 -9
  108. package/src/core/handoff/NOTES.md +14 -0
  109. package/src/core/handoff/index.ts +1 -10
  110. package/src/core/handoff/last-here.ts +10 -18
  111. package/src/core/mint.ts +2 -0
  112. package/src/core/physics/CONTRACT.md +84 -0
  113. package/src/core/physics/NOTES.md +50 -0
  114. package/src/core/physics/index.ts +282 -6
  115. package/src/core/recall/CONTRACT.md +25 -9
  116. package/src/core/recall/NOTES.md +56 -0
  117. package/src/core/recall/activate.ts +25 -25
  118. package/src/core/recall/feeling-ask.ts +0 -3
  119. package/src/core/recall/gate.ts +50 -20
  120. package/src/core/recall/index.ts +26 -21
  121. package/src/core/recall/tunables.ts +24 -0
  122. package/src/core/reconsolidation.ts +48 -16
  123. package/src/core/remember/CONTRACT.md +5 -4
  124. package/src/core/remember/NOTES.md +18 -0
  125. package/src/core/remember/proposals.ts +9 -0
  126. package/src/core/remember/tunables.ts +1 -1
  127. package/src/core/revision.ts +41 -2
  128. package/src/core/schemas/CONTRACT.md +51 -4
  129. package/src/core/schemas/INTERFACE-GAPS.md +5 -0
  130. package/src/core/schemas/NOTES.md +158 -0
  131. package/src/core/schemas/index.ts +648 -30
  132. package/src/core/schemas/tags.ts +299 -0
  133. package/src/core/schemas/tunables.ts +94 -0
  134. package/src/core/schemas/types.ts +109 -0
  135. package/src/core/seat.ts +4 -2
  136. package/src/core/self/CONTRACT.md +20 -6
  137. package/src/core/self/INTERFACE-GAPS.md +2 -1
  138. package/src/core/self/NOTES.md +87 -0
  139. package/src/core/self/briefing.ts +1 -1
  140. package/src/core/self/identity.ts +19 -11
  141. package/src/core/self/index.ts +16 -13
  142. package/src/core/self/summaries.ts +1 -1
  143. package/src/core/self/tunables.ts +19 -0
  144. package/src/core/self/work.ts +267 -34
  145. package/src/core/self/writer.ts +14 -21
  146. package/src/core/sleep/CONTRACT.md +6 -1
  147. package/src/core/sleep/INTERFACE-GAPS.md +6 -0
  148. package/src/core/sleep/NOTES.md +101 -0
  149. package/src/core/sleep/births.ts +7 -1
  150. package/src/core/sleep/consolidate.ts +11 -2
  151. package/src/core/sleep/cycle.ts +140 -9
  152. package/src/core/sleep/index.ts +4 -0
  153. package/src/core/sleep/lease.ts +187 -0
  154. package/src/core/sleep/tags.ts +62 -0
  155. package/src/core/sleep/tunables.ts +20 -0
  156. package/src/core/sleep/types.ts +46 -0
  157. package/src/core/store/CONTRACT.md +26 -10
  158. package/src/core/store/NOTES.md +138 -0
  159. package/src/core/store/errors.ts +6 -0
  160. package/src/core/store/index.ts +514 -51
  161. package/src/core/store/marks.ts +6 -20
  162. package/src/core/store/operational.ts +340 -10
  163. package/src/core/store/owner-op-seam.ts +50 -1
  164. package/src/core/store/reads-marks.ts +19 -12
  165. package/src/core/store/reads-memories.ts +66 -14
  166. package/src/core/store/shapes.ts +16 -6
  167. package/src/core/store/tag-reads.ts +226 -0
  168. package/src/core/store/traits.ts +1 -12
  169. package/src/core/store/wave2.ts +380 -0
  170. package/src/core/tag-screen.ts +51 -0
  171. package/src/core/types.ts +17 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,157 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.31 — 2026-10-22
4
+
5
+ This release changes the store's format (v13 to v14), so **after installing, quit the dashboard and every open Claude Code session, then start them again**: one left running from before the update keeps the old code against the upgraded store and stops working on it (the dashboard answers with errors) until it is restarted; an older version that opens the store afresh refuses it plainly. The first open saves a copy of your store before upgrading it, and doctor gains one green line saying what the upgrade did. Going back to 0.3.30 is `counterparts rollback` (it puts that copy back; anything written since is set aside, not deleted), then 0.3.30's install and `counterparts connect` as it prints. What you will see: the dashboard has a subjects tab, a page for every person, project, place and topic your memories name, under a tag cloud. Memories can carry a few tags, and each night tidies them and, in a short separate step on a small model, tags memories that have none and sorts cards into person, project, place or topic. The night's reflection and dream start forming beliefs from real memories; nothing shows them in sessions, the wake or the core yet. Related folders can be one project (`counterparts project join`, or a yes when the morning share asks), and craft learned in one folder takes turns in every folder's "Work here"; work from another project needs a slightly stronger match to come up while you talk. Two fixes: one nightly cycle at a time per store, and a name no longer gets two cards (cards already doubled stay doubled for now). The night's tag work and the beliefs are each one switch in the tunables (`schemas.TAGS_NIGHT`, `schemas.BELIEFS_BIRTH`), both on. Store v14, cache v7 unchanged; no wiring change, so `counterparts connect` is not needed after upgrading.
6
+
7
+ - **The store moves to schema v14, room for what comes next.** The first open after the
8
+ upgrade saves a copy of your store first, as every upgrade does, then adds empty places
9
+ for tags, beliefs and what supports them, which project a folder belongs to, and what
10
+ each recall showed; nothing uses them yet. People and places among your cards are marked
11
+ as such, and so are new ones as they are made. The old confidential column is removed,
12
+ after the memories still marked are counted (the count `counterparts doctor` already
13
+ shows). Doctor has one green line saying what the upgrade did.
14
+ - **Restart what was left running across this update.** An older version refuses the
15
+ upgraded store when it opens it, but one that already had it open does not: a dashboard
16
+ or a Claude Code session started before the update stops working on it (the dashboard
17
+ answers with errors) until it is restarted. The way back to the older version is the
18
+ saved copy (`counterparts rollback`).
19
+ - **Memories can carry a few tags.** `remember` and each `session_end` entry take an
20
+ optional `tags` list — a few words for what the memory is about (a topic, a person, a
21
+ project). They are stored with the memory; a revision keeps its memory's tags unless it
22
+ sends its own. Nothing about recall changes yet: the tags are the start of topics that
23
+ grow into subjects.
24
+ - **A subjects tab on the dashboard.** Every person, project, place and topic your memories
25
+ name has a page: its kind, name and other names, what I believe about it (each belief with
26
+ how strongly it is held, how many memories hold it up and those memories, one tap away),
27
+ what it often comes up with, and the newest memories that mention it. `#subjects/me` is the
28
+ page of what I believe about myself and about us, linked from the self tab. Above them, an
29
+ old-school tag cloud: subjects in bright type (tap to open the page), tags beside them (tap
30
+ to see their memories), each sized by the memories behind it; point at a word to light up
31
+ the words it comes up with. Until memories carry tags, the cloud is the subjects alone. A
32
+ memory card for a subject, or a belief about one, links to the page. Nothing here writes.
33
+ - **Beliefs can be earned.** A belief now starts weak, whoever writes it, and grows only
34
+ as lived memories back it: your own words about it, my real choices, use at work, and
35
+ older memories a reflection connects (a little less, until life echoes them). Each memory
36
+ counts once per belief, and memories from the same day, conversation or folder count less.
37
+ A memory that goes against a belief presses on it the way a correction always has. Nothing
38
+ writes beliefs yet, and none are shown anywhere: not in recall, not in the wake, not in
39
+ the core.
40
+ - **Folders can be one project, and craft follows you.** `counterparts project join <folder>
41
+ <project>` puts related folders (say a product and its website) in one project, and each
42
+ one's wake then shows the work of all of them under "Work here" — the folder you are in
43
+ keeps at least half the lines; a folder set off or paused shares nothing. A skill written
44
+ from now on with no mark (or marked world) is craft: a couple of places in every folder's
45
+ "Work here" take turns showing craft learned elsewhere, saying where, from folders whose
46
+ setting is on. Skills written before keep their folder. `counterparts project list` and `leave` read
47
+ and undo it. Off: `PROJECTS_TRAVEL` in the self tunables.
48
+ - **The night tidies tags and grows topics from them.** Each night, memories linked to a
49
+ person's or project's card carry its name as a tag; tags that are the same word in another
50
+ form are merged; and a short separate step on a small model tags memories that have none,
51
+ asks whether two look-alike tags are one topic, and sorts cards into person, project,
52
+ place or topic. A tag that keeps coming up — on several days, in several sessions, more
53
+ so when it was used or felt — becomes a topic of its own. Recall and the wake don't use
54
+ tags or topics yet.
55
+ - **Another project's work comes to mind a little less readily.** While you talk, a memory
56
+ that is work from a folder outside this folder's project needs a slightly stronger match
57
+ to come up (`CROSS_PROJECT_BAR_LIFT`, 1.25; 1 turns it off). Personal things and craft
58
+ are not affected, and a folder joined to this one's project counts as here. The recall
59
+ record counts what the higher bar held back, for a review after a week. A stricter
60
+ switch that leaves such work out entirely (`RECALL_BY_PROJECT`) is built and off.
61
+ - **The night may ask whether two folders are one project.** When two folders were worked
62
+ in on the same days and their memories name the same things, the morning share asks once
63
+ whether to treat them as one project; a yes joins them (as `counterparts project join`
64
+ would), a no is left alone for a week. Off: `PROJECT_JOIN_ASK` in the dream tunables.
65
+ - **The night's reflection starts forming beliefs.** After a dream, the reflection is shown
66
+ what I hold about the people and things in play, and about me and us, and may back a
67
+ belief with a memory that fits, note a memory that goes against one, or write a few new
68
+ ones, each resting on real memories and starting weak. A belief that met more against
69
+ it than for it can be let go. Beliefs are still not shown in sessions, the wake or the
70
+ core. The owner can turn this off with one setting.
71
+ - **Beliefs from the dream, from the moment, and the owner's word.** The dream may now
72
+ suggest a belief it sees across several memories; it never makes one, and the morning's
73
+ reflection keeps it or lets it go. A session can write one in the moment, rarely, from
74
+ the owner's own words, a real choice, or a strongly felt moment. And when the owner says
75
+ a belief is wrong, it is let go at once, its history kept. Beliefs are still not shown in
76
+ sessions, the wake or the core.
77
+ - **One nightly cycle at a time.** When a session closed, its two end-of-session workers
78
+ could both run the night's cycle at once: the card births ran twice (the doubled cards)
79
+ and the wake was rendered twice. The cycle now holds the memory while it runs, and a
80
+ second worker that arrives meanwhile still saves its associations, then leaves the cycle
81
+ to the first, at once, and says so in the log. A worker that died mid-cycle gives way
82
+ after ten minutes, and the next cycle finishes its work.
83
+ - **A name no longer gets two cards.** When a session closed, its two end-of-session
84
+ workers could both run the night's card births at once, and each gave the same names a
85
+ card of its own: Google and Google, Bash and Bash, all with the same birth day. A card is
86
+ now born only after checking, with the store locked, that no other process has just made
87
+ it. Cards already doubled stay doubled for now; merging them comes separately.
88
+ - **For code that embeds Counterparts:** new exports, nothing removed. `counterparts`
89
+ adds `SLEEP_CYCLE_HELD_EVENT`; `counterparts/store` adds `BIRTH_ROUTES`,
90
+ `CRAFT_BORN_META`, `SUBJECT_KINDS`, `V14_UPGRADE_KEY`, `backfillSubjectKinds`,
91
+ `normalizeTag` and `retireConfidentialColumn`.
92
+
93
+ ## 0.3.30 — 2026-10-21
94
+
95
+ Nothing is held back from your sessions any more. Confidential memories are gone: nothing in Counterparts could set that mark, so on most stores nothing changes on screen; a memory marked that way through the store directly now reads like any other everywhere, and doctor shows one amber line with how many remain only if your store had any. The split between your sessions and guest ones is gone too: any session, a Claude Desktop chat and the nightly run included, can close a thread or a reminder by its id from any folder (a protected memory still never closes), and every session gets its folder's "Last said here"; observer stays read-only. The nightly run no longer leaves a Claude Code transcript under `~/.claude/projects/`; transcripts from earlier nights are left to Claude Code's own cleanup, or you can delete the folder named after your memory store. The `owner` line in your configuration is now ignored and doctor names it under "Old settings" (you may delete it); `export --include-confidential`, the memory server's `--owner` and `COUNTERPARTS_OWNER` are accepted and ignored for this release. Code that embeds Counterparts loses the confidential fields and options listed below. No store-format change (store v13, cache v7) and no wiring change: nothing to run after upgrading from 0.3.29, and `counterparts connect` is not needed.
96
+
97
+ - **Confidential memories are gone: nothing is held back as confidential any more.** No
98
+ part of Counterparts could mark a memory confidential; only code calling the store
99
+ directly with a `confidential` meta key could. A memory marked that way is now recalled,
100
+ named, dreamed on, reflected on and written up like any other, in every session: the
101
+ owner's, a Claude Desktop chat, the night run and an observer. If your store had any,
102
+ they are counted once, at the first open after the upgrade, and `counterparts doctor`
103
+ shows one amber line with how many are still there (the ids are in `doctor --json`)
104
+ for as long as any remain, so you can remove any you don't want with
105
+ `counterparts remove <id>`. A store with none shows nothing.
106
+ - **A night may count a few more memories as new** on a store that had confidential
107
+ memories, since the dream's queue no longer leaves them out. The recall tool's
108
+ description no longer mentions confidentiality.
109
+ - **The dashboard, the sidebar and the console show every memory's words.** A memory
110
+ that carried the old confidential key reads like any other on every page (the card,
111
+ the list, search, Today, traits, the journal and the dreams), in the sidebar, in the
112
+ `remove` list and in `dream`, `night` and `core --list`, where the `[confidential]`
113
+ marker is gone.
114
+ - **`export --markdown` carries everything.** Every live memory, earlier wording,
115
+ dream and reflection is in the tree, and the manifest no longer has an "omitted"
116
+ line. `--include-confidential` is still accepted for one release, does nothing, and
117
+ says so in one line; it goes in the release after. Without `--markdown` it is still
118
+ refused by name, as before.
119
+ - **Doctor's mechanism census has one row fewer**: the "confidentiality" row is gone,
120
+ with the gate it counted.
121
+ - **Every session can close what it finds, from any folder.** A thread or a reminder
122
+ is closed by its id from whichever folder you are in, from any session: Claude Code,
123
+ a Claude Desktop chat, the nightly run's write-ups, and the reflection's `close`. A
124
+ protected memory is still never closed. Until now a session that was not "yours"
125
+ (a Desktop chat, the night run) could not close something written in another folder.
126
+ - **"Last said here" in every session.** Any session that opens in a folder gets the
127
+ wake's "Last said here" line and can recall "last exchange", a Desktop chat and the
128
+ night run included. Under observer it is still not given.
129
+ - **No more "owner".** `status` no longer reports `owner`, `ownerFrom` or `ownerMeans`;
130
+ doctor's Mode line just says "remembering" (or the observer line). `install` no
131
+ longer writes `"owner": true`; an existing configuration's `owner` is ignored and
132
+ named under doctor's "Old settings" (you may delete it). `COUNTERPARTS_OWNER` does
133
+ nothing now, and the memory server's `--owner` flag is accepted and ignored for one
134
+ release.
135
+ - **For code that embeds Counterparts: the confidential leftovers are gone from the
136
+ API.** `confidentialByMeta`, `isConfidential`, `StoredMemory.confidential`,
137
+ `TraitRead.confidential` / `withheld`, the `includeConfidential` option on the trait
138
+ reads and `{ confidential }` on `memoryCountsByScopeSince` / `planCandidates`, the
139
+ `confidential` member of `copiesOf` and `coreList()`, `MemoryRow.confidential` and
140
+ `RecallRow.confidential`, `WriterJournal.omitted`, the `confidential` member of the
141
+ page writer's `omit` predicate, and the verdict and refusal
142
+ names `confidential-withheld`, `handle-confidential-withheld`, `confidential` and
143
+ `other-directory` no longer exist; the dashboard's JSON rows no longer carry a
144
+ `confidential` field (nor the traits view a `withheld` one). Nothing changes on screen. `export --include-confidential` is
145
+ still accepted, and ignored, this release. With the yours/guest split, `OWNER_FALSE_NOTE` is
146
+ gone from `counterparts/mcp` (written at release from #568's diff).
147
+ - **The nightly run no longer leaves a Claude Code transcript behind.** Each night child
148
+ (the dream, the reflection, a write-up owed) used to be saved by Claude Code under
149
+ `~/.claude/projects/`, with the memories it read and the conversation it wrote up,
150
+ kept there until Claude Code's own cleanup (30 days by default) and out of reach of
151
+ Counterparts' own retention. It now runs with `--no-session-persistence`, so nothing is
152
+ saved there. Transcripts from earlier nights are not touched; Claude Code's cleanup
153
+ removes them in time, or you can delete the folder named after your memory store.
154
+
3
155
  ## 0.3.29 — 2026-10-21
4
156
 
5
157
  Personal news now travels between your folders: each night the reflection looks at up to 24 memories nobody marked (it was 5), the personal-looking ones first, and marks the ones about you or the two of you so every folder's wake can show them, while work notes stay in the folder they came from; the morning share names what it re-marked and how to have one marked back, and nothing written in a folder you set off or paused is offered or carried out. In the plugin's sidebar the fox goes to work while Claude's turn runs and sits back down when it ends. The self page now keeps which memories each sentence rests on, doctor gains two reading-only lines ("Self page claims" and "Core"), and the dashboard's Self page shows the page in layers across its kept versions. The mechanism counts now include a dream's folds and band rises, so Consolidation and Interference read higher and Reconsolidation lower than before. Most of these are experiments, to be checked in a few days. Update the plugin with this release for the working fox and for sidebar mechanism counts that match the dashboard's; a 0.3.28 plugin keeps working beside this core, with the older counts. No store-format change (store v13, cache v7) and no wiring change: nothing to run after upgrading from 0.3.28, and `counterparts connect` is not needed.
@@ -56,7 +56,7 @@ input — does `encode` shrink to gates-and-tagging inside `remember`'s pipeline
56
56
  | `fired.ts` | Which mechanisms have fired and which have gone quiet, read only from the store's rows — `counterparts mechanisms`, the dashboard's panel. Each entry names the module that does the work. |
57
57
  | `snapshots.ts` | The daily rotating snapshot and its rotation — the one place this package deletes a copy of the memory, and only what it can prove is a snapshot. |
58
58
  | `sidebar-status.ts` | The Claude Code sidebar's status file (`sidebar.json` beside the configuration): what the sidebar shows, built by the dashboard's view functions over an observer handle and written whole, by the worker after each boundary and by the memory server off its tool calls' path, so the sidebar makes no network request. |
59
- | `stance-env.ts` | `COUNTERPARTS_OBSERVER` / `COUNTERPARTS_OWNER`, read the way the explicit-dir guard is, each failing toward less power. Unset, the configuration's `owner: true` decides for a server Claude Code starts (`mcp/bin/serve.ts#ownerStance`, 2026-10-02). |
59
+ | `stance-env.ts` | `COUNTERPARTS_OBSERVER`, read the way the explicit-dir guard is, failing toward observer. (`COUNTERPARTS_OWNER` and the yours/guest split were removed 2026-10-21.) |
60
60
  | `log/` | A shared leaf with its own CONTRACT: the process log — one line per allowlisted event (failures, stand-downs, turn ends, write-ups, the night, the wake) from the hook, the worker, the nightly run and the MCP server, to `<dataDir>/sessions/log/<date>.log`, ids and codes only, kept 7 days. Read by `counterparts log` and one doctor line. **Added 2026-09-30**: none of the four processes wired its `onEvent`, so ~270 event names died with their process. |
61
61
 
62
62
  **The five largest files, split by concern (2026-10-11)** — moves only, for the plugin
@@ -67,7 +67,8 @@ boundary, the sweep fallback and the deposit in `counterpart-boundary.ts`,
67
67
  `counterpart-sweep.ts` and `counterpart-deposit.ts`. `core/store/index.ts` keeps the class
68
68
  and every write; `marks.ts`, `shapes.ts` and `index-text.ts` hold its marks, shapes and
69
69
  index text, and `reads-memories.ts`, `reads-marks.ts` and `reads-history.ts` the bodies of
70
- its public reads. `mcp/server.ts` keeps the class; `server-words.ts`, `server-options.ts`
70
+ its public reads; `wave2.ts` holds the bodies of the v14 tables' reads and writes (each write
71
+ entered through the class's `mutate`). `mcp/server.ts` keeps the class; `server-words.ts`, `server-options.ts`
71
72
  and `server-args.ts` hold its words, options and argument readers, and
72
73
  `server-session-end.ts` and `server-self-tools.ts` the bodies of five of its tools.
73
74
  `cli/commands.ts` keeps the dispatcher, the help, and the repair that reads through the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "counterparts",
3
- "version": "0.3.29",
3
+ "version": "0.3.31",
4
4
  "license": "MIT",
5
5
  "description": "Memory that turns AI tools into counterparts - a local-first, human-memory-modeled memory layer for AI.",
6
6
  "repository": {
@@ -8,7 +8,7 @@ The launch adapter: wake injection at session start, the end-of-session write, a
8
8
  detection — everything host-specific, so the core stays host-agnostic. Session start is
9
9
  where this adapter delivers a wake; it is no longer the only place one is read, because
10
10
  since 2026-09-17 the core composes a read-only one into the crash fallback's prompt — the
11
- same composer, minus the prospective lane and minus anything protected or confidential —
11
+ same composer, minus the prospective lane and minus anything protected —
12
12
  and this adapter's interpret client put that prompt on the wire until 2026-09-24 (see
13
13
  §1a: the sweep no longer interprets here).
14
14
 
@@ -845,7 +845,11 @@ UUID the waiting process chose (2026-10-09), which keeps the children apart; and
845
845
  `--output-format stream-json --verbose` (2026-10-12; `-p` refuses `stream-json` without
846
846
  `--verbose`, measured on 2.1.296), its STDOUT kept in memory to 64 MiB
847
847
  (`child.ts#OUTPUT_MAX_BYTES`) and read once for the host's cut. The catch-up child's
848
- output is ignored. It
848
+ output is ignored. Every child, the plain retry included, also passes
849
+ `--no-session-persistence` (2026-10-21; checked on 2.1.306 with `--session-id` and
850
+ `stream-json`), so the host keeps no transcript of it under `~/.claude/projects`: its
851
+ words — memories it read, the conversation it wrote up — do not outlive this package's own
852
+ retention there. On a host too old to know the flag the night does not run. It
849
853
  starts in a NEUTRAL directory — the store's own — so no project's CLAUDE.md, hooks or MCP
850
854
  servers load. The parent's stance, `CLAUDE_PROJECT_DIR` and `CLAUDECODE` variables are
851
855
  removed; this package's values are written last.
@@ -2619,3 +2619,30 @@ running both, found confusing. The npm install now leaves `npm-live.json` beside
2619
2619
  (`plugin.ts#keepOne`), the plugin's id read off its install path, phrased for the person and asking nothing
2620
2620
  of the model. The folder-origin wording is unchanged.
2621
2621
 
2622
+ ## 2026-10-21 — no owner in the configuration
2623
+
2624
+ - Mike, 2026-10-21 12:18: "for 1, i agree, lets remove it." `install` no longer writes `owner: true`; a configuration that carries it (every
2625
+ earlier install) reads it, ignores it, and names it under doctor's "Old settings" for
2626
+ one release. Doctor's Mode line says "remembering" or the observer line, nothing
2627
+ about an owner. The night run's MCP configuration no longer sets
2628
+ `COUNTERPARTS_OWNER=0`.
2629
+
2630
+ ## 2026-10-21 — night children keep no Claude Code transcript
2631
+
2632
+ - `planNightChild` passes `--no-session-persistence` to every child (dream, reflection,
2633
+ catch-up, and the plain retry). Without it Claude Code saved each child's transcript under
2634
+ `~/.claude/projects/<the store's folder slug>/` — the memories it read and the
2635
+ conversation it wrote up — outside the 3-day/14-day span retention, reached only by the
2636
+ host's own `cleanupPeriodDays` (30 by default).
2637
+ - Nothing read those transcripts: the host cut comes from the child's `stream-json`
2638
+ (`readNightSpills`, since 10-12); `--session-id` only keeps the children apart; the
2639
+ child's hooks are QUIET (`nightRun`: `captureBoundary` takes no turns, no ask, no recall
2640
+ — `toHookInput` still tries `transcript_path`, finds nothing, and marks the turns
2641
+ unread, which only stands the echo skip and the pacer's rebase down, both moot for the
2642
+ night); the model a night's rows record comes from the launching session's record, not
2643
+ the child's.
2644
+ - Checked on the installed `claude` 2.1.306: `-p --no-session-persistence --session-id
2645
+ <uuid> --output-format stream-json --verbose` runs, echoes the session id and leaves no
2646
+ folder under `~/.claude/projects` for its directory.
2647
+ - `tools/harness/week.ts` drops the flag for its scripted person's turns, which
2648
+ `--resume` the session and whose hooks read its transcript.
@@ -355,7 +355,6 @@ export async function runOnce(input: {
355
355
  ...(config.injectionBudgetBytes === undefined
356
356
  ? {}
357
357
  : { budgetBytes: config.injectionBudgetBytes }),
358
- ...(config.owner === undefined ? {} : { owner: config.owner }),
359
358
  ...(config.timeZone === undefined ? {} : { timeZone: config.timeZone }),
360
359
  // The build stamps the wake it publishes, and a wake another build
361
360
  // published is re-rendered at step 3a (`version`, 2026-10-02).
@@ -464,11 +463,18 @@ export async function runOnce(input: {
464
463
  } catch {
465
464
  /* the held page stays on its refusal row for the next boundary */
466
465
  }
467
- try {
468
- const wake = counterpart.refreshWake({ at: today });
469
- if (wake.reason !== "current") emit("runner.wake", { reason: wake.reason, triggers: wake.triggers.join(","), bytes: wake.bytes });
470
- } catch (err) {
471
- noteFailure(counterpart, emit, err instanceof Error ? err.name : "UNKNOWN", "wake", today);
466
+ // NOT WHEN THE CYCLE STOOD ASIDE (`sleep/lease.ts`, review of #581): the
467
+ // cycle holding the store renders the wake, and this worker's refresh
468
+ // would render it a second time beside it.
469
+ if (report.cycle.held === undefined) {
470
+ try {
471
+ const wake = counterpart.refreshWake({ at: today });
472
+ if (wake.reason !== "current") emit("runner.wake", { reason: wake.reason, triggers: wake.triggers.join(","), bytes: wake.bytes });
473
+ } catch (err) {
474
+ noteFailure(counterpart, emit, err instanceof Error ? err.name : "UNKNOWN", "wake", today);
475
+ }
476
+ } else {
477
+ emit("runner.wake", { reason: "held-elsewhere", triggers: "", bytes: 0 });
472
478
  }
473
479
  result = {
474
480
  ran: true,
@@ -61,8 +61,9 @@ export interface ChildPlan {
61
61
  /** The child's working directory; absent, this process's. */
62
62
  readonly cwd?: string;
63
63
  /** Keep what the child writes to STDOUT (2026-10-12): the nightly run reads
64
- * its own child's `stream-json` output rather than looking for the host's
65
- * transcript under `~/.claude/projects`. Absent, STDOUT is ignored. */
64
+ * what the host cut from its own child's `stream-json` output, the only
65
+ * record of the child there is (it runs with `--no-session-persistence`).
66
+ * Absent, STDOUT is ignored. */
66
67
  readonly captureOutput?: boolean;
67
68
  }
68
69
 
@@ -172,7 +172,7 @@ export function nightRunFindings(input: DoctorInput, store: Store): Finding[] {
172
172
  run.reason === "no-claude"
173
173
  ? "The headless run starts claude -p: put the claude command on the PATH the hooks see, or set dreaming to ask (counterparts dream --setting ask)."
174
174
  : run.reason === "quick-exit"
175
- ? "Run claude -p once by hand in a terminal to see why it stops (a login, an update prompt). Meanwhile the session asks instead."
175
+ ? "Run claude -p once by hand in a terminal to see why it stops (a login, an update prompt, or a claude too old for the night's flags — update it). Meanwhile the session asks instead."
176
176
  : run.reason === "nothing-ran"
177
177
  ? "The headless run needs the counterparts MCP server registered for claude at user scope (claude mcp list shows it); the server's own mcp.session rows say whether it refused the session."
178
178
  : "A later session starts it again, or asks when it cannot. counterparts dream --setting ask stops the headless runs.";
@@ -1,5 +1,5 @@
1
- /** `doctor`'s findings on the store upgrades v8 to v11, read from what each upgrade recorded (moved out of `doctor.ts`, 2026-10-11). */
2
- import { Store } from "../../core/store/index.js";
1
+ /** `doctor`'s findings on the store upgrades v8 to v11 and v14, read from what each upgrade recorded (moved out of `doctor.ts`, 2026-10-11). */
2
+ import { CONFIDENTIAL_RETIRED_KEY, Store, V14_UPGRADE_KEY, rowTombstoned } from "../../core/store/index.js";
3
3
  import { finding } from "./doctor-finding.js";
4
4
  import type { Finding } from "./doctor-finding.js";
5
5
 
@@ -234,5 +234,89 @@ export function upgradeV11Findings(store: Store): Finding[] {
234
234
  ];
235
235
  }
236
236
 
237
+ /**
238
+ * WHAT THE v14 UPGRADE DID (2026-10-21, wave 2's one bump), informational:
239
+ * the retired confidential column was dropped (after its count, when no
240
+ * open had taken it), the new tables for tags, belief support, projects and
241
+ * recall turns are there and empty, and the cards whose kind of subject is
242
+ * not a judgement have theirs. Silent on a store born at v14.
243
+ */
244
+ export function upgradeV14Findings(store: Store): Finding[] {
245
+ const upgrade = metaJson(store, V14_UPGRADE_KEY);
246
+ if (upgrade === null) return [];
247
+ const dropped = upgrade["confidentialDropped"] === true;
248
+ const counted = typeof upgrade["confidentialCounted"] === "number" ? upgrade["confidentialCounted"] : null;
249
+ const raw = upgrade["subjects"];
250
+ const subjects: Record<string, number> = {};
251
+ if (raw !== null && typeof raw === "object" && !Array.isArray(raw)) {
252
+ for (const [k, v] of Object.entries(raw as Record<string, unknown>)) subjects[k] = metaNum(v);
253
+ }
254
+ const people = subjects["person"] ?? 0;
255
+ const places = subjects["place"] ?? 0;
256
+ const given = `${String(people)} ${people === 1 ? "card" : "cards"} marked a person, ${String(places)} a place; the rest wait for the night`;
257
+ const column = dropped
258
+ ? `the retired confidential column dropped${counted === null ? "" : ` (${String(counted)} marked ${counted === 1 ? "memory" : "memories"} counted first)`}`
259
+ : "no confidential column to drop";
260
+ return [
261
+ finding(
262
+ "upgrade-v14",
263
+ "green",
264
+ "Upgrade",
265
+ `Upgrade to v14: room for tags, beliefs and their support, projects and what recall showed (empty until they are used) — ${column}; ${given}`,
266
+ "",
267
+ { confidentialDropped: dropped, confidentialCounted: counted ?? -1, people, places },
268
+ ),
269
+ ];
270
+ }
271
+
272
+ /**
273
+ * THE CONFIDENTIAL MARK, RETIRED (2026-10-21): the memories that carried it
274
+ * when this build first opened the store (`CONFIDENTIAL_RETIRED_KEY`, counted
275
+ * once). Nothing is withheld any more, so they surface like any other memory.
276
+ * The record is frozen; what is still there is read at report time — a
277
+ * recorded id the owner has since removed (denied or emptied) no longer
278
+ * counts. The record keeps the first 50 ids only; past those, the rest are
279
+ * counted as still there, and the line says so. Amber only while any remain,
280
+ * with the ids in `--json`; silent otherwise and on a store this build has
281
+ * not opened writable yet.
282
+ */
283
+ export function confidentialRetiredFindings(store: Store): Finding[] {
284
+ const record = metaJson(store, CONFIDENTIAL_RETIRED_KEY);
285
+ if (record === null) return [];
286
+ const count = metaNum(record["count"]);
287
+ if (count <= 0) return [];
288
+ const ids = Array.isArray(record["ids"]) ? record["ids"].filter((x): x is string => typeof x === "string") : [];
289
+ let denied: ReadonlySet<string>;
290
+ try {
291
+ denied = new Set(store.deniedIds());
292
+ } catch {
293
+ denied = new Set();
294
+ }
295
+ const still = ids.filter((id) => {
296
+ if (denied.has(id)) return false;
297
+ try {
298
+ const row = store.row(id);
299
+ return row !== undefined && !rowTombstoned(row);
300
+ } catch {
301
+ return true;
302
+ }
303
+ });
304
+ const unlisted = Math.max(0, count - ids.length);
305
+ const remaining = still.length + unlisted;
306
+ if (remaining <= 0) return [];
307
+ const day = typeof record["day"] === "string" && record["day"].length > 0 ? record["day"] : null;
308
+ const one = remaining === 1;
309
+ return [
310
+ finding(
311
+ "confidential-retired",
312
+ "amber",
313
+ "Confidential",
314
+ `${String(remaining)} ${one ? "memory" : "memories"} marked confidential through the store API ${one ? "is" : "are"} still here (${String(count)} when counted); ${day === null ? "since this version" : `since ${day}`} nothing is withheld, so ${one ? "it surfaces" : "they surface"} like any other memory${unlisted > 0 ? `; only the first ${String(ids.length)} were recorded by id, so the other ${String(unlisted)} are counted as still here` : ""}`,
315
+ `${still.length === 1 && unlisted === 0 ? "It is" : "They are"} listed in counterparts doctor --json. Remove any you don't want: counterparts remove <id>.`,
316
+ { count, remaining, ids: still.join(", "), unlisted, day },
317
+ ),
318
+ ];
319
+ }
320
+
237
321
  /** Mark changes the Reflection line reads, newest first; a read that comes back full is a floor. */
238
322
  export const MARK_ROWS = 10_000;
@@ -56,6 +56,7 @@ import {
56
56
  RUNNER_FAILED_EVENT,
57
57
  SELF_BRIEFING_EVENT,
58
58
  SLEEP_CYCLE_EVENT,
59
+ SLEEP_CYCLE_HELD_EVENT,
59
60
  SNAPSHOT_FAILED_EVENT,
60
61
  SNAPSHOT_TAKEN_EVENT,
61
62
  SPAWN_FAILED_EVENT,
@@ -74,7 +75,7 @@ import {
74
75
  } from "../../core/store/index.js";
75
76
  import { heldCorrections } from "../../core/reconsolidation.js";
76
77
  import { bundledModelDir } from "../runtime.js";
77
- import { TUNABLES as SLEEP_TUNABLES, acceptsReflectedFeeling, laterFeelingWasAwake, laterFeelingWasReflections, selfRelevantFeeling } from "../../core/sleep/index.js";
78
+ import { CYCLE_LEASE_KEY, leaseStale, readLease, TUNABLES as SLEEP_TUNABLES, acceptsReflectedFeeling, laterFeelingWasAwake, laterFeelingWasReflections, selfRelevantFeeling } from "../../core/sleep/index.js";
78
79
  import { TUNABLES as ASSOCIATE_TUNABLES, isDead, pairKey } from "../../core/associate/index.js";
79
80
  import type { EventRow } from "../../core/store/index.js";
80
81
  // The ask allowance the amber hint names, read rather than retyped: a number in
@@ -131,6 +132,8 @@ import {
131
132
  upgradeV9Findings,
132
133
  upgradeV10Findings,
133
134
  upgradeV11Findings,
135
+ upgradeV14Findings,
136
+ confidentialRetiredFindings,
134
137
  } from "./doctor-upgrades.js";
135
138
  import {
136
139
  selfPageFindings,
@@ -165,6 +168,8 @@ export {
165
168
  upgradeV9Findings,
166
169
  upgradeV10Findings,
167
170
  upgradeV11Findings,
171
+ upgradeV14Findings,
172
+ confidentialRetiredFindings,
168
173
  } from "./doctor-upgrades.js";
169
174
  export {
170
175
  dreamingFindings,
@@ -543,8 +548,8 @@ function configFindings(input: DoctorInput): Finding[] {
543
548
 
544
549
  // THE STANCE IS CALLED `Mode` NOW, and it is said in the words a person can
545
550
  // act on rather than in the configuration's (finding #20: "owner: this host
546
- // encodes" was named as the line nobody could read). The key and the `data`
547
- // are untouched, so every reader of the JSON sees what it always saw.
551
+ // encodes" was named as the line nobody could read). Since 2026-10-21 there
552
+ // is no yours/guest split to report: the line says observer or not.
548
553
  if (input.config.observer === true) {
549
554
  out.push(
550
555
  finding("stance", "amber", "Mode", "observer — reads memory, writes nothing", "Remove \"observer\" from the config to remember again.", {
@@ -552,22 +557,7 @@ function configFindings(input: DoctorInput): Finding[] {
552
557
  }),
553
558
  );
554
559
  } else {
555
- // WHOSE SESSIONS ARE THE OWNER'S, said plainly (2026-10-02): with the
556
- // install's `owner: true`, the hooks, the worker and — since that day —
557
- // the memory server Claude Code starts (`mcp/bin/serve.ts#ownerStance`).
558
- const owner = input.config.owner === true;
559
- out.push(
560
- finding(
561
- "stance",
562
- "green",
563
- "Mode",
564
- owner
565
- ? "remembering; your Claude Code sessions are the owner's (confidential memories are said in them, and an open question can be closed from any directory); a Claude Desktop chat is not; COUNTERPARTS_OWNER=0 on the memory server's launch turns it off for the memory server, and the hooks follow this configuration"
566
- : "remembering; no session is the owner's (the configuration has no \"owner\": true), so confidential memories stay out of the tools' answers",
567
- "",
568
- { observer: false, owner },
569
- ),
570
- );
560
+ out.push(finding("stance", "green", "Mode", "remembering", "", { observer: false }));
571
561
  }
572
562
  return out;
573
563
  }
@@ -1017,6 +1007,22 @@ function boundaryAge(store: Store, today: string): "never" | "today" | "earlier"
1017
1007
  : "today";
1018
1008
  }
1019
1009
 
1010
+ /**
1011
+ * A CYCLE LEASE THAT IS STUCK (review of #581, `sleep/lease.ts`): a boundary
1012
+ * stood aside after the newest cycle row (its `sleep.cycle.held` row is newer),
1013
+ * and the lease it stood aside for no longer holds — run out, its holder's pid
1014
+ * gone, or taken "in the future" / further ahead than a lease lasts (a clock that
1015
+ * jumped). The next cycle takes such a lease over by itself; this says that one
1016
+ * is due. Null: nothing stuck, or nothing to tell.
1017
+ */
1018
+ function stuckLease(store: Store, livedDay: number, cycle: EventRow): string | null {
1019
+ const held = newestRows(store, SLEEP_CYCLE_HELD_EVENT, 1, livedDay).rows[0];
1020
+ if (held === undefined || held.seq < cycle.seq) return null;
1021
+ const lease = readLease(store.getMeta(CYCLE_LEASE_KEY));
1022
+ if (lease === null) return null;
1023
+ return leaseStale(lease, store.now());
1024
+ }
1025
+
1020
1026
  /** The newest row of each family the background half leaves behind. */
1021
1027
  function rowFindings(input: DoctorInput, store: Store): Finding[] {
1022
1028
  const livedDay = store.livedDay();
@@ -1110,12 +1116,22 @@ function rowFindings(input: DoctorInput, store: Store): Finding[] {
1110
1116
  // `reason` is "ran" | "clock-failed" | "threw" (`counterpart.ts#recordSleepCycle`),
1111
1117
  // so anything but "ran" is a night that did not happen, not a cadence.
1112
1118
  const data = { reason, failed, date: rowDate(cycle), budgetTruncated: truncated.length };
1119
+ const stuck = reason === "ran" && failed === 0 ? stuckLease(store, livedDay, cycle) : null;
1113
1120
  out.push(
1114
1121
  reason !== "ran"
1115
1122
  ? finding("sleep", "red", "Sleep", detail, "The nightly cycle is not completing — decay, prune, dedup and consolidate are not running.", data)
1116
1123
  : failed > 0
1117
1124
  ? finding("sleep", "amber", "Sleep", detail, "A phase failed; the row names it.", data)
1118
- : finding("sleep", "green", "Sleep", detail, "", data),
1125
+ : stuck !== null
1126
+ ? finding(
1127
+ "sleep",
1128
+ "amber",
1129
+ "Sleep",
1130
+ `${detail}; since then a cycle stood aside for a lease that no longer holds (${stuck})`,
1131
+ "The next cycle takes a stale lease over by itself; if this stays, the store's sleep.lease row is what is stuck.",
1132
+ { ...data, lease: stuck },
1133
+ )
1134
+ : finding("sleep", "green", "Sleep", detail, "", data),
1119
1135
  );
1120
1136
  }
1121
1137
 
@@ -3397,6 +3413,10 @@ export function doctorFindings(input: DoctorInput): Finding[] {
3397
3413
  // v10 (2026-09-29): what the upgrade carried, and the week's contradictions.
3398
3414
  ["upgrade-v10", () => upgradeV10Findings(store)],
3399
3415
  ["upgrade-v11", () => upgradeV11Findings(store)],
3416
+ // v14 (2026-10-21): the drop, the new tables, the cards' subject kinds.
3417
+ ["upgrade-v14", () => upgradeV14Findings(store)],
3418
+ // 2026-10-21: memories that carried the retired confidential mark, counted once. Silent at 0.
3419
+ ["confidential-retired", () => confidentialRetiredFindings(store)],
3400
3420
  // v12 (2026-10-03): the writer's three fields, and the subject links. Two aggregates.
3401
3421
  ["write-fields", () => writeFieldFindings(store)],
3402
3422
  // 2026-10-10: the old-claims era — on or off, and how many it reads at today's default (lower, higher).
@@ -182,7 +182,6 @@ export function openAdapter(
182
182
  ? {}
183
183
  : { budgetBytes: config.injectionBudgetBytes }),
184
184
  ...(config.observer === undefined ? {} : { observer: config.observer }),
185
- ...(config.owner === undefined ? {} : { owner: config.owner }),
186
185
  ...(config.timeZone === undefined ? {} : { timeZone: config.timeZone }),
187
186
  // Owner ruling D3 on #256: `pageWriter.mode: off` stops the reflection's page write too.
188
187
  ...(config.pageWriter?.mode === undefined ? {} : { pageWriterMode: config.pageWriter.mode }),