tinyhumansai/openhuman · error

memory_tree_cover_window: {e}

Error message

memory_tree_cover_window: {e}

What it means

Wrapper around active_memory_guard() inside the cover_window tool: the bound memory driver could not be acquired (unbound or binding error). The tool prefixes its own name so the caller can tell which memory_tree mode failed.

Source

Thrown at src/openhuman/memory/query/cover_window.rs:82

        // Correlation fields only — source_id can carry PII, so log its presence,
        // not its value.
        log::debug!(
            "[tool][memory_tree] cover_window parsed since_ms={} until_ms={} has_source_id={} has_source_kind={} has_limit={}",
            req.since_ms,
            req.until_ms,
            req.source_id.is_some(),
            req.source_kind.is_some(),
            req.limit.is_some()
        );
        // Validate arguments before touching config/disk — `SourceKind::parse`
        // is pure, so a bad `source_kind` must fail with the parse error
        // regardless of workspace state.
        let source_kind = match req.source_kind.as_deref() {
            Some(s) => {
                log::trace!("[tool][memory_tree] cover_window parse_source_kind");
                Some(
                    SourceKind::parse(s)
                        .map_err(|e| anyhow::anyhow!("memory_tree_cover_window: {e}"))?,
                )
            }
            None => None,
        };
        log::trace!(
            "[tool][memory_tree] cover_window dispatch limit={}",
            req.limit.unwrap_or(0)
        );
        let guard = active_memory_guard()
            .await
            .map_err(|e| anyhow::anyhow!("memory_tree_cover_window: {e}"))?;
        let window = CoverWindowQuery {
            since_ms: req.since_ms,
            until_ms: req.until_ms,
            source_id: req.source_id.clone(),
            source_kind,
            limit: req.limit,
        };

View on GitHub (pinned to 7491200858)

Solutions

  1. Retry once the memory subsystem has bound its driver
  2. Inspect core logs for the driver binding failure underneath
  3. Confirm the memory module is loaded and enabled
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/openhuman/memory/query/cover_window.rs:82 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/2531ad1dd0dace9e. Report an issue: GitHub.