import_corp_presence() was inserting system IDs with location_type='system', violating the schema which expects body/station IDs (location_type='body'|'station'). Fix: - import_economics.py: add _resolve_hq_location() that picks the most-populated body in the HQ system (falling back to any body, then any station) - econ-sim/db.rs: load_corp_presences() now JOINs bodies/stations to recover system_id from body/station location_ids, dropping the 'system' filter Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>