Dashboardopencode-loreGateway tests and production SQLite

Gateway tests and production SQLite

Category: preference
Confidence: 1.00
ID: 01a0a4f0-8f72-7ebf-8b2f-ce5582d638a3
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 17mmE3FwJ0NRYgT1N
Created: 2026-09-13 00:43:33
Updated: 2026-09-15 12:00:23

Content

Never inspect or use production database contents during investigation or testing. Always use the temporary SQLite database created by packages/core/test/setup.ts; ~/.local/share/lore/lore.db looks realistic but violates privacy and may mutate live state. After each test, restore silenceStderr(false) and call invalidateProjectIdCache() so plugin and path-alias state cannot leak across tests.

Move to: