Commit graph

532 commits

Author SHA1 Message Date
Meta Vens
9003624c3e queue test: the held items are a set, open holds first
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 06:23:13 +01:00
Meta Vens
79e4cac5fd blocked selects the held questions by key alone; the retire test pins which run's claims an answer retires
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 06:20:11 +01:00
Meta Vens
fa5c65c6f4 cli test: the hold of spec B is its own run's question and not A's
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:43:30 +01:00
Meta Vens
b1f0654f54 tests: blocked tells a second run's question from the first; a free brief writes no closing note
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:42:47 +01:00
Meta Vens
0e7b044d61 mind-body: the public surface spells the hold snapshot; holds and retire_answered stay crate-private
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 04:18:18 +01:00
Meta Vens
4c217faf22 queue tests: drop a merged duplicate of the daemon-port test body; slice the one claim
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 04:14:03 +01:00
Meta Vens
532855d21a queue, launch tests: read the hold through the snapshot the tests build
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 04:12:34 +01:00
Meta Vens
3e48e122af hold: one decider of what a question holds, read once per launch; a dead Self holder no longer stalls the successor; retire is read
s5 findings of cut-self-session-live:
- blocked-recipe-misses-run-held-spec: eureka_state::hold is the one decider
  (a question holds the item it is raised in, or every claim of the run it is
  raised in; an answer of retire keeps holding the claims still in force).
  queue::on_hold and `huginn blocked` both read it.
- hold-read-not-one-snapshot: on_hold returns a Held snapshot that the request
  carries; claimable, queue and the gate read it, none reads it again.
- dead-self-holder-stalls-successor: launch::slot is the one reader of whether
  a holder lives; claimable asks it, a dead holder is closed by the launch and
  the beat's trace says so.
- retire-answer-reopens: launch::retire_answered resolves the claims of an
  answered-retire question Withdrawn; the beat runs it before reading briefs.
- held-note-threshold-unpinned: a test pins the note for exactly one held brief.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 04:11:38 +01:00
Meta Vens
9faeb94035 queue, heartbeat tests: a question in another item's run is no boundary; no held brief, no held note
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 02:55:43 +01:00
Meta Vens
5a6b458c57 mind-body: public surface spells the Trip variant as the tool prints it; a new brief's own empty runs are not the five's
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 02:31:43 +01:00
Meta Vens
fdf4eb7738 launch: build the trip question's text from a &str
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 02:27:59 +01:00
Meta Vens
8011516198 launch, heartbeat: fix the trip question's text type and an unused import
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 02:27:11 +01:00
Meta Vens
345c61eb1b heartbeat tests: one question per cause, an answer or withdrawal reopens the bundle, a hold reaches only its claims
Replaces the Mind-wide fresh-brief-waits test with the scenarios of the
run-scoped hold; fail_bundle and beats stay.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 02:09:49 +01:00
Meta Vens
1b19180555 queue: one owner of the hold; a trip belongs to the run whose end tripped it and its question holds that run's claims
Cut claimable's Mind-wide stop on any follow-up question and queue's inline
blocked loop. queue::on_hold is the one reader of what an in-force question
holds (a question raised in a run holds that run's claims, anything else holds
itself); queue, inbox::derive and the open_and_launch gate read it.
Breaker::Trip names the newest ended counted run; the breaker question is
raised in that run; the boundary is the newest of a question raised in the item
and a run claiming it that a question is raised in, so an answer or withdrawal
gives every claim of the run a fresh count. The trip and the held-brief wait
are written to the heartbeat trace.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 02:09:49 +01:00
Meta Vens
2fb2608249 heartbeat: a successor trip is the Mind's stop, one question per cause, not one per brief
A Self run claims up to 64 briefs and each empty run counts against all of
them, so one cause tripped the briefs in turn, one question per brief per beat.
claimable now returns nothing while a question is open in any follow-up of the
Mind; the answer reopens the briefs with a fresh count.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 01:20:28 +01:00
Meta Vens
d1e3e1dbec heartbeat tests: a Self run leaves her Persona idle, a Persona turn marks her busy (mutants)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:35:36 +01:00
Meta Vens
41431a4dfd heartbeat: the beat gives a Self run to a Mind whose Self holds briefs; an open breaker question blocks its brief
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:08:39 +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
Meta Vens
ae939193f1 self-session-live tests: the past's closure reads the clock once; a waiting brief is told after the close
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:45:31 +01:00
Meta Vens
7222d96dde recall tests: the relevant lane's documents outrank the about lane's 2026-10-31 16:43:37 +01:00
Meta Vens
f5711585a3 recall: tests pin each lane's limit, the item and byte caps, the follow-up and ruling lines and the empty notice
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:42:11 +01:00
Meta Vens
ca4ee617ff self-session-live: the pass that closes the briefs goes on to the lifecycle
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:41:22 +01:00
Meta Vens
bfa5c245ff persona: tests pin the schema's asks, resolution sequences, a memory's place and the batch's people
A mutation run over the memory diff left these unpinned: the asks the schema
offers, next_sequence counting per subject, learned_in cut at the Short bound
on a character boundary, other_senders excluding her own and repeats, and
memory_people listing the operator once. The place cut loses a redundant
boundary test: pop removes whole characters.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:37:55 +01:00
Meta Vens
9b19c30ea8 huginn-mind tests: name the outcome type
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:37:07 +01:00
Meta Vens
41890e45b3 huginn-mind tests: the refused outcome is matched, not unwrapped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:34:52 +01:00
Meta Vens
be44185c67 self-session-live: a brief is closed Recorded by the result that answers it; the briefs a closed run claimed are closed at session start
Lands the parked closure (eureka-body/self-session-live-closure-parked 13de7f0) on the Recorded outcome of ruling brief-closure-recorded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:32:35 +01:00
Meta Vens
fb0ae7540d huginn-mind: a follow-up closes Recorded{reason}, as a finding and a run do
Ruling eureka-body:ruling:brief-closure-recorded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:30:28 +01:00
Meta Vens
75dcf45f53 self-session-live tests: the hook test claims the spool once
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:22:58 +01:00
Meta Vens
4decf9e79c self-session-live tests: a stale spool is wiped at start; the pre-compact block says why
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 16:18:46 +01:00