K61 (map 16.33.5): each promise entry carries `now` and `done_by` (a draft said or added, the read, or the note). A
`done_by` naming an act the answer does not make is a contract fault, asked again once; after a failed retry it reads as
null. At the decision an act is done only by an act that happened (a draft said or added, the read made, the note left);
anything else opens as her promise, and one opened open from a `now` entry is told next turn ("nothing in her turn did
it"; `Applied.now_opened`, `Part::NowUndone`). Promises are decided after the read resolves.
K63: a `missing_affordance` gap naming a draft that did not go out is a clause of that draft's row, never its own row
(a superseded draft, which no row tells, keeps the reach row); every row of an unsent draft ends "had drafted".
K64: a read need whose target a found read of this conversation already holds opens as `words`, with `readBefore`
{at, of} (persona_state.v0 gains the optional field); the reaffirm narrowing path does the same. Her view renders
"read it {when}, before this promise", and never "not read it yet" beside a read of the same target in the conversation.
Replays from R16: X.3 r2 and r8, E.5 r1, X.5 r5/r6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lines she may reply to and add to are the turn room's alone, so a hold opened from one covers every line and addition,
here or anywhere: the opening's place and an addition's own room decided nothing (four equivalent survivors). Pins: one
verdict per hold opened twice; a direct message's readers exclude her own line and another room's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
say and amend gain a required clear_of. verdict_faults finds a covering hold (listed, or opened by this answer, covering
anywhere or the room the draft goes into) named in neither list, and the one loop retries it. After a failed retry the
draft names it (Faults::named), so held_by and the words gate hold it, and decision.unverdicted reports it. clear_of is
recorded on the said line and the addition, clears nothing the words gate holds, and a Held line that named the hold
clear is reported in decision.clear_of_overruled. Tests replay R16 X.3 r1 and X.4 r7.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Quotable.to_her marks the chat turn's new lines to her, and the Interpreter's list shows them "(said to her)". The schema
requires no_hold; heard_faults retries through the one loop (Faults gathers the loop's three faults and names each in a
paragraph); a fault the retry leaves stands as decision.heard_unaccounted. Tests replay R16 X.3 r1, r5 and r7.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deletes "(to the room, to one person, or as a note for Self)" and "whether they go anywhere is decided after her, from
what her thought shows" from persona_speech_form (map 16.33.5). Packet.readers names who reads a direct message.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R16: decide_in re-asked under the segment's one id with a changed prompt, and the connector's
replay store refuses an id it saw with other bytes, so every retry failed live. One root per render
(wake_id, wall clock, minted once); each call's id is call_id(root, stage, segment), and the
Interpreter appends its attempt. A replay-enforcing fake model (Replaying) drives a read wake whose
Interpreter retries on both segments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A candidate that shares a contiguous run of at least ECHO_MIN_WORDS words over
span::tokens with any held text enters the room as that text (Soul s5 inverted:
a part of a longer held draft said behind a lead-in). Cost under ruling
k45-held-words-errs-toward-held. A carry past the room CARRIES_BYTES leaves,
after other carries, is carried clipped to that room and reported in
carries_full.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's pass on K51-K55, answered:
- The refusals that do not depend on the gate (NoRoom, Used, Duplicate,
NotQuotable, Echo, SecondAmend, NotAmendable) are settled first; the gate
counts each refused line unsent, and owns Held and OverLines both: a line
past MAX_LINES is cut, counted unsent, and the gate runs again until
nothing is newly held or cut (soul_s1a/b/c inverted).
- Every covering hold holds an unsent draft; a refusal carries `holds`, all
of them, and she is told each asker (pins s-first-covering-hold-is-last).
- A re-hold by the same asker over the same place in the wake that released
the hold starts with the released hold's carries (soul_s2 inverted).
- A draft is carried whole; CARRY_BYTES is gone. A draft over CARRIES_BYTES
alone is carried clipped and reported (soul_s5 inverted, tail alone).
- An unbonded person reads to the Projector as `"Kiko", someone she does not
know` (soul_s3 inverted).
- Duplicate, the gap-quote containments and the carry dedupe compare under
span::fold (span::fold_text, the one folded-text helper).
- Pins for Soul's other surviving mutants.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Map 16.31.5, option (i). select::who_of(sender, names) is the one
constructor of Who: her own name for her, the bond's label for someone
she is bound to, anyone else's display name cut to at most 3 words and
32 bytes (quoted and escaped), or "someone she does not know"; never a
Matrix id.
Every Projector input that names a person takes a Who: People (bond
lines and the arrival on them), Here (also-here, pronouns, the
conversation and its speaking cues), a beat's contacts, the lens, and
the outcome. name_of keeps its display-name-and-id arm for the
Persona's room, the Interpreter's lists and Quotable.who only.
The record gains ids beside names: a Held refusal's hold carries
by_id, a commit close carries by_id; promises and holds already list
to and from. Outcome name slots become Person { told, event: Who },
built once in outcome_of from those ids, which now takes the Names
it builds Who from; Form::person is the only reader.
Tests: soul_f inverted over every Projector input (chat, beat, the
lens over seeds, every outcome person slot); every Part names by Who;
a bonded person by her bond; the commit copies no heard line into her
state's free text. Golden group-state files and the public surface
move with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the retry is off the contract or its model call fails, and the
first answer parsed, the loop breaks with the first answer: its
unaccounted drafts are refused Undecided and its hold faults fail
closed. decision.retried reports how the retry failed, with the first
answer's fault under it. The turn fails only when no answer parsed.
Tests: soul_e inverted, a model error on retry, and both negatives.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The decision's `carry` lists every draft of the wake that neither went
out as a line nor as an addition, for every hold open or opening,
whatever its fate; commit::carry_held reads it and nothing else (the
`reason == held` filter is gone). The cap keeps the oldest: 9600 bytes
a hold, past which `carries_full` is reported. The schema's maxItems 4
on carries goes with the drop-oldest cap it encoded.
interpret::held_gate replaces held_texts and repeats_held: per room,
the held texts (carries of covering holds, the wake's unsent drafts,
drafts named held) are measured over everything entering the room,
her listed lines since the hold included (Amendable.at_ms), to a
fixpoint. Naming only adds. The Interpreter's hold list shows what each
hold carries under select.hold_bytes, and an unquoted hold's listed
line by id.
Tests: Soul's soul_a, soul_b, soul_b2, soul_d, soul_g inverted, each
turn 2 built from turn 1's committed state; every fate; the cap and the
clip (pins k45-carry-no-clip); negatives; the revision cost. K45's
hand-built carries are gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
span::fold is the one fold table and span::tokens the one word split for
likeness: heard_overlap's trigrams, echo's length, promise_found's count
and containment, and offers_options all read typographic punctuation as
the locator does. interpret::folded and the private split closures are
deleted. Tests: soul_c inverted, U+02BC (pins k47-fold-no-modifier-
apostrophe), a curly echo, and a negative grep.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The surface snapshot gains outcome::form's impl headers and Status's
Display (K46) and loses PoolCaps.said (the Said pool's cut). r10's decline
whose quote stands nowhere now leaves its draft undecided, not the turn
failed (K48).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
K39 deleted the release by her prose; commit::hold_release writes only
{act: "heard"}, and no stored variant state carries "prose" (checked under
/var/tmp/persona-variants). The enum's "prose" let an outside put record a
release no code path can make. Pinned by a_hold_is_released_only_by_a_
heard_line in huginn-mind's persona schema tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
select rendered each History.said line verbatim into the Projector's notes
(Pool::Said). A line of hers can carry someone else's words, which is why
K43 moved her outcome's words to her view; it was dormant only because
nothing fills History.said before C3c. Deleted: the Pool::Said lines, the
pool itself, History.said and its Said type (no other reader), caps.said,
and the Said-line source of what she may add to.
Gives up: once C3c fills her past lines, she may add only to her last
turn's lines in the turn's room, not to an older line the Projector was
shown. Her past lines in this conversation still reach her verbatim
through the exchange block of her view.
Tests: what_she_may_add_to_is_her_last_turns_lines_in_this_room_only
replaces the Said-line amendable test; the DM Said-pool test and the
last-turn-vs-pool test go with the pool.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
decide_in breaks out of the retry loop on the retried answer whatever it
leaves unaccounted. Each draft it still accounts for nowhere (absent, or an
unsent whose quote will not locate) is refused Undecided, a new Refusal
with no act; every other draft is decided as the answer says, and the
decision reports undecided: [n]. The outcome tells it: "Nothing of this
reached {room}: what was to become of it was never settled, so it was not
sent. {She} wrote: ...". The loop's failure exits are a model error and an
answer that is not the contract twice.
Deleted: the missing branch of the retry's second failure.
Tests: k48_p3_one_unlocated_decline_leaves_the_line_to_meta_said (Soul's
P3 inverted), k48_a_draft_the_answer_forgets_is_undecided,
k48_a_non_contract_answer_twice_still_fails_the_turn; five tests that
expected a failed turn now expect undecided drafts (r10 also pins that
Kiko's line goes out).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every text of a record a Part carries is Words, whose String is private to
outcome::form and read only by Form::words; Form::Event reads none. A read
is ReadName { told, event: EventPhrase }, built once from its request: the
Projector gets its kind, and a repo or campaign by name only when it is in
her domain (select passes the digest's repos and campaigns). StillOpen's
status is a closed enum. Refused reads that resolved carry their request,
from interpret and from the cap path both. K49's own_words now returns
&Words; settle compares by Words::is and reports through Form::Report.
Deleted: the quoted closure parameter of Part::reached and Part::rest,
every String field of Part but room and person names, and the event
form's access to ReadRequest::what.
Tests: k46_every_part_has_an_event_without_its_words (exhaustive variant
match, replaces k43_every_row_...), k46_words_cannot_be_formatted_or_
borrowed_as_text (compile-time not-impl probes in place of a compile_fail
doctest, which cannot name a private type), k46_p6_no_read_carries_words_
to_the_projector (Soul's P6 inverted, with and without Bifrost in her
domain).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
projection::span::locate is Ghostlight's boundary algorithm under a char-to-char fold
(curly and modifier apostrophes, curly double quotes, en and em dashes, no-break space),
mapped back to the source's bytes. Every quote check in commit.rs and interpret.rs uses
it; both SourceSpan imports go, and the Ghostlight pin stays for build_persona_prompt.
Refusal::HoldUnquoted is deleted: an ask on a listed line whose words cannot be located
opens with words null, the asker's line its evidence. hold_faults reads the raw hold
items, so one that is not the contract is a fault on its line (or "a hold item"),
retried, and fails closed for the drafts naming it. Her view and the Interpreter's list
say the record could not quote what. Schema: hold.words is nullable.
Tests: Soul's P2 inverted (replaces k44_an_unlocated_hold_holds_only_the_drafts_naming_it);
a hold the retry cannot quote opens unquoted and holds next turn by its carries; Soul's
P5; an unlisted line opens nothing; the fold maps back to source bytes; Ghostlight's
boundary and timing tests copied; one locator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
decide_in builds the held texts before the act loops (held_texts): each say or amend
whose named holds hold it, and the carries of each open hold listed. A say or amend
into a covered room whose text repeats one (equal, or echo's measure against it alone)
is refused Held whatever it names; naming adds and never clears. The refusal's hold
names its handle beside who. The commit appends each Held refusal's draft to its
hold's carries (dedup, at most 4, clipped), and reports a handle no hold answers as
held_unrecorded. Her view shows each hold's carries. settle tells a held draft a
receipt shows in a covered room as HoldBroken and reports it; a Held refusal is never
omitted, and same-text rows are told once.
Schema: hold gains optional carries; the holds and hold descriptions lose the prose
release K39 deleted.
Tests: Soul's P1 inverted; Kiko's turn-2 ask held by carries; another room, a release,
a short mention, an amend; the broken-hold row replaces 6cd2128's pin; her view.
R13 X.1 r1's ready line repeats the held draft and is now held too (pinned).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
settle checks each row that says words of hers did not reach a room (Refused, Gap with
Wrote, Unfinished, Declined, NotAmended, HeldFor) against the receipts by the row's own
room and text: a posted line there, or an addition there whose edited receipt has no
refusal. A row that reached is omitted and reported. The refusal and unsent loops lose
their inline checks. HeldFor keeps its draft text for this purpose and never renders it.
Tests: Soul's P4 inverted; pins for k44-reached-ignores-addition, -any-room,
-added-without-receipt; every row kind settled by its room; one receipt check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- outcome: no refused or declined row says "Nothing of this reached {room}" when a posted
receipt or a made addition shows those words reached it (I16.10); the row is omitted and
reported. Used and Duplicate are the Interpreter naming one draft twice: not told, as
NoDraft is not. SecondAmend stays told, under the same receipt test.
- interpret: a hold fault the retry did not mend no longer fails the turn. Drafts naming
that hold are held (held_by fails closed); every other draft is decided; the fault is
reported as decision.hold_faults.
- interpret: hold_released is read item by item (deny_unknown_fields per item), so a
malformed release is dropped into state_unused and its hold stays open.
- tests: Soul's P2, P3, P4 as negatives; pins for k39-faults-no-word-floor,
k39-faults-unlisted-line-passes, k41-declined-quote-anywhere.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
outcome.rs renders each row in two forms from one table: `told`, her quotes
verbatim, which opens her view as "What came of her last turn:" under
outcome_bytes (clip-quotes-first and count-the-rest moved onto it; `unshown`
reports what it left out); and `event`, the same sentence with every quote
clause removed, which is the Projector's outcome section. I16.7 holds by
construction: no outcome line in the Projector's prompt carries quoted text.
Deleted: outcome::repeats, withheld, REPEAT_RUN; Outcome.heard/own/own_at;
Outcome::line and its sent/timed parameters (select's `timed`); the decision's
`heard` field (its only reader was outcome_of); the "(her words, not shown
here)" form; the K16/R5/PLOVER/k25 guard tests and k41's withheld pin.
Contract: "A draft to someone who spoke to {her} this turn is declined only
when {her} prose says {she} chooses not to send it."
Tests: k43_x1_r1_her_decline_is_hers_to_read (inline golden of both forms),
k43_e2_r6_her_own_lines_are_in_front_of_her, k43_sentinel_never_reaches_the_
projector, k43_no_quote_guard_is_left_in_projection, outcome's
k43_every_row_tells_her_words_and_its_event_carries_none and
k43_her_words_are_told_verbatim_whatever_the_record_heard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
UnsentHow::Held becomes Declined (schema enum, contract clause); each unsent
entry carries its quote as located in her prose (unsent_cited, the one
locating, shared with the accounting); Part::Held becomes Part::Declined
{ text, thought }, rendered with the cited thought and her words, each through
the guard. suggest no longer checks used, so a said or added draft may also be
her note. Used, Duplicate and SecondAmend join Part::Refused with code's why()
as the reason; NoDraft stays omitted and reported. Tests replay R15 X.1 r1
(Libby's decline: the guard withholds both quotes, pinned; with only Meta
heard, the thought is shown) and F.1 r1 (Heimdall's line and note from one
draft; the run's inbox lists it). Negative: an unsent is not the
contract; a NoDraft is not told. Golden frame updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
narrows refuses a named read whose normal form is the repo's own, so a bare
GameCult/Bifrost no longer replaces GameCult/Bifrost?q=..., and the root read
that lists pull requests keeps nothing. reopen refuses NotHerClose unless
closedBy.act is said or amended; ReleasedNotReopenable is deleted and a release
is NotHerClose. k36_a_release_is_not_reopened becomes k40_a_release_is_not_hers;
negatives: a bare-repo reaffirm (any spelling) and an outside close (act put,
or closedBy null) reopen nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deleted: the Prose route of hold_release (release_of's arm, hold_release's
Resolved::Prose arm, hold_released.thought in the schema and its contract
clause); words from held_by's returns and HeldFor.asked. Added: hold_faults in
decide_in's retry loop, naming a hold whose line is not listed or whose words
do not stand in it, and a holds name nothing opens; HoldUnquoted stays at the
commit as the second guard. Tests replay R15 X.1 r1 (Meta's line): her thought
as release is not the contract, Kiko's line is ReleaseNotByAsker; a turn-3
Held outcome names Meta and shares no three-word run with her line; an
unquoted hold and a named line without a hold are retried, and a failed retry
says nothing. k37_release_by_her_thought becomes the negative; K37's
fail-closed named-hold test is replaced.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only addressee and elsewhere gaps naming a draft account for it. The retry's
fault paragraph and the contract's unsent clause name that. Tests replay R15
E.1 r1 (Aqua) and E.2 r1 (Eureka) verbatim: the gap alone is retried, then
said and gapped, opening the promise blocked (lacking); negative: a gap alone
that stays fails the turn, and a thought-only reach accounts for nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>