Skip to content

plans: replace §4 step 2 backfill plan with pivot redirect#803

Merged
jakebromberg merged 1 commit into
mainfrom
plans/cross-cache-identity-stub
May 10, 2026
Merged

plans: replace §4 step 2 backfill plan with pivot redirect#803
jakebromberg merged 1 commit into
mainfrom
plans/cross-cache-identity-stub

Conversation

@jakebromberg
Copy link
Copy Markdown
Member

Summary

Replaces the pre-pivot 277-line section-4-step-2-backfill-plan.md (five-source Backend backfill: S1 canonical_entity_id, S2 LML entity.identity, S3 flowsheet_match, S4 fuzzy_resolved, S5 semantic-index reconciliation_log) with a 20-line stub redirecting to the post-pivot artifacts.

The cross-cache-identity project pivoted on 2026-05-09: Backend stops reading LML's discogs-cache PG and consumes a new POST /api/v1/identity/bulk-resolve-libraries HTTP endpoint instead. Decision record at plans/library-hook-canonicalization/architecture-pivot-2026-05-09.md, merged in #800. This PR is Wave 4 of the action plan.

What survives, what's discarded

The stub file documents both. Survives: substrate from #790 (library_identity + library_identity_source + library_identity_history + dual-table writer + §3.4.1.1 worked-example regression tests) and the S1 canonical_entity_id self-migration leg (runs as a one-shot before the bulk-resolve consumer). Discarded: jobs/library-identity-backfill/dispatch.ts, sources/lml-provenance-index.ts, resolve-s2.ts, most of recompute.ts (left ~10 lines for Rule 1 manual override; Rules 2-4 moved to LML), and the §3.2.2.1 LML-to-Backend manual-override-skip endpoint.

Why a redirect instead of deleting

Future readers searching plans/library-hook-canonicalization/ for "five source legs" or "S2 LML provenance" should land on a document that explains the rescope and points at the canonical artifacts, not get a 404.

Related

Test plan

  • Confirm the stub renders correctly on GitHub (no broken intra-doc links)
  • Confirm the four cross-references in the stub (decision record, wiki amendment, three execution tickets) resolve as live links

The pre-pivot plan committed Backend to a five-source backfill (S1=canonical_entity_id, S2=LML entity.identity, S3=flowsheet_match, S4=fuzzy_resolved, S5=semantic-index reconciliation_log). On 2026-05-09 the project pivoted: Backend stops reading LML's PG and consumes a new POST /api/v1/identity/bulk-resolve-libraries endpoint instead.

Replaces the 277-line draft plan with a stub redirecting to the decision record (#800), the wiki amendment (WXYC/wiki#25), and the new tickets (wxyc-shared#103, library-metadata-lookup#272, #802). Captures what survives (substrate from #790, S1 self-migration leg, 2.2 spike memo) and what's discarded (dispatch.ts, lml-provenance-index.ts, resolve-s2.ts).

Wave 4 of the cross-cache-identity architecture pivot.
@jakebromberg jakebromberg merged commit b33fc23 into main May 10, 2026
5 checks passed
@jakebromberg jakebromberg deleted the plans/cross-cache-identity-stub branch May 10, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant