Projector (C3a): Select stage, Projector narration, persona-tuning.toml, mind-persona project #76
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/persona-projector"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
C3a of the Persona-only heartbeat map (
docs/persona-only-heartbeat-map.mdat d861574, sections 2, 3 and 9). Sessioneureka-self-persona-only-2026-11-19.Stacked on #75 (C2). Until #75 merges, this diff also shows C2's three commits. Mine are the four on top of
7b9fa7d.What lands:
mind_body::projection, a new module. The Select stage (select.rs) is code and deterministic for a seed. It fills the fixed slots (identity, the hour, the stimulus by turn kind, a bond line in words for each person present, mood as movement), then samples the scored remainder (salience x recency x touch x unresolved x freshness) without replacement from softmax(log score / T), using Gumbel-top-k. Each pool is capped and the context budget bounds the whole. Select never readsagencyPressure,candidateActions,privateNotesorprovenance. A memory taggedroom:!dmis selectable only in that DM. Mind recall comes fromrecall.rs, with follow-ups excluded.narrate.rs): Ghostlight'sbuild_projector_promptwith the lens as "Begin from ...". It is one tool-less connector call (KitModel, copied from the parked stream'sKitProjector), and the output is cut at the word budget: 150 words, 90 on a beat. A deterministic guard (field_names) checks the output for leaked identifiers.persona-tuning.toml(tuning.rs): every Select and Projector knob. An absent file means the defaults, and an unknown key refuses the file. The SHA-256 is carried with every packet.mind-persona projectwith--select-only,--renders K(K successive turns under freshness),--judge <state>(distinct-2 plus a model judge, which passes at 0.8),--state,--kindand--room. It has no port that writes and reads no brake.recall.rs: eachEntrycarries kind, salience, admission time and the daemon's nearness. The old prompt's recall section (render, lane headings) is cut.ghostlight-persona-projectiondependency is back (C2 dropped it),toml0.9 is added, and the public surface is regenerated on top of C2's.Verified on Yggdrasil (rust 1.95 container):
cargo clippy -p mind-body --all-targets -D warningsis clean, andcargo test -p mind-bodypasses 492 lib tests plus every integration binary,public_surfaceincluded. There are 29 projection tests, including:projectin every mode admits nothing, changes no mind document, leaves the trace bytes alone and only reads the mouth.Live on Yggdrasil as
mind-eureka, throughsystemd-run:--select-onlyagainst her stored state succeeded.mind-commit-b8c818aa...and the trace sha2560d203224...were the same before and after.--rendersis blocked by the mind fence. Her uid is rejected on loopback TCP 4110 (the connector), so the map's assumption thatprojectreaches the connector as her uid does not hold yet. That needs a fence decision; this PR does not work around it.Not merged, not deployed. The brake stays held.
🤖 Generated with Claude Code
Self's ruling on recall, pushed as
5a75b54,e9a15f4and686639b:persona-tuning.toml[select] recall_sortsis now a field. It defaults to Learned, Idea, Decided and Rapport; Committed, Did and Asked stay out. A sort the mind does not know refuses the file.[select.caps] recalldefaults to 1 item per packet.projectreports the sorts it used underrecall.sorts.recall.rsnow offers only memories of the cued sorts. Follow-ups, rulings,listedand the open-item filter are gone, along with the tests that pinned them.-D warningsis clean and all ofcargo test -p mind-bodypasses: 491 lib tests plus the integration binaries,public_surfaceregenerated.project --select-onlyasmind-eurekaused sorts [Learned, Idea, Decided, Rapport]. The packet holds one recall item, a Decided memory. The receipt and the trace sha were unchanged.🤖 Generated with Claude Code
9bd39504e8toa985737e7ea985737e7etoeadef8e0fdeadef8e0fdto33b42226f5T1: address.rs names_whole_word: a name is glued only by a letter or digit, or a single hyphen with one beyond it; every other character is a boundary, so _Eureka_, Eureka/Libby, ok...Eureka? and Huginn.toml name her again and mind-eureka does not. Soul's 72 forms pinned. T2: said_to_her decides once; stimulus and heard both carry the count. T4: Model::ask fails with Failed { reason, usage }; a failed render or judge call is recorded with its usage and the report goes on. T5: the sentence cut keeps at least 60% of the budget; 。!? end sentences; CJK characters are words. T6/T7: spoken is a JSON string; a display name is quoted, capped at 80 bytes and followed by its Matrix id. T8: the addressing report gives the table's age and why it was not used. T9: own beat lines excluded (tested); words, stimulus, item and the other parts bounded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>