From b058319c3119eaa896f8a0a653635972025a6086 Mon Sep 17 00:00:00 2001 From: garrytan Date: Wed, 28 Oct 2026 15:46:03 +0000 Subject: [PATCH] fix(owner-brief): the do-it line says every choice when rec keeps earlier answers Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- lib/captain-brief.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/captain-brief.ts b/lib/captain-brief.ts index 74851eb45..f74cab3a5 100644 --- a/lib/captain-brief.ts +++ b/lib/captain-brief.ts @@ -105,7 +105,7 @@ export function renderCaptainBrief(inputs: BriefInputs, o: { outDir: string }): const alt = example?.options.find(x => x.key !== recKey(example)); need.push(`- **Change something:** say which choice and what you want instead, in words${example && alt ? ` (for example "${clip(stripRef(example.title), 60)}: ${plainOption(alt.text)}")` : ''}. A change that alters the plan reopens its review before anything is built.`); need.push('- **Reject:** nothing is built.', ''); - if (!missing.length) need.push(`- **do it:** rec at full scope: every recommendation above, the follow-ons the plan names (docs, trains, cleanups) included, carried through to done with no further ask.`, '', 'Reply: **rec**, or **do it**', ''); + if (!missing.length) need.push(`- **do it:** rec at full scope: every ${kept.length ? 'choice' : 'recommendation'} above, the follow-ons the plan names (docs, trains, cleanups) included, carried through to done with no further ask.`, '', 'Reply: **rec**, or **do it**', ''); } const tokens = rec.map(c => `${c.id}${c.chosen}`).join(' '); const trailer = `_For the relaying agent, not the person:_ run ${list.run}, gate_rev=${list.gate_rev}, rec_hash=${hash}; rec resolves to ${tokens}; plan ${plan.file ?? '(missing)'} (sha256 ${plan.sha}). Answer with ` +