// Group E — technical signals: sitemap, HSTS, viewport, H1. export async function runTechnicalChecks({ baseUrl, html, headHtml, robotsTxt, responseHeaders, fetchPage }) { const rb = robotsTxt || '' const hh = headHtml || '' const full = html || '' const headers = responseHeaders || {} let sitemapReachable = false try { const sm = await fetchPage(`${baseUrl}/sitemap.xml`) const body = (sm.body || '').trimStart() sitemapReachable = sm.status === 200 && (body.startsWith(']/i.test(full), }, ] }