Summary
The onboarding flow has two concrete problems: skipping GitHub auth also skips the project-import step, and the project-import action sends the wrong parameter name.
Evidence
Impact
New users can finish onboarding without ever adding a project, and the explicit add-project action is likely to fail because it does not match the command contract.
Suggested fix
- Always continue to the project step unless the user explicitly dismisses onboarding.
- Align the invoke payload with the backend contract.
- Add a basic onboarding flow test that covers both the authenticated and skipped-auth paths.
Summary
The onboarding flow has two concrete problems: skipping GitHub auth also skips the project-import step, and the project-import action sends the wrong parameter name.
Evidence
Skipon the GitHub step jumps straight todoneinstead of continuing to the project step.register_local_projectis invoked with{ path }.local_pathin src-tauri/src/projects.rs lines 166-205.localPathfor the same command in src/hooks/useProjects.ts lines 52-63.Impact
New users can finish onboarding without ever adding a project, and the explicit add-project action is likely to fail because it does not match the command contract.
Suggested fix