Validate a flow against the platform contract
flow_validate_flowDeterministic STATIC checks against the platform contract: (1) guardrails — fabricated renderClient methods, forbidden browser APIs/imports, engine-file writes; (2) a REAL TypeScript check of command-frame usage against the PINNED .d.ts the app installs (the version is stamped in the result) — this proves TYPES, never runtime behaviour and never device parity; (3) a hardcoded-credentials scan; (4) flowTypeErrors — a whole-tree tsc against REAL react types, which catches what (2) cannot see (e.g. a useEffect cleanup that returns a value, a hard TS2345 the builder's in-chat gate will report to whoever opens this flow); plus advisory warnings (client money math, hardcoded catalog data, missing station-home/data-test, tip-as-cart-fee) that don't affect clean but each predict a real on-device failure. secretFindings BLOCK deploy_flow; everything else is advisory. Run it after each write batch, before start_preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes |