failed_run counts hold rows after the last completed wake as it counts failed wakes, and only those dated today (UTC). The rewrite-in-place row and its starts counter are gone. Hold rows stay out of her packet's window. The backlog note no longer points at a read tool that cannot read a room. MemTrace reads in the live trace's (seq, at) order; backlog edge tests pin a newest line over budget, the hand-computed count and the oldest left-out line.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The left-out lines are still held by the wake, so its completion acks them; she is told the count and where they start and reads
them back with her read tool.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The poll no longer reads the hold row's until: a held start rewrites the UTC day's one row with its count of starts, failed_run
counts them as failed starts (no strike), so a raised cap releases her within a beat and a bogus row holds no one. Test at exactly
the cap.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Start gains agent, session and box_socket; Request carries told and tools; Wake carries fresh; sandbox exposes
serve_box, BoxPaths and COMMONS_RW for the box-exec verb. ClaudeSpawner::in_sandbox, outcome::Refusal and
ReadRefusal leave the surface.
Cut persona-agent-tools (A2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
say keeps what survives of the drain's sends: the handed row is in her trace before the mouth is called (a trace that
refuses it sends nothing, not_sent); send ids {wake}:c{n}; a row still handed at the next start is resent with resend
inside OWED_WINDOW_S and settled unknown past it (settle_handed, no model call); the mouth's answers read through
Refusal::reading (NotSent, SendFailed, ResendUnknown); a room holding a handed or untold unknown say is refused
room_unsettled. Identity posts go through the same Mouth::post. read covers the forge, her mind, campaigns and plain
web, error with the failure's words; shell writes one request to her box socket and passes its receipt through;
request_tool is a receipt for Self.
The drain settles handed sends, runs the stages once, wires agent::step with the four executors, and writes the wake
record last with where it began; an agent outage the connector typed strikes nothing. What she is told is one
derivation, outcome::told: every telling row from her last completed wake's start on, rendered by tool and status;
turn.rs keeps decided, failed_run and history over wake records, and untold/is_real are gone. exchange_of reads say
and read receipts. Affordances and her body line come from the tool set. A fresh session is seeded with her ready
intentions. ReadRefusal, the amendable/already_read/refused_reads packet fields and the speech-shaped outcome go.
Cut persona-agent-tools (A2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
"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>
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>
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>
- 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>
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>
- 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>
- 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>
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>
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>
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>