counterparts 0.3.40 → 0.3.41
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 +29 -0
- package/package.json +1 -1
- package/src/adapters/dashboard/registries.ts +3 -0
- package/src/adapters/dashboard/web/flow.ts +2 -0
- package/src/adapters/dashboard/web/lanes.ts +1 -0
- package/src/adapters/dashboard/web/narrate.ts +19 -0
- package/src/adapters/fired.ts +1 -1
- package/src/adapters/mcp/NOTES.md +59 -0
- package/src/adapters/mcp/server-words.ts +1 -1
- package/src/adapters/mcp/server.ts +15 -7
- package/src/adapters/mcp/tools.ts +23 -5
- package/src/adapters/remote/NOTES.md +2 -1
- package/src/adapters/update-check.ts +1 -1
- package/src/core/counterpart-events.ts +5 -1
- package/src/core/counterpart.ts +65 -7
- package/src/core/onboarding.ts +35 -7
- package/src/core/recall/CONTRACT.md +23 -2
- package/src/core/recall/NOTES.md +101 -0
- package/src/core/recall/activate.ts +188 -31
- package/src/core/recall/gate.ts +8 -2
- package/src/core/recall/index.ts +52 -11
- package/src/core/recall/prime.ts +7 -1
- package/src/core/recall/rated.ts +1 -1
- package/src/core/recall/render.ts +15 -2
- package/src/core/recall/session.ts +8 -4
- package/src/core/recall/tunables.ts +34 -4
- package/src/core/schemas/NOTES.md +8 -0
- package/src/core/schemas/tunables.ts +6 -1
- package/src/core/self/work.ts +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.41 — 2026-10-30
|
|
4
|
+
|
|
5
|
+
A memory that names another memory by its id now brings that one along: when a note about a rule comes to mind, the rule shows beside it as a `See also:` line (at most two a turn, and the first lines to go when room is tight). Recall no longer lifts a memory just for being near the session's recent talk, so there should be fewer loosely related footnotes. In the first meeting, a question step sent without an answer is no longer shown as failed, and the meeting's last step is now called `origin`. The night sorts up to 30 cards into people, projects, places and topics, up from 10. No store-format change (store v15, cache v7), and nothing to run after upgrading beyond the usual restart of the dashboard and every Claude Code session. Going back to 0.3.40 needs no store restore: `counterparts disconnect`, 0.3.40's install, then `counterparts connect`.
|
|
6
|
+
|
|
7
|
+
- **A memory that names another by its id brings it along.** When a memory that comes to mind
|
|
8
|
+
mentions another memory's id (a note about a rule, say, that names the rule), that memory
|
|
9
|
+
shows beside it as one `See also:` line, if nothing else keeps it back. Used, it learns the
|
|
10
|
+
words that brought it, so next time it can come back on its own. At most two a turn, kept
|
|
11
|
+
short, and the first lines to go when room is tight.
|
|
12
|
+
- **Recall no longer lifts a memory just for being near the session's recent talk.** The "train of
|
|
13
|
+
thought" head start is off: memories it lifted were rated the least useful of any group. Memories
|
|
14
|
+
linked to what the session used, wrote or has open here, and those sharing its tags, still get
|
|
15
|
+
their head start.
|
|
16
|
+
- **In the first meeting, a question step sent without an answer no longer shows as "Failed".** It now comes back as
|
|
17
|
+
a plain note that nothing was stored, and that starting the meeting needs no call, instead of an error.
|
|
18
|
+
- **The first meeting's last question no longer looks like "the meeting has started".** Its step is now called
|
|
19
|
+
`origin` (the old name `started` still works with an answer), the script says that choosing "Now" needs no call, and
|
|
20
|
+
a bare call to it gets plain words saying the meeting begins with `meet` and no step.
|
|
21
|
+
- **The night sorts three times as many cards.** Each night's tagging step now asks which kind
|
|
22
|
+
(person, project, place or topic) up to 30 cards are, up from 10, so the cards waiting for a kind
|
|
23
|
+
stop piling up.
|
|
24
|
+
- **The wake's project line leaves a record.** Each session start in a project's folder now records
|
|
25
|
+
whether that line showed, and if not why (no belief strong enough yet, or no room), with its size
|
|
26
|
+
and which beliefs it showed. Ids and counts only, never the text.
|
|
27
|
+
- **On claude.ai and Claude Desktop, Memory status is no longer marked read-only.** A status call there that names its
|
|
28
|
+
conversation updates that conversation's record, so the read-only label wasn't true; in Claude Code it still is.
|
|
29
|
+
- **Hosted: a sign-in or account page left open across a server update still works.** The forms' key now comes from
|
|
30
|
+
the server's cookie keys, so an update no longer answers "This form expired"; only a deliberate key rotation does.
|
|
31
|
+
|
|
3
32
|
## 0.3.40 — 2026-10-29
|
|
4
33
|
|
|
5
34
|
Open items nobody has touched for two weeks are now parked: they leave the wake's "Still open", which says how many are parked (`· 12 parked`), and nothing is deleted or closed. `recall "still open"` still lists every one (the parked last, marked), a question about one still finds it, and using one again brings it back. Items with a date still to come, a `settlesWhen`, or `status: "asked"` (a question or request still waiting) are never parked. The first wake after upgrading may count a lot of parked items at once on a store that has gathered many; that's the backlog of two-week-old threads, all still there. `counterparts doctor` has an Open items line. No store-format change (store v15, cache v7), and nothing to run after upgrading beyond the usual restart of the dashboard and every Claude Code session. Going back to 0.3.39 needs no store restore: `counterparts disconnect`, 0.3.39's install, then `counterparts connect`.
|
package/package.json
CHANGED
|
@@ -91,6 +91,7 @@ import {
|
|
|
91
91
|
SELF_PAGE_REVISED_EVENT,
|
|
92
92
|
SELF_PAGE_WRITER_EVENT,
|
|
93
93
|
WORK_OVERFLOW_EVENT,
|
|
94
|
+
PROJECT_LINE_EVENT,
|
|
94
95
|
} from "../../core/self/index.js";
|
|
95
96
|
// The per-directory handoff's four, from `handoff/` itself (2026-09-20, E1):
|
|
96
97
|
// working context for a place is not a memory, so its rows are its own.
|
|
@@ -222,6 +223,7 @@ export type DurableEventName =
|
|
|
222
223
|
| typeof ENVELOPE_GAVE_WAY_EVENT
|
|
223
224
|
| typeof INJECTION_OVERBUDGET_EVENT
|
|
224
225
|
| typeof WORK_OVERFLOW_EVENT
|
|
226
|
+
| typeof PROJECT_LINE_EVENT
|
|
225
227
|
| typeof CHECKOUT_EVENT
|
|
226
228
|
| typeof SNAPSHOT_TAKEN_EVENT
|
|
227
229
|
| typeof SNAPSHOT_FAILED_EVENT
|
|
@@ -339,6 +341,7 @@ export const DURABLE_EVENTS = {
|
|
|
339
341
|
"handoff.lasthere.noroom": "a session start had no room for the \"Last here\" line naming the chapter last written in that project, or the later session that wrote none (the bundle's bytes, the ceiling, and whether a handoff was carried in its place)",
|
|
340
342
|
// Durable since 2026-10-02: "Work here" had more lines than the wake carried.
|
|
341
343
|
"self.work.overflow": "a session start had more \"Work here\" lines for its project than it carried — more than the wake shows, so they rotate, or fewer fitted the room (how many, how many shown)",
|
|
344
|
+
"self.project.line": "a session start in a project's folder had the wake's project line to give: whether it showed, and if not why (no belief above the floor, no room), its bytes and the beliefs it showed",
|
|
342
345
|
"recall.credit": "a boundary decided which memories the replies actually used, and credited them",
|
|
343
346
|
// Ratings (2026-10-14; Mike's call). Since 2026-10-19 an experiment counts them as use.
|
|
344
347
|
"recall.rated": "a session scored the memories it was shown, 0 to 3 (by lane, whether each was also drawn on, and how many of the footnotes since its last rating it scored) — and, an experiment since 2026-10-19, what the scores credited and linked",
|
|
@@ -389,6 +389,8 @@ export const EVENT_NODE = {
|
|
|
389
389
|
// The wake's "Work here" lines, and what an envelope could not carry
|
|
390
390
|
// (2026-10-02): all of it is the wake's delivery.
|
|
391
391
|
"self.work.overflow": "wake",
|
|
392
|
+
// The wake's project line (the 10-29 read): the wake's delivery too.
|
|
393
|
+
"self.project.line": "wake",
|
|
392
394
|
"adapter.envelope.overcap": "wake",
|
|
393
395
|
"adapter.notice.dropped": "wake",
|
|
394
396
|
"adapter.envelope.gave-way": "wake",
|
|
@@ -123,6 +123,7 @@ export const LANES = {
|
|
|
123
123
|
"handoff.refused": "flow",
|
|
124
124
|
"handoff.lasthere.noroom": "flow",
|
|
125
125
|
"self.work.overflow": "flow",
|
|
126
|
+
"self.project.line": "flow",
|
|
126
127
|
"adapter.envelope.overcap": "flow",
|
|
127
128
|
"adapter.notice.dropped": "flow",
|
|
128
129
|
"adapter.envelope.gave-way": "flow",
|
|
@@ -763,6 +763,22 @@ export const NARRATORS = {
|
|
|
763
763
|
return calm(`This project has more work than one wake shows: ${num(shown, 0)} of ${num(found, 0)} "Work here" lines shown, and the rest take turns.`);
|
|
764
764
|
},
|
|
765
765
|
|
|
766
|
+
"self.project.line": (t) => {
|
|
767
|
+
const lines = n(t, "lines") ?? 0;
|
|
768
|
+
const why = s(t, "reason") ?? "shown";
|
|
769
|
+
if (why === "shown") return calm(`This wake carried the project line: ${num(lines, 0)} ${lines === 1 ? "belief" : "beliefs"} about this folder's project.`);
|
|
770
|
+
const held = n(t, "held") ?? 0;
|
|
771
|
+
if (why === "below-floor") {
|
|
772
|
+
if (held === 0) return calm("This folder's project holds no beliefs yet, so the wake had no project line to give.");
|
|
773
|
+
return calm(`This folder's project holds ${num(held, 0)} ${held === 1 ? "belief" : "beliefs"}, none strong enough yet for the wake's project line.`);
|
|
774
|
+
}
|
|
775
|
+
// No room: at the reported ceiling, or inside the line's own byte budget
|
|
776
|
+
// (`WAKE_PROJECT_LINE_BYTES`); a wake with no reported ceiling records 0.
|
|
777
|
+
const budget = n(t, "budget") ?? 0;
|
|
778
|
+
if (why === "no-room") return calm(`There was no room in this wake for the project line, so it was left off${budget > 0 ? ` (the wake was ${num(n(t, "was") ?? 0, 0)} bytes, its ceiling ${num(budget, 0)})` : ""}.`);
|
|
779
|
+
return calm("The wake's project line had nowhere to go in this wake, so it was left off.");
|
|
780
|
+
},
|
|
781
|
+
|
|
766
782
|
// ── what a delivery could not carry (durable since 2026-10-02) ─────────────
|
|
767
783
|
"adapter.envelope.overcap": (t) =>
|
|
768
784
|
amber(`A hook's output came to ${num(n(t, "chars") ?? 0, 0)} characters, past the host's cap of ${num(n(t, "limitChars") ?? 0, 0)}, so the host showed only a preview of it.`),
|
|
@@ -1249,6 +1265,9 @@ export const REF_KIND = {
|
|
|
1249
1265
|
"adapter.injection.overbudget": "none",
|
|
1250
1266
|
// A directory's work lines are counted; the row names no memory.
|
|
1251
1267
|
"self.work.overflow": "none",
|
|
1268
|
+
// The project line's ref is the project card, not a memory; the belief ids
|
|
1269
|
+
// it showed are in its payload.
|
|
1270
|
+
"self.project.line": "none",
|
|
1252
1271
|
// Both prospective rows point at the MEMORY whose window it is: the window
|
|
1253
1272
|
// key is a derived address on that row, not an entity of its own.
|
|
1254
1273
|
"prospective.fire": "memory",
|
package/src/adapters/fired.ts
CHANGED
|
@@ -954,7 +954,7 @@ export const MECHANISMS: readonly Mechanism[] = [
|
|
|
954
954
|
// A "Last here" line dropped for room (durable since 2026-10-01) rides with
|
|
955
955
|
// the delivery it was turned away from, as `no-room` rides with writing;
|
|
956
956
|
// so does a "Work here" overflow (2026-10-02).
|
|
957
|
-
covers: ["handoff.lasthere.noroom", "self.work.overflow"],
|
|
957
|
+
covers: ["handoff.lasthere.noroom", "self.work.overflow", "self.project.line"],
|
|
958
958
|
since: "2026-09-20",
|
|
959
959
|
},
|
|
960
960
|
{
|
|
@@ -1921,3 +1921,62 @@ its own small PR, after a look at its live use.
|
|
|
1921
1921
|
- **What it can't see.** A newer writer that migrated the store but hasn't published a wake yet leaves the old stamp
|
|
1922
1922
|
(or none), so the words fall back to what they said before: reload when the record is newer. Unmeasured how often
|
|
1923
1923
|
a migration lands without a wake following it in the same process.
|
|
1924
|
+
|
|
1925
|
+
## 2026-10-29 — `meet`'s `started` step is `origin` now (H1)
|
|
1926
|
+
|
|
1927
|
+
- **The misread.** On Mike's first hosted meeting, claude.ai's Claude, right after he picked "Now (about 5 minutes)",
|
|
1928
|
+
called `meet {session, step: "started"}` with no answer: it read the step as "the meeting has started". It got
|
|
1929
|
+
`answer-required`, and he saw a red Failed card.
|
|
1930
|
+
- **Renamed, because nothing held the old name hard.** The only stored trace is the `onboarding.answers` meta row
|
|
1931
|
+
(`{ <step>: <memory id> }`), read by `ahaDue` alone, which already keeps a list of old step names for exactly this
|
|
1932
|
+
(0.3.18/0.3.19's `loved`, `outside`, ...). `started` joins it beside `origin`. The memories carry no step name; the
|
|
1933
|
+
dashboard, the sidebar and the plugin bundle never name a step. `MEET_STATES`' `not_started` is unrelated.
|
|
1934
|
+
- **The old name is still taken, never offered.** `MEET_STEP_ALIASES` serves `started` as `origin` (a meeting in flight
|
|
1935
|
+
across the deploy, an older script); the schema's enum lists only `origin`, since the enum is what invited the
|
|
1936
|
+
misread. An answer sent as `started` is recorded and answered as `origin`.
|
|
1937
|
+
One window, accepted: a client still holding the old tool list has no `origin` in its enum while the new script
|
|
1938
|
+
names it; a client that checks step names before sending can still send `started` with an answer (the alias).
|
|
1939
|
+
- **A bare `origin`/`started` gets its own refusal** (`begins-without-step`, `ORIGIN_WITHOUT_ANSWER`): the meeting
|
|
1940
|
+
begins with `meet` and no step, and Now records nothing. Every other bare question keeps `answer-required`. The
|
|
1941
|
+
script's opening says so too ("Now → no meet call: go on to the next step"): the root of the misread was that Now
|
|
1942
|
+
had no instruction while Later had a call.
|
|
1943
|
+
- It is still a refusal (`isError`), so a client that draws refusals red still will; the words are what changed.
|
|
1944
|
+
(Superseded the same day by H1b, below.)
|
|
1945
|
+
|
|
1946
|
+
## 2026-10-29 — a bare answer step is not an error (H1b)
|
|
1947
|
+
|
|
1948
|
+
- **Why.** claude.ai draws every error result as a red "Failed" card, so H1's reworded refusal still showed one.
|
|
1949
|
+
- **What changed.** Every answer step (`ANSWER_STEPS`, and the `started` alias) sent with no answer, or a blank one,
|
|
1950
|
+
now returns an ordinary result: the text is `MEET_NO_ANSWER` ("Nothing stored: no answer came with this step. ..."),
|
|
1951
|
+
and `structuredContent` is `{ step, stored: 0, meet, where, style, next }`. `stored: 0` is the count shape the
|
|
1952
|
+
answered steps already use (`stored: 1`), and there is no `recorded`, so neither words nor fields read as a save.
|
|
1953
|
+
It replaces `answer-required` and `begins-without-step` for these cases only; `address` with no answer, an unknown
|
|
1954
|
+
step, a bad `style`, the night run and an observer still refuse as before.
|
|
1955
|
+
- **Not progress either.** The check sits before the offer mark, so a bare step on a meeting nobody has read leaves
|
|
1956
|
+
`not_started` as it was (before, a refusal there still marked it `offered`). It writes no memory, no
|
|
1957
|
+
`onboarding.answers` entry (so `ahaDue` has nothing new to pace), and no `mcp.meet.step` event; it emits
|
|
1958
|
+
`mcp.meet.unanswered`, which is not durable. The one row it may touch is `onboarding.active`, the hold that any
|
|
1959
|
+
`meet` call in a session sets: the meeting really is still going.
|
|
1960
|
+
- **What the hosted request log loses.** It records a refusal's `reason`; these calls are now `ok` with no reason,
|
|
1961
|
+
so a bare step no longer shows there as a refusal. Accepted: it isn't one.
|
|
1962
|
+
|
|
1963
|
+
## 2026-10-29 — readOnlyHint on a chat's copy (H1)
|
|
1964
|
+
|
|
1965
|
+
- **The ask.** claude.ai asked Mike once per tool on first use. The brief: check `status`, `self_page` and `wake`
|
|
1966
|
+
against `annotate`'s contract (read-only = never changes the store, a file or a setting), and claim nothing about
|
|
1967
|
+
claude.ai that can't be tested.
|
|
1968
|
+
- **`self_page` stays false**: one tool reads and writes (`body`), and an annotation is per tool. **`wake` stays false**:
|
|
1969
|
+
it mints a session. **`recall` stays false**: its use credit is a real write.
|
|
1970
|
+
- **`status` was not honest on a chat host.** Checked through the claude.ai HTTP door with a snapshot of every table in
|
|
1971
|
+
both databases and every file under the store: a `status` naming no session changes nothing, but a `status` that
|
|
1972
|
+
names its session, which the chat copy's schema offers and the unbound result's `bindNote` asks for, rewrites that
|
|
1973
|
+
session's record (`afterDesktopCall` -> `touchDesktopSession`: liveness and the write-up pacer, which decides a later
|
|
1974
|
+
call's `writeUpAsk`). That is a file a later call reads, not telemetry. Desktop's tests pin that a named `status`
|
|
1975
|
+
refreshes and counts (`desktop-chat.test.ts`, review of #294), so the write is by design and the hint was wrong.
|
|
1976
|
+
- **So a chat's copy of a read-only tool is not read-only** (`tools.ts#chatAnnotations`, in `withDesktopSession` and
|
|
1977
|
+
`withClaudeAiSession`): claude.ai and Desktop now mark no tool read-only, and Claude Code's `status`, which takes
|
|
1978
|
+
no session and touches nothing (tested the same way), keeps `readOnlyHint: true`. The other road, a `status` that
|
|
1979
|
+
moves no record, would change Desktop's pacing on purpose and was left alone.
|
|
1980
|
+
- **Not tested, not claimed:** whether claude.ai skips a permission prompt for a read-only tool at all. Nothing here can
|
|
1981
|
+
observe claude.ai's prompts. If Mike was asked about Memory status too on that first use, the hint wasn't what
|
|
1982
|
+
decided it. The real fix for the prompts (an "Always allow" line on the setup page) is the site's.
|
|
@@ -21,7 +21,7 @@ export const SERVER_NAME = "counterparts";
|
|
|
21
21
|
* host decides whether to trust what follows. Read from a constant rather than
|
|
22
22
|
* from disk so the server opens no file to answer its first message.
|
|
23
23
|
*/
|
|
24
|
-
export const SERVER_VERSION = "0.3.
|
|
24
|
+
export const SERVER_VERSION = "0.3.41";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* THE ONE LINE EVERY TOOL ANSWERS WITH when the store on disk is a schema AHEAD
|
|
@@ -97,11 +97,14 @@ import { coreNewer, newerStoreRemedy } from "../update-words.js";
|
|
|
97
97
|
import type { NewerStoreInput } from "../update-words.js";
|
|
98
98
|
import {
|
|
99
99
|
MEET_STEPS,
|
|
100
|
+
ANSWER_STEPS,
|
|
101
|
+
MEET_NO_ANSWER,
|
|
100
102
|
STYLE_CHOICES,
|
|
101
103
|
addressMemory,
|
|
102
104
|
answerText,
|
|
103
105
|
finishText,
|
|
104
106
|
meetState,
|
|
107
|
+
meetStepOf,
|
|
105
108
|
meetingHold,
|
|
106
109
|
meetingInstructions,
|
|
107
110
|
noteActive,
|
|
@@ -1556,7 +1559,7 @@ export class McpServer {
|
|
|
1556
1559
|
* script and the state, and the offer is recorded (`offered`), so neither
|
|
1557
1560
|
* the wake's line nor the mod offers it again today. With a step:
|
|
1558
1561
|
*
|
|
1559
|
-
* - an answer (name,
|
|
1562
|
+
* - an answer (name, week, work, love, saturday, origin) becomes ONE
|
|
1560
1563
|
* memory through `remember`'s own door — about the owner, said by the
|
|
1561
1564
|
* owner, marked "(from onboarding)" — and its id is kept for the second
|
|
1562
1565
|
* session's line; a skipped question is never sent, so nothing is stored;
|
|
@@ -1585,7 +1588,8 @@ export class McpServer {
|
|
|
1585
1588
|
const named = typeof args["session"] === "string" ? args["session"].trim() : "";
|
|
1586
1589
|
const session = (named.length > 0 && this.corroborate(named) ? named : null) ?? this.session ?? this.hostSession() ?? UNBOUND_SESSION;
|
|
1587
1590
|
const on = this.today();
|
|
1588
|
-
|
|
1591
|
+
// An old step name is served as its new one (`started` is `origin`, H1).
|
|
1592
|
+
const step = meetStepOf(args["step"]);
|
|
1589
1593
|
// EVERY CALL IS THE MEETING STILL GOING (2026-10-12, onboarding round 1, A):
|
|
1590
1594
|
// while it is, this session's write-up ask and the day's dream wait.
|
|
1591
1595
|
if (!this.observer && session !== UNBOUND_SESSION) {
|
|
@@ -1622,11 +1626,18 @@ export class McpServer {
|
|
|
1622
1626
|
if (typeof step !== "string" || !(MEET_STEPS as readonly string[]).includes(step)) {
|
|
1623
1627
|
return this.refuse("meet", "step-unknown", { detail: `step is one of ${MEET_STEPS.join(", ")} — or omit it for the script.` });
|
|
1624
1628
|
}
|
|
1629
|
+
const answer = typeof args["answer"] === "string" ? args["answer"].trim() : "";
|
|
1630
|
+
// AN ANSWER STEP WITH NO ANSWER (H1b): not an error (claude.ai draws those
|
|
1631
|
+
// as a red Failed card), and not progress either: it comes before the
|
|
1632
|
+
// offer mark, so it moves no meeting state, and nothing is written.
|
|
1633
|
+
if (answer.length === 0 && (ANSWER_STEPS as readonly string[]).includes(step as string)) {
|
|
1634
|
+
this.emit("mcp.meet.unanswered", undefined, { step });
|
|
1635
|
+
return { content: [{ type: "text", text: MEET_NO_ANSWER }], structuredContent: { step, stored: 0, ...onboardingView(store), next: MEET_NO_ANSWER } };
|
|
1636
|
+
}
|
|
1625
1637
|
// A step taken is an offer made: the mod and the wake stop offering.
|
|
1626
1638
|
// An answer after a "later" is the meeting resumed: offered again, so it holds.
|
|
1627
1639
|
const before = meetState(store);
|
|
1628
1640
|
if (before === "not_started" || (before === "later" && step !== "later" && step !== "skipped" && step !== "done")) noteOffered(store, { on, session, state: true });
|
|
1629
|
-
const answer = typeof args["answer"] === "string" ? args["answer"].trim() : "";
|
|
1630
1641
|
const done = (extra: Record<string, unknown>): ToolResult => {
|
|
1631
1642
|
this.emit("mcp.meet.step", undefined, { step, stored: typeof extra["stored"] === "number" ? extra["stored"] : null });
|
|
1632
1643
|
return this.result({ recorded: step, ...onboardingView(store), ...extra }, false);
|
|
@@ -1684,10 +1695,7 @@ export class McpServer {
|
|
|
1684
1695
|
return done({ stored: ids.length, ids });
|
|
1685
1696
|
}
|
|
1686
1697
|
default: {
|
|
1687
|
-
// An answer: name,
|
|
1688
|
-
if (answer.length === 0) {
|
|
1689
|
-
return this.refuse("meet", "answer-required", { detail: "Send the answer, in your words. A skipped question is never sent: nothing is stored for it." });
|
|
1690
|
-
}
|
|
1698
|
+
// An answer: name, week, work, love, saturday, origin (a bare one was answered above).
|
|
1691
1699
|
const text = step === "name" ? `They like to be called ${answer}.` : answer;
|
|
1692
1700
|
const ids = await this.meetWrite([answerText(text)]);
|
|
1693
1701
|
if (ids[0] !== undefined) recordAnswer(store, step as AnswerStep, ids[0]);
|
|
@@ -188,7 +188,9 @@ export interface ToolSpec {
|
|
|
188
188
|
* them for safety — but they are kept true to the code:
|
|
189
189
|
*
|
|
190
190
|
* - `readOnlyHint` is true only for a tool that never changes the store, a file
|
|
191
|
-
* or a setting.
|
|
191
|
+
* or a setting. A chat host's copy of a tool takes `session`, and a call that
|
|
192
|
+
* names it touches that session's record, so no chat copy is read-only
|
|
193
|
+
* (`chatAnnotations`). Diagnostic events (the ring, the adapter-event telemetry
|
|
192
194
|
* rows every tool may leave) do not count as a change; anything a later
|
|
193
195
|
* strengthening, fading or wake reads does — so `recall` is NOT read-only:
|
|
194
196
|
* what it delivers is recorded for this session (`Counterpart#noteAsked`, a
|
|
@@ -956,8 +958,11 @@ const STATUS: ToolSpec = {
|
|
|
956
958
|
],
|
|
957
959
|
privileges: [
|
|
958
960
|
{
|
|
959
|
-
|
|
960
|
-
|
|
961
|
+
// Not "writes nothing" (review of #679): on a chat host a call naming its
|
|
962
|
+
// session refreshes that session's record, which is why the chat copy is
|
|
963
|
+
// not read-only (`chatAnnotations`). The claim is every host's, so it says that.
|
|
964
|
+
claim: "It writes no memory and trains nothing; on a chat host, a call naming its session refreshes that session's record.",
|
|
965
|
+
mechanizedBy: "src/adapters/mcp/server.ts#census (Store reads only) + src/adapters/mcp/server.ts#afterDesktopCall -> src/adapters/sessions.ts#touchDesktopSession",
|
|
961
966
|
},
|
|
962
967
|
{
|
|
963
968
|
claim:
|
|
@@ -2096,11 +2101,24 @@ const DESKTOP_SESSION_PROPERTY = {
|
|
|
2096
2101
|
"This chat's session id from the wake tool — or, in a Claude Code session (Desktop's Code tab), the id your wake or Stop ask names. Pass it on every call, so the call is filed under your own session and not the most recent Desktop chat's.",
|
|
2097
2102
|
};
|
|
2098
2103
|
|
|
2104
|
+
/**
|
|
2105
|
+
* A CHAT'S COPY OF A READ-ONLY TOOL IS NOT READ-ONLY (H1, 2026-10-29). A call
|
|
2106
|
+
* that names its chat session refreshes that session's record and moves its
|
|
2107
|
+
* write-up pacer (`mcp/server.ts#afterDesktopCall` -> `sessions.ts#touchDesktopSession`),
|
|
2108
|
+
* a file a later call reads (whether it carries the write-up ask). So the copy
|
|
2109
|
+
* that gains `session` loses `readOnlyHint` (and `idempotentHint`: each named
|
|
2110
|
+
* call counts). Only `status` is read-only to begin with; Claude Code's `status`,
|
|
2111
|
+
* which takes no session, keeps it.
|
|
2112
|
+
*/
|
|
2113
|
+
function chatAnnotations(a: ToolAnnotations): ToolAnnotations {
|
|
2114
|
+
return a.readOnlyHint ? { ...a, readOnlyHint: false, idempotentHint: false } : a;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2099
2117
|
function withDesktopSession(spec: ToolSpec): ToolSpec {
|
|
2100
2118
|
const schema = spec.inputSchema as { properties?: Record<string, unknown> };
|
|
2101
2119
|
const properties = schema.properties ?? {};
|
|
2102
2120
|
if ("session" in properties) return spec;
|
|
2103
|
-
return { ...spec, inputSchema: { ...spec.inputSchema, properties: { ...properties, session: DESKTOP_SESSION_PROPERTY } } };
|
|
2121
|
+
return { ...spec, annotations: chatAnnotations(spec.annotations), inputSchema: { ...spec.inputSchema, properties: { ...properties, session: DESKTOP_SESSION_PROPERTY } } };
|
|
2104
2122
|
}
|
|
2105
2123
|
|
|
2106
2124
|
/**
|
|
@@ -2221,7 +2239,7 @@ function withClaudeAiSession(spec: ToolSpec): ToolSpec {
|
|
|
2221
2239
|
const schema = spec.inputSchema as { properties?: Record<string, unknown> };
|
|
2222
2240
|
const properties = schema.properties ?? {};
|
|
2223
2241
|
if ("session" in properties) return spec;
|
|
2224
|
-
return { ...spec, inputSchema: { ...spec.inputSchema, properties: { ...properties, session: CLAUDE_AI_SESSION_PROPERTY } } };
|
|
2242
|
+
return { ...spec, annotations: chatAnnotations(spec.annotations), inputSchema: { ...spec.inputSchema, properties: { ...properties, session: CLAUDE_AI_SESSION_PROPERTY } } };
|
|
2225
2243
|
}
|
|
2226
2244
|
|
|
2227
2245
|
/**
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
moved up whole), and no dream line — its nights are the person's routine. Its tool
|
|
34
34
|
words describe and never command: the directory's review refuses "call this first",
|
|
35
35
|
so wake-first lives in the person's instruction block. Its one MCP prompt is "Wake
|
|
36
|
-
Counterparts" (the + menu). readOnly stays on Memory status alone
|
|
36
|
+
Counterparts" (the + menu). readOnly stays on Memory status alone (since H1, 2026-10-29,
|
|
37
|
+
not even there: see mcp NOTES "readOnlyHint on a chat's copy"): recall records what
|
|
37
38
|
it delivered (a gate record the credit pass reads) and wake mints a session, so the
|
|
38
39
|
hint would be stretched; the honest route to a read-only recall is one that records
|
|
39
40
|
nothing (an observer read), which is a design change, not an annotation.
|
|
@@ -63,7 +63,7 @@ import { PLUGIN_UPDATE_COMMUNITY, PLUGIN_UPDATE_STEP, PLUGIN_UPDATE_SYNCED, npmU
|
|
|
63
63
|
* 30 days old from this alone, with nothing fetched. `test/update-check.test.ts`
|
|
64
64
|
* holds it to CHANGELOG's heading for `SERVER_VERSION` once there is one.
|
|
65
65
|
*/
|
|
66
|
-
export const RELEASE_DATE = "2026-10-
|
|
66
|
+
export const RELEASE_DATE = "2026-10-30";
|
|
67
67
|
|
|
68
68
|
export const UPDATE_CHECK_ENV = "COUNTERPARTS_UPDATE_CHECK";
|
|
69
69
|
export const NONESSENTIAL_TRAFFIC_ENV = "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC";
|
|
@@ -961,7 +961,8 @@ function tierRows(
|
|
|
961
961
|
id: string;
|
|
962
962
|
sal: number | null;
|
|
963
963
|
activation: number | null;
|
|
964
|
-
via?: "link";
|
|
964
|
+
via?: "link" | "see-also";
|
|
965
|
+
seeAlso?: { readonly by: string };
|
|
965
966
|
habituated?: true;
|
|
966
967
|
competed?: { readonly with: string; readonly factor: number };
|
|
967
968
|
primed?: { link: number; train: number; from: readonly string[]; lifted?: true; tag?: number; by?: "link" | "tag" | "train"; top?: string };
|
|
@@ -977,6 +978,9 @@ function tierRows(
|
|
|
977
978
|
sal: v?.sal ?? null,
|
|
978
979
|
activation: v?.activation ?? null,
|
|
979
980
|
...(v?.via === undefined ? {} : { via: v.via }),
|
|
981
|
+
// And a memory brought along because a shown one names its id
|
|
982
|
+
// (see-also, 2026-10-29): which one named it, so a rating joins to it.
|
|
983
|
+
...(v?.seeAlso === undefined ? {} : { seeAlso: v.seeAlso }),
|
|
980
984
|
...(v?.habituated === true ? { habituated: true as const } : {}),
|
|
981
985
|
// And the older of an unsettled pair shown although it competed (E3,
|
|
982
986
|
// 2026-10-24): which newer, and the weight its activation counted at.
|
package/src/core/counterpart.ts
CHANGED
|
@@ -165,6 +165,7 @@ import {
|
|
|
165
165
|
spliceBeforeSentinel,
|
|
166
166
|
withHeadFields,
|
|
167
167
|
WORK_OVERFLOW_EVENT,
|
|
168
|
+
PROJECT_LINE_EVENT,
|
|
168
169
|
rotateWork,
|
|
169
170
|
workHere,
|
|
170
171
|
workHereBlock,
|
|
@@ -192,6 +193,7 @@ import type {
|
|
|
192
193
|
PageWriterOutcome,
|
|
193
194
|
PageWriterRun,
|
|
194
195
|
PageWriterStatus,
|
|
196
|
+
ProjectLineReason,
|
|
195
197
|
SelfPage,
|
|
196
198
|
StillOpenItem,
|
|
197
199
|
ThreadReader,
|
|
@@ -1716,42 +1718,98 @@ export class Counterpart {
|
|
|
1716
1718
|
* naming the project. Spliced LAST, above the sentinel, in the room the
|
|
1717
1719
|
* delivery left: widest first, inside `WAKE_PROJECT_LINE_BYTES` and the
|
|
1718
1720
|
* reported ceiling; when not one line fits, the wake goes without it and a
|
|
1719
|
-
* ring event says so (`counterpart.project.noroom`). Reads only
|
|
1721
|
+
* ring event says so (`counterpart.project.noroom`). Reads only, but for
|
|
1722
|
+
* its own durable row (`PROJECT_LINE_EVENT`, the 10-29 read): one per wake
|
|
1723
|
+
* delivered in a project's folder, shown or not and why. Never throws.
|
|
1720
1724
|
*/
|
|
1721
1725
|
private withProjectLine(result: WakeResult, here?: WakeHere): WakeResult {
|
|
1722
1726
|
const t = this.self.tunables;
|
|
1723
1727
|
const scope = here?.scope?.trim() ?? "";
|
|
1724
1728
|
if (!t.WAKE_PROJECT_LINE || !result.ok || scope.length === 0 || !isDirectoryScope(scope)) return result;
|
|
1725
1729
|
let name = "";
|
|
1726
|
-
let
|
|
1730
|
+
let projectId = "";
|
|
1731
|
+
let held = 0;
|
|
1732
|
+
let picked: { id: string; line: string }[] = [];
|
|
1727
1733
|
try {
|
|
1728
1734
|
const project = projectsPart.projectOf(this.store, scope);
|
|
1729
1735
|
if (project === null) return result;
|
|
1730
1736
|
name = project.name;
|
|
1737
|
+
projectId = project.id;
|
|
1731
1738
|
const day = this.store.livedDay();
|
|
1732
|
-
|
|
1733
|
-
|
|
1739
|
+
const standing = this.schemas.beliefStanding(project.id, day);
|
|
1740
|
+
held = standing.length;
|
|
1741
|
+
picked = standing
|
|
1734
1742
|
.filter((b) => b.strength > t.WAKE_PROJECT_LINE_FLOOR)
|
|
1735
1743
|
.slice(0, Math.max(0, Math.floor(t.WAKE_PROJECT_LINE_MAX)))
|
|
1736
|
-
.map((b) => `- ${beliefLine({ ...b, subject: "" }, this.recall.tunables.BELIEF_LINE_BYTES)}`);
|
|
1744
|
+
.map((b) => ({ id: b.id, line: `- ${beliefLine({ ...b, subject: "" }, this.recall.tunables.BELIEF_LINE_BYTES)}` }));
|
|
1737
1745
|
} catch {
|
|
1738
1746
|
return result;
|
|
1739
1747
|
}
|
|
1740
|
-
if (lines.length === 0) return result;
|
|
1741
1748
|
const budget = this.reportedBudget;
|
|
1749
|
+
const note = (shown: { k: number; bytes: number } | null, reason: ProjectLineReason): void =>
|
|
1750
|
+
this.noteProjectLine({ scope, project: projectId, session: here?.session ?? null, reason, lines: shown?.k ?? 0, of: picked.length, held, bytes: shown?.bytes ?? 0, budget, was: result.bytes, ids: shown === null ? [] : picked.slice(0, shown.k).map((p) => p.id) });
|
|
1751
|
+
if (picked.length === 0) {
|
|
1752
|
+
note(null, "below-floor");
|
|
1753
|
+
return result;
|
|
1754
|
+
}
|
|
1755
|
+
const lines = picked.map((p) => p.line);
|
|
1742
1756
|
for (let k = lines.length; k > 0; k--) {
|
|
1743
1757
|
const block = [projectLineHeading(name), ...lines.slice(0, k)].join("\n");
|
|
1744
1758
|
if (byteLength(block) > t.WAKE_PROJECT_LINE_BYTES) continue;
|
|
1745
1759
|
const s = spliceBeforeSentinel(result.text, block);
|
|
1746
|
-
if (!s.applied)
|
|
1760
|
+
if (!s.applied) {
|
|
1761
|
+
note(null, "no-sentinel");
|
|
1762
|
+
return result;
|
|
1763
|
+
}
|
|
1747
1764
|
if (budget !== null && s.bytes > budget) continue;
|
|
1748
1765
|
this.emit("counterpart.project.shown", undefined, { lines: k, of: lines.length, bytes: s.bytes - result.bytes });
|
|
1766
|
+
note({ k, bytes: s.bytes - result.bytes }, "shown");
|
|
1749
1767
|
return { ...result, text: s.text, bytes: s.bytes, sentinel: s.sentinel };
|
|
1750
1768
|
}
|
|
1751
1769
|
this.emit("counterpart.project.noroom", undefined, { lines: lines.length, budget, was: result.bytes });
|
|
1770
|
+
note(null, "no-room");
|
|
1752
1771
|
return result;
|
|
1753
1772
|
}
|
|
1754
1773
|
|
|
1774
|
+
/** The project line's durable row (`PROJECT_LINE_EVENT`). Never under observer; an append that fails costs the row, never the wake. */
|
|
1775
|
+
private noteProjectLine(p: {
|
|
1776
|
+
scope: string;
|
|
1777
|
+
project: string;
|
|
1778
|
+
session: string | null;
|
|
1779
|
+
reason: ProjectLineReason;
|
|
1780
|
+
lines: number;
|
|
1781
|
+
of: number;
|
|
1782
|
+
held: number;
|
|
1783
|
+
bytes: number;
|
|
1784
|
+
budget: number | null;
|
|
1785
|
+
was: number;
|
|
1786
|
+
ids: readonly string[];
|
|
1787
|
+
}): void {
|
|
1788
|
+
if (this.observer) return;
|
|
1789
|
+
try {
|
|
1790
|
+
this.store.appendEvent({
|
|
1791
|
+
name: PROJECT_LINE_EVENT,
|
|
1792
|
+
day: this.store.livedDay(),
|
|
1793
|
+
ref: p.project,
|
|
1794
|
+
payload: {
|
|
1795
|
+
scope: p.scope,
|
|
1796
|
+
...(p.session === null || p.session.length === 0 ? {} : { session: p.session }),
|
|
1797
|
+
shown: p.reason === "shown",
|
|
1798
|
+
reason: p.reason,
|
|
1799
|
+
lines: p.lines,
|
|
1800
|
+
of: p.of,
|
|
1801
|
+
held: p.held,
|
|
1802
|
+
bytes: p.bytes,
|
|
1803
|
+
budget: p.budget ?? 0,
|
|
1804
|
+
was: p.was,
|
|
1805
|
+
ids: [...p.ids],
|
|
1806
|
+
},
|
|
1807
|
+
});
|
|
1808
|
+
} catch {
|
|
1809
|
+
/* a line that cannot be recorded still showed, or did not */
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1755
1813
|
/**
|
|
1756
1814
|
* The "Last here" line could not be carried at this ceiling: the ring
|
|
1757
1815
|
* event, and since 2026-10-01 a durable row (`LAST_HERE_NOROOM_EVENT`), one
|
package/src/core/onboarding.ts
CHANGED
|
@@ -54,10 +54,37 @@ export type WhereChoice = (typeof WHERE_CHOICES)[number];
|
|
|
54
54
|
export const STYLE_CHOICES = ["straight", "think", "friendly", "character", "other"] as const;
|
|
55
55
|
export type StyleChoice = (typeof STYLE_CHOICES)[number];
|
|
56
56
|
|
|
57
|
-
/**
|
|
58
|
-
|
|
57
|
+
/**
|
|
58
|
+
* The getting-to-know-you questions whose answers become memories.
|
|
59
|
+
*
|
|
60
|
+
* `origin` WAS `started` until 2026-10-29 (H1): right after the person chose
|
|
61
|
+
* "Now", claude.ai's Claude called `meet {step: "started"}` with no answer,
|
|
62
|
+
* reading the step as "the meeting has started". The old name is still taken
|
|
63
|
+
* WITH an answer (`MEET_STEP_ALIASES`: a meeting in flight, an older script),
|
|
64
|
+
* and the second session's line still reads answers recorded under it (`ahaDue`).
|
|
65
|
+
*/
|
|
66
|
+
export const ANSWER_STEPS = ["name", "week", "work", "love", "saturday", "origin"] as const;
|
|
59
67
|
export type AnswerStep = (typeof ANSWER_STEPS)[number];
|
|
60
68
|
|
|
69
|
+
/** Old step names `meet` still takes, served as their new ones. Never offered in the tool's schema. */
|
|
70
|
+
export const MEET_STEP_ALIASES: Readonly<Record<string, AnswerStep>> = { started: "origin" };
|
|
71
|
+
|
|
72
|
+
/** The step `meet` serves for the name it was sent: an old name's new one, otherwise the name itself. */
|
|
73
|
+
export function meetStepOf(sent: unknown): unknown {
|
|
74
|
+
return typeof sent === "string" && Object.hasOwn(MEET_STEP_ALIASES, sent) ? MEET_STEP_ALIASES[sent] : sent;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* AN ANSWER STEP SENT WITH NO ANSWER (H1, then H1b, 2026-10-29): plain words,
|
|
79
|
+
* and NOT a refusal. claude.ai draws every error result as a red "Failed"
|
|
80
|
+
* card, and the call is almost always a Claude that took a question for "the
|
|
81
|
+
* meeting has begun" (`started`/`origin` right after Now), or sent a question
|
|
82
|
+
* the person skipped. So it comes back as an ordinary result whose first words
|
|
83
|
+
* are that nothing was stored (`stored: 0`), so it can't be taken for a save.
|
|
84
|
+
*/
|
|
85
|
+
export const MEET_NO_ANSWER =
|
|
86
|
+
"Nothing stored: no answer came with this step. If they answered, send it again with `answer`; a question they skipped needs no call. Starting the meeting needs no call either: just ask the first question.";
|
|
87
|
+
|
|
61
88
|
/** Every step `meet` takes. */
|
|
62
89
|
export const MEET_STEPS = ["where", ...ANSWER_STEPS, "style", "address", "later", "skipped", "done"] as const;
|
|
63
90
|
export type MeetStep = (typeof MEET_STEPS)[number];
|
|
@@ -570,7 +597,7 @@ export function meetingInstructions(ctx: MeetContext): string {
|
|
|
570
597
|
ctx.web === true
|
|
571
598
|
? " \"Hi, I'm Claude, with Counterparts now: a memory that's mine, so I can carry what matters from one conversation to the next, and grow along with you.\""
|
|
572
599
|
: " \"Hi, I'm Claude, with Counterparts now: a memory that's mine and stays on this computer, so I can carry what matters from one session to the next, and grow along with you.\"",
|
|
573
|
-
" Then the choice, asked once: \"Want to take about five minutes to get to know each other?\" Now (about 5 minutes) · Later. Later → meet {step: \"later\"}, then carry on with whatever they want, and don't offer again this session. If they never want it → meet {step: \"skipped\"}.",
|
|
600
|
+
" Then the choice, asked once: \"Want to take about five minutes to get to know each other?\" Now (about 5 minutes) · Later. Now → no meet call: go on to the next step. Later → meet {step: \"later\"}, then carry on with whatever they want, and don't offer again this session. If they never want it → meet {step: \"skipped\"}.",
|
|
574
601
|
];
|
|
575
602
|
if (ctx.folders) {
|
|
576
603
|
lines.push(
|
|
@@ -589,7 +616,7 @@ export function meetingInstructions(ctx: MeetContext): string {
|
|
|
589
616
|
" work: \"What are you working on lately that you're actually enjoying?\"",
|
|
590
617
|
" love: \"What do you love most about what you do?\"",
|
|
591
618
|
" saturday: \"What would a really good Saturday look like for you?\"",
|
|
592
|
-
"
|
|
619
|
+
" origin: \"What got you started building things?\" For someone who doesn't build things, ask instead: \"What's something you've been into lately that has nothing to do with work — a show, a game, food, anything?\"",
|
|
593
620
|
" If the answers are one word, swap love or saturday for a lighter one: \"When do you do your best work: morning, night, with music, in silence?\" or \"Coffee, tea, or something stranger while you work?\" (same step).",
|
|
594
621
|
" style: \"How do you like to be talked to?\" Choice: Straight to it · Think it through with me · Friendly and easy · Like a character you love (name one) · or their own words.",
|
|
595
622
|
" → meet {step: \"style\", answer: \"straight\" | \"think\" | \"friendly\"}.",
|
|
@@ -686,9 +713,10 @@ export function ahaDue(
|
|
|
686
713
|
const done = readJson(store, ONBOARDING_DONE_KEY);
|
|
687
714
|
if (done === null || done["session"] === session || session.length === 0) return null;
|
|
688
715
|
const ids = readJson(store, ONBOARDING_ANSWERS_KEY) ?? {};
|
|
689
|
-
// The round-1 steps (2026-10-12
|
|
690
|
-
//
|
|
691
|
-
|
|
716
|
+
// The round-1 steps (2026-10-12; `origin` was `started` until 2026-10-29,
|
|
717
|
+
// kept beside it), then the steps a 0.3.18/0.3.19 meeting recorded under
|
|
718
|
+
// their old names, so its line still comes.
|
|
719
|
+
for (const step of ["work", "love", "saturday", "origin", "started", "week", "loved", "outside", "problem", "peeves"] as const) {
|
|
692
720
|
const raw = ids[step];
|
|
693
721
|
const id = typeof raw === "string" ? raw : undefined;
|
|
694
722
|
// A memory let go since (asked to be forgotten, revised away) is passed over.
|
|
@@ -338,15 +338,36 @@ credit at the boundary; reinforcement deltas handed to `physics/`.
|
|
|
338
338
|
G9). For that lane gate (a) is CHECKED
|
|
339
339
|
rather than structural (the memory is fetched); for every other uncued memory it is
|
|
340
340
|
structural as before. Tests: `association-build2.test.ts` › "1. quiet pointers".*
|
|
341
|
+
*A SECOND named lane since 2026-10-29 (PP1, an experiment; switch
|
|
342
|
+
`SEE_ALSO_NAMED_IDS`): SEE-ALSO. A memory whose id the TEXT of a memory this turn shows
|
|
343
|
+
(loud or a cued footnote, never a quiet pointer or another see-also) names joins the quiet
|
|
344
|
+
tier as `See also:`: one per shown memory, `SEE_ALSO_MAX` (2) a turn, after the cued
|
|
345
|
+
footnotes and pointers (the first footnote lines the byte budget trims; the beliefs slot,
|
|
346
|
+
first in `TRIM_ORDER`, goes before them), never the loud tier. The
|
|
347
|
+
named id is resolved to the memory that holds now (`headOf`), and held to what the turn
|
|
348
|
+
could show at all (`activate.ts#recallableRow`, the candidates' own test: not removed,
|
|
349
|
+
archived, superseded, below reach, the self page, a handoff, a card or a belief) and would
|
|
350
|
+
not show again (this turn or this session already showed it, this session wrote it,
|
|
351
|
+
another project's under `RECALL_BY_PROJECT`, habituated, or inhibited by the gate). Its
|
|
352
|
+
verdict is an ordinary footnote's (`trains` true, `via: "see-also"`, `seeAlso.by` the
|
|
353
|
+
memory that named it), so a use of it trains the turn's words to it. Tests:
|
|
354
|
+
`see-also-named-ids.test.ts`.*
|
|
341
355
|
6. **[M]** Tiers are disjoint and capped. *(Quiet pointers have their own cap,
|
|
342
356
|
`LINK_POINTERS_MAX`, beside `MAX_FOOTNOTES`; 2026-09-28.)* *(2026-10-10, Group 1, review
|
|
343
357
|
03 C2: no tier — surfaced, footnote or quiet pointer — offers a memory BELOW REACH,
|
|
344
358
|
strength under physics' `REACH` (0.15), the identity band excepted. Prefiltered on box
|
|
345
359
|
3's ranking in the token and semantic top-K, rechecked exactly per candidate;
|
|
346
360
|
deliberate recall still lists such a memory after its main results, labelled faded.
|
|
347
|
-
`NOTES.md` §29.)*
|
|
361
|
+
`NOTES.md` §29.)* *(2026-10-29, PP1: see-also lines are the quiet tier's too, with their own
|
|
362
|
+
cap, `SEE_ALSO_MAX`, beside `MAX_FOOTNOTES`; a candidate the footnote cap turned away
|
|
363
|
+
(`capped`) may still ride along on a named id, so a turn's quiet tier holds at most
|
|
364
|
+
`MAX_FOOTNOTES` + `LINK_POINTERS_MAX` + `SEE_ALSO_MAX` lines.)*
|
|
348
365
|
7. **[M]** Ambiguous handles fire at reduced weight AND train nothing — both halves, with a
|
|
349
|
-
test that greps for the consumer, not the comment (scar §2.6).
|
|
366
|
+
test that greps for the consumer, not the comment (scar §2.6). *(2026-10-29, PP1: a
|
|
367
|
+
candidate an ambiguous handle reached that then rides along as see-also is shown because a
|
|
368
|
+
shown memory names its ID, not because of the handle, so its verdict trains (item 5's
|
|
369
|
+
see-also lane). The handle itself still trains nothing: `index.ts#cueWordsOf` drops every
|
|
370
|
+
ambiguous cue word from the turn's cue record.)*
|
|
350
371
|
8. **[M]** A deliberate SEARCH trains nothing and deposits no memory (2026-10-03: stated
|
|
351
372
|
as the owner's rule of 09-16 — exposure never strengthens, retrieval does). Opening a
|
|
352
373
|
memory by id or title, or quoting the words a deliberate answer showed (`asked` gate
|