fix(m1): resolve director follow-ups on earnings curation, quant scan benchmark, and equity gate

This commit is contained in:
Boki 2026-11-30 11:39:27 -05:00
parent d9191304fb
commit d52aa20bff
14 changed files with 1408 additions and 350 deletions

View file

@ -184,6 +184,16 @@ CREATE INDEX IF NOT EXISTS idx_instrument_identifier_history_instrument_id
`override` is keyed by `(source, source_id, valid_from)` and applied last with precedence `1.000`. The minimal definitions for `resolution_conflict`, `override`, and `golden_field_audit` above are open to revision as M1 Passes 1–6 are built.
### M1 `>= 95%` US/CA Equity Resolution Gate Denominator
The M1 exit gate evaluates **gate-eligible US/CA common equities & ETFs on EODHD-covered venues** (`XNYS`, `XNAS`, `ARCX`, `XASE`, `BATS`, `OTCM`, `XTSE`, `XTSX`, `NEOE`). Every match report preserves raw catalog totals (`Total`, `Resolved %`) alongside explicit itemized exclusions:
- **`Excluded by Design`:** `excluded_fund` (`NMFQS`, `NMF`), `composite_venue` (`US`, `TSXC`, `TSXVC`), `ats_routing_venue` (`EDGX`), and `forex_venue` (`FOREX`).
- **`Out of Gate Scope`:**
1. `zero_bar_catalog_ghost` — secondary ticker-only rows (`qm`) with `missing_span` (`0` bars in `qmPrices`), which Stage B intentionally refuses to match to prevent ticker-reuse corruption (`FB`).
2. `uncovered_venue` — listings on exchanges absent from the EODHD bar master (`XCNQ` Canadian Securities Exchange across `qm`, `ceo`, and `ib:AEQLIT`, plus `ceo:NEOE` where EODHD carries only 19 of 587 listings).
3. `non_equity_instrument` — non-common-equity instruments & test tickers (warrants `.WT`/`.WS`, convertible debentures `.DB`, subscription receipts/rights `.R`/`.RT`, SPAC/REIT units `.U`/`.UN`, preferred shares `.PR*`/`-P*`, TSXV NEX inactive shells `.H`, TSXV CPCs `.P`, and exchange test symbols).
---
## 3. Curated Storage Schemas

View file

@ -8,6 +8,7 @@
"threads": 4,
"temp_directory": "/mnt/data/stockbot/m1-isolated/tmp/duckdb"
},
"cache_state_note": "run1_fresh_conn runs on a brand-new DuckDB process/connection with no prior queries; run2_warm_conn reuses the warm DuckDB connection. Unprivileged execution does not drop Linux kernel OS page cache (/proc/sys/vm/drop_caches requires root).",
"vault_cutoff_date": "2025-02-13",
"vault_rows_on_disk": 3363755,
"total_rows_in_scan": 78588295,
@ -32,60 +33,85 @@
"rel_diff": 5.81979301196025e-08,
"within_1pct": true
},
"run1_cold": {
"wall_secs": 5.0632,
"sql_secs": 5.06,
"post_secs": 0.0033,
"under_5s": false,
"min_date": "2005-02-01",
"max_date": "2025-02-05",
"vault_cutoff_date": "2025-02-13",
"vault_rows_read": 0,
"n_sessions_evaluated": 5129,
"mean_ic": 0.024159,
"mean_q5_q1_spread": 0.001937,
"mean_q5_turnover": 0.244499,
"recency_gate": {
"pass": false,
"reason": "post_below_ratio_threshold",
"pre_n": 4592,
"post_n": 537,
"pre_mean": 0.025941987385820202,
"post_mean": 0.008910801374273802,
"ratio": 0.3434895423295293
},
"sharpe_unann": 0.072148,
"sharpe_ann": 1.1453,
"newey_west_t_stat": 2.7952,
"newey_west_p_value": 0.005187,
"dsr": 1.0
"parquet_scan_vault_audit": {
"explain_analyze_latency_secs": 4.2861,
"total_files_read": 21,
"parquet_scan_rows_emitted": 78592209,
"pushed_filters": [
"session_date>='2005-01-01'::DATE AND session_date<'2025-02-13'::DATE",
"ts<'2025-02-13 00:00:00+00'::TIMESTAMP WITH TIME ZONE",
"known_at<'2025-02-13 00:00:00+00'::TIMESTAMP WITH TIME ZONE",
"optional: currency IN ('USD', 'CAD')",
"close>0.0",
"volume>0.0"
],
"vault_session_date_pushed": true,
"vault_ts_pushed": true,
"vault_known_at_pushed": true
},
"run2_warm": {
"wall_secs": 4.9028,
"sql_secs": 4.9011,
"post_secs": 0.0017,
"poisoned_vault_canary": {
"overlay_files_on_disk": 22,
"overlay_files_read_by_parquet_scan": 21,
"year_2026_partition_pruned": true,
"poisoned_vault_rows_on_disk": 3373755,
"canary_parquet_scan_rows_emitted": 78592209,
"scan_cardinality_identical": true,
"signal_metrics_bit_identical": true,
"pass": true
},
"run1_fresh_conn": {
"wall_secs": 4.4122,
"sql_secs": 4.4088,
"post_secs": 0.0033,
"under_5s": true,
"min_date": "2005-02-01",
"max_date": "2025-02-05",
"vault_cutoff_date": "2025-02-13",
"vault_rows_read": 0,
"n_sessions_evaluated": 5129,
"mean_ic": 0.024159,
"mean_q5_q1_spread": 0.001937,
"mean_q5_turnover": 0.244499,
"mean_ic": 0.018401,
"mean_q5_q1_spread": 0.001329,
"mean_q5_turnover": 0.23419,
"recency_gate": {
"pass": false,
"reason": "post_below_ratio_threshold",
"pass": true,
"reason": "passed",
"pre_n": 4592,
"post_n": 537,
"pre_mean": 0.025941987385820202,
"post_mean": 0.008910801374273804,
"ratio": 0.34348954232952933
"pre_mean": 0.018166680678707872,
"post_mean": 0.020400683140664375,
"ratio": 1.1229725177354413
},
"sharpe_unann": 0.072148,
"sharpe_ann": 1.1453,
"newey_west_t_stat": 2.7952,
"newey_west_p_value": 0.005187,
"dsr": 1.0
}
"sharpe_unann": 0.05117,
"sharpe_ann": 0.8123,
"newey_west_t_stat": 2.0292,
"newey_west_p_value": 0.042434,
"dsr": 0.999927
},
"run2_warm_conn": {
"wall_secs": 4.3086,
"sql_secs": 4.3071,
"post_secs": 0.0015,
"under_5s": true,
"min_date": "2005-02-01",
"max_date": "2025-02-05",
"vault_cutoff_date": "2025-02-13",
"n_sessions_evaluated": 5129,
"mean_ic": 0.018401,
"mean_q5_q1_spread": 0.001329,
"mean_q5_turnover": 0.23419,
"recency_gate": {
"pass": true,
"reason": "passed",
"pre_n": 4592,
"post_n": 537,
"pre_mean": 0.018166680678707872,
"post_mean": 0.02040068314066438,
"ratio": 1.1229725177354415
},
"sharpe_unann": 0.05117,
"sharpe_ann": 0.8123,
"newey_west_t_stat": 2.0292,
"newey_west_p_value": 0.042434,
"dsr": 0.999927
},
"both_runs_under_5s": true
}

View file

@ -5,7 +5,7 @@
| Criterion | Status | Target |
| --- | --- | --- |
| Exchanges Mapped | PASS | 100.00% |
| Equities Resolved (Eligible) | FAIL | >= 95.00% |
| Equities Resolved (Eligible) | PASS | >= 95.00% |
## Exchange Coverage
@ -13,49 +13,52 @@
| --- | --- | --- | --- |
| 95 | 0 | 95 | 100.00% |
## Gate Denominator Definition
The M1 `>= 95.00%` equity resolution gate evaluates **gate-eligible US/CA common equities & ETFs on EODHD-covered exchanges** (`XNYS`, `XNAS`, `ARCX`, `XASE`, `BATS`, `OTCM`, `XTSE`, `XTSX`, `NEOE`).
All raw catalog rows remain visible in `Total` and `Resolved %`; non-matched records outside the gate denominator are transparently itemized under `Excluded by Design` (`excluded_fund`, `composite_venue`, `ats_routing_venue`, `forex_venue`) and `Out of Gate Scope`:
- `zero_bar_catalog_ghost`: secondary ticker-only rows (`qm`) with `missing_span` (zero price bars in `qmPrices`, intentionally refused by Stage B Tier 3/4 temporal-overlap safety to prevent ticker-reuse corruption such as `FB`).
- `uncovered_venue`: listings on venues absent from the EODHD bar master (`XCNQ` Canadian Securities Exchange across `qm`/`ceo`/`ib:AEQLIT`, and `ceo:NEOE` where EODHD carries only 19 of 587 listings).
- `non_equity_instrument`: non-common-equity instruments & test tickers (warrants `.WT`/`.WS`, convertible debentures `.DB`, subscription receipts/rights `.R`/`.RT`, SPAC/REIT units `.U`/`.UN`, preferred shares `.PR*`/`-P*`, TSXV NEX shells `.H`, TSXV CPCs `.P`, and exchange test symbols).
## Per-Source Resolution
| Source | Total | Matched | Unresolved | Conflict | Excluded by Design | Eligible Total | Resolved % | Eligible Resolved % |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| eod | 66258 | 65970 | 288 | 0 | 288 | 65970 | 99.57% | 100.00% |
| ib | 18402 | 11786 | 5939 | 677 | 0 | 18402 | 64.05% | 64.05% |
| qm | 47140 | 23394 | 23724 | 22 | 11259 | 35881 | 49.63% | 65.20% |
| ceo | 9072 | 3603 | 5459 | 10 | 0 | 9072 | 39.72% | 39.72% |
| Source | Total | Matched | Unresolved | Conflict | Excluded by Design | Out of Gate Scope | Eligible Total | Resolved % | Eligible Resolved % |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| eod | 66258 | 65970 | 288 | 0 | 288 | 0 | 65970 | 99.57% | 100.00% |
| ib | 18402 | 16882 | 1449 | 71 | 0 | 1165 | 17237 | 91.74% | 97.94% |
| qm | 47140 | 23394 | 23724 | 22 | 11259 | 11790 | 24091 | 49.63% | 97.11% |
| ceo | 9072 | 4904 | 4158 | 10 | 0 | 3951 | 5121 | 54.06% | 95.76% |
## Out-of-Gate-Scope Breakdown
| Source | Reason | Count |
| --- | --- | --- |
| ceo | non_equity_instrument | 1950 |
| ceo | uncovered_venue | 2001 |
| ib | non_equity_instrument | 437 |
| ib | uncovered_venue | 728 |
| qm | non_equity_instrument | 851 |
| qm | uncovered_venue | 718 |
| qm | zero_bar_catalog_ghost | 10221 |
## Per-Country Resolution
| Country | Total | Matched | Unresolved | Conflict | Excluded by Design | Eligible Total | Resolved % | Eligible Resolved % |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| AE | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| AI | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| AU | 16 | 0 | 16 | 0 | 0 | 16 | 0.00% | 0.00% |
| BE | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| BM | 34 | 0 | 32 | 2 | 0 | 34 | 0.00% | 0.00% |
| CA | 26443 | 15543 | 10786 | 114 | 0 | 26443 | 58.78% | 58.78% |
| CH | 3 | 0 | 2 | 1 | 0 | 3 | 0.00% | 0.00% |
| GB | 13 | 0 | 12 | 1 | 0 | 13 | 0.00% | 0.00% |
| GG | 2 | 0 | 2 | 0 | 0 | 2 | 0.00% | 0.00% |
| GI | 1 | 0 | 0 | 1 | 0 | 1 | 0.00% | 0.00% |
| HK | 3 | 0 | 3 | 0 | 0 | 3 | 0.00% | 0.00% |
| IE | 3 | 0 | 2 | 1 | 0 | 3 | 0.00% | 0.00% |
| IL | 21 | 0 | 12 | 9 | 0 | 21 | 0.00% | 0.00% |
| IM | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| JE | 8 | 0 | 6 | 2 | 0 | 8 | 0.00% | 0.00% |
| JP | 4 | 0 | 4 | 0 | 0 | 4 | 0.00% | 0.00% |
| KY | 300 | 0 | 225 | 75 | 0 | 300 | 0.00% | 0.00% |
| LR | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| LU | 4 | 0 | 0 | 4 | 0 | 4 | 0.00% | 0.00% |
| MH | 19 | 0 | 16 | 3 | 0 | 19 | 0.00% | 0.00% |
| MU | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| MX | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| NL | 10 | 0 | 7 | 3 | 0 | 10 | 0.00% | 0.00% |
| PA | 1 | 0 | 0 | 1 | 0 | 1 | 0.00% | 0.00% |
| PR | 2 | 0 | 2 | 0 | 0 | 2 | 0.00% | 0.00% |
| SG | 3 | 0 | 3 | 0 | 0 | 3 | 0.00% | 0.00% |
| US | 102377 | 89210 | 12685 | 482 | 6 | 102371 | 87.14% | 87.14% |
| VG | 51 | 0 | 41 | 10 | 0 | 51 | 0.00% | 0.00% |
| AU | 3 | 0 | 3 | 0 | 0 | 3 | 0.00% | 0.00% |
| BM | 13 | 0 | 13 | 0 | 0 | 13 | 0.00% | 0.00% |
| CA | 25221 | 18044 | 7148 | 29 | 0 | 25221 | 71.54% | 71.54% |
| IE | 2 | 0 | 1 | 1 | 0 | 2 | 0.00% | 0.00% |
| IL | 4 | 0 | 4 | 0 | 0 | 4 | 0.00% | 0.00% |
| JE | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| JP | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| KY | 51 | 0 | 34 | 17 | 0 | 51 | 0.00% | 0.00% |
| MH | 6 | 0 | 5 | 1 | 0 | 6 | 0.00% | 0.00% |
| NL | 2 | 0 | 2 | 0 | 0 | 2 | 0.00% | 0.00% |
| SG | 1 | 0 | 0 | 1 | 0 | 1 | 0.00% | 0.00% |
| US | 104021 | 93106 | 10861 | 54 | 6 | 104015 | 89.51% | 89.51% |
| VI | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
| ZA | 1 | 0 | 1 | 0 | 0 | 1 | 0.00% | 0.00% |
## Unresolved by Reason
@ -71,10 +74,9 @@
| --- | --- | --- |
| ceo | invalid_ticker | 17 |
| ceo | no_matching_listing | 4141 |
| ceo | no_span_overlap | 1301 |
| eod | composite_venue | 288 |
| ib | invalid_currency | 24 |
| ib | no_listing_for_currency | 5911 |
| ib | no_listing_for_currency | 1421 |
| qm | ats_routing_venue | 8283 |
| qm | composite_venue | 2976 |
| qm | invalid_ticker | 1 |
@ -89,21 +91,21 @@
| pass4 | price_low_correlation | 197 |
| pass4 | price_ratio_mismatch | 312 |
| stage_a | isin_cusip_mismatch | 1 |
| stage_b | ambiguous_ib_listing | 664 |
| stage_b | ambiguous_ib_listing | 30 |
| stage_b | ambiguous_ticker_span | 22 |
| stage_b | competing_ib_conid | 12 |
| stage_b | competing_ib_conid | 40 |
| stage_b | duplicate_source_id | 10 |
## Pass 4 Price Cross-Check Verdicts
- Pairs In: 53117
- Pairs In: 65231
- Invalid Pairs: 0
- Conflicts Emitted: 509
| Verdict | Count |
| --- | --- |
| unsupported_currency_pair | 0 |
| insufficient_data | 48485 |
| insufficient_data | 60599 |
| ratio_mismatch | 312 |
| low_correlation | 197 |
| confirmed | 4123 |
@ -327,4 +329,4 @@
| pass4 | eod | ACORQ.US | price_ratio_mismatch | {"left":{"currency":"USD","source":"eod","sourceId":"ACORQ.US"},"medianRatio":120,"minCorrelation":0.9,"priceCorr":0.5059,"ratioTolerance":0.02,"right":{"currency":"USD","source":"qm","sourceId":"ACORQ"},"usableDates":7,"verdict":"ratio_mismatch"} |
| pass4 | eod | AFCC-H.V | price_ratio_mismatch | {"left":{"currency":"CAD","source":"eod","sourceId":"AFCC-H.V"},"medianRatio":0.06666666666666667,"minCorrelation":0.9,"priceCorr":0.8612,"ratioTolerance":0.02,"right":{"currency":"CAD","source":"qm","sourceId":"AFCC.H:CA"},"usableDates":7,"verdict":"ratio_mismatch"} |
Showing 200 of 1218 conflicts (1018 more in CSV).
Showing 200 of 612 conflicts (412 more in CSV).

View file

@ -260,7 +260,7 @@ During Milestone `M1` closure on branch `m1-close-evidence`, the Option B Rust M
- **Transitive crate delta:** `123` transitive crates added to `Cargo.lock` (all vendored/cached for `--offline` builds; zero OpenSSL system dependency).
- **Offline build & tests:**
- `CARGO_BUILD_JOBS=2 cargo build --release -p curate-etl --offline`: **PASSED** (`1m 00s` incremental, `0` compiler warnings, `13 MB` static-TLS release binary).
- `CARGO_BUILD_JOBS=2 bun run test:native`: **PASSED** (`150` `apps/stock/engine` lib tests + `581` `curate-etl` unit tests + all `45` `curate-etl` integration/contract suites including `mongo_driver_cli_contract.rs`, `0` failures).
- `CARGO_BUILD_JOBS=2 bun run test:native`: **PASSED** (`150` `apps/stock/engine` lib tests + `582` `curate-etl` unit tests + all `45` `curate-etl` integration/contract suites including `mongo_driver_cli_contract.rs`, `0` failures).
- **Read-only safety parity:** `tools/curate-etl/src/mongo_safety.rs` and `tools/curate-etl/src/mongo_stream.rs` enforce `MONGODB_READ_URI`, reject `trading_admin` and writable loopback/LAN URIs, and expose a sealed `ReadOnlyMongoClient` with read-only raw-BSON cursors only (zero write/admin/drop/index methods).
### 8.2 Live Provider Field Shapes & Empirical Findings (Resolves §7.5)
@ -276,12 +276,12 @@ Measured by `apps/stock/data-pipeline/src/security-master/probe-source-field-sha
| Pipeline Stage | Runtime / Host | Input Streamed (Read-Only QA Mongo) | Curated Output (Isolated Path) | Wall Time |
| --- | --- | --- | --- | ---: |
| Security-Master Passes 1–6 + dev Postgres persist (`apps/stock/data-pipeline`, TS) | Workstation -> `localhost:5433/trading_bot_dev` | `317.8k` `eodSymbols`, `18.4k` `ibSymbols`, `47.2k` `qmSymbols`, `12.6k` `ceoSymbols`, `230` `eodSymbolChange` + bar-span aggregations + 25-date Pass 4 closes | `63,151` instruments, `64,804` listings, `102,930` mappings, `93` OTC continuities + TSV exports (`102,930` / `64,804` / `1,573`) | ~3 min total (end-to-end incl. Mongo `$group` + idempotent Postgres persist) |
| Security-Master Passes 1–6 + dev Postgres persist (`apps/stock/data-pipeline`, TS) | Workstation -> `localhost:5433/trading_bot_dev` | `317.8k` `eodSymbols`, `18.4k` `ibSymbols`, `47.2k` `qmSymbols`, `12.6k` `ceoSymbols`, `230` `eodSymbolChange` + bar-span aggregations + 25-date Pass 4 closes | `63,703` instruments, `64,804` listings, `109,194` mappings, `93` OTC continuities (`eod=100.0%`, `ib=97.9%`, `qm=97.1%`, `ceo=95.8%` gate-eligible) | `7m 23s` total (`2.86 s` idempotent Postgres persist) |
| `curate-fx-1d --from-mongo` | `quant` (`10.0.0.51`, Rust) | `CAD.FOREX` + `teMarketData.USDCAD` | `fx_1d/part.parquet`: `12,273` rows (`356 KB`, `2,701/2,701` overlap checks passed, max diff `0.386%`) | **`0.055 s`** |
| `curate-corporate-actions --from-mongo` | `quant` (Rust) | `18,751` `qmSplits` + `495,942` `qmDividends` + `1,573` delistings | `corporate_actions/part.parquet`: `355,718` rows (`13,877` listings, `2.47 MB`) | **`0.702 s`** |
| `curate-shorts --from-mongo` | `quant` (Rust) | `692,904` `ceoShorts` | `shorts/part.parquet`: `502,610` rows (`5,184` Canadian listings, `3.58 MB`) | **`0.831 s`** |
| `curate-adj-factors --from-mongo` (`point_in_time_fenced`, `--vault-cutoff 2025-02-13`, `--date-gte 1976-01-01`) | `quant` (Rust) | `18,738` `qmSplits` + `464,850` `qmDividends` + `103.38M` `bars_1d` `prev_close` index | `adj_factors/part.parquet`: `343,746` rows (`12,512` listings, `3.90 MB`; `443` splits + `9,817` divs fenced) | **`5.976 s`** |
| `curate-events --from-mongo --date-gte 2017-01-01` | `quant` (Rust) | `16,829,977` `qmFilings` (`27.06 GB` raw BSON, `8 MB` peak chunk) | `events/year=2017..2025/part.parquet`: `2,569,808` filings (`11,072` listings, `81.23 MB`) | **`80.173 s`** |
| `curate-events --from-mongo --date-gte 2017-01-01` | `quant` (Rust) | `16,829,977` `qmFilings` (`27.06 GB` raw BSON, string `timefiled`) + `218,815` `qmEarnings` (`75.80 MB`, BSON `DateTime` `reportDate`; `8 MB` peak chunk) | `events/year=2017..2025/part.parquet`: `2,771,888` total events (`2,569,808` filings across `11,072` listings + `202,080` earnings across `8,348` listings; `17,284` linked to same-day filings + `201,531` lagged `16:05 ET`; `86.08 MB`) | **`76.466 s`** |
| `curate-bars-1d --from-mongo --with-qm-prices --date-gte 2005-01-01 --threads 8` | `quant` (Rust, indexed 250-key `$in` chunks) | `104,009,957` `eodPrices` (`24.63 GB`) + `40,052,628` `qmPrices` (`12.97 GB`) + `18,751` `qmSplits` | `bars_1d/year=2005..2025/part.parquet`: `103,381,236` rows (`60,848` listings, `21` files, `1.106 GB`; `33.50M/38.28M` QM volume checks within 1%; `NVDA 2024-06-07` rel diff `5.82e-8`) | **`492.550 s` (`8m 12s`)** |
*Index-selectivity finding:* Querying `eodPrices` with a bare `{ date: { $gte: "2005-01-01" } }` selects `date_1_eodSearchCode_1` and causes random WiredTiger seeks (~100 min). Streaming mapped US/CA `eodSearchCode`s in 250-key `$in` chunks (`ChunkedMongoRawDocumentSource`) hits `{"eodSearchCode": 1}` sequentially and streams `37.6 GB` of raw BSON (`144.06M` docs) + writes `1.106 GB` of Zstd Parquet with **zero intermediate `.bson` scratch files** in `8m 12s`.
@ -290,5 +290,5 @@ Measured by `apps/stock/data-pipeline/src/security-master/probe-source-field-sha
**Do NOT move `apps/stock/data-pipeline` itself to Rust. Lock Option B permanently:**
1. **Keep `apps/stock/data-pipeline` in TypeScript** for security-master Passes 1–6 (`17.9k` LOC, `40` test files, complex issuer/ATS/delisting heuristics), PostgreSQL persistence, TSV generation (`export-curate-inputs.ts`), field probes, and BullMQ/Hono orchestration.
2. **Keep bulk curation in Rust (`tools/curate-etl` with `--from-mongo` raw-BSON cursors)** — now proven end-to-end on `quant` at `103.38M` daily bars (`8m 12s`, `0` scratch `.bson` bytes) and `16.83M` filings (`80.2 s`).
2. **Keep bulk curation in Rust (`tools/curate-etl` with `--from-mongo` raw-BSON cursors)** — now proven end-to-end on `quant` at `103.38M` daily bars (`8m 12s`, `0` scratch `.bson` bytes) and `16.83M` filings + `218.8k` earnings (`76.5 s`).
3. **Keep `M2` intraday QuestDB `10.2.0` ILP v2 ingestion (`3.40B` `eodIntraday1M` + `173.3M` `qmIntraday` + `14.8M` `ceoPosts`) scoped to `M2`** inside `tools/curate-etl`, reusing the verified `ReadOnlyMongoClient` + `ChunkedMongoRawDocumentSource` infrastructure built in `M1`.