Commit graph

543 commits

Author SHA1 Message Date
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
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
Meta Vens
354af5a192 wip6 2026-11-01 12:04:15 +01:00
Meta Vens
08a6959195 wip5 2026-11-01 12:02:56 +01:00
Meta Vens
7ffddd8673 wip4 2026-11-01 11:59:16 +01:00
Meta Vens
93a6f2d2e9 wip3 2026-11-01 11:58:43 +01:00
Meta Vens
cfbe183468 wip2 2026-11-01 11:56:42 +01:00
Meta Vens
ee0bf1201d wip persona-session (local, does not build tests) 2026-11-01 11:54:25 +01:00
Meta Vens
1e708210be Live sessions map: cut 6 persona-session mapped (r1), probes P1-P9, rows 6b and 6c
Imagination pass imag-persona-session, 2026-11-01; spec eureka-body:cut_spec:cut-persona-session.r1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 11:43:42 +01:00
Meta Vens
55484c02ef self-session-live: public surface drops impl Brief
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:02:06 +01:00
Meta Vens
f23c2c42ce self-session-live: tests start from an echoed start message; the public surface drops inbox::close
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:56:47 +01:00
Meta Vens
f9a43850c0 self-session-live: record the three-queued merge and the one-outstanding serialized streams against the real CLI; replay counts writes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:52:01 +01:00
Meta Vens
9ad80a1b72 self-session-live: one stdin write outstanding, coalesced; an idle end closes no brief; a brief is decided by admission provenance; synthetic assistant lines are no request; decide's dead Tells guard and clock deleted; window margin asserted
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:42:34 +01:00
Meta Vens
9ac2cb3b79 Merge remote-tracking branch 'origin/main' into eureka-body/self-session-live-h4 2026-10-31 20:34:08 +01:00
Meta Vens
4e3fefbc17 decide tests: drop the constant assert the ladder pin made redundant
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:10:31 +01:00
Meta Vens
4d174dfad6 self-session-live: State::started no longer sets the clock decide sets on every event; a claimed brief is named once (mutants)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:05:12 +01:00
Meta Vens
53d2b90a94 decide tests: pin the ladder allowance the cap clamp depends on (mutants on LADDER_S survived)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:02:05 +01:00
Meta Vens
069969020a tests pin the lane budgets, the rulings' room beside full open lists, and the people a shown memory names; recall drops an unreachable counter (mutants triage)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:00:16 +01:00
Meta Vens
b989e03864 decide tests: the rotation margin arithmetic is a compile-time assertion in self_run.rs, not a runtime one
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:48:35 +01:00
Meta Vens
c00cc24cc6 persona: open commitments and asks in front of her every turn, a wake included; the people she may name; origin from the batch; Config.minds / MIND_PERSONA_MINDS (persona.rs, bins, public surface, tests)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:44:06 +01:00
Meta Vens
688b221213 recall: three lanes, none showing an open item; salience and recency rank; every lane counts what it leaves out; one memory_line says where and from whom (recall.rs, testkit)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:44:06 +01:00
Meta Vens
3829625067 memory: a Direct origin names whom she heard it in confidence from; MemoryOrigin is bounded and tested (eureka-pipeline)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:44:01 +01:00
Meta Vens
8e97d60d1e body map: delivery is counted by replay echo; the env scrub forces default permission mode
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:39:26 +01:00
Meta Vens
780366f59a self-session-live: one stdin writer; the replay echo is the consumption point; no hooks, no spool, no CLI compaction
Deletes first: the PostToolBatch and PreCompact hooks, --settings, the inject subcommand, the on-disk spool and its rename claim, close_past as a standing rule, close_told and the result-timed brief closure, Event::Told/PreCompact, Action::CloseBriefs, FLUSH_MARGIN_S.

Then: drive is the only writer into her session (start, tells, flush). decide counts lines written and lines echoed (--replay-user-messages) and derives idle from them; the flush is answered at the first result after its echo, folded or queued; an error before any answer or a blocked result closes at once; rotation and the idle cache end ask the same flush with a why; the grace is clamped so the signal ladder ends before the cap. DISABLE_COMPACT=1 replaces the PreCompact block. Briefs are follow-ups owned by self-run and sourced from a Persona turn; her Self resolves each she answers, the actuator closes only what she left open at an idle end. inbox::backlog lists, and never closes, the one-time sweep.

Tests: the committed 2.1.312 streams replay through read_usage and decide; the unit tables, a ladder sweep and an event-order enumeration pin the rules.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:39:25 +01:00
Meta Vens
7ffaf3a5f9 Probe scripts and 2.1.312 live-session fixtures: folded, queued, ceiling-flush-folded/queued, api-error-first, blocking-limit, compaction-off-360k (fake.py, driver.py; SCRUB=0 and SCRUB=1)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 18:37:37 +01:00
Meta Vens
61b0b55bb1 memory: golden and schemas re-derived for origin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:48:18 +01:00
Meta Vens
a746374708 memory: origin replaces learned_in and direct (eureka-pipeline MemoryOrigin, huginn-mind memory_origin alias and facts)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:46:20 +01:00
Meta Vens
a8184ac44a recall: the module note no longer uses the word the scan forbids
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:13:41 +01:00
Meta Vens
6f27e85f2b self-session-live tests: the provenance session is a Short
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:12:53 +01:00
Meta Vens
dae21f31fd self-session-live tests: a brief's closure is admitted under the run's label
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:10:32 +01:00
Meta Vens
290ca7a304 mind-body public surface: the inbox's close, close_past, told and forget
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:50:45 +01:00