Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

fix(pa-daemon): the settle test seam sets the settle funnel's flag (#3214)

Scott Cabrinha9c922d3cf016
diff --git a/crates/pa-daemon/src/rlm_children.rs b/crates/pa-daemon/src/rlm_children.rs
index deef81431e..ea37517cdd 100644
--- a/crates/pa-daemon/src/rlm_children.rs
+++ b/crates/pa-daemon/src/rlm_children.rs
@@ -635,6 +635,9 @@ impl SupervisorChildSessions {
let mut record = record.lock().await;
if record.active_session_id == child_active_session_id {
record.settled_status = Some("done");
+ // The settle funnel's flag (`fire_settle_hook`): the
+ // quiescence predicate reads it, not the terminal status.
+ record.settled = true;
}
}
}