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.
This commit is contained in:
@@ -110,6 +110,8 @@ Skipping codebase mapping may give {handoff_commands.new_project} weaker context
|
|||||||
Run from worktree root {ONBOARDING_ROOT}:
|
Run from worktree root {ONBOARDING_ROOT}:
|
||||||
|
|
||||||
{handoff_commands.new_project}
|
{handoff_commands.new_project}
|
||||||
|
|
||||||
|
Then rerun {handoff_commands.onboard} from the same worktree root.
|
||||||
```
|
```
|
||||||
|
|
||||||
Exit.
|
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}:
|
Run from worktree root {ONBOARDING_ROOT}:
|
||||||
|
|
||||||
{handoff_commands.new_project}
|
{handoff_commands.new_project}
|
||||||
|
|
||||||
|
Then rerun {handoff_commands.onboard} from the same worktree root.
|
||||||
```
|
```
|
||||||
|
|
||||||
Exit.
|
Exit.
|
||||||
@@ -185,6 +189,8 @@ If `next_action.kind == "new-project"`, print:
|
|||||||
Run from worktree root {ONBOARDING_ROOT}:
|
Run from worktree root {ONBOARDING_ROOT}:
|
||||||
|
|
||||||
{next_action.command}
|
{next_action.command}
|
||||||
|
|
||||||
|
Then rerun {handoff_commands.onboard} from the same worktree root.
|
||||||
```
|
```
|
||||||
|
|
||||||
Exit.
|
Exit.
|
||||||
@@ -239,7 +245,7 @@ Summary template:
|
|||||||
- Existing ADR/PRD/SPEC/RFC candidates: {has_docs_candidates ? doc_candidate_count : 0}
|
- Existing ADR/PRD/SPEC/RFC candidates: {has_docs_candidates ? doc_candidate_count : 0}
|
||||||
|
|
||||||
## Recommended Next Step
|
## Recommended Next Step
|
||||||
- {next_action.reason}
|
- {handoff_commands.manager}
|
||||||
```
|
```
|
||||||
|
|
||||||
If `commit_docs` is true, commit only the summary path from the onboarding root:
|
If `commit_docs` is true, commit only the summary path from the onboarding root:
|
||||||
|
|||||||
Reference in New Issue
Block a user