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>
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>
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>
F1/F2: the Projector shows her persona state and her room; recall.rs and the
recall pool, recall_sorts and its cap are deleted. Reading the Mind is the
Interpreter's (C3b).
F3: messages to her go in whole and first; others fill what is left, with an
exact note; overflow past the cap is reported.
F4: candidates are included with probability 1 - exp(-score / inclusion_score);
caps are maxima. F5: the hash is of the effective tuning. F6: the guard reads
the persona schema and the tuning keys. F7: bounded fixed slots and relatedness
cue; the redundant final clip is gone. F8: tuning values are validated.
F9: project's organs are read-only traits. F10: clips land on graphemes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Recall now reads only memories of the cued sorts: follow-ups, rulings and the
open-item filter leave it, with the tests that pinned them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The upgrade gate opened instance eureka only, and Mind::open refuses a store
whose instance document names another Mind, so no other Mind's store could be
gated. gamecult-ops now gates every store before a release moves any daemon.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removed: launch's run opener and its types, queue's queue and breaker,
heartbeat's Night; changed: heartbeat Config and HeartbeatState.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F4: the night wake started a plain mind-persona@ unit and traced it as
Sleep and "asleep". Deleted the night branch, Night, Config.night, the
HEARTBEAT_SLEEP_UTC and HEARTBEAT_SLEEP_MINDS settings and
HeartbeatState.last_night_at (added by this PR, never deployed, so nothing
must decode it). A wake's trace entry is her slug. Reflection and
consolidation return in C4.
F6: deleted a_flag_overrides_the_environment (asserted exit 0 with the
config discarded) and the heartbeat test that compared two identical rigs.
F7: Cargo.toml no longer says the Persona drains her chat or that launch
opens runs; heartbeat.rs no longer says Persona units read its addressing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Map section 7 keeps no dormant switch in main: Self-run launching is parked
at parked/self-run-launch. open_and_launch was the only code that opened a
SelfRun run and nothing called it in production.
launch.rs keeps the systemd door (Launcher, SystemdLauncher, unit names,
the brake's stop) and the two reads self_run uses, holders and closure.
Deleted: open_and_launch, Ports, LaunchRequest, LaunchOutcome, Declined,
slot, START_GRACE_S, run_label, the dead-run closer and the breaker
question, with their tests.
queue.rs keeps MindPort, HuginnMind, the paged reads and on_hold, which
self_run's inbox reads. Deleted: queue, breaker, Breaker, CONSECUTIVE,
WINDOW, EMPTY_SHARE, live_claims, claims_of, with their tests.
control: Grant::for_test and the launch-gate tests went with the gate.
testkit: the helpers only those tests used.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul C1 F5: the lock from the pin merge was accepted by --locked but
rewritten by an unlocked cargo; this is cargo's own rewrite.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul C1 F4: the source, chat, chat-window, activity and roots reads are
handed to the mind at the persona door (none refused NotThisDoor, each
answered the same at both doors); the semantic wire test also runs through
the persona door, so a held search answers by the persona hub.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Taken from the test's printed full current surface. Two lines are main's
drift, not this cut (chat_client's Basis gained FollowUp, and
FOLLOW_UP_BASIS); the rest is the subtraction: 83 lines removed (persona's
reply and session organ, stream, sleep's inbox, tempo's tally and PID,
heartbeat's AGENT and HeartbeatView::latest) and 11 changed or added
(persona Outcome/carry/Config, heartbeat Config.beat_s, DEFAULT_BEAT_S,
HeartbeatState's turn and night maps, FileStore::latest, Organs without
host, Standing without self_permille).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Map: docs/persona-only-heartbeat-map.md (imagination/persona-only-heartbeat,
d861574), cut C2. Rulings: eureka-body:ruling:persona-only-heartbeat (she
reads the Mind and never writes it; no Self runs from the Persona).
Persona organ (persona.rs 3983 -> ~420 lines): deleted the live session
organ whole: TURN_INSTRUCTION, TURN_REMINDER, MESSAGES_HEADER, WORK_QUESTION,
ANSWER_MESSAGES, WAKE_ASK, WORK_TAIL; PersonaReply with intent, remember,
rule, settle, start_self_run, tempo vote and urgency, and reply_schema; the
doctrine and persona-JSON system prompt (read_doctrine, render_instructions,
campaigns); start_session, persona_args, PersonaInbox; act, decode_reply and
every admission (memories, rulings, settles, pulses, follow-ups, run closure);
start_self_run; the responsibilities, recent-runs and wear renderers;
render_input and render_tempo. carry reads the brakes and answers Dead or
NoOrgan; a start writes nothing and records no run. Kept per the map's keep
list for C3: Config (doctrine, image store and fetch fields cut with their
consumers), the brake read, the chat-addressing helpers, the tail renderer
and FileTrace; uncalled ones carry allow(dead_code) naming C3.
Night: sleep.rs is deleted. It was a Mind-writing session built on the
deleted prelude; C4 retargets its contract from history.
attachment.rs is deleted with the reply's save_attachment, its one caller.
chat_image's loader and recall.rs stay for C3 under allow(dead_code).
Heartbeat: no Mind writes. A wake is a plain unit start through the
Launcher (brake, then alive, then start); busy is the unit's own state.
Deleted the Self-run branch (claimable briefs), the self-ended wake, tempo
votes and declared urgency (standing_vote, pending_urgency, last_self_end)
and the run-based last_turn and last_sleep reads; HeartbeatState gains
last_turn_at and last_night_at (default slots, so a state written before
this cut still decodes). The beat is HEARTBEAT_BEAT_S, default 1800 s.
InstanceTrace.vote_beat_s stays as an always-none slot so heartbeat.cc's
older trace records still decode. HeartbeatView loses latest; the
timeline reads FileStore::latest.
tempo.rs: tally, fallback_beat and the PID controller and its sim are
deleted; pick and score stay, without self_permille.
Tests that pinned deleted behaviour are deleted with it; surviving ones are
kept, and two heartbeat tests pin the cut: a Mind with claimable briefs gets
a Persona wake and no Self run, and no poll admits anything to any mind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deletes stream.rs, its tests, the mind-stream binary and its integration
tests, and the dependencies only it used (ghostlight-persona-projection,
ureq, the model-connector daemon dev feature). The organ is kept at tag
parked/divergence-stream, whose note names the ruling's return condition.
A brake hold still stops mind-stream@ units a host has installed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HuginnMindRequest::reaches_persona_door classifies every request with no
wildcard; Daemon::handle_at refuses what the persona door does not answer
with MindRefusal::NotThisDoor before the mind is asked; --persona-bind binds
the second hub, and run serves both, a search answering by the door it came
in at. Map: docs/persona-only-heartbeat-map.md (d861574), cut C1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul found the wire comment (and the published schema carrying it) still told every
caller to narrow with the last hit's ts_end_ms + 1.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The pinned 1.95.0 toolchain rejects the negated conjunction at admission.rs:674 under
-D warnings; the rewrite is its own suggestion and De Morgan-equal.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>