# Staging deploy and the after-deploy chain, 17 Sep 2026

The workflow's step C (`.logs/planning/staging-deploy-and-review-2026-09-18.md`), run a day earlier
than the plan's filename. Nothing collected; production untouched. Rollback: the pre-deploy dump.

- **Before:** staging 0.49.0 on master; nothing collecting; dump `backups/dfp-2026-09-17-pre-refactor.dump` (24 MB).
- **Deploy:** `srv-gw deploy --project dutyfreeprofessor --build`; health `0.50.0`; `alembic current` = `d2e3f4a5b6c7 (head)` (both migrations ran).

| Block | Command | What it printed |
|---|---|---|
| K1 | `backfill suggestion_decisions` | 0 merged -> same, 0 kept_apart -> separate |
| K1 | `backfill attribute_keys` | 2,539 variants moved to attribute/attribute_kind |
| K2 | `backfill places` | 21 airport places created, 21 shops given their primary place |
| K2 | `decisions verify` | 0 checked, 0 drift |
| K3 | `backfill options --check` / `options` | 3,139 named by their product title, 902 given the shop's option fields, 0 left for a name decision |
| K3 | `backfill attributes` | 0 wordings seeded, 562 variants stamped |
| K3 | `backfill lines` | 6,767 lines created, 8,610 variants pointed at their line |
| K3 | `rederive` (first) | 10,735 keys changed, 9 variants moved, 6 attribute sets changed, 17,373 stamped rules v6 |
| K3 | `rederive` (second) | 0 / 0 / 0 / 0 |
| K3 | `backfill merges --check` | 5 mergeable groups, 201 left for a human; every group read with rian before the real run |
| K3 | `backfill merges` | 5 groups merged (5 rows now forward), 201 left for a human, 2 new candidate pairs |
| K3 | `suggest` | 1 brand, 1,323 line, 15 variant pairs added; 1,306 refreshed, 1,276 closed as superseded, 88 withdrawn |
| K3 | `backfill prune_lines` | 6,669 empty line rows deleted |
| K3 | `backfill rule_proposals` | 938 proposals written, none applied |
| K3 | `decisions verify` | 0 checked, 0 drift |
| K6 | `index suggest --check` / `suggest` | 2,081 suggested, 0 removals |
| K6 | `index list` | waiting: 364 brands, 1,701 product lines, 16 places |

**The five merges rian read and approved** (each a barcoded row and a differently spelled row of the
same bottle at the same size, or two unbarcoded spellings): Dewar's 12 Year Old 1L, Dewar's 15 Year
Old 1L, Hendrick's Another Gin 1L, Hennessy XO 1L, Silent Pool Gin 1L. No group joined two different
bottles; every pair with two different barcodes was refused by the rules and left for a person.

- **After:** dump `backups/dfp-2026-09-17-post-chain.dump`, the state the review starts from.
