mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-05 16:34:00 +01:00
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:
1 parent
12954a01d2
commit
86e2bbdabf
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user