c6a4748398
Дополняет handoff чем фактически произошло 29.05.2026: - 3 партиции (не 1) пришлось чинить: activity_log_y2026_m05 (id=599), balance_transactions_y2026_m05 (id=462), pd_processing_log_y2026_m05 (id=191). Race condition бил по всем 3 tenant-scoped audit-таблицам. Всего 18 mismatches → 0, 9 tenant-scopes, 679 rows rebuilt. - Laravel AuditRebuildChain не работает на проде: crm_supplier_worker не может SET session_replication_role (требуется SUPERUSER). Tests проходят потому что используют postgres superuser. Это first-ever rebuild attempt на проде раскрыл gap. - Workaround использован .github/workflows/sql-rebuild-audit-chain.yml через sudo -u postgres psql. Future fix — отдельный план. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>