idx-cli/crates/idx-core
0xrsydn 1cd8a4b191 fix(ownership): accept the register's new CONTROLLER_OR_AFFILIATE column
IDX's above-1% register as of 30 Oct 2026 (peng-2026-10-00029) inserts a
CONTROLLER_OR_AFFILIATE column after INVESTOR_CLASSIFICATION. The header
check rejected any column it did not know, so `ownership import` failed
with PARSEERROR and `releases`/`ticker` had nothing to show.

Accept that one column by name and skip it; any other unknown column is
still rejected, so the above-5% and investor-type workbooks stay out.
Storing the flag is a follow-up (ROADMAP).

The fixture is an 11-row excerpt of the real October workbook (disclaimer
rows, header, BBCA and ZYRX). The full file imports 7,149 rows across 961
tickers; live ownership smoke: 4 passed, 0 failed, no 403.

Claude-Session: https://claude.ai/code/session_01RqPPVeVDrnLoP7NUZmLRxY
2026-11-03 15:44:50 +07:00
..
src fix(ownership): accept the register's new CONTROLLER_OR_AFFILIATE column 2026-11-03 15:44:50 +07:00
tests/fixtures fix(ownership): accept the register's new CONTROLLER_OR_AFFILIATE column 2026-11-03 15:44:50 +07:00
Cargo.toml fix(core): parse IPOT pages with html5ever 2026-10-18 12:54:34 +00:00
LICENSE refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00