From ef218e3dab823421a4a012f228828870fa324de2 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 31 Oct 2026 08:55:45 +0100 Subject: [PATCH] heartbeat: the cost test admits within the batch cap; the public surface drops the MindRead accessors Co-Authored-By: Claude Sonnet 5.5 --- crates/mind-body/src/heartbeat/tests.rs | 2 +- crates/mind-body/tests/public_surface.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/mind-body/src/heartbeat/tests.rs b/crates/mind-body/src/heartbeat/tests.rs index 5deab20..241c45c 100644 --- a/crates/mind-body/src/heartbeat/tests.rs +++ b/crates/mind-body/src/heartbeat/tests.rs @@ -594,7 +594,7 @@ fn ann_queries_with(pulses: usize, beat: Option, urgency: Option) -> u rig.turn(BOB, 100_000); let mut done = 0; while done < pulses { - let batch = (pulses - done).min(250); + let batch = (pulses - done).min(50); rig.minds[ANN].admit_at(rig.now() - Duration::seconds(90_000)); rig.minds[ANN].committed( (0..batch) diff --git a/crates/mind-body/tests/public_surface.txt b/crates/mind-body/tests/public_surface.txt index e9c4e17..3eb6cff 100644 --- a/crates/mind-body/tests/public_surface.txt +++ b/crates/mind-body/tests/public_surface.txt @@ -94,7 +94,6 @@ mind_body::heartbeat: impl Control for FileControl mind_body::heartbeat: impl FileStore mind_body::heartbeat: impl FileStore: fn check (& self) -> Result < () > mind_body::heartbeat: impl FileStore: fn new (path : impl Into < PathBuf >) -> Self -mind_body::heartbeat: impl MindRead mind_body::heartbeat: impl PersonaId mind_body::heartbeat: impl PersonaId: fn parse (spec : & str) -> Result < Self > mind_body::heartbeat: impl Row < '_ >