What's actually in the database.
A local SQLite file (memory.db), one per machine, written to your OS's local app-data directory — the same directory Tauri's own convention resolves to for the app identifier dev.resin.engineering-memory. Every table below is real; nothing here is aspirational.
Schema
decisionsOne row per captured decision: title, summary, rationale, status (under_review / accepted / superseded / deprecated), which agent proposed it, and — if superseded — which decision replaced it.
context_nodesNamed architectural concepts (a database, an API, an auth system) a decision can be linked to, by category.
decision_node_linksThe many-to-many join between decisions and context_nodes.
memory_embeddingsVector embeddings of decision content chunks, for semantic search.
guarddog_violations"Heuristic keyword-proximity matches against accepted-decision rules, not verified violations." — the schema's own words. A flag for a human to check, not a verdict.
audit_eventsAppend-only: one row per rule-triggered decision (warn or block), with an override captured in the same insert if one happened. No separate update path exists.
executionsOne row per resin run invocation that evaluated rules. The agent field is "sniffed from the wrapped command's own name... not real process introspection."
drift_flagsLLM-flagged, plausible contradictions between a new commit and a previously accepted decision. Confidence (low/medium/high) — a signal for a human, never a verdict.
decisions_ftsFull-text search index over decisions, kept in sync by triggers on insert/update/delete.
What isn't captured
- Your source code. decisions.summary and .rationale are free-text fields a human or agent writes — the schema has no column for file contents.
- Confirmed rule violations. guarddog_violations and drift_flags are both explicitly heuristic/low-confidence signals in the schema's own comments, not verified findings.
- Which real OS process ran an agent. executions.agent is parsed from the wrapped command's own argv[0] name, not real process introspection.
Verify it yourself
- Disconnect your network entirely — turn off Wi-Fi, unplug ethernet.
- Run
npx resin-checkagainst any real project. It completes identically offline — it never opens a socket. - Open your OS's local app-data directory and confirm
memory.dbis a plain SQLite file — open it with any SQLite browser (sqlite3 memory.dbon the command line works) and read the tables above directly. - Reconnect your network. Nothing in steps 1–3 required it.