Commit graph

1,140 commits

Author SHA1 Message Date
Meta Vens
19cef9fba7 K5b: one guard per packet section; no section's guard is another's (map 16.19.4, I16.8)
Deletes the cross-section validation and FIXED_ROOM (its floor role moves
to HERE_ROOM_MIN, here_bytes' floor). context_bytes becomes notes_bytes
(5120); here_bytes (768) holds the hour and the mood, then the pronouns,
the conversation and the names, in that order; body_bytes 1024 and
BODY_ROOM_MIN 768; the people's guard is derived from people_full bond
lines. Context keeps a budget per section and reports each section's
bytes and which guards bound; --select-only prints them and the total.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:32:13 +01:00
Meta Vens
617b331fbd K6d: affordances from what the turn holds, not what the request asks (map 16.19.5, 16.19.6)
Perceive only when the room read succeeded; Speak only with a mouth to
send through, a room, and the Interpreter running this turn. The turn
line says plainly what is missing ("no room reaches her", "she can say
nothing"). The derived "nothing she does here builds..." sentence is
shown to go when an affordance of kind write exists (a test-only
variant).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:26:42 +01:00
Meta Vens
235d378bb3 K1d: speech is the drafts she sets down; the Interpreter picks whole drafts by number in a schema turn (map 16.19.1)
Deletes the quotation and sentence code (Quotation, closers, quotations,
segment, Reading, read, unmarked, built) and json_of. The Persona gets
code's speech form (<typed>...</typed>) at the head of Ghostlight's domain
guidance; drafts() reads two literal tokens. The speech call is a schema
turn (Model::ask gains schema; KitModel sets output_schema_json) decoded
whole with from_str. A line is one draft's text; a number naming no draft
is refused; one draft goes one place. GapKind gains Unwritten; a gap is a
draft by number or a located passage of her thought of at least four
words outside every draft (from: draft | thought | unlocated). The speech
frame is written in her Forms. K8's attribution sentence becomes judgement
over whole drafts; its byte-identical test is retired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:21:40 +01:00
Meta Vens
3c2c3e48d1 K8: the Interpreter's guidance knob; privacy, room rules, attribution and cite-never-write stay in code (map 16.7)
InterpreterTuning gains guidance, defaulting to what counts as her choosing
to say it now ("A line is speech only when ...", "Wondering whether to speak
... is not speech", "An empty say list is the usual answer in a busy room").
The speech prompt splits into SPEECH_FRAME_HEAD and SPEECH_FRAME_TAIL with the
guidance between them, so every frame rule after it still binds: the room and
private rules, the JSON contract, whole sentences, at most two lines, the gap
kinds. An empty guidance leaves no hole.

Attribution: K1 strips a standalone quotation's marks, so a quoted paragraph
of someone else's words would post as her own assertion. The frame now says
so beside "Words she recalls or quotes from someone else are never her
speech": a standalone quotation of another person's words is never her line.
This is the Interpreter's reading, not a word match: who said a quotation is a
language question.

The default prompt is not byte-identical to K6's: one contiguous knob cannot
sit where two of its sentences used to, so the guidance sentences move into
one paragraph after the decision. The test holds every K6 sentence present
exactly once, plus the attribution sentence. Unknown interpreter keys refuse
the file; the tuning hash follows the guidance; the guidance is size-guarded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:51:04 +01:00
Meta Vens
63ef1ef10d K6c: the Interpreter is told what she can do here; gaps are typed and her words located (map 16.6, 16.7, 16.16)
The speech prompt gains "What she can do here:", rendered from the packet's
affordances by the same turn_words the body section uses, and the gap kind
missing_affordance: she reaches for something her body cannot do this turn.

Gaps are typed by code (GapKind: conditional | addressee | elsewhere |
missing_affordance), an unknown kind kept as unresolved with what the model
declared, never dropped. Each gap's quote is located in her prose by
SourceSpan::locate, as a speech span is: a located quote is her own words,
verbatim, with their bytes; one not in her prose is marked unlocated (K9 shows
her none of it). The model's detail is kept for the trace only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:49:29 +01:00
Meta Vens
66e144122d K6b: her body in the packet: senses from state, the turn's affordances from code (map 16.6, 16.18, I16.3)
Affordance is typed by what it does (Perceive, Speak), derived by
affordances(&Organs, turn room) from what the turn runs with: the room
reaches her when there is a mouth, and she can speak when the turn has a
room. Read (C3b) and Suggest (K12) are added with the organs that back them.

Select gains Section::Body between Here and People: a line per live sense and
actuator of embodiment, then the turn line rendered by turn_words, which ends
with "nothing she does here builds, changes or ships anything" exactly when no
affordance writes (Affordance::writes, an exhaustive match). The section is
fixed like the hour, under its own guard select.body_bytes (600, at least 256)
inside the context budget; an entry the guard cuts is reported as clipped.

The Projector frame gains its body sentence: the body is how the moment
reaches her and how she can answer, not news, and a lack is felt only when the
moment reaches for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:46:59 +01:00
Meta Vens
0bec1d4f3f K6a: gamecult.persona_state.v0 gains the optional embodiment field (map 16.6, I16.3)
Her senses and actuators, each {id, status, label, summary, lacks, builtOn,
updatedAt, extensions}, closed like the rest of the schema. Writers: Self and
Life puts; her turn's commit never writes it. huginn-mind's schema test passes
with and without the field, and an unknown key inside it is refused at the door.

The gamecult-ops standard text and the VoidBot strict reader are K7's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:44:22 +01:00
Meta Vens
8e5639f452 K2/K3 fix-up: the Projector frame closes Soul's gaps (unknown said plainly, no recap, focus, no options, nothing invented, the voice as material)
Self's ruling on Soul's K1-K3 pass, within the map's "tight, focused":
- Restored from Ghostlight's frame: "say plainly what is unknown rather than
  filling it" and the no-recap rule. Still dropped: "no metaphor, no
  atmosphere", "say only what changes the decision" and the thin-stream clause.
- The no-furnishing clause covers invented acts and events of her own
  (nothing she did, drafted, sent or decided) and lines nobody said in her
  packet (Soul saw "I'd drafted one anyway. Uptime, a list." posted as fact).
- Focus: render the two or three notes the moment touches and leave the rest;
  since K5 the byte caps are guards, so the frame owns focus (map 16.8).
- No options in the frame itself: do not weigh options, list what she might say
  or do, or steer toward a decision; end where the moment is. The default
  guidance loses its own options sentence, which the frame now owns.
- K3's paraphrase lift: "who they are" is a sketch made at another time and,
  with the notes, material and never wording; her manner shows in how the
  stream moves, never as a remark about her own manner.
- The frame keeps its first paragraph, the prefix the test doubles match; the
  golden carries the new frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:28:04 +01:00
Meta Vens
401cf9e07e K1 fix-up: a line that is the head or tail of a quoted paragraph loses the one mark it holds (Soul K1 break; I16.2)
- `unmarked` strips each standalone quotation's opening mark when it lies in the
  run and its closing mark when it lies in the run, independently. Before, it
  stripped only a quotation wholly inside the run, so citing `"No.` + `Not yet.`
  posted `"No. Not yet.` and the tail case kept its closing mark.
- `quotations` pairs marks through one table (`closers`): double marks pair across
  straight and curly (a straight opening closed by a curly mark, and back),
  `„` closes with either curly mark, guillemets `«…»`, and curly single `‘…’`
  whose closing mark is never an apostrophe inside a word (`don’t`). A straight
  single quote is not read as a mark: `'cause`, `'90s` and `the Minds' room`
  cannot be told from a quotation's marks by position, so it is left alone.
- Framed quotations are unchanged: `"Dune" is the best book.` keeps its marks.
  The test helper `texts` now holds a line to paired marks with none wrapping the
  whole line, so a framed title at a line's start passes.
- Tests: head, tail, one-sentence head and tail, and whole, for straight, curly,
  straight-open/curly-close, `„“`, `«»` and `‘’`; an apostrophe inside `‘…’`; a
  straight single quote left alone; framed titles at the start of a line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:26:54 +01:00
Meta Vens
ca62d6c918 K5: byte caps become generous guards; the fill is length-neutral (map 16.8, I16.5)
- Defaults: identity_bytes 700, bond_summary_bytes 600, item_bytes 700,
  context_bytes 4500, the engineered tuning's values made the code's. They are
  guards a seed written to the standard's targets never meets; focus stays with
  the pool caps, the word budgets and the frame.
- The scored fill stops at the first candidate that would pass the context
  budget instead of skipping it for a shorter one, so which notes reach the
  packet never depends on an item's length.
- The packet reports what a guard cut: `clipped` holds `(identity)` when the
  name or voice was clipped and the ids of clipped bonds and items; the
  select-only report carries it, so a seed's clips are visible for free.
- Tests: the old skip-to-shorter test becomes its negative (a long high-score
  item and a short low-score one under a tight budget: never the short one
  alone); a rich seed at the authoring targets reports no clip; every clip of
  the adversarial state is reported; budget asserts read the default guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:21:58 +01:00
Meta Vens
93c5bacc2c K4: the packet in headed sections; one renderer for anchored thoughts; mood against her baseline (map 16.5, I16.4)
- Select renders its context in three headed sections, in fixed order and in her
  pronouns: "Here and now:", "People here, as she holds them:", "Notes about her,
  set down at another time:". A heading with no lines is left out. One `Context`
  owns the context budget and counts the headings with the lines.
- `thought_line` and `thought_words` replace the memory, need, wondering and stance
  closures: `- {kind} [{id}]{, movement}: {summary} {tension} — {question}`. A need's
  label is never its line and its movement goes before the colon, so "…, strong"
  after a sentence cannot happen. Tension is read for every kind, a question
  wherever one is written.
- `push` is the one place an item's words are held to `item_bytes`.
- With no last turn, mood is each axis's lean from its own `mean`, said only past
  `MOOD_LEVEL_MIN` (0.15) ("lighter than usual for her"); an axis without a mean
  is measured from middling; nothing leaning means no mood line. With a last
  turn, movement as before.
- The Projector frame says once what the headings mean; the prompt's
  "Notes on their present:" wrapper is gone, the sections carry their own
  headings. The frame still opens with the same first paragraph.
- Test fixtures: the need gains a summary and tension (an anchoredThought has no
  `label`), the wondering a question, valence leans 0.22 over its mean; the
  privacy test's private need moves its marker from `label` to `summary`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:18:29 +01:00
Meta Vens
121011d708 K3: her voice reaches the Projector only; the Persona and the Interpreter get her name and pronouns (map 16.4, I16.1)
Packet.identity splits into name (publicName and pronouns) and voice
(voiceSummary). The Projector's 'Who they are' is Packet::identity(), name then
voice, under the same identity_bytes guard as before; the Persona's 'Who you are'
and the Interpreter's 'Who she is' are built from name, a value that cannot hold
the voice. The project report carries name and voice in place of identity. A
sentinel test proves the voice is in the Projector's prompt and absent from the
other two.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:58:25 +01:00
Meta Vens
d7c04b122c K2: Huginn owns its Projector frame; Ghostlight's projector builder is no longer called (map 16.3)
narrate::PROJECTOR_FRAME keeps Ghostlight's honesty rules (render only what is
established, absence is unavailable, suspicion is uncertainty, no actions,
schemas, field names or world effects, the word budget), drops its ban on an
interior, 'no metaphor, no atmosphere', 'say only what changes the decision' and
'a thin moment gets a thin stream', and adds the first person, the present tense
and notes-as-material. projector_prompt builds the prompt itself in the map's
order; the ProjectorPrompt and build_projector_prompt import is gone. Test doubles
recognise the Projector by the frame, the golden fixture carries the whole
Projector prompt, and a test refuses any Ghostlight membrane marker in it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:44:19 +01:00
Meta Vens
23e3623057 K1: a posted line carries a standalone quotation's inside, never its marks (map 16.7, I16.2)
built() maps every standalone quotation inside a located run to its inside, so a
line is the same whether the model cites the marks or the words. Framed quotations
are unchanged. The tests' texts() helper refuses any said line that starts or ends
with a speech mark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:39:08 +01:00
Meta Vens
8a578cd060 Merge origin/main (51fc7c3) into the K1-K3 branch: the map branch predates mind-body's projection code the cuts edit 2026-11-20 13:35:36 +01:00
Meta Vens
1a8681b0ce Map r4: the Persona turn's next cut (section 16)
After the persona-seed variant round: Huginn owns its Projector frame
(Ghostlight keeps the Persona membrane and SourceSpan, at no cost to it);
the voice summary reaches the Projector only; the packet in headed
sections with one anchored-thought renderer and mood against her
baseline; the body as per-Mind embodiment in state plus code-derived
turn affordances, after the operator's ruling that Aqua has built
ears; speech lines without marks and an Interpreter guidance knob with
a missing_affordance gap; byte caps as guards with a length-neutral
fill. Cuts K1-K8, the re-test against P2, questions Q-P (perspective of
state text) and Q-Q (promises beyond this turn's affordances).
Anchors Huginn 51fc7c3, Ghostlight c43eb549; based on
imagination/persona-attention ee01a80 because the map is not on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:33:58 +01:00
51fc7c3576 Merge pull request 'Speech binds to her words; Huginn's chat Interpreter; she speaks only in the turn's room' (#82) from hands/speech-binding into main 2026-11-20 05:27:32 +00:00
Meta Vens
7ed31c6f75 Test prose speaks in standalone quotations: a dialogue tag frames its quotation (Soul F1)
"what a day" he says and "Missed you too, friend," he types are framed under F1, so the test doubles' lines went silent. The prose now quotes whole sentences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:25:23 +01:00
Meta Vens
0f3f76a8ab Simulation: one turn a round per Mind, in the room of her earliest waking line; only the room she read is seen (Soul F5, replacing R7)
Who wakes is decided from the room as the round opens, as one heartbeat poll decides from the pending it read, so a line spoken this round counts toward a cap from the next round. A room that woke her but was not read stays unseen and wakes her next round. Tests: a DM and a #minds address answered in rounds 1 and 2; Soul's three rooms answered in three rounds, one turn a round, under ruled and names_with_cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:23:19 +01:00
Meta Vens
be87931b53 Person keys: a Mind's full Matrix id is her handle and the operator's is operator, everywhere a key is read; a value carrying a mark is refused (Soul F6, F7)
People::person_of is the one key reader for senders, targets, about: tags and bond objects. A value has no mark in the schema; one that carries one is not rendered. Tests: both spellings of a Mind behave alike for target and about:, a bond keyed by full ids is found, a marked value never renders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:23:18 +01:00
Meta Vens
484d4f65ba Speech: no line starts or ends inside a quotation her sentence frames; the private word match is deleted; an unclosed opening mark is not part of its sentence (Soul F1, F2, F4)
- A quotation is standalone when it, marks included, is a run of whole top-level sentences; any other is framed, and a line may not start or end strictly inside it. A line holding a framed quotation whole stays sayable.
- The three-word refusal against private items is deleted: whether a line tells a confidence is meaning, the Interpreter's judgement over the private list it is shown.
- An opening mark left unclosed (the budget cut her prose) is stripped from the sentence it starts, so the sentence is citable and the line carries no stray mark.
- Tests: every F1 probe refused (stray inch mark and scare-quote plan included); Weksa's hedge and a whole scare-quote sentence said; Weksa r6 and r10 said; the Q5d test keeps the prompt list and shows no word match refuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:23:18 +01:00
Meta Vens
8881b3f4b5 Simulation: one turn per room that woke her, each in its own room (Soul R7)
woken() returns one wake per room; every turn of hers in a round reads from where the round found her, so a direct message is never marked seen without a turn. Test: a DM and a #minds address in one round give Libby a turn in each, each reading only its own room's line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:01:11 +01:00
Meta Vens
f7decde001 Speech is whole consecutive sentences of her prose; private items are named to the Interpreter and refused in code; echo needs 8 words and 80% overlap (Soul R1, R4, R5, R8, R9)
- Every cited span starts and ends on a UAX#29 sentence boundary; the spans of one line are consecutive sentences, and the line is that unbroken run of her prose. A quotation's inside is segmented as a text of its own, so quoted speech stays sayable. She cannot say half a sentence.
- The prompt lists what she knows privately and allows plain speech of a private matter only to its person, in a DM with exactly them. Code refuses a line that shares a run of three words with a listed item.
- Tests: Soul's Q1a-Q1d refused, Q3d refused on a beat, Q5d refused in a DM with Libby, R9 said, P3 still refused; Hands' "Fine," + "winter" test rewritten.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:01:11 +01:00
Meta Vens
56c45967ef Privacy has one owner: concerns() reads who a private item is about, scope() decides how it renders, for every pool and the bonds (Soul R2, R3, R6, R8, R10)
- concerns(): private is extensions.privacy, a private tag, or a room:! tag; it is about target/object person, else an about: tag, else the DM's partner, else everyone. private_elsewhere is deleted.
- scope(): plain only in a DM whose members are exactly her and that person (a partner-only item: in its own DM, still two; an everyone item: her own room); left out where the person is in the room, a group DM included; framed elsewhere.
- Applied to memories, shortTerm, incubation, needs, doctrine stances and bonds; history.said in a DM is private about its partner.
- Packet.private carries the framed items' words for the Interpreter; a beat's bodies are the tail lines its stimulus quoted.
- Tests: Soul's Q5a-Q5c, the DM-memory test rewritten for the room-tag rule, the said pool; the golden packet moves because dm-secret is now framed in public.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:01:11 +01:00
Meta Vens
947d8f7a40 Scoped privacy: only a bond or memory marked private is framed or left out; unmarked renders as written
Self's decision: the blanket framing smothered relationship texture in public rooms. A bond or memory is private only
when marked (`extensions.privacy = "private"`, or a memory's `private` tag); the schema is unchanged. A marked item
renders as written in a direct message with the person it is about, is left out about someone present in any other
room, and is framed "she knows privately" about someone absent. Unmarked items render as written everywhere. The
Interpreter's rule about private knowledge stays. The convention is documented in the Persona State Standard
(gamecult-ops `docs/persona-state-standard.md`, GameCult/gamecult-ops#129).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:34:11 +01:00
Meta Vens
02e78e1427 Speech binds to her words: a spoken line is her prose verbatim; Huginn's chat Interpreter prompt; she speaks only in the turn's room
Soul's hold on #81 and Self's privacy decision.

- F1: a spoken line is exactly the spans of her prose the Interpreter cites, located in order by Ghostlight's
  SourceSpan::locate and joined with one space. The model never writes the words; `text` is gone from the contract.
  The Persona writes the words she would type, never a description of them. Given up: indirect speech and any
  paraphrase by the Interpreter.
- F3: Huginn owns a short chat Interpreter prompt (what, where, to whom; gaps conditional, addressee, elsewhere);
  Ghostlight's membrane and the INTERPRETER_GUIDANCE patch are gone. `[interpreter]` keeps only the model.
- F2: an echo is a line of four words or more whose word trigrams are mostly the heard message bodies
  (heard_overlap); short answers are never echoes.
- F4: mentions and reply targets only for people this packet showed her.
- F5: a line said once; at most two lines a turn.
- F6: stale docs on the Mind run, the exchange and the policies.
- F7: a human's line ends a Mind's run only in a room the run has lines in.
- Privacy: she speaks only in the turn's room; the Interpreter is told the room, its kind (public, her own, a direct
  message) and who is in it, and not to say in a room what she knows privately; the packet frames bond summaries and
  memories about a person as known privately everywhere but a direct message with that person.
- The simulation's turn is in the room of the line that woke her.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:30:00 +01:00
14be61a167 Merge pull request 'The Interpreter's speech (C3b): what she says is decided from her prose, not parsed from quotes' (#81) from hands/interpreter-speech into main 2026-11-20 04:05:32 +00:00
Meta Vens
ea38f5f17d The Interpreter's speech (C3b): what she says is decided from her prose, not parsed from quotes; Soul's F2 to F9
Speech (Soul F1): `projection::interpret` is the Interpreter's speech step, one tool-less structured call through the
connector under Ghostlight's Interpreter membrane, over her prose, her lived stream, the stimulus, the rooms she may
speak in and the people she may address by Matrix id. It proposes lines, each with a room, structured mentions and a
reply target, and the verbatim span of her prose it rests on. Code keeps a line only when the span locates in her prose
(Ghostlight's SourceSpan::locate, map 4.3), the room is hers this turn, and its words are not what she heard; it drops
mentions or a reply target naming anyone not shown, and records every refusal and drop. An answer that is not the
contract is a failure, never a silence. `--through interpreter`; the batch and the simulation run through it, and in
the simulation the only explicit addressees are its structured fields. `would_say`, `inner` and the quote parsing are
gone; the Persona stage writes her thought with no speech convention. Tuning gains `[interpreter]`.

- F2: she is in a room's exchange when she spoke there within `exchange_minutes` (default 30).
- F3: the Projector guidance names no duty, not even to deny one; "X is waiting on her" only when true.
- F4: the narration metric is a lexical overlap, labeled so.
- F5: a scripted direct message in one of the plan's rooms is refused.
- F6: the Mind-run cap counts one run per Mind across her rooms; LineFacts::default() is at the cap (fail-safe).
- F7: an unbonded sender is labeled by display name and full id, or the id: never a bare handle.
- F8: a room is named by the key the tail carries (alias, or a direct message's id); a public room's id is reported,
  not mapped, since no table in her body maps it.
- F9: group-state parts are sentences, the person waiting on her first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:54:37 +01:00
e817b67abd Merge pull request 'Harness fixes: one wake rule in the heartbeat, the heartbeat's beat, group state in the Projector' (#80) from hands/harness-fixes into main 2026-11-20 03:34:37 +00:00
Meta Vens
63606efddd Projector and Persona after the operator's reading; humans_pace per ruling; Soul's hold on #80
Projector (the operator: "Sounds like a Projector issue"):
- The group state is the conversation as it stands, in one room: who is talking with whom, a human's question to the
  room that others answered as covered (one nobody answered goes unmentioned), when a human last spoke, Mind lines in a
  row, and a human waiting on her by name. Never what she owes. Every count covers the window the line describes (S4);
  never several rooms folded together, never a direct message into a public room (S3). Default group_lines 12.
- Absent state is left out: no "mood: none recorded"; a bond, need, memory, stance, wondering or value without content
  is not rendered, and a bond without trust or tension says neither.
- Guidance: never retell what she heard (it reaches her verbatim), render what it stirs; never a debt; no options; leave
  out what the context does not carry; use pronouns as given. Metrics, not filters: heard_overlap (word trigrams shared
  with the heard lines) and offers_options (a narrow lexical flag), per render and per run.
- Pronouns: `[pronouns]` in the tuning by Matrix id, the swarm's people as the default, they/them for anyone else; the
  persona schema has no pronoun field for another person. A pronoun line names everyone the packet shows from the room.
  The packet speaks of her in her own pronouns throughout ("Said to him:") (S5).
- Bond lines put the kind after a dash and lists use semicolons: a label may hold a comma ("Meta, the operator").

Persona stage: continues her inner stream in the first person; speech only where her thought moves her to it, in double
quotes; others' words she recalls in single quotes; @handle tags someone. The report shows her inner prose apart from
what she would say.

humans_pace (ruling persona-only-humans-pace; the operator's words that Minds' explicit mentions wake too):
`HumansPace(cap)`: a human's line wakes her in her own room or a direct message always, and in a public room when it
addresses her or continues an exchange she is in (an exchange ends at a gap over exchange_gap_minutes, default 20); a
Mind's line wakes her only by a Matrix mention or a reply, in any room, while fewer than `cap` Mind lines in a row came
before it. Own rooms come from the plan: neither the heartbeat's table nor persona.env records ownership. Live is
unchanged. In the simulation a said line's @handle of a cast member stands in for a Matrix mention.

Soul's hold:
- S1: Config::new refuses an operator id that is also a persona's.
- S2: the simulator's beat asks heartbeat::addressed_by_member over the deliveries the mouth would give her.
- S3: --in given as a room id is read by its alias.
- S6: a scripted direct message names its recipient (`to`), is seen by sender and recipient alone, and wakes only her.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:23:06 +01:00
Meta Vens
ee01a80cfb Map r3: attention and initiative (section 15)
The open floor and the beat by drive, after persona-only-humans-pace and
persona-attention-and-initiative: one structural open-floor predicate,
one pull function shared by the heartbeat (who) and the Select stage
(why), sequential self-selection derived from the event id and the room
tail with nothing new stored, the explicit-mention arm with its backstop
cap, cuts A1 (delete tempo pick and the dead policies) and A2, harness
plans and metrics, cost, and questions Q-A (drives in initiative) and
Q-B (spoken answer guarantee). Anchors at 43966fa; branch based on
imagination/persona-only-heartbeat d861574 because the map is not on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:05:03 +01:00
Meta Vens
b90c21e695 Harness fixes after Soul's hold on #79: one owner of the wake rule, the heartbeat's beat, group state in the Projector
- F1: `heartbeat::wakes(policy, addressee, delivery, speaker, mind_run)` is the one wake rule. The poll asks it with
  `WakePolicy::Live` (behaviour unchanged until `po-mind-wakes-mind` is answered); the simulator asks it with the plan's
  policy: `ruled`, `humans_pace`, `names_with_cap = N`, `all_messages`. The simulator reads each persona's addressee from
  the heartbeat's addressing table (stewarded project names included) when the plan names `heartbeat.cc`.
- F2: the beat falls on `beat_s` of simulated time and wakes one Persona, the winner of `tempo::pick`.
- F5: Mind-addressed evidence is counted per wake (its strongest evidence), not per line.
- F6: reply chains are per room and count Mind lines spoken in turns another Mind's line woke.
- F7: a failed call is a failure, apart from silence; silence rate is per woken turn that did not fail.
- F8: a test that another seed changes the order.
- F9: `--state` docs say P4 and P5 are not checked.
- Group state (`select.group_state`, default on): one packet line over the room's last `group_lines` lines: who spoke
  to whom, when a human last spoke, how many Mind lines in a row, lines to her, an open question to everyone. Inside the
  context budget, narrated by the Projector like every other line; golden fixtures for the four scenario rooms.
- Reports: wakes by cause and by round, per-room chains, failures, 18 representative lines, the explicit-addressee gap.
- Tuning: `persona.words` and `persona.guidance` get the upper bounds the Projector's knobs have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:40:38 +01:00
fe723867f7 Merge pull request 'mind-persona project: the persona seed harness (--room, --through persona, --batch, --simulate)' (#79) from hands/persona-harness into main 2026-11-20 01:53:34 +00:00
Meta Vens
19e0ee5285 simulate: wakes per round split human-caused and Mind-addressed; Mind-addressed evidence by mention, id as text or name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:14:38 +01:00
Meta Vens
8d69d3bded mind-persona project: the persona seed harness (--room, --through persona, --batch, --simulate)
The harness judges candidate persona states before any Mind holds them, through the
same `project` the live turn will use: every case is one `project` call.

- `--room <fixture.toml>`: a mocked room in place of the mouth and the room tail:
  her id, rooms, messages (sender, display name, room, ago, body; new, tag,
  mentions, dm, follow_up, reply_to), a mocked now and a "last heard from" table.
  The fixture is a MouthReader, so addressing is still `address::is_for`. The live
  room filter that `--room` used to name is now `--in`.
- `--state` is checked as a put checks content: huginn-mind's P1 to P3 now live in
  one owner, `persona::validate_document`, which the put calls.
- `--through persona`: the Persona stage (C3b's first piece). One tool-less
  connector call under Ghostlight's persona membrane over identity, narration and
  the heard lines; prose capped at 180 words; would-say lines are the double-quoted
  spans; usage per call. Tuning gains `[persona]` (model, guidance, words).
- `--batch <plan> --out <md>`: states x scenarios x samples, one Markdown report
  with packets, narration, prose, would-say lines, word counts, distinct-2 and
  cross-state word similarity, and a total-usage footer.
- `--simulate <plan> --out <md>`: up to eight personas taking turns in one room.
  Wake is is_for plus the ruled set (addressed, any human in her rooms, the beat);
  `wake = "all_messages"` is the old loop as a control. Woken personas run in a
  seeded order; quoted lines join the room as from her id. State does not evolve
  (`state_after_turn` is the seam for C3b/C3c). Metrics: messages, silence,
  who addresses whom, Mind-to-Mind chains, lexical convergence, a work-talk
  heuristic, usage.
- With a state file and a fixture no daemon and no mouth is needed (bin test).
- Request ids take the wall clock, so a fixture's fixed now cannot replay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:13:51 +01:00
c4bd83b026 Merge pull request 'Projector (C3a): Select stage, Projector narration, persona-tuning.toml, mind-persona project' (#76) from hands/persona-projector into main 2026-11-20 00:04:05 +00:00
Meta Vens
c43385962f Projector: a table without her row says so, whether or not its age is known
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:34:03 +01:00
Meta Vens
a2c59462e0 mind-body public surface: Failed, and the heartbeat view's written_at
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:32:43 +01:00
Meta Vens
078cefc024 Projector: tests read the third pass's rules (quoted display names, the 60% floor, the part bounds); Soul's list is 69 forms
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:31:01 +01:00
Meta Vens
f146be2e65 Projector after Soul's third pass: a glued-name boundary rule; one selection for both renderings of the messages to her; JSON escapes for bodies and display names; failures keep the report and their usage; a 60% floor and CJK words in the cap; addressing age; bounds under the connector frame
T1: 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>
2026-11-20 00:28:55 +01:00
Meta Vens
754f28c550 mind-body public surface: drop a stray runner line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:50:50 +01:00
Meta Vens
a19ea126ed mind-body public surface: Model answers with its usage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:49:13 +01:00
Meta Vens
432d76e994 Projector: an overrun ends on the last whole sentence inside the budget; every render and judge call reports the connector's usage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:47:32 +01:00
Meta Vens
33b42226f5 Projector guard: "short-term" is ordinary English, its one kebab exemption; shortTerm and short_term are still caught
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00
Meta Vens
47f2e6c5d3 Projector: a section heading over nothing is left out
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00
Meta Vens
57a6556968 Projector: golden packet and public surface after the second pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00
Meta Vens
12b777e67f Projector: clippy; others counted when messages to her take the room; the e^-21 floor is a short-term item's
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00
Meta Vens
fd56ea1442 address: the backslash joint as a character literal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00
Meta Vens
c2cf38904e Projector after Soul's second pass: is_for decides addressing; escaped bodies; a ceiling on messages to her; crystallized memories by relevance, not age; lens from what is held; full-id people; tighter tuning and guard
S1: to_her is address::is_for over the heartbeat's addressing row (own names
when there is none); a name inside a path or identifier no longer addresses
her, in address.rs itself. S2: room talk is headed Also in the room. S3:
addressed_bytes (8 KiB) bounds the messages to her, newest first; one larger
message is clipped between graphemes with its remainder counted. S4: one
escape (spoken) renders every body. S5: only short-term items decay; memories,
values and stances come forward by lexical relevance to what the room said;
the lens is drawn from included items. Lows: people keyed by full id except
the operator and the Minds; unbonded speakers shown with their id; tuning
refuses an empty model, a temperature outside 0.01..10, all-zero caps and an
overflowing identity; the guard folds kebab and run-together forms; a beat
respects small caps; project refuses without MIND_PERSONA_SELF_SENDER.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00
Meta Vens
f4f02b841c mind-body public surface: projection's read-only organs; recall gone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:43:50 +01:00