Commit graph

1,151 commits

Author SHA1 Message Date
Meta Vens
9cd4caf175 sandbox: the one bwrap profile moves to sandbox.rs with extra_rw, and her box's side of a shell command (run_box, serve_box)
ClaudeSpawner's sandboxed spawn was reached only from its own test since the Persona organ went live (the Self runs
unsandboxed through ClaudeSpawner::new), so that use is deleted rather than kept: the profile now has one caller,
the box. run_box reads one {command, timeout_s} request, runs /bin/sh -c under the profile with the commons data
dirs bound writable, stops it at its timeout, and answers {tool: shell, status, exit, duration_ms, stdout_tail,
stderr_tail, wrote}.

Cut persona-agent-tools (A2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 01:46:31 +01:00
Meta Vens
e365113179 projector: a long tendency is clipped to the room left and reported, not the section emptied (s1.tendencies-vanish-silently)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 01:07:23 +01:00
Meta Vens
f9f85890ac projector: the golden packet lists the drive it now shows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:39:31 +01:00
Meta Vens
60e629a7dc projector: her read and what moved a bond ride within one bond's allowance; golden and frame follow
The people's guard is unchanged: a bond line carries her read of the person
and the claim that last moved it only while the line still fits what one bond
is allowed, else the bare line as before. The frame names the fixed lines
(pressing, means to do, feelings, tendencies) as always with her.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:36:03 +01:00
Meta Vens
c42ff2f39b projector: she feels her whole state each wake
Select now renders what was written and never read: her strongest drives as
pressing lines and her ready, unexpired intentions as means-to-do lines (fixed
slots under the notes' guard, never drawn); named feelings in the mood line,
read after decay with their source; her read of a person and the claim that
last moved a bond on that bond line; a bond line for each person the lines she
is shown name though absent; her standing tendencies with her identity. Words,
never numbers; every line under the item's own privacy scope; no one's words
reach the Projector, only her own state's text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:24:25 +01:00
Meta Vens
1dbc8f443b persona: a put whose reply was lost leaves its identity record pending
When the store commits but the reply is lost, the put errors with the outcome
unknown. interpreted() voided the pending identity_diff then, and it was never
posted. A put known not to have landed (refused, stale again) still voids;
an unknown one stays pending and the next wake's owed_identity settles it
from her state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:19:57 +01:00
Meta Vens
c2fc1b8393 persona: the pending-identity test keys its records as the drain does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:05:47 +01:00
Meta Vens
bd770abc13 persona: hash the identity diff with sha2's Sha256
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:04:16 +01:00
Meta Vens
26628892e9 persona: fix a stray closing arm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:03:37 +01:00
Meta Vens
4ef517b881 persona: an identity diff is written to her trace before the put, posted under a stable request id after it, and owed posts are retried next wake
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:01:32 +01:00
Meta Vens
1ae14ade13 persona: the commit's bounds are per wake per target, merged by sum clamped to one step; labels are quote-checked; a made bond does not move
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:01:32 +01:00
Meta Vens
5c0d3764f0 persona: the Interpreter is one cheap schema call of typed deltas in six families, applied by commit::apply with bounds, validated, put once, receipted
The Proposal enum and the turn-writes-shortTerm-only doc are deleted; commit::apply owns every change a wake makes to her state (bonds +-0.08, needs and pressures +-0.12, mood by plasticity, feelings halving in 8 h, notes, intentions expiring within a week). I16.7 echo and quote checks live in commit.rs. put_applied re-applies deltas on PersonaStale, validates the document before any put, and the drain appends the Interpreter's receipt and posts identity diffs to the review room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 23:32:44 +01:00
Meta Vens
5a9c851890 agent: a settle names its call row by the row's place in her trace; a call that reports no token is charged the worst case
A retried wake reuses its wake id, so keying settle rows by call id let a retry's
settle price an orphan reservation. Ledger::append answers the row's seq, the call
row's place is echoed as the settle's reserved, and the day sum pairs by it. A usage
that parses with all-zero tokens is charged the wake cap, as missing usage is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:56:38 +01:00
Meta Vens
ad5e9ed13b agent: the day cap fails closed; cache prices follow the pricing page; the session's edges are pinned
A call row is written to her trace before the call is made, holding its place in
the day at the wake cap; a settle row after it names the usage and prices it. A
trace that cannot be read or cannot take the call row makes no call; a settle row
that cannot be written ends the wake with no further call and the call still at the
worst case; a failed call that reports no usage is charged the worst case. A row
whose time or usage does not read counts against the day. Every ledger fault is
the turn's Failed (outage), never an Err.

Price carries the 5-minute and 1-hour cache write rates; Sonnet 5.5 is $0.10 a
cache hit, $2.50 and $4 a write. The compile_fail doctests name every field so
privacy is all they can fail on. Tests pin the digest's model and tool
parameters, the mid-wake cold update, cache_min_tokens, ttl, too_long and the
wake and day caps at equality, created_at, every priced term, the agent tuning's
bounds, the plain ask over a kit, and the session store's discard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:32:46 +01:00
Meta Vens
9d18d84604 Her agent: agent::step, one bounded turn of a persistent session over KitModel with tools
agent::step owns one agent turn: the loop over executors, its bounds and the
session's freshness. Tool calls (8), model calls (10) and spend ($0.40) per wake
and spend per Mind per UTC day ($3.00, read back from her trace's call rows and
priced by tuning [agent]) are checked before every call; a bound ends the loop
with a cap receipt. Every receipt, call and discard is a trace row (TraceLedger;
turn::is_real reads no agent row as a turn). FileSession keeps the conversation
until the cache is predicted cold (ttl, digest, size, orphan tool call) or observed
cold (a warm prefix read as nothing), when it is discarded with a session_discarded row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:32:46 +01:00
Meta Vens
5f46407663 KitModel::step hands back tool calls; the connector pin moves to the Messages API backend
KitModel::run's EndTurn-only match and its silent drop of ToolCall events are
deleted. step() is the one call: it returns the transcript items, the text, the
tool calls, the stop and the usage, with tools, auto tool choice and the cache
retention on the request. ask stays a tool-less turn over it and keeps
its failure on any other stop. model-connector moves to ModelConnector main
edf2f8e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:32:45 +01:00
Meta Vens
e4aa73b4dc drain_tests: order the overflow assertions after the acks binding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:14:45 +01:00
Meta Vens
4cdcef5c9b drain_tests: the overflowed turn room holds all 200 events and acks through the 200th
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:13:54 +01:00
Meta Vens
5c4742aa8e public surface: HeartbeatState declares the retired slot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:02:10 +01:00
Meta Vens
266e31a2ff heartbeat: keep slot 3 declared as a retired slot so a deployed four-slot state still saves; pin the turn room's overflow count and acks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:00:05 +01:00
Meta Vens
1d8859f4d5 public_surface: HeartbeatState no longer holds owed_starts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:29:01 +01:00
Meta Vens
67ca14b90b persona: name the page's shown lines under a key the packet's elsewhere check does not trip; restore the arrivals senders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:27:22 +01:00
Meta Vens
cf029115cc mind-body: drop the last unused import and field clippy found
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:24:35 +01:00
Meta Vens
35f0e40681 persona: one failure, one room; hold only what she was shown
- A wake that fails for a reason that is no outage makes the next wake take only the oldest waking room. A non-outage failure strikes the
  oldest line only in a wake over one room; a blended wake strikes nothing, so an innocent room is never set aside for another's line.
- A wake holds, of the other waking rooms, the lines the Persona's page had room for (Waked::elsewhere_shown), her own and what is no
  message. The ack never passes an undecided line of a room still owed a wake, taken or not.
- A failed wake acks nothing.
- The wake record names its kind. drain_tests is rebuilt without the send-era fakes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:23:36 +01:00
Meta Vens
4f88185a2e mind-body: delete the dead test code the speech cut left
Unused imports and test helpers for deleted contracts (Replaying, X5Model, x5_plan, FailingPersona, Deaf, the outcome and read fixtures and the
empty span tests module), found by clippy --all-targets -D warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:23:36 +01:00
Meta Vens
7b3db59258 heartbeat: delete the owed waker; a record's owed list is read by no one
Nothing settles an owed send now, so a poll that started a Mind for one would start her forever. Removes owes/owes_send, the heartbeat's
owed_starts state field and its backoff, and the tests that pinned them; a record carrying `owed` decides its held lines and wakes no one
(t_l3_an_owed_list_in_her_trace_starts_no_one). No live trace holds a turn_record with an owed key (read-only key scan, 2026-11-29).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:23:28 +01:00
Meta Vens
7dd74ec1cc persona: one wake per start; the Projector and Persona run once over every waking room
Delete the Interpreter's speech module, its tests and golden, the Persona's
mid-stream reads and continuations, the draft markup and speech form, Model::converse
and the per-room turn loop (TURNS_PER_START), the send machinery the drain no longer
reaches (deliver, Actuator, Mouth, owed sends), and the simulator's simulated room as
an actuator. Add projection::wake: one packet for the turn's room (the oldest waking
line's), every other waking room an arrival (who, where, when; never the words) and
its lines verbatim for the Persona; the Projector once, the Persona once. persona::carry
takes one wake per start, writes one wake record, and acks through the highest held seq
when it completed. A failed wake acks nothing; two non-outage failures set the oldest
waking line aside. The drain posts nothing until the agent is wired (A2); put_applied
and Taken are the seam the Interpreter's deltas attach to (P2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:50:46 +01:00
e951555007 persona: her outcome is read from her latest real turn (#85) 2026-11-28 07:59:54 +00:00
d59a702d72 Cargo.lock: mind-body lists ureka dep ureq (#84) 2026-11-28 07:09:17 +00:00
4285ec749f Persona live organ: one-turn, drain, wake-humans-pace, turn memory (squash of hands/persona-live-drain) (#83) 2026-11-28 07:05:44 +00: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
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