You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Context] Verify the deployed schema and inventory context identity conflicts #2117
P0 within the Context Engine epic · CE01. Required for the first two-song/two-brief checkpoint.
Customer journey
A customer imports a release already present in their catalog. Recoup preserves the correct artist and recording instead of creating duplicates or changing existing catalog links.
Customer value and architecture
Establish the real starting point before enforcing new identity constraints.
Scope
Read the intended deployed database and application/API revisions; compare relevant tables, constraints, grants, storage configuration and migration history with source.
Count duplicate/conflicting provider artist and track mappings, questionable name-based associations and incomplete organization attachments. Inventory affected catalog, research, profile/knowledge and Sites writer paths.
Keep the detailed report and customer examples private; publish only a sanitized completion summary and migration prerequisites.
Propose handling for each conflict class. Do not automatically merge, delete, rewrite or backfill production records.
Acceptance criteria
A private baseline records deployed revision references, source/live differences, aggregate conflict counts and affected writer paths.
Each proposed production constraint has a conflict-handling and compatibility rule.
Existing public/private storage paths are classified without copying customer content into this issue.
Missing live access is recorded explicitly; contract design, synthetic fixtures and draft migrations can continue.
Blocking dependencies
None. Start now.
These are completion prerequisites, mirrored by native GitHub blocked-by links. Contracts, fixtures and independent scaffolding may begin earlier.
Execution gates
This gates production identity/schema mutations. It does not block fixture-driven development.
Validation
Read-only inventory is reproducible against the intended environment; no customer data or production mutations are required.
Owning implementation
API + database; private operational report
Delivery conventions
Shared API business logic serves HTTP, MCP and workers; clients do not duplicate it. Validate input with Zod and use the existing Supabase access layer. Database changes go through database-repository migrations and PRs. Use Vercel Workflows for new durable work. Reuse existing credits and record costs without exposing credentials or private traces. Every owning repository uses a feature branch and PR; distinguish fixture, local, merged and deployed verification.
Partly done. The October 8 read-only production check confirmed the Context migrations, grants and RLS that later releases depended on.
Still open: the aggregate identity-conflict inventory and its per-class handling rules (recoupable/database#103) are unmerged and have not been run, and conflict quarantine (recoupable/database#100) is unmerged.
Keeping this open until conflict counts and affected writer paths are recorded.
Activity
Make document history trigger-only and subject-scoped
Run the identity inventory as a read-only audit script
sidneyswift commentedon Nov 6, 2026
Partly done. The October 8 read-only production check confirmed the Context migrations, grants and RLS that later releases depended on.
Still open: the aggregate identity-conflict inventory and its per-class handling rules (recoupable/database#103) are unmerged and have not been run, and conflict quarantine (recoupable/database#100) is unmerged.
Keeping this open until conflict counts and affected writer paths are recorded.