--- name: xenia-rs analysis DB is DuckDB, not SQLite description: Reminder that xenia-analysis switched from rusqlite to duckdb — the `.db` extension is misleading type: project originSessionId: f35a2810-e5b7-46ac-a4d9-ea87304be179 --- **Why:** Historical — files named like `sylpheed.db` still use the legacy extension, but the file format is DuckDB (verified via `file sylpheed.db → "DuckDB database file, version 64"`). `xenia-analysis/Cargo.toml` depends on `duckdb = { workspace = true }`; there is no `rusqlite`. The CLI memory's mention of "SQLite DB" is stale. **How to apply:** - CLI `sqlite3 path.db` will not open it; use `python3 -c "import duckdb; con = duckdb.connect('path.db', read_only=True); ..."` or install the `duckdb` CLI. - Schema matches what the CLI memory describes (functions/imports/instructions/labels/metadata/sections/xrefs), just with DuckDB's SQL dialect. `SHOW TABLES` works; `SELECT name FROM sqlite_master` also works for compat. - When querying, prefer Python with `read_only=True` so you don't step on concurrent writers.