Skip to content

Reference

cdp_auto_login

Pre-flight check: detect if the app is on a login/auth screen and auto-login via Maestro subflows from the project. Scans .maestro/subflows/ for login.yaml, sign_in.yaml, auth.yaml, flow_start.yaml, register_user.yaml. Returns { loggedIn: true/false, reason, flow }. Call before proof capture or feature testing when app may be logged out.

NameTypeRequiredDefaultConstraintsDescription
appIdunknownNoApp bundle ID override (auto-detected from app.json if omitted)
platformunknownNoPlatform override (auto-detected from session if omitted)
cdp_auto_login()