Preflight

How Preflight works

One request fans out to five agents and collectors on Cloudflare's edge. Deterministic code decides everything it can; models only extract rules, judge what code cannot, and coach. Every claim in the report points at a quote or a piece of collected evidence.

BrowserPOST /api/audit, reads SSE Orchestrator (Pages Function)validates input, streams events Scout: Devpost project → links Rules agent · LLMextract + quote-groundingkeyword fallback RepoGitHub APIraw fallback Site probestatus, TLS, titleplaceholder check Video probeoEmbed + length Fetch relayallowlisted hostswhen Workers blocked Evidence E-repo, E-tree, E-readme, E-commits, E-site, E-video, E-devpost, E-window, E-file/page Rule checkers (12 + hygiene)deterministic, decide first Judge agent · LLM, 2 roundsreads repo files / site paths it asks forquote not found → "check by hand" Rubric coach · LLMweighted gaps + cited fixes

Why it is built this way

Stage contracts

StageInputOutputOn failure
ScoutDevpost project URLrepo, live URL, video, hackathonuser-supplied links only
Rules agentevent pagesgrounded requirements + rubrickeyword extraction, or pasted rules
Repo collectorGitHub URLvisibility, license, tree, README, commit datesraw.githubusercontent fallback
Site / video probesURLsstatus, latency, title, placeholder; oEmbed, lengthverdict "unknown" with reason
Checkersrequirements + factsverdicts with evidence idspass the item to the judge
Judgeundecided items + evidence (+ requested reads)verdicts with verified support quotes"check by hand"
Coachrubric + results + evidenceweighted, cited fixessection omitted with a note

Security