Instrumentally Collect v0.4.7 — tolerant discovery and Stake
Requires v0.4.6. Extract directly into /public_html/collect/; replace included code only.
No config, dataset registry, Google Sheets setup, storage, checkpoints, index or source data are shipped.
Refresh /collect/admin/collectors.php (Ctrl+F5); header BROKER DISCOVERY · 0.4.7.
Resume Halifax (next term j in the reported state); resume Aviva (page 1). Do not Restart Halifax.
Stake Listed Universe: manual refresh; uses the supplied productType=10, max=100 API.
Starts with page 0, falls back to 1 only on explicit HTTP 400/422, tolerates a single duplicate first page, follows to empty products, pauses on later repeats or failures. Page numbering and full live coverage are unconfirmed.
Stores raw responses privately under storage/control/checkpoints/stake_listed/; merged reference rows under storage/incoming/brokers/stake_listed.json. Stake source is not proof of DriveWealth's entire catalogue. No inferred ISIN or MIC; absent ISIN records remain outside master ISIN index.
Malformed rows are counted and retained in raw page payloads; identifiable unnamed rows retained in merged dataset without invented names. Previous approved snapshot retained on structural error or incomplete run. Aviva duplicate links now merge nonempty fields rather than overwriting a name with blank.
The existing 36-term Halifax sweep remains capped by upstream search limits; coverage unconfirmed.
Local tests: discovery-tolerance.php 12/12; native-discovery.php 16/16 (DOM integration skipped); output-policy.php 10/10; isolated master rebuild; PHP/JS syntax. Never run fixture tests on production. Live HTML parsing and full Stake pagination still need testing on hosting.
