Skip to content

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

docs(memory): update timeout and pre-turn references

Steven Enamakel7829c68ead28
diff --git a/crates/openhuman-core/src/memory/README.md b/crates/openhuman-core/src/memory/README.md
index c2fbb0b872..b43d57f642 100644
--- a/crates/openhuman-core/src/memory/README.md
+++ b/crates/openhuman-core/src/memory/README.md
@@ -155,9 +155,9 @@ preserving queued logs; engine/credential invalidation also clears pending
refreshes. Scoped spawns retain the caller's core context; the key carries the
resolved identity, so queued work needs nothing ambient.
-The explicit/manual `hooks::pre_turn` and `hooks::compaction` retain their
-configured `pre_turn_timeout_ms` and `compaction_timeout_ms` deadlines; they
-are not what the live prelude and compaction wrapper await.
+The live prelude and compaction summarizer call the underlying work directly
+from the scoped prefetch workers. Their background deadlines bound engine I/O
+without a second manual timeout wrapper.
A few details hang off the turn. For a message that arrived on a channel,
`lifecycle::sender::channel_actor` records the sender as the observed actor
diff --git a/crates/openhuman-core/src/memory/lifecycle/date_hint.rs b/crates/openhuman-core/src/memory/lifecycle/date_hint.rs
index 0b69927a18..8d252ccbd2 100644
--- a/crates/openhuman-core/src/memory/lifecycle/date_hint.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/date_hint.rs
@@ -20,9 +20,8 @@ const INSTRUCTION: &str = "Return the calendar date range (local dates) that the
/// The days `user_text` is about, in `zone`, from the user's chat model.
/// `None` when it names no time, or the call fails or answers nonsense.
///
-/// Not bounded here: the caller owns the deadline (`hooks::pre_turn` wraps
-/// it in the turn's pre-turn timeout), as tinymemory's `pre_turn_dated`
-/// requires of its hint.
+/// Not bounded here: the caller owns the deadline in the pre-turn work, as
+/// tinymemory's `pre_turn_dated` requires of its hint.
pub async fn extract(
ctx: &crate::core::runtime::DispatchCtx,
config: &Config,
diff --git a/crates/openhuman-core/src/memory/lifecycle/mod.rs b/crates/openhuman-core/src/memory/lifecycle/mod.rs
index 5dc8ea5e2c..0937e9add2 100644
--- a/crates/openhuman-core/src/memory/lifecycle/mod.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/mod.rs
@@ -12,9 +12,8 @@
//! | [`prefetch`] | when the transcript is compacted | enriches from completed memory and queues recall of the folded span |
//! | [`jobs`] | the `memory_background` cron job | runs queued belief builds and deferred ingests |
//!
-//! Automatic hooks never await engine I/O. The explicit/manual hook primitives
-//! remain timeout-bounded; an engine outage degrades memory without blocking
-//! the live agent.
+//! Automatic hooks never await engine I/O; an engine outage degrades memory
+//! without blocking the live agent.
pub mod date_hint;
pub mod hooks;
diff --git a/crates/openhuman-core/src/memory/tools.rs b/crates/openhuman-core/src/memory/tools.rs
index e13393fcc1..ed6396e867 100644
--- a/crates/openhuman-core/src/memory/tools.rs
+++ b/crates/openhuman-core/src/memory/tools.rs
@@ -78,7 +78,7 @@ fn record_turn_citations(
}
/// Records `citations` for `thread_id`'s in-flight turn: what the turn's
-/// memory pack cited (`lifecycle::hooks::pre_turn`), beside what `recall`
+/// memory pack cited (`lifecycle::prefetch::pre_turn`), beside what `recall`
/// cites.
pub fn record_pack_citations(ctx: &DispatchCtx, thread_id: &str, citations: Vec<TurnCitation>) {
if citations.is_empty() {