fix(plan reviews): skip the /office-hours prerequisite offer in spawned and headless sessions (#1958)

The BENEFITS_FROM offer had no recommended option, so a spawned run had
nothing defined to auto-pick and a headless run could only block. Skip it
there and continue with the standard review.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-08 06:20:39 +00:00
1 parent 12954a01d2
commit 86e2bbdabf
1 file changed
+2
+2
View File
@@ -249,6 +249,8 @@ export function generateBenefitsFrom(ctx: TemplateContext): string {
When the design doc check above prints "No design doc found," offer the prerequisite
skill before proceeding.
Skip the offer and proceed with the standard review when the preamble echoed \`SESSION_KIND\` \`spawned\` or \`headless\`.
${ctx.skillName === 'plan-eng-review' ? 'Build the next full decision brief from these facts and options, using the preamble transport, numbering and format:' : 'Say to the user via AskUserQuestion:'}
> "No design doc found for this branch. ${skillList} produces a structured problem