-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: Add file-based fallback search when node:sqlite is unavailable #59451
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Summary
This issue tracks only the longer-term fallback path when vector search cannot initialize because
node:sqliteis unavailable.Background
In some container/sandbox runtimes, the built-in
node:sqlitemodule is unavailable even when OpenClaw is otherwise usable. Right now that blocks vector search entirely.Expected Behavior
node:sqliteis unavailable,memory_searchfalls back to a simple file-based keyword search overMEMORY.mdandmemory/*.md.Why This Matters
This is a capability-preservation issue, not just an error-message issue. Even with the better UX from #59457 / #69199, memory recall still becomes unavailable in constrained runtimes unless there is a fallback path.
Out of Scope
Implementation Note
A simple grep/file-scan fallback over
MEMORY.md+memory/*.mdwould be a reasonable first step. This does not need to match vector-search quality; it only needs to preserve a basic searchable memory path when SQLite-backed search cannot start.Related