Commit graph

607 commits

Author SHA1 Message Date
Meta Vens
5874717c88 huginn-sources: embed before deleting; the reserve gets a CPU's bounds
Source refresh now upserts a repo's new chunks first and deletes what is
left in scope under another commit afterwards, so a failed embed never
removes indexed content (embed-outage-empties-repo). The cursor is still
dropped before the first write.

The pool's reserve endpoints use EmbedBounds::RESERVE (30 s a text, 60 s
floor) instead of the GPU default (reserve-bounded-like-a-gpu).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:54:54 +01:00
Meta Vens
f413d194d3 Research: the eureka-body Soul queue and how one-shot Personas entered the Body (operator's challenge 2026-11-02)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:22:25 +01:00
Meta Vens
62a4a7ec14 docs: body map and live-mind-sessions sequence follow persona-session-landed
Persona units are long-lived leased sessions (mind-persona@<i>, 4h cap, fence Requires, claude-lease), added the Persona session section, governance list, model-page rows and F36-F40; the 2026-10-30 swarm flow is marked historical. Sequence doc: closure notes on section 0, the superseded actuator-side brief closure, cut 6 landed, cut 7 not shown landed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:15:09 +01:00
Meta Vens
ffd4136a35 Merge refusal-loop: refused replies no longer outrun the per-batch refusal cap across Ceiling flushes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:58:21 +01:00
Meta Vens
cce5e1fe79 Delete the refused record's unreachable keep-held arm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:34:40 +01:00
Meta Vens
0182604750 Pin the refused record's highest count against a fresher batch refused behind it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:32:52 +01:00
Meta Vens
0a8644d8cc Pin the refused record's lowest seq against a higher batch refused behind it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:22:53 +01:00
Meta Vens
a85a736585 A room's earlier tail skips what cannot fit and counts rendered bytes; a repeat at another instant survives; refusal tests name the exact refusal
The bound counts the quoted text that enters the prompt, an oversize line no longer blanks the older lines that fit, and the dedupe key gains at_unix_ms, which the mouth stamps equal on a message and its context copy (Bifrost persona-matrix-mouth.mjs origin_server_ts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:20:58 +01:00
Meta Vens
c842fafcaf A settle's reason is bound in bytes as well as characters, pinned by test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:52:14 +01:00
Meta Vens
9ce64a665c Each memory bound holds at its value and breaks one past it; a room's ordinary tail fits the earlier bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:50:14 +01:00
Meta Vens
efc45fac36 The committed public surface gains Failure::OutOfBounds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:31:23 +01:00
Meta Vens
44cba8531c The flush test's closed-item refusal names its field
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:28:59 +01:00
Meta Vens
908c251117 Refused replies' traces name their field in the flush tests; the forged-framing fixture keeps its context line distinct; the answering test children exit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:27:10 +01:00
Meta Vens
20e23b02a9 The test child ends as a real one does: exit, then end of stream
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:24:41 +01:00
Meta Vens
e10fbb191a A refused batch's count and reason survive a session restart; a refusal names the failing field; a line shows a room's earlier lines once, within a named bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:09:57 +01:00
Meta Vens
122b0520a9 Repro: a batch refused across Ceiling restarts is told without bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:01:59 +01:00
Meta Vens
87ff30e8d8 Merge flush-shown and turn-core-instruction: every Persona turn opens with the core instruction; the reply states its intent first
cut-flush-shown (h1,h2) and cut-turn-core-instruction (h1,h2,h3). Soul verdicts cut-flush-shown.s1/.s2 and cut-turn-core-instruction.s1/.s2; h3 is tests only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 13:02:29 +01:00
Meta Vens
cb89ecccc6 turn-core-instruction fixes: the ruling sentences and the intent of a held or memory-refused turn are pinned by test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:45:48 +01:00
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