Store-Content Parity
When your sync pipeline only upserts, removals never propagate — loop until the live store's rows exactly match the curated source files, pruning orphans deliberately.
- Type
- Loop
- Updated
- 2026-08-26
Install
via Positronick CLI
An upsert-only seed or sync re-asserts what exists in source control but cannot know what was deleted: removing or re-identifying a content file leaves an orphan row that keeps rendering in production. Each iteration diffs the source-of-truth entries against the live store's rows, then resolves one mismatch — pruning an orphan row deliberately, or restoring a file that should never have been removed. Distinct from migration-until-applied and schema-migration-drift-zero (both target SCHEMA): this reconciles DATA rows against curated content.
Loop
- Goal
- the live store and the curated source files describe exactly the same set of entries — no orphan rows in the store, no source entries missing from it
- Exit when
- the diff between source entries and store rows is empty (the check prints PARITY)
Check between iterations