Vercel Optimize Run an observability-first Vercel optimization audit. Do not inspect source files until exists and a deterministic gate points to a route, file, or project setting. Core doctrine: read references/doctrine.md if any rule is unclear. - Metrics first. Recommendations start from Vercel production signals, not repo-wide grep. - Deterministic gates. decides what deserves investigation. - Candidate-bound scope. Read only files named by a candidate or a route-local import chain. - Version-aware citations. Use only ; invalid or version-mismatched citations are stripped. - Customer copy…

\n );\n return re.test(path);\n}\n\nasync function enumerateRoutes(root) {\n const entries = await readdir(root, { recursive: true, withFileTypes: true });\n const routes = [];\n for (const e of entries) {\n if (!e.isFile()) continue;\n const segments = (e.parentPath ?? e.path ?? root).split('/');\n if (segments.some((s) => SKIP_DIRS.has(s))) continue;\n\n const full = join(e.parentPath ?? e.path ?? root, e.name);\n const rel = relative(root, full);\n\n // App Router: route groups ((name)), parallel routes (@slot), private folders\n // (_name), and the top-level page.tsx (no path segment) all need explicit handling.\n let m = rel.match(/^(?:src\\/)?app\\/(.*)\\/(page|route|layout)\\.(tsx?|jsx?)$/);\n if (!m) {\n const top = rel.match(/^(?:src\\/)?app\\/(page|route|layout)\\.(tsx?|jsx?)$/);\n if (top) {\n routes.push({\n routePath: '/',\n file: rel,\n type: routeEntryType(top[1]),\n });\n continue;\n }\n }\n if (m) {\n const stripped = m[1]\n .split('/')\n .filter((seg) => !/^\\([^)]+\\)$/.test(seg) && !/^@/.test(seg) && !/^_/.test(seg))\n .join('/')\n .replace(/^\\/+|\\/+$/g, '');\n const routePath = stripped === '' ? '/' : `/${stripped}`;\n routes.push({\n routePath,\n file: rel,\n type: routeEntryType(m[2]),\n });\n continue;\n }\n\n // Astro endpoint filenames commonly include the response extension\n // (`feed.xml.ts`, `robots.txt.ts`). Handle these before the generic\n // `src/pages` rule, which otherwise treats them as page components.\n m = rel.match(/^src\\/pages\\/(.*\\.(?:xml|json|txt|rss|atom|svg|png|jpg|jpeg|webp))\\.(tsx?|jsx?|mjs|cjs)$/);\n if (m) {\n const name = normalizeRouteFileStem(m[1]);\n routes.push({\n routePath: name === '' ? '/' : '/' + name,\n file: rel,\n type: 'route',\n });\n continue;\n }\n\n m = rel.match(/^(?:src\\/)?pages\\/(.*)\\.(tsx?|jsx?)$/);\n if (m) {\n const name = m[1].replace(/\\/index$/, '').replace(/^index$/, '');\n const isApi = /^api\\//.test(name);\n routes.push({\n routePath: name === '' ? '/' : '/' + name,\n file: rel,\n type: isApi ? 'route' : 'page',\n });\n continue;\n }\n\n // Nuxt 3/4 pages. Dynamic segments use the same bracket shape as metrics\n // (`[id]`, `[...slug]`), so keep them intact for route matching.\n m = rel.match(/^(?:app\\/)?pages\\/(.*)\\.vue$/);\n if (m) {\n const name = normalizeRouteFileStem(m[1]);\n routes.push({\n routePath: name === '' ? '/' : '/' + name,\n file: rel,\n type: 'page',\n });\n continue;\n }\n\n // Nuxt server routes: server/api/foo.get.ts -> /api/foo,\n // server/routes/rss.xml.ts -> /rss.xml.\n m = rel.match(/^server\\/(api|routes)\\/(.*)\\.(tsx?|jsx?|mjs|cjs)$/);\n if (m) {\n const base = m[1] === 'api' ? 'api/' : '';\n const name = normalizeRouteFileStem(`${base}${m[2]}`);\n routes.push({\n routePath: name === '' ? '/' : '/' + name,\n file: rel,\n type: 'route',\n });\n continue;\n }\n\n // Astro pages and endpoints. This is limited framework support, but route\n // mapping still improves reports when Vercel metrics use user-facing paths.\n m = rel.match(/^src\\/pages\\/(.*)\\.(astro|tsx?|jsx?|mjs|cjs)$/);\n if (m) {\n const name = normalizeRouteFileStem(m[1]);\n routes.push({\n routePath: name === '' ? '/' : '/' + name,\n file: rel,\n type: m[2] === 'astro' ? 'page' : 'route',\n });\n continue;\n }\n\n // SvelteKit: +page.svelte = page, +page.server.{ts,js} pairs with it (treat\n // as page), +server.{ts,js} = API route, +layout.* = ancestor layout context.\n // Route groups (auth) stripped like Next; dynamic segments [slug]/[...rest]/[[opt]] preserved.\n m = rel.match(/^src\\/routes\\/(.*)\\/\\+(page\\.svelte|page\\.server\\.(?:ts|js)|server\\.(?:ts|js)|layout\\.svelte|layout\\.server\\.(?:ts|js))$/);\n if (m || /^src\\/routes\\/\\+(page\\.svelte|page\\.server\\.(?:ts|js)|server\\.(?:ts|js)|layout\\.svelte|layout\\.server\\.(?:ts|js))$/.test(rel)) {\n const fileTypeMatch = rel.match(/\\+(page\\.svelte|page\\.server\\.(?:ts|js)|server\\.(?:ts|js)|layout\\.svelte|layout\\.server\\.(?:ts|js))$/);\n const fileType = fileTypeMatch?.[1] ?? '';\n const segs = (m?.[1] ?? '').split('/').filter(Boolean)\n .filter((seg) => !/^\\([^)]+\\)$/.test(seg));\n const routePath = segs.length === 0 ? '/' : '/' + segs.join('/');\n const type = fileType.startsWith('server') ? 'route' : fileType.startsWith('layout') ? 'layout' : 'page';\n // When +page.svelte AND +page.server.ts both exist, +page.svelte wins ownership.\n const existing = type === 'layout' ? null : routes.find((r) => r.routePath === routePath && r.type !== 'layout');\n if (existing) {\n if (fileType === 'page.svelte' && existing.type === 'page') {\n existing.file = rel;\n }\n continue;\n }\n routes.push({ routePath, file: rel, type });\n continue;\n }\n }\n return routes.sort((a, b) =>\n a.routePath.localeCompare(b.routePath)\n || routeTypeOrder(a.type) - routeTypeOrder(b.type)\n || a.file.localeCompare(b.file)\n );\n}\n\nfunction routeEntryType(name) {\n return name === 'route' ? 'route' : name === 'layout' ? 'layout' : 'page';\n}\n\nfunction normalizeRouteFileStem(stem) {\n return String(stem ?? '')\n .replace(/\\/index$/, '')\n .replace(/^index$/, '')\n .replace(/\\.(?:get|post|put|patch|delete|options|head)$/, '')\n .replace(/^\\/+|\\/+$/g, '');\n}\n\nfunction routeTypeOrder(type) {\n return type === 'page' ? 0 : type === 'route' ? 1 : type === 'layout' ? 2 : 3;\n}\n\nfunction mapFileToRoute(filePath, routes) {\n const r = routes.find((rt) => rt.file === filePath);\n return r?.routePath ?? null;\n}\n\nmain().catch((err) => {\n process.stderr.write(`[scan-codebase] FAILED: ${err.message}\\n`);\n process.exit(1);\n});\n","content_type":"text/javascript","language":"javascript","size":11521,"content_sha256":"4b5c847899604831aafd3fcdf860968792e99203670a3ba6f3947cb7ae708705"},{"filename":"scripts/verify-and-regen.mjs","content":"#!/usr/bin/env node\n// Verify → grade → emit regenPlan. Does NOT spawn sub-agents — the\n// orchestrator reads regenPlan, re-spawns one sub-agent per targeted candidate\n// with topFailures injected, then re-runs this script. Thresholds are tuned\n// below (REGEN_*, QUALITY_FLOOR) — read those constants for the live values.\n\nimport { readFile, writeFile } from 'node:fs/promises';\nimport { dirname, resolve } from 'node:path';\nimport { mkdir } from 'node:fs/promises';\nimport { verifyClaim } from '../lib/verify-claim.mjs';\nimport { extractClaims, summarizeClaimResults } from '../lib/extract-claims.mjs';\nimport { gradeRecommendation, applyQualityFloor } from '../lib/grade-recommendation.mjs';\nimport { deriveProjectFacts } from '../lib/project-facts.mjs';\nimport { resolveRepoRoot } from '../lib/repo-root.mjs';\nimport { applySanitizers } from '../lib/sanitizers/index.mjs';\n\nconst SCHEMA_VERSION = '1.0';\nconst REGEN_PASS_RATE_THRESHOLD = 0.8;\n// 1/1 failed is as broken as 1/5; below 2 claims is below the noise floor.\nconst REGEN_MIN_CLAIMS = 2;\n// The Poor/Fair grade boundary — Poor recs erode trust faster than recall helps.\nconst QUALITY_FLOOR = 0.55;\n\nconst log = (...a) => console.error('[verify-and-regen]', ...a);\n\nasync function main() {\n const args = parseArgs(process.argv.slice(2));\n if (!args.recsPath) {\n console.error('usage: node scripts/verify-and-regen.mjs \u003crecommendations.json> [--signals merged.json] [--repo-root DIR] [--out FILE]');\n process.exit(1);\n }\n\n const recs = JSON.parse(await readFile(args.recsPath, 'utf-8'));\n if (!Array.isArray(recs)) {\n console.error('[verify-and-regen] FATAL: recommendations.json must be an array of rec objects');\n process.exit(2);\n }\n\n let framework, version, cacheComponents, knownFindings = [], projectFacts = [], signals = null;\n if (args.signalsPath) {\n signals = JSON.parse(await readFile(args.signalsPath, 'utf-8'));\n const stack = signals.stack ?? signals.codebase?.stack ?? {};\n framework = stack.framework;\n version = stack.frameworkVersion;\n cacheComponents = stack.cacheComponents;\n knownFindings = (signals.codebase?.findings ?? signals.findings ?? [])\n .filter((f) => f.file && (f.line != null))\n .map((f) => ({ file: f.file, line: f.line }));\n projectFacts = deriveProjectFacts(signals);\n if (projectFacts.length > 0) {\n log(`project facts in play: ${projectFacts.map((f) => f.id).join(', ')}`);\n }\n }\n\n // Repo-root priority: (1) signals.project.rootDirectory from Vercel API\n // (authoritative — returns \"apps/\u003cname>\" so cwd can be back-mapped without\n // filesystem probing), (2) supplied --repo-root, (3) walk-up from cwd.\n const rootResult = await resolveRepoRoot(recs, args.repoRoot, process.cwd(), signals);\n const repoRoot = rootResult.root;\n if (rootResult.source === 'api') {\n log(`repo-root from Vercel API: '${repoRoot}' (rootDirectory='${rootResult.apiOffset}')`);\n } else if (rootResult.source === 'auto-detected') {\n log(`repo-root auto-detected: '${repoRoot}' (probe: ${rootResult.probe})`);\n } else if (rootResult.source === 'corrected') {\n log(`repo-root auto-corrected: '${args.repoRoot}' → '${repoRoot}' (sub-agent paths resolve there)`);\n }\n log(`verifying ${recs.length} rec(s) — framework=${framework ?? '?'}@${version ?? '?'} repoRoot=${repoRoot}`);\n\n // knownFindings MUST combine scanner findings + sub-agent's verified\n // findingRefs — scanner-only grounding would miss every metric-gate rec.\n // Abstentions are first-class outputs ({abstain:true, candidateRef, reason})\n // and MUST NOT be graded; the abstention IS the answer.\n const recsGraded = [];\n const abstentions = [];\n const observations = [];\n const sanitizerDropped = [];\n for (let i = 0; i \u003c recs.length; i++) {\n const rec = recs[i];\n\n if (rec?.abstain === true) {\n abstentions.push({\n index: i,\n candidateRef: rec.candidateRef ?? null,\n reason: rec.reason ?? '(no reason recorded)',\n });\n // Observation: real non-perf signal worth surfacing (regression, error storm).\n if (rec.observation && typeof rec.observation === 'object' && rec.observation.summary) {\n observations.push({\n index: i,\n candidateRef: rec.candidateRef ?? null,\n summary: String(rec.observation.summary),\n evidence: rec.observation.evidence ?? null,\n suggestedAction: rec.observation.suggestedAction ?? null,\n kind: rec.observation.kind ?? 'other',\n });\n }\n continue;\n }\n\n const baseClaimCtx = {\n framework,\n version,\n repoRoot,\n projectFacts,\n projectRootDirectory: signals?.project?.rootDirectory ?? null,\n cacheComponents,\n signals,\n };\n const initialClaims = extractClaims(rec, baseClaimCtx);\n const initialVerifyResults = await Promise.all(initialClaims.map((c) => verifyClaim(c)));\n const initialClaimsWithResults = initialVerifyResults.map((r, j) => ({\n ...r,\n type: initialClaims[j]?.type,\n claimType: initialClaims[j]?.type,\n claim: initialClaims[j],\n }));\n const sanitizerResult = await applySanitizers(rec, {\n framework,\n version,\n signals,\n verifyResults: initialClaimsWithResults,\n });\n if (!sanitizerResult.kept) {\n sanitizerDropped.push({\n index: i,\n candidateRef: rec.candidateRef ?? null,\n what: rec.what ?? null,\n reason: sanitizerResult.dropReason ?? 'automated-check',\n });\n continue;\n }\n\n const sanitizedRec = sanitizerResult.rec;\n const claims = extractClaims(sanitizedRec, baseClaimCtx);\n const verifyResults = await Promise.all(claims.map((c) => verifyClaim(c)));\n const verification = summarizeClaimResults(verifyResults);\n\n // A findingRef whose file_exists claim verified counts as grounding evidence.\n const verifiedRefs = [];\n for (let j = 0; j \u003c claims.length; j++) {\n const c = claims[j];\n const r = verifyResults[j];\n if (r?.disposition !== 'verified') continue;\n if (c.sourceField === 'findingRefs' && c.type === 'file_exists') {\n const ref = (rec.findingRefs ?? []).find((x) => String(x).startsWith(c.file + ':'));\n if (ref) {\n const m = String(ref).match(/^(.+?):(\\d+)$/);\n if (m) verifiedRefs.push({ file: m[1], line: Number(m[2]) });\n }\n }\n }\n const recKnownFindings = [...knownFindings, ...verifiedRefs];\n const quality = gradeRecommendation(sanitizedRec, { knownFindings: recKnownFindings });\n\n recsGraded.push({\n index: i,\n rec: { ...sanitizedRec, verification, verifyResults, quality },\n claims,\n verifyResults,\n verification,\n quality,\n });\n }\n\n // Project-config contradictions are a HARD trigger: a \"turn on Fluid\" rec on\n // a project where Fluid is already on passes 8/9 claims but is the wrong rec.\n // passRate alone won't catch this.\n const regenPlan = [];\n for (const g of recsGraded) {\n const { passRate, verifiable } = g.verification;\n const claimsWithResults = g.verifyResults.map((r, j) => ({ ...r, claim: g.claims[j] }));\n const contradictions = claimsWithResults.filter(\n (r) => r.disposition === 'failed' && r.claim?.type === 'does_not_contradict_project_config'\n );\n const triggeredByPassRate = verifiable >= REGEN_MIN_CLAIMS && passRate \u003c REGEN_PASS_RATE_THRESHOLD;\n const cacheSafetyFailures = claimsWithResults.filter(\n (r) => r.disposition === 'failed' && (\n r.claim?.type === 'cache_vary_matches_dynamic_inputs' ||\n r.claim?.type === 'cache_vary_cardinality_safe'\n )\n );\n const semanticSafetyFailures = claimsWithResults.filter(\n (r) => r.disposition === 'failed' && (\n r.claim?.type === 'next_cached_not_found_causal_support' ||\n r.claim?.type === 'next_stable_cache_api_for_version' ||\n r.claim?.type === 'next_runtime_cache_api_for_version' ||\n r.claim?.type === 'next_cache_life_single_execution' ||\n r.claim?.type === 'next_cache_lifetime_freshness_supported' ||\n r.claim?.type === 'next_cache_components_route_chain_file' ||\n r.claim?.type === 'next_cache_life_cdn_header_semantics' ||\n r.claim?.type === 'image_response_headers_citation' ||\n r.claim?.type === 'next_image_priority_api_for_version' ||\n r.claim?.type === 'next_cache_components_route_segment_config' ||\n r.claim?.type === 'next_route_revalidate_static_prereq' ||\n r.claim?.type === 'next_cache_tag_invalidation_supported' ||\n r.claim?.type === 'cache_rec_not_error_dominated_or_acknowledged' ||\n r.claim?.type === 'cache_control_header_syntax' ||\n r.claim?.type === 'cache_control_headers_citation' ||\n r.claim?.type === 'cache_404_long_ttl_safety' ||\n r.claim?.type === 'route_error_not_found_status_and_scope' ||\n r.claim?.type === 'immutable_dynamic_route_safety' ||\n r.claim?.type === 'auth_guard_parallelization_safety' ||\n r.claim?.type === 'parallelization_impact_not_overclaimed' ||\n r.claim?.type === 'parallelization_not_cpu_bound_work' ||\n r.claim?.type === 'runtime_error_cause_supported' ||\n r.claim?.type === 'vercel_ignore_command_project_state'\n )\n );\n const triggeredByContradiction = contradictions.length > 0;\n const triggeredByCacheSafety = cacheSafetyFailures.length > 0;\n const triggeredBySemanticSafety = semanticSafetyFailures.length > 0;\n if (!triggeredByPassRate && !triggeredByContradiction && !triggeredByCacheSafety && !triggeredBySemanticSafety) continue;\n\n const failures = claimsWithResults\n .filter((r) => r.disposition === 'failed')\n .slice(0, 5);\n regenPlan.push({\n index: g.index,\n candidateRef: g.rec.candidateRef ?? null,\n what: g.rec.what ?? null,\n verifiableClaimCount: verifiable,\n passRate,\n regenTrigger: triggeredByContradiction\n ? 'project_config_contradiction'\n : triggeredByCacheSafety\n ? 'cache_vary_safety'\n : triggeredBySemanticSafety\n ? 'semantic_safety'\n : 'pass_rate_below_threshold',\n topFailures: failures.map((f) => ({\n claimType: f.claim?.type,\n field: f.claim?.sourceField,\n url: f.claim?.url,\n file: f.claim?.file,\n pattern: f.claim?.pattern,\n reason: f.reason,\n })),\n regenBriefHint: triggeredByContradiction\n ? 'Sub-agent recommended toggling on a project setting that is already enabled. Re-spawn with the project-config Strengths block highlighted; the rec must drop the contradictory step and keep only the actionable parts.'\n : triggeredByCacheSafety\n ? 'Sub-agent recommended CDN caching with unsafe or missing Vary behavior. Re-spawn with the cache safety failure highlighted; the rec must use a low-cardinality Vary header that matches the dynamic inputs, or abstain.'\n : triggeredBySemanticSafety\n ? 'Sub-agent made a framework-semantic claim that failed deterministic checks. Re-spawn with the failure highlighted; the rec must either add version-correct code/citations/runtime evidence or abstain.'\n : 'Re-spawn the sub-agent with this rec\\'s topFailures injected as feedback. Re-emit the rec only if regenPassRate >= originalPassRate AND citation count not gutted.',\n });\n }\n\n const qualityCheck = applyQualityFloor(recsGraded.map((g) => g.rec), QUALITY_FLOOR);\n const hardRegenIndexes = new Set(regenPlan.map((p) => p.index));\n const qualityDroppedIndexes = new Set(\n qualityCheck.dropped\n .map((d) => recsGraded.findIndex((g) => g.rec === d.rec))\n .filter((i) => i >= 0)\n );\n const needsReviewIndexes = new Set(\n recsGraded\n .filter((g) => g.rec.needsReview === true)\n .map((g) => g.index)\n );\n const verifiedRecommendations = recsGraded\n .filter((g) => !hardRegenIndexes.has(g.index) && !qualityDroppedIndexes.has(g.index) && !needsReviewIndexes.has(g.index))\n .map((g) => g.rec);\n const withheldRecommendations = recsGraded\n .filter((g) => hardRegenIndexes.has(g.index) || qualityDroppedIndexes.has(g.index) || needsReviewIndexes.has(g.index))\n .map((g) => ({\n index: g.index,\n candidateRef: g.rec.candidateRef ?? null,\n what: g.rec.what ?? null,\n reason: hardRegenIndexes.has(g.index)\n ? (regenPlan.find((p) => p.index === g.index)?.regenTrigger ?? 'verification')\n : qualityDroppedIndexes.has(g.index)\n ? 'quality_floor'\n : 'needs_review',\n }));\n\n const summary = {\n totalRecs: recs.length,\n abstentions: abstentions.length,\n observations: observations.length,\n sanitizerDropped: sanitizerDropped.length,\n needsRegen: regenPlan.length,\n qualityDropped: qualityCheck.dropped.length,\n needsReview: needsReviewIndexes.size,\n verifiedRecommendations: verifiedRecommendations.length,\n withheldRecommendations: withheldRecommendations.length,\n averagePassRate: recsGraded.length > 0\n ? round4(recsGraded.reduce((s, g) => s + g.verification.passRate, 0) / recsGraded.length)\n : null,\n averageQuality: recsGraded.length > 0\n ? round4(recsGraded.reduce((s, g) => s + g.quality.overall, 0) / recsGraded.length)\n : null,\n };\n\n const output = {\n schemaVersion: SCHEMA_VERSION,\n summary,\n recsGraded: recsGraded.map((g) => g.rec),\n verifiedRecommendations,\n renderableRecommendations: verifiedRecommendations,\n withheldRecommendations,\n abstentions,\n observations,\n sanitizerDropped,\n regenPlan,\n qualityDropped: qualityCheck.dropped.map((d) => ({\n index: recsGraded.findIndex((g) => g.rec === d.rec),\n candidateRef: d.rec.candidateRef ?? null,\n quality: d.rec.quality,\n reason: d.reason,\n })),\n };\n\n const serialized = JSON.stringify(output, null, 2) + '\\n';\n if (args.outPath) {\n await mkdir(dirname(args.outPath), { recursive: true });\n await writeFile(args.outPath, serialized, 'utf-8');\n log(`wrote ${serialized.length}B → ${args.outPath}`);\n } else {\n process.stdout.write(serialized);\n }\n log(`done: ${summary.totalRecs} records checked; ${summary.verifiedRecommendations} ready, ${summary.withheldRecommendations} held back, ${summary.abstentions} found no supported change, ${summary.sanitizerDropped} dropped by safety checks`);\n}\n\nfunction parseArgs(argv) {\n const out = { positional: [] };\n for (let i = 0; i \u003c argv.length; i++) {\n const a = argv[i];\n if (a === '--signals') out.signalsPath = argv[++i];\n else if (a.startsWith('--signals=')) out.signalsPath = a.slice('--signals='.length);\n else if (a === '--repo-root') out.repoRoot = argv[++i];\n else if (a.startsWith('--repo-root=')) out.repoRoot = a.slice('--repo-root='.length);\n else if (a === '--out') out.outPath = resolve(argv[++i]);\n else if (a.startsWith('--out=')) out.outPath = resolve(a.slice('--out='.length));\n else out.positional.push(a);\n }\n out.recsPath = out.positional[0];\n return out;\n}\n\nfunction round4(n) { return Math.round(n * 10000) / 10000; }\n\nmain().catch((err) => {\n console.error('[verify-and-regen] FAILED:', err.message);\n console.error(err.stack);\n process.exit(1);\n});\n","content_type":"text/javascript","language":"javascript","size":15238,"content_sha256":"9211268107c17f577d24a8994515946b9fd3a1fc1d2353a79dd0a139df25f706"},{"filename":"scripts/verify-finding.mjs","content":"#!/usr/bin/env node\n// CLI shell around lib/verify-claim.mjs. argv[2] = JSON claim, stdout = result.\n// Claim `type` enum: pattern_count | pattern_exists | pattern_absent | file_exists |\n// code_snippet | repo_count | citation_in_library | citation_applies_to_version.\n\nimport { verifyClaim } from '../lib/verify-claim.mjs';\n\nconst SCHEMA_VERSION = '1.0';\n\nasync function main() {\n const claim = JSON.parse(process.argv[2] || '{}');\n const result = await verifyClaim(claim);\n process.stdout.write(JSON.stringify({ schemaVersion: SCHEMA_VERSION, ...result }, null, 2) + '\\n');\n}\n\nmain().catch((err) => {\n process.stderr.write(`[verify-finding] FAILED: ${err.message}\\n`);\n process.exit(1);\n});\n","content_type":"text/javascript","language":"javascript","size":698,"content_sha256":"534590f7900e20648f67cc2d6845502960709ddfeb10cbb6733ade37b2eebe8e"}],"content_json":{"type":"doc","content":[{"type":"heading","attrs":{"level":1},"content":[{"text":"Vercel Optimize","type":"text"}]},{"type":"paragraph","content":[{"text":"Run an observability-first Vercel optimization audit. Do not inspect source files until ","type":"text"},{"text":"signals.json","type":"text","marks":[{"type":"code_inline"}]},{"text":" exists and a deterministic gate points to a route, file, or project setting.","type":"text"}]},{"type":"paragraph","content":[{"text":"Core doctrine: read ","type":"text"},{"text":"references/doctrine.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/doctrine.md","title":null}}]},{"text":" if any rule is unclear.","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Metrics first. Recommendations start from Vercel production signals, not repo-wide grep.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Deterministic gates. ","type":"text"},{"text":"scripts/gate-investigations.mjs","type":"text","marks":[{"type":"code_inline"}]},{"text":" decides what deserves investigation.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Candidate-bound scope. Read only files named by a candidate or a route-local import chain.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Version-aware citations. Use only ","type":"text"},{"text":"references/docs-library.json","type":"text","marks":[{"type":"code_inline"}]},{"text":"; invalid or version-mismatched citations are stripped.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Customer copy. Read ","type":"text"},{"text":"references/voice.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/voice.md","title":null}}]},{"text":" before writing report text or chat output.","type":"text"}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Prerequisites","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Vercel CLI v53+ with ","type":"text"},{"text":"vercel metrics","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"vercel usage","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"vercel contract","type":"text","marks":[{"type":"code_inline"}]},{"text":", and ","type":"text"},{"text":"vercel api","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Authenticated CLI session: ","type":"text"},{"text":"vercel login","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Linked app directory: ","type":"text"},{"text":"vercel link","type":"text","marks":[{"type":"code_inline"}]},{"text":". ","type":"text"},{"text":"VERCEL_PROJECT_ID","type":"text","marks":[{"type":"code_inline"}]},{"text":" can help resolve project config, but ","type":"text"},{"text":"vercel metrics","type":"text","marks":[{"type":"code_inline"}]},{"text":" still requires directory linkage. The link or environment must include the intended project org/team/user scope so the collector can resolve a CLI-safe ","type":"text"},{"text":"--scope","type":"text","marks":[{"type":"code_inline"}]},{"text":" and keep ","type":"text"},{"text":"vercel metrics","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"vercel usage","type":"text","marks":[{"type":"code_inline"}]},{"text":", and ","type":"text"},{"text":"vercel contract","type":"text","marks":[{"type":"code_inline"}]},{"text":" on the same account.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Node.js 20+.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Observability Plus for route-level metric-backed recommendations.","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Never put auth tokens in shell commands. Do not type ","type":"text"},{"text":"VERCEL_TOKEN=...","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--token ...","type":"text","marks":[{"type":"code_inline"}]},{"text":", or ","type":"text"},{"text":"Authorization: Bearer ...","type":"text","marks":[{"type":"code_inline"}]},{"text":" into commands that may be echoed in chat.","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Framework Support","type":"text"}]},{"type":"paragraph","content":[{"text":"The preflight reads ","type":"text"},{"text":"package.json","type":"text","marks":[{"type":"code_inline"}]},{"text":" and sets expectations before metric fan-out.","type":"text"}]},{"type":"table","attrs":{"layout":null},"content":[{"type":"tr","content":[{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Framework","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Status","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Notes","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Next.js App Router","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"supported","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"strongest route mapping, scanners, playbooks, citations","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Next.js Pages Router","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"supported","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"scoped to Pages Router idioms when detected","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"SvelteKit","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"supported","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"route mapping for ","type":"text"},{"text":"src/routes","type":"text","marks":[{"type":"code_inline"}]},{"text":" files and SvelteKit scanner","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Nuxt","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"supported","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"route mapping plus generic/platform checks; fewer framework-specific recs","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Astro","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"limited","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"route mapping plus generic checks; fewer framework-specific recs","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Hono / Remix / unknown","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"blocked by default","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"continue only if the user accepts a limited platform/code-only audit","type":"text"}]}]}]}]},{"type":"paragraph","content":[{"text":"If unsupported, stop and ask before scanning or gating:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"text"},"content":[{"text":"This project uses \u003cframework>. Vercel Optimize supports metric-backed code recommendations for Next.js, SvelteKit, and Nuxt. Astro support is limited. For \u003cframework>, I can still run a limited platform/scanner audit, but route-level Vercel metrics may not map back to source files.\n\nDo you want me to continue with the limited audit, or stop here?","type":"text"}]},{"type":"paragraph","content":[{"text":"If the user continues, rerun collection with ","type":"text"},{"text":"--continue-unsupported-framework","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Run Directory","type":"text"}]},{"type":"paragraph","content":[{"text":"Use a fresh run directory for every audit. Do not reuse briefs, sub-agent outputs, or reports across runs.","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"RUN_DIR=\"$(mktemp -d -t vercel-optimize-XXXXXX)\"","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Pipeline","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"1. Collect, scan, and merge signals","type":"text"}]},{"type":"paragraph","content":[{"text":"Run from the linked app directory or pass ","type":"text"},{"text":"--cwd","type":"text","marks":[{"type":"code_inline"}]},{"text":" where a script supports it. Keep stdout JSON separate from stderr logs. Do not combine streams.","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/collect-signals.mjs [projectId] > \"$RUN_DIR/vercel-signals.json\" 2> \"$RUN_DIR/collect.stderr\"\nnode -e 'JSON.parse(require(\"fs\").readFileSync(process.argv[1], \"utf8\"))' \"$RUN_DIR/vercel-signals.json\"\n\nnode scripts/scan-codebase.mjs \u003crepo-root> > \"$RUN_DIR/codebase.json\"\nnode scripts/merge-signals.mjs \"$RUN_DIR/vercel-signals.json\" \"$RUN_DIR/codebase.json\" --out \"$RUN_DIR/signals.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Collection details, schemas, metric IDs, and degradation behavior live in ","type":"text"},{"text":"references/data-collection.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/data-collection.md","title":null}}]},{"text":". The metric registry is ","type":"text"},{"text":"lib/queries.mjs","type":"text","marks":[{"type":"link","attrs":{"href":"lib/queries.mjs","title":null}}]},{"text":"; keep all queries on the shared 14-day window.","type":"text"}]},{"type":"paragraph","content":[{"text":"collect-signals.mjs","type":"text","marks":[{"type":"code_inline"}]},{"text":" resolves the linked project owner to ","type":"text"},{"text":"commandScope.cliScope","type":"text","marks":[{"type":"code_inline"}]},{"text":" and verifies that the resolved account can read the resolved project before it checks Observability Plus. Downstream scripts reuse that scope for every Vercel CLI command that accepts ","type":"text"},{"text":"--scope","type":"text","marks":[{"type":"code_inline"}]},{"text":". Do not run ","type":"text"},{"text":"vercel usage","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"vercel metrics","type":"text","marks":[{"type":"code_inline"}]},{"text":", or ","type":"text"},{"text":"vercel contract","type":"text","marks":[{"type":"code_inline"}]},{"text":" manually without the same scope; unscoped usage can report the user's personal organization while route metrics come from the team project.","type":"text"}]},{"type":"paragraph","content":[{"text":"If project or scope resolution is ambiguous, stop and ask the user which Vercel project and team/personal scope they want audited. Do not infer the intended scope from the current ","type":"text"},{"text":"vercel whoami","type":"text","marks":[{"type":"code_inline"}]},{"text":" team, and do not proceed with metrics, usage, or contract collection until the link, an exact project match in ","type":"text"},{"text":".vercel/repo.json","type":"text","marks":[{"type":"code_inline"}]},{"text":", or ","type":"text"},{"text":"VERCEL_PROJECT_ID","type":"text","marks":[{"type":"code_inline"}]},{"text":" + ","type":"text"},{"text":"VERCEL_ORG_ID","type":"text","marks":[{"type":"code_inline"}]},{"text":" identifies the intended account.","type":"text"}]},{"type":"paragraph","content":[{"text":"Use this prompt for ","type":"text"},{"text":"PROJECT_SCOPE_UNRESOLVED","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"SCOPE_UNRESOLVED","type":"text","marks":[{"type":"code_inline"}]},{"text":", or ","type":"text"},{"text":"PROJECT_SCOPE_MISMATCH","type":"text","marks":[{"type":"code_inline"}]},{"text":":","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"text"},"content":[{"text":"I can't safely identify the Vercel project and account for this audit yet.\n\nPlease confirm the Vercel project name or ID and the team slug/name, or tell me it's under your personal account. Once confirmed, I'll relink or rerun collection against that exact scope before checking metrics.","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"1.1 Stop on blockers","type":"text"}]},{"type":"paragraph","content":[{"text":"Check blockers before gating:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"jq '{frameworkSupportBlocker, observabilityPlus, observabilityPlusUsable, observabilityPlusBlocker, observabilityPlusBlockerDetail}' \"$RUN_DIR/signals.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Required actions:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"frameworkSupportBlocker === \"unsupported_framework\"","type":"text","marks":[{"type":"code_inline"}]},{"text":": use the unsupported-framework prompt above.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"PROJECT_SCOPE_UNRESOLVED","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"SCOPE_UNRESOLVED","type":"text","marks":[{"type":"code_inline"}]},{"text":", or ","type":"text"},{"text":"PROJECT_SCOPE_MISMATCH","type":"text","marks":[{"type":"code_inline"}]},{"text":": stop and ask which Vercel project and team/personal scope the user wants audited. For team projects, rerun after ","type":"text"},{"text":"vercel link --yes --project \u003cproject-name-or-id> --team \u003cteam-slug>","type":"text","marks":[{"type":"code_inline"}]},{"text":"; for personal projects, rerun after linking under the intended user account or after setting both ","type":"text"},{"text":"VERCEL_PROJECT_ID","type":"text","marks":[{"type":"code_inline"}]},{"text":" and ","type":"text"},{"text":"VERCEL_ORG_ID","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"observabilityPlusBlocker === null","type":"text","marks":[{"type":"code_inline"}]},{"text":": continue.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"no_traffic","type":"text","marks":[{"type":"code_inline"}]},{"text":": tell the user route metrics are sparse; continue only if they accept limited output.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"payment_required","type":"text","marks":[{"type":"code_inline"}]},{"text":" or ","type":"text"},{"text":"no_oplus_probe","type":"text","marks":[{"type":"code_inline"}]},{"text":": render ","type":"text"},{"text":"references/observability-plus.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/observability-plus.md","title":null}}]},{"text":" verbatim and ask.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"project_disabled","type":"text","marks":[{"type":"code_inline"}]},{"text":": tell the user to enable Observability Plus for the project or accept a limited audit.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"daily_quota_exceeded","type":"text","marks":[{"type":"code_inline"}]},{"text":": stop and tell the user the Observability query quota is exhausted; retry after the next UTC midnight reset, or ask whether to continue with a limited code-only audit.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"not_linked","type":"text","marks":[{"type":"code_inline"}]},{"text":": link the app directory, then rerun Step 1. If app path and project are known:","type":"text"}]}]}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"vercel link --yes --project \u003cproject-name-or-id> --cwd \u003capp-dir>\n# add --team \u003cteam-id-or-slug> when known","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"forbidden","type":"text","marks":[{"type":"code_inline"}]},{"text":" or ","type":"text"},{"text":"project_not_found","type":"text","marks":[{"type":"code_inline"}]},{"text":": fix auth/team scope. Do not pitch Observability Plus.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"all_failed_other","type":"text","marks":[{"type":"code_inline"}]},{"text":": show the raw error code and ask whether to continue in limited code-only mode.","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Do not silently fall back to code-only mode. If the user accepts a limited audit, rerun collection with:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/collect-signals.mjs [projectId] --continue-without-observability > \"$RUN_DIR/vercel-signals.json\" 2> \"$RUN_DIR/collect.stderr\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Then scan and merge again.","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2. Gate candidates","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/gate-investigations.mjs \"$RUN_DIR/signals.json\" > \"$RUN_DIR/gate.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Output shape:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"toLaunch","type":"text","marks":[{"type":"code_inline"}]},{"text":": code-scope candidates to investigate.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"platform","type":"text","marks":[{"type":"code_inline"}]},{"text":": project/account-scope recommendations.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gated","type":"text","marks":[{"type":"code_inline"}]},{"text":": skipped, covered, or disqualified candidates that must still appear in the report.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"budget","type":"text","marks":[{"type":"code_inline"}]},{"text":": candidate budget and selection mode.","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Default budget is 6 code-scope candidates with a diversity guardrail. To expand:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/gate-investigations.mjs \"$RUN_DIR/signals.json\" --max-candidates 12 > \"$RUN_DIR/gate.json\"\nnode scripts/gate-investigations.mjs \"$RUN_DIR/signals.json\" --max-candidates all > \"$RUN_DIR/gate.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Generated candidate docs: ","type":"text"},{"text":"references/candidates.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/candidates.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2.1 Ask about audit scope when needed","type":"text"}]},{"type":"paragraph","content":[{"text":"Before deep-dive, run:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/budget-summary.mjs \"$RUN_DIR/gate.json\" --format json > \"$RUN_DIR/budget-summary.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"If ","type":"text"},{"text":"shouldAsk","type":"text","marks":[{"type":"code_inline"}]},{"text":" is false, continue.","type":"text"}]},{"type":"paragraph","content":[{"text":"If ","type":"text"},{"text":"shouldAsk","type":"text","marks":[{"type":"code_inline"}]},{"text":" is true:","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Print ","type":"text"},{"text":"exactChatMessage.body","type":"text","marks":[{"type":"code_inline"}]},{"text":" exactly as returned. Do not summarize, truncate, reorder, or rewrite it.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Then ask ","type":"text"},{"text":"questionText","type":"text","marks":[{"type":"code_inline"}]},{"text":" using ","type":"text"},{"text":"questionPayload","type":"text","marks":[{"type":"code_inline"}]},{"text":" when the host supports structured questions.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"If the user chooses a different number, rerun the gate with ","type":"text"},{"text":"--max-candidates \u003cchoice>","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Never put the long preview inside the question field. The preview and the question are separate surfaces.","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2.2 Deep-dive and reconcile","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/deep-dive.mjs \"$RUN_DIR/signals.json\" \"$RUN_DIR/gate.json\" --cwd \u003cproject-dir> > \"$RUN_DIR/investigation-evidence.json\"\n\nnode scripts/reconcile-candidates.mjs \"$RUN_DIR/investigation-evidence.json\" \\\n --gate \"$RUN_DIR/gate.json\" \\\n --out \"$RUN_DIR/reconciled-investigation.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"--cwd","type":"text","marks":[{"type":"code_inline"}]},{"text":" must be the linked project directory so ","type":"text"},{"text":"deep-dive.mjs","type":"text","marks":[{"type":"code_inline"}]},{"text":" can verify the same project link and reuse ","type":"text"},{"text":"signals.json.commandScope.cliScope","type":"text","marks":[{"type":"code_inline"}]},{"text":" for any follow-up ","type":"text"},{"text":"vercel metrics","type":"text","marks":[{"type":"code_inline"}]},{"text":" calls.","type":"text"}]},{"type":"paragraph","content":[{"text":"Reconciliation deterministically converts disproven candidates into observations before any source investigation:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"metric_mismatch","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"error_storm","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"deployment_regression","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"scanner_only_no_metric","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2.3 Generate briefs and investigate","type":"text"}]},{"type":"paragraph","content":[{"text":"List the work:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/prepare-investigation-brief.mjs \"$RUN_DIR/signals.json\" \"$RUN_DIR/reconciled-investigation.json\" --list > \"$RUN_DIR/briefs-manifest.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Generate one brief for every entry in ","type":"text"},{"text":"briefs-manifest.json.briefs","type":"text","marks":[{"type":"code_inline"}]},{"text":". The ","type":"text"},{"text":"group","type":"text","marks":[{"type":"code_inline"}]},{"text":" can be ","type":"text"},{"text":"toLaunch","type":"text","marks":[{"type":"code_inline"}]},{"text":" or ","type":"text"},{"text":"platform","type":"text","marks":[{"type":"code_inline"}]},{"text":"; do not generate only ","type":"text"},{"text":"toLaunch","type":"text","marks":[{"type":"code_inline"}]},{"text":" briefs.","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"mkdir -p \"$RUN_DIR/briefs\" \"$RUN_DIR/sub-agent-outputs\"\nnode scripts/prepare-investigation-brief.mjs \"$RUN_DIR/signals.json\" \"$RUN_DIR/reconciled-investigation.json\" \\\n --group \u003cbrief.group> --index \u003cbrief.index> --out \"$RUN_DIR/briefs/\u003cbrief.group>-\u003cbrief.index>.md\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Use ","type":"text"},{"text":"briefs-manifest.json.briefs[].label","type":"text","marks":[{"type":"code_inline"}]},{"text":" for visible worker names, for example ","type":"text"},{"text":"Low cache-hit route on /docs/llm-digest/[...slug]","type":"text","marks":[{"type":"code_inline"}]},{"text":", not ","type":"text"},{"text":"toLaunch-7","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]},{"type":"paragraph","content":[{"text":"Fan-out rule:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"1-2 briefs: investigate inline.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"3+ briefs: spawn one sub-agent per brief when the host supports it.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Hosts without sub-agents: run inline serially.","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Sub-agent contract:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"The brief is the whole prompt.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Read only files listed in the brief, plus route-local imports when needed.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Emit one JSON recommendation or one JSON no-change finding using ","type":"text"},{"text":"references/recommendations.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/recommendations.md","title":null}}]},{"text":".","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Do not cite URLs outside the provided citation subset.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Do not recommend framework features unavailable in the detected version.","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"If a sub-agent reaches for repo-wide grep, the candidate is malformed; drop or abstain rather than widening scope.","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2.4 Collect outputs","type":"text"}]},{"type":"paragraph","content":[{"text":"Save each raw investigation result in ","type":"text"},{"text":"$RUN_DIR/sub-agent-outputs/","type":"text","marks":[{"type":"code_inline"}]},{"text":", then collect:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/collect-sub-agent-outputs.mjs \\\n --manifest \"$RUN_DIR/briefs-manifest.json\" \\\n --out \"$RUN_DIR/recommendations.json\" \\\n \"$RUN_DIR/sub-agent-outputs/\"","type":"text"}]},{"type":"paragraph","content":[{"text":"The collector extracts JSON, prepends pre-resolved records, enforces manifest order, and fails on missing, duplicate, unknown, or mismatched ","type":"text"},{"text":"candidateRef","type":"text","marks":[{"type":"code_inline"}]},{"text":" values.","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"3. Verify recommendations","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/verify-and-regen.mjs \"$RUN_DIR/recommendations.json\" \\\n --signals \"$RUN_DIR/signals.json\" \\\n --repo-root \u003cproject-dir> \\\n --out \"$RUN_DIR/verify.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"This script extracts claims, verifies files/citations/version fit, grades quality, applies sanitizers, emits ","type":"text"},{"text":"verifiedRecommendations","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"withheldRecommendations","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"renderableRecommendations","type":"text","marks":[{"type":"code_inline"}]},{"text":", and creates ","type":"text"},{"text":"regenPlan","type":"text","marks":[{"type":"code_inline"}]},{"text":" for failed or unsafe recommendations.","type":"text"}]},{"type":"paragraph","content":[{"text":"Recommendation schema, writing rules, sanitizer order, and grading rules: ","type":"text"},{"text":"references/recommendations.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/recommendations.md","title":null}}]},{"text":". Verification rules: ","type":"text"},{"text":"references/verification.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/verification.md","title":null}}]},{"text":".","type":"text"}]},{"type":"paragraph","content":[{"text":"For each ","type":"text"},{"text":"regenPlan","type":"text","marks":[{"type":"code_inline"}]},{"text":" entry, rerun the same brief with a ","type":"text"},{"text":"Previous attempt failed these checks","type":"text","marks":[{"type":"code_inline"}]},{"text":" section listing ","type":"text"},{"text":"topFailures","type":"text","marks":[{"type":"code_inline"}]},{"text":". Keep the regenerated output only if verification improves without gutting citations.","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"4. Render report and final message","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"node scripts/render-report.mjs \"$RUN_DIR/verify.json\" \"$RUN_DIR/gate.json\" \"$RUN_DIR/signals.json\" \\\n --project \u003cname> \\\n --out \"$RUN_DIR/report.md\" \\\n --message-out \"$RUN_DIR/final-message.json\"","type":"text"}]},{"type":"paragraph","content":[{"text":"Use ","type":"text"},{"text":"--debug-out \"$RUN_DIR/debug.json\"","type":"text","marks":[{"type":"code_inline"}]},{"text":" only when developing the skill. Customer Markdown and chat output must not expose ","type":"text"},{"text":"passRate","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"quality","type":"text","marks":[{"type":"code_inline"}]},{"text":", sanitizer trails, raw sub-agent names, or other implementation fields.","type":"text"}]},{"type":"paragraph","content":[{"text":"After rendering, print ","type":"text"},{"text":"final-message.json.body","type":"text","marks":[{"type":"code_inline"}]},{"text":" verbatim and stop. Do not add highlights, debug notes, raw counts, sub-agent summaries, or extra explanation. Render-time dedupe, platform caps, and hard-safety drops can change the customer-visible count, so never summarize from raw ","type":"text"},{"text":"verify.json","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]},{"type":"paragraph","content":[{"text":"Report structure and impact framing: ","type":"text"},{"text":"references/scoring.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/scoring.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Recommendation Rules","type":"text"}]},{"type":"paragraph","content":[{"text":"Every recommendation must:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Trace to a launched candidate, platform candidate, pre-resolved observation, or verified traffic-independent scanner finding.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Include observed metric evidence from ","type":"text"},{"text":"signals.json","type":"text","marks":[{"type":"code_inline"}]},{"text":" or ","type":"text"},{"text":"evidence.deepDive","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Cite verified files with line numbers when code is involved.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Include at least one allowed citation that applies to the detected framework/version.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Use precise observed performance numbers.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Use cost magnitude phrases only; never customer-facing ","type":"text"},{"text":"$N","type":"text","marks":[{"type":"code_inline"}]},{"text":" savings.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Do not recommend duration reductions for Vercel Workflow runtime endpoints (","type":"text"},{"text":"/.well-known/workflow/v1/*","type":"text","marks":[{"type":"code_inline"}]},{"text":"). These are generated orchestration routes for durable step/flow execution and should be hard-gated before investigation.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Workflow recommendations must name the boundary being changed. Valid examples: enqueue durable work and return a run ID instead of awaiting completion, fix stream replay/closure/locks, or reduce verified excess Workflow Steps/Storage. Do not infer cost savings from Workflow endpoint wall-clock duration.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"For streaming, SSE, resumable chat, or other intentionally long-lived routes, do not frame wall-clock function duration as a problem by itself. Require evidence of avoidable pre-first-byte work, high active CPU, duplicate invocations, or post-response work that can move out of the user-visible path.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Name a specific cache policy when recommending caching.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Keep unsafe responses dynamic unless evidence proves they are safe to cache: auth-sensitive paths, errors, fallback responses, missing content, invalid requests, geolocation/device-varying output, and unversioned dynamic URLs.","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Never recommend \"verify X is on\" for facts already present in ","type":"text"},{"text":"signals.project","type":"text","marks":[{"type":"code_inline"}]},{"text":", including Fluid compute status, memory tier, regions, in-function concurrency, and timeout.","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Scanner Rules","type":"text"}]},{"type":"paragraph","content":[{"text":"Scanner findings are supplementary. Drop findings annotated ","type":"text"},{"text":"COLD-PATH","type":"text","marks":[{"type":"code_inline"}]},{"text":" or ","type":"text"},{"text":"NO-ROUTE-MAPPING","type":"text","marks":[{"type":"code_inline"}]},{"text":" unless the scanner declares ","type":"text"},{"text":"metadata.trafficIndependent === true","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]},{"type":"paragraph","content":[{"text":"Traffic-independent examples: middleware matcher, source maps, React Compiler config, build settings. Route-local cache or data-fetch patterns need route-level traffic evidence.","type":"text"}]},{"type":"paragraph","content":[{"text":"Scanner docs: ","type":"text"},{"text":"references/scanner-patterns.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/scanner-patterns.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Final Customer Terms","type":"text"}]},{"type":"paragraph","content":[{"text":"Use:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"recommendations ready","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"observations from investigation","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"investigated, no change recommended","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"not investigated in this run","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"paragraph","content":[{"text":"Avoid:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"sub-agent","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"abstention","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"passRate","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"quality score","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gate","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"LLM","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Failure Copy","type":"text"}]},{"type":"paragraph","content":[{"text":"Use these messages without adding sales copy or process detail.","type":"text"}]},{"type":"paragraph","content":[{"text":"No traffic in the last 14 days:","type":"text","marks":[{"type":"strong"}]}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"This project has no meaningful traffic in the last 14 days, so route-level metrics are sparse. I can still check traffic-independent scanner findings and project settings, but I cannot rank route fixes until traffic accumulates.","type":"text"}]}]},{"type":"paragraph","content":[{"text":"Route-level metrics unavailable:","type":"text","marks":[{"type":"strong"}]}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"Use the verbatim choice template in ","type":"text"},{"text":"references/observability-plus.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/observability-plus.md","title":null}}]},{"text":". Do not silently fall back to code-only mode; present the two-path choice: enable Observability Plus and rerun the metric-backed audit, or accept a limited code-only run.","type":"text"}]}]},{"type":"paragraph","content":[{"text":"Project is not linked:","type":"text","marks":[{"type":"strong"}]}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"This worktree is not linked to a Vercel project. Run ","type":"text"},{"text":"vercel link --yes --project \u003cproject-name-or-id> --cwd \u003capp-dir>","type":"text","marks":[{"type":"code_inline"}]},{"text":" and rerun the audit. If the team is known, add ","type":"text"},{"text":"--team \u003cteam-id-or-slug>","type":"text","marks":[{"type":"code_inline"}]},{"text":".","type":"text"}]}]},{"type":"paragraph","content":[{"text":"Most route-to-file mappings failed:","type":"text","marks":[{"type":"strong"}]}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"The route inventory matched fewer than half of the routes we saw in observability. This is common in monorepos with custom routing. I've surfaced what I can match; the rest appear in the \"Not investigated in this run\" section.","type":"text"}]}]},{"type":"hr","attrs":{"markup":"---"}}]},"metadata":{"date":"2026-06-05","name":"vercel-optimize","author":"@skillopedia","source":{"stars":27419,"repo_name":"agent-skills","origin_url":"https://github.com/vercel-labs/agent-skills/blob/HEAD/skills/vercel-optimize/SKILL.md","repo_owner":"vercel-labs","body_sha256":"2538f63f59bb31ad2b3557730a161725bae6920b1915bf7058d772737a021ba8","cluster_key":"015b412f207b7e6c5011be0e334cd316371c2b9b67267da2019cdef912bba1ad","clean_bundle":{"format":"clean-skill-bundle-v1","source":"vercel-labs/agent-skills/skills/vercel-optimize/SKILL.md","attachments":[{"id":"f11719af-e08c-51a6-a6ce-0fb5db9a0a9c","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/f11719af-e08c-51a6-a6ce-0fb5db9a0a9c/attachment.md","path":"AGENTS.md","size":1964,"sha256":"922a35993ffd98c923d61fa3d7a722bc1bc17466ea1e0b5828f67de21fbb0e7a","contentType":"text/markdown; charset=utf-8"},{"id":"a9eb4b48-d73f-5f6f-b386-2a77e2c3f105","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a9eb4b48-d73f-5f6f-b386-2a77e2c3f105/attachment.md","path":"CONTRIBUTING.md","size":2224,"sha256":"4a3c6695f23ada3228582f1062509545dbad485e5011434c12b7ddd81bf1370a","contentType":"text/markdown; charset=utf-8"},{"id":"49afe380-c5c1-510c-a1f4-84cec3698da2","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/49afe380-c5c1-510c-a1f4-84cec3698da2/attachment.md","path":"README.md","size":4471,"sha256":"4ebb0ae7c6a2c8cfe7ed8ad26a6bee0be99d8682be331d9d28c1cb81ad3718d0","contentType":"text/markdown; charset=utf-8"},{"id":"e0e70981-e671-5dba-acc8-257c6029c3cb","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e0e70981-e671-5dba-acc8-257c6029c3cb/attachment.mjs","path":"lib/auth-route.mjs","size":807,"sha256":"c06a222bccd2c57b418b1d935d73f5b81297dac8533c004ec5bb4027cec3307a","contentType":"text/javascript"},{"id":"9de228cb-e427-52fa-bd8e-99ba6f963e99","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9de228cb-e427-52fa-bd8e-99ba6f963e99/attachment.mjs","path":"lib/budget-summary.mjs","size":7145,"sha256":"8662a2914940b8c548be164c09ce7706ea261549fb61147d2a7a13af1e3337cc","contentType":"text/javascript"},{"id":"a8fe4a50-9a27-58eb-a249-4ca3d49540e7","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a8fe4a50-9a27-58eb-a249-4ca3d49540e7/attachment.mjs","path":"lib/citations.mjs","size":4029,"sha256":"41a1bafa7addc4b39d144491f178a159cc23ff779b4803f2c152fe579209b384","contentType":"text/javascript"},{"id":"90f6412c-6d36-57ed-be4e-336bbeb51bcd","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/90f6412c-6d36-57ed-be4e-336bbeb51bcd/attachment.mjs","path":"lib/cost-coverage.mjs","size":8628,"sha256":"483b0f03f5db08e15388e1c047ffad414bb132bb3ce48418defc0d9a70a20e44","contentType":"text/javascript"},{"id":"5ea500e0-f991-5c59-8614-d4c14f6bee90","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/5ea500e0-f991-5c59-8614-d4c14f6bee90/attachment.mjs","path":"lib/dedup-recs.mjs","size":10151,"sha256":"5fc631c1f56eea8bf8c59afb773511d9a8f42d29574fa14f03abb60c881206cc","contentType":"text/javascript"},{"id":"dba947fa-f6b4-5eca-9910-6bead82ea04f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/dba947fa-f6b4-5eca-9910-6bead82ea04f/attachment.mjs","path":"lib/deep-dive.mjs","size":10458,"sha256":"c86c5ed224c00c2e72a54eef16260b8e7237302a7e69e47310077eae7f65ced1","contentType":"text/javascript"},{"id":"8a6462c6-f093-5b6e-b594-9d35879dd4e3","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/8a6462c6-f093-5b6e-b594-9d35879dd4e3/attachment.mjs","path":"lib/display-labels.mjs","size":7611,"sha256":"e56e54a0e19ed3ed4f45112cb358c1df5a77caa7411f5c2267c73064f64d1b08","contentType":"text/javascript"},{"id":"a0c68e68-d9d2-5648-9bfa-76841b4a0468","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a0c68e68-d9d2-5648-9bfa-76841b4a0468/attachment.mjs","path":"lib/extract-claims.mjs","size":19136,"sha256":"a3f44334dad0ba743699860d6b83a06e38c7e465f73418749822cf00d563ee2a","contentType":"text/javascript"},{"id":"38c56f5e-b69c-5a4a-a91b-cf4533b51609","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/38c56f5e-b69c-5a4a-a91b-cf4533b51609/attachment.mjs","path":"lib/framework-support.mjs","size":2126,"sha256":"ed8ef73604d5bd91f4aea6fb0de465079474e00299c23bbdba8b04dd70545364","contentType":"text/javascript"},{"id":"90dc2ace-92b9-5253-8764-974679eb601e","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/90dc2ace-92b9-5253-8764-974679eb601e/attachment.mjs","path":"lib/gates/build-minutes-fanout.mjs","size":3016,"sha256":"c088ab1f91af8b4e86e8f3f3210c7b625757a3699bd5818c905f66ade92064b1","contentType":"text/javascript"},{"id":"dcc57938-fdee-5118-aabd-e9b012ca830f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/dcc57938-fdee-5118-aabd-e9b012ca830f/attachment.mjs","path":"lib/gates/cold-start.mjs","size":2797,"sha256":"40023aae34ebc37df1382c7c4c00efc3864b2c11a8c9ee8cf05f371762680300","contentType":"text/javascript"},{"id":"ea0fb72c-e7d2-5ffc-a1ee-2bec9024d8dd","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ea0fb72c-e7d2-5ffc-a1ee-2bec9024d8dd/attachment.mjs","path":"lib/gates/contract.mjs","size":3143,"sha256":"e0bd012b53b6a70684279a3ad58598f5a1f79698d0e521d0e9d0994e87b3ae65","contentType":"text/javascript"},{"id":"1859feb9-f774-529b-8baa-50e588941727","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/1859feb9-f774-529b-8baa-50e588941727/attachment.mjs","path":"lib/gates/cwv-poor.mjs","size":3372,"sha256":"17ab4ae24b5d0220d941215db8544bed68c1af02e6d5d7aba4ff077a46675fbb","contentType":"text/javascript"},{"id":"0d3fe790-d5f1-53b1-ae2c-5e2585fef979","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/0d3fe790-d5f1-53b1-ae2c-5e2585fef979/attachment.mjs","path":"lib/gates/external-api-slow.mjs","size":2173,"sha256":"12ce4f0cf906e5631170a58307758f095069d3051c16f64ddeec00bb99a66dc9","contentType":"text/javascript"},{"id":"b9e94ef4-9ac6-5025-9964-7c47119d1037","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b9e94ef4-9ac6-5025-9964-7c47119d1037/attachment.mjs","path":"lib/gates/hard-gates.mjs","size":2543,"sha256":"b31d94495e20721b8ce825bde073ba9a32c14063b0cc711e23e2582fb0ebd677","contentType":"text/javascript"},{"id":"c5f1325f-0e82-525a-9812-70c095336f8d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c5f1325f-0e82-525a-9812-70c095336f8d/attachment.mjs","path":"lib/gates/index.mjs","size":2066,"sha256":"d473dfce777f68430d2b68836efb184152a59da97d3b06d37a6f618c7d4c59a6","contentType":"text/javascript"},{"id":"257dab3b-1388-5a5b-86a2-fc806ccaad76","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/257dab3b-1388-5a5b-86a2-fc806ccaad76/attachment.mjs","path":"lib/gates/isr-overrevalidation.mjs","size":2442,"sha256":"333d2dc8523d5850fddb5c13cd78fe62c0838ffd627c41b374804dca26cc63c6","contentType":"text/javascript"},{"id":"ff142f2d-0fe0-5b7f-bb4c-445b611d9699","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ff142f2d-0fe0-5b7f-bb4c-445b611d9699/attachment.mjs","path":"lib/gates/middleware-heavy.mjs","size":2085,"sha256":"1ad98bc73be97254d6131707ed93c72262c071e54ce071a392549df33d0d7ae7","contentType":"text/javascript"},{"id":"a1d9c4f9-2256-53e8-8b7a-3639d7e10802","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a1d9c4f9-2256-53e8-8b7a-3639d7e10802/attachment.mjs","path":"lib/gates/observability-events-attribution.mjs","size":2255,"sha256":"8e465217257c771c0be8580c1b9abcf1defd26e5a70c9559dc10f4cc45527c52","contentType":"text/javascript"},{"id":"c197c30a-a148-516e-9824-73424bfcb9ed","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c197c30a-a148-516e-9824-73424bfcb9ed/attachment.mjs","path":"lib/gates/platform-bot-protection.mjs","size":5089,"sha256":"0124cd71876616f7de741d962ff4cbcb79a78654a3026372a18195e2ff99294b","contentType":"text/javascript"},{"id":"47fce1ec-21aa-52e8-ba3a-896719bf3186","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/47fce1ec-21aa-52e8-ba3a-896719bf3186/attachment.mjs","path":"lib/gates/platform-fluid-compute.mjs","size":3630,"sha256":"de81279134bef9499f1cbe2f38d06bb5caa968daa5438f09c9bad0d2f27efa96","contentType":"text/javascript"},{"id":"d8792dc8-07f6-5696-b59a-e7a2eda43989","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/d8792dc8-07f6-5696-b59a-e7a2eda43989/attachment.mjs","path":"lib/gates/region-misconfig.mjs","size":3101,"sha256":"0b3976cd50a9fb54601c60ad27c62b64aa7a4eeb338af4226b618ae1d5a9cc4a","contentType":"text/javascript"},{"id":"b359f758-f81c-5229-90e1-5565555a8a14","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b359f758-f81c-5229-90e1-5565555a8a14/attachment.mjs","path":"lib/gates/route-errors.mjs","size":3101,"sha256":"a32a29b683557409b351da84e45ab316818f8a90c5af380ba7efc5366c03129f","contentType":"text/javascript"},{"id":"e663045a-c3a8-5f25-8647-195f6a49316f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e663045a-c3a8-5f25-8647-195f6a49316f/attachment.mjs","path":"lib/gates/scanner-driven.mjs","size":5191,"sha256":"485313169d009ded7bdb1e4083150919e77eb4373aff0252cd5c0c235f2e8f3b","contentType":"text/javascript"},{"id":"bb57ea7e-4cd1-5a78-ab81-bc6d48f795d6","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/bb57ea7e-4cd1-5a78-ab81-bc6d48f795d6/attachment.mjs","path":"lib/gates/select-candidates.mjs","size":4703,"sha256":"bde0714be600905caaaa99991d37c31df9e6775b8a107ee2df5eb63ffa9d1e11","contentType":"text/javascript"},{"id":"9d2fbd33-0a1f-52cd-8d6a-53b17172fe56","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9d2fbd33-0a1f-52cd-8d6a-53b17172fe56/attachment.mjs","path":"lib/gates/slow-route.mjs","size":4384,"sha256":"b0d330e4244bd3d2e240f6398ead4b235bb69b72fe585771cde4f11ae8726148","contentType":"text/javascript"},{"id":"9cb8000e-0e8d-5533-8de5-b52551b797e1","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9cb8000e-0e8d-5533-8de5-b52551b797e1/attachment.ts","path":"lib/gates/types.d.ts","size":893,"sha256":"097ea533204446ccc18798fc01656577df8b864c24b0eda4c66ebc913fa36f31","contentType":"text/typescript; charset=utf-8"},{"id":"9aef11e0-e2b3-51b1-900a-e558054c31ca","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9aef11e0-e2b3-51b1-900a-e558054c31ca/attachment.mjs","path":"lib/gates/uncached-route.mjs","size":3963,"sha256":"c4f89fa083f13a9360dd5ec6b45b39db3f480c797193c590bf131f53463388cb","contentType":"text/javascript"},{"id":"e254304b-e11c-5b9b-aa8c-cbedbb2dba60","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e254304b-e11c-5b9b-aa8c-cbedbb2dba60/attachment.mjs","path":"lib/gates/usage-spike-triage.mjs","size":5095,"sha256":"b8f84b57fe9d41323467c765ef9da4893b0cac6eee31603179cd8cb77ffd7be3","contentType":"text/javascript"},{"id":"43cef6ef-7f87-505e-8ea7-0d318ce80924","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/43cef6ef-7f87-505e-8ea7-0d318ce80924/attachment.mjs","path":"lib/grade-recommendation.mjs","size":6887,"sha256":"e06008677dd1c6a27d767636356b6a68f357a3122b57adca3238bd2ca7576c38","contentType":"text/javascript"},{"id":"a7ef145a-9315-5df3-8d3b-18f9c40ced46","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a7ef145a-9315-5df3-8d3b-18f9c40ced46/attachment.mjs","path":"lib/impact-label.mjs","size":5344,"sha256":"4d55baae79025bfa43b829ff291019bb6a1f6d015c72dd44612d8e3afeb60b9f","contentType":"text/javascript"},{"id":"2c295dd0-e8bd-5899-85d9-1dee797ee333","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/2c295dd0-e8bd-5899-85d9-1dee797ee333/attachment.mjs","path":"lib/impact-magnitude.mjs","size":2172,"sha256":"a87cec394f9d853da43e633e8ce2cb9f1f62fb2ae7dd6a58f542a5e7024b2c5b","contentType":"text/javascript"},{"id":"9f96666f-fe78-572a-8622-b5edf19a3aba","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9f96666f-fe78-572a-8622-b5edf19a3aba/attachment.mjs","path":"lib/investigation-brief.mjs","size":35165,"sha256":"f41d9354992fb5c7904b8faa1ad1fa457f8b69533d2113ec9c38192c227bf0c7","contentType":"text/javascript"},{"id":"e39f09b4-f10a-531b-b797-fca421dcc210","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e39f09b4-f10a-531b-b797-fca421dcc210/attachment.mjs","path":"lib/observation-safety.mjs","size":9486,"sha256":"540a4c49f10ceab570513f2834b7fbd88b2090c85690ed0f8b5c5bf0e623badd","contentType":"text/javascript"},{"id":"1fd1707e-3690-5249-98df-f289f85b4a69","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/1fd1707e-3690-5249-98df-f289f85b4a69/attachment.mjs","path":"lib/project-facts.mjs","size":4399,"sha256":"d8b508d1077fdb4bcf5c2f267750cb4a6ca529811eecdadb10f9e632e304f30b","contentType":"text/javascript"},{"id":"cbade077-70ec-55fa-9857-d202fcf3831b","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/cbade077-70ec-55fa-9857-d202fcf3831b/attachment.mjs","path":"lib/queries.mjs","size":10338,"sha256":"a747292c7bbc69a245799f846c6d081df44506c5c8e3d245b610c0f32edcea69","contentType":"text/javascript"},{"id":"86c4bfe9-3929-550e-95e6-da08e4189f38","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/86c4bfe9-3929-550e-95e6-da08e4189f38/attachment.mjs","path":"lib/reconcile-candidates.mjs","size":15966,"sha256":"4e02dbc4fba1834192f018b05e9d42723fda13dbecf26a7cc09eacbfe1925b75","contentType":"text/javascript"},{"id":"63dcf6ac-e8f2-53a8-91a8-926448c02264","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/63dcf6ac-e8f2-53a8-91a8-926448c02264/attachment.mjs","path":"lib/render-report.mjs","size":39131,"sha256":"35068fb5df2f2b9a89cabf40e050c40da5d8fadeec33cdbd47c8fc995677a127","contentType":"text/javascript"},{"id":"a3546f58-c959-5541-9761-69d72d8ad60d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a3546f58-c959-5541-9761-69d72d8ad60d/attachment.mjs","path":"lib/repo-root.mjs","size":3135,"sha256":"77ce8277fa444dea77cb10c17e7a0d2db98a6cbea6e2df0fa2ff01372b52eb0c","contentType":"text/javascript"},{"id":"fe45f7e7-28d9-5c73-bf40-30cc71ced120","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/fe45f7e7-28d9-5c73-bf40-30cc71ced120/attachment.mjs","path":"lib/route-normalize.mjs","size":8590,"sha256":"a2e39b3f653695392f096c1b385e31a9b1452714de4908c1d0e6604626274b5d","contentType":"text/javascript"},{"id":"3ee336af-7fdb-5624-9c15-6d2dc76d039b","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3ee336af-7fdb-5624-9c15-6d2dc76d039b/attachment.mjs","path":"lib/sanitizers/bot-protection-certainty.mjs","size":1988,"sha256":"2edac6df3f4565ec7d2f784db7e660767f8a213bfe9f55f6da14f2517f4a071a","contentType":"text/javascript"},{"id":"7d53a199-a352-5b72-97ed-64ff43ad458d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/7d53a199-a352-5b72-97ed-64ff43ad458d/attachment.mjs","path":"lib/sanitizers/cache-tag-invalidation-certainty.mjs","size":1522,"sha256":"31aec0481e996fd2a9a546c792ff17223747c850806405b2ee3cb95c40e296c0","contentType":"text/javascript"},{"id":"5bc27a5b-b4f0-5126-877e-17f0ec921da2","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/5bc27a5b-b4f0-5126-877e-17f0ec921da2/attachment.mjs","path":"lib/sanitizers/count-correct.mjs","size":1956,"sha256":"cf427876a8c64d9591d89da727a2d4cec9dc0dcd717ffba3f82be52c38c73de3","contentType":"text/javascript"},{"id":"e68af5a5-8ee8-5585-8204-3766fbc613fa","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e68af5a5-8ee8-5585-8204-3766fbc613fa/attachment.mjs","path":"lib/sanitizers/function-duration-invocations.mjs","size":1470,"sha256":"c745bc90e67722f8584d3d426f28ccc4701504a635dd966cdb8f487ee79eb7b3","contentType":"text/javascript"},{"id":"660752fd-2da5-57ce-9b44-fccfbff89139","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/660752fd-2da5-57ce-9b44-fccfbff89139/attachment.mjs","path":"lib/sanitizers/index.mjs","size":3053,"sha256":"99babb880c7d5e7ac209e7eb1bf26f2ae9ac5a795062d01e15d76c57055247bf","contentType":"text/javascript"},{"id":"21f543a4-b22e-5faa-b9c0-e3752f4bc16a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/21f543a4-b22e-5faa-b9c0-e3752f4bc16a/attachment.mjs","path":"lib/sanitizers/middleware-conflict.mjs","size":1586,"sha256":"89fae25e31662ed7f31fef973e7b969271fc061839112adabf253a3e87380b97","contentType":"text/javascript"},{"id":"bd962b77-0aac-5f23-b7fd-365d07c9ddc6","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/bd962b77-0aac-5f23-b7fd-365d07c9ddc6/attachment.mjs","path":"lib/sanitizers/missing-citation.mjs","size":497,"sha256":"431ec0944239d4477556a23808733298ecd5bdfb4a810ab887b83f0266eb5904","contentType":"text/javascript"},{"id":"bd7d92a5-7e7e-541e-b4a9-bbd663f929c8","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/bd7d92a5-7e7e-541e-b4a9-bbd663f929c8/attachment.mjs","path":"lib/sanitizers/pre-release.mjs","size":2224,"sha256":"dce1475fd392d245bd4a48e1280c2f0a00fc4dea96cd9f40e4d260fdc0bf5940","contentType":"text/javascript"},{"id":"3c46bc26-b396-5b65-8230-e1cc15e76d22","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3c46bc26-b396-5b65-8230-e1cc15e76d22/attachment.mjs","path":"lib/sanitizers/rate-limit.mjs","size":2655,"sha256":"42b2a3ecb07443ab5aeb881ab6dea31a92f767b73697fd0529e877084657629c","contentType":"text/javascript"},{"id":"abd07bfa-37ff-5b2e-a978-b0a1559c2941","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/abd07bfa-37ff-5b2e-a978-b0a1559c2941/attachment.mjs","path":"lib/sanitizers/rendering-mode-mislabel.mjs","size":1670,"sha256":"410c60d8f71250d8b443384098f02869e7a1b4d9dcb3e3ca384ca3b875648788","contentType":"text/javascript"},{"id":"ca42ea18-5b6b-526d-b20a-16f2e0526166","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ca42ea18-5b6b-526d-b20a-16f2e0526166/attachment.mjs","path":"lib/sanitizers/undeclared-dep.mjs","size":2833,"sha256":"bc2a483311a2c44103b15d9498b5d303101724454c114907d23de6d7725e8769","contentType":"text/javascript"},{"id":"93180dcf-d1a7-59ff-a592-a8ce59c5524d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/93180dcf-d1a7-59ff-a592-a8ce59c5524d/attachment.mjs","path":"lib/sanitizers/vercel-directive-strip.mjs","size":1460,"sha256":"b94a6fcd0a03358dcb853b04a392b0946d8a07d8619e86b562b8b38a6cffac85","contentType":"text/javascript"},{"id":"896f33cb-e82e-582c-a368-61199dcac612","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/896f33cb-e82e-582c-a368-61199dcac612/attachment.mjs","path":"lib/sanitizers/window-units.mjs","size":869,"sha256":"f7823f1c4705166c313107571f048fd4e7fa160cb982dcbfe07d936ab4cb5a3b","contentType":"text/javascript"},{"id":"e8c25685-eec9-5c20-adf3-36d926040c60","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e8c25685-eec9-5c20-adf3-36d926040c60/attachment.mjs","path":"lib/scanners/cache-components-suspense-dedupe.mjs","size":4367,"sha256":"ca4c643a30b76df0e8728f8b8854167483f746a9d45aafb467c3bec9125b7878","contentType":"text/javascript"},{"id":"0172504a-14e1-5f84-8e9c-0977a0eaf312","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/0172504a-14e1-5f84-8e9c-0977a0eaf312/attachment.mjs","path":"lib/scanners/edge-heavy-import.mjs","size":3740,"sha256":"0faacf202542cc6ea37290377a61e9c34a84d3d9439822cd7df09d450ff663a3","contentType":"text/javascript"},{"id":"25900cb6-e756-5965-a63c-2031d3e59e6c","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/25900cb6-e756-5965-a63c-2031d3e59e6c/attachment.mjs","path":"lib/scanners/force-dynamic.mjs","size":1586,"sha256":"5f378119f8e6d1961cde57dcd6ccd193cc4a9713068d4828ca4eee724b15095d","contentType":"text/javascript"},{"id":"9cd77f8f-cb31-5ec6-877f-dc3a04c0a18d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9cd77f8f-cb31-5ec6-877f-dc3a04c0a18d/attachment.mjs","path":"lib/scanners/headers-in-page.mjs","size":1537,"sha256":"84f72dcd79631561fa54f6a5128337b6b9317bc9b7c720b709078cf0c2758e7d","contentType":"text/javascript"},{"id":"cbcb7fa9-3237-586e-9699-206411d20719","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/cbcb7fa9-3237-586e-9699-206411d20719/attachment.mjs","path":"lib/scanners/index.mjs","size":1458,"sha256":"9443d7e055a4b8368973c027b739742bbf5e98de4dbc5078c4cd7fb2677aeeb9","contentType":"text/javascript"},{"id":"bf96cd8e-f382-505d-be5c-e08af227b48f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/bf96cd8e-f382-505d-be5c-e08af227b48f/attachment.mjs","path":"lib/scanners/large-static-asset.mjs","size":3279,"sha256":"5ee29065ae96b7aff236dd3ea9766765a7c48e1bd95008e261837ae42932b783","contentType":"text/javascript"},{"id":"b2d058bc-6b6c-5887-a53d-419d99ab9e24","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b2d058bc-6b6c-5887-a53d-419d99ab9e24/attachment.mjs","path":"lib/scanners/max-age-without-s-maxage.mjs","size":1629,"sha256":"ec722b65530f428232f2b501f5f52e427cd7218c51cceb4783b5f7b03c3ad577","contentType":"text/javascript"},{"id":"18b57c8b-49dc-534d-a99c-25fef6fabbcb","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/18b57c8b-49dc-534d-a99c-25fef6fabbcb/attachment.mjs","path":"lib/scanners/middleware-broad-matcher.mjs","size":1986,"sha256":"e41e07c4fb8d0b6776e5f27609e719ae42c1644b7adcfa2dc1abc90a511c0492","contentType":"text/javascript"},{"id":"49e4c21d-c776-5eb6-b8b3-faeec88407b7","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/49e4c21d-c776-5eb6-b8b3-faeec88407b7/attachment.mjs","path":"lib/scanners/missing-cache-headers.mjs","size":3922,"sha256":"cc4ccea4c4f1d8594a97b18ca39b5212060faa3306dccdea0b2c7645d3f3cf8a","contentType":"text/javascript"},{"id":"ed815e8c-7ac9-5928-b8e8-59bafeea120b","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ed815e8c-7ac9-5928-b8e8-59bafeea120b/attachment.mjs","path":"lib/scanners/prisma-include-tree.mjs","size":1585,"sha256":"ab107e2732ca1873b4e4ce974e9c08b6ebde83a8f96675b96087213b16aa901e","contentType":"text/javascript"},{"id":"b314a36e-085b-512b-934e-e6d14199452d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b314a36e-085b-512b-934e-e6d14199452d/attachment.mjs","path":"lib/scanners/region-pin-in-config.mjs","size":3448,"sha256":"906f33c344c98910f1148c86a9c5cd5cfbaf84cc8c06d02e3eb257ecd639b0d3","contentType":"text/javascript"},{"id":"c1536d3c-cda6-5fba-bfd1-c1f8d7f6b89e","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c1536d3c-cda6-5fba-bfd1-c1f8d7f6b89e/attachment.mjs","path":"lib/scanners/source-maps-production.mjs","size":1300,"sha256":"f9ab9cf88a22a4c0fa32f73ac39243b6f61a868b81ca55f804d8c33a9341013c","contentType":"text/javascript"},{"id":"78d6cd9b-9e0f-52c9-be36-5c0b9774ddc7","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/78d6cd9b-9e0f-52c9-be36-5c0b9774ddc7/attachment.mjs","path":"lib/scanners/sveltekit-prerender-missing.mjs","size":2127,"sha256":"ff5380fa9d8a3e77d8ff430e1b7866a0890b50d163bcc2a599f0b30238947999","contentType":"text/javascript"},{"id":"325946e8-6243-59ea-b7e9-610187963d62","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/325946e8-6243-59ea-b7e9-610187963d62/attachment.mjs","path":"lib/scanners/turbo-force-bypass.mjs","size":4974,"sha256":"b84a7774f18e1ea86cb19335fd41324b89635ccb43b75f31e0218516fd9363d2","contentType":"text/javascript"},{"id":"c6220057-8d66-512a-95c2-42974bf26618","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c6220057-8d66-512a-95c2-42974bf26618/attachment.mjs","path":"lib/scanners/unoptimized-image.mjs","size":4516,"sha256":"f2049c073b769838e33f6110f8f139cacd1e8b8a01eda1473ebed0a14ec64b4f","contentType":"text/javascript"},{"id":"2445ae81-a181-56f1-82c3-6678764ad921","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/2445ae81-a181-56f1-82c3-6678764ad921/attachment.mjs","path":"lib/scanners/use-cache-date-stamp.mjs","size":4040,"sha256":"2d04abd40b888e8c16bccee92dc3423ab86b109551cfab8807367d9cc8ca0878","contentType":"text/javascript"},{"id":"991b4693-1bef-5031-b3b0-d76af740190e","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/991b4693-1bef-5031-b3b0-d76af740190e/attachment.mjs","path":"lib/support-topics.mjs","size":12836,"sha256":"c9ac60070df4e6707299da5ab0d72a9853659ddfcfd4dca29f5803ef3ce41840","contentType":"text/javascript"},{"id":"b2bf124f-17cf-5042-9ece-673597b01ef7","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b2bf124f-17cf-5042-9ece-673597b01ef7/attachment.mjs","path":"lib/throttle.mjs","size":8992,"sha256":"1d09d586071838152fe28882cd65f508a508ecd99b59187c84f27b908cc18017","contentType":"text/javascript"},{"id":"b75ae9b8-f016-5cb2-8481-2b94b83a5e39","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b75ae9b8-f016-5cb2-8481-2b94b83a5e39/attachment.mjs","path":"lib/util.mjs","size":544,"sha256":"431eb675f0a658e19a1b08cdb064e19f96a62d42a35c5f4d962756c8cf97d523","contentType":"text/javascript"},{"id":"d15db38f-a672-5bc1-9c45-d3c452bc64b3","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/d15db38f-a672-5bc1-9c45-d3c452bc64b3/attachment.mjs","path":"lib/vercel.mjs","size":28284,"sha256":"77b476ec454c097ac02760acf021c22821390fc0013fe9357e45bb2692f18df2","contentType":"text/javascript"},{"id":"27b5bd47-16d0-5fe9-8dec-0f771e75c895","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/27b5bd47-16d0-5fe9-8dec-0f771e75c895/attachment.mjs","path":"lib/verify-claim.mjs","size":60992,"sha256":"b7956b5e96e0be7e4ed7a107541d5e4ea11475f9b4e7829c4035769d3a879f71","contentType":"text/javascript"},{"id":"76226a7e-da85-58ee-9df5-1fad26bbe4e1","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/76226a7e-da85-58ee-9df5-1fad26bbe4e1/attachment.mjs","path":"lib/workspace-resolver.mjs","size":17545,"sha256":"9da10f288418475ab871b5430de38d4b97441794373721844cb540e40986e74c","contentType":"text/javascript"},{"id":"fac7a86d-ec2c-56bb-9079-2ae62545bd27","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/fac7a86d-ec2c-56bb-9079-2ae62545bd27/attachment.json","path":"metadata.json","size":903,"sha256":"729f7dcb13ebac414d54232e56acaeae4f7ded041947805a0b30a5d8fee59511","contentType":"application/json; charset=utf-8"},{"id":"62c73190-c9a1-519c-b947-0dd3808f834f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/62c73190-c9a1-519c-b947-0dd3808f834f/attachment.md","path":"references/candidates.md","size":8510,"sha256":"1e04722b3924a11a774d87abbf35070cdf480ad02c8487f97a3dd69bb46b59af","contentType":"text/markdown; charset=utf-8"},{"id":"2199168d-21fc-53bc-8600-e77fab2f578a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/2199168d-21fc-53bc-8600-e77fab2f578a/attachment.md","path":"references/data-collection.md","size":20925,"sha256":"dbc013dfc59c29f38f279fbbb422f19d7cc1ba37d17ee02d9c64ea6cb594bd22","contentType":"text/markdown; charset=utf-8"},{"id":"1c5d06a9-0ed2-5dcd-a0d5-736c29c7c459","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/1c5d06a9-0ed2-5dcd-a0d5-736c29c7c459/attachment.json","path":"references/docs-library.json","size":31540,"sha256":"287d4dabbb3eab789911a6c2b4aea9ffc57206fa4a8449636358503e32b9542c","contentType":"application/json; charset=utf-8"},{"id":"f2793b8f-48f3-5b6f-8c12-4c15549dd4c1","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/f2793b8f-48f3-5b6f-8c12-4c15549dd4c1/attachment.md","path":"references/doctrine.md","size":9512,"sha256":"4a7eac752141410d134febe786c4b51f4723a55026a5638c38fcb492a1d86df4","contentType":"text/markdown; charset=utf-8"},{"id":"4756faec-e79c-5ae5-a329-748c83c27e4e","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/4756faec-e79c-5ae5-a329-748c83c27e4e/attachment.md","path":"references/observability-plus.md","size":5329,"sha256":"86b6f6d5bd7f4b9827f70505705ed0f875a0ef2e2cdb85653f0e09f825393333","contentType":"text/markdown; charset=utf-8"},{"id":"80bfd594-a29d-572d-9474-af851c080443","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/80bfd594-a29d-572d-9474-af851c080443/attachment.md","path":"references/playbooks/README.md","size":2812,"sha256":"9b699bb8d2436b089ced036780cbc108502f3713b15f83440fd042e393487cf3","contentType":"text/markdown; charset=utf-8"},{"id":"880c92d1-d924-524e-965c-2b346eed26ae","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/880c92d1-d924-524e-965c-2b346eed26ae/attachment.md","path":"references/playbooks/ai-application.md","size":3933,"sha256":"e9e353a3f7d5c576e14893ebb0e1eddaa90ee986f0ef3d9edb3be73a2e947ac9","contentType":"text/markdown; charset=utf-8"},{"id":"fffeb2ff-e058-5614-8e40-34f99cd9e6bc","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/fffeb2ff-e058-5614-8e40-34f99cd9e6bc/attachment.md","path":"references/playbooks/api-service.md","size":2485,"sha256":"f90e2d558ea697dc06f05794ad47770f379e3268321ab8a6a642abd7f2fa7ed3","contentType":"text/markdown; charset=utf-8"},{"id":"b1062e87-342e-5603-a325-55ca34f4b284","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b1062e87-342e-5603-a325-55ca34f4b284/attachment.md","path":"references/playbooks/content-site.md","size":2502,"sha256":"9d4b1a7d1c6eb6f58e94c5df5dc8264c5bd6c877f045c7c81228924cbadc9d37","contentType":"text/markdown; charset=utf-8"},{"id":"292fe482-dee2-5c05-83e8-ce43abecd9db","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/292fe482-dee2-5c05-83e8-ce43abecd9db/attachment.md","path":"references/playbooks/ecommerce.md","size":2737,"sha256":"f44707fac676e67de04b7ddb2f78bc806f286cd324d05d990641acef3097a0e9","contentType":"text/markdown; charset=utf-8"},{"id":"da75d29b-3110-5616-b3b1-e3d6abf0dd6f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/da75d29b-3110-5616-b3b1-e3d6abf0dd6f/attachment.md","path":"references/playbooks/marketing.md","size":2675,"sha256":"b7e0ed3de01e95f7776891b6a63e0d2929b066c61ccd9b8ac012b42cbc3e4a19","contentType":"text/markdown; charset=utf-8"},{"id":"dd64d402-73d3-5745-a921-33e35dcc7eec","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/dd64d402-73d3-5745-a921-33e35dcc7eec/attachment.md","path":"references/playbooks/saas.md","size":2896,"sha256":"f23b518dd7c369144813f80abe6eba3e762db3b737b3271bb8b887307fcec387","contentType":"text/markdown; charset=utf-8"},{"id":"82896646-6d42-5ce0-b299-b20712134bbe","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/82896646-6d42-5ce0-b299-b20712134bbe/attachment.md","path":"references/playbooks/sveltekit.md","size":4019,"sha256":"32db0a70f1217c2e3f750ef5e5671da54a07a510369307e38877e3fd3ad21767","contentType":"text/markdown; charset=utf-8"},{"id":"e2363491-7ea3-532d-bd94-cfe86e8c3042","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e2363491-7ea3-532d-bd94-cfe86e8c3042/attachment.md","path":"references/recommendations.md","size":10788,"sha256":"8e65890c1afd942f4bf9dd07ba538b2b9f53a6136ec83e96cc10740c6f8dda87","contentType":"text/markdown; charset=utf-8"},{"id":"199cb9f3-330f-5856-b6d4-b698d475fd68","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/199cb9f3-330f-5856-b6d4-b698d475fd68/attachment.md","path":"references/scanner-patterns.md","size":13671,"sha256":"e160869045f6456d10bd4f1fdeff76d42d8b3e0c50a7212a607603589798bcaa","contentType":"text/markdown; charset=utf-8"},{"id":"f5f87cc5-4123-5304-b13f-cdf5d1356380","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/f5f87cc5-4123-5304-b13f-cdf5d1356380/attachment.md","path":"references/scoring.md","size":12505,"sha256":"44a295b6c65ee5c221815149c7fad1adb02c8ac8750d0604a8dfbfe47d04b6d6","contentType":"text/markdown; charset=utf-8"},{"id":"a76b586b-7ea3-5ca5-8180-49930f10db06","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a76b586b-7ea3-5ca5-8180-49930f10db06/attachment.md","path":"references/support-topics/README.md","size":1785,"sha256":"63e2acd6e221ca52355a5f70ff8d9c3d9704600eb7e176d3cb2f4597ad03db4b","contentType":"text/markdown; charset=utf-8"},{"id":"b450320e-83bf-5750-aa32-e07d83df50c1","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b450320e-83bf-5750-aa32-e07d83df50c1/attachment.md","path":"references/support-topics/astro-edge-middleware-scope.md","size":1012,"sha256":"80586e0b110749f2cdd6e56635d6cd88082230b9bd11a8e388ec6d3b280bc65d","contentType":"text/markdown; charset=utf-8"},{"id":"c153491a-5b45-5302-a7f3-ed92fd8a032d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c153491a-5b45-5302-a7f3-ed92fd8a032d/attachment.md","path":"references/support-topics/astro-output-mode-and-isr.md","size":1135,"sha256":"6137553e35076795f6c0851b0e93d4686cf937930d35b284567da7c0edfe35ba","contentType":"text/markdown; charset=utf-8"},{"id":"7a5b93c1-b582-57ab-96d9-19d331dc0883","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/7a5b93c1-b582-57ab-96d9-19d331dc0883/attachment.md","path":"references/support-topics/auth-preserving-parallelization.md","size":1203,"sha256":"34cfd687cc106ef15696b8f1f155c30f635234e29f3c4db087193c3c2c3c4bac","contentType":"text/markdown; charset=utf-8"},{"id":"2abcbd1c-da46-519f-860c-c270bdd10d31","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/2abcbd1c-da46-519f-860c-c270bdd10d31/attachment.md","path":"references/support-topics/bot-protection-product-guardrails.md","size":1119,"sha256":"892d8f32deb5bded86863a513d3799bfd81dc4654ae4fde5a264638cfd86755d","contentType":"text/markdown; charset=utf-8"},{"id":"d1a93ecd-a139-552f-be18-cdc27e13a472","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/d1a93ecd-a139-552f-be18-cdc27e13a472/attachment.md","path":"references/support-topics/build-minutes-monorepo-fanout.md","size":1269,"sha256":"1f54f0ba4d1b2ab873eb166ca2f1661d39b49e70253dea8ce13a44c2b728ba85","contentType":"text/markdown; charset=utf-8"},{"id":"65014eef-1110-534b-a178-0d7a44fa4ca9","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/65014eef-1110-534b-a178-0d7a44fa4ca9/attachment.md","path":"references/support-topics/cache-components-static-shell-boundaries.md","size":1162,"sha256":"664a13ced4e985e9b12bdf6730fecccfd79fb715be2998a710068384a0ab4cc0","contentType":"text/markdown; charset=utf-8"},{"id":"f7fd0969-200a-555d-9c62-80e08fe919a0","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/f7fd0969-200a-555d-9c62-80e08fe919a0/attachment.md","path":"references/support-topics/cache-components-suspense-dedupe-pitfall.md","size":1380,"sha256":"212f1bedf49c9a1e7aac7745c5b19f57c486456d5e4ef9037fa9689f51930047","contentType":"text/markdown; charset=utf-8"},{"id":"b2661dc3-cd0d-54aa-910a-97350596eb2a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/b2661dc3-cd0d-54aa-910a-97350596eb2a/attachment.md","path":"references/support-topics/cdn-cache-auth-safety.md","size":1068,"sha256":"5691cd39b3403ef939199c3b9b21e28cb447b2f8d2f6dea6000064e5ef3fdfb5","contentType":"text/markdown; charset=utf-8"},{"id":"018ddf10-a928-5aa2-a970-78e2d300330a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/018ddf10-a928-5aa2-a970-78e2d300330a/attachment.md","path":"references/support-topics/cold-start-initialization-bundle.md","size":1159,"sha256":"98961df48eac648e71c73b7dd53a215ac02af62f0bfbc67a1af335e66b8fb7c1","contentType":"text/markdown; charset=utf-8"},{"id":"ba56ad8e-0920-5dc8-8ac0-97406d9b7b88","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ba56ad8e-0920-5dc8-8ac0-97406d9b7b88/attachment.md","path":"references/support-topics/core-web-vitals-client-bottlenecks.md","size":1037,"sha256":"05d84906be0f1e26787e871c00cd563f18533a7b12d3383c5cb3557fe01ea768","contentType":"text/markdown; charset=utf-8"},{"id":"9fddd9c0-3fec-5bbd-b892-732e636af427","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/9fddd9c0-3fec-5bbd-b892-732e636af427/attachment.md","path":"references/support-topics/database-egress-pooling-region.md","size":1015,"sha256":"83fa0f1a3ff67b9f149ba39432834bba88437dbdf09d6b5e7a5e3b552ceb473e","contentType":"text/markdown; charset=utf-8"},{"id":"92a40cc6-4a95-5e4e-bc7e-ade2e2ce6968","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/92a40cc6-4a95-5e4e-bc7e-ade2e2ce6968/attachment.md","path":"references/support-topics/dynamic-rendering-traps.md","size":1139,"sha256":"a075a13fc3c40d7d249051519cf2384497a34f3f4a207f757bf4343c3896fd64","contentType":"text/markdown; charset=utf-8"},{"id":"ec073837-1268-57da-b27e-8839e8939189","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ec073837-1268-57da-b27e-8839e8939189/attachment.md","path":"references/support-topics/external-api-critical-path-platform.md","size":1145,"sha256":"02a7a7e3ba867973c9e45d565e69349cd44a5bdb9e00e6fbbf9c76edd01516e5","contentType":"text/markdown; charset=utf-8"},{"id":"89a34626-2330-5144-b97d-957060448e0e","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/89a34626-2330-5144-b97d-957060448e0e/attachment.md","path":"references/support-topics/external-api-critical-path.md","size":978,"sha256":"dade955ceba21150590f8606b993881d6f6b20fef32c147b77ce26d9e9931773","contentType":"text/markdown; charset=utf-8"},{"id":"59319863-1e27-54e1-9d55-4261dc1c0ba4","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/59319863-1e27-54e1-9d55-4261dc1c0ba4/attachment.md","path":"references/support-topics/fast-data-transfer-payloads.md","size":1050,"sha256":"d7daca1a05d8f3157aab22b97552247cb0a8f856f08fc49079fd76872f7a50fa","contentType":"text/markdown; charset=utf-8"},{"id":"8b6b1499-766a-596a-91ef-212f12fa6ae4","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/8b6b1499-766a-596a-91ef-212f12fa6ae4/attachment.md","path":"references/support-topics/fluid-compute-caveats.md","size":1125,"sha256":"3408a19b49a9723cfac1b461babe56dc414f0f1f7561bd7e6f4f7579ab26a13f","contentType":"text/markdown; charset=utf-8"},{"id":"cb190baf-b27f-58c3-ae33-9fb753b523a4","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/cb190baf-b27f-58c3-ae33-9fb753b523a4/attachment.md","path":"references/support-topics/function-duration-io-and-after.md","size":1027,"sha256":"693c07390d7cf8b4c0a0d0235176a5f452694d1553c33db4fd385f76c94d307d","contentType":"text/markdown; charset=utf-8"},{"id":"8250d862-9c2c-5e03-bfb8-8997c41aaa40","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/8250d862-9c2c-5e03-bfb8-8997c41aaa40/attachment.md","path":"references/support-topics/function-invocation-reduction.md","size":1181,"sha256":"1e50e0e24299fc08aaf6b81d6673ce24c0bc250883c8ecc76e52d6d1dca989a9","contentType":"text/markdown; charset=utf-8"},{"id":"98d5efc4-3990-50d2-9497-f8e68620b93d","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/98d5efc4-3990-50d2-9497-f8e68620b93d/attachment.md","path":"references/support-topics/function-region-misconfiguration-ttfb.md","size":1254,"sha256":"dd5013cf9bd5b3ee7383d3b9835babc6a93b965e07b7093f48d53ce755510326","contentType":"text/markdown; charset=utf-8"},{"id":"3ada9790-40a5-57d9-ac3c-2d3190f6825b","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3ada9790-40a5-57d9-ac3c-2d3190f6825b/attachment.md","path":"references/support-topics/image-optimization-cost-control.md","size":1071,"sha256":"1123f4712ec4a4ff057dadbee25f7de51bc8473862dbb398693f9c091336681c","contentType":"text/markdown; charset=utf-8"},{"id":"93fb094b-e8b3-57d0-b2c8-505135e897d6","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/93fb094b-e8b3-57d0-b2c8-505135e897d6/attachment.md","path":"references/support-topics/isr-revalidation-static-generation.md","size":1419,"sha256":"fafc8585a02b2142b60289177b041d63e1280d1fdccd38a2faa2e89d7c1950cb","contentType":"text/markdown; charset=utf-8"},{"id":"c765ae84-c1ce-5245-952d-b267d4b2cab5","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c765ae84-c1ce-5245-952d-b267d4b2cab5/attachment.md","path":"references/support-topics/middleware-proxy-edge-cost.md","size":991,"sha256":"d1c6f3b0f4ecf3c4d430c2ae3999c9485e8f2115e40d9ba973b637541a5a5f32","contentType":"text/markdown; charset=utf-8"},{"id":"ea97f288-1aa2-5c2e-a768-98e15cd8e088","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ea97f288-1aa2-5c2e-a768-98e15cd8e088/attachment.md","path":"references/support-topics/next-fetch-revalidate-floor.md","size":1059,"sha256":"65897b4111c75457e1fbe16ce6f9716c5fd58365d8defaeb80b5ea0ca4f2a3b0","contentType":"text/markdown; charset=utf-8"},{"id":"6422a013-35c0-5b38-aaeb-5b23278aaa43","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/6422a013-35c0-5b38-aaeb-5b23278aaa43/attachment.md","path":"references/support-topics/next-font-cls-self-hosting.md","size":906,"sha256":"a06d7f692fc902f41a227f5acb20d694e2d47c3098b1fba354b5413e7df32964","contentType":"text/markdown; charset=utf-8"},{"id":"e77b918f-77ab-5508-9669-5593b2478935","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e77b918f-77ab-5508-9669-5593b2478935/attachment.md","path":"references/support-topics/next-heavy-ui-lazy-load-boundaries.md","size":1048,"sha256":"f48f1f61626aa313b3e08a6e43a5550bddef278f5c6aa4093b52bee1e9e1d78b","contentType":"text/markdown; charset=utf-8"},{"id":"bfdb0f48-f150-57c4-bf23-6e8dee60479f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/bfdb0f48-f150-57c4-bf23-6e8dee60479f/attachment.md","path":"references/support-topics/next-image-lcp-preload-sizes.md","size":1062,"sha256":"f176647780339cbd409897cbbaa8666f0dc7c301905651ad39b7feb2a0696a89","contentType":"text/markdown; charset=utf-8"},{"id":"2975f5e6-247d-5eb0-91a2-1dd33f171ee6","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/2975f5e6-247d-5eb0-91a2-1dd33f171ee6/attachment.md","path":"references/support-topics/next-route-handler-get-cache-defaults.md","size":1072,"sha256":"2f7e29b85cc1a8a31db214f59524035d3486c3a26c9fb9a39d62f3b834ee0f0c","contentType":"text/markdown; charset=utf-8"},{"id":"d83feb84-8b75-5fd1-80c9-db5334952cd5","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/d83feb84-8b75-5fd1-80c9-db5334952cd5/attachment.md","path":"references/support-topics/next-script-third-party-strategy.md","size":1051,"sha256":"413fb8dfdb561ccb5073c89b93c0e28420cfa5125bff89317c699167c3b2f35a","contentType":"text/markdown; charset=utf-8"},{"id":"31db2b7b-d075-590e-bd3d-5ddd288d4e4a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/31db2b7b-d075-590e-bd3d-5ddd288d4e4a/attachment.md","path":"references/support-topics/nextjs-version-cache-semantics.md","size":996,"sha256":"e8bf6e27e63841bb49c44e8d0e93d674866ba28f6217d41d5c4de2b51178b8dc","contentType":"text/markdown; charset=utf-8"},{"id":"7872bf52-1a6b-51c5-9fac-e233413b4d18","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/7872bf52-1a6b-51c5-9fac-e233413b4d18/attachment.md","path":"references/support-topics/not-found-catchall-request-waste.md","size":1273,"sha256":"88a9bf8ec200182534957603bda8c3bcc8d9dce8d884ea19c890994424827ab8","contentType":"text/markdown; charset=utf-8"},{"id":"46885b99-43ea-550a-9a0f-490c1a242dc2","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/46885b99-43ea-550a-9a0f-490c1a242dc2/attachment.md","path":"references/support-topics/nuxt-route-rules-cache-isr.md","size":1188,"sha256":"639b0a57b50813bfea7f1734a2cb883d8fb756c86a3a4460e08e899d04323cbb","contentType":"text/markdown; charset=utf-8"},{"id":"a4061717-3fbc-5b5a-aef9-1a804197fdb4","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a4061717-3fbc-5b5a-aef9-1a804197fdb4/attachment.md","path":"references/support-topics/observability-events-cost-attribution.md","size":1155,"sha256":"60b2aea01836d6554b07cc79c9d8d64a4430782a2a4cec2ccd43ad957d69658e","contentType":"text/markdown; charset=utf-8"},{"id":"d7dbe5d3-7a60-5d7c-8de4-19a31e7e9872","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/d7dbe5d3-7a60-5d7c-8de4-19a31e7e9872/attachment.md","path":"references/support-topics/post-response-work-waituntil.md","size":1009,"sha256":"da5ff4b2d2a714bc06d2cc4b442e77840b89f9e72e171ec33af4fb95cac8ab26","contentType":"text/markdown; charset=utf-8"},{"id":"f66b100a-dc0b-544b-9d91-2942cb9624bd","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/f66b100a-dc0b-544b-9d91-2942cb9624bd/attachment.md","path":"references/support-topics/route-error-durable-offload.md","size":1298,"sha256":"2ff21304503673bbeb656d92fd9841f8aa874cd93a5428f14a0f9abb55e49b65","contentType":"text/markdown; charset=utf-8"},{"id":"777f53ab-50d4-55fc-a6f7-a3db5309f780","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/777f53ab-50d4-55fc-a6f7-a3db5309f780/attachment.md","path":"references/support-topics/route-error-runtime-limits.md","size":988,"sha256":"e4a70ec3e1112c658e1ce136359c00fcb6c9fb484887efafb3ba3364ebdb70a6","contentType":"text/markdown; charset=utf-8"},{"id":"c730b25c-645e-5a4e-bdaa-95f7f6838c9c","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c730b25c-645e-5a4e-bdaa-95f7f6838c9c/attachment.md","path":"references/support-topics/runtime-cache-reusable-data.md","size":1180,"sha256":"cf59ca89dbfa178d371435e0aa7f5c588c2fc3114b4574049b4d644c63628911","contentType":"text/markdown; charset=utf-8"},{"id":"aacba91c-4c79-53e4-8afb-c33e71da1e00","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/aacba91c-4c79-53e4-8afb-c33e71da1e00/attachment.md","path":"references/support-topics/sveltekit-isr-prerender-safety.md","size":1167,"sha256":"909357c83a7718865cf5e1056653117f08df0042416e17050f22eae7900dfa49","contentType":"text/markdown; charset=utf-8"},{"id":"8119c6e2-c3dc-5136-87a4-82e4518fec54","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/8119c6e2-c3dc-5136-87a4-82e4518fec54/attachment.md","path":"references/support-topics/sveltekit-split-cold-start-tradeoff.md","size":1040,"sha256":"e61fee58a22120acbdfafb2559959749806cf2c1ad242749d30ad6d9f533d5f6","contentType":"text/markdown; charset=utf-8"},{"id":"c503c3f5-91fa-55f7-8b03-fdce207f2a26","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/c503c3f5-91fa-55f7-8b03-fdce207f2a26/attachment.md","path":"references/support-topics/usage-spike-triage.md","size":1018,"sha256":"850ce351c3cbff86a321b349eaa82330a29e08b78a3d255150dc290a7d095015","contentType":"text/markdown; charset=utf-8"},{"id":"3fe2b30f-9840-573a-ba7c-c066f04affcc","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3fe2b30f-9840-573a-ba7c-c066f04affcc/attachment.md","path":"references/support-topics/use-cache-date-stamp-isr-write-amplifier.md","size":1189,"sha256":"45d5381f890b552dd672f6577aad203630f9f0e3caf04f3f2170726c0cea86fb","contentType":"text/markdown; charset=utf-8"},{"id":"feab1caf-564c-5791-ba1f-6665709c8050","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/feab1caf-564c-5791-ba1f-6665709c8050/attachment.md","path":"references/support-topics/use-cache-remote-shared-origin-data.md","size":1089,"sha256":"4e8590e6c3ed65e5ec8811cfad82fcecf3cf5ac797e446bbf00e4498bd7e0d68","contentType":"text/markdown; charset=utf-8"},{"id":"1b2719f4-ac0b-5ef1-b2e6-539618ce1334","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/1b2719f4-ac0b-5ef1-b2e6-539618ce1334/attachment.md","path":"references/support-topics/workflow-resumable-stream-routes.md","size":1274,"sha256":"07145dac55800c709a57a1abfbe29e1764ecd6371ff05f342c8f73f69d101257","contentType":"text/markdown; charset=utf-8"},{"id":"8ad82b92-85b4-5c68-9376-517e7112723b","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/8ad82b92-85b4-5c68-9376-517e7112723b/attachment.md","path":"references/verification.md","size":9000,"sha256":"db3ffb183ae3c141eeb980ea3765ff215da01eb4bb8b569c7f86868ec3cfe5a1","contentType":"text/markdown; charset=utf-8"},{"id":"bba511f2-b180-5fb7-bccf-59095e562ada","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/bba511f2-b180-5fb7-bccf-59095e562ada/attachment.md","path":"references/voice.md","size":3731,"sha256":"1bd89b7f12f8ce912d0381b9ca7c251f8183f69bae0abf0021391e8397dfef11","contentType":"text/markdown; charset=utf-8"},{"id":"3930e6b8-5f2c-502c-aa9d-a4ef498ff77f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3930e6b8-5f2c-502c-aa9d-a4ef498ff77f/attachment.mjs","path":"scripts/budget-summary.mjs","size":2096,"sha256":"4dc6cb8ab9278ac9196e4cd70c36ecc1ffe2afeaffe09e99e562de42e62f94ea","contentType":"text/javascript"},{"id":"cc5a1806-43a0-58e8-978f-eed2f193973a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/cc5a1806-43a0-58e8-978f-eed2f193973a/attachment.mjs","path":"scripts/build-docs.mjs","size":3414,"sha256":"ce426e5bb4a803b86981588b733fc97aff13fea1c393d6d6559b97518df31ad8","contentType":"text/javascript"},{"id":"86c426d0-81c9-5380-ac8c-df04d07e92e5","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/86c426d0-81c9-5380-ac8c-df04d07e92e5/attachment.mjs","path":"scripts/check-citations.mjs","size":3531,"sha256":"47acb1d9deba97531ad46ef81cccaa9349bec4a3cf57d8fdc2bd601411b57fdb","contentType":"text/javascript"},{"id":"0fbe62e5-d0d8-5834-9f7d-81804c7c71ed","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/0fbe62e5-d0d8-5834-9f7d-81804c7c71ed/attachment.mjs","path":"scripts/check-docs-fresh.mjs","size":3910,"sha256":"6c47f5595c6e317426606d67afa53d52d822fcc071fee27885cc25df38e7949e","contentType":"text/javascript"},{"id":"e9507eae-eee5-5d1f-896c-73343a5e4eb7","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e9507eae-eee5-5d1f-896c-73343a5e4eb7/attachment.mjs","path":"scripts/collect-signals.mjs","size":21576,"sha256":"bc1dcba99aa20ad7863450bc1a336d0ec8d78aac0f3f26f8b6be9183e52e944a","contentType":"text/javascript"},{"id":"a7ab24f1-dd04-5308-b534-11995d0e769c","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a7ab24f1-dd04-5308-b534-11995d0e769c/attachment.mjs","path":"scripts/collect-sub-agent-outputs.mjs","size":10123,"sha256":"21bd960b11c75711e1f51cb362efb5243f19bc8db65a3bfdab48549bb47bf9fb","contentType":"text/javascript"},{"id":"5781b83d-b5c0-58dd-9a97-d012c65d0dca","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/5781b83d-b5c0-58dd-9a97-d012c65d0dca/attachment.mjs","path":"scripts/deep-dive.mjs","size":12332,"sha256":"f90c74b28a1a1580a45d7d12ab64f683c8c6f1b59d32aa7299980e74980550aa","contentType":"text/javascript"},{"id":"51d73a7a-e9e3-52e2-8d7e-f9c07764789b","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/51d73a7a-e9e3-52e2-8d7e-f9c07764789b/attachment.mjs","path":"scripts/gate-investigations.mjs","size":6353,"sha256":"b30d756a3af5bc1170e4eec95e2fca7241999a516d8871497bd4e5a1cd681535","contentType":"text/javascript"},{"id":"97ec104e-587b-5845-bac8-0b841631a888","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/97ec104e-587b-5845-bac8-0b841631a888/attachment.mjs","path":"scripts/merge-signals.mjs","size":6325,"sha256":"2d16f83d221ea6bb28f1a05f48829c2e67e315d0acc2125fc8b642813a527f06","contentType":"text/javascript"},{"id":"da538b95-7e6f-5665-9aa0-861600a8b3e0","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/da538b95-7e6f-5665-9aa0-861600a8b3e0/attachment.mjs","path":"scripts/prepare-investigation-brief.mjs","size":8071,"sha256":"8a9c9a840e907985f8a84218251c33c38f3dc17956b851a8b5d7e28c56689edc","contentType":"text/javascript"},{"id":"a05c3dd8-19eb-51f8-ae80-3089dca94e97","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/a05c3dd8-19eb-51f8-ae80-3089dca94e97/attachment.mjs","path":"scripts/reconcile-candidates.mjs","size":2442,"sha256":"ef8d6ae2f1e7e43c62a46dfe7af14e9618fd2b550724823448f8badf266cccaf","contentType":"text/javascript"},{"id":"402e470e-37fb-5e93-859d-6295bf0ad088","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/402e470e-37fb-5e93-859d-6295bf0ad088/attachment.mjs","path":"scripts/render-report.mjs","size":17424,"sha256":"ab0a3f0188215fe0f9a464858b3a42c74e2d4daea6fe857b6a969595f27ebf5b","contentType":"text/javascript"},{"id":"e25ed6ea-bcc8-5b30-b89f-97fb9305598c","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e25ed6ea-bcc8-5b30-b89f-97fb9305598c/attachment.mjs","path":"scripts/scan-codebase.mjs","size":11521,"sha256":"4b5c847899604831aafd3fcdf860968792e99203670a3ba6f3947cb7ae708705","contentType":"text/javascript"},{"id":"3440a151-3bf8-591c-ad4e-6e2d9d5aa9ea","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3440a151-3bf8-591c-ad4e-6e2d9d5aa9ea/attachment.mjs","path":"scripts/verify-and-regen.mjs","size":15238,"sha256":"9211268107c17f577d24a8994515946b9fd3a1fc1d2353a79dd0a139df25f706","contentType":"text/javascript"},{"id":"1f62ef0e-d3e5-5f7d-9e68-5465b2ea9ba2","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/1f62ef0e-d3e5-5f7d-9e68-5465b2ea9ba2/attachment.mjs","path":"scripts/verify-finding.mjs","size":698,"sha256":"534590f7900e20648f67cc2d6845502960709ddfeb10cbb6733ade37b2eebe8e","contentType":"text/javascript"}],"bundle_sha256":"cbed1005144a75ac487d6332a710b6e5dcd385f0d510d06c1dbf78f1179f6ed5","attachment_count":155,"text_attachments":155,"attachment_storage":"skillopedia-attachments-v1","binary_attachments":0,"excluded_attachments":[]},"cluster_size":2,"skill_md_path":"skills/vercel-optimize/SKILL.md","import_metadata":{"date":"2026-06-05","author":"@skillopedia","version":"v1","category":"devops-infrastructure","category_label":"DevOps"},"exact_dupes_collapsed_into_this":1},"version":"v1","category":"devops-infrastructure","metadata":{"version":"1.2.0"},"import_tag":"clean-skills-v1","description":"Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests."}},"renderedAt":1782979652299}

Vercel Optimize Run an observability-first Vercel optimization audit. Do not inspect source files until exists and a deterministic gate points to a route, file, or project setting. Core doctrine: read references/doctrine.md if any rule is unclear. - Metrics first. Recommendations start from Vercel production signals, not repo-wide grep. - Deterministic gates. decides what deserves investigation. - Candidate-bound scope. Read only files named by a candidate or a route-local import chain. - Version-aware citations. Use only ; invalid or version-mismatched citations are stripped. - Customer copy…