mirror of
https://github.com/storytold/autocraft.git
synced 2026-11-27 16:49:34 +01:00
Live topic sources are registered by each data module (src/data/<module>/triggers.ts, loaded by src/trigger-sources.ts), so src/db names no module's table. src/live.ts moves to src/db/live.ts; the change-log trigger generator moves to src/db/plan-triggers.ts and src/core/plan-changes.ts keeps only calls into the planner module. Topics and plan inputs of retired tables are gone; the classification run and classify failures are classify_state rows, per-repo step approvals, review state and merge state are plan inputs. Postgres notifies the settings channel when a page setting commits. Db.seqs replaces readSeqs. held_followups gains workflow_id and approved_at.