fix(onboard): enforce complete map gate in fast mode and add skip-ingest rerun

Remove the projectExists guard so fast mode with a partial map still routes
to complete-map-before-new-project even after project planning exists.

Add the missing onboard rerun instruction to the skip-mapping docs-ingest
handoff so the onboarding loop can continue after ingest.
This commit is contained in:
Cursor Agent
2026-07-03 22:29:45 +00:00
committed by Codesmith
parent ee2ddbae53
commit 83da2e1ca9
2 changed files with 3 additions and 1 deletions

View File

@@ -98,6 +98,8 @@ Skipping codebase mapping may give downstream steps weaker context, but existing
Run from worktree root {ONBOARDING_ROOT}:
{handoff_commands.ingest_docs}
Then rerun {handoff_commands.onboard} from the same worktree root.
```
Exit.

View File

@@ -259,7 +259,7 @@ function nextAction(params: {
};
}
if (!params.projectExists && params.fastMode && params.mapReadiness === 'fast') {
if (params.fastMode && params.mapReadiness === 'fast') {
return {
kind: 'complete-map-before-new-project',
command: params.handoffCommands.map_codebase,