From 7c4e5b180ae886dc58e8334bbaace7e127115cbb Mon Sep 17 00:00:00 2001 From: garrytan Date: Fri, 30 Oct 2026 14:17:19 +0000 Subject: [PATCH] docs(captain): the brief template sizes a fix as an eng-only plan too (GST-191 review) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- captain/templates/brief.md | 6 ++++-- test/captain-skill.test.ts | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/captain/templates/brief.md b/captain/templates/brief.md index 1f6b0decb..7ab9f41f3 100644 --- a/captain/templates/brief.md +++ b/captain/templates/brief.md @@ -17,8 +17,10 @@ Spend cap: set, run dir under ~/.capy/work). Write the plan with its ## ELI5, ## Before → after, ## Why it matters, ## What caused this work, ## Big decisions and ## Implementation plan sections, then run gstack-autoplan next --out --plan - sized to this brief (a one-file fix: --no-ui --no-dx --max-rounds 1 --estimate-usd - --spend-cap ). At the gate send me the output of + sized to this brief (a fix: --no-ui --no-dx --max-rounds 1 --estimate-usd + --spend-cap , then close the CEO phase before dispatching its voices with + gstack-autoplan close --out --phase ceo --deferred "eng-only fix plan"). + At the gate send me the output of gstack-owner-brief render --captain --out whole, as a needs-you report. Build nothing yet. 2. Build after the word. I bring the owner's exact words back. Answer them into the run diff --git a/test/captain-skill.test.ts b/test/captain-skill.test.ts index 8ac103231..47309ab79 100644 --- a/test/captain-skill.test.ts +++ b/test/captain-skill.test.ts @@ -89,6 +89,7 @@ describe('/captain skill', () => { expect(text, rel).toContain('one-round, eng-only plan'); } expect(read('docs/captain.md')).toContain('gstack-autoplan close --out --phase ceo --deferred'); + expect(read('captain/templates/brief.md').replace(/\s+/g, ' ')).toContain('gstack-autoplan close --out --phase ceo --deferred'); }); test('is generic: parameters, not one crew\'s codes, names or repository', () => {