mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 00:51:31 +01:00
/plan-ceo-review explains its mode recommendation by what that mode does that the closest other mode wouldn't (GST-3536) (#4730)
`/plan-ceo-review` now explains its review-mode recommendation by naming
a fact from your plan and what the recommended mode does with it that
the closest other mode wouldn't, instead of by the plan's category.
Why: category-only reasons ("the plan fits no clear category") scored 3
of 5 on the recommendation-substance check, so the AskUserQuestion
format eval failed about 3 runs in 10 and could block release cuts.
Nothing to do.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
dd1b610a3a
commit
0408128f2f
4 files changed
+9
-7
No files matched your search
@@ -442,7 +442,8 @@ test('CEO mode recommendation explains a plan-specific consequence without chang
|
||||
const source = fs.readFileSync(file, 'utf8');
|
||||
const mode = between(source, '### 0E. Mode Selection', '### 0F.');
|
||||
const recommendation = compactProse(between(mode, '2. Recommend without selecting.', '3. Resolve that recommendation.'));
|
||||
expect(recommendation).toMatch(/not just its count\/category/i);
|
||||
expect(recommendation).toMatch(/what this mode does with it that the nearest other mode would not/i);
|
||||
expect(recommendation).toMatch(/never a count or category alone/i);
|
||||
expectMentions(recommendation, [['>15', 'scope reduction']], 'recommendation');
|
||||
expect(recommendation).toContain('(greenfield) → SCOPE EXPANSION');
|
||||
expect(recommendation).toContain('added capability → SELECTIVE EXPANSION');
|
||||
|
||||
Reference in new issue
Block a user