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>
B1: read::answers is the one rule for whether a read answers a need, over
ReadRequest::normal: the thing itself, or a bare repo's root or README. A
search answers nothing, and a need for a search is answered by nothing until
promise_need (a new applier row citing this wake's search read) names a pull
request or issue the search listed; the receipt is cleared with the old target.
Receipts carry readOf and are written only when the read returned and her
continuation after it began (after_byte); a receipt whose readOf does not answer
the need, or whose readAt is no RFC 3339 time, is none and is cleared. Needs and
ReadRequest deny unknown fields. The commit holds what she was shown against the
state as it found it, so her own turn's change is no outside put. Her view and
her outcome say a search reads nothing.
B2: an earlier segment's unsent drafts are not carried: every answer accounts
for every draft of the wake, so the latest decision is each draft's fate.
P4: the anchor paragraph ends at any line break (interpret::paragraph).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
B3: a kept close of an entry whose needs is not the typed Needs (or absent) is
refused NeedsMalformed.
L2: a read of an open promise's target that returns, on any turn, records
readAt/readId on the entry, and a keep accepts that receipt.
L3: this wake's read stands behind a keep only for a draft typed after the
read returned (after_byte on the read).
L1: thought is defined as quoted outside her <typed> drafts; CloseUnquoted,
NeedsUnread and NeedsMalformed are told to her as her record still showing the
promise, and why.
L4: a held draft is told to her as not sent.
L5: an unreached read whose target is no repo or address opens as lacking.
L7: a release renders by whom.
B2: the simulator holds every in-run commit to P1-P3 and fails the run.
Her view shows what an open promise needs read and whether she read it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deviation 4: with the F.1 r9 room lines among the lines she may reply to,
Meta's possessive in another paragraph anchored a read of Meta's link. The
anchor is now looked for in the quote's paragraph within the segment.
B2: gamecult.persona_state.v0's commitment carries needs (words | read{request}
| lacking, request typed per ReadRequest kind), blockedBy, reaffirmed, and the
read receipt readAt/readId, typed as the commit writes them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
read::names_repo is the one matcher of what repo is in front of her, used by
read::reach at open and at read. The F.1 r9 fixture now lists the room lines
among the lines she may reply to, as real packets do.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
link_of strips a closing ), ] or } only while the link holds more of it
than of its opener (the GFM autolink rule), so A_(b) keeps its parens.
In the simulator a campaign read is served from the cast's
[cast.domain] campaigns (CastReads), the one owner of what her campaign
holds, within the window, newest first, formatted by read::rulings_text,
which LiveReads::rulings now uses too: "- {title}: {ruling}", or
"- {title}" when no ruling text is held. Ruled gains optional ruling text.
A plan with a [[cast.read]] of kind campaign is refused at load.
Tests: k32_link_keeps_balanced_parens, k32_campaign_read_from_domain,
k32_campaign_cast_read_refused. The public surface gains impl ReadFixture
and impl ReadSource for CastReads.
Plan F (persona-seeds variants/plans/plan-F.toml, outside this repo):
Nibu's [[cast.read]] campaign entry is deleted and its ruling words moved
onto her aetheria-release rulings. Heimdall's heimdall-body ruling text is
not set: the record lives only in his mind (left open).
Verified on Yggdrasil (ygg-verify, rust image): cargo test -p mind-body
818 passed 0 failed; clippy -p mind-body --all-targets -D warnings clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deleted first: the conditional gap kind (contract enum, GapKind, both
outcome arms, the frame clause, the conditional.json outcome fixture),
UNSENT_QUOTE_MIN_WORDS, decision.usage, retried.usage and earlier_calls.
decide_in resolves the gaps before accounting, and a gap accounts for a
draft only where the resolved gap names it (from == draft); unwritten and
unresolved gaps name none. Held and superseded quotes need four words
(GAP_QUOTE_MIN_WORDS). The retry is the first prompt plus one paragraph in
code's words naming that answer's fault (the drafts left out, or the serde
error clipped at 200 B). A decision carries calls: earlier segments' calls,
then this segment's attempts, each with usage and retry; later_failed keeps
only its own calls. The harness sums calls for the Interpreter's usage
line and renders unsent drafts and the retry; the simulation's report
renders every Applied field (closed, reaffirmed, blocked, pruned).
Tests: k31_unwritten_names_no_draft, k31_conditional_is_no_kind,
k31_held_quote_is_four_words, k31_retry_names_its_fault,
k31_calls_counted_once, k31_report_renders_accounting; existing fixtures
moved off conditional and onto four-word held quotes; golden frame updated.
Verified on Yggdrasil (ygg-verify, rust image): cargo test -p mind-body
814 passed 0 failed; clippy -p mind-body --all-targets -D warnings clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deleted first (16.25.4): ProposedPromise.doable and string needs, the
words_only sentinel, the reachable closure in decide_in, the kept-by-Read
row in accepts and apply_one, the contract sentence that nulled thought for
kept and withdrawn, and the Repo coercion in block_on_failed_reads.
Added: commit::Needs { words | read { request } | lacking }; whether a
promise opens is derived from it and code's reach verdict. read::reach is
the one rule at open and at read (resolve plus the repo in-front test, a
turn that can read, her open promises' read targets in front of her). Her
open promise anchors a read of its own target. Every close needs a located
thought and is refused CloseUnquoted / CloseContradicted; a kept close on a
read need is refused NeedsUnread without a returned read this wake or a
found conversation_reads receipt. The contract types needs, says
"promises or offers", and code writes the missing-affordance detail.
Tests: E.1 replays verbatim (Eureka r2, Aqua r6, the Heimdall control),
read-need keeps, typed needs, derived opens, F.1 r9 anchor, out-of-view
target, block on any read kind, negative grep, golden frame. Four reading
fixtures gain Bifrost in view, since a repo read now needs its repo in
front of her (16.25.5).
Verified on Yggdrasil (ygg-verify, rust image): cargo test -p mind-body
809 passed 0 failed; clippy -p mind-body --all-targets -D warnings clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R10 item 1 (F.2 r5: Heimdall drafted to Meta after "Meta first,
short.", the Interpreter sent only his draft to Kiko and recorded nothing for
the other, and Meta got silence). The answer gains `unsent`: a draft neither
sent (say, amend, suggest) nor gapped is held, by her own choice, quoting her
thought, or superseded, quoting the later words that replace it. An answer
that leaves a draft unaccounted is a contract failure: it is asked again once,
as an answer off the contract now is too, and the first attempt rides in the
decision (`retried`) with its usage. The frame: a draft to someone who spoke to
her this turn is held only when her prose says so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R10 item 3. targets_in_view split what she heard on whitespace, and the
JSON-quoted line gave a second copy of the address ending in `"`, so one link
counted as two and "the link" anchored nothing. A word is now taken as an
address only with the quotes and punctuation around it trimmed (link_of), for
the links in view and for whose link it is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R10 item 2 (E: Heimdall's "release notes by tomorrow morning" and Aqua's
"write out the kettle sound's parameters" were committed doable with no means).
- `needs` is required on every promise: a read target, or `words_only` when her
words alone keep it. The frame: words only means she can write it from what
she already has in view.
- A promise whose `needs` is a read this body cannot reach this turn (no read
affordance, a repo named nowhere in her prose or view, an address not in
front of her, a target outside GameCult) is proposed blocked whatever the
answer said, with a missing_affordance gap saying what it needs. This
replaces R7's dropping of an unnamed `needs`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R9 item 5. When a recorded text opens with its own number ("#87 Merge
pages..."), the search list no longer repeats it ("- #87#87 Merge pages...").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R9 item 4. search_finds stems the query's content words and the text's
words with the same light plural stem and stopword list as ReadRequest::normal,
so "consent receipts" finds what "consent receipt" finds. A fixture search
always goes through the matcher over the recorded changes, never a lookup of a
recorded search, as the live path has no such lookup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R9 item 3.
- The anchor is looked for across the whole current segment of her prose, not
only the sentence the Interpreter's quote stands in, so "I'll start with #86.
The saga code will say..." anchors #86. The sentence finder goes.
- A link is anchored by its address, its host, or the possessive of the person
who posted it ("Deru's link") when that person posted exactly one link in
view.
- A word that only refers ("the PR", "that page") still needs exactly one
candidate in view and the read to be it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R9 item 2. A read refused by a cap (reads a wake, bytes a wake, her
prose's length) is no longer put on the Interpreter's "Refused earlier, so never
named again" list, from the conversation or from this wake; only a rule's
refusal is (not hers, malformed, not in front of her, already read). A capped
read never ran, so it is not counted as read either, and the next wake makes it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R9 item 1 (F.2 r6: Kiko said "Whenever you've read it is fine",
Heimdall's prose said "the promise stays open until I've read it", and the
Interpreter closed it as released).
- The Interpreter's frame: a release says she no longer owes it; patience ("no
hurry", "whenever you've read it is fine") leaves the promise open.
- A release proposal also quotes `thought`, a passage of her prose this turn,
and says `still_stands` when that prose holds the promise as still standing.
The applier refuses a release with no located passage (release_unquoted) and
one her prose contradicts (release_contradicted); the latter is told to her
as still open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R8 item 5. "from what her thought makes plain" was the largest source of
the "asked plainly, answer plainly" register: the one adjective the frame hands
her about her own thought is a register instruction, and she wore it. "Shows"
keeps the sense the sentence needs (the decision rests on what her thought
evidences) and carries no register: it says nothing about how her thought or
her words should sound. "Says", "means" and "intends" were the alternatives;
"says" invites dictation, and "means" and "intends" point at her intent rather
than the evidence in her prose, which is what is actually read.
No other code frame that reaches the Persona says "plain": the Persona prompt
is Ghostlight's membrane, this form, the tuning's guidance, the pronouns line
and her lived stream. The Interpreter's privacy rule ("said plainly only to the
person it concerns") is the Interpreter's and never reaches her. A test holds
the Persona prompt free of "plain".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R8 item 3.
- A domain item anchors only where her sentence carries at least two content
words of its title; stopwords ("with" among them) never count. Its repo name
and opener no longer anchor it.
- A word that only refers ("that page") anchors a read only when exactly one
target of the read's kind is in front of her and the read is that target, so
with one domain line in view it anchors that line's own target and nothing
else.
- The stopword list gains the light verbs and fillers a thought reaches with,
so a recall like "want to sit" has no content words and is refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R8 item 1 (F.2: Heimdall's "I open the merge pages PR" with
q=Merge pages and notices was refused four times). A search whose query has
words she never wrote is no longer refused: it keeps, in the query's order, the
words carrying content that her prose has, and searches with those
(q=merge pages). Only a query with none of hers left is refused. The
conversation carries every refused read as `kind target (why)`, and the
Interpreter's read frame lists those and the ones refused earlier this wake, so
it does not name the same refused read again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Soul's R8 item 4. ReadRequest::normal lowercases a search's words, drops the
stopwords, strips a light plural ("pages" is "page", "queries" is "query",
"class" stays) and sorts them, so "Merge pages and notices" and "the notice,
page merge" are one search. `#089` normalises to `#89`. Paths keep their case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>