Repository navigation
doctor(memory): surface FTS5 unavailable state in doctor checks - #62338
ZanderH-code wants to merge 4 commits into
Conversation
Greptile SummaryThis PR surfaces SQLite FTS5 unavailability in Confidence Score: 5/5Safe to merge — no functional or data-integrity issues found. All findings are P2 style/cleanup suggestions; the core logic, type guards, and test coverage are correct. No files require special attention.
|
|
Addressed the review suggestion about duplicated type shape. Changes pushed in commit
Validation run:
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
Codex review: needs real behavior proof before merge. Reviewed July 6, 2026, 6:14 PM ET / 22:14 UTC. Summary PR surface: Source +72, Tests +148. Total +220 across 6 files. Reproducibility: yes. at source level: current main records FTS availability in memory-core status but drops it from the gateway doctor payload and CLI doctor warning path. I did not run a live FTS5-unavailable gateway in this read-only review. Review metrics: 1 noteworthy metric.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the narrow diagnostic forwarding after adding redacted real Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main records FTS availability in memory-core status but drops it from the gateway doctor payload and CLI doctor warning path. I did not run a live FTS5-unavailable gateway in this read-only review. Is this the best way to solve the issue? Yes for the diagnostic slice: forwarding the existing memory-core FTS status through gateway doctor status and warning rendering is the narrow owner-boundary fix. It does not solve the broader keyword/BM25 recall restoration problem. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e80e8a2b6730. Label changesLabel justifications:
Evidence reviewedPR surface: Source +72, Tests +148. Total +220 across 6 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
7c56aa9 to
e145402
Compare
|
Updated this PR to align with current What changed:
Validation:
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
|
This pull request has been automatically marked as stale due to inactivity. |
e145402 to
466c2ec
Compare
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
|
Closing due to inactivity. |
What Problem This Solves
Fixes #62328.
openclaw doctorcould report memory embeddings as ready while SQLite FTS5 keyword/BM25 fallback was unavailable in the running gateway, leaving operators without a visible diagnosis.What Changed
doctor.memory.statuswith validatedftsfields (enabled,available, and optionalerror).probeGatewayMemoryStatus.noteMemorySearchHealthwhen the gateway reports FTS unavailable.Evidence
5a7b237c2f155584d36204119d612f252ee01070.Test Plan
pnpm test:serial src/commands/doctor-gateway-health.test.ts src/commands/doctor-memory-search.test.ts src/gateway/server-methods/doctor.test.tspnpm check:changedRequired GitHub checks must be green before merge.