docs: drop stale two-loop/two-binary framings (single hive serve loop)

This commit is contained in:
damocles 2026-06-10 19:55:34 +02:00 committed by mara
commit cc03af3390
3 changed files with 8 additions and 8 deletions

View file

@ -294,7 +294,7 @@ fn compact_watermark_tokens(bus: &Bus) -> u64 {
/// compact. This keeps a later turn from hitting the reactive path (where
/// there is no chance to save anything first).
///
/// Both the sub-agent and manager loops call this.
/// Called once per turn by the `hive` serve loop (every agent role).
pub async fn drive_turn(prompt: &str, files: &TurnFiles, bus: &Bus) -> TurnOutcome {
maybe_auto_reset(bus);
let outcome = match run_turn(prompt, files, bus).await {
@ -441,8 +441,8 @@ fn maybe_auto_reset(bus: &Bus) {
bus.request_new_session();
}
/// Emit the per-turn `TurnEnd` event + log line. Single owner so the
/// agent and manager loops agree on outcome semantics.
/// Emit the per-turn `TurnEnd` event + log line. Single owner so outcome
/// semantics stay consistent across every agent role.
pub fn emit_turn_end(bus: &Bus, outcome: &TurnOutcome) {
match outcome {
TurnOutcome::Ok | TurnOutcome::Compacted | TurnOutcome::PromptTooLong => {