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>
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>