Migration preflight probe (read-only)
migration_preflightAudit migration readiness before writing conversion patterns: classifies blocks, scans code/config for legacy patterns, flags hardcoded origins, maps placement, and preflights bound queries.
Instructions
Empirical migration audit of the connected portal — run BEFORE writing any conversion pattern. Covers every block by FUNCTION, not just scripted ones: classifies each placed block (scripted/template/markup/native-widget), scans EVERY code- and config-bearing field (not just the html body) for legacy patterns — comment/string-aware so a commented-out call doesn't drive scope — flags hardcoded portal origins (environment portability), maps placement through layouts AND partials AND snippets (an 'orphan' is unreachable through all three), and preflights every bound query: does it execute, does it return column metadata, are numeric columns delivered as strings, is the STORED column metadata stale (repair_query_metadata fixes that). Also returns the browser-probe checklist for the runtime questions a server-side scan cannot answer. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Cap per-block detail entries returned (default 100). Full counts are always reported. | |
| max_queries | No | Cap on queries to execute for the data preflight (default 25). | |
| execute_queries | No | Preflight bound queries by executing each once (default true). Set false for a cheap structural-only pass. |