agent-orchestrator/backend/internal/storage/sqlite/gen
Pritom14 23b8fe43cf feat(backend): add projects and pr_enrichment tables to SQLite store
Migration 0002 adds two tables off the canonical CDC path:

- projects: durable registry of managed repos (the twin of the old YAML
  config). Soft-deletable via archived_at so a session's project_id always
  resolves; ListProjects returns active rows only, GetProject resolves any.
- pr_enrichment: per-session cache of rich SCM facts (CI summary, review
  decision, mergeability, pending comments, CI log tail) that do not live
  in the canonical lifecycle. 1:1 with a session, cascades on session delete.

Both are written outside the LCM write path: no revision bump, no
change_log/outbox event. Store methods mirror the reaction_trackers adapter
pattern with storage-local row structs.
2026-05-30 21:53:14 +05:30
..
cdc.sql.go feat(backend): SQLite storage layer + CDC pipeline, LCM/reaper wiring 2026-05-30 16:02:07 +05:30
db.go feat(backend): SQLite storage layer + CDC pipeline, LCM/reaper wiring 2026-05-30 16:02:07 +05:30
metadata.sql.go feat(backend): SQLite storage layer + CDC pipeline, LCM/reaper wiring 2026-05-30 16:02:07 +05:30
models.go feat(backend): add projects and pr_enrichment tables to SQLite store 2026-05-30 21:53:14 +05:30
pr_enrichment.sql.go feat(backend): add projects and pr_enrichment tables to SQLite store 2026-05-30 21:53:14 +05:30
projects.sql.go feat(backend): add projects and pr_enrichment tables to SQLite store 2026-05-30 21:53:14 +05:30
querier.go feat(backend): add projects and pr_enrichment tables to SQLite store 2026-05-30 21:53:14 +05:30
reactions.sql.go feat(backend): SQLite storage layer + CDC pipeline, LCM/reaper wiring 2026-05-30 16:02:07 +05:30
sessions.sql.go feat(backend): SQLite storage layer + CDC pipeline, LCM/reaper wiring 2026-05-30 16:02:07 +05:30