Commit graph

660 commits

Author SHA1 Message Date
Meta Vens
2721f893d0 turn-core-instruction fixes: the flush-beside-a-tell test uses the existing timeline
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:43:28 +01:00
Meta Vens
e1d95cbafa turn-core-instruction fixes: the operator's rulings in the turn text and the three deleted mailbox lines are pinned by test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:42:11 +01:00
Meta Vens
bccf0abe2a turn-core-instruction fixes: a failed turn keeps its intent, a flush alone and a retell open with the instruction, a rationale cannot start a line
Step::Failed carries the decoded reply's intent into the closing rationale. The retell note
is rendered inside the line after the instruction. A flush written alone opens with the
instruction; flush_ask owns the flush text. recent_runs indents after every line break a
reader splits on, not only newline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:42:03 +01:00
Meta Vens
a74eb4f5f7 flush-open-bound-at-decode: a second memory in force pins the keyed read of a shown settle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:30:35 +01:00
Meta Vens
14e9a9d2b5 flush-open-bound-at-decode: blank line between tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:24:22 +01:00
Meta Vens
a5f288ff16 flush-open-bound-at-decode: the unshown-item test learns the commitment's id from the same session
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:22:29 +01:00
Meta Vens
0930919639 flush-open-bound-at-decode: timeline tests drive the clock from the echo and the write hooks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:18:35 +01:00
Meta Vens
196ce6c0cd flush-open-bound-at-decode: tests for the dropped settle, the unshown item and the flush beside a tell
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:16:06 +01:00
Meta Vens
f3068d917a flush-open-bound-at-decode: a line's open items are bounded when its reply is decoded
A flush written alone shows the people and open items the session's lines showed; which of
those are still open is read when a reply is decoded. A settle on a shown item that an
earlier turn closed is dropped with a trace note and the rest of the reply is admitted.
The flush no longer reads the mind at write time, so flush_text returns a String again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:14:05 +01:00
Meta Vens
9a65a52eae turn-core-instruction: the public surface pins PersonaReply.intent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:48:52 +01:00
Meta Vens
79917fbb1e turn-core-instruction: the tell test uses the mid-turn hook; the trace test expects intent first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:47:22 +01:00
Meta Vens
be2f12becb turn-core-instruction: escape the line breaks render_input writes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:45:02 +01:00
Meta Vens
a32ca87438 turn-core-instruction: every Persona turn opens with the core instruction and ends with its question; the reply states its intent first
TURN_INSTRUCTION heads every line; MESSAGES_HEADER replaces the three mailbox lines and prints only with messages; WAKE_QUESTION or TRAFFIC_QUESTION closes the line. PersonaReply.intent is required and first, bounded 1..=600, traced first, and her last intent closes the run and returns in recent_runs for her own turns too. The flush no longer says to be silent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:43:20 +01:00
Meta Vens
b985540185 Persona autonomy design 3.1: the originator's vision, not only the operator's (ruling originator-vision-is-evidence)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:40:49 +01:00
Meta Vens
4251f7e513 Persona autonomy design 3.1: her vision is the best evidence of a project's purpose, weighed as evidence (ruling operator-vision-is-evidence)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:40:03 +01:00
Meta Vens
80fcd9d19a Persona autonomy design r3: inversion of control and trained deference in the turn text (rulings inversion-of-control, speech-nudge-ruled, persona-doctrine-set-ruled, pressure-home-ruled)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:38:50 +01:00
Meta Vens
b26225c76f flush-shown: a flush may name a member an earlier line showed (kills the seen dedup survivor)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:24:59 +01:00
Meta Vens
4557d9f17b flush-shown: the closed-item test settles in a completed turn before the flush
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:17:33 +01:00
Meta Vens
b14a961c0e flush-shown: a flush written alone records what it shows
PersonaInbox.seen accumulates every person a write() showed; flush_text
becomes fallible and, when no line awaits its echo, sets Written for the
flush line from seen plus the open items and people read now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:15:53 +01:00
Meta Vens
d70d029f95 flush-shown: tests for a flush alone naming a shown Mind, settling an open item, and the refusals
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:14:44 +01:00
Meta Vens
14dc6126c8 Persona autonomy design: the core instruction heads every turn, her machine fills it (rulings persona-autonomy-prompting, perfect-machine-is-the-core-instruction)
Imagination map: target shape, turn and flush drafts, intent field, doctrine
split, cut sequence; specs cut-flush-shown.r1 and cut-turn-core-instruction.r1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:12:13 +01:00
Meta Vens
59a0e33079 Research: what Persona Minds see and do on a wake, 2026-11-01/02 (ruling persona-autonomy-prompting)
Eyes facts: reconstructed wake and traffic inputs with file:line, reply schema,
per-Mind behaviour since persona-session went live, refused flush replies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:55:09 +01:00
Meta Vens
b89479d04a Research: prompting Persona Minds for autonomy (ruling persona-autonomy-prompting)
Eyes prior-art pass: initiative in long-running agents, intrinsic motivation,
values vs situation, multi-agent silence, output-shape effects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:52:35 +01:00
Meta Vens
c2ff5b78f6 heartbeat tests: the open Persona turns in the busy fixtures have a live unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:06:35 +01:00
Meta Vens
cbb90d5811 heartbeat: busy is the slot's reading of life, so a dead Persona holder is closed by the next launch
A brake hold that stops her unit left an in-force run that counted as busy
forever; the row was never launched, so slot step 0 never closed it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:02:39 +01:00
Meta Vens
c8f887f31f heartbeat tests: a dead Persona holder is not busy; a live one is
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:02:38 +01:00
Meta Vens
153678a321 Merge origin/main (fb19703, held-questions successor cut) into eureka-body/persona-session
The one conflict was the public-surface snapshot: the branch's new
launch::StopScope line beside main's LaunchOutcome::Tripped { run } line;
both kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:43:29 +01:00
Meta Vens
64d6edc0f6 Huginn persona: ack nothing once the session has failed, so a line answered after a batch's third refusal cannot ack past it (Soul s3 ack-passes-batch-after-refusal-bound)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:18:19 +01:00
Meta Vens
5cce3484a3 Huginn persona tests: a line answered after a batch's third refusal must not ack past it (red at 1fc3470; Soul s3 ack-passes-batch-after-refusal-bound)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:17:42 +01:00
Meta Vens
1fc3470661 persona tests: read the retold line's content, not its JSON-escaped text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:23:47 +01:00
Meta Vens
b23a01fa8b persona: a second refused reply merges into the pending retell, and a refusal bound belongs to the batch (s2 retell-overwrite-loses-batch, ack-frozen-by-refused-retell)
The single retell slot becomes one merged Retell (every refused delivery not yet told again, in seq order, with the refusals of the most-refused one), so the ack rule's lowest unanswered seq never loses a batch. The refusal count travels with the batch through its Written line and echo instead of resetting on any answer; a batch's third refusal ends the session by the existing failure path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:20:34 +01:00
Meta Vens
0715fbdb59 persona tests: the freeze test alternates answers with the retold batch's refusals, so only a per-batch bound ends it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:19:01 +01:00
Meta Vens
4400c32c1e persona: tests for a second refusal losing the first retell and a retold batch freezing the ack (s2 retell-overwrite-loses-batch, ack-frozen-by-refused-retell)
Soul's probe_ack.rs reproductions as committed tests, with a Timed child that moves the clock past a poll; they fail at bde8ef6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:16:30 +01:00
Meta Vens
bde8ef68f9 public surface: StopScope as the tripwire prints it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:21:48 +01:00
Meta Vens
59a769081c persona: no ack while an unanswered delivery lies below the answered seq
Deliveries are told in seq order, so an unanswered one below an answered seq
means nothing answered lies below it; the ack waits for the retold batch's
answer. The test reads the next process's opening line as JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:18:17 +01:00
Meta Vens
bcbad56c04 persona tests: return the acks directly (clippy let_and_return)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:14:34 +01:00
Meta Vens
94af948981 persona tests: the ack never passes a retold batch, the brake read between sessions, a poll after the echo
Soul s1 retell-ack-passes-unanswered, between-sessions-read-unpinned and
poll-retell-guard-unpinned. after_echo moves the clock when the echo is
handed out, so a poll falls due while the turn runs and unanswered 1 is
pending; the old during-based test jumped before the driver read the clock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:13:42 +01:00
Meta Vens
0f19eecbe1 persona: the ack is decided once, in PersonaInbox::result, from what is still unanswered
act no longer acks. result acks through the highest answered seq of the
process, never past a delivery still told and unanswered (the retold batch or
a line written and not yet echoed), and only forward. Soul s1
retell-ack-passes-unanswered: a newer turn's ack passed a retold batch, so a
session ending first lost it and the retell's answer acked a lower seq.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:13:42 +01:00
Meta Vens
aab25a5a00 sandbox: the scratch is read-only to her, only claude-config is writable
Soul s1 scratch-symlink-deputy-write: she could plant a link at the
instructions file in the unit's RUNTIME_DIRECTORY and the organ's next write
followed it onto any path the unit's user can write, the hidden trace included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:11:48 +01:00
Meta Vens
edfbf9ce25 mind-control: swarm brake hold stops every Mind's units, through the one stopper
stop_all becomes SystemdLauncher::stop(StopScope): a Mind's two exact units,
or the swarm's mind-self@*.service and mind-persona@*.service globs. Both
holds write first, then stop whatever the write's outcome, with the same four
outcomes. Soul s1 swarm-hold-leaves-live-turn-running: a held swarm brake left
a live Persona turn running with its shell until the turn ended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:11:21 +01:00
Meta Vens
14e7838813 persona tests: the hold-between-sessions test back on the 1 s clock
A 1 ms clock never reaches the session's idle timers (the loop guard fired); the other two new tests passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 17:51:32 +01:00
Meta Vens
fa3d819be5 persona tests: a quiet clock for the hold between sessions, a poll during a turn, the rotation flush text
Written from mut3's survivors (process-boundary brake read, poll seq bound, flush_text); not yet run when committed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 17:50:24 +01:00
Meta Vens
5add8a9ecd persona tests: lease expiry, a hold between sessions, a result with no structured output, request ids by batch
Written from the first mutation run's survivors (unix_ms, the process-boundary brake read, record_refusal, the batch-id arm).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 15:28:49 +01:00
Meta Vens
c798345171 Cargo.lock: model-connector no longer pulls cultcache-rs (the daemon dev-dependency is gone)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 13:47:44 +01:00
Meta Vens
ffcd2666c5 Restore LF line endings on the files the WIP commits converted to CRLF
The base is LF; the wip commits rewrote whole files as CRLF, hiding the real diff. Content unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 13:45:37 +01:00
Meta Vens
fb197039b6 retire test: the briefs staying in force is the proof; run closures are resolutions too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 12:33:15 +01:00
Meta Vens
9c58d5620f The gate reads the hold itself at admission; the heartbeat no longer writes resolutions on an answer
open_and_launch decides what an open question holds, once, after the breaker reads and just before the admission: LaunchRequest.held and Held's Default are gone, so no caller can launch a held item and a caller's earlier read (claimable) is advisory only. launch::retire_answered and its heartbeat call are deleted: whoever answers retire resolves the claims, and the hold persists until they do. The retire option text is restored to the r4 wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 12:29:55 +01:00
Meta Vens
359ae784ec wip10 2026-11-01 12:12:52 +01:00
Meta Vens
ad35cd28e0 wip9 2026-11-01 12:09:50 +01:00
Meta Vens
39f3623af1 wip7 2026-11-01 12:06:09 +01:00