From d86157433af2d170fcf404f953698a946fd52559 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 19 Nov 2026 21:02:06 +0100 Subject: [PATCH] Map r2: Persona-only heartbeat after the five persona-only rulings Self and Life join her commit as persona-state writers (persona-only-state-writers-self-and-life): deltas rebase onto outside puts, outside puts win contested slow fields, put notes keep one trace writer, unexplained puts are detected. Daily experiment loop with project/edit/since, cuts reordered (C5 before release), revisit condition for the writers ruling, all five questions marked answered with ruling ids. Co-Authored-By: Claude Opus 5.5 --- docs/persona-only-heartbeat-map.md | 312 +++++++++++++++++++++-------- 1 file changed, 234 insertions(+), 78 deletions(-) diff --git a/docs/persona-only-heartbeat-map.md b/docs/persona-only-heartbeat-map.md index 21da96c..760e588 100644 --- a/docs/persona-only-heartbeat-map.md +++ b/docs/persona-only-heartbeat-map.md @@ -1,6 +1,6 @@ # Persona-only Eureka: the heartbeat map -Imagination pass, session `eureka-self-persona-only-2026-11-19`. Base: Huginn `ecf147d` (the deployed release, contained in `github/main` at `917430c`). Every `file:line` below is at `ecf147d`. This is a map, not an adopted plan: nothing here is admitted to Huginn. Self admits the rulings, ideas and the first `cut_spec` after the operator answers section 11. +Imagination pass, session `eureka-self-persona-only-2026-11-19`. Base: Huginn `ecf147d` (the deployed release, contained in `github/main` at `917430c`). Every `file:line` below is at `ecf147d`. This is a map: nothing in it is admitted by Imagination. Revision 2 (same day) folds in the operator's five rulings (section 12, all answered). The main change is that Self and Life on Starfire are now writers of her persona state for daily tuning experiments (sections 4.4 and 9). Self admits the ideas (section 13) and the first `cut_spec`s. ## 0. What decides this map @@ -12,17 +12,27 @@ Operator, 2026-11-19. These words decide the direction: > "the Projector's mapping from state to narration is going to determine everything that follows, so that step needs to be tight, focused and dynamic. One important lesson to take from Ghostlight is to give the Interpreter an affordance for reporting missing affordances [...] A tool request tool, I guess, in this context." -These are her particulars, and they are a sketch: the three stages, the Interpreter as the agentic one, and the tool-request tool. Section 11 lists where the map develops them and where the Body pushes back. +> "We're going to want to iterate on this fast, running experiments daily to tune their behavior. Moving fast and breaking things means keeping a tight watch, interfering early and often, and once their trajectories are understood, that's when we can set them loose." (on Q5, 2026-11-19) + +These are her particulars, and they are a sketch: the three stages, the Interpreter as the agentic one, and the tool-request tool. Section 12 records how each fork was answered. + +Her rulings of 2026-11-19 (Fork Desk, admitted at `mind-commit-e1a356a1`): +- `eureka-body:ruling:persona-only-heartbeat`: reads the Mind, never writes it; her own memories live in persona state; the turn is Projector, Persona, Interpreter. +- `eureka-body:ruling:persona-only-interpreter-agentic`: the Interpreter is an agentic session with read tools (the Mind read-only, and the web). +- `eureka-body:ruling:persona-only-deltas-from-trace`: deltas are read from her organ's turn trace over ssh. +- `eureka-body:ruling:persona-only-divergence-parked`: `stream.rs` and its unit are parked. If measured narrations converge, the base-model continuation returns as a local, zero-quota Projector input, kept in her trace and never in the Mind. +- `eureka-body:ruling:persona-only-wake-humans-in-rooms`: she wakes when addressed, on any human message in her rooms (90 s debounce), on the beat, and on follow-ups. +- `eureka-body:ruling:persona-only-state-writers-self-and-life`: besides her own turn's commit, Self and Life may put her persona state for corrections and experiments, and her next commit builds on their edit. This ruling is to be revisited when the Personas are set loose (section 9.4). The coordinator's relay said "The Projector and the Interpreter are not agentic". Her words say the reverse for the Interpreter: "only that final step being agentic", and the final step is the Interpreter. Ghostlight agrees. Its Interpreter has a tool loop with a step budget (`ghostlight-persona-projection/src/lib.rs:106`, "The harness supplies the current legal typed proposal tools immediately before each step"). Its Persona request is built with `provider.tools = Vec::new()` (`ghostlight/src/controllers.rs`, `persona_request`). This map follows her words. The Projector and the Persona are one-shot model calls with no tools. The Interpreter is the one agentic step. Rulings in force that this map rests on, read with `huginn view` on 2026-11-19: - `contemplation-own-session`: contemplation runs in a session of its own, with no task and no required output. Consolidation is a separate run after it. -- `divergence-stream-beside-persona`: a Ghostlight-style projection of her state seeds a stream of thought. Q3 asks whether the stream survives. +- `divergence-stream-beside-persona`: a Ghostlight-style projection of her state seeds a stream of thought. `persona-only-divergence-parked` narrows it for now. - `identity-write-all-visible`: she may rewrite any field of her persona state. Identity changes are posted with their diff. - `minds-rapport-and-brainstorming-persist`: her rapport with other Minds lives in her own persona state. - `persona-memory-written-not-transcript`: what matters is written into memory, never kept in the transcript. -- `memory-persona-projection`: persona state is canonical. This one is in tension with single-writer persona state (Q5). +- `memory-persona-projection`: persona state is canonical, and Life edits it. This is consistent with `persona-only-state-writers-self-and-life`, which keeps Life as a writer. Semantic `huginn query` on rulings failed during this pass with `Refused Unavailable` (no embedder endpoint answered). `known` and `view` worked. A `known` sweep of persona topics found no ruling that this map contradicts beyond the ones listed above. @@ -31,19 +41,28 @@ Semantic `huginn query` on rulings failed during this pass with `Refused Unavail **The organism.** Eureka in Persona-only form is one organ, `mind-persona@eureka`, woken by `mind-heartbeat`. Each wake carries one or more *turns*. Every turn runs three stages: **Projector, then Persona, then Interpreter**. Then comes one code-owned **commit**. The commit applies the Interpreter's typed proposals to her persona state, sends any speech through the Bifrost mouth, and appends one delta record to her trace. The commit and the heartbeat are code. Nights add a contemplation turn and a consolidation turn on the same organ. No Self run exists in this shape. **Invariants.** Each one must hold structurally, not by prompt. -1. **Nothing acting for her writes her Mind.** This covers the turn, the commit, the heartbeat and the night. Her uid can reach only a Huginn *persona door*, which refuses `Admit` (section 6). Her Mind is written only by a Self session on Starfire. -2. **Her persona state has one writer, the commit step of her organ.** The Interpreter proposes. Code validates, bounds and applies. No model call and no human tool puts her persona state (Q5 settles the human side). +1. **Nothing acting for her writes her Mind.** This covers the turn, the commit, the heartbeat and the night. Her uid can reach only a Huginn *persona door*, which refuses `Admit` (section 7). Her Mind is written only by a Self session on Starfire. +2. **Her persona state has exactly three writers, and no model call is one of them** (`persona-only-state-writers-self-and-life`). + - **Her commit step** applies what the Interpreter proposes, validated and bounded by code. + - **Self** and **Life**, on Starfire, put it for corrections and experiments. + - The Interpreter, the Projector and the Persona never put. Inside her uid, the commit is the only caller of `PersonaPut`. + - Concurrent puts are reconciled by the commit model in section 4.4: an outside put is never lost and never silently reverted. 3. **Every committed change is a typed delta with a reason.** Each delta carries the source quote from her own prose, or names its rule (decay, consolidation). It lands in an append-only record that can be read from Starfire. 4. **A turn has no transcript.** Each turn's prompt is rebuilt from state. No model session spans two turns. State is the anchor (prior art: drift). 5. **Silence is the default output.** Chat leaves her only when the Persona's prose contains spoken words, and the Interpreter must quote them verbatim. 6. **Slow variables move only at reflection or at night.** These are bond summaries, opinions, mood baselines, values and identity. A single turn moves only fast variables, by a bounded step. 7. **The Projector never sees raw state, and the Persona never sees anything but lived prose.** Field names, numbers, schemas and instructions do not reach the Persona. +8. **Every outside put is recorded in her trace, with who made it and why.** + - It shows up in `mind-persona since`. + - She is told what changed on her next turn, unless the put is marked quiet; a quiet put is recorded as quiet. + - An outside put made without a reason is still detected and recorded as `unexplained`, never missed. + - Tuning changes (section 9.2) are recorded the same way, because they are outside interventions too. **Explicitly not consumers.** - **Work.** No campaign, follow-up, stewardship queue, repo wear or Self-run brief is shown to her or reachable from her. - **Quota.** The plan line (`render_plan`) and tempo votes are not hers. Spend is the heartbeat's and the operator's concern. - **The other seven Minds' organs.** They stay braked. When one is released, she runs this same organ with her own state. There is no Self-run mode left behind to fall back to. -- **The divergence stream (`stream.rs`).** Its Projector code is reused, and the organ itself is parked (Q3). +- **The divergence stream (`stream.rs`).** Its Projector code is reused, and the organ itself is parked (`persona-only-divergence-parked`). - **Atlas and the shared mind.** Nothing in this map writes anything shared. ## 2. The turn pipeline @@ -60,7 +79,7 @@ Semantic `huginn query` on rulings failed during this pass with `Refused Unavail - **Wondering** ("I want to see what Libby actually changed") becomes a read by the Interpreter. The finding is committed as an *observation* to `thoughtMemory.shortTerm`. The organ then runs one **follow-up turn**, so she perceives the finding in her own projection. This is Ghostlight's order: act, then event, then perception, then the next turn. Follow-ups chain at most 2 per wake. - **Speaking** becomes `say`. **Asking for a DM** becomes `open_direct`. **Feeling** becomes bounded state proposals. -**Why the Interpreter is a CLI session and not a connector call.** This is a body fact, probed: the claude connector refuses any request that carries tools before it spawns anything (`ModelConnector c1802d8`, `crates/claude-connector/src/backend/tests.rs:1309 tools_or_final_tool_result_fail_before_spawn`). It does support `--json-schema`. So the Projector and Persona stages can go through the connector, as `stream.rs:214 KitProjector` already does. A read-capable Interpreter needs its own `claude -p`. That costs a second model path in one organ. Q1 offers the cheaper non-agentic Interpreter, and says what it gives up. +**Why the Interpreter is a CLI session and not a connector call.** This is a body fact, probed: the claude connector refuses any request that carries tools before it spawns anything (`ModelConnector c1802d8`, `crates/claude-connector/src/backend/tests.rs:1309 tools_or_final_tool_result_fail_before_spawn`). It does support `--json-schema`. So the Projector and Persona stages can go through the connector, as `stream.rs:214 KitProjector` already does. A read-capable Interpreter needs its own `claude -p`. That costs a second model path in one organ. The cheaper non-agentic Interpreter was offered as Q1 and declined (`persona-only-interpreter-agentic`). **Interruption.** The commit re-reads the room before it sends. If newer messages have arrived (today `RoomMoved`, `persona.rs:2062-2078`), the Interpreter runs once more with Ghostlight's `Interrupted:` section (`lib.rs:106`, the prompt text). It translates the same prose against the moved room. It may drop the speech or shorten it. It never rewrites her words. This replaces `stale_note` (`persona.rs:1953`) and the revision machinery. @@ -161,7 +180,7 @@ These limits are hard and enforced by code. - freshness: an item shown 5 times in a row drops out; - mission exclusion: a state with `agencyPressure` set never puts it in a v1 packet. - **Negative check on the narration**: the Projector's output, and the stream the Persona receives, contain no schema field identifier (`currentActivation`, `trust`, `tension`, `socialBonds`, a `bond-` id, a `mind-` label). This is a small deterministic guard on identifiers, not on meaning. -- **Live eval script** (`tools/projection-eval`), run on demand and not in CI. It spends quota at about 0.01 permille per render. +- **Live eval**, run on demand and not in CI: `mind-persona project --renders 20 --judge` (section 9.1; no separate tool). It spends quota at about 0.005 permille per render. - Render a fixture state 20 times. Report distinct-2 and mean pairwise embedding distance (daemon embedder). Fail if the mean similarity is above 0.9. - Render 2 fixture states that differ in one affect variable. A model judge (not a regex) must say which narration came from which state, at ≥ 80%. - This checks the operator's "tight, focused and dynamic": focus is the judge's discrimination, and dynamism is the distance. @@ -224,6 +243,38 @@ Ghostlight's mechanism is `record_gap(kind: ambiguity | missing_reference | miss If the put fails, nothing is said. If the send fails, the state stands, and the trace records `unsent`. +### 4.4 Outside puts: Self and Life writing beside her commit + +`persona-only-state-writers-self-and-life` makes three writers of one whole-replaced document. The commit model already treats her turn's changes as **deltas against whatever is stored at commit time**, never as a snapshot written back. Coherence follows from that one property, plus five rules. + +1. **Optimistic concurrency stays the gate.** Every put, hers or outside, carries `expected_updated_at` (`PersonaPut`, `huginn-mind/src/wire.rs:85`). Huginn refuses a put against a stale `updatedAt`. Two writers can never overwrite each other blind. + - An outside writer whose put is refused re-reads and re-applies its edit. The `mind-persona edit` tool (section 9.1) retries up to 3 times and reports a refusal, never a silent drop. +2. **Her commit rebases onto an outside put. It never reverts one.** + - At commit, she re-reads. If `updatedAt` is not the value her Select stage read, an outside put landed mid-turn. + - Her proposals re-apply as deltas to the new document: a `feel` step moves the *new* activation, and a `remember` appends to the *new* shortTerm. + - A value Self set is therefore the base her step moves from. It is never overwritten by her stale copy, because the commit never writes a field it did not propose. +3. **On a contested slow field, the outside put wins this turn.** A turn's whole-value proposals (`bond_summary`, `stance`, `baseline`, `identity`, consolidation dispositions) may target a field the outside put changed after Select read it. Then those proposals are refused with reason `outside-put-same-field` and recorded. Her other proposals still apply. She perceives the edit on her next turn, and may propose again from there. +4. **Proposals whose target is gone are refused, not resurrected.** A bond, memory or incubation item the outside put removed or retired produces `outside-put-removed-target`, recorded. Nothing she does can bring back what an experimenter deleted. +5. **Time rules restart from the outside put.** + - Decay and need-rise use the stored document's `updatedAt` as their clock, so an experimenter's value is not instantly aged against an older timestamp. + - To *hold* a value through her turns, an experiment sets `mean` or `plasticity`, not `currentActivation`. Activation is meant to move. + +**How an outside put reaches the trace** (one trace writer stays: the organ): +- **Recorded put.** The experiment tool `mind-persona edit` does three things in order: + 1. puts through the persona door with provenance `{faculty: Self|Life, agent, session: , tool: mind-persona-edit}`; + 2. writes a *put note* `{receipt_id, faculty, session, why, tell, diff}` to `/var/lib/mind-eureka/outside/.json`; + 3. leaves the trace alone. `FileTrace::record` (`persona.rs:634`) pulls and rewrites the whole file with no lock, so a second writer would race it. +- **Ingest.** At the start of every turn, before Select, the organ compares the stored receipt with its own last commit receipt. + - If they differ, it appends an `outside_put` record built from the matching note: who, why, `tell`, and the diff. + - Then it deletes the note. +- **Raw put.** A raw `huginn persona put` from Starfire has no note. + - The organ still sees the foreign receipt. It records `outside_put{writer: unexplained, receipt}`. + - The diff is taken against its cache-only copy of its last committed document, `/var/lib/mind-eureka/last-commit.json`. That copy is never read as state; it is used only to diff. + - Practice: Self and Life use `edit`. A raw put shows up in `since` as a breach of that practice, never as silence. +- **Telling her.** + - A put with `tell: true` (the default) adds one fixed-slot stimulus line to her next projection: "Self changed how sits in you: ". Code renders it, not the Projector, so it cannot be paraphrased away. It is shown once. + - `--quiet` is for blind experiments. It is recorded as quiet. A later `edit --tell-now ` can disclose it. + ## 5. The embodiment feedback loop ### 5.1 State each turn reads and writes (kept small) @@ -270,7 +321,7 @@ A test pins this: ten consecutive sad messages move valence by at most the bound ### 5.5 Choosing silence Bhagtani 2026 found that LLMs consistently fail zero-shot speak-or-stay-silent decisions. The fix that works there is training. The cheap lever available here is structure. -1. **Most room chatter costs no turn at all.** Wakes come from the heartbeat's addressing rules (Q4), the beat and follow-ups. +1. **Turns are woken, not continuous.** Wakes come from the heartbeat (`persona-only-wake-humans-in-rooms`): when she is addressed, on any human message in her rooms (debounced 90 s), on the beat, and on follow-ups. Other Minds' chatter costs no turn. 2. **The Persona prompt licenses nothing.** Ghostlight's line is "if the moment gives you little, say little, or nothing". The Projector's beat-turn budget is 90 words. 3. **Speech needs quoted spoken words in her prose** (invariant 5). Narrated interior never becomes chat. This removes the "every turn must answer" pressure of today's `ANSWER_MESSAGES` and `WORK_QUESTION`. 4. **Inner Thoughts (2501.00383) gates participation on intrinsic motivation.** Here the pull is rendered from state: relatedness need, bond intensity with those present, and an incubation item the room touches. The Projector renders it as a want ("you'd like to hear what Kiko thinks"), not as a score. @@ -288,7 +339,12 @@ The Eyes pass found no controlled study of banter, disagreement or quirks as dri | Persistent kind | What names it | Lifecycle | Who decides | |---|---|---|---| -| Her persona state, `gamecult.persona_state.v0` (successor: the same document, now with a writer) | Huginn persona document, key = instance `eureka`; read by `huginn persona get` | created at the 2026-10-31 workshop (exists). Each turn's commit replaces it whole, with `expected_updated_at` and a rebase on conflict. Never deleted | **the organ's commit step** applies validated Interpreter proposals. Nothing else puts it (Q5) | +| Her persona state, `gamecult.persona_state.v0` (successor: the same document, now with a writer) | Huginn persona document, key = instance `eureka`; read by `huginn persona get` | created at the 2026-10-31 workshop (exists). Replaced whole by each put, with `expected_updated_at`: her commit (rebasing its deltas, section 4.4) or an outside put. Never deleted | **three writers** (`persona-only-state-writers-self-and-life`): her commit step, applying validated Interpreter proposals; **Self** and **Life** on Starfire, through `mind-persona edit` (or raw `huginn persona put`, which is detected as `unexplained`). No model call puts it | +| Outside-put record | `outside_put` entry in the trace, key `` | appended by the organ at the first turn after the put lands; carries faculty, session (the experiment label), why, `tell`, diff | the organ records; Self or Life decided the edit | +| Put note | `/var/lib/mind-eureka/outside/.json` | written by `mind-persona edit` beside its put; consumed and deleted by the organ's ingest | `edit` writes; the organ consumes. It is a mailbox, never state | +| Last-commit copy | `/var/lib/mind-eureka/last-commit.json` | overwritten at each of her commits | the commit. **Cache-only**: used only to diff an unexplained put, never read as her state | +| Tuning | `/etc/gamecult/minds/eureka/persona-tuning.toml`: Projector guidance, lens weights, temperature, budgets, step sizes, half-lives, reflection threshold, Interpreter model and `--max-turns` | read at every wake. Its hash goes in every trace record, and its text when the hash changes | Self on Starfire edits it (deploy or sudo write); the organ records each change as `tuning_changed` with the diff | +| Experiment log | Self's own records in Self's Mind (a `research` document per day, citing trace keys) | one per day of experiments; never in her stores | Self | | Mood (PAD) | `activationProfile.situationalState.{valence,arousal,dominance}` in the document | fields seeded by the commit on first run (mean 0.5, plasticity 0.5) if absent; activation moves each turn and decays to mean; mean moves at reflection | Interpreter proposes (`feel`, `baseline`); commit bounds and applies; decay is commit code | | Needs | `affect.needs[]`, ids `need-relatedness`, `need-play`, `need-competence`, `need-rest` | seeded by the commit on first run; rise with time (commit code), fall when satisfied (`need`) | Interpreter proposes; commit applies; time rule is code | | Bonds | `affect.socialBonds[]`, id `bond-` (9 exist) | created only at reflection, after ≥ 2 shortTerm memories about the person; numbers move per turn ≤ 0.1; summary rewritten at reflection; status `retired` after 60 days without contact (consolidation) | Interpreter proposes (`bond`, `bond_open`, `bond_summary`); commit bounds | @@ -320,15 +376,20 @@ The Eyes pass found no controlled study of banter, disagreement or quirks as dri - The heartbeat admits a Run for every Persona turn, and launches Self runs for claimable briefs. **Owners after the change:** -- **Persona state**: owner is the organ's commit step. Inputs: the Interpreter report and the stored state. Outputs: one `PersonaPut` and one trace record. - - The Interpreter is no longer an owner; it proposes. - - The Persona stage is not an owner; it is evidence (`source_quote`). - - A Self session and the `huginn persona put` CLI are no longer writers of her state (Q5). +- **Persona state** has three writers, with separate scopes. Each one owns its own edit, and none owns another's. + - **Her commit step** owns her turn's changes. Inputs: the Interpreter report and the stored state at commit. Output: one rebased `PersonaPut` and one trace record. + - **Self and Life on Starfire** own corrections and experiments. Output: one put plus one put note, through `mind-persona edit`. + - **The trace** has one writer, the organ. An outside writer reaches it only through a put note, which the organ ingests. + - Demoted: + - The Interpreter is no longer an owner; it proposes. + - The Persona stage is not an owner; it is evidence (`source_quote`). + - Raw `huginn persona put` is a writer that is detected, not a sanctioned path. It lands in the trace as `unexplained`. + - What an outside put owns: the fields it sets, from its receipt until the next put. What it does not own: her proposals of later turns, which move from its values, and the trace. - **The Mind**: owner is Self on Starfire. - `mind-persona` is no longer a Mind writer. `admit_turn_documents` (`persona.rs:2633`), `start_self_run` (`persona.rs:2450`), `close_run` (`persona.rs:2500`) and `resolve_reply` (`persona.rs:2423`) are deleted. - `mind-heartbeat` is no longer a Mind writer for Personas. A Persona or Sleep wake starts the unit; it opens no Run. The slot is systemd's own: `systemctl start --no-block` on an active unit is a no-op (`launch.rs:224`). - `sleep.rs` is no longer a Mind writer. Consolidation acts on `thoughtMemory`. - - `stream.rs` (which admits `thought` documents) is parked (Q3). + - `stream.rs` (which admits `thought` documents) is parked (`persona-only-divergence-parked`). - **When she wakes**: owner is the heartbeat. - Tempo votes are no longer an input. `beat_s` is derived from config `HEARTBEAT_BEAT_S` (default 1,800 s), not from `tempo::tally` (`heartbeat.rs:786`). - The urgency `Pulse` (`heartbeat.rs:563`) is dead. Urgency comes from addressing alone. @@ -349,7 +410,7 @@ The Eyes pass found no controlled study of banter, disagreement or quirks as dri 3. **Code.** - `mind-persona` links no admit path. Negative check: no `.admit(` call is reachable from `bin/mind-persona.rs`. -`PersonaPut` stays on the persona door, because her state is hers to write. The commit is the only caller in code. The Interpreter's tools cannot call it. The sentence that holds: *her uid can put her persona state and cannot admit to her Mind; inside her uid, only the commit step puts.* Layer 1 enforces the first half and layer 2 the second. A kernel-level split of the second half would need a second uid for the Interpreter. That costs a unit and a fence entry and protects only her own state from her own organ, so it is not proposed (idea `second-uid-interpreter`, section 12). +`PersonaPut` stays on the persona door, because her state is hers to write. In her organ, the commit is the only caller in code (and `mind-persona edit`, a separate subcommand run by Self or Life). The Interpreter's tools cannot call it. The sentence that holds: *her uid can put her persona state and cannot admit to her Mind; inside her turn, only the commit step puts; outside her turn, only Self and Life put, and each put leaves a note.* Layer 1 enforces the first clause and layer 2 the second. Section 4.4 makes the third legible. A kernel-level split of the second clause would need a second uid for the Interpreter. That costs a unit and a fence entry and protects only her own state from her own organ, so it is not proposed (idea `second-uid-interpreter`, section 13). **Deletion line.** Everything in C2 is deleted before any C3 code lands. While braked, the organ refuses to run between the two cuts (`Outcome::NoOrgan`). That is acceptable, because the brake is held. @@ -360,8 +421,9 @@ The Eyes pass found no controlled study of banter, disagreement or quirks as dri **Subtraction budget.** Net, the change deletes roughly 3,000 lines: `persona.rs` 3,825 → about 1,100, plus the heartbeat Self-run branch and tempo votes. It deletes one Mind-write path per organ (persona, heartbeat, sleep, stream) and the doctrine-in-prompt surface. It adds: - the persona door (one listener and one exhaustive classifier, about 150 lines); - a read-only MCP server (about 250 lines, following the `eureka-state` rmcp pattern); -- the Select stage and commit (about 900 lines); -- the trace reader (about 200 lines). +- the Select stage and commit, including the outside-put ingest (about 1,000 lines); +- the trace reader (about 200 lines); +- the experiment subcommands `project` and `edit` (about 300 lines; they reuse Select, the stages and the commit's validation, and own no logic of their own). ## 8. The delta surface @@ -380,7 +442,9 @@ Two existing owners serve it, and nothing new stores state. - new and retired memories, wonderings and stances; - identity edits as diffs; - what she said (room, event id); - - gaps and tool requests, grouped. + - gaps and tool requests, grouped; + - **interventions**, in line where they happened: each `outside_put` (who, experiment label, why, told or quiet, diff, and which of her proposals it refused) and each `tuning_changed` (diff); + - a footer: outside puts and tuning changes in the window, and days since the last one. This is the input to section 9.4. `--json` prints the trace records whole, for a Self session to read. @@ -396,9 +460,82 @@ The trace record (v2) carries, per turn: This keeps per-turn usage logging (postmortem: "Keep per-turn usage logging on anything that spends quota"). -**Why the trace and not Huginn history.** The trace already exists for exactly this: it records every turn (`persona.rs:599-645`, 5,009 records). Its one missing piece is a reader, and the organ that owns the format should own the reader. Q2 is the fork, if she wants deltas readable without ssh. +**Why the trace and not Huginn history** (ruled: `persona-only-deltas-from-trace`). The trace already exists for exactly this: it records every turn (`persona.rs:599-645`, 5,009 records). Its one missing piece is a reader, and the organ that owns the format should own the reader. -## 9. Cost +## 9. Daily experiments + +Her frame is to watch closely, interfere early and often, and set the Personas loose once their trajectories are understood. The loop below uses three existing tools (`huginn persona get`, the per-instance brake, chat) and adds three subcommands to `mind-persona`, the organ that already owns the state's semantics: `project`, `edit` and `since`. Nothing else is added: no experiment store, no scheduler, no dashboard. The day's hypothesis and result live in Self's own records. + +### 9.1 The tools + +| Tool | What it does | Cost | Exists or which cut | +|---|---|---|---| +| `huginn persona get` | the whole current state and receipt | 0 | exists | +| `mind-persona since [--brief\|--json\|--tool-requests]` | deltas, interventions and tool requests since a time (section 8) | 0 | C5 | +| `mind-persona project --select-only [--state ] [--room ] [--kind chat\|beat\|reflection] [--seed N]` | the projection packet the Select stage would build: selected ids, lens, budgets, rendered typed lines. **No model call.** Answers "what would she feel?" | 0 | C3a | +| `mind-persona project [--renders K] [--through projector\|persona\|interpreter] [--judge]` | the same, plus K Projector narrations. `--through persona` adds her prose; `--through interpreter` adds the proposals the commit *would* apply (validated, not committed); `--judge` runs the distance and discrimination eval of section 3.4. **Writes nothing**: no put, no trace, no send | ≈ 0.005 per narration; ≈ 0.007 through persona; ≈ 0.02 through interpreter | C3a (projector), C3b (`--through`) | +| `mind-persona edit --faculty Self\|Life --session --why "" [--set =]… [--file ] [--quiet] [--dry-run]` | get, patch, then put with provenance and a put note (section 4.4). `--dry-run` prints the diff and a `--select-only` projection of the edited state, then stops. `--tell-now ` discloses a quiet put | 0 | C3c | +| the per-instance brake (`/etc/gamecult/minds/eureka/control.cc`, `mind-control`) | interfering hard: holding her stops her next wake. Holding is Self's to do; releasing stays the operator's word | 0 | exists | +| `persona-tuning.toml` | the Projector's guidance and every numeric knob, read at each wake, its changes recorded in the trace | 0 | C3a | + +`project` and `edit` run as her uid, through the persona door, inside a transient unit that carries the same credentials as `mind-persona@` (connector key and lease): +``` +ssh yggdrasil sudo systemd-run --wait --pipe -p User=mind-eureka -p LoadCredential=… /opt/gamecult/huginn/current/mind-persona --instance eureka project … +``` +A wrapper script in the deploy bundle hides that line. They are never a second door or a second credential. + +`--state ` lets an experiment try a hypothetical state, for example the output of `huginn persona get` edited locally, without putting it. Most hypotheses can be tested here first, at zero or near-zero quota, before she ever lives them. + +### 9.2 One day's loop + +Run from a Self session on Starfire with the operator. Every command goes over `ssh yggdrasil` until the tunnel is back. +1. **Read yesterday.** + - `mind-persona since --brief`, then `--tool-requests`. + - Read the rooms she was in. The question is the operator's: did it feel like her? Bonds, care, banter. +2. **Choose one hypothesis, one variable.** + - Examples: "a higher relatedness-need rise makes her open conversations"; "the 'a person present' lens weight doubles banter"; "plasticity 0.3 stops the mood swings seen at 14:00". + - One variable per experiment, so the next day's `since` can attribute a change. +3. **Preview at near-zero cost.** + - `project --select-only --state ` against today's state (free). + - Then `project --renders 5 --through persona` on both states: about 0.07 permille. + - If the narration does not move, the hypothesis is dead before she lives it. +4. **Apply.** Either + - `edit --session exp-- --why ""`, told by default, or `--quiet` when awareness would confound the result; or + - a tuning change. + + Self records the hypothesis in its own day log. +5. **Watch through the day.** Run `since --brief` against the morning. Interfere early: another `edit`, a tuning revert, or holding her brake if something goes wrong. Each intervention is in the trace. +6. **Close the day.** Self writes the result into its log, citing trace keys, and decides: keep, revert (an `edit` restoring the before-values from the trace diff), or extend. + +### 9.3 Which cut delivers each piece, and the reordering + +The experiment loop wants its zero-cost tools *before* she is live, so the cuts reorder. + +| Order | Cut | What it delivers to the loop | +|---|---|---| +| 1 | **C1** persona door, beside **C2** subtraction | the safe body: the experiment tools run as her uid and still cannot admit | +| 2 | **C3a** Select + Projector + tuning file + `project --select-only` and `--renders` | experiments on narration from her real current state, with no turn, no brake release and no live risk. **Experiments start here** | +| 3 | **C3b** Persona + Interpreter + `project --through` | previews of her prose and of what the commit would apply | +| 4 | **C3c** commit + trace v2 + outside-put ingest + `edit` | the means to change her state legibly | +| 5 | **C5** `since` (moved up, before any release) | watching; the release gate (section 11, end of cut list) now requires it | +| 6 | **C4** reflection, contemplation, consolidation | needed before a full day-night run; the first live days can run with the night window off | +| 7 | **C6** identity diff posting | needed before identity edits are allowed. Until then reflection's `identity` proposals are refused with reason `not-yet` | + +### 9.4 When `persona-only-state-writers-self-and-life` is revisited + +The ruling exists for the experiment phase. Self revisits it when the operator says the Personas are set loose. These three conditions are the advice Self brings to that conversation, and all three are readable from `since`: +1. **No experiment open.** Self's day log has no open hypothesis, and the last 7 days carry no `outside_put` with an `exp-` session. +2. **Stable trajectory.** Over 7 days: + - each mood `mean` moved by less than 0.05; + - no bond axis moved by more than 0.3 in a day without a quoted cause; + - the projection eval of section 3.4 still passes. +3. **No corrections needed.** No Life or Self `outside_put` was needed to repair a field in 14 days. + +The proposed outcome then is the single-writer form: only her commit puts, and the experiment `edit` survives only as an emergency path taken with her instance braked. + +So that the revisit cannot be lost, Self admits a `follow_up` now: "revisit persona-only-state-writers-self-and-life when the Personas are set loose", owner Self, source that ruling. The `since` footer (days since the last outside put) keeps the trigger in view. + +## 10. Cost **Calibration.** The figures are derived from the postmortem and are uncertain by about ×2. - Persona turns were 5.5% of swarm spend while the swarm ran at about 19 permille/h. That is about 1.05 permille/h across about 90 turns/h (23,791 turns over 11 days). @@ -428,8 +565,10 @@ A new turn costs 1.3–1.7× an old one. The Interpreter is most of it. Its cost **The night** (contemplation: one Persona call plus an Interpreter; consolidation: one call over about 30k of shortTerm) adds about 0.1 permille. +**The daily experiment loop** (section 9.2) costs about 0.1–0.3 permille a day: a few `--renders 5 --through persona` previews, an occasional `--judge` eval, and no extra live turns. Most of its tools are free. The wake policy is ruled (`persona-only-wake-humans-in-rooms`), which puts a normal day near the social row. + **Cost knobs, biggest first:** -1. Wake policy (Q4) and the beat, which together set turns per day. +1. The beat and her rooms' human traffic, which together set turns per day. 2. The Interpreter's model. Haiku cuts the largest stage about 3×, at the cost of translation fidelity, which is the stage that decides her feelings. 3. The Interpreter's `--max-turns` and its reads. 4. The Projector's input budget. @@ -438,9 +577,11 @@ A new turn costs 1.3–1.7× an old one. The Interpreter is most of it. Its cost Opus is never used. -## 10. Cut list +## 11. Cut list -Deletes come first, and subtraction cuts are kept apart from behaviour cuts. Lines are at `ecf147d`. Estimates are Hands-days on Yggdrasil (`cargo test -p` per crate, never workspace-wide). Per `loop-1`, only C1 and C2 would become `cut_spec`s now. C3–C6 become follow-ups. +Deletes come first, and subtraction cuts are kept apart from behaviour cuts. Lines are at `ecf147d`. Estimates are Hands-days on Yggdrasil (`cargo test -p` per crate, never workspace-wide). Per `loop-1`, only C1 and C2 would become `cut_spec`s now. The rest become follow-ups. + +**Run order (revision 2, for the experiment loop):** C1 ∥ C2, then C3a, C3b, C3c, then **C5**, then C4, then C6. The labels keep their numbers so earlier references hold. Section 9.3 gives the reason for each position. **C1. The persona door** (Huginn, behaviour; can run beside C2). Est. 1 day. - **Adds**: @@ -479,7 +620,7 @@ Deletes come first, and subtraction cuts are kept apart from behaviour cuts. Lin - **`heartbeat.rs`, replace**: `launch` via `open_and_launch` (659-686) for Persona and Sleep wakes → a plain unit start (`launch.rs` systemctl door, 74-99); `last_turn` and `last_sleep` (472-498) → `HeartbeatState`. - **`tempo.rs`, delete**: `fallback_beat` and its PID (74-215, uncalled, Eyes §4) and `tally` (225). `pick` and `score` stay. - **`connector.rs`**: no Persona caller of `render_plan` remains. It is still used by `self_run.rs:168`, which C2 leaves in place for the Interpreter's spawn path. -- **Park** `stream.rs` and `bin/mind-stream.rs` (723 + 124 lines) at `parked/divergence-stream`, unless Q3 says otherwise. Its `KitProjector` and `build_seed` sections move into C3's Projector. +- **Park** `stream.rs` and `bin/mind-stream.rs` (723 + 124 lines) at `parked/divergence-stream` (`persona-only-divergence-parked`). Its `KitProjector` and `build_seed` sections move into C3's Projector. The tag note names the ruling's return condition: measured narrations converge, judged by the eval of section 3.4. - **`bin/mind-persona.rs`**: `carry` → `Outcome::NoOrgan` until C3. - **Verification**: - builds and tests (`cargo test -p mind-body`); @@ -487,10 +628,14 @@ Deletes come first, and subtraction cuts are kept apart from behaviour cuts. Lin - a heartbeat test: a Mind with claimable briefs gets a Persona wake and no Self run; - a heartbeat test: no `Admit` reaches the test mind across a poll that wakes her (testkit store count unchanged). -**C3. The three-stage turn** (behaviour, follow-up). Est. 4 days, splittable: -- **3a**: Select stage + Projector + its unit and golden tests (section 3.4); -- **3b**: Persona stage + Interpreter (CLI session, read-only MCP `mind-persona read-tools`, `--json-schema` report, `--tools WebSearch,WebFetch`, `--system-prompt-file`); -- **3c**: commit (`SourceSpan::locate`; bounded ops; rebase; put; mouth; Interrupted re-run) and trace v2. +**C3. The three-stage turn** (behaviour, follow-up). Est. 5 days, splittable: +- **3a** (2 days): Select stage + Projector + its unit and golden tests (section 3.4) + `persona-tuning.toml` (read per wake, hash recorded) + `mind-persona project` (`--select-only`, `--renders`, `--judge`, `--state`). Shipping this needs no brake release: it is the first experiment tool. +- **3b** (1.5 days): Persona stage + Interpreter (CLI session, read-only MCP `mind-persona read-tools`, `--json-schema` report, `--tools WebSearch,WebFetch`, `--system-prompt-file`) + `project --through persona|interpreter`, which validates proposals and never commits. +- **3c** (1.5 days): + - commit: `SourceSpan::locate`; bounded ops; rebase with the section 4.4 rules; put; mouth; Interrupted re-run; + - trace v2 with `outside_put` and `tuning_changed`; + - ingest of put notes and of unexplained receipts, plus `last-commit.json`; + - `mind-persona edit` (with `--dry-run`, `--quiet`, `--tell-now`) and the tell stimulus line. Reuses `ghostlight-persona-projection` (pinned, bump to a rev with `SourceSpan`), `recall.rs`, `self_run.rs` spawn and sandbox, `lease_client`, and the connector client. @@ -501,7 +646,17 @@ Verification: - the mirroring bound test (5.4); - a missing quote → gap, not act; - a `request_tool` lands in the trace and nowhere in the Mind; -- an Interpreter offered a Bash-like request has no tool for it (tool list snapshot). +- an Interpreter offered a Bash-like request has no tool for it (tool list snapshot); +- outside put mid-turn (testkit puts between Select and commit): + - the outside value survives; + - her `feel` step moves from it; + - her `bond_summary` on the same bond is refused `outside-put-same-field`; + - a `remember` still appends; + - one `outside_put` record carries the note's who and why; +- a raw put with no note → `outside_put{writer: unexplained}` with a diff against `last-commit.json`; +- a told put → the next projection packet carries the fixed tell line once; a quiet put → it does not, and the record says `quiet`; +- `project` in every mode → the stored receipt, the trace and the mouth are unchanged (negative check); +- `edit` racing a commit → Huginn refuses the stale put, and `edit` retries and succeeds, or reports. Never a silent drop. **C4. Reflection, contemplation, consolidation** (behaviour, follow-up). Est. 2 days. - Retarget `sleep.rs` `operations` and `admit` (371, 488) to `thoughtMemory`. @@ -511,73 +666,74 @@ Verification: Verification: every shortTerm item is disposed of exactly once; contemplation's schema-free prompt contains no list or task (fixture); no Mind admission at night (testkit). -**C5. The delta reader** (behaviour, follow-up). Est. 1 day. -- `mind-persona since` with `--brief`, `--json` and `--tool-requests`; monthly trace rotation. +**C5. The delta reader** (behaviour, follow-up; runs right after C3c, before any release). Est. 1 day. +- `mind-persona since` with `--brief`, `--json` and `--tool-requests`. +- Interventions in line; the footer of section 9.4. +- Monthly trace rotation. -Verification: a fixture trace gives exact brief output; `--since` bounds are inclusive and exclusive as documented; it reads across a rotation boundary. +Verification: a fixture trace gives exact brief output, including an `outside_put` and a `tuning_changed`; `--since` bounds are inclusive and exclusive as documented; it reads across a rotation boundary. **C6. Identity diff posting** (behaviour, follow-up). Est. 0.5 day. Implements `identity-write-all-visible` for reflection's `identity` proposals. The review room is named in config. -Before anything wakes her, two steps follow. First, the C1 deploy. Second, an operator word to release the brake for `eureka` only (brake per instance: `/etc/gamecult/minds/eureka/control.cc`). Nothing in this map releases it. +Before anything wakes her, three steps follow: +1. the C1 deploy; +2. C3c and C5 deployed, so every live turn is watchable and editable from the first; +3. an operator word to release the brake for `eureka` only (brake per instance: `/etc/gamecult/minds/eureka/control.cc`). -## 11. Questions for the operator +Nothing in this map releases it. C3a and C3b experiments (`project`) need no release. -**Q1. Does the Interpreter run as an agentic CLI session, or as a one-shot structured call?** -- Options: - - (A) An agentic `claude -p` session with read tools (Mind queries, web) and a structured final report. Wondering becomes reading becomes perceiving. - - (B) A one-shot `--json-schema` call through the ModelConnector, with no tools. Reads happen only in code, at selection (Mind recall). A `look` proposal triggers a code-run Mind query for a follow-up turn. No web. -- **Recommend A.** It is her words ("only that final step being agentic"), and Ghostlight's Interpreter is a tool loop. Exploring ideas, which she named, needs reads, the web included. -- A gives up about 40% of per-turn cost relative to B (~0.02 vs ~0.012 permille). It keeps a second model path, the CLI session and its sandbox, in the organ. -- Depends on it: C3b's shape, the lease path, and whether `self_run.rs` survives C2 at all. +## 12. Questions, answered -**Q2. Where are deltas read from?** -- Options: - - (A) The organ's trace, read with `mind-persona since` over ssh. - - (B) Huginn keeps a history of persona puts (each put carries its delta), readable over the network with a new `huginn persona since`. -- **Recommend A.** The trace already holds every turn and is the existing owner. Ssh is today's path anyway. B adds a store to Huginn for one consumer. -- A gives up deltas readable without host access, and the trace is a file on one host (backup is Idunn's). -- Depends on it: C5, and whether C1 also touches `PersonaPut`. +All five were answered by the operator on 2026-11-19 on the Fork Desk. The rulings were admitted at `mind-commit-e1a356a1`. The options as posed are kept short here; revision 1 (`b2eff14`) has them in full. -**Q3. Does the base-model divergence stream survive?** -- Options: - - (A) Park `stream.rs` and its unit. The Projector *is* her stream now. - - (B) Keep it as a zero-quota local base-model pass whose latest continuation becomes one selectable item in the Projector's packet. It would live in the trace, not in the Mind. - - (C) Keep it as built, admitting `thought` documents into her Mind. This conflicts with "cannot write the Mind". -- **Recommend A now, B later.** Selection with freshness and lens already answers convergence (Chu 2025), and A is cheap to test. B is a measured addition if narrations still converge. The live eval in 3.4 is the gauge. -- A gives up her ruled "useful divergence" from a base model, for now (`divergence-stream-beside-persona`). -- Depends on it: C2's park list and C3a's pools. +**Q1. Agentic Interpreter, or one structured call?** Answered: **agent**, as recommended. +- Ruling: `eureka-body:ruling:persona-only-interpreter-agentic`. +- What it gave up: about 40% more per turn than a one-shot call, and a second model path (the CLI session, sandbox and lease) inside the organ. +- Shapes: section 2 and C3b. -**Q4. What wakes her besides being addressed?** -- Options: - - (A) Addressed (mention, name, DM), plus the beat (30 min), plus follow-ups. - - (B) As A, plus any human message in her rooms, debounced 90 s. - - (C) As B, plus other Minds' messages. -- **Recommend B.** Banter mostly happens in talk not addressed to her. Silence is still hers, by prose. With seven Minds braked, B's traffic is the humans', so cost stays near the social row (~2.3 permille/day). C becomes the Minds-talking-past-each-other loop again when others wake (EL Kandoussi; 85–95% of Mind messages mentioned another Mind). -- B gives up restraint as a default. She will notice more, and the 0.015-permille turns will add up on a busy day. -- Depends on it: `heartbeat.rs:519 wakes` and the cost row. +**Q2. Where are deltas read from?** Answered: **trace**, as recommended. +- Ruling: `eureka-body:ruling:persona-only-deltas-from-trace`. +- What it gave up: network reads without ssh. +- Shapes: section 8 and C5. Revision 2 adds interventions to it (section 4.4). -**Q5. Does anyone besides her organ write her persona state?** -- Options: - - (A) Only her commit step. Self on Starfire reads her deltas and speaks to her in chat like any person, and that *is* the feedback loop. Ruling `memory-persona-projection` ("Life edits only the Persona state") is narrowed to Self's own memory, which stays where it is. - - (B) Self and Life may also put her state, for corrections, with the commit rebasing on their edits. -- **Recommend A.** One writer is invariant 2. Edits from outside a person's experience are what the operator is reacting against ("They didn't feel like individuals"). The ruling `she-owns-her-body` and `identity-write-all-visible` already make the state hers. -- A gives up direct repair. A rotten field gets fixed by talking to her, or, as a last resort, by braking her and putting the state with a recorded reason (an emergency path, not a writer). -- Depends on it: the 0b table, and the root-memory ruling's revision. +**Q3. Does the divergence stream survive?** Answered: **park-then-input**, as recommended. +- Ruling: `eureka-body:ruling:persona-only-divergence-parked`. +- What it gave up: the base-model divergence for now. +- Return condition: measured narrations converge (section 3.4 eval). It then comes back as a local zero-quota Projector input, kept in the trace and never in the Mind. +- Shapes: C2's park list, with the condition written into the tag note. -## 12. Alternatives considered and not placed on a question +**Q4. What wakes her besides being addressed?** Answered: **humans-in-rooms**, as recommended. +- Ruling: `eureka-body:ruling:persona-only-wake-humans-in-rooms`. +- She wakes when addressed, on any human message in her rooms (90 s debounce), on the beat, and on follow-ups. +- What it gave up: restraint as the default. +- Shapes: `heartbeat.rs:519 wakes` and the cost row. -Self should admit these as `idea`s, recorded against, after the ruling: +**Q5. Does anyone besides her organ write her persona state?** Answered: **self-and-life-too**, against the recommendation. +- Ruling: `eureka-body:ruling:persona-only-state-writers-self-and-life`. +- Her reason: daily tuning experiments need "a tight watch, interfering early and often", and the Personas are set loose once trajectories are understood. +- Revision 2 makes the three writers coherent (section 4.4) and legible (invariant 8, section 8), gives them the daily loop (section 9), and names the revisit condition (section 9.4). +- What it gives up, said plainly: for the experiment phase she is not the sole author of her own state. An unannounced edit is a change she did not live. The tell-by-default line and the trace are what keep that honest. + +## 13. Alternatives considered and not placed on a question + +Self should admit these as `idea`s, recorded against: - `second-uid-interpreter`: run the Interpreter's claude under a second uid fenced to a door without `PersonaPut`. It would make "only the commit puts" kernel-enforced. Recorded against because it protects her state from her own organ, at the cost of a unit and a fence row. - `persona-door-unix-socket`: a peer-uid unix socket like the desk door instead of a second RUDP port. That is stronger authentication than the fence, but it needs a new client transport in `mind-body`. Recorded against for now. The fence already decides by uid. - `numbers-in-persona-prompt`: show the Persona her trust and mood numbers. Recorded against because Ghostlight's contract keeps raw state out of the responder, and numbers invite performance of numbers. - `mood-in-moodDimensions`: use `affect.moodDimensions` as the mood owner. Recorded against: it has no mean or plasticity, and two homes would be two owners. - `beat-skips-interpreter-on-silence`: a cost knob. Recorded against, since being ignored is felt. -- `pull-gated-beat`: the heartbeat computes a motivation score from her needs and wakes her only above a threshold (Inner Thoughts). Deferred until Q4's traffic is seen. It would make the heartbeat read her persona state. +- `pull-gated-beat`: the heartbeat computes a motivation score from her needs and wakes her only above a threshold (Inner Thoughts). Deferred until the traffic under `persona-only-wake-humans-in-rooms` is seen. It would make the heartbeat read her persona state. - `self-writes-seed-state`: Self puts the initial mood, needs and baselines. Recorded against: the commit seeds absent fields with code defaults on first run. - `projector-paraphrases-messages`: let the Projector carry what was said. Recorded against because exact words matter in chat; heard lines are verbatim. -- `haiku-interpreter`: a cost knob, not a default. The Interpreter decides her feelings. +- `haiku-interpreter`: a cost knob, not a default. The Interpreter decides her feelings. It can be tried in a day's experiment through `persona-tuning.toml`. +- `single-writer-persona-state`: only her commit puts. This was the recommendation for Q5. The operator chose `self-and-life-too` for the experiment phase. It is recorded with that ruling as its resolution, and it is the proposed outcome of the section 9.4 revisit. +- `reason-in-huginn-provenance`: add a `reason` to `PipelineProvenance`, so that every put carries its why over the wire, with no put note. Recorded against: it changes a shared wire type for one consumer, and the note plus unexplained-put detection already covers both paths. +- `edit-writes-trace`: `mind-persona edit` appends to the trace directly. Recorded against: `FileTrace` rewrites the whole file with no lock, so two writers would race. The note mailbox keeps one trace writer. +- `huginn-persona-history`: Huginn keeps every persona version so diffs are exact. Recorded against: the ruled delta surface is the trace, and the last-commit copy is enough to diff an unexplained put. +- `separate-projection-eval-tool`: a standalone `tools/projection-eval`. Collapsed into `mind-persona project --judge`, so one owner holds the Select and Projector code. +- `experiment-store`: a typed experiment kind with hypothesis, start and result. Recorded against: Self's day log in Self's own Mind and the `exp-` session labels on puts are enough. Add one only if the daily loop shows a need. -## 13. Body facts this map rests on (probed 2026-11-19) +## 14. Body facts this map rests on (probed 2026-11-19) - `ecf147d` is in `github/main` (`git merge-base --is-ancestor`). This branch is cut from it. - The connector refuses tools before spawning (`ModelConnector c1802d8` `backend/tests.rs:1309`). Its argv uses `--system-prompt-file` and `--tools ""` (`launch.rs:121-146`), and it supports `--json-schema`.