You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Framework-aware verfix init: detect Next.js/Vite, scaffold a working flow against the dev server, so first success takes minutes.
Task
Extend the init flow (cli/src/init-wizard.ts / init-noninteractive.ts):
Detect the framework from the project (package.json deps/scripts: next, vite, etc.) — a lookup, not a plugin system.
Default the base URL to the framework's conventional dev-server URL (Next.js :3000, Vite :5173), still confirmable in the wizard / overridable via flags.
Scaffold a flow that passes against the framework's default starter page (e.g. assert the root route loads without console errors), instead of the generic SCAFFOLD_FLOWS placeholder (cli/src/constants.ts) that needs hand-editing before first success.
Unknown framework ⇒ exactly today's behavior.
Why it matters
Phase 5 rationale: with zero users, adoption risk beats any missing feature. Time-to-first-green-run is the top of that funnel — a scaffold that passes on npx verfix init && verfix run teaches the loop works before the user writes anything.
Acceptance criteria
Next.js and Vite detected; correct default URL and a passing starter-page flow scaffolded
Non-detected projects behave exactly as today
--yes / env-var path honors detection (see cli/test/noninteractive.test.ts)
Covered by the existing standalone CLI test pattern
Sequencing note: blocked on #66/#71 outcomes — framework-aware onboarding is adoption surface; the core verify-fix loop gets measured and validated on real apps before we grow the funnel into it.
Activity
jyotir-aditya commentedon Jul 11, 2026
Sequencing note: blocked on #66/#71 outcomes — framework-aware onboarding is adoption surface; the core verify-fix loop gets measured and validated on real apps before we grow the funnel into it.
feat(cli): framework-aware init — detect Next.js/Vite, scaffold a pas…
Triage batch: occluded-click classification (#88), selector suggestio…