REA SQLite notes (unofficial)
REA can inspect one local SQLite snapshot for schema inventory and optional table samples. Prefer sqlite-databases.md for schema_scope details.
Minimal path
rea capabilities --json
rea inspect-sqlite-database /absolute/path/application.sqlite --json
rea inspect-sqlite-database /absolute/path/application.sqlite --table settings --column key --column value --row-limit 20 --json
MCP inspect_sqlite_database requires an absolute path and optional table / columns / row_limit.
Mental model
- Confirm Node runtime supports
DatabaseSync.limits. - Select a consistent snapshot (not a half-copied live WAL pair).
- Start with inventory scope; widen to a table only when needed.
- Treat row samples as Evidence — still subject to privacy/authorization rules.
Legal note
Application databases often hold personal data. Inspect only snapshots you are authorized to open; minimize retained rows.
RepoRead is unofficial. Prefer sqlite-databases.md.
FAQ
Do I need a system sqlite3 binary?
No. Upstream states no separate SQLite installation is required; the worker uses Node’s native DatabaseSync.limits API.
Which Node versions?
Docs require Node.js 24.x >=24.15 or 26+ with DatabaseSync.limits. Other REA features may still allow published 22.x/24.x/26+ ranges — check rea capabilities for this tool.
How do I check readiness?
rea capabilities --json reports inspect_sqlite_database availability; unsupported runtimes show available false with unsupported_version without failing the whole inventory.
Live databases?
Prefer a quiescent snapshot — stop the writer or use the application backup workflow. A file copy of a live DB/WAL pair does not establish an atomic snapshot.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).