counterparts 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -0
- package/docs/module-map.md +3 -2
- package/package.json +1 -1
- package/src/adapters/claude-code/NOTES.md +16 -0
- package/src/adapters/claude-code/doctor.ts +146 -0
- package/src/adapters/claude-code/hooks.ts +31 -3
- package/src/adapters/claude-code/transcript.ts +7 -0
- package/src/adapters/cli/CONTRACT.md +11 -0
- package/src/adapters/cli/INTERFACE-GAPS.md +16 -0
- package/src/adapters/cli/NOTES.md +25 -0
- package/src/adapters/cli/commands.ts +173 -4
- package/src/adapters/cli/dream-core.ts +126 -0
- package/src/adapters/cli/help.ts +17 -0
- package/src/adapters/cli/mechanisms.ts +169 -101
- package/src/adapters/dashboard/CONTRACT.md +5 -0
- package/src/adapters/dashboard/INTERFACE-GAPS.md +12 -0
- package/src/adapters/dashboard/NOTES.md +38 -0
- package/src/adapters/dashboard/registries.ts +31 -1
- package/src/adapters/dashboard/web/README.md +45 -16
- package/src/adapters/dashboard/web/app.html +2 -0
- package/src/adapters/dashboard/web/flow.ts +12 -0
- package/src/adapters/dashboard/web/lanes.ts +141 -0
- package/src/adapters/dashboard/web/mechanisms/association/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/consolidation/index.js +8 -5
- package/src/adapters/dashboard/web/mechanisms/consolidation/panel.js +7 -7
- package/src/adapters/dashboard/web/mechanisms/decay/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/dreaming/index.js +19 -0
- package/src/adapters/dashboard/web/mechanisms/emotional/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/episodic-semantic/index.js +4 -5
- package/src/adapters/dashboard/web/mechanisms/index.js +5 -3
- package/src/adapters/dashboard/web/mechanisms/interference/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/prospective/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/reconsolidation/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/regions.js +1 -1
- package/src/adapters/dashboard/web/mechanisms/retrieval/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/salience/index.js +1 -2
- package/src/adapters/dashboard/web/mechanisms/schema/index.js +1 -2
- package/src/adapters/dashboard/web/narrate.ts +68 -13
- package/src/adapters/dashboard/web/pages/home/home.css +29 -13
- package/src/adapters/dashboard/web/pages/home/index.js +2 -0
- package/src/adapters/dashboard/web/pages/home/sections/explorer.js +22 -7
- package/src/adapters/dashboard/web/pages/home/sections/hero.js +15 -3
- package/src/adapters/dashboard/web/pages/home/sections/live-activity.js +15 -9
- package/src/adapters/dashboard/web/pages/home/sections/recent-chapters.js +6 -2
- package/src/adapters/dashboard/web/pages/home/sections/tiles.js +35 -18
- package/src/adapters/dashboard/web/pages/memories/index.js +30 -36
- package/src/adapters/dashboard/web/pages/memories/memories.css +97 -72
- package/src/adapters/dashboard/web/pages/memories/row.js +51 -0
- package/src/adapters/dashboard/web/pages/memories/sections/feel.js +176 -0
- package/src/adapters/dashboard/web/pages/memories/sections/hold.js +67 -0
- package/src/adapters/dashboard/web/pages/memories/sections/list.js +65 -43
- package/src/adapters/dashboard/web/pages/memories/sections/search.js +26 -23
- package/src/adapters/dashboard/web/pages/memories/state.js +12 -5
- package/src/adapters/dashboard/web/pages/self/index.js +4 -2
- package/src/adapters/dashboard/web/pages/self/sections/dreams.js +76 -0
- package/src/adapters/dashboard/web/pages/self/sections/journal.js +1 -1
- package/src/adapters/dashboard/web/pages/self/sections/page.js +1 -1
- package/src/adapters/dashboard/web/pages/self/sections/settling.js +50 -20
- package/src/adapters/dashboard/web/pages/self/sections/wake.js +1 -1
- package/src/adapters/dashboard/web/pages/self/self.css +23 -20
- package/src/adapters/dashboard/web/pages/self/state.js +0 -2
- package/src/adapters/dashboard/web/server.ts +9 -0
- package/src/adapters/dashboard/web/shared/memory-marks.css +17 -0
- package/src/adapters/dashboard/web/shared/memory-marks.js +81 -0
- package/src/adapters/dashboard/web/shared/memory-modal.js +240 -62
- package/src/adapters/dashboard/web/shared/modal.css +67 -0
- package/src/adapters/dashboard/web/shared/tip.js +1 -1
- package/src/adapters/dashboard/web/shared/widgets/feed.css +4 -0
- package/src/adapters/dashboard/web/shared/widgets/feed.js +56 -14
- package/src/adapters/dashboard/web/shared/widgets/light.css +1 -0
- package/src/adapters/dashboard/web/shared/widgets/light.js +7 -5
- package/src/adapters/dashboard/web/shared/widgets/tips.css +19 -0
- package/src/adapters/dashboard/web/{pages/self → shared/widgets}/tips.js +15 -9
- package/src/adapters/dashboard/web/views/activity.ts +18 -2
- package/src/adapters/dashboard/web/views/archive-words.ts +27 -10
- package/src/adapters/dashboard/web/views/dreams.ts +199 -0
- package/src/adapters/dashboard/web/views/mechanism-panel.ts +116 -35
- package/src/adapters/dashboard/web/views/mechanisms.ts +81 -326
- package/src/adapters/dashboard/web/views/memories.ts +245 -43
- package/src/adapters/dashboard/web/views/memory-words.ts +133 -0
- package/src/adapters/dashboard/web/views/memory.ts +215 -7
- package/src/adapters/dashboard/web/views/mind.ts +133 -57
- package/src/adapters/dashboard/web/views/overview.ts +80 -42
- package/src/adapters/dashboard/web/views/search.ts +35 -1
- package/src/adapters/dashboard/web/views/shared.ts +14 -0
- package/src/adapters/dashboard/web/views.ts +2 -0
- package/src/adapters/fired.ts +85 -5
- package/src/adapters/mcp/NOTES.md +11 -0
- package/src/adapters/mcp/server.ts +90 -1
- package/src/adapters/mcp/tools.ts +129 -1
- package/src/adapters/mechanism-evidence.ts +465 -0
- package/src/core/counterpart.ts +113 -4
- package/src/core/dream/CONTRACT.md +143 -0
- package/src/core/dream/INTERFACE-GAPS.md +24 -0
- package/src/core/dream/NOTES.md +84 -0
- package/src/core/dream/index.ts +1067 -0
- package/src/core/dream/mark.ts +14 -0
- package/src/core/dream/tunables.ts +56 -0
- package/src/core/physics/CONTRACT.md +92 -24
- package/src/core/physics/NOTES.md +139 -0
- package/src/core/physics/index.ts +345 -68
- package/src/core/recall/NOTES.md +16 -0
- package/src/core/recall/index.ts +9 -2
- package/src/core/remember/CONTRACT.md +5 -0
- package/src/core/remember/spans.ts +11 -1
- package/src/core/self/CONTRACT.md +3 -0
- package/src/core/self/INTERFACE-GAPS.md +7 -0
- package/src/core/self/NOTES.md +30 -0
- package/src/core/self/identity.ts +95 -5
- package/src/core/self/index.ts +17 -0
- package/src/core/self/tunables.ts +17 -0
- package/src/core/sleep/CONTRACT.md +17 -1
- package/src/core/sleep/INTERFACE-GAPS.md +19 -0
- package/src/core/sleep/NOTES.md +36 -0
- package/src/core/sleep/consolidate.ts +149 -96
- package/src/core/sleep/decay.ts +11 -0
- package/src/core/sleep/index.ts +4 -1
- package/src/core/sleep/tunables.ts +9 -0
- package/src/core/sleep/types.ts +17 -0
- package/src/core/sleep/upgrade.ts +168 -0
- package/src/core/store/CONTRACT.md +12 -0
- package/src/core/store/NOTES.md +48 -0
- package/src/core/store/index.ts +610 -8
- package/src/core/store/operational.ts +314 -3
- package/src/core/store/owner-op-seam.ts +79 -1
- package/src/core/types.ts +28 -0
- package/src/adapters/dashboard/web/pages/memories/sections/constellation.js +0 -178
- package/src/adapters/dashboard/web/pages/memories/sections/kinds.js +0 -42
|
@@ -16,11 +16,12 @@ step, no dependencies. `server.ts` serves them as files (see "Serving" below).
|
|
|
16
16
|
| `views.ts` | the index of `views/`: re-exports every view, so callers import from here |
|
|
17
17
|
| `views/<name>.ts` | one module per `/api` view: `meta`, `overview` (the home tab's), `memories` (`/api/memories` + `/api/memories/list`), `memory`, `search`, `mind` (the self tab's), `activity`, `flow-view` (`/api/flow` + `/api/node`), `health`, `pulse`, `mechanisms`, `mechanism-panel` (`/api/mechanism?id=`) |
|
|
18
18
|
| `views/archive-words.ts` | why a memory was archived, in plain words: one table (`ARCHIVE_WORDS`, a group phrase and a single-row phrase per reason) and one fallback for a reason nobody mapped; health's bar, the memories list and home's archived count read it |
|
|
19
|
-
| `views/mechanisms.ts` | `/api/mechanisms`: each mechanism's light (grey = not built, green = fired in the last 7 lived days, amber = built and quiet), one evidence line, the newest backing event `seq`s. `
|
|
19
|
+
| `views/mechanisms.ts` | `/api/mechanisms`: each mechanism's light (grey = not built, green = fired in the last 7 lived days, waiting = built and not due — a scheduled run ahead, or nothing to act on — amber = built and quiet), its `build` (built / partly / not: the pill's "partly built" tag), one evidence line, the newest backing event `seq`s. Which rows count as a firing is `adapters/mechanism-evidence.ts` — ONE judgement shared with `counterparts mechanisms` (`cli/mechanisms.ts`), which keeps its own words and its calendar window; this file owns the lived-day window and the dashboard's words |
|
|
20
20
|
| `views/shared.ts` | the census and small counters every view leans on |
|
|
21
21
|
| `views/rows.ts` | row shapes and builders more than one view uses (band bars, contested beliefs, chapters, lived days) |
|
|
22
22
|
| `flow.ts` | the diagram's static shape: nodes, edges, which event lights which node |
|
|
23
|
-
| `narrate.ts` | a durable event → one first-person sentence |
|
|
23
|
+
| `narrate.ts` | a durable event → one first-person sentence, with its tone (orange only for a real problem), its feed and its icon |
|
|
24
|
+
| `lanes.ts` | which feed an event belongs in — `home` (memory events: remembered, stronger, replaced, let go, a chapter, a handoff, sleep, a reminder) or `flow` (housekeeping) — and the home line's icon; one table, exhaustive by type |
|
|
24
25
|
| `reveal.ts` | id → words at render time, withholding confidential rows |
|
|
25
26
|
| `fired.ts` | `/api/fired`, the what-fired panel |
|
|
26
27
|
|
|
@@ -50,12 +51,15 @@ shared/
|
|
|
50
51
|
canvas.js FACE (the canvas's face, Outfit) fit hitTest roundRect clip wrapText
|
|
51
52
|
tip.js modal.js showTip/hideTip; openModal/closeModal/section
|
|
52
53
|
memory-modal.js openMemory, copyId, removeMemory (window globals: rows use inline onclick)
|
|
54
|
+
memory-marks.js .css a memory's kind icon/colour, feeling dots, strength meter, badges
|
|
53
55
|
event-modal.js openEvent (window global)
|
|
54
56
|
state.js tabs {current, loaded}; live {lastSeq, fingerprint}
|
|
55
57
|
widgets/ card rows table chart tiles bar feed light .css;
|
|
56
58
|
feed.js (renderFeed, live-feed registry), chapters.js (chapterRows),
|
|
57
59
|
confirm.js + .css (confirmTyped: type a phrase back to confirm),
|
|
58
|
-
light.js (the status dot: green / amber / grey)
|
|
60
|
+
light.js (the status dot: green / waiting ring / amber / grey),
|
|
61
|
+
tips.js + .css (the `?`: explaining words behind a tap or hover; one
|
|
62
|
+
copy for every page, pinned tips kept across a live refresh)
|
|
59
63
|
pages/<tab>/ tabs: home (was overview), memories, self (was mind), flow, health;
|
|
60
64
|
#overview and #mind still land (shell/tabs.js RENAMED)
|
|
61
65
|
index.js default export { name, mount(section), render(), refresh?, show?,
|
|
@@ -83,6 +87,21 @@ A hash can carry more than the tab: `#self/settling` (an anchor) or
|
|
|
83
87
|
the page's optional `route({ anchor, params })` is called once the page is
|
|
84
88
|
drawn. The home hero's four counts are links of this kind.
|
|
85
89
|
|
|
90
|
+
The home page (round 2, 2026-09-26, an experiment) is one short headline
|
|
91
|
+
("Day 30 · 145 memories · 8 of 11 built · 6 active this week"; the mechanism
|
|
92
|
+
score is behind `SHOW_MECHANISM_SCORE` in `views/overview.ts`, the one place to
|
|
93
|
+
take it out), four small tiles (`sections/tiles.js`: memories, core with the
|
|
94
|
+
closest candidate's days from `views/mind.ts#coreCandidates`, chapters, and
|
|
95
|
+
replaced, with what was let go or removed as its own small number via
|
|
96
|
+
`archive-words.ts#archiveGroup`), the brain, the mechanism panel, and a live
|
|
97
|
+
feed of memory events only (`lanes.ts`; the housekeeping stays on the flow
|
|
98
|
+
tab's feed, and the pulse's live rows are filtered by `registerLiveFeed(id,
|
|
99
|
+
accept)`). The memory count is `views/shared.ts#memoriesLive` — what the
|
|
100
|
+
memories list's "live" chip counts, and what the memories header says; the
|
|
101
|
+
console's `Memories:` (doctor, status, the wake preface) counts memory rows
|
|
102
|
+
only, so the two differ by the people and project cards. Explaining words sit
|
|
103
|
+
behind `?`s; what is pinned survives the pulse's refresh.
|
|
104
|
+
|
|
86
105
|
The home page is the site's hero plus Explorer. `pages/home/brain.js` is the
|
|
87
106
|
three.js brain, imported statically from `shared/vendor/three.module.min.js`
|
|
88
107
|
(0.169.0, MIT, `MIT-three.txt` beside it; never a CDN). It sets
|
|
@@ -96,17 +115,27 @@ narrated, plus a `picture`, both read-only). `mechanisms/picture.js` holds the
|
|
|
96
115
|
pictures' shared pieces. A mechanism built later gets a `panel.js`, one line in
|
|
97
116
|
`PANELS`, and a case in `mechanism-panel.ts`.
|
|
98
117
|
|
|
99
|
-
`pages/memories/` — the memories tab
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
`
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
118
|
+
`pages/memories/` — the memories tab (round 2, 2026-09-26, an experiment:
|
|
119
|
+
brighter = held more firmly, everywhere on the tab). `state.js` holds the
|
|
120
|
+
page's filters (live/archived/all, kind, core, journal, hold, feeling, sort, page
|
|
121
|
+
offset) and notifies the list when a filter changes; a live refresh redraws
|
|
122
|
+
from it and puts the scroll back, and `counterparts:changed` (a window event,
|
|
123
|
+
fired after a note and after a removal on the memory card) makes the page
|
|
124
|
+
re-read at once. `row.js` is the one row shape the list, search hits and Ask's
|
|
125
|
+
answers share. Sections: `search.js` (search by words,
|
|
126
|
+
plus Ask via `act("ask", {json:true})`, its tiers drawn as brightness),
|
|
127
|
+
`tools.js` (write a note, and the back-up/export folder dialog),
|
|
128
|
+
`hold.js` ("How firmly it's held": one bar, firm / settling / fading, from
|
|
129
|
+
`holdOf` in `views/memories.ts`; a part clicked filters the list), `feel.js`
|
|
130
|
+
("How it feels": an SVG radar of the wheel's six cores, yours and mine; an axis or a feeling word clicked filters the list), `list.js` (every
|
|
131
|
+
memory, newest or oldest first, kinds as chips, paged on the server by
|
|
132
|
+
`/api/memories/list` in `views/memories.ts`). `views/memory-words.ts` says how
|
|
133
|
+
a row's words are shown (a date at their front lifted off, journal chapters,
|
|
134
|
+
feelings in words); archive reasons come from `views/archive-words.ts`.
|
|
135
|
+
`shared/memory-marks.{js,css}` are the kind icons and colours, feeling dots,
|
|
136
|
+
the strength meter and the badges, used by the rows and the memory card
|
|
137
|
+
(`shared/memory-modal.js`, whose strength curve comes from `fadeCurve` in
|
|
138
|
+
`views/mechanism-panel.ts`, the Forgetting panel's own maths).
|
|
110
139
|
|
|
111
140
|
`pages/self/`: the self tab (reworked 2026-09-26 as an experiment). The top is
|
|
112
141
|
two columns: the self page on the left (rendered by `markdown.js`, which escapes
|
|
@@ -123,8 +152,8 @@ candidates for the core; the view computes them with
|
|
|
123
152
|
a stacked bar of its parts (`wakeParts`, cut at the lane headings from `self/`),
|
|
124
153
|
with the rebrief button shown disabled ("coming soon", back with the sleep
|
|
125
154
|
work). `sections/journal.js` is a strip of days; a day lists its chapters, a
|
|
126
|
-
chapter opens in place.
|
|
127
|
-
`state.js` holds what is open, so the pulse's `refresh()` (which redraws only
|
|
155
|
+
chapter opens in place. The `?` that holds each explaining line is
|
|
156
|
+
`shared/widgets/tips.js`; `state.js` holds what is open, so the pulse's `refresh()` (which redraws only
|
|
128
157
|
the panels whose data moved) keeps it open. `sections/stories.js` is only
|
|
129
158
|
`storyCard`, opened in the overlay. The view is still `views/mind.ts` / `/api/mind`.
|
|
130
159
|
|
|
@@ -26,8 +26,10 @@
|
|
|
26
26
|
<link rel="stylesheet" href="/shared/widgets/table.css">
|
|
27
27
|
<link rel="stylesheet" href="/shared/widgets/chart.css">
|
|
28
28
|
<link rel="stylesheet" href="/shared/tip.css">
|
|
29
|
+
<link rel="stylesheet" href="/shared/widgets/tips.css">
|
|
29
30
|
<link rel="stylesheet" href="/shared/widgets/light.css">
|
|
30
31
|
<link rel="stylesheet" href="/pages/home/home.css">
|
|
32
|
+
<link rel="stylesheet" href="/shared/memory-marks.css">
|
|
31
33
|
<link rel="stylesheet" href="/pages/memories/memories.css">
|
|
32
34
|
<link rel="stylesheet" href="/pages/self/self.css">
|
|
33
35
|
<link rel="stylesheet" href="/pages/flow/flow.css">
|
|
@@ -447,6 +447,18 @@ export const EVENT_NODE = {
|
|
|
447
447
|
"store.embedder.reconciled": "store",
|
|
448
448
|
// A credited challenge, from either arm (belief or identity element).
|
|
449
449
|
"revision.pressure": "schemas",
|
|
450
|
+
// DREAMING (2026-09-26) is a kind of sleep: an offline pass over what was
|
|
451
|
+
// lived, so every row a dream leaves lights the sleep node. The ask is put to
|
|
452
|
+
// a session, so it lights that one.
|
|
453
|
+
"dream.begun": "sleep",
|
|
454
|
+
"dream.changed": "sleep",
|
|
455
|
+
"dream.journaled": "sleep",
|
|
456
|
+
"dream.undone": "sleep",
|
|
457
|
+
"dream.ask": "session",
|
|
458
|
+
// The owner reaching into the core, like the merge repair: the store's.
|
|
459
|
+
"band.demoted": "store",
|
|
460
|
+
// The v8 upgrade's census runs in the decay phase.
|
|
461
|
+
"physics.upgrade.census": "sleep",
|
|
450
462
|
} as const satisfies Record<DurableEventName, NodeKey>;
|
|
451
463
|
|
|
452
464
|
export function nodeOf(name: string): NodeKey | null {
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which feed a durable event belongs in, and the small icon it carries there
|
|
3
|
+
* (2026-09-26, an experiment).
|
|
4
|
+
*
|
|
5
|
+
* The home page's "Live activity" shows MEMORY events only: something
|
|
6
|
+
* remembered; a memory got stronger, was replaced or was let go; a chapter was
|
|
7
|
+
* written; a session was handed off; the night's sleep, as one line; a reminder
|
|
8
|
+
* fired. Everything else — embed backfills, cursor moves, cue plumbing, the
|
|
9
|
+
* clock, the worker, the copies — is housekeeping, and belongs to the flow tab's
|
|
10
|
+
* feed, which keeps showing the whole durable log.
|
|
11
|
+
*
|
|
12
|
+
* One table, EXHAUSTIVE BY TYPE: a durable event added to the core fails `tsc`
|
|
13
|
+
* here until someone has said which feed it belongs in.
|
|
14
|
+
*/
|
|
15
|
+
import type { DurableEventName } from "../registries.js";
|
|
16
|
+
|
|
17
|
+
export type Lane = "home" | "flow";
|
|
18
|
+
|
|
19
|
+
/** The icon a home line carries, so the feed can be scanned. */
|
|
20
|
+
export type Icon = "remembered" | "stronger" | "replaced" | "faded" | "chapter" | "sleep" | "reminder" | "handoff";
|
|
21
|
+
|
|
22
|
+
type Payload = Record<string, unknown>;
|
|
23
|
+
|
|
24
|
+
/** A lane, or a rule over the payload for the two names whose rows are only
|
|
25
|
+
* sometimes about a memory. */
|
|
26
|
+
type LaneRule = Lane | ((p: Payload) => Lane);
|
|
27
|
+
|
|
28
|
+
const n = (p: Payload, k: string): number => (typeof p[k] === "number" && Number.isFinite(p[k]) ? (p[k] as number) : 0);
|
|
29
|
+
|
|
30
|
+
export const LANES = {
|
|
31
|
+
// ── memory events: home ──
|
|
32
|
+
"gate.deposit": "home",
|
|
33
|
+
"gate.chunk": "home",
|
|
34
|
+
"band.promoted": "home",
|
|
35
|
+
"band.transition": "home",
|
|
36
|
+
"memory.pruned": "home",
|
|
37
|
+
"memory.merged": "home",
|
|
38
|
+
"memory.unmerged": "home",
|
|
39
|
+
"revision.pressure": "home",
|
|
40
|
+
// A session end that strengthened nothing is housekeeping — unless the credit
|
|
41
|
+
// itself failed, which is a real problem about memories and stays home.
|
|
42
|
+
"recall.credit": (p) =>
|
|
43
|
+
n(p, "credited") > 0 || p["reason"] === "failed" || p["reason"] === "budget-exceeded" ? "home" : "flow",
|
|
44
|
+
"journal.copy.written": "home",
|
|
45
|
+
"journal.copy.failed": "home",
|
|
46
|
+
"handoff.written": "home",
|
|
47
|
+
"handoff.cleared": "home",
|
|
48
|
+
"sleep.cycle": "home",
|
|
49
|
+
"prospective.fire": "home",
|
|
50
|
+
"prospective.plain": "home",
|
|
51
|
+
// Dreaming and the core (2026-09-26): a dream that wrote its journal, what
|
|
52
|
+
// it changed, and the owner sending a memory back out of the core are
|
|
53
|
+
// things that happened to memories.
|
|
54
|
+
"dream.journaled": "home",
|
|
55
|
+
"dream.changed": "home",
|
|
56
|
+
"dream.undone": "home",
|
|
57
|
+
"band.demoted": "home",
|
|
58
|
+
// ── housekeeping: flow ──
|
|
59
|
+
"dream.begun": "flow",
|
|
60
|
+
"dream.ask": "flow",
|
|
61
|
+
"physics.upgrade.census": "flow",
|
|
62
|
+
"adapter.ask": "flow",
|
|
63
|
+
"adapter.authorship.ask": "flow",
|
|
64
|
+
"adapter.boundary": "flow",
|
|
65
|
+
"adapter.checkout": "flow",
|
|
66
|
+
"adapter.embed.backfill": "flow",
|
|
67
|
+
"adapter.episode.ask": "flow",
|
|
68
|
+
"adapter.primacy.deliver": "flow",
|
|
69
|
+
"adapter.primacy.standdown": "flow",
|
|
70
|
+
"adapter.recall": "flow",
|
|
71
|
+
"adapter.runner.failed": "flow",
|
|
72
|
+
"adapter.semantic.lag": "flow",
|
|
73
|
+
"adapter.spawn.failed": "flow",
|
|
74
|
+
"adapter.spawn.refused": "flow",
|
|
75
|
+
"adapter.spawn.started": "flow",
|
|
76
|
+
"adapter.wake.delivered": "flow",
|
|
77
|
+
"adapter.wake.injected": "flow",
|
|
78
|
+
"associate.flush": "flow",
|
|
79
|
+
"handoff.refused": "flow",
|
|
80
|
+
"handoff.shown": "flow",
|
|
81
|
+
"mcp.recall": "flow",
|
|
82
|
+
"prospective.fire.refused": "flow",
|
|
83
|
+
"recall.decision": "flow",
|
|
84
|
+
"remember.prune": "flow",
|
|
85
|
+
"self.briefing": "flow",
|
|
86
|
+
"self.page.refused": "flow",
|
|
87
|
+
"self.page.revised": "flow",
|
|
88
|
+
"self.page.writer.ran": "flow",
|
|
89
|
+
"snapshot.failed": "flow",
|
|
90
|
+
"snapshot.rotated": "flow",
|
|
91
|
+
"snapshot.taken": "flow",
|
|
92
|
+
"store.embedder.reconciled": "flow",
|
|
93
|
+
"store.export": "flow",
|
|
94
|
+
"sweep.gate": "flow",
|
|
95
|
+
"sweep.wake": "flow",
|
|
96
|
+
} as const satisfies Record<DurableEventName, LaneRule>;
|
|
97
|
+
|
|
98
|
+
/** The feed a row belongs in. A name nobody mapped goes to flow. */
|
|
99
|
+
export function laneOf(name: string, p: Payload): Lane {
|
|
100
|
+
const rule = (LANES as Record<string, LaneRule | undefined>)[name];
|
|
101
|
+
if (rule === undefined) return "flow";
|
|
102
|
+
return typeof rule === "function" ? rule(p) : rule;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** The icon a row carries, or null for a housekeeping line. */
|
|
106
|
+
export function iconOf(name: string, p: Payload): Icon | null {
|
|
107
|
+
switch (name) {
|
|
108
|
+
case "gate.deposit":
|
|
109
|
+
case "gate.chunk":
|
|
110
|
+
return "remembered";
|
|
111
|
+
case "band.promoted":
|
|
112
|
+
case "recall.credit":
|
|
113
|
+
return "stronger";
|
|
114
|
+
case "band.transition":
|
|
115
|
+
return p["direction"] === "up" ? "stronger" : "faded";
|
|
116
|
+
case "memory.pruned":
|
|
117
|
+
return "faded";
|
|
118
|
+
case "memory.merged":
|
|
119
|
+
case "memory.unmerged":
|
|
120
|
+
case "revision.pressure":
|
|
121
|
+
return "replaced";
|
|
122
|
+
case "journal.copy.written":
|
|
123
|
+
case "journal.copy.failed":
|
|
124
|
+
return "chapter";
|
|
125
|
+
case "handoff.written":
|
|
126
|
+
case "handoff.cleared":
|
|
127
|
+
return "handoff";
|
|
128
|
+
case "sleep.cycle":
|
|
129
|
+
case "dream.journaled":
|
|
130
|
+
case "dream.changed":
|
|
131
|
+
case "dream.undone":
|
|
132
|
+
return "sleep";
|
|
133
|
+
case "band.demoted":
|
|
134
|
+
return "faded";
|
|
135
|
+
case "prospective.fire":
|
|
136
|
+
case "prospective.plain":
|
|
137
|
+
return "reminder";
|
|
138
|
+
default:
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Association. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "association",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Association",
|
|
9
9
|
short: "Association",
|
|
10
10
|
tagline: "Recalling one thing pulls its neighbours along with it.",
|
|
11
|
-
inDev: true,
|
|
12
11
|
explainer: "Memories used together in the same turn get linked, and a link can lift its partner later. It only lifts a memory the conversation already reached; a link cannot bring one to mind by itself.",
|
|
13
12
|
built: ["Memories used together in the same turn get linked after the session."],
|
|
14
13
|
inDevelopment: ["A link only lifts a memory the turn already reached; it cannot bring one to mind on its own.", "Links form only from use, so on most stores there are few."],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Consolidation. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "consolidation",
|
|
@@ -8,8 +8,11 @@ export default {
|
|
|
8
8
|
name: "Consolidation",
|
|
9
9
|
short: "Consolidation",
|
|
10
10
|
tagline: "Memories aren’t saved when they’re made. They’re rebuilt, offline, while you sleep.",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
explainer: "Every time a memory comes back after a gap it fades more slowly — close-together returns count less, never against it. Every few lived days a short “sleep” decides the core: a memory about me or about us joins it when it was strongly felt and came back, or when it kept coming back over weeks, at most three a night.",
|
|
12
|
+
built: [
|
|
13
|
+
"Spaced returns make a memory fade more slowly; a use while it was showing in the wake's “Nearby” lane does not count.",
|
|
14
|
+
"Two lanes into the core, for memories about me or about us, capped at three a night; you can send one back (counterparts core --demote).",
|
|
15
|
+
"Exact duplicates merge at night; near-copies merge in a dream, with the originals kept.",
|
|
16
|
+
],
|
|
17
|
+
inDevelopment: ["Facts, skills and places never become core, however often they come back — that is on purpose."],
|
|
15
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* Consolidation, pictured: memories
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/* Consolidation, pictured: memories about me or about us climbing toward the
|
|
2
|
+
core, and how far along each lane they are — strongly felt and come back once
|
|
3
|
+
(fast), or come back on several separate days over weeks (slow). */
|
|
4
4
|
import { esc } from "../../shared/dom.js";
|
|
5
5
|
import { bar, memLink, nothingYet, two } from "../picture.js";
|
|
6
6
|
|
|
@@ -11,13 +11,13 @@ export function picture(p) {
|
|
|
11
11
|
: '<ul class="pic-climb">' + p.climbing.map((c) =>
|
|
12
12
|
"<li>" + memLink(c, 90) +
|
|
13
13
|
'<div class="pic-two">' +
|
|
14
|
-
'<span class="pic-lab">
|
|
15
|
-
'<span class="pic-lab">
|
|
14
|
+
'<span class="pic-lab">felt ' + two(c.feeling) + " · fast lane needs " + two(p.needFeeling) + (c.returned ? " and it has come back" : " and one return") + "</span>" + bar(c.feeling / p.needFeeling, "#b388ff") +
|
|
15
|
+
'<span class="pic-lab">came back on ' + c.days + (c.days === 1 ? " day" : " days") + " over " + c.span + " · slow lane needs " + p.requiredDays + " over " + p.needSpan + "</span>" + bar(Math.min(c.days / p.requiredDays, c.span / p.needSpan), "#00e5ff") +
|
|
16
16
|
"</div></li>"
|
|
17
17
|
).join("") + "</ul>";
|
|
18
18
|
const made = p.promoted.length === 0 ? "" :
|
|
19
19
|
'<div class="pic-head pic-gap">Recently became core</div><ul class="pic-list">' +
|
|
20
|
-
p.promoted.map((m) => "<li>" + memLink(m, 90) + '<span class="pic-meta">day ' + m.day + "</span></li>").join("") + "</ul>";
|
|
20
|
+
p.promoted.map((m) => "<li>" + memLink(m, 90) + '<span class="pic-meta">day ' + m.day + (m.lane ? " · " + esc(m.lane) + " lane" : "") + "</span></li>").join("") + "</ul>";
|
|
21
21
|
return rows + made +
|
|
22
|
-
'<p class="pic-cap">' + esc(p.core + " core " + (p.core === 1 ? "memory" : "memories") + " now.
|
|
22
|
+
'<p class="pic-cap">' + esc(p.core + " core " + (p.core === 1 ? "memory" : "memories") + " now. Only a memory about me or about us becomes core: strongly felt and come back once after a gap, or come back on " + p.requiredDays + " separate days over " + p.needSpan + ". At most a few a night.") + "</p>";
|
|
23
23
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Decay & forgetting. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "decay",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Decay & forgetting",
|
|
9
9
|
short: "Forgetting",
|
|
10
10
|
tagline: "Forgetting isn’t a failure of memory. It’s one of its jobs.",
|
|
11
|
-
inDev: false,
|
|
12
11
|
explainer: "Unused memories fade over the days you actually work together, not calendar days. Very faint ones are archived, not deleted, and memories in the core identity band do not fade at all.",
|
|
13
12
|
built: ["Unused memories fade on the days you actually work together, and restart the curve when used.", "Very faint ones are archived, never deleted; the core identity band does not fade.", "Cards for people and projects fade gently after months of silence (people slower), and naming one again in a saved memory keeps it or brings it back."],
|
|
14
13
|
inDevelopment: [],
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Dreaming (2026-09-26). `explainer` is what Counterparts actually does
|
|
2
|
+
(`src/core/dream/CONTRACT.md`); `built` / `inDevelopment` in plain words.
|
|
3
|
+
Its light comes from `/api/mechanisms`: a dream is proved by its journal and
|
|
4
|
+
the changes it made. The dream journal itself is on the self page. */
|
|
5
|
+
export default {
|
|
6
|
+
id: "dreaming",
|
|
7
|
+
family: "transformation",
|
|
8
|
+
name: "Dreaming",
|
|
9
|
+
short: "Dreaming",
|
|
10
|
+
tagline: "Asleep, the day is replayed: the near-copies merge, what belongs together links, the sting softens, and a pattern shows.",
|
|
11
|
+
explainer:
|
|
12
|
+
"Once a day, when there is something new, a session asks whether it may dream; if you say yes, a background agent replays what was lived since the last dream beside what it resembles — merging near-copies (the originals kept), linking, replaying what matters, writing a pattern it sees, flagging two memories that disagree, and nominating a memory for the core. It keeps a dream journal, and the whole dream can be undone.",
|
|
13
|
+
built: [
|
|
14
|
+
"The daily ask, the dream itself, and a journal kept apart from lived memory.",
|
|
15
|
+
"Every change a dream makes is recorded and can be undone as a whole.",
|
|
16
|
+
"A dream's words never become a lived memory: they are kept out of the end-of-session sweep.",
|
|
17
|
+
],
|
|
18
|
+
inDevelopment: ["A dream cannot make a memory core itself; only living it again awake does. It nominates."],
|
|
19
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Emotional modulation. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md and emotion part A (2026-09-26);
|
|
3
|
-
`built` / `inDevelopment` are in plain words; `tagline`
|
|
3
|
+
`built` / `inDevelopment` are in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "emotional",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Emotional modulation",
|
|
9
9
|
short: "Emotion",
|
|
10
10
|
tagline: "The moments that mattered are the ones you keep. Feeling is the encoder’s thumb on the scale.",
|
|
11
|
-
inDev: true,
|
|
12
11
|
explainer: "The strongest feeling on a memory, yours or Claude’s, holds it higher and makes it fade more slowly. Memories that felt the way one of you feels now come to mind a little more easily.",
|
|
13
12
|
built: [
|
|
14
13
|
"A memory’s strongest recorded feeling, or its emotional score, lifts it and slows its fading.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Episodic ↔ semantic. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "episodic-semantic",
|
|
@@ -8,8 +8,7 @@ export default {
|
|
|
8
8
|
name: "Episodic ↔ semantic",
|
|
9
9
|
short: "Gist",
|
|
10
10
|
tagline: "“I met her on Tuesday” slowly becomes “I know her” — the event fades, the meaning stays.",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
inDevelopment: ["Nothing yet: memories carry a band label, but nothing distils many sessions into general knowledge."],
|
|
11
|
+
explainer: "Partly built. A dream can write the pattern it sees across several memories as a memory of its own, citing them — it starts lower than anything lived, and rises only if it proves true awake.",
|
|
12
|
+
built: ["A dream's gist: a pattern in its own words, labelled dreamed, linked to what it came from."],
|
|
13
|
+
inDevelopment: ["Nothing distils many sessions into general knowledge while awake, or on a schedule."],
|
|
15
14
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/* The memory mechanisms, in the site's order (counterparts-site
|
|
2
2
|
features/home-v2/content/regions.ts, the two parked ones left out), and the
|
|
3
3
|
four families they are grouped by. One folder per mechanism; each module's
|
|
4
|
-
default export is { id, family, name, short, tagline,
|
|
4
|
+
default export is { id, family, name, short, tagline, explainer,
|
|
5
5
|
built, inDevelopment } (the last two: plain-word bullets).
|
|
6
|
-
Whether it is firing
|
|
6
|
+
Whether it is firing, and how much of it is built (the pill's "partly built"
|
|
7
|
+
tag), come from `/api/mechanisms` — one table, `adapters/mechanism-evidence.ts`.
|
|
7
8
|
|
|
8
9
|
A mechanism with a picture of this store's own data has a `panel.js` beside
|
|
9
10
|
its `index.js` (export `picture(payload)`, pure markup from
|
|
@@ -17,6 +18,7 @@ import retrieval from "./retrieval/index.js";
|
|
|
17
18
|
import association from "./association/index.js";
|
|
18
19
|
import prospective from "./prospective/index.js";
|
|
19
20
|
import consolidation from "./consolidation/index.js";
|
|
21
|
+
import dreaming from "./dreaming/index.js";
|
|
20
22
|
import reconsolidation from "./reconsolidation/index.js";
|
|
21
23
|
import episodic_semantic from "./episodic-semantic/index.js";
|
|
22
24
|
import schema from "./schema/index.js";
|
|
@@ -27,7 +29,7 @@ import * as reconsolidationPanel from "./reconsolidation/panel.js";
|
|
|
27
29
|
import * as retrievalPanel from "./retrieval/panel.js";
|
|
28
30
|
import * as saliencePanel from "./salience/panel.js";
|
|
29
31
|
|
|
30
|
-
export const MECHANISMS = [salience, emotional, decay, interference, retrieval, association, prospective, consolidation, reconsolidation, episodic_semantic, schema];
|
|
32
|
+
export const MECHANISMS = [salience, emotional, decay, interference, retrieval, association, prospective, consolidation, dreaming, reconsolidation, episodic_semantic, schema];
|
|
31
33
|
|
|
32
34
|
/** The pill groups, in the order a memory lives through them — the site's colours. */
|
|
33
35
|
export const FAMILIES = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Interference. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "interference",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Interference",
|
|
9
9
|
short: "Interference",
|
|
10
10
|
tagline: "New memories crowd out old ones. Old ones distort new ones. They compete.",
|
|
11
|
-
inDev: true,
|
|
12
11
|
explainer: "Not built yet. Today only exact duplicates are merged; similar memories sit side by side without competing.",
|
|
13
12
|
built: [],
|
|
14
13
|
inDevelopment: ["Nothing yet: only byte-identical memories merge, and similar ones sit side by side without competing."],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Prospective memory. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "prospective",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Prospective memory",
|
|
9
9
|
short: "Prospective",
|
|
10
10
|
tagline: "Remembering to do something later — the memory that fires itself at the right moment.",
|
|
11
|
-
inDev: true,
|
|
12
11
|
explainer: "A memory can carry a date — a day, a month or a range like late October — and it comes back around then. Most come back quietly, as a footnote; one marked plain is said outright on its day.",
|
|
13
12
|
built: [
|
|
14
13
|
"A note or a session's memories can be given a date, and quiet ones come back as footnotes at most twice per date.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Reconsolidation. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "reconsolidation",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Reconsolidation",
|
|
9
9
|
short: "Reconsolidation",
|
|
10
10
|
tagline: "Recall makes a memory briefly editable. Then it’s re-stored, sometimes rewritten.",
|
|
11
|
-
inDev: false,
|
|
12
11
|
explainer: "When a new memory says it corrects a belief or a core line, that adds pressure, and once enough builds up over several days the old one is revised, with the old version kept for 90 lived days. Remembering alone changes nothing.",
|
|
13
12
|
built: ["When a new memory declares it corrects a belief or a core line, the correction adds pressure; past a bar, over several days for slow kinds, the old one is revised.", "The old version is kept for 90 lived days."],
|
|
14
13
|
inDevelopment: ["Nothing detects a contradiction by itself: the writer has to declare it.", "Just remembering does not change a memory."],
|
|
@@ -13,7 +13,7 @@ export const REGIONS = [
|
|
|
13
13
|
{ key: "amygdala", name: "Amygdala", role: "What matters", col: [1.0, 0.42, 0.52], anchor: [0.42, -0.42, 0.42], active: true,
|
|
14
14
|
mechanisms: ["salience", "emotional"] },
|
|
15
15
|
{ key: "hippocampus", name: "Hippocampus", role: "Making memories last", col: [0.72, 0.53, 1.0], anchor: [0.38, -0.3, -0.2], active: true,
|
|
16
|
-
mechanisms: ["consolidation", "association", "interference"] },
|
|
16
|
+
mechanisms: ["consolidation", "dreaming", "association", "interference"] },
|
|
17
17
|
{ key: "thalamus", name: "Thalamus", role: "What comes to mind", col: [1.0, 0.8, 0.32], anchor: [0.0, 0.05, 0.05], active: true,
|
|
18
18
|
mechanisms: ["retrieval"] },
|
|
19
19
|
{ key: "brainstem", name: "Brainstem", role: "The body clock", col: [0.55, 0.66, 0.85], anchor: [0.0, -0.8, -0.35], active: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Retrieval & strengthening. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "retrieval",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Retrieval & strengthening",
|
|
9
9
|
short: "Retrieval",
|
|
10
10
|
tagline: "Every time you remember something, you make it a little stronger.",
|
|
11
|
-
inDev: false,
|
|
12
11
|
explainer: "As you talk, it checks your words and their meaning for cues, and a few related memories come along. The ones a reply actually opens or quotes get stronger and fade more slowly; being shown alone earns nothing.",
|
|
13
12
|
built: ["Each turn your words, and their meaning from the turn before, cue a few related memories.", "A memory the reply opens or quotes gets stronger and fades more slowly."],
|
|
14
13
|
inDevelopment: ["Just being shown earns a memory nothing."],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Encoding & salience. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "salience",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Encoding & salience",
|
|
9
9
|
short: "Salience",
|
|
10
10
|
tagline: "Not everything that happens is worth keeping. Something has to decide.",
|
|
11
|
-
inDev: false,
|
|
12
11
|
explainer: "Every memory gets an importance score as it is written, set by the AI that lived the conversation, and now also by how new it is next to what is already stored. Small stuff fades fast; what mattered sticks.",
|
|
13
12
|
built: ["Every memory is scored as it is written: importance from the AI that lived the conversation, plus how new it is next to what is already stored (computed locally, no key)."],
|
|
14
13
|
inDevelopment: ["Novelty is blank while the store has no neighbours yet.", "Diary entries become memories without this scoring, by design."],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Schema & assimilation. `explainer` is what Counterparts actually does, checked against
|
|
2
2
|
docs/research/mechanism-audit-2026-09-24.md; `built` / `inDevelopment` are the
|
|
3
|
-
audit plus #215/#218/#220, in plain words; `tagline`
|
|
3
|
+
audit plus #215/#218/#220, in plain words; `tagline` is the
|
|
4
4
|
site's (regions.ts). Its light comes from `/api/mechanisms`. */
|
|
5
5
|
export default {
|
|
6
6
|
id: "schema",
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
name: "Schema & assimilation",
|
|
9
9
|
short: "Schemas",
|
|
10
10
|
tagline: "New facts don’t land on blank ground. They’re folded into what you already believe.",
|
|
11
|
-
inDev: true,
|
|
12
11
|
explainer: "Not built yet. It keeps cards for the people and projects it knows, but does not form beliefs about them from many memories.",
|
|
13
12
|
built: ["Cards for the people, projects and places it knows, which fade and come back with use."],
|
|
14
13
|
inDevelopment: ["Beliefs about them, weighed against new evidence, have no live producer yet."],
|