Harness fixes: one wake rule in the heartbeat, the heartbeat's beat, group state in the Projector #80
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/harness-fixes"
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?
Follow-up to #79, after Soul's HOLD findings and Self's decisions.
What changes
heartbeat::wakes(policy, addressee, delivery, speaker, mind_run)decides every off-beat wake. The live poll calls it withWakePolicy::Live, so live waking does not change until desk questionpo-mind-wakes-mindis answered. The human-message wake is not in the live path. The simulator calls the same function with the plan's policy:ruled,humans_pace,names_with_cap = Norall_messages. Each persona's addressee comes from the heartbeat's addressing table, read without a lock or a write, so stewarded project names count (F4).beat_sof simulated time and wakes one Persona: the winner oftempo::pick.--statedocs say P4 and P5 are not checked.select.group_state, default on,select.group_lines,select.group_bytes): one line over the room's recent lines, inside the context budget, narrated like the rest. Golden fixtures cover the four scenario rooms, and the chat golden packet is updated.Verification
Yggdrasil, ygg-verify rust image:
cargo clippy -p mind-body -p huginn-mind --all-targets -- -D warningsis clean, andcargo test -p mind-bodypasses (565 passed, 0 failed).Live runs
One repeat each: 12 rounds of 5 simulated minutes, a beat every 1,800 s, Life's draft for Eureka plus the 7 stored states, and the operator opening warmly in #minds. The runs ran as an unprivileged admin user on Eureka's connector credential. The state copies were readable by that user alone and are deleted.
Every Mind-addressed wake was a name in the text: none was a Matrix mention or reply, and none was an id written as text. Total: 410 calls, 106,896 output and 743,001 cache-write tokens. Her trace, the heartbeat state and all 8 persona receipts were unchanged. The five mouth cursors that moved hold the mouth's own Matrix sync token (
nextBatch), which its sync loop writes.🤖 Generated with Claude Code
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>New commit
63606ef: the Projector and Persona fixes after the operator's reading of the humans_pace run, thehumans_pacewake rule perpersona-only-humans-pacewith explicit Mind mentions, and Soul's S1 to S6. Verified on Yggdrasil:cargo clippy -p mind-body -p huginn-mind --all-targets -- -D warningsclean;cargo test -p mind-bodygreen.Live rerun (one repeat each, 12 rounds of 5 min; #minds public, #eureka and #kiko own rooms; same cast and seed):
Every Mind-addressed wake was an explicit @mention; none was a name in prose. Her trace, the heartbeat state and the eight receipts were unchanged. Mouth cursors moved by the mouth's own sync, as before.
Reports, and round 1's narrations before and after side by side, are in
F:\Projects\swarm-experiment-2026-11\work\harness\(sim-v3-*,round1-narrations-before-after-2026-11-20.md).🤖 Generated with Claude Code