From 83da2e1ca904a67cb538b065eda1ccaff15f79ad Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 3 Jul 2026 22:29:45 +0000 Subject: [PATCH] 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. --- gsd-core/workflows/onboard.md | 2 ++ src/onboard-projection.cts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gsd-core/workflows/onboard.md b/gsd-core/workflows/onboard.md index 463c254d4..625372e3b 100644 --- a/gsd-core/workflows/onboard.md +++ b/gsd-core/workflows/onboard.md @@ -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. diff --git a/src/onboard-projection.cts b/src/onboard-projection.cts index b327ded57..68e144004 100644 --- a/src/onboard-projection.cts +++ b/src/onboard-projection.cts @@ -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,