Huginn/crates/mind-body/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
fixtures/persona-chat-v1 mind-heartbeat: one heartbeat routes every Persona turn on an initiative timeline; the classifier's urgency multiplies regain, an operator mention fills, a Self-run completion reaches the classifier and never fills; burn is real spend read as the heartbeat; each Persona on her own Huginn; DM rooms answered alone; the mind-wake path deleted (squash of eureka-body/mind-heartbeat d54ba01..3a4d28f; Soul s1-s4) 2026-10-30 02:49:35 +01:00
chat_rudp.rs mind-persona: the Persona turn organ; brake and dial before spend, typed schema reply decoded strictly, acks after posting, framed member text, campaign-checked Self-run briefs; real connector client (ModelConnector 480cf94) and RUDP chat client to the Bifrost mouth (squash of eureka-body/mind-persona onto 49bfe17, head f25decf; Soul s1, s2) 2026-10-29 21:03:19 +01:00
cli.rs mind-body tests: the swarm verb round trip releases the brake directly 2026-10-31 10:05:52 +01:00
connector_kit.rs mind-body tests: the connector transport against the kit's real server, on the usage-only wire (turn, usage readout, refusal, wrong key, endpoint) 2026-10-31 06:05:31 +01:00
control.rs mind-heartbeat: one heartbeat routes every Persona turn on an initiative timeline; the classifier's urgency multiplies regain, an operator mention fills, a Self-run completion reaches the classifier and never fills; burn is real spend read as the heartbeat; each Persona on her own Huginn; DM rooms answered alone; the mind-wake path deleted (squash of eureka-body/mind-heartbeat d54ba01..3a4d28f; Soul s1-s4) 2026-10-30 02:49:35 +01:00
dependency_graph.rs mind-body dependency graph test: read every target, not the host's 2026-10-10 20:15:18 +02:00
forge.rs mind-heartbeat: one heartbeat routes every Persona turn on an initiative timeline; the classifier's urgency multiplies regain, an operator mention fills, a Self-run completion reaches the classifier and never fills; burn is real spend read as the heartbeat; each Persona on her own Huginn; DM rooms answered alone; the mind-wake path deleted (squash of eureka-body/mind-heartbeat d54ba01..3a4d28f; Soul s1-s4) 2026-10-30 02:49:35 +01:00
persona_bin.rs integration tests follow the usage-only surface; connector_kit test removed (WIP) 2026-10-31 05:35:34 +01:00
public_surface.rs mind-body: types, forbid(unsafe_code) and pair-wise gate properties carry the Grant rule 2026-10-10 22:59:21 +02:00
public_surface.txt self-session-live: one stdin writer; the replay echo is the consumption point; no hooks, no spool, no CLI compaction 2026-10-31 19:39:25 +01:00
self_run.rs 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) 2026-10-31 18:37:37 +01:00