From ee2ddbae53ff1d63abf3bafb2c074649314e07b5 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 3 Jul 2026 22:25:53 +0000 Subject: [PATCH] fix(onboard): add onboard rerun handoffs and correct summary next step Add missing 'Then rerun onboard' instructions after new-project handoffs so brownfield onboarding returns to create SUMMARY.md per REQ-ONBOARD-05. Use handoff_commands.manager instead of next_action.reason in the summary template so persisted SUMMARY.md recommends the correct post-onboarding step. --- gsd-core/workflows/onboard.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gsd-core/workflows/onboard.md b/gsd-core/workflows/onboard.md index 321649fc0..463c254d4 100644 --- a/gsd-core/workflows/onboard.md +++ b/gsd-core/workflows/onboard.md @@ -110,6 +110,8 @@ Skipping codebase mapping may give {handoff_commands.new_project} weaker context Run from worktree root {ONBOARDING_ROOT}: {handoff_commands.new_project} + +Then rerun {handoff_commands.onboard} from the same worktree root. ``` Exit. @@ -155,6 +157,8 @@ Skipping docs ingest may omit existing ADR/PRD/SPEC/RFC context from {handoff_co Run from worktree root {ONBOARDING_ROOT}: {handoff_commands.new_project} + +Then rerun {handoff_commands.onboard} from the same worktree root. ``` Exit. @@ -185,6 +189,8 @@ If `next_action.kind == "new-project"`, print: Run from worktree root {ONBOARDING_ROOT}: {next_action.command} + +Then rerun {handoff_commands.onboard} from the same worktree root. ``` Exit. @@ -239,7 +245,7 @@ Summary template: - Existing ADR/PRD/SPEC/RFC candidates: {has_docs_candidates ? doc_candidate_count : 0} ## Recommended Next Step -- {next_action.reason} +- {handoff_commands.manager} ``` If `commit_docs` is true, commit only the summary path from the onboarding root: