Self-test
memory_healthcheckVerify MemCore connection health by running end-to-end tests on write, read, search, and delete, revealing silent search failures without affecting real data.
Instructions
Self-test MemCore end to end (about 1 s): write, read, search (strict AND and OR-fallback modes), history and delete.
Use it instead of assuming a connection is healthy just because it is
listed: a connection can look fine while search silently misbehaves.
The test only writes to a throwaway scope (_healthcheck, or
_healthcheck_<scope> on a scope-locked connection) and always cleans
up; real entries are never touched. Returns {ok, checks[], db_path}.
Not available on read-only connections; use memory_stats there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||