mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 21:22:51 +00:00
SHIPPED_PORTAL_HOSTS was six names typed into the test and nothing tied it to anything: a portal added by /add-portal fetches from a host the copy never heard of, so its postings reached /apply classified "unverified" while the suite stayed green, and a dropped portal left a stale name behind. apply.md rule 1 defines an installed portal as "any configured job portal in .agents/skills/", so that tree is the source: the host literals in each *-search/cli/src/**/*.ts (one BASE_URL per shipped CLI, www. dropped so apex and subdomain both match). Discovery is by installation, not by the enabled: flag - an installed-but-disabled board is still a legitimate source for a pasted posting. classify_posting_host's default is the discovered set, and a new class asserts every installed portal has a discoverable host that classifies as installed_portal at the apex, under www. and under a subdomain. The ATS apex list stays the fixed set it is. Reported by Holo-Eter in #497; shape per the maintainer's note there.