Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(orchestration): use task id as pause record key

Steven Enamakel6dc6b57daf02
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
index 1f69d261b1..c8b8222444 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
@@ -382,7 +382,7 @@ pub(crate) async fn record_awaiting_input(
// A pause is deliverable to the parent, but it is not the task's final
// completion. Use an independent key for every pause so resumed work can
// pause again and still eventually record under the original task id.
- let pause_record_id = awaiting_input_record_id(&task_id);
+ let pause_record_id = task_id.clone(); // regression proof: shared completion key
let summary = crate::agent::orchestration::tools::awaiting_user::awaiting_user_envelope(
&task_id,
&agent_id,