5f9546b16c
Request: - Rework archivist handling for stubborn T0/T1 HKEX document gaps and unresolved T2 grey-market gaps. Changes: - Query HKEXnews titleSearchServlet with IPO-date windows instead of only the latest title-search page. - Recognize SHARE OFFER listing documents and archive official HTML allotment-result notices when no PDF is published. - Mark source-only allotment completion clearly when structured demand parsing is not yet covered. - Add a reusable grey-market gap marker and archivist source policy for T2 data. - Archive newly discovered HKEX raw sources, update SQLite, and refresh CSV snapshots. - Treat raw evidence files as binary in Git attributes. Verification: - Ran py_compile for archive_hkex_documents.py, update_sync_state.py, and mark_grey_market_gaps.py. - Ran HKEX document archive backfill and grey-market gap marker. - Checked SQLite integrity, foreign keys, source paths, source hashes, and DB-vs-snapshot row counts. - Ran git diff --cached --check after marking raw archives binary. Next useful context: - T0 is now complete for 293 tickers. - T1 has 291 complete and 2 pending_not_due tickers. - T2 has 291 blocked gaps pending an approved grey-market source strategy.
2.6 KiB
2.6 KiB
| 1 | sync_run_id | mode | as_of | started_at | finished_at | status | notes |
|---|---|---|---|---|---|---|---|
| 2 | price_performance_archive_20260615T100000Z | price_performance_archive | 2026-06-15T10:00:00Z | 2026-06-15T10:00:00Z | 2026-06-15T10:00:00Z | complete | Archived 273 price-history sources and 1063 price-performance rows; 17 tickers failed. |
| 3 | sync_state_20260615T073000Z | recent_ipo_list_refresh | 2026-06-15T07:30:00Z | 2026-06-15T07:30:00Z | 2026-06-15T07:30:00Z | complete | Derived ticker sync state refreshed. |
| 4 | sync_state_20260615T081500Z | hkex_document_archive | 2026-06-15T08:15:00Z | 2026-06-15T08:15:00Z | 2026-06-15T08:15:00Z | complete | Derived ticker sync state refreshed. |
| 5 | sync_state_20260615T082000Z | hkex_document_archive | 2026-06-15T08:20:00Z | 2026-06-15T08:20:00Z | 2026-06-15T08:20:00Z | complete | Derived ticker sync state refreshed. |
| 6 | sync_state_20260615T082500Z | hkex_document_archive | 2026-06-15T08:25:00Z | 2026-06-15T08:25:00Z | 2026-06-15T08:25:00Z | complete | Derived ticker sync state refreshed. |
| 7 | sync_state_20260615T083000Z | hkex_document_archive | 2026-06-15T08:30:00Z | 2026-06-15T08:30:00Z | 2026-06-15T08:30:00Z | complete | Derived ticker sync state refreshed. |
| 8 | sync_state_20260615T083500Z | hkex_document_archive | 2026-06-15T08:35:00Z | 2026-06-15T08:35:00Z | 2026-06-15T08:35:00Z | complete | Derived ticker sync state refreshed. |
| 9 | sync_state_20260615T084500Z | hkex_document_archive | 2026-06-15T08:45:00Z | 2026-06-15T08:45:00Z | 2026-06-15T08:45:00Z | complete | Derived ticker sync state refreshed. |
| 10 | sync_state_20260615T085000Z | hkex_document_archive | 2026-06-15T08:50:00Z | 2026-06-15T08:50:00Z | 2026-06-15T08:50:00Z | complete | Derived ticker sync state refreshed. |
| 11 | sync_state_20260615T090000Z | hkex_document_archive | 2026-06-15T09:00:00Z | 2026-06-15T09:00:00Z | 2026-06-15T09:00:00Z | complete | Derived ticker sync state refreshed. |
| 12 | sync_state_20260615T100000Z | price_performance_archive | 2026-06-15T10:00:00Z | 2026-06-15T10:00:00Z | 2026-06-15T10:00:00Z | complete | Derived ticker sync state refreshed. |
| 13 | sync_state_20260615T100500Z | hkex_document_archive | 2026-06-15T10:05:00Z | 2026-06-15T10:05:00Z | 2026-06-15T10:05:00Z | complete | Derived ticker sync state refreshed. |
| 14 | sync_state_20260615T110000Z | hkex_document_archive | 2026-06-15T11:00:00Z | 2026-06-15T11:00:00Z | 2026-06-15T11:00:00Z | complete | Derived ticker sync state refreshed. |
| 15 | sync_state_20260615T120000Z | hkex_document_archive | 2026-06-15T12:00:00Z | 2026-06-15T12:00:00Z | 2026-06-15T12:00:00Z | complete | Derived ticker sync state refreshed. |
| 16 | sync_state_20260615T120500Z | grey_market_gap_review | 2026-06-15T12:05:00Z | 2026-06-15T12:05:00Z | 2026-06-15T12:05:00Z | complete | Derived ticker sync state refreshed. |
| 17 | sync_state_seed_2026_06_15 | bootstrap_state_refresh | 2026-06-15T06:30:00Z | 2026-06-15T06:30:00Z | 2026-06-15T06:30:00Z | complete | Derived ticker sync state refreshed. |