Skip to content

DL-163

Migration 0015_forge_subscriptions.sql lands FOUR tables unconditionally — forge_repo_subscriptions (DL-162), forge_list_cursors (DL-161), and the two DL-053-spec’d tables agent_forge_subscriptions (DL-053’s forge_subscriptions, RENAMED to disambiguate the per-artifact agent-owned subscription from the board’s per-repo target) and forge_artifact_cursors (both writer-less this slice, shape frozen + pgtest-covered before their writers) — every key coordinate-aligned to the 0013 issue convention (SMALLINT provider + forge_host) and every provider CHECK admitting the full declared proto enum IN (1, 2, 3, 4) (the CHECK’s job is “never UNSPECIFIED(0)”, not gating rollout; rollout is gated by which forge.Provider has a real client — GitHub only this slice). The issues CHECK IN (1, 2, 3) widening for Linear ingestion is a separate future-slice prerequisite (OQ-E)

Status: Active (Matt, 2026-08-08)

Record: ../../server/compass-forge-poll-driver/design.md#oq-d–resolved-matt-2026-08-08-all-four-tables-land-now-checks-admit-the-full-enum