Run the one-step quality & security audit
run_auditRun a comprehensive audit pipeline covering typecheck, lint, tests, vulnerability scans, and Lighthouse, returning a scored report with a concrete fix list to enforce quality gates before deployment.
Instructions
Phase 5 of the App Factory workflow. Runs the full audit pipeline against the app: typecheck, lint, tests, dependency vulnerability scan, secret scan, semgrep static security analysis (if installed) and Lighthouse (if a running app url is provided). Returns a scored report with a concrete fix list. Fix EVERYTHING in fixList and re-run until passed=true (score >= minScore, default 80, with zero critical findings) - only then does the project advance to deploy. Also self-verify the manualChecklist items the tools cannot measure. This tool can also audit any codebase standalone: pass appPath without projectId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL of the running app (e.g. http://localhost:3000) to include a Lighthouse audit | |
| appPath | Yes | Absolute path to the app's root folder | |
| minScore | No | Quality gate: minimum score to pass. Raise it for stricter projects (ask the USER). | |
| projectId | No | App Factory project id (omit for standalone audits) |