From c78a4d7ff570179f28a33f03759e1d91f56d0f65 Mon Sep 17 00:00:00 2001 From: BigSimmo <87357024+BigSimmo@users.noreply.github.com> Date: Mon, 13 Jul 2026 01:34:34 +0800 Subject: [PATCH] docs(operator): mark July-8 ingestion/tenancy batch verified live All six batch migrations (20260708 130000/140000/150000/160001/170000/310000) are already applied on production Clinical KB Database (sjrfecxgysukkwxsowpy); apply was a no-op. Verified read-only on live: retrieval_owner_matches fail-closed truth table, jsonb_merge_deep deep-merge, complete_ingestion_job p_worker_id lease fence, and the R17 partial-unique index (indisvalid/indisready true, queue 0/0). Stamp the runbook so the batch is not re-applied; apply steps retained for staging/DR replay. Remaining: ingestion worker redeploy. Co-Authored-By: Claude Opus 4.8 --- docs/operator-apply-july8-batch.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/operator-apply-july8-batch.md b/docs/operator-apply-july8-batch.md index a011ebdce..05ee37f72 100644 --- a/docs/operator-apply-july8-batch.md +++ b/docs/operator-apply-july8-batch.md @@ -1,7 +1,16 @@ # Operator apply — July 8 ingestion & tenancy batch +> **Status (2026-07-13): ✅ Verified live.** All six batch migrations are already +> applied on production `Clinical KB Database` (`sjrfecxgysukkwxsowpy`) — confirmed +> against the live migration history — and every batch probe passes: +> `retrieval_owner_matches` fail-closed truth table, `jsonb_merge_deep` deep-merge, +> `complete_ingestion_job(… p_worker_id)` lease fence, and the R17 partial-unique +> index (`indisvalid`/`indisready` true, queue 0/0). The apply steps below are +> retained for staging / disaster-recovery replay. **Remaining:** redeploy the +> ingestion worker so R5 merge + `p_worker_id` fences are active end-to-end. + Consolidated runbook for migrations merged to `main` in PRs **#380**, **#405**, -**#408**, and **#409** that are **in the repo but not yet verified on live** as +**#408**, and **#409** that were **in the repo but not yet verified on live** as of 2026-07-09. Companion to [`docs/supabase-migration-reconciliation.md`](supabase-migration-reconciliation.md) and [`docs/ingestion-concurrency-fix-workorder.md`](ingestion-concurrency-fix-workorder.md).