Commit graph

1,381 commits

Author SHA1 Message Date
Meta Vens
cede45d2dd public surface: Failed carries outage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:20:03 +01:00
Meta Vens
7111a4b56b persona drain: a send's transaction id carries a digest of its words, and her own line already in the room is the receipt of the send a retry repeats
Synapse keeps a transaction id 30 to 60 minutes (HttpTransactionCache CLEANUP_PERIOD), so a turn retried later than that, whose record never landed, would post again; and a line rendered again under the same id would get the old event back for its new words. The mouth now counts her own tail lines that follow the line the turn answers as the sends they are, and names a send by turn, place and words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:16:23 +01:00
Meta Vens
417e287dad persona drain: unread stewardships fail the start; a line the heartbeat woke her for is waking; the live state view and its failure are pinned
Soul R21 p2 is the test. Kills mutants m08 (FileStore::woken_for none) and m11 (unread heartbeat state read as no claims).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:07:48 +01:00
Meta Vens
a81cf69813 persona drain: an outage is the connector's typed kind, carried on the failure; a bad tuning file fails the start and strikes no line
Failed carries outage, set where the typed kind is known: ConnectorClientError (FrameSize and RequestIdTooLong are strikes), Refusal (PayloadBound, OutputBound, Malformed, ModelNotAllowed, ReplayConflict, the substitutions and ForeignReasoningState are strikes) and FailureKind. The reason-prefix list is deleted. A project error (tuning, her own id) is the body's, not a line's: the start fails loudly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:05:08 +01:00
Meta Vens
8cdfa9972e persona wake: a claim whose turn left its line pending is given back, so the poll wakes her again and a taken hello is not barred from the other Minds
The poll drops her handled key for a line still pending in the chat of a Mind whose unit is not running (a drain acks what she decided and what it set aside). Covers a failed turn, a unit that died before draining and a crash between the claim's save and the start. Soul R21 p1 is the test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:01:28 +01:00
Meta Vens
ae34484e90 persona wake: one derivation of the lines a wake is for; the poll records them before it starts her unit and the drain reads them
heartbeat::claimed is the lines a wake is for (the waking line and the floor lines she took). The poll records them as handled keys and saves before the start (given back when it fails); the simulator hands the same to her packet; the drain narrows the open floor to them and carries them into her request. Closes woken-wider-than-sim and woken-save-after-start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:59:35 +01:00
Meta Vens
25706ea647 Merge hands/persona-wake-humans-pace into the drain: humans-pace rule and open floor over the drain, strikes and set-aside
Simulator keeps the drain's turn::history (last wake read from her records) and adds the floor's lines; domain.rs keeps the drain's stewarded read; the project path reads her rooms by own_rooms_among.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:59:35 +01:00
Meta Vens
ecb7f29081 persona drain: a send is named by the line it answers, a beat's by its start; a record's key is her trace's length
A reply whose record did not land is sent again under the id it went out under, so the mouth answers it as the send it
was; two beats whose records did not land no longer share an id. The pins Soul found missing: a set-aside line is
done while its ack fails, and her put's stamp is at the put and after the stored one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:45:31 +01:00
Meta Vens
ad2d3a1001 outcome: the set-aside row names whose line it was and its words
Her trace's set_aside record carries the sender and the words of each line set aside; the told row says 'her turn on
<sender>'s line "<words>" failed twice, so it was set aside'. The event form names no one and quotes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:26:43 +01:00
Meta Vens
08107ba8bb persona drain: a strike is the oldest held line's alone; outages are one explicit list and every other failure is a strike
The strike a failed turn charges goes to the oldest line it was waking on, recorded in the turn, so a line that
shares a room with a poison line is not struck for it. Two strikes set aside that line only, acked past before the
room's turn so the turn reads the room without it. belongs_to_the_line, the list of the line's own failures, is cut:
the outages (RateLimited, Unavailable, Timeout, Authentication, the connector not answering or refusing) are the one list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:20:04 +01:00
Meta Vens
0ab26384f1 Public surface: heartbeat::woken_for and Request::woken_for
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:46:13 +01:00
Meta Vens
90e2ce935a Persona packet: a line the heartbeat woke her for is said to her
The wake and the packet's hers were two owners: an open hello that picked her was met among the others. The heartbeat's handled keys name what woke her (heartbeat::woken_for), the Persona unit reads them into Request::woken_for, and a simulation passes the lines its floor gave her; to_her is is_for, her own room, or woken for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:44:11 +01:00
Meta Vens
6088444907 Persona wake: a failed start passes the open hello to the next of the pick, and a taken hello is spoken for within the exchange window
The floor is judged with the Minds whose start failed this poll ineligible, as the beat passes over a refused Mind, so one broken unit no longer holds every hello. A hello another Mind took is no one else's to take or for the beat to hand over while it is within EXCHANGE_MINUTES, whatever the forgotten handled keys remember. Each event is judged once by the first Mind that holds it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:40:40 +01:00
Meta Vens
8ece5cc676 persona drain tests: one copy of the two failure reasons
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:17:38 +01:00
Meta Vens
fbb6af32cc persona drain tests: the two failure reasons
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:16:20 +01:00
Meta Vens
f5cc11b30c persona drain: only a failure that is the line's is a strike; an outage, quota stop or connector failure is retried
belongs_to_the_line names, beside the code that writes them, the failed reasons that are the line's (an answer that is
not the speech contract, a refusal, a context or size limit); the record already carries the reason, so no field is
added. The poison-room tests fail on a refusal and a new set fail on outages and a mixed run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:16:12 +01:00
Meta Vens
d35e657261 persona: STRIKES is the drain's own, not public surface
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:02:32 +01:00
Meta Vens
f9357e8909 persona drain tests: the paged read, the turn key, the refused put told, the beat room, the unchanged state, the ack (Soul's pins)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:57:42 +01:00
Meta Vens
de720eacef Persona wake: the open floor has one form gate and one speaker gate, and its once-per-line and tagged-line cases are pinned
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:55:30 +01:00
Meta Vens
6e42673599 persona drain: a failed room cannot hold answered rooms; two failures set a line aside; the put is stamped at the put; keys without the clock
Her trace records now carry the room and the event ids the turn held. A line a turn that did not fail held is decided
and wakes no one again; a line two failed turns held is acked past with one set_aside record, told to her next turn.
A turn decided is the turn that did not fail, so a trace that cannot be written no longer makes her answer again; the
mouth's ack follows the turn. The put is stamped at the put and strictly later than the stored updatedAt (P5), and the
fake store enforces P5 with stamps after the turn began. The turn key is the newest seq and her trace's length. The drain
reads every page the heartbeat reads (read_pending, shared).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:55:05 +01:00
Meta Vens
3c626d0d55 outcome: a refused put and a set-aside line are told to her plainly (put-refused-untold; the told form for the poison room)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:51:10 +01:00
Meta Vens
64e61dd20e Persona wake: a member's open hello in a public room wakes one Mind, the beat's pick
A member's untagged new message in a public room that names no Mind wakes exactly one Mind when no Mind of the roster has spoken there within the exchange window. She is the winner of tempo::pick among the Minds that hear the line, so the poll and the simulator choose the same one; a handled key (the poll) or the simulator's taken set keeps it once per line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:38:47 +01:00
Meta Vens
6be19aa069 persona test: no stray 'no organ' wording
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:24:23 +01:00
Meta Vens
a8983c3c19 mind-body public surface: the drain's Start, Put, PersonaStore, trace_lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:21:31 +01:00
Meta Vens
e34315a382 persona drain tests: clippy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:19:46 +01:00
Meta Vens
d9e80efbe3 persona: the put lives beside the drain, not in project; test fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:17:29 +01:00
Meta Vens
a7f8d9d2e9 persona: ack after each turn, so a start killed between turns does not replay an answered message; fix compile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:15:05 +01:00
Meta Vens
325dfddbb1 persona: the live start is a drain (cut L2): one turn per room with a waking line, a put with one re-apply, ack below the first failed waking line
Outcome::NoOrgan is deleted. carry builds the organs only after the brakes allow a turn, reads her state and pending once, takes at most TURNS_PER_START turns through take with the mouth, puts under the updatedAt she was read at (one re-apply on stale, put_refused in the record on a second refusal), appends the record after the put, and acks once. mind-persona gains trace --instance --last.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:12:32 +01:00
Meta Vens
3d442259b0 turn: take names each send's id and the Mouth's basis is per room (L1 findings mouth-key-second-source, mouth-send-index-unpinned, mouth-basis-one-room)
The actuator's send takes the id take names, {key}:s{index}, so the key has one source; the Mouth holds the newest event of each room her input held and sends the basis of the room it speaks in. A two-line turn pins distinct request ids.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:12:31 +01:00
Meta Vens
4b134c3d1e Persona wake: the drain's own-rooms test follows the mind's one-instance rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:11:40 +01:00
Meta Vens
355b6237a6 Persona wake: own_rooms takes its repos and aliases at their own lifetimes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:08:40 +01:00
Meta Vens
760cc8fb81 Persona wake: the simulator's tests drop FactLine's retired is_direct, and the parity test pins the Mind run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:07:24 +01:00
Meta Vens
c320966315 Persona wake: the Mind run lapses with the exchange window, only a new message wakes, one DM check, the drain reads her rooms as the poll does
The Mind run ends after a silence of the exchange window, so a tag in #minds or a Mind-to-Mind DM wakes her again. An edit or a notice wakes no one on any path. A direct message is hers by address::is_for alone. The drain's own rooms come from heartbeat::own_rooms_among (the poll's stewardship reader, no forge URL), and an unread mind or mouth is named in the run's report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:07:19 +01:00
Meta Vens
9e06fb9745 Merge branch 'hands/persona-wake-humans-pace' into hands/persona-live-drain
# Conflicts:
#	crates/mind-body/src/projection/simulate/tests.rs
2026-11-27 21:03:56 +01:00
Meta Vens
9852a83a18 Merge branch 'hands/persona-live-one-turn' into hands/persona-live-drain 2026-11-27 21:03:27 +01:00
Meta Vens
536ad6cbec Persona T7 fix: a retry note past the cap is recorded as refused, an unparsable retry says why, the own-line boundaries are pinned (Soul s2 N1, N2, N4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:56:25 +01:00
Meta Vens
b042bee00b Persona T7 fix: the live repo root and recall titles-only lines are pinned by tests (Soul s2 N5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:56:24 +01:00
Meta Vens
4e0df42e85 Persona wake: the poll pins her own room from her stewardships
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:08:18 +01:00
Meta Vens
f9a0e1ef2d Persona T7 fix: the retry's call record compiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:06:53 +01:00
Meta Vens
a907e7ffdf Persona T7 fix: a note is exempt only for a line she already posted, whole words and at least ECHO_MIN_WORDS; the retry is tested, records why it failed, and reads at most one note per note sent back (Soul s1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:04:39 +01:00
Meta Vens
70417d2de2 Persona T7 fix: recorded root and mind reads say titles-only as live does; a rulings list marks only the rows that lack text (Soul s1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:04:38 +01:00
Meta Vens
f9f966cb10 Persona wake: tests follow the one rule
The policy cases go; t_w1 cases pin the rule, the facts of both paths and her own rooms. Heartbeat poll tests read a Mind's tag, not its prose, and a member's address or direct message wakes her.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:58:54 +01:00
Meta Vens
a52c7dc51f Persona wake: one humans-pace rule, owned by the heartbeat for the poll and the simulator
WakePolicy and the plan's wake field are gone. heartbeat::wakes is the humans-pace rule; heartbeat::line_facts owns the Mind run, her own room and her exchange (moved from the simulator); heartbeat::own_rooms derives her rooms from her stewardships. The poll weighs each delivery with the facts of its context lines, and the live drain sets own_rooms from her stewarded repos. A plan that still carries wake fails to parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:58:52 +01:00
Meta Vens
7ced536c17 Persona turn: Taken has no methods; the committed surface names the two actuator impls
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:41:22 +01:00
Meta Vens
e8cba0e2fe Persona turn: Taken keeps no second copy of what the commit did
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:26:02 +01:00
Meta Vens
83778697e3 Persona turn: the committed public surface and the docs follow the trace record
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:18:01 +01:00
Meta Vens
999bca7f95 Persona turn: one turn for the simulator and the live organ, behind a send/edit seam
projection::turn::take owns one turn: project, each said line through the actuator, each amendment through it, the record, commit::apply. The simulator's room and the mouth are its two actuators; the simulator's inline turn block and its private recent/last/last_turn vectors are deleted, and what they held is read from the run's records by turn::history. The mouth refuses an edit no_edit_at_the_mouth, which outcome_of now tells.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:13:02 +01:00
Meta Vens
d819fa314c Persona trace: the turn record is the stored row; TurnTrace and TraceItem v1 are deleted
FileTrace keeps each record as a CultCache entry keyed <run>-t<turn> with the record Value as its payload and lists them oldest first by when.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:13:02 +01:00
Meta Vens
900e8fea6c Persona T7: the note retry's helpers are free functions, so the public surface does not change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:50:08 +01:00
Meta Vens
9d02af2240 Persona T7: a note retry skips what the first pass already settled; tests follow the titles-only line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:47:08 +01:00