mcp-web-validator 1.3.54 → 1.3.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"presentation.js","sourceRoot":"","sources":["../src/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AA4BnC,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAoD,MAAM,kBAAkB,CAAC;AAClI,OAAO,EACL,qBAAqB,GAGtB,MAAM,oBAAoB,CAAC;AAc5B,SAAS,kBAAkB,CAAC,KAAa,EAAE,SAAS,GAAG,GAAG;IACxD,sFAAsF;IACtF,MAAM,SAAS,GAAG,KAAK;SACpB,OAAO,CAAC,4EAA4E,EAAE,GAAG,CAAC;SAC1F,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;SACpB,IAAI,EAAE,CAAC;IACV,IAAI,SAAS,CAAC,MAAM,IAAI,SAAS,EAAE,CAAC;QAClC,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC;AACxE,CAAC;AAED,wFAAwF;AACxF,SAAS,YAAY,CAAC,KAAa,EAAE,SAAS,GAAG,GAAG;IAClD,OAAO,kBAAkB,CAAC,KAAK,EAAE,SAAS,CAAC;SACxC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;SACtB,OAAO,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAChD,CAAC;AAED,mGAAmG;AACnG,SAAS,YAAY,CAAC,KAAa,EAAE,SAAS,GAAG,G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AAgB,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,2BAA2B,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;QAC9I,QAAQ,EAAE,wGAAwG;KACnH,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,KAAa,EAAE,KAAa,EAAE,QAAgB;IAC3E,OAAO,WAAW,CAAC;QACjB,KAAK;QACL,MAAM,EAAE,kBAAkB;QAC1B,OAAO,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;QACjC,QAAQ;KACT,CAAC,CAAC;AACL,CAAC","sourcesContent":["import * as cheerio from \"cheerio\";\nimport type { ValidationReport } from \"./report.js\";\nimport type { SameLanguageDuplicateAnalysis } from \"./modules/content-schema/same-language-duplicates.js\";\nimport type { PageContentQualityAnalysis } from \"./modules/content-schema/empty-boilerplate-content.js\";\nimport type { ProductClaimResult } from \"./modules/content-schema/product-claims.js\";\nimport type { ProvenanceResult } from \"./modules/content-schema/citation-methodology-consistency.js\";\nimport type { IntentComparison } from \"./modules/content-schema/competitor-intent-comparison.js\";\nimport type { SupportedSchemaReview } from \"./modules/content-schema/structured-data-validation.js\";\nimport type { InternalLinkReview } from \"./modules/site-architecture/internal-link-quality.js\";\nimport type { MetadataReview } from \"./modules/content-schema/metadata-consistency.js\";\nimport type { MediaDiagnostics } from \"./modules/browser-ux/media-diagnostics.js\";\nimport type { WcagInteractionReview } from \"./modules/browser-ux/wcag-interactions.js\";\nimport type { HttpDirectiveReview } from \"./modules/http-crawl/non-html-directives.js\";\nimport type { DeliveryReview } from \"./modules/http-crawl/http-delivery.js\";\nimport type { ResourceFailureReview } from \"./modules/browser-ux/resource-failures.js\";\nimport type { CrawlerAccessReview } from \"./modules/http-crawl/crawler-access.js\";\nimport type { SitemapInventoryReview } from \"./modules/http-crawl/sitemap-inventory.js\";\nimport type { RedirectCanonicalReview } from \"./modules/http-crawl/redirect-canonical-chains.js\";\nimport type { AvailabilityReview } from \"./modules/http-crawl/availability-observations.js\";\nimport type { HttpsSecurityReview } from \"./modules/http-crawl/https-security.js\";\nimport type { UrlVariantReview } from \"./modules/http-crawl/url-variants.js\";\nimport type { HistoricalReview } from \"./modules/change-regression/historical-comparisons.js\";\nimport type { ProductionChangeReview } from \"./modules/change-regression/production-change-comparison.js\";\nimport type { LabReview } from \"./modules/browser-ux/lighthouse-lab.js\";\nimport type { CruxFieldReview } from \"./modules/external-metrics/crux-field.js\";\nimport type { CrawlerLogReview } from \"./modules/change-regression/crawler-log-correlation.js\";\nimport type { MonitorPreview } from \"./modules/change-regression/regression-alerts.js\";\nimport type { MultilingualClusterAnalysis } from \"./modules/site-architecture/multilingual-clusters.js\";\nimport { isHttpRedirectStatus, isUnverifiedLinkStatus, type AuditCounts, type LinkStatus, type SEOIssue } from \"./seo-auditor.js\";\nimport {\n getW3CMessageSeverity,\n type CSSMessage,\n type W3CMessage,\n} from \"./w3c-validator.js\";\n\ntype ActionPriority = 0 | 1 | 2;\n\ninterface ActionItem {\n message: string;\n priority: ActionPriority;\n location?: string;\n}\n\ninterface ValidationReportResult extends ValidationReport {\n errors?: string[];\n}\n\nfunction collapseWhitespace(value: string, maxLength = 240): string {\n // Validator text is untrusted; terminal and bidi controls survive whitespace folding.\n const collapsed = value\n .replace(/[\\u0000-\\u001f\\u007f-\\u009f\\u061c\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]+/g, \" \")\n .replace(/\\s+/g, \" \")\n .trim();\n if (collapsed.length <= maxLength) {\n return collapsed;\n }\n return `${collapsed.slice(0, Math.max(0, maxLength - 1)).trimEnd()}…`;\n}\n\n/** Escapes untrusted text while leaving the surrounding, controlled Markdown intact. */\nfunction markdownText(value: string, maxLength = 240): string {\n return collapseWhitespace(value, maxLength)\n .replace(/&/g, \"&amp;\")\n .replace(/</g, \"&lt;\")\n .replace(/>/g, \"&gt;\")\n .replace(/\\\\/g, \"\\\\\\\\\")\n .replace(/([`*_[\\]{}()#+\\-.!|~])/g, \"\\\\$1\");\n}\n\n/** Wraps untrusted identifiers and paths in a code span that cannot be closed by their content. */\nfunction markdownCode(value: string, maxLength = 240): string {\n const collapsed = collapseWhitespace(value, maxLength);\n const longestBacktickRun = Math.max(\n 0,\n ...Array.from(collapsed.matchAll(/`+/g), (match) => match[0].length),\n );\n const delimiter = \"`\".repeat(longestBacktickRun + 1);\n const content = collapsed.startsWith(\"`\") || collapsed.endsWith(\"`\")\n ? ` ${collapsed} `\n : collapsed;\n return `${delimiter}${content}${delimiter}`;\n}\n\nfunction countLabel(count: number, singular: string, plural = `${singular}s`): string {\n return `${count} ${count === 1 ? singular : plural}`;\n}\n\nfunction priorityForSeverity(severity: string): ActionPriority {\n if (severity.toLowerCase() === \"error\") return 0;\n if (severity.toLowerCase() === \"warning\") return 1;\n return 2;\n}\n\nfunction formatLocation(line?: number, column?: number): string | undefined {\n if (line === undefined && column === undefined) return undefined;\n if (line === undefined) return `column ${column}`;\n if (column === undefined) return `line ${line}`;\n return `line ${line}, column ${column}`;\n}\n\nfunction formatActions(items: ActionItem[]): string | undefined {\n const prioritized = items\n .map((item, index) => ({ item, index }))\n .sort((left, right) => left.item.priority - right.item.priority || left.index - right.index)\n .slice(0, 3)\n .map(({ item }) => {\n const label = item.priority === 0 ? \"Error\" : item.priority === 1 ? \"Warning\" : \"Check\";\n const location = item.location\n ? ` · ${markdownCode(item.location, 120)}`\n : \"\";\n return `- **${label}**${location}: ${markdownText(item.message)}`;\n });\n\n return prioritized.length > 0 ? prioritized.join(\"\\n\") : undefined;\n}\n\nfunction toolContent(options: {\n title: string;\n status: string;\n outcome: string;\n nextStep: string;\n actions?: ActionItem[];\n note?: string;\n}): string {\n const sections = [\n `### ${options.title}: ${options.status}`,\n collapseWhitespace(options.outcome, 500),\n ];\n if (options.note) {\n sections.push(collapseWhitespace(options.note, 500));\n }\n const actionItems = options.actions ?? [];\n const actions = formatActions(actionItems);\n if (actions) {\n const hasActionableItem = actionItems.some((item) => item.priority < 2);\n const actionHeading = options.status === \"review suggested\" || !hasActionableItem ? \"Review\" : \"Fix first\";\n sections.push(`**${actionHeading}**\\n${actions}`);\n }\n sections.push(`**Next step:** ${collapseWhitespace(options.nextStep, 400)}`);\n return sections.join(\"\\n\\n\");\n}\n\n/** Human-oriented triage for the same bounded, structured delivery evidence. */\nexport function httpDeliveryContent(review: DeliveryReview): string {\n const codes = new Set(review.findings.map((finding) => finding.code));\n const nextStep = codes.has(\"cloudflare_challenge\") || codes.has(\"http_forbidden\")\n ? \"Compare the affected path and time with Cloudflare WAF/challenge events and origin access logs; separately verify the permitted public response without bypassing protections.\"\n : codes.has(\"http_rate_limited\")\n ? \"Review observed 429 responses against authorized rate-limit rules and Retry-After, then repeat a bounded check after any approved change.\"\n : codes.has(\"http_server_error\")\n ? \"Correlate observed 5xx responses with origin/edge error logs and deployment timing, then repeat a bounded delivery check.\"\n : !review.redirect_chain_complete\n ? \"Review the unobserved redirect destination with a bounded public same-origin check; an incomplete chain cannot verify final delivery.\"\n : \"Keep this point-in-time response as a baseline and compare it with independent availability and crawler evidence.\";\n return toolContent({\n title: \"HTTP delivery diagnostics\",\n status: review.findings.some(f => f.severity === \"warning\") ? \"attention needed\" : \"review suggested\",\n outcome: `${review.hops_observed} observed response(s), ${review.redirects_observed} followed redirect(s), ` +\n `${review.errors_observed} HTTP error response(s), ${review.challenges_observed} confirmed Cloudflare challenge signal(s). ` +\n \"These observations do not establish Googlebot identity or historical availability.\",\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Hop #${f.hop}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function browserResourceContent(review: ResourceFailureReview): string {\n const nextStep = review.critical_resource_failures > 0\n ? \"Inspect the failing document/script/stylesheet categories in independent browser/network logs and confirm user-visible effects; separate site HTTP errors from tool policy blocks before changing production.\"\n : review.transport_failures > 0 || review.api_failures > 0\n ? \"Correlate the sampled transport/API failures with authorized network observations, then retest the affected request category.\"\n : review.tool_blocked_requests > 0 || review.pending_requests > 0\n ? \"Treat policy-blocked and pending requests as missing evidence, not website failures; compare with an independently authorized sample if needed.\"\n : \"Keep this bounded resource observation as a baseline and repeat after a relevant website change.\";\n return toolContent({\n title: \"Browser resource loading\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.requests_recorded} sampled resource request(s): ${review.http_4xx} HTTP 4xx, ` +\n `${review.http_5xx} HTTP 5xx, ${review.transport_failures} transport failures, ` +\n `${review.tool_blocked_requests} validator-policy blocks and ${review.pending_requests} pending. ` +\n \"Policy blocks and incomplete requests are not confirmed site defects.\",\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function sitemapInventoryContent(review: SitemapInventoryReview): string {\n const nextStep = review.known_indexability_conflicts > 0\n ? \"Review numbered entries with independently observed 404/410, noindex, disallow or canonical conflicts; align submitted sitemap URLs with intentionally indexable pages, then revalidate.\"\n : review.lastmod_invalid_count > 0 || review.lastmod_future_count > 0\n ? \"Correct invalid or future sitemap lastmod dates using verified publication evidence, then revalidate XML before submission.\"\n : review.missing_child_documents > 0\n ? \"Supply or inspect the referenced child sitemap documents before drawing inventory-coverage conclusions.\"\n : \"Compare the sampled sitemap inventory against independently discovered canonical pages; an XML listing alone does not prove Google indexing.\";\n return toolContent({\n title: \"Sitemap inventory\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.documents_observed} document(s) with ${review.distinct_page_urls} distinct page URL(s), ` +\n `${review.missing_child_documents} missing child document(s), ${review.duplicate_url_entries} duplicates, ` +\n `${review.lastmod_invalid_count} invalid lastmod and ${review.known_indexability_conflicts} independently observed indexability conflicts. ` +\n (review.inventory_complete ? \"The supplied document inventory is complete by its evidence.\" :\n \"Collection completeness is unknown or partial.\"),\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Sitemap #${f.document}${f.entry === undefined ? \"\" : `, entry #${f.entry}`}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function crawlerAccessContent(review: CrawlerAccessReview): string {\n const nextStep = review.crawler_disallowed_rows > 0\n ? \"Compare the numbered page/profile rows with intended robots.txt rules. Crawl disallow and noindex are different; confirm both directives before changing crawl policy.\"\n : review.noindex_declared_rows > 0\n ? \"Confirm that the sampled pages are intended to be excluded, then review the declared meta and X-Robots-Tag directives for each affected crawler profile.\"\n : review.unknown_access_rows > 0 || review.unknown_indexing_rows > 0\n ? \"Obtain authorized robots.txt status and response indexing evidence for unresolved rows; unknown does not mean allowed or indexed.\"\n : \"Use independent search-engine evidence to check actual crawl/index status; these observations alone do not establish indexing.\";\n return toolContent({\n title: \"Crawler access matrix\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.rows_checked} page/profile comparisons: ${review.crawler_disallowed_rows} crawl disallow, ` +\n `${review.noindex_declared_rows} declared noindex, ${review.unknown_access_rows} unknown access, ` +\n `${review.unknown_indexing_rows} unknown indexing signals. These are declarations, not verified search-engine indexing verdicts.`,\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Page #${f.page} · ${f.profile}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function redirectCanonicalContent(review: RedirectCanonicalReview): string {\n const nextStep = review.nonindexable_destination\n ? \"Inspect the final observed HTTP status, robots and canonical declarations; repair only confirmed unintentional destination blocks, then recheck the chain.\"\n : review.loop_detected || !review.chain_complete\n ? \"Verify the unresolved or looping redirect hops with bounded same-origin observations before concluding where users or crawlers land.\"\n : review.conflicting_canonical_hops > 0 || review.canonical_cycles > 0\n ? \"Compare the conflicting canonical declarations on numbered hops and resolve unintended conflicts before requesting reindexing.\"\n : review.expected_destination_match === false\n ? \"Check the caller's expected destination against the completed redirect chain and update only the incorrect redirect policy.\"\n : \"Keep the observed redirect chain as evidence and separately check actual Google-selected canonicals and indexing in an authorized source.\";\n return toolContent({\n title: \"Redirect and canonical chain\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.hops_observed} observed response(s), ${review.redirects_observed} redirect(s), ` +\n `${review.conflicting_canonical_hops} conflicting canonical hop(s), ${review.canonical_cycles} canonical cycle(s). ` +\n (review.chain_complete ? \"Sampled chain complete. \" : \"Sampled chain incomplete. \") +\n \"Actual Google canonical selection and indexing are not verified.\",\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Hop #${f.hop}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function availabilityReviewContent(review: AvailabilityReview): string {\n const nextStep = review.observed_http_5xx > 0 || review.observed_timeouts > 0 ||\n review.observed_transport_failures > 0\n ? \"Compare the sampled failures with authorized server/edge logs and deployment times, then repeat bounded checks across equivalent observation windows.\"\n : review.observed_rate_limits > 0 || review.observed_challenges > 0\n ? \"Review the affected rate-limit or challenge configuration against intended visitors and crawler policy, then repeat an authorized bounded check.\"\n : review.findings.some(f=>f.code===\"large_sampling_gap\"||f.code===\"sparse_samples\")\n ? \"Treat the gaps between observations as unknown; collect comparable samples before inferring availability trends.\"\n : \"Use this bounded response sample as a baseline; continuous uptime and Googlebot availability require separate evidence.\";\n return toolContent({\n title: \"Availability observations\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.observed_successes}/${review.observations_count} HTTP 2xx observations ` +\n `(${review.observed_success_percent}% of supplied samples), ${review.observed_http_5xx} HTTP 5xx, ` +\n `${review.observed_rate_limits} rate limited, ${review.observed_transport_failures} transport failures and ` +\n `${review.http_status_changes} status transition(s). Sample ratios are not uptime measurements.`,\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function htmlValidationContent(\n messages: W3CMessage[],\n source?: string,\n totalMessages = messages.length,\n counts?: { error: number; warning: number; info: number },\n): string {\n const errorCount = counts?.error\n ?? messages.filter((message) => getW3CMessageSeverity(message) === \"error\").length;\n const warningCount = counts?.warning\n ?? messages.filter((message) => getW3CMessageSeverity(message) === \"warning\").length;\n const infoCount = counts?.info ?? Math.max(0, totalMessages - errorCount - warningCount);\n const sourceText = source ? ` for ${markdownCode(source, 180)}` : \"\";\n if (totalMessages === 0) {\n return toolContent({\n title: \"HTML validation\",\n status: \"clean\",\n outcome: `The W3C validator returned no HTML diagnostics${sourceText}.`,\n nextStep: \"Keep this result as a baseline and validate again after the next markup change.\",\n });\n }\n\n const hasActionableDiagnostics = errorCount > 0 || warningCount > 0;\n return toolContent({\n title: \"HTML validation\",\n status: hasActionableDiagnostics ? \"attention needed\" : \"review suggested\",\n outcome: `The W3C validator returned ${countLabel(errorCount, \"error\")}, ${countLabel(warningCount, \"warning\")}, and ${countLabel(infoCount, \"informational diagnostic\")}${sourceText}.`,\n actions: messages.map((message) => ({\n priority: priorityForSeverity(getW3CMessageSeverity(message)),\n message: message.message,\n location: formatLocation(message.lastLine ?? message.firstLine, message.lastColumn ?? message.firstColumn),\n })),\n nextStep: hasActionableDiagnostics\n ? \"Fix errors first, then warnings, and rerun HTML validation to confirm the markup is clean.\"\n : \"Review the informational diagnostics, then rerun validation after relevant markup changes.\",\n note: totalMessages > messages.length\n ? `Showing the first ${messages.length} of ${totalMessages} HTML diagnostics in structured output; severity totals include all returned Nu diagnostics.`\n : undefined,\n });\n}\n\nexport function cssValidationContent(\n messages: CSSMessage[],\n totalMessages = messages.length,\n counts?: { error: number; warning?: number; compatibilityLimitation: number },\n): string {\n if (totalMessages === 0) {\n return toolContent({\n title: \"CSS validation\",\n status: \"clean\",\n outcome: \"The W3C validator returned no CSS errors or warnings.\",\n nextStep: \"Validate again after the next stylesheet change.\",\n });\n }\n\n const compatibilityLimitations = messages.filter(\n (message) => message.compatibility === \"known-validator-limitation\",\n );\n const compatibilityLimitationCount = counts?.compatibilityLimitation ?? compatibilityLimitations.length;\n const warningCount = counts?.warning\n ?? messages.filter((message) => message.type.toLowerCase() === \"warning\").length;\n const actionableErrors = counts?.error\n ?? messages.filter(\n (message) => message.type.toLowerCase() !== \"warning\"\n && message.compatibility !== \"known-validator-limitation\",\n ).length;\n\n return toolContent({\n title: \"CSS validation\",\n status: actionableErrors > 0 ? \"attention needed\" : \"review suggested\",\n outcome: `The W3C validator returned ${countLabel(actionableErrors, \"CSS error\")}, ${countLabel(warningCount, \"CSS warning\")}, and ${countLabel(compatibilityLimitationCount, \"known validator limitation\")}.`,\n actions: messages.map((message) => ({\n priority: message.compatibility === \"known-validator-limitation\"\n ? 2\n : priorityForSeverity(message.type),\n message: message.context ? `${message.message} Context: ${message.context}` : message.message,\n location: formatLocation(message.line),\n })),\n nextStep: actionableErrors > 0\n ? \"Correct the actionable errors, review warnings, then rerun CSS validation because one syntax issue can cause later diagnostics.\"\n : warningCount > 0\n ? \"Review the warnings, then rerun CSS validation after relevant stylesheet changes.\"\n : \"Review the marked @container diagnostic against current CSS specifications; do not treat it as invalid CSS by itself.\",\n note: [\n compatibilityLimitationCount > 0\n ? \"Jigsaw currently does not recognize the standards-defined @container rule. The upstream diagnostic is preserved and marked as a known validator limitation.\"\n : undefined,\n totalMessages > messages.length\n ? `Showing the first ${messages.length} of ${totalMessages} CSS diagnostics in structured output; summary counts include all returned Jigsaw diagnostics.`\n : undefined,\n ].filter(Boolean).join(\" \") || undefined,\n });\n}\n\nexport function seoAuditContent(\n issues: SEOIssue[],\n totalIssues: number,\n truncated: boolean,\n counts?: AuditCounts,\n): string {\n const errors = counts?.error ?? issues.filter((issue) => issue.severity === \"error\").length;\n const warnings = counts?.warning ?? issues.filter((issue) => issue.severity === \"warning\").length;\n const info = counts?.info ?? issues.filter((issue) => issue.severity === \"info\").length;\n if (totalIssues === 0) {\n return toolContent({\n title: \"SEO audit\",\n status: \"clean within this audit\",\n outcome: \"This focused rules-based audit found no SEO or accessibility issues in the supplied HTML.\",\n nextStep: \"Keep the metadata current and rerun the audit whenever the page template changes.\",\n note: \"This result does not replace a crawl, performance test, or Search Console review.\",\n });\n }\n\n const hasActionableFindings = errors > 0 || warnings > 0;\n return toolContent({\n title: \"SEO audit\",\n status: hasActionableFindings ? \"attention needed\" : \"review suggested\",\n outcome: `The audit found ${countLabel(errors, \"error\")}, ${countLabel(warnings, \"warning\")}, and ${countLabel(info, \"suggestion\")}.`,\n actions: issues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: issue.message,\n location: issue.element ? collapseWhitespace(issue.element, 120) : undefined,\n })),\n nextStep: hasActionableFindings\n ? \"Address errors first, then warnings, and rerun the audit after updating the page.\"\n : \"Review the suggestions that apply to this page, then rerun the audit after relevant template changes.\",\n note: truncated\n ? `Showing the first ${issues.length} of ${totalIssues} findings in structured output.`\n : undefined,\n });\n}\n\nfunction countJsonLdBlocks(htmlContent: string): number {\n const $ = cheerio.load(htmlContent);\n return $(\"script[type]\").filter((_, element) => {\n // Match the schema parser: scripts in inert template contents are not executed.\n let ancestor: { name?: string; parent?: unknown } | null = element;\n while (ancestor) {\n if (ancestor.name?.toLowerCase() === \"template\") return false;\n ancestor = (ancestor.parent ?? null) as typeof ancestor;\n }\n const type = $(element).attr(\"type\");\n return type?.split(\";\", 1)[0].trim().toLowerCase() === \"application/ld+json\";\n }).length;\n}\n\nexport function schemaValidationContent(\n issues: SEOIssue[],\n totalIssues: number,\n truncated: boolean,\n htmlContent: string,\n): string {\n const blockCount = countJsonLdBlocks(htmlContent);\n if (blockCount === 0) {\n return toolContent({\n title: \"JSON-LD syntax\",\n status: \"not present\",\n outcome: \"No JSON-LD script blocks were found, so there was no structured data to parse.\",\n nextStep: \"Add JSON-LD only when it accurately describes visible page content, then validate it again.\",\n });\n }\n if (totalIssues === 0) {\n return toolContent({\n title: \"JSON-LD syntax\",\n status: \"clean\",\n outcome: `${countLabel(blockCount, \"JSON-LD block\")} parsed without syntax errors.`,\n nextStep: \"Verify the properties against the relevant Schema.org type and search-engine requirements.\",\n note: \"This check covers JSON syntax only; it does not validate vocabulary semantics or rich-result eligibility.\",\n });\n }\n\n return toolContent({\n title: \"JSON-LD syntax\",\n status: \"attention needed\",\n outcome: `${countLabel(totalIssues, \"syntax issue\")} ${totalIssues === 1 ? \"was\" : \"were\"} found across ${countLabel(blockCount, \"JSON-LD block\")}.`,\n actions: issues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: issue.message,\n })),\n nextStep: \"Repair the invalid or empty blocks, then rerun this syntax check before testing rich-result eligibility.\",\n note: truncated\n ? `Showing the first ${issues.length} of ${totalIssues} findings in structured output.`\n : undefined,\n });\n}\n\nfunction linkPriority(link: LinkStatus): ActionPriority {\n if (isUnverifiedLinkStatus(link.status)) return 2;\n if (isRedirect(link)) return 1;\n return 0;\n}\n\nfunction isRedirect(link: LinkStatus): boolean {\n return isHttpRedirectStatus(link.status);\n}\n\nfunction linkActionMessage(link: LinkStatus): string {\n if (isRedirect(link)) {\n return `${link.status} redirect; destination was not followed`;\n }\n if (isUnverifiedLinkStatus(link.status)) {\n return `Link could not be verified (${link.status})${link.message ? ` — ${link.message}` : \"\"}`;\n }\n return `Link returned ${typeof link.status === \"number\" ? `HTTP ${link.status}` : link.status}${link.message ? ` — ${link.message}` : \"\"}`;\n}\n\nexport function linkCheckContent(links: LinkStatus[], baseUrl?: string): string {\n if (links.length === 0) {\n return toolContent({\n title: \"Link check\",\n status: \"nothing checked\",\n outcome: \"No eligible public HTTP(S) links were found, so no link requests were made.\",\n nextStep: baseUrl\n ? \"Confirm the HTML contains reachable anchor URLs, then run the check again.\"\n : \"If the page uses relative links, provide its public base URL and run the check again.\",\n });\n }\n\n const unreachable = links.filter((link) => !link.ok && !isUnverifiedLinkStatus(link.status));\n const unverified = links.filter((link) => !link.ok && isUnverifiedLinkStatus(link.status));\n const redirects = links.filter(isRedirect);\n if (unreachable.length === 0 && unverified.length === 0 && redirects.length === 0) {\n return toolContent({\n title: \"Link check\",\n status: \"clean\",\n outcome: links.length === 1\n ? \"The checked link returned a reachable response.\"\n : `All ${links.length} checked links returned reachable responses.`,\n nextStep: \"Recheck periodically because external link availability can change.\",\n });\n }\n\n const actions = [\n ...unreachable,\n ...unverified,\n ...redirects,\n ].map((link) => ({\n priority: linkPriority(link),\n location: link.url,\n message: linkActionMessage(link),\n }));\n\n const linkOutcome = [\n unreachable.length > 0\n ? `${countLabel(unreachable.length, \"link\")} ${unreachable.length === 1 ? \"returned an HTTP failure\" : \"returned HTTP failures\"}`\n : \"no confirmed HTTP failures\",\n unverified.length > 0\n ? `${countLabel(unverified.length, \"check\")} unverified`\n : undefined,\n redirects.length > 0\n ? `${countLabel(redirects.length, \"redirect\")} ${redirects.length === 1 ? \"needs\" : \"need\"} review`\n : undefined,\n ].filter((item): item is string => item !== undefined).join(\"; \");\n\n return toolContent({\n title: \"Link check\",\n status: unreachable.length > 0 ? \"attention needed\" : unverified.length > 0 ? \"partial\" : \"review suggested\",\n outcome: `${linkOutcome} of ${links.length} checked. Redirect destinations are not followed.`,\n actions,\n nextStep: unverified.length > 0\n ? \"Review confirmed HTTP failures and redirects; retry unverified links only if public and permitted.\"\n : \"Update failed destinations and review redirects, then rerun the link check.\",\n });\n}\n\nexport function contentDuplicateContent(analysis: SameLanguageDuplicateAnalysis): string {\n const matches = analysis.pairs;\n const coverage = `${analysis.eligible_pages}/${analysis.sampled_pages} sampled pages had usable main content and a known language`;\n return toolContent({\n title: \"Same-language main-content comparison\",\n status: matches.length ? \"attention needed\" : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: analysis.total_pairs\n ? `${countLabel(analysis.total_pairs, \"duplicate-content pair\")} found in the sampled pages; ${coverage}.`\n : `No duplicate main-content pairs found; ${coverage}. This is not evidence of site-wide uniqueness.`,\n actions: matches.map((pair) => ({\n priority: pair.kind === \"exact\" ? 1 : 2,\n location: `${pair.first_url} vs ${pair.second_url}`,\n message: `${pair.kind === \"exact\" ? \"Exact\" : \"Near\"} ${pair.language} main-text match (${pair.similarity_percent}%, ${pair.confidence}).`,\n })),\n nextStep: analysis.pairs_truncated\n ? \"More matches exist than the result cap; review these pairs and repeat on a narrower page sample.\"\n : \"Review matched pages manually; this static-text comparison cannot infer search-engine canonicalization or semantic equivalence.\",\n });\n}\n\nexport function contentQualityContent(analysis: PageContentQualityAnalysis): string {\n return toolContent({\n title: \"Sampled main-content quality review\",\n status: analysis.total_findings ? \"attention needed\" : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: analysis.total_findings\n ? `${countLabel(analysis.total_findings, \"potential content-quality finding\")} across ${analysis.eligible_pages}/${analysis.sampled_pages} sampled pages.`\n : `No checked content-quality signals were found across ${analysis.eligible_pages}/${analysis.sampled_pages} sampled pages. This is not a usefulness or site-wide verdict.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: finding.example_urls.join(\", \"),\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"More review findings exist than the preview cap. Inspect the affected page families and narrow the sample.\"\n : \"Inspect flagged pages in a browser, verify their purpose and unique value, then rerun the bounded comparison.\",\n });\n}\n\nexport function productClaimContent(analysis: ProductClaimResult): string {\n return toolContent({\n title: \"Landing-page promises versus registered MCP tools\",\n status: analysis.contradicted_claims > 0 ? \"attention needed\"\n : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: analysis.catalog_available\n ? analysis.checked_claims + \" explicit or bounded claims checked; \" +\n analysis.consistent_claims + \" consistent with the registered \" + analysis.surface +\n \" tool catalog, \" + analysis.contradicted_claims + \" contradicted and \" +\n analysis.unverified_claims + \" unverified.\"\n : \"The MCP tool registry was unavailable, so no claim is verified.\",\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: finding.claim,\n message: finding.message,\n })),\n nextStep: \"Confirm any discrepancies against current tools/list output and exercise the affected tool. Registry exposure is not proof of successful behavior.\",\n });\n}\n\nexport function provenanceContent(analysis: ProvenanceResult): string {\n return toolContent({\n title: \"Citation, dataset, freshness and methodology evidence\",\n status: analysis.conflicting_declarations > 0 ? \"attention needed\"\n : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: `${analysis.consistent_declarations} declarations agree with supplied or on-page evidence, ` +\n `${analysis.conflicting_declarations} have observed inconsistencies, ` +\n `${analysis.unverified_declarations} remain unverified ` +\n `across ${analysis.pages_eligible}/${analysis.pages_sampled} supplied pages.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: finding.page_url,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"More evidence findings exist than the result cap; inspect sources and compare smaller authorized page batches.\"\n : \"Verify the underlying sources, dataset release and methodology independently before asserting factual accuracy or current freshness.\",\n });\n}\n\nexport function intentComparisonContent(analysis: IntentComparison): string {\n return toolContent({\n title: \"Competitor search-intent evidence comparison\",\n status: analysis.findings.some((finding) => finding.severity === \"warning\")\n ? \"attention needed\" : \"partial\",\n outcome: `${analysis.competitors_eligible}/${analysis.competitors_submitted} competitor pages compared from supplied static HTML` +\n (analysis.expected_intent ? `; selected intent: ${analysis.expected_intent}` : \"; no explicit intent selected\") +\n \". This does not predict Google rankings or semantic relevance.\",\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review the indicated headings and static structured signals, check page purpose manually, and use authorized search or analytics data before drawing competitive SEO conclusions.\",\n });\n}\n\nexport function supportedSchemaContent(analysis: SupportedSchemaReview): string {\n return toolContent({\n title: \"Supported JSON-LD structural review\",\n status: analysis.errors > 0 || analysis.warnings > 0 ? \"attention needed\" : \"partial\",\n outcome: `${analysis.supported_nodes} recognized node profiles across ${analysis.blocks_checked}/${analysis.blocks_seen} inspected JSON-LD blocks; ` +\n `${analysis.errors} syntax/document errors, ${analysis.warnings} review warnings, ${analysis.unverified} unresolved signals. ` +\n \"This does not determine rich-result eligibility.\",\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"error\" ? 0 : finding.severity === \"warning\" ? 1 : 2,\n location: `JSON-LD block ${finding.block}, node ${finding.node}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"Review the first prioritized findings and rerun a smaller supported JSON-LD sample for the rest.\"\n : \"Review structural findings, then use the official Rich Results Test and inspect page content for actual feature eligibility.\",\n });\n}\n\nexport function internalLinkContent(analysis: InternalLinkReview): string {\n return toolContent({\n title: \"Sampled internal links and anchor evidence\",\n status: analysis.missing_anchor_labels > 0 ? \"attention needed\" : \"partial\",\n outcome: `${analysis.internal_links_observed} contextual same-origin links across ${analysis.pages_sampled} supplied pages; ` +\n `${analysis.linked_sample_targets} sampled targets referenced, ${analysis.missing_anchor_labels} without observed accessible names, ` +\n `${analysis.generic_anchor_links} generic anchors, ${analysis.unmatched_internal_links} unsupplied target links.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied page ${finding.source_page}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review contextual anchor labels against actual page purpose; supply more authorized target pages to inspect the sample. Unvisited links have not been tested, and lexical overlap is not a ranking signal.\",\n });\n}\n\nexport function metadataConsistencyContent(analysis: MetadataReview): string {\n return toolContent({\n title: \"Sampled metadata consistency review\",\n status: analysis.conflicting_declaration_fields > 0 ? \"attention needed\" : \"partial\",\n outcome: `${analysis.pages_sampled} supplied pages: ${analysis.conflicting_declaration_fields} conflicting field groups, ` +\n `${analysis.duplicate_declaration_fields} repeated equivalent fields, ` +\n `${analysis.cross_field_review_leads} cross-field review leads, ` +\n `${analysis.duplicate_title_groups + analysis.duplicate_description_groups} cross-page metadata groups.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied page ${finding.source_page} - ${finding.field}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review on-page declarations in context. Identical titles and social-metadata variations may be intentional; use authorized crawling and Search Console evidence before attributing search performance.\",\n });\n}\n\nexport function wcagInteractionsContent(review: WcagInteractionReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Browser keyboard and WCAG evidence\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `In script-disabled, offline Chromium, ${review.controls_inspected} of ${review.controls_seen} ` +\n `controls were sampled at ${review.viewport_width} × ${review.viewport_height}; ` +\n `${review.tab_steps} Tab key steps covered ${review.unique_tab_targets} distinct targets. ` +\n `${review.visible_controls_without_name} accessible-name review leads, ` +\n `${review.focus_indicator_review_leads} possible focus-indicator gaps, ` +\n `${review.native_summaries_toggled}/${review.native_summaries_tested} native summaries toggled with Enter.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Rendered control ${finding.control} · ${finding.evidence}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Recheck the flagged focus/name signals in a fully styled, authorized website with JavaScript enabled and a screen reader. This inert sample is not an accessibility audit or WCAG 2.2 compliance determination.\",\n });\n}\n\nexport function mediaDiagnosticsContent(review: MediaDiagnostics): string {\n const warningCount = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Static media markup diagnostics\",\n status: warningCount ? \"attention needed\" : \"partial\",\n outcome: `${review.media_elements_checked} of ${review.images_observed + review.pictures_observed +\n review.videos_observed} sampled media elements reviewed: ${review.images_observed} images, ` +\n `${review.videos_observed} videos and ${review.pictures_observed} pictures. ` +\n `${review.total_findings} review findings; media loading and playback not checked.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Static ${finding.media_type} element ${finding.element}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Inspect the flagged elements and verify their rendered behavior separately. Static metadata cannot prove actual resource availability, accessibility compliance, loading speed or video caption accuracy.\",\n });\n}\n\nexport function regressionPreviewContent(preview: MonitorPreview): string {\n return toolContent({\n title: \"Manual dry-run regression alert preview\",\n status: preview.candidate_count ? \"attention needed\" : \"partial\",\n outcome: `${preview.candidate_count} unsent alert candidate(s), ` +\n `${preview.review_only_count} coverage/discovery review observation(s) and ` +\n `${preview.suppressed_count} suppressed defect rule(s) for the latest comparison of ` +\n `${preview.latest_completed_pairs} completed matching page pairs. ` +\n \"Notifications sent: 0. No schedule, network or delivery was enabled.\",\n actions: preview.rules\n .filter((rule) => rule.review_required)\n .map((rule) => ({\n priority: rule.decision === \"preview_candidate\" ? 1 : 2,\n location: \"Manual review only\",\n message: `${rule.rule}: ${rule.message}`,\n })),\n nextStep: \"Inspect actual saved audit coverage and comparable page observations manually before any action. This is a simulation only; no alerts are sent or monitored automatically. A clean preview does not establish sitewide health or Google outcomes.\",\n });\n}\n\nexport function historicalComparisonContent(review: HistoricalReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Saved site-audit history trends\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.versions_compared} versions, ${review.comparisons_made} adjacent comparisons; ` +\n `${review.comparable_transitions} comparable samples, ${review.partial_transitions} limited and ` +\n `${review.not_comparable_transitions} nonoverlapping transitions. Across their matching checked pages, ` +\n `${review.total_regressed_page_transitions} page regressions and ` +\n `${review.total_improved_page_transitions} improvements were observed. ` +\n `${review.complete_stable_cohort_pages} pages have fully checked evidence across all versions.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Saved version ${finding.version}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review the per-version complete-cohort error/warning totals and changes, then collect comparable authorized audits where coverage is missing. Unobserved pages and unavailable validators cannot establish fixes, website-wide improvement, ranking changes or causality.\",\n });\n}\n\nexport function productionChangeContent(review: ProductionChangeReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n const changed = review.html_fingerprint_changed === null\n ? \"Full HTML byte comparison unavailable.\"\n : review.html_fingerprint_changed\n ? \"Supplied HTML bytes differ.\"\n : \"Supplied HTML bytes match.\";\n return toolContent({\n title: \"Production HTML baseline comparison\",\n status: review.status === \"not_comparable\" ? \"partial\" :\n warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.status}: ${changed} ` +\n (review.main_words_added === null || review.main_words_removed === null\n ? \"Comparable sampled main-text word changes are unavailable. \"\n : `${review.main_words_added} sampled main-text words added, ` +\n `${review.main_words_removed} removed. `) +\n \"No production fetch, deployment or search-ranking attribution was performed.\",\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: \"Supplied baseline versus current HTML\",\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Confirm capture timestamps and HTTP statuses against independent delivery evidence. Compare source deployments and crawler observations separately before attributing a production or Google visibility change.\",\n });\n}\n\nexport function lighthouseLabContent(review: LabReview): string {\n const score = review.performance_score_percent === null\n ? \"unavailable\" : String(review.performance_score_percent) + \"/100\";\n const metric = (value: number | null, unit = \"ms\") =>\n value === null ? \"unavailable\" : String(value) + unit;\n return toolContent({\n title: \"Isolated Lighthouse performance laboratory\",\n status: review.status === \"failed\" ? \"partial\" :\n review.findings.some((finding) => finding.severity === \"warning\")\n ? \"attention needed\" : \"partial\",\n outcome: `${review.status}: Lighthouse ${review.form_factor} lab score ${score}; ` +\n `FCP ${metric(review.metrics.fcp_ms)}, LCP ${metric(review.metrics.lcp_ms)}, ` +\n `TBT ${metric(review.metrics.tbt_ms)}, Speed Index ${metric(review.metrics.speed_index_ms)}, ` +\n `CLS ${metric(review.metrics.cls, \"\")}. ` +\n `${review.requests_blocked} requests blocked by the offline security policy.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: \"One isolated static-HTML lab run\",\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Repeat consistent Lighthouse runs for trends. This sandboxed static HTML audit did not load live production JavaScript, CSS, network assets or real-user CrUX field data; it cannot establish production Core Web Vitals, SEO rankings or visibility-cause conclusions.\",\n });\n}\n\nexport function cruxFieldContent(review: CruxFieldReview): string {\n const display=(value:number|null,unit=\"ms\")=>value===null?\"unavailable\":String(value)+unit;\n const warning=review.findings.some(x=>x.severity===\"warning\");\n return toolContent({\n title:\"Real-user CrUX Core Web Vitals\",\n status: warning?\"attention needed\":\"partial\",\n outcome: `${review.source===\"verified_crux_api\"?\"Direct CrUX API\":\"Caller-supplied CrUX\"} ` +\n `${review.mode} ${review.granularity} ${review.form_factor} field data: ` +\n `CWV verdict ${review.core_web_vitals}; p75 LCP ${display(review.p75.largest_contentful_paint)}, ` +\n `INP ${display(review.p75.interaction_to_next_paint)}, CLS ${display(review.p75.cumulative_layout_shift,\"\")}, ` +\n `FCP ${display(review.p75.first_contentful_paint)}, ` +\n `TTFB ${display(review.p75.experimental_time_to_first_byte)}. ` +\n `${review.periods_available} source period(s), ${review.periods_returned} historical excerpts.`,\n actions: review.findings.map(f=>({\n priority:f.severity===\"warning\"?1:2,\n location:\"Aggregated real-user CrUX evidence\",\n message:`${f.code}: ${f.message}`,\n })),\n nextStep:\"Interpret p75 metrics by page-versus-origin and device cohort, repeat after additional eligible collection periods and correlate with independent deployment records; rolling 28-day CrUX data do not prove a Google ranking or traffic cause.\",\n });\n}\n\nexport function crawlerLogContent(review: CrawlerLogReview): string {\n const percent=(value:number|null)=>value===null?\"unavailable\":String(value)+\"%\";\n const delta=review.failure_rate_delta_percentage_points===null\n ?\"unavailable\":String(review.failure_rate_delta_percentage_points)+\" percentage points\";\n const ip=review.googlebot_ip_evidence;\n const ipEvidence=ip.status===\"not_requested\"\n ?\" Source-IP range check was not requested.\"\n :ip.status===\"unavailable\"\n ?\" Official Google common-crawler IP ranges were unavailable; no source IP check was completed.\"\n :` Current Google common-crawler ranges matched ${ip.matched_current_ranges}/${ip.claimed_requests} claimed Googlebot requests; ${ip.outside_current_ranges} outside and ${ip.missing_or_invalid_ip} missing/invalid source IPs. ${ip.matched_after_problem_responses} matched-source requests had post-cutover 4xx/5xx.`;\n return toolContent({\n title:\"Crawler access-log correlation with optional Googlebot IP evidence\",\n status:review.findings.some(f=>f.severity===\"warning\")?\"attention needed\":\"partial\",\n outcome:`${review.status}: ${review.matched_requests}/${review.source_records} source records matched ` +\n `${review.important_urls_supplied} supplied important URL labels. ` +\n `Observed before ${review.before.requests} requests (${percent(review.before.failure_rate_percent)} 4xx/5xx), ` +\n `after ${review.after.requests} (${percent(review.after.failure_rate_percent)} 4xx/5xx); ` +\n `failure-rate change ${delta}. ${review.invalid_records} unparsed/unsafe records.`+ipEvidence,\n actions:review.findings.map(f=>({\n priority:f.severity===\"warning\"?1:2,\n location:f.url_index===undefined?\"Supplied sampled logs\":`Important URL #${f.url_index}`,\n message:`${f.code}: ${f.message}`,\n })),\n nextStep:\"Review access logs privately, confirm the log field contains actual visitor source IP (not a proxy), and corroborate current IP-range matches with forward/reverse DNS and contemporaneous evidence. Compare delivery, deployments and Search Console before attributing visibility changes. No target site or log provider was contacted.\",\n });\n}\n\nexport function urlVariantsContent(review: UrlVariantReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Supplied URL variant comparison\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.pages_sampled} supplied same-path URL observations: ` +\n `${review.scheme_variants} scheme, ${review.www_variants} apex/www, ` +\n `${review.slash_variants} trailing-slash, ${review.case_variants} path-case and ` +\n `${review.query_variants} query dimensions; ${review.redirects_to_reference} redirect ` +\n `declarations point to the supplied reference, ${review.matching_content_variants} ` +\n `HTTP 200 variants carry matching caller SHA-256 body fingerprints.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied URL observation ${finding.page}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Verify HTTP redirects to completion, intended query behavior, observed page bodies and canonical declarations with authorized live requests and Search Console. Path case and query parameters can represent different content; neither byte equality nor a declared canonical proves Google's selected canonical.\",\n });\n}\n\nexport function httpsSecurityContent(review: HttpsSecurityReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Sampled HTTPS and HTTP security signals\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.pages_sampled} supplied same-host observations: ${review.http_observations} HTTP, ` +\n `${review.https_observations} HTTPS; ${review.https_redirect_declarations} declared HTTPS redirects, ` +\n `${review.https_without_hsts_observation} without supplied HTTPS HSTS, ` +\n `${review.mixed_blockable_declarations} potentially blockable mixed resources, ` +\n `${review.mixed_upgradable_declarations} upgrade candidates, ` +\n `${review.insecure_form_actions} HTTP form-action declarations.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied page ${finding.page}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Verify observations against authorized live HTTPS/HTTP GET responses, redirect chains, browser DevTools, CSP enforcement and TLS certificates. Supplied headers or static markup do not establish production security, certificate validity or actual browser mixed-content blocking.\",\n });\n}\n\nexport function httpDirectivesContent(review: HttpDirectiveReview): string {\n return toolContent({\n title: \"Sampled non-HTML HTTP directive review\",\n status: review.conflicting_robots_resources + review.conflicting_canonical_resources > 0\n ? \"attention needed\" : \"partial\",\n outcome: `${review.non_html_resources} non-HTML declarations in ${review.resources_sampled} supplied HTTP observations: ` +\n `${review.googlebot_noindex_resources} with a Googlebot-applicable noindex declaration, ` +\n `${review.canonical_header_resources} with HTTP canonical declarations, ` +\n `${review.conflicting_robots_resources + review.conflicting_canonical_resources} conflicting groups.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied response ${finding.resource}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Compare these supplied headers against live authorized GET/HEAD observations, robots.txt and Search Console. No resource was fetched; missing X-Robots-Tag does not prove indexability, and Link canonicals are not Google selections.\",\n });\n}\n\nexport function multilingualClusterContent(analysis: MultilingualClusterAnalysis): string {\n const observed = `${analysis.eligible_pages}/${analysis.sampled_pages} supplied pages were eligible`;\n const count = analysis.total_findings;\n return toolContent({\n title: \"Multilingual hreflang and canonical clusters\",\n status: count ? \"attention needed\" : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: count\n ? `${countLabel(count, \"cluster finding\")} found across the supplied pages; ${observed}.`\n : `No checked hreflang/canonical conflicts were found; ${observed}. This is not evidence that unseen targets are healthy.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"error\" ? 0 : 1,\n location: finding.example_urls.join(\" ↔ \"),\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"More findings exist than the result cap. Address the displayed conflicts and retest.\"\n : \"Review observed conflicts and provide additional authorized localized page HTML to verify any unseen reciprocal links.\",\n });\n}\n\nfunction reportActionItems(reportData: ValidationReportResult): ActionItem[] {\n return [\n ...(reportData.errors ?? []).map((message) => ({\n priority: 0 as const,\n message,\n })),\n ...reportData.htmlMessages.map((message) => ({\n priority: priorityForSeverity(getW3CMessageSeverity(message)),\n message: `HTML: ${message.message}`,\n location: formatLocation(message.lastLine ?? message.firstLine, message.lastColumn ?? message.firstColumn),\n })),\n ...reportData.cssMessages.map((message) => ({\n priority: message.compatibility === \"known-validator-limitation\"\n ? 2 as const\n : priorityForSeverity(message.type),\n message: `CSS: ${message.message}`,\n location: formatLocation(message.line),\n })),\n ...reportData.seoIssues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: `${issue.category}: ${issue.message}`,\n location: issue.element ? collapseWhitespace(issue.element, 120) : undefined,\n })),\n ...reportData.schemaIssues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: `JSON-LD: ${issue.message}`,\n })),\n ...reportData.links\n .filter((link) => !link.ok || isRedirect(link))\n .map((link) => ({\n priority: linkPriority(link),\n message: linkActionMessage(link),\n location: link.url,\n })),\n ];\n}\n\nexport function reportContent(reportData: ValidationReportResult): string {\n const { summary } = reportData;\n const cssWarnings = summary.cssWarnings ?? 0;\n const actions = reportActionItems(reportData);\n const partial = reportData.failedChecks.length > 0;\n const compatibilityLimited = summary.cssCompatibilityLimitations > 0;\n const redirects = reportData.links.filter(isRedirect).length;\n const incompleteLinks = summary.unverifiedLinks > 0 || redirects > 0;\n const scoreUnavailable = summary.overallScore === null;\n const incompleteLinkReason = [\n summary.unverifiedLinks > 0 ? `${countLabel(summary.unverifiedLinks, \"unverified link check\")}` : undefined,\n redirects > 0 ? `${countLabel(redirects, \"unfollowed redirect\")}` : undefined,\n ].filter(Boolean).join(\" and \");\n const hasActionableFinding = actions.some((action) => action.priority < 2);\n const status = partial\n ? \"partial\"\n : compatibilityLimited\n ? \"compatibility-limited\"\n : incompleteLinks\n ? \"partial\"\n : scoreUnavailable\n ? \"partial\"\n : actions.length === 0\n ? \"clean across completed checks\"\n : hasActionableFinding\n ? \"attention needed\"\n : \"review suggested\";\n const cssSummary = summary.cssScore === null\n ? reportData.failedChecks.includes(\"css\")\n ? \"CSS validation unavailable\"\n : compatibilityLimited\n ? `${countLabel(summary.cssErrors, \"CSS error\")}, ${countLabel(cssWarnings, \"CSS warning\")}; ${countLabel(summary.cssCompatibilityLimitations, \"known validator limitation\")}`\n : \"CSS not audited\"\n : `${countLabel(summary.cssErrors, \"CSS error\")} and ${countLabel(cssWarnings, \"CSS warning\")}`;\n const linkSummary = summary.linkScore === null\n ? reportData.failedChecks.includes(\"links\")\n ? \"link checking unavailable\"\n : incompleteLinks\n ? `${countLabel(summary.brokenLinks, \"confirmed HTTP failure\")}, ${countLabel(summary.unverifiedLinks, \"unverified link check\")}, and ${countLabel(redirects, \"redirect\")} to review of ${countLabel(summary.linksChecked, \"link\")}`\n : summary.linksChecked > 0 ? \"link verification unavailable\" : \"no eligible links checked\"\n : `${countLabel(summary.brokenLinks, \"confirmed HTTP failure\")} and ${countLabel(redirects, \"redirect\")} to review of ${countLabel(summary.linksChecked, \"link\")}`;\n const checkLabels = {\n input: \"input file\",\n html: \"HTML validation\",\n css: \"CSS validation\",\n seo: \"SEO analysis\",\n schema: \"JSON-LD analysis\",\n links: \"link checking\",\n } as const;\n const unavailableChecks = reportData.failedChecks\n .filter((check) => check !== \"input\")\n .map((check) => checkLabels[check]);\n const scoreNote = \"The score is a triage heuristic based on these checks, not a Lighthouse score or a search-ranking prediction.\";\n const truncationNote = [\n reportData.htmlTruncated\n ? `Showing the first ${reportData.htmlMessages.length} of ${reportData.htmlTotalMessages} HTML diagnostics; HTML summary counts and scoring include all returned Nu diagnostics.`\n : undefined,\n reportData.cssTruncated\n ? `Showing the first ${reportData.cssMessages.length} of ${reportData.cssTotalMessages} CSS diagnostics; CSS summary counts and scoring include all returned Jigsaw diagnostics.`\n : undefined,\n reportData.seoTruncated\n ? `Showing the first ${reportData.seoIssues.length} of ${reportData.seoTotalIssues} SEO findings; SEO summary counts and scoring include all findings.`\n : undefined,\n reportData.schemaTruncated\n ? `Showing the first ${reportData.schemaIssues.length} of ${reportData.schemaTotalIssues} JSON-LD findings; JSON-LD summary counts and scoring include all findings.`\n : undefined,\n ].filter(Boolean).join(\" \") || undefined;\n return toolContent({\n title: \"Validation report\",\n status,\n outcome: partial\n ? `Partial validation report: ${unavailableChecks.join(\", \")} ${unavailableChecks.length === 1 ? \"was\" : \"were\"} unavailable; remaining checks completed. HTML has ${countLabel(summary.htmlErrors, \"error\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`\n : compatibilityLimited\n ? `The overall heuristic score is withheld because CSS validation includes ${countLabel(summary.cssCompatibilityLimitations, \"known validator limitation\")}. HTML has ${countLabel(summary.htmlErrors, \"error\")} and ${countLabel(summary.htmlWarnings, \"warning\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")} and ${countLabel(summary.seoWarnings, \"warning\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`\n : incompleteLinks\n ? `The overall heuristic score is withheld because ${incompleteLinkReason} cannot establish destination availability. HTML has ${countLabel(summary.htmlErrors, \"error\")} and ${countLabel(summary.htmlWarnings, \"warning\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")} and ${countLabel(summary.seoWarnings, \"warning\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`\n : scoreUnavailable\n ? `The overall heuristic score is unavailable because some diagnostic results are incomplete. Review the detailed report before drawing conclusions; ${linkSummary}.`\n : `The report's heuristic overall score is **${summary.overallScore}/100**. HTML has ${countLabel(summary.htmlErrors, \"error\")} and ${countLabel(summary.htmlWarnings, \"warning\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")} and ${countLabel(summary.seoWarnings, \"warning\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`,\n actions,\n nextStep: partial\n ? \"Review the completed findings, then retry the unavailable checks.\"\n : compatibilityLimited\n ? \"Review actionable findings normally, and treat the marked @container diagnostic as an upstream validator limitation rather than proof of invalid CSS.\"\n : incompleteLinks\n ? \"Review confirmed HTTP failures and unfollowed redirects; retry unverified links only when the URLs are public and checks are permitted.\"\n : scoreUnavailable\n ? \"Review incomplete diagnostic counts and rerun the affected checks before comparing scores.\"\n : actions.length === 0\n ? \"Use the full Markdown report as the audit record and rerun it after meaningful page changes.\"\n : \"Work through these priorities, then regenerate the report to compare the heuristic score.\",\n note: partial\n ? [\"No overall score is shown while one or more checks are unavailable.\", truncationNote].filter(Boolean).join(\" \")\n : compatibilityLimited\n ? [\"CSS and overall scores are withheld while a known Jigsaw parser limitation is present; the original upstream diagnostic remains visible.\", truncationNote].filter(Boolean).join(\" \")\n : incompleteLinks\n ? [\"Link and overall scores are withheld while destinations are unverified or redirects are unfollowed; neither proves a broken destination.\", truncationNote].filter(Boolean).join(\" \")\n : scoreUnavailable\n ? [\"Incomplete diagnostics prevent a reliable overall score.\", truncationNote].filter(Boolean).join(\" \")\n : [scoreNote, truncationNote].filter(Boolean).join(\" \"),\n });\n}\n\nexport function screenshotCaptureContent(count: number, outputDirectory: string): string {\n return toolContent({\n title: \"Screenshot capture\",\n status: \"complete\",\n outcome: `Saved ${countLabel(count, \"PNG screenshot\")} to ${markdownCode(outputDirectory)}.`,\n nextStep: \"Open the PNG files and compare the rendered layouts at each requested viewport.\",\n });\n}\n\nexport function screenshotPartialCaptureContent(count: number, outputDirectory: string, error: string): string {\n return toolContent({\n title: \"Screenshot capture\",\n status: \"partial\",\n outcome: `Saved ${countLabel(count, \"PNG screenshot\")} to ${markdownCode(outputDirectory)} before capture failed: ${markdownText(error, 500)}`,\n nextStep: \"Review the completed PNG files and retry the unfinished viewport captures after resolving the failure.\",\n });\n}\n\nexport function failureContent(title: string, error: string, nextStep: string): string {\n return toolContent({\n title,\n status: \"could not finish\",\n outcome: markdownText(error, 500),\n nextStep,\n });\n}\n"]}
1
+ {"version":3,"file":"presentation.js","sourceRoot":"","sources":["../src/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AA4BnC,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAoD,MAAM,kBAAkB,CAAC;AAClI,OAAO,EACL,qBAAqB,GAGtB,MAAM,oBAAoB,CAAC;AAc5B,SAAS,kBAAkB,CAAC,KAAa,EAAE,SAAS,GAAG,GAAG;IACxD,sFAAsF;IACtF,MAAM,SAAS,GAAG,KAAK;SACpB,OAAO,CAAC,4EAA4E,EAAE,GAAG,CAAC;SAC1F,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;SACpB,IAAI,EAAE,CAAC;IACV,IAAI,SAAS,CAAC,MAAM,IAAI,SAAS,EAAE,CAAC;QAClC,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC;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SameLanguageDuplicateAnalysis } from \"./modules/content-schema/same-language-duplicates.js\";\nimport type { PageContentQualityAnalysis } from \"./modules/content-schema/empty-boilerplate-content.js\";\nimport type { ProductClaimResult } from \"./modules/content-schema/product-claims.js\";\nimport type { ProvenanceResult } from \"./modules/content-schema/citation-methodology-consistency.js\";\nimport type { IntentComparison } from \"./modules/content-schema/competitor-intent-comparison.js\";\nimport type { SupportedSchemaReview } from \"./modules/content-schema/structured-data-validation.js\";\nimport type { InternalLinkReview } from \"./modules/site-architecture/internal-link-quality.js\";\nimport type { MetadataReview } from \"./modules/content-schema/metadata-consistency.js\";\nimport type { MediaDiagnostics } from \"./modules/browser-ux/media-diagnostics.js\";\nimport type { WcagInteractionReview } from \"./modules/browser-ux/wcag-interactions.js\";\nimport type { HttpDirectiveReview } from \"./modules/http-crawl/non-html-directives.js\";\nimport type { DeliveryReview } from \"./modules/http-crawl/http-delivery.js\";\nimport type { ResourceFailureReview } from \"./modules/browser-ux/resource-failures.js\";\nimport type { CrawlerAccessReview } from \"./modules/http-crawl/crawler-access.js\";\nimport type { SitemapInventoryReview } from \"./modules/http-crawl/sitemap-inventory.js\";\nimport type { RedirectCanonicalReview } from \"./modules/http-crawl/redirect-canonical-chains.js\";\nimport type { AvailabilityReview } from \"./modules/http-crawl/availability-observations.js\";\nimport type { HttpsSecurityReview } from \"./modules/http-crawl/https-security.js\";\nimport type { UrlVariantReview } from \"./modules/http-crawl/url-variants.js\";\nimport type { HistoricalReview } from \"./modules/change-regression/historical-comparisons.js\";\nimport type { ProductionChangeReview } from \"./modules/change-regression/production-change-comparison.js\";\nimport type { LabReview } from \"./modules/browser-ux/lighthouse-lab.js\";\nimport type { CruxFieldReview } from \"./modules/external-metrics/crux-field.js\";\nimport type { CrawlerLogReview } from \"./modules/change-regression/crawler-log-correlation.js\";\nimport type { MonitorPreview } from \"./modules/change-regression/regression-alerts.js\";\nimport type { MultilingualClusterAnalysis } from \"./modules/site-architecture/multilingual-clusters.js\";\nimport { isHttpRedirectStatus, isUnverifiedLinkStatus, type AuditCounts, type LinkStatus, type SEOIssue } from \"./seo-auditor.js\";\nimport {\n getW3CMessageSeverity,\n type CSSMessage,\n type W3CMessage,\n} from \"./w3c-validator.js\";\n\ntype ActionPriority = 0 | 1 | 2;\n\ninterface ActionItem {\n message: string;\n priority: ActionPriority;\n location?: string;\n}\n\ninterface ValidationReportResult extends ValidationReport {\n errors?: string[];\n}\n\nfunction collapseWhitespace(value: string, maxLength = 240): string {\n // Validator text is untrusted; terminal and bidi controls survive whitespace folding.\n const collapsed = value\n .replace(/[\\u0000-\\u001f\\u007f-\\u009f\\u061c\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]+/g, \" \")\n .replace(/\\s+/g, \" \")\n .trim();\n if (collapsed.length <= maxLength) {\n return collapsed;\n }\n return `${collapsed.slice(0, Math.max(0, maxLength - 1)).trimEnd()}…`;\n}\n\n/** Escapes untrusted text while leaving the surrounding, controlled Markdown intact. */\nfunction markdownText(value: string, maxLength = 240): string {\n return collapseWhitespace(value, maxLength)\n .replace(/&/g, \"&amp;\")\n .replace(/</g, \"&lt;\")\n .replace(/>/g, \"&gt;\")\n .replace(/\\\\/g, \"\\\\\\\\\")\n .replace(/([`*_[\\]{}()#+\\-.!|~])/g, \"\\\\$1\");\n}\n\n/** Wraps untrusted identifiers and paths in a code span that cannot be closed by their content. */\nfunction markdownCode(value: string, maxLength = 240): string {\n const collapsed = collapseWhitespace(value, maxLength);\n const longestBacktickRun = Math.max(\n 0,\n ...Array.from(collapsed.matchAll(/`+/g), (match) => match[0].length),\n );\n const delimiter = \"`\".repeat(longestBacktickRun + 1);\n const content = collapsed.startsWith(\"`\") || collapsed.endsWith(\"`\")\n ? ` ${collapsed} `\n : collapsed;\n return `${delimiter}${content}${delimiter}`;\n}\n\nfunction countLabel(count: number, singular: string, plural = `${singular}s`): string {\n return `${count} ${count === 1 ? singular : plural}`;\n}\n\nfunction priorityForSeverity(severity: string): ActionPriority {\n if (severity.toLowerCase() === \"error\") return 0;\n if (severity.toLowerCase() === \"warning\") return 1;\n return 2;\n}\n\nfunction formatLocation(line?: number, column?: number): string | undefined {\n if (line === undefined && column === undefined) return undefined;\n if (line === undefined) return `column ${column}`;\n if (column === undefined) return `line ${line}`;\n return `line ${line}, column ${column}`;\n}\n\nfunction formatActions(items: ActionItem[]): string | undefined {\n const prioritized = items\n .map((item, index) => ({ item, index }))\n .sort((left, right) => left.item.priority - right.item.priority || left.index - right.index)\n .slice(0, 3)\n .map(({ item }) => {\n const label = item.priority === 0 ? \"Error\" : item.priority === 1 ? \"Warning\" : \"Check\";\n const location = item.location\n ? ` · ${markdownCode(item.location, 120)}`\n : \"\";\n return `- **${label}**${location}: ${markdownText(item.message)}`;\n });\n\n return prioritized.length > 0 ? prioritized.join(\"\\n\") : undefined;\n}\n\nfunction toolContent(options: {\n title: string;\n status: string;\n outcome: string;\n nextStep: string;\n actions?: ActionItem[];\n note?: string;\n}): string {\n const sections = [\n `### ${options.title}: ${options.status}`,\n collapseWhitespace(options.outcome, 500),\n ];\n if (options.note) {\n sections.push(collapseWhitespace(options.note, 500));\n }\n const actionItems = options.actions ?? [];\n const actions = formatActions(actionItems);\n if (actions) {\n const hasActionableItem = actionItems.some((item) => item.priority < 2);\n const actionHeading = options.status === \"review suggested\" || !hasActionableItem ? \"Review\" : \"Fix first\";\n sections.push(`**${actionHeading}**\\n${actions}`);\n }\n sections.push(`**Next step:** ${collapseWhitespace(options.nextStep, 400)}`);\n return sections.join(\"\\n\\n\");\n}\n\n/** Human-oriented triage for the same bounded, structured delivery evidence. */\nexport function httpDeliveryContent(review: DeliveryReview): string {\n const codes = new Set(review.findings.map((finding) => finding.code));\n const nextStep = codes.has(\"cloudflare_challenge\") || codes.has(\"http_forbidden\")\n ? \"Compare the affected path and time with Cloudflare WAF/challenge events and origin access logs; separately verify the permitted public response without bypassing protections.\"\n : codes.has(\"http_rate_limited\")\n ? \"Review observed 429 responses against authorized rate-limit rules and Retry-After, then repeat a bounded check after any approved change.\"\n : codes.has(\"http_server_error\")\n ? \"Correlate observed 5xx responses with origin/edge error logs and deployment timing, then repeat a bounded delivery check.\"\n : !review.redirect_chain_complete\n ? \"Review the unobserved redirect destination with a bounded public same-origin check; an incomplete chain cannot verify final delivery.\"\n : \"Keep this point-in-time response as a baseline and compare it with independent availability and crawler evidence.\";\n return toolContent({\n title: \"HTTP delivery diagnostics\",\n status: review.findings.some(f => f.severity === \"warning\") ? \"attention needed\" : \"review suggested\",\n outcome: `${review.hops_observed} observed response(s), ${review.redirects_observed} followed redirect(s), ` +\n `${review.errors_observed} HTTP error response(s), ${review.challenges_observed} confirmed Cloudflare challenge signal(s). ` +\n \"These observations do not establish Googlebot identity or historical availability.\",\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Hop #${f.hop}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function browserResourceContent(review: ResourceFailureReview): string {\n const nextStep = review.critical_resource_failures > 0\n ? \"Inspect the failing document/script/stylesheet categories in independent browser/network logs and confirm user-visible effects; separate site HTTP errors from tool policy blocks before changing production.\"\n : review.transport_failures > 0 || review.api_failures > 0\n ? \"Correlate the sampled transport/API failures with authorized network observations, then retest the affected request category.\"\n : review.tool_blocked_requests > 0 || review.pending_requests > 0\n ? \"Treat policy-blocked and pending requests as missing evidence, not website failures; compare with an independently authorized sample if needed.\"\n : \"Keep this bounded resource observation as a baseline and repeat after a relevant website change.\";\n return toolContent({\n title: \"Browser resource loading\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.requests_recorded} sampled resource request(s): ${review.http_4xx} HTTP 4xx, ` +\n `${review.http_5xx} HTTP 5xx, ${review.transport_failures} transport failures, ` +\n `${review.tool_blocked_requests} validator-policy blocks and ${review.pending_requests} pending. ` +\n \"Policy blocks and incomplete requests are not confirmed site defects.\",\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function sitemapInventoryContent(review: SitemapInventoryReview): string {\n const nextStep = review.known_indexability_conflicts > 0\n ? \"Review numbered entries with independently observed 404/410, noindex, disallow or canonical conflicts; align submitted sitemap URLs with intentionally indexable pages, then revalidate.\"\n : review.lastmod_invalid_count > 0 || review.lastmod_future_count > 0\n ? \"Correct invalid or future sitemap lastmod dates using verified publication evidence, then revalidate XML before submission.\"\n : review.missing_child_documents > 0\n ? \"Supply or inspect the referenced child sitemap documents before drawing inventory-coverage conclusions.\"\n : \"Compare the sampled sitemap inventory against independently discovered canonical pages; an XML listing alone does not prove Google indexing.\";\n return toolContent({\n title: \"Sitemap inventory\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.documents_observed} document(s) with ${review.distinct_page_urls} distinct page URL(s), ` +\n `${review.missing_child_documents} missing child document(s), ${review.duplicate_url_entries} duplicates, ` +\n `${review.lastmod_invalid_count} invalid lastmod and ${review.known_indexability_conflicts} independently observed indexability conflicts. ` +\n (review.inventory_complete ? \"The supplied document inventory is complete by its evidence.\" :\n \"Collection completeness is unknown or partial.\"),\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Sitemap #${f.document}${f.entry === undefined ? \"\" : `, entry #${f.entry}`}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function crawlerAccessContent(review: CrawlerAccessReview): string {\n const nextStep = review.crawler_disallowed_rows > 0\n ? \"Compare the numbered page/profile rows with intended robots.txt rules. Crawl disallow and noindex are different; confirm both directives before changing crawl policy.\"\n : review.noindex_declared_rows > 0\n ? \"Confirm that the sampled pages are intended to be excluded, then review the declared meta and X-Robots-Tag directives for each affected crawler profile.\"\n : review.unknown_access_rows > 0 || review.unknown_indexing_rows > 0\n ? \"Obtain authorized robots.txt status and response indexing evidence for unresolved rows; unknown does not mean allowed or indexed.\"\n : \"Use independent search-engine evidence to check actual crawl/index status; these observations alone do not establish indexing.\";\n return toolContent({\n title: \"Crawler access matrix\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.rows_checked} page/profile comparisons: ${review.crawler_disallowed_rows} crawl disallow, ` +\n `${review.noindex_declared_rows} declared noindex, ${review.unknown_access_rows} unknown access, ` +\n `${review.unknown_indexing_rows} unknown indexing signals. These are declarations, not verified search-engine indexing verdicts.`,\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Page #${f.page} · ${f.profile}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function redirectCanonicalContent(review: RedirectCanonicalReview): string {\n const nextStep = review.nonindexable_destination\n ? \"Inspect the final observed HTTP status, robots and canonical declarations; repair only confirmed unintentional destination blocks, then recheck the chain.\"\n : review.loop_detected || !review.chain_complete\n ? \"Verify the unresolved or looping redirect hops with bounded same-origin observations before concluding where users or crawlers land.\"\n : review.conflicting_canonical_hops > 0 || review.canonical_cycles > 0\n ? \"Compare the conflicting canonical declarations on numbered hops and resolve unintended conflicts before requesting reindexing.\"\n : review.expected_destination_match === false\n ? \"Check the caller's expected destination against the completed redirect chain and update only the incorrect redirect policy.\"\n : \"Keep the observed redirect chain as evidence and separately check actual Google-selected canonicals and indexing in an authorized source.\";\n return toolContent({\n title: \"Redirect and canonical chain\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.hops_observed} observed response(s), ${review.redirects_observed} redirect(s), ` +\n `${review.conflicting_canonical_hops} conflicting canonical hop(s), ${review.canonical_cycles} canonical cycle(s). ` +\n (review.chain_complete ? \"Sampled chain complete. \" : \"Sampled chain incomplete. \") +\n \"Actual Google canonical selection and indexing are not verified.\",\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n location: `Hop #${f.hop}`,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function availabilityReviewContent(review: AvailabilityReview): string {\n const nextStep = review.observed_http_5xx > 0 || review.observed_timeouts > 0 ||\n review.observed_transport_failures > 0\n ? \"Compare the sampled failures with authorized server/edge logs and deployment times, then repeat bounded checks across equivalent observation windows.\"\n : review.observed_rate_limits > 0 || review.observed_challenges > 0\n ? \"Review the affected rate-limit or challenge configuration against intended visitors and crawler policy, then repeat an authorized bounded check.\"\n : review.findings.some(f=>f.code===\"large_sampling_gap\"||f.code===\"sparse_samples\")\n ? \"Treat the gaps between observations as unknown; collect comparable samples before inferring availability trends.\"\n : \"Use this bounded response sample as a baseline; continuous uptime and Googlebot availability require separate evidence.\";\n return toolContent({\n title: \"Availability observations\",\n status: review.findings.some(f => f.severity === \"warning\")\n ? \"attention needed\" : \"review suggested\",\n outcome: `${review.observed_successes}/${review.observations_count} HTTP 2xx observations ` +\n `(${review.observed_success_percent}% of supplied samples), ${review.observed_http_5xx} HTTP 5xx, ` +\n `${review.observed_rate_limits} rate limited, ${review.observed_transport_failures} transport failures and ` +\n `${review.http_status_changes} status transition(s). Sample ratios are not uptime measurements.`,\n actions: review.findings.map(f => ({\n priority: f.severity === \"warning\" ? 1 : 2,\n message: f.message,\n })),\n nextStep,\n });\n}\n\nexport function htmlValidationContent(\n messages: W3CMessage[],\n source?: string,\n totalMessages = messages.length,\n counts?: { error: number; warning: number; info: number },\n checker: \"w3c_remote\" | \"nu_local\" = \"w3c_remote\",\n): string {\n const validatorLabel = checker === \"nu_local\" ? \"The local Nu HTML Checker\" : \"The W3C validator\";\n const errorCount = counts?.error\n ?? messages.filter((message) => getW3CMessageSeverity(message) === \"error\").length;\n const warningCount = counts?.warning\n ?? messages.filter((message) => getW3CMessageSeverity(message) === \"warning\").length;\n const infoCount = counts?.info ?? Math.max(0, totalMessages - errorCount - warningCount);\n const sourceText = source ? ` for ${markdownCode(source, 180)}` : \"\";\n if (totalMessages === 0) {\n return toolContent({\n title: \"HTML validation\",\n status: \"clean\",\n outcome: validatorLabel + \" returned no HTML diagnostics\" + sourceText + \".\",\n nextStep: \"Keep this result as a baseline and validate again after the next markup change.\",\n });\n }\n\n const hasActionableDiagnostics = errorCount > 0 || warningCount > 0;\n return toolContent({\n title: \"HTML validation\",\n status: hasActionableDiagnostics ? \"attention needed\" : \"review suggested\",\n outcome: validatorLabel + \" returned \" + countLabel(errorCount, \"error\") + \", \"\n + countLabel(warningCount, \"warning\") + \", and \"\n + countLabel(infoCount, \"informational diagnostic\") + sourceText + \".\",\n actions: messages.map((message) => ({\n priority: priorityForSeverity(getW3CMessageSeverity(message)),\n message: message.message,\n location: formatLocation(message.lastLine ?? message.firstLine, message.lastColumn ?? message.firstColumn),\n })),\n nextStep: hasActionableDiagnostics\n ? \"Fix errors first, then warnings, and rerun HTML validation to confirm the markup is clean.\"\n : \"Review the informational diagnostics, then rerun validation after relevant markup changes.\",\n note: totalMessages > messages.length\n ? `Showing the first ${messages.length} of ${totalMessages} HTML diagnostics in structured output; severity totals include all returned Nu diagnostics.`\n : undefined,\n });\n}\n\nexport function cssValidationContent(\n messages: CSSMessage[],\n totalMessages = messages.length,\n counts?: { error: number; warning?: number; compatibilityLimitation: number },\n checker: \"w3c_remote\" | \"stylelint_local\" = \"w3c_remote\",\n): string {\n const stylelint = checker === \"stylelint_local\";\n if (totalMessages === 0) {\n return toolContent({\n title: \"CSS validation\",\n status: stylelint ? \"no lint findings\" : \"clean\",\n outcome: stylelint\n ? \"Local Stylelint found no findings in the selected quality rules; W3C CSS conformance was not tested.\"\n : \"The W3C validator returned no CSS errors or warnings.\",\n nextStep: \"Validate again after the next stylesheet change.\",\n });\n }\n\n const compatibilityLimitations = messages.filter(\n (message) => message.compatibility === \"known-validator-limitation\",\n );\n const compatibilityLimitationCount = counts?.compatibilityLimitation ?? compatibilityLimitations.length;\n const warningCount = counts?.warning\n ?? messages.filter((message) => message.type.toLowerCase() === \"warning\").length;\n const actionableErrors = counts?.error\n ?? messages.filter(\n (message) => message.type.toLowerCase() !== \"warning\"\n && message.compatibility !== \"known-validator-limitation\",\n ).length;\n\n return toolContent({\n title: \"CSS validation\",\n status: actionableErrors > 0 ? \"attention needed\" : \"review suggested\",\n outcome: (stylelint ? \"Local Stylelint found \" : \"The W3C validator returned \")\n + countLabel(actionableErrors, \"CSS error\") + \", \"\n + countLabel(warningCount, \"CSS warning\") + \", and \"\n + countLabel(compatibilityLimitationCount, \"known validator limitation\") + \".\",\n actions: messages.map((message) => ({\n priority: message.compatibility === \"known-validator-limitation\"\n ? 2\n : priorityForSeverity(message.type),\n message: message.context ? `${message.message} Context: ${message.context}` : message.message,\n location: formatLocation(message.line),\n })),\n nextStep: actionableErrors > 0\n ? \"Correct the actionable errors, review warnings, then rerun CSS validation because one syntax issue can cause later diagnostics.\"\n : warningCount > 0\n ? \"Review the warnings, then rerun CSS validation after relevant stylesheet changes.\"\n : \"Review the marked @container diagnostic against current CSS specifications; do not treat it as invalid CSS by itself.\",\n note: [\n compatibilityLimitationCount > 0\n ? \"Jigsaw currently does not recognize the standards-defined @container rule. The upstream diagnostic is preserved and marked as a known validator limitation.\"\n : undefined,\n totalMessages > messages.length\n ? \"Showing the first \" + messages.length + \" of \" + totalMessages\n + \" CSS diagnostics in structured output; summary counts include all returned \"\n + (stylelint ? \"Stylelint\" : \"Jigsaw\") + \" diagnostics.\"\n : undefined,\n ].filter(Boolean).join(\" \") || undefined,\n });\n}\n\nexport function seoAuditContent(\n issues: SEOIssue[],\n totalIssues: number,\n truncated: boolean,\n counts?: AuditCounts,\n): string {\n const errors = counts?.error ?? issues.filter((issue) => issue.severity === \"error\").length;\n const warnings = counts?.warning ?? issues.filter((issue) => issue.severity === \"warning\").length;\n const info = counts?.info ?? issues.filter((issue) => issue.severity === \"info\").length;\n if (totalIssues === 0) {\n return toolContent({\n title: \"SEO audit\",\n status: \"clean within this audit\",\n outcome: \"This focused rules-based audit found no SEO or accessibility issues in the supplied HTML.\",\n nextStep: \"Keep the metadata current and rerun the audit whenever the page template changes.\",\n note: \"This result does not replace a crawl, performance test, or Search Console review.\",\n });\n }\n\n const hasActionableFindings = errors > 0 || warnings > 0;\n return toolContent({\n title: \"SEO audit\",\n status: hasActionableFindings ? \"attention needed\" : \"review suggested\",\n outcome: `The audit found ${countLabel(errors, \"error\")}, ${countLabel(warnings, \"warning\")}, and ${countLabel(info, \"suggestion\")}.`,\n actions: issues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: issue.message,\n location: issue.element ? collapseWhitespace(issue.element, 120) : undefined,\n })),\n nextStep: hasActionableFindings\n ? \"Address errors first, then warnings, and rerun the audit after updating the page.\"\n : \"Review the suggestions that apply to this page, then rerun the audit after relevant template changes.\",\n note: truncated\n ? `Showing the first ${issues.length} of ${totalIssues} findings in structured output.`\n : undefined,\n });\n}\n\nfunction countJsonLdBlocks(htmlContent: string): number {\n const $ = cheerio.load(htmlContent);\n return $(\"script[type]\").filter((_, element) => {\n // Match the schema parser: scripts in inert template contents are not executed.\n let ancestor: { name?: string; parent?: unknown } | null = element;\n while (ancestor) {\n if (ancestor.name?.toLowerCase() === \"template\") return false;\n ancestor = (ancestor.parent ?? null) as typeof ancestor;\n }\n const type = $(element).attr(\"type\");\n return type?.split(\";\", 1)[0].trim().toLowerCase() === \"application/ld+json\";\n }).length;\n}\n\nexport function schemaValidationContent(\n issues: SEOIssue[],\n totalIssues: number,\n truncated: boolean,\n htmlContent: string,\n): string {\n const blockCount = countJsonLdBlocks(htmlContent);\n if (blockCount === 0) {\n return toolContent({\n title: \"JSON-LD syntax\",\n status: \"not present\",\n outcome: \"No JSON-LD script blocks were found, so there was no structured data to parse.\",\n nextStep: \"Add JSON-LD only when it accurately describes visible page content, then validate it again.\",\n });\n }\n if (totalIssues === 0) {\n return toolContent({\n title: \"JSON-LD syntax\",\n status: \"clean\",\n outcome: `${countLabel(blockCount, \"JSON-LD block\")} parsed without syntax errors.`,\n nextStep: \"Verify the properties against the relevant Schema.org type and search-engine requirements.\",\n note: \"This check covers JSON syntax only; it does not validate vocabulary semantics or rich-result eligibility.\",\n });\n }\n\n return toolContent({\n title: \"JSON-LD syntax\",\n status: \"attention needed\",\n outcome: `${countLabel(totalIssues, \"syntax issue\")} ${totalIssues === 1 ? \"was\" : \"were\"} found across ${countLabel(blockCount, \"JSON-LD block\")}.`,\n actions: issues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: issue.message,\n })),\n nextStep: \"Repair the invalid or empty blocks, then rerun this syntax check before testing rich-result eligibility.\",\n note: truncated\n ? `Showing the first ${issues.length} of ${totalIssues} findings in structured output.`\n : undefined,\n });\n}\n\nfunction linkPriority(link: LinkStatus): ActionPriority {\n if (isUnverifiedLinkStatus(link.status)) return 2;\n if (isRedirect(link)) return 1;\n return 0;\n}\n\nfunction isRedirect(link: LinkStatus): boolean {\n return isHttpRedirectStatus(link.status);\n}\n\nfunction linkActionMessage(link: LinkStatus): string {\n if (isRedirect(link)) {\n return `${link.status} redirect; destination was not followed`;\n }\n if (isUnverifiedLinkStatus(link.status)) {\n return `Link could not be verified (${link.status})${link.message ? ` — ${link.message}` : \"\"}`;\n }\n return `Link returned ${typeof link.status === \"number\" ? `HTTP ${link.status}` : link.status}${link.message ? ` — ${link.message}` : \"\"}`;\n}\n\nexport function linkCheckContent(links: LinkStatus[], baseUrl?: string): string {\n if (links.length === 0) {\n return toolContent({\n title: \"Link check\",\n status: \"nothing checked\",\n outcome: \"No eligible public HTTP(S) links were found, so no link requests were made.\",\n nextStep: baseUrl\n ? \"Confirm the HTML contains reachable anchor URLs, then run the check again.\"\n : \"If the page uses relative links, provide its public base URL and run the check again.\",\n });\n }\n\n const unreachable = links.filter((link) => !link.ok && !isUnverifiedLinkStatus(link.status));\n const unverified = links.filter((link) => !link.ok && isUnverifiedLinkStatus(link.status));\n const redirects = links.filter(isRedirect);\n if (unreachable.length === 0 && unverified.length === 0 && redirects.length === 0) {\n return toolContent({\n title: \"Link check\",\n status: \"clean\",\n outcome: links.length === 1\n ? \"The checked link returned a reachable response.\"\n : `All ${links.length} checked links returned reachable responses.`,\n nextStep: \"Recheck periodically because external link availability can change.\",\n });\n }\n\n const actions = [\n ...unreachable,\n ...unverified,\n ...redirects,\n ].map((link) => ({\n priority: linkPriority(link),\n location: link.url,\n message: linkActionMessage(link),\n }));\n\n const linkOutcome = [\n unreachable.length > 0\n ? `${countLabel(unreachable.length, \"link\")} ${unreachable.length === 1 ? \"returned an HTTP failure\" : \"returned HTTP failures\"}`\n : \"no confirmed HTTP failures\",\n unverified.length > 0\n ? `${countLabel(unverified.length, \"check\")} unverified`\n : undefined,\n redirects.length > 0\n ? `${countLabel(redirects.length, \"redirect\")} ${redirects.length === 1 ? \"needs\" : \"need\"} review`\n : undefined,\n ].filter((item): item is string => item !== undefined).join(\"; \");\n\n return toolContent({\n title: \"Link check\",\n status: unreachable.length > 0 ? \"attention needed\" : unverified.length > 0 ? \"partial\" : \"review suggested\",\n outcome: `${linkOutcome} of ${links.length} checked. Redirect destinations are not followed.`,\n actions,\n nextStep: unverified.length > 0\n ? \"Review confirmed HTTP failures and redirects; retry unverified links only if public and permitted.\"\n : \"Update failed destinations and review redirects, then rerun the link check.\",\n });\n}\n\nexport function contentDuplicateContent(analysis: SameLanguageDuplicateAnalysis): string {\n const matches = analysis.pairs;\n const coverage = `${analysis.eligible_pages}/${analysis.sampled_pages} sampled pages had usable main content and a known language`;\n return toolContent({\n title: \"Same-language main-content comparison\",\n status: matches.length ? \"attention needed\" : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: analysis.total_pairs\n ? `${countLabel(analysis.total_pairs, \"duplicate-content pair\")} found in the sampled pages; ${coverage}.`\n : `No duplicate main-content pairs found; ${coverage}. This is not evidence of site-wide uniqueness.`,\n actions: matches.map((pair) => ({\n priority: pair.kind === \"exact\" ? 1 : 2,\n location: `${pair.first_url} vs ${pair.second_url}`,\n message: `${pair.kind === \"exact\" ? \"Exact\" : \"Near\"} ${pair.language} main-text match (${pair.similarity_percent}%, ${pair.confidence}).`,\n })),\n nextStep: analysis.pairs_truncated\n ? \"More matches exist than the result cap; review these pairs and repeat on a narrower page sample.\"\n : \"Review matched pages manually; this static-text comparison cannot infer search-engine canonicalization or semantic equivalence.\",\n });\n}\n\nexport function contentQualityContent(analysis: PageContentQualityAnalysis): string {\n return toolContent({\n title: \"Sampled main-content quality review\",\n status: analysis.total_findings ? \"attention needed\" : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: analysis.total_findings\n ? `${countLabel(analysis.total_findings, \"potential content-quality finding\")} across ${analysis.eligible_pages}/${analysis.sampled_pages} sampled pages.`\n : `No checked content-quality signals were found across ${analysis.eligible_pages}/${analysis.sampled_pages} sampled pages. This is not a usefulness or site-wide verdict.`,\n actions: analysis.findings.map((finding) => ({\n priority: (finding.severity === \"warning\" ? 1 : 2) as ActionPriority,\n location: finding.example_urls.join(\", \"),\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"More review findings exist than the preview cap. Inspect the affected page families and narrow the sample.\"\n : \"Inspect flagged pages in a browser, verify their purpose and unique value, then rerun the bounded comparison.\",\n });\n}\n\nexport function productClaimContent(analysis: ProductClaimResult): string {\n return toolContent({\n title: \"Landing-page promises versus registered MCP tools\",\n status: analysis.contradicted_claims > 0 ? \"attention needed\"\n : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: analysis.catalog_available\n ? analysis.checked_claims + \" explicit or bounded claims checked; \" +\n analysis.consistent_claims + \" consistent with the registered \" + analysis.surface +\n \" tool catalog, \" + analysis.contradicted_claims + \" contradicted and \" +\n analysis.unverified_claims + \" unverified.\"\n : \"The MCP tool registry was unavailable, so no claim is verified.\",\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: finding.claim,\n message: finding.message,\n })),\n nextStep: \"Confirm any discrepancies against current tools/list output and exercise the affected tool. Registry exposure is not proof of successful behavior.\",\n });\n}\n\nexport function provenanceContent(analysis: ProvenanceResult): string {\n return toolContent({\n title: \"Citation, dataset, freshness and methodology evidence\",\n status: analysis.conflicting_declarations > 0 ? \"attention needed\"\n : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: `${analysis.consistent_declarations} declarations agree with supplied or on-page evidence, ` +\n `${analysis.conflicting_declarations} have observed inconsistencies, ` +\n `${analysis.unverified_declarations} remain unverified ` +\n `across ${analysis.pages_eligible}/${analysis.pages_sampled} supplied pages.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: finding.page_url,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"More evidence findings exist than the result cap; inspect sources and compare smaller authorized page batches.\"\n : \"Verify the underlying sources, dataset release and methodology independently before asserting factual accuracy or current freshness.\",\n });\n}\n\nexport function intentComparisonContent(analysis: IntentComparison): string {\n return toolContent({\n title: \"Competitor search-intent evidence comparison\",\n status: analysis.findings.some((finding) => finding.severity === \"warning\")\n ? \"attention needed\" : \"partial\",\n outcome: `${analysis.competitors_eligible}/${analysis.competitors_submitted} competitor pages compared from supplied static HTML` +\n (analysis.expected_intent ? `; selected intent: ${analysis.expected_intent}` : \"; no explicit intent selected\") +\n \". This does not predict Google rankings or semantic relevance.\",\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review the indicated headings and static structured signals, check page purpose manually, and use authorized search or analytics data before drawing competitive SEO conclusions.\",\n });\n}\n\nexport function supportedSchemaContent(analysis: SupportedSchemaReview): string {\n return toolContent({\n title: \"Supported JSON-LD structural review\",\n status: analysis.errors > 0 || analysis.warnings > 0 ? \"attention needed\" : \"partial\",\n outcome: `${analysis.supported_nodes} recognized node profiles across ${analysis.blocks_checked}/${analysis.blocks_seen} inspected JSON-LD blocks; ` +\n `${analysis.errors} syntax/document errors, ${analysis.warnings} review warnings, ${analysis.unverified} unresolved signals. ` +\n \"This does not determine rich-result eligibility.\",\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"error\" ? 0 : finding.severity === \"warning\" ? 1 : 2,\n location: `JSON-LD block ${finding.block}, node ${finding.node}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"Review the first prioritized findings and rerun a smaller supported JSON-LD sample for the rest.\"\n : \"Review structural findings, then use the official Rich Results Test and inspect page content for actual feature eligibility.\",\n });\n}\n\nexport function internalLinkContent(analysis: InternalLinkReview): string {\n return toolContent({\n title: \"Sampled internal links and anchor evidence\",\n status: analysis.missing_anchor_labels > 0 ? \"attention needed\" : \"partial\",\n outcome: `${analysis.internal_links_observed} contextual same-origin links across ${analysis.pages_sampled} supplied pages; ` +\n `${analysis.linked_sample_targets} sampled targets referenced, ${analysis.missing_anchor_labels} without observed accessible names, ` +\n `${analysis.generic_anchor_links} generic anchors, ${analysis.unmatched_internal_links} unsupplied target links.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied page ${finding.source_page}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review contextual anchor labels against actual page purpose; supply more authorized target pages to inspect the sample. Unvisited links have not been tested, and lexical overlap is not a ranking signal.\",\n });\n}\n\nexport function metadataConsistencyContent(analysis: MetadataReview): string {\n return toolContent({\n title: \"Sampled metadata consistency review\",\n status: analysis.conflicting_declaration_fields > 0 ? \"attention needed\" : \"partial\",\n outcome: `${analysis.pages_sampled} supplied pages: ${analysis.conflicting_declaration_fields} conflicting field groups, ` +\n `${analysis.duplicate_declaration_fields} repeated equivalent fields, ` +\n `${analysis.cross_field_review_leads} cross-field review leads, ` +\n `${analysis.duplicate_title_groups + analysis.duplicate_description_groups} cross-page metadata groups.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied page ${finding.source_page} - ${finding.field}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review on-page declarations in context. Identical titles and social-metadata variations may be intentional; use authorized crawling and Search Console evidence before attributing search performance.\",\n });\n}\n\nexport function wcagInteractionsContent(review: WcagInteractionReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n const axeInfo = review.axe ? \" Automated axe-core: \" + review.axe.status\n + (review.axe.status === \"complete\"\n ? \", \" + review.axe.violations + \" failed rule groups, \" + review.axe.incomplete + \" incomplete review groups.\"\n : \"; checks unavailable, no passing result claimed.\") : \"\";\n const axeActions = review.axe?.status === \"complete\"\n ? review.axe.rules.map((item) => ({\n priority: (item.impact === \"serious\" || item.impact === \"critical\" ? 1 : 2) as ActionPriority,\n location: \"axe-core rule\",\n message: item.rule + \": \" + item.nodes + \" affected elements (\" + item.impact + \").\",\n })) : [];\n return toolContent({\n title: \"Browser keyboard and WCAG evidence\",\n status: warnings || (review.axe?.violations ?? 0) > 0 ? \"attention needed\" : \"partial\",\n outcome: `In script-disabled, offline Chromium, ${review.controls_inspected} of ${review.controls_seen} ` +\n `controls were sampled at ${review.viewport_width} × ${review.viewport_height}; ` +\n `${review.tab_steps} Tab key steps covered ${review.unique_tab_targets} distinct targets. ` +\n `${review.visible_controls_without_name} accessible-name review leads, ` +\n `${review.focus_indicator_review_leads} possible focus-indicator gaps, ` +\n `${review.native_summaries_toggled}/${review.native_summaries_tested} native summaries toggled with Enter.` + axeInfo,\n actions: [...review.findings.map((finding) => ({\n priority: (finding.severity === \"warning\" ? 1 : 2) as ActionPriority,\n location: `Rendered control ${finding.control} · ${finding.evidence}`,\n message: `${finding.code}: ${finding.message}`,\n })), ...axeActions],\n nextStep: \"Recheck the flagged focus/name signals in a fully styled, authorized website with JavaScript enabled and a screen reader. This inert sample is not an accessibility audit or WCAG 2.2 compliance determination.\",\n });\n}\n\nexport function mediaDiagnosticsContent(review: MediaDiagnostics): string {\n const warningCount = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Static media markup diagnostics\",\n status: warningCount ? \"attention needed\" : \"partial\",\n outcome: `${review.media_elements_checked} of ${review.images_observed + review.pictures_observed +\n review.videos_observed} sampled media elements reviewed: ${review.images_observed} images, ` +\n `${review.videos_observed} videos and ${review.pictures_observed} pictures. ` +\n `${review.total_findings} review findings; media loading and playback not checked.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Static ${finding.media_type} element ${finding.element}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Inspect the flagged elements and verify their rendered behavior separately. Static metadata cannot prove actual resource availability, accessibility compliance, loading speed or video caption accuracy.\",\n });\n}\n\nexport function regressionPreviewContent(preview: MonitorPreview): string {\n return toolContent({\n title: \"Manual dry-run regression alert preview\",\n status: preview.candidate_count ? \"attention needed\" : \"partial\",\n outcome: `${preview.candidate_count} unsent alert candidate(s), ` +\n `${preview.review_only_count} coverage/discovery review observation(s) and ` +\n `${preview.suppressed_count} suppressed defect rule(s) for the latest comparison of ` +\n `${preview.latest_completed_pairs} completed matching page pairs. ` +\n \"Notifications sent: 0. No schedule, network or delivery was enabled.\",\n actions: preview.rules\n .filter((rule) => rule.review_required)\n .map((rule) => ({\n priority: rule.decision === \"preview_candidate\" ? 1 : 2,\n location: \"Manual review only\",\n message: `${rule.rule}: ${rule.message}`,\n })),\n nextStep: \"Inspect actual saved audit coverage and comparable page observations manually before any action. This is a simulation only; no alerts are sent or monitored automatically. A clean preview does not establish sitewide health or Google outcomes.\",\n });\n}\n\nexport function historicalComparisonContent(review: HistoricalReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Saved site-audit history trends\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.versions_compared} versions, ${review.comparisons_made} adjacent comparisons; ` +\n `${review.comparable_transitions} comparable samples, ${review.partial_transitions} limited and ` +\n `${review.not_comparable_transitions} nonoverlapping transitions. Across their matching checked pages, ` +\n `${review.total_regressed_page_transitions} page regressions and ` +\n `${review.total_improved_page_transitions} improvements were observed. ` +\n `${review.complete_stable_cohort_pages} pages have fully checked evidence across all versions.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Saved version ${finding.version}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Review the per-version complete-cohort error/warning totals and changes, then collect comparable authorized audits where coverage is missing. Unobserved pages and unavailable validators cannot establish fixes, website-wide improvement, ranking changes or causality.\",\n });\n}\n\nexport function productionChangeContent(review: ProductionChangeReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n const changed = review.html_fingerprint_changed === null\n ? \"Full HTML byte comparison unavailable.\"\n : review.html_fingerprint_changed\n ? \"Supplied HTML bytes differ.\"\n : \"Supplied HTML bytes match.\";\n return toolContent({\n title: \"Production HTML baseline comparison\",\n status: review.status === \"not_comparable\" ? \"partial\" :\n warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.status}: ${changed} ` +\n (review.main_words_added === null || review.main_words_removed === null\n ? \"Comparable sampled main-text word changes are unavailable. \"\n : `${review.main_words_added} sampled main-text words added, ` +\n `${review.main_words_removed} removed. `) +\n \"No production fetch, deployment or search-ranking attribution was performed.\",\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: \"Supplied baseline versus current HTML\",\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Confirm capture timestamps and HTTP statuses against independent delivery evidence. Compare source deployments and crawler observations separately before attributing a production or Google visibility change.\",\n });\n}\n\nexport function lighthouseLabContent(review: LabReview): string {\n const score = review.performance_score_percent === null\n ? \"unavailable\" : String(review.performance_score_percent) + \"/100\";\n const metric = (value: number | null, unit = \"ms\") =>\n value === null ? \"unavailable\" : String(value) + unit;\n return toolContent({\n title: \"Isolated Lighthouse performance laboratory\",\n status: review.status === \"failed\" ? \"partial\" :\n review.findings.some((finding) => finding.severity === \"warning\")\n ? \"attention needed\" : \"partial\",\n outcome: `${review.status}: Lighthouse ${review.form_factor} lab score ${score}; ` +\n `FCP ${metric(review.metrics.fcp_ms)}, LCP ${metric(review.metrics.lcp_ms)}, ` +\n `TBT ${metric(review.metrics.tbt_ms)}, Speed Index ${metric(review.metrics.speed_index_ms)}, ` +\n `CLS ${metric(review.metrics.cls, \"\")}. ` +\n `${review.requests_blocked} requests blocked by the offline security policy.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: \"One isolated static-HTML lab run\",\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Repeat consistent Lighthouse runs for trends. This sandboxed static HTML audit did not load live production JavaScript, CSS, network assets or real-user CrUX field data; it cannot establish production Core Web Vitals, SEO rankings or visibility-cause conclusions.\",\n });\n}\n\nexport function cruxFieldContent(review: CruxFieldReview): string {\n const display=(value:number|null,unit=\"ms\")=>value===null?\"unavailable\":String(value)+unit;\n const warning=review.findings.some(x=>x.severity===\"warning\");\n return toolContent({\n title:\"Real-user CrUX Core Web Vitals\",\n status: warning?\"attention needed\":\"partial\",\n outcome: `${review.source===\"verified_crux_api\"?\"Direct CrUX API\":\"Caller-supplied CrUX\"} ` +\n `${review.mode} ${review.granularity} ${review.form_factor} field data: ` +\n `CWV verdict ${review.core_web_vitals}; p75 LCP ${display(review.p75.largest_contentful_paint)}, ` +\n `INP ${display(review.p75.interaction_to_next_paint)}, CLS ${display(review.p75.cumulative_layout_shift,\"\")}, ` +\n `FCP ${display(review.p75.first_contentful_paint)}, ` +\n `TTFB ${display(review.p75.experimental_time_to_first_byte)}. ` +\n `${review.periods_available} source period(s), ${review.periods_returned} historical excerpts.`,\n actions: review.findings.map(f=>({\n priority:f.severity===\"warning\"?1:2,\n location:\"Aggregated real-user CrUX evidence\",\n message:`${f.code}: ${f.message}`,\n })),\n nextStep:\"Interpret p75 metrics by page-versus-origin and device cohort, repeat after additional eligible collection periods and correlate with independent deployment records; rolling 28-day CrUX data do not prove a Google ranking or traffic cause.\",\n });\n}\n\nexport function crawlerLogContent(review: CrawlerLogReview): string {\n const percent=(value:number|null)=>value===null?\"unavailable\":String(value)+\"%\";\n const delta=review.failure_rate_delta_percentage_points===null\n ?\"unavailable\":String(review.failure_rate_delta_percentage_points)+\" percentage points\";\n const ip=review.googlebot_ip_evidence;\n const ipEvidence=ip.status===\"not_requested\"\n ?\" Source-IP range check was not requested.\"\n :ip.status===\"unavailable\"\n ?\" Official Google common-crawler IP ranges were unavailable; no source IP check was completed.\"\n :` Current Google common-crawler ranges matched ${ip.matched_current_ranges}/${ip.claimed_requests} claimed Googlebot requests; ${ip.outside_current_ranges} outside and ${ip.missing_or_invalid_ip} missing/invalid source IPs. ${ip.matched_after_problem_responses} matched-source requests had post-cutover 4xx/5xx.`;\n return toolContent({\n title:\"Crawler access-log correlation with optional Googlebot IP evidence\",\n status:review.findings.some(f=>f.severity===\"warning\")?\"attention needed\":\"partial\",\n outcome:`${review.status}: ${review.matched_requests}/${review.source_records} source records matched ` +\n `${review.important_urls_supplied} supplied important URL labels. ` +\n `Observed before ${review.before.requests} requests (${percent(review.before.failure_rate_percent)} 4xx/5xx), ` +\n `after ${review.after.requests} (${percent(review.after.failure_rate_percent)} 4xx/5xx); ` +\n `failure-rate change ${delta}. ${review.invalid_records} unparsed/unsafe records.`+ipEvidence,\n actions:review.findings.map(f=>({\n priority:f.severity===\"warning\"?1:2,\n location:f.url_index===undefined?\"Supplied sampled logs\":`Important URL #${f.url_index}`,\n message:`${f.code}: ${f.message}`,\n })),\n nextStep:\"Review access logs privately, confirm the log field contains actual visitor source IP (not a proxy), and corroborate current IP-range matches with forward/reverse DNS and contemporaneous evidence. Compare delivery, deployments and Search Console before attributing visibility changes. No target site or log provider was contacted.\",\n });\n}\n\nexport function urlVariantsContent(review: UrlVariantReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Supplied URL variant comparison\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.pages_sampled} supplied same-path URL observations: ` +\n `${review.scheme_variants} scheme, ${review.www_variants} apex/www, ` +\n `${review.slash_variants} trailing-slash, ${review.case_variants} path-case and ` +\n `${review.query_variants} query dimensions; ${review.redirects_to_reference} redirect ` +\n `declarations point to the supplied reference, ${review.matching_content_variants} ` +\n `HTTP 200 variants carry matching caller SHA-256 body fingerprints.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied URL observation ${finding.page}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Verify HTTP redirects to completion, intended query behavior, observed page bodies and canonical declarations with authorized live requests and Search Console. Path case and query parameters can represent different content; neither byte equality nor a declared canonical proves Google's selected canonical.\",\n });\n}\n\nexport function httpsSecurityContent(review: HttpsSecurityReview): string {\n const warnings = review.findings.filter((finding) => finding.severity === \"warning\").length;\n return toolContent({\n title: \"Sampled HTTPS and HTTP security signals\",\n status: warnings ? \"attention needed\" : \"partial\",\n outcome: `${review.pages_sampled} supplied same-host observations: ${review.http_observations} HTTP, ` +\n `${review.https_observations} HTTPS; ${review.https_redirect_declarations} declared HTTPS redirects, ` +\n `${review.https_without_hsts_observation} without supplied HTTPS HSTS, ` +\n `${review.mixed_blockable_declarations} potentially blockable mixed resources, ` +\n `${review.mixed_upgradable_declarations} upgrade candidates, ` +\n `${review.insecure_form_actions} HTTP form-action declarations.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied page ${finding.page}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Verify observations against authorized live HTTPS/HTTP GET responses, redirect chains, browser DevTools, CSP enforcement and TLS certificates. Supplied headers or static markup do not establish production security, certificate validity or actual browser mixed-content blocking.\",\n });\n}\n\nexport function httpDirectivesContent(review: HttpDirectiveReview): string {\n return toolContent({\n title: \"Sampled non-HTML HTTP directive review\",\n status: review.conflicting_robots_resources + review.conflicting_canonical_resources > 0\n ? \"attention needed\" : \"partial\",\n outcome: `${review.non_html_resources} non-HTML declarations in ${review.resources_sampled} supplied HTTP observations: ` +\n `${review.googlebot_noindex_resources} with a Googlebot-applicable noindex declaration, ` +\n `${review.canonical_header_resources} with HTTP canonical declarations, ` +\n `${review.conflicting_robots_resources + review.conflicting_canonical_resources} conflicting groups.`,\n actions: review.findings.map((finding) => ({\n priority: finding.severity === \"warning\" ? 1 : 2,\n location: `Supplied response ${finding.resource}`,\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: \"Compare these supplied headers against live authorized GET/HEAD observations, robots.txt and Search Console. No resource was fetched; missing X-Robots-Tag does not prove indexability, and Link canonicals are not Google selections.\",\n });\n}\n\nexport function multilingualClusterContent(analysis: MultilingualClusterAnalysis): string {\n const observed = `${analysis.eligible_pages}/${analysis.sampled_pages} supplied pages were eligible`;\n const count = analysis.total_findings;\n return toolContent({\n title: \"Multilingual hreflang and canonical clusters\",\n status: count ? \"attention needed\" : analysis.coverage_limited ? \"partial\" : \"clean\",\n outcome: count\n ? `${countLabel(count, \"cluster finding\")} found across the supplied pages; ${observed}.`\n : `No checked hreflang/canonical conflicts were found; ${observed}. This is not evidence that unseen targets are healthy.`,\n actions: analysis.findings.map((finding) => ({\n priority: finding.severity === \"error\" ? 0 : 1,\n location: finding.example_urls.join(\" ↔ \"),\n message: `${finding.code}: ${finding.message}`,\n })),\n nextStep: analysis.findings_truncated\n ? \"More findings exist than the result cap. Address the displayed conflicts and retest.\"\n : \"Review observed conflicts and provide additional authorized localized page HTML to verify any unseen reciprocal links.\",\n });\n}\n\nfunction reportActionItems(reportData: ValidationReportResult): ActionItem[] {\n return [\n ...(reportData.errors ?? []).map((message) => ({\n priority: 0 as const,\n message,\n })),\n ...reportData.htmlMessages.map((message) => ({\n priority: priorityForSeverity(getW3CMessageSeverity(message)),\n message: `HTML: ${message.message}`,\n location: formatLocation(message.lastLine ?? message.firstLine, message.lastColumn ?? message.firstColumn),\n })),\n ...reportData.cssMessages.map((message) => ({\n priority: message.compatibility === \"known-validator-limitation\"\n ? 2 as const\n : priorityForSeverity(message.type),\n message: `CSS: ${message.message}`,\n location: formatLocation(message.line),\n })),\n ...reportData.seoIssues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: `${issue.category}: ${issue.message}`,\n location: issue.element ? collapseWhitespace(issue.element, 120) : undefined,\n })),\n ...reportData.schemaIssues.map((issue) => ({\n priority: priorityForSeverity(issue.severity),\n message: `JSON-LD: ${issue.message}`,\n })),\n ...reportData.links\n .filter((link) => !link.ok || isRedirect(link))\n .map((link) => ({\n priority: linkPriority(link),\n message: linkActionMessage(link),\n location: link.url,\n })),\n ];\n}\n\nexport function reportContent(reportData: ValidationReportResult): string {\n const { summary } = reportData;\n const cssWarnings = summary.cssWarnings ?? 0;\n const actions = reportActionItems(reportData);\n const partial = reportData.failedChecks.length > 0;\n const compatibilityLimited = summary.cssCompatibilityLimitations > 0;\n const redirects = reportData.links.filter(isRedirect).length;\n const incompleteLinks = summary.unverifiedLinks > 0 || redirects > 0;\n const scoreUnavailable = summary.overallScore === null;\n const incompleteLinkReason = [\n summary.unverifiedLinks > 0 ? `${countLabel(summary.unverifiedLinks, \"unverified link check\")}` : undefined,\n redirects > 0 ? `${countLabel(redirects, \"unfollowed redirect\")}` : undefined,\n ].filter(Boolean).join(\" and \");\n const hasActionableFinding = actions.some((action) => action.priority < 2);\n const status = partial\n ? \"partial\"\n : compatibilityLimited\n ? \"compatibility-limited\"\n : incompleteLinks\n ? \"partial\"\n : scoreUnavailable\n ? \"partial\"\n : actions.length === 0\n ? \"clean across completed checks\"\n : hasActionableFinding\n ? \"attention needed\"\n : \"review suggested\";\n const cssSummary = summary.cssScore === null\n ? reportData.failedChecks.includes(\"css\")\n ? \"CSS validation unavailable\"\n : compatibilityLimited\n ? `${countLabel(summary.cssErrors, \"CSS error\")}, ${countLabel(cssWarnings, \"CSS warning\")}; ${countLabel(summary.cssCompatibilityLimitations, \"known validator limitation\")}`\n : \"CSS not audited\"\n : `${countLabel(summary.cssErrors, \"CSS error\")} and ${countLabel(cssWarnings, \"CSS warning\")}`;\n const linkSummary = summary.linkScore === null\n ? reportData.failedChecks.includes(\"links\")\n ? \"link checking unavailable\"\n : incompleteLinks\n ? `${countLabel(summary.brokenLinks, \"confirmed HTTP failure\")}, ${countLabel(summary.unverifiedLinks, \"unverified link check\")}, and ${countLabel(redirects, \"redirect\")} to review of ${countLabel(summary.linksChecked, \"link\")}`\n : summary.linksChecked > 0 ? \"link verification unavailable\" : \"no eligible links checked\"\n : `${countLabel(summary.brokenLinks, \"confirmed HTTP failure\")} and ${countLabel(redirects, \"redirect\")} to review of ${countLabel(summary.linksChecked, \"link\")}`;\n const checkLabels = {\n input: \"input file\",\n html: \"HTML validation\",\n css: \"CSS validation\",\n seo: \"SEO analysis\",\n schema: \"JSON-LD analysis\",\n links: \"link checking\",\n } as const;\n const unavailableChecks = reportData.failedChecks\n .filter((check) => check !== \"input\")\n .map((check) => checkLabels[check]);\n const scoreNote = \"The score is a triage heuristic based on these checks, not a Lighthouse score or a search-ranking prediction.\";\n const truncationNote = [\n reportData.htmlTruncated\n ? `Showing the first ${reportData.htmlMessages.length} of ${reportData.htmlTotalMessages} HTML diagnostics; HTML summary counts and scoring include all returned Nu diagnostics.`\n : undefined,\n reportData.cssTruncated\n ? `Showing the first ${reportData.cssMessages.length} of ${reportData.cssTotalMessages} CSS diagnostics; CSS summary counts and scoring include all returned Jigsaw diagnostics.`\n : undefined,\n reportData.seoTruncated\n ? `Showing the first ${reportData.seoIssues.length} of ${reportData.seoTotalIssues} SEO findings; SEO summary counts and scoring include all findings.`\n : undefined,\n reportData.schemaTruncated\n ? `Showing the first ${reportData.schemaIssues.length} of ${reportData.schemaTotalIssues} JSON-LD findings; JSON-LD summary counts and scoring include all findings.`\n : undefined,\n ].filter(Boolean).join(\" \") || undefined;\n return toolContent({\n title: \"Validation report\",\n status,\n outcome: partial\n ? `Partial validation report: ${unavailableChecks.join(\", \")} ${unavailableChecks.length === 1 ? \"was\" : \"were\"} unavailable; remaining checks completed. HTML has ${countLabel(summary.htmlErrors, \"error\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`\n : compatibilityLimited\n ? `The overall heuristic score is withheld because CSS validation includes ${countLabel(summary.cssCompatibilityLimitations, \"known validator limitation\")}. HTML has ${countLabel(summary.htmlErrors, \"error\")} and ${countLabel(summary.htmlWarnings, \"warning\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")} and ${countLabel(summary.seoWarnings, \"warning\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`\n : incompleteLinks\n ? `The overall heuristic score is withheld because ${incompleteLinkReason} cannot establish destination availability. HTML has ${countLabel(summary.htmlErrors, \"error\")} and ${countLabel(summary.htmlWarnings, \"warning\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")} and ${countLabel(summary.seoWarnings, \"warning\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`\n : scoreUnavailable\n ? `The overall heuristic score is unavailable because some diagnostic results are incomplete. Review the detailed report before drawing conclusions; ${linkSummary}.`\n : `The report's heuristic overall score is **${summary.overallScore}/100**. HTML has ${countLabel(summary.htmlErrors, \"error\")} and ${countLabel(summary.htmlWarnings, \"warning\")}; ${cssSummary}; SEO has ${countLabel(summary.seoErrors, \"error\")} and ${countLabel(summary.seoWarnings, \"warning\")}; JSON-LD has ${countLabel(summary.schemaErrors, \"syntax error\")}; ${linkSummary}.`,\n actions,\n nextStep: partial\n ? \"Review the completed findings, then retry the unavailable checks.\"\n : compatibilityLimited\n ? \"Review actionable findings normally, and treat the marked @container diagnostic as an upstream validator limitation rather than proof of invalid CSS.\"\n : incompleteLinks\n ? \"Review confirmed HTTP failures and unfollowed redirects; retry unverified links only when the URLs are public and checks are permitted.\"\n : scoreUnavailable\n ? \"Review incomplete diagnostic counts and rerun the affected checks before comparing scores.\"\n : actions.length === 0\n ? \"Use the full Markdown report as the audit record and rerun it after meaningful page changes.\"\n : \"Work through these priorities, then regenerate the report to compare the heuristic score.\",\n note: partial\n ? [\"No overall score is shown while one or more checks are unavailable.\", truncationNote].filter(Boolean).join(\" \")\n : compatibilityLimited\n ? [\"CSS and overall scores are withheld while a known Jigsaw parser limitation is present; the original upstream diagnostic remains visible.\", truncationNote].filter(Boolean).join(\" \")\n : incompleteLinks\n ? [\"Link and overall scores are withheld while destinations are unverified or redirects are unfollowed; neither proves a broken destination.\", truncationNote].filter(Boolean).join(\" \")\n : scoreUnavailable\n ? [\"Incomplete diagnostics prevent a reliable overall score.\", truncationNote].filter(Boolean).join(\" \")\n : [scoreNote, truncationNote].filter(Boolean).join(\" \"),\n });\n}\n\nexport function screenshotCaptureContent(count: number, outputDirectory: string): string {\n return toolContent({\n title: \"Screenshot capture\",\n status: \"complete\",\n outcome: `Saved ${countLabel(count, \"PNG screenshot\")} to ${markdownCode(outputDirectory)}.`,\n nextStep: \"Open the PNG files and compare the rendered layouts at each requested viewport.\",\n });\n}\n\nexport function screenshotPartialCaptureContent(count: number, outputDirectory: string, error: string): string {\n return toolContent({\n title: \"Screenshot capture\",\n status: \"partial\",\n outcome: `Saved ${countLabel(count, \"PNG screenshot\")} to ${markdownCode(outputDirectory)} before capture failed: ${markdownText(error, 500)}`,\n nextStep: \"Review the completed PNG files and retry the unfinished viewport captures after resolving the failure.\",\n });\n}\n\nexport function failureContent(title: string, error: string, nextStep: string): string {\n return toolContent({\n title,\n status: \"could not finish\",\n outcome: markdownText(error, 500),\n nextStep,\n });\n}\n"]}
@@ -1,5 +1,6 @@
1
1
  import { type BrowserPlatform, type InstallOptions } from "@puppeteer/browsers";
2
2
  import { type Browser as PuppeteerBrowser } from "puppeteer-core";
3
+ import { type VisualDiffResult } from "./visual-diff.js";
3
4
  export interface ViewportConfig {
4
5
  name: string;
5
6
  width: number;
@@ -11,6 +12,7 @@ export interface ScreenshotResult {
11
12
  height: number;
12
13
  outputPath: string;
13
14
  incompleteAssetCount?: number;
15
+ visualDiff?: VisualDiffResult;
14
16
  }
15
17
  /** Carries paths already written when a later viewport cannot be captured. */
16
18
  export declare class PartialScreenshotCaptureError extends Error {
@@ -40,5 +42,5 @@ export declare const defaultScreenshotBrowserRuntime: ScreenshotBrowserRuntime;
40
42
  * @param outputDirectory Absolute path to save screenshots
41
43
  * @param customViewports Optional custom viewport settings
42
44
  */
43
- export declare function captureScreenshots(targetPath: string, outputDirectory: string, customViewports?: ViewportConfig[], browserRuntime?: ScreenshotBrowserRuntime): Promise<ScreenshotResult[]>;
45
+ export declare function captureScreenshots(targetPath: string, outputDirectory: string, customViewports?: ViewportConfig[], browserRuntime?: ScreenshotBrowserRuntime, baselineDirectory?: string): Promise<ScreenshotResult[]>;
44
46
  export {};