feat(epic): add Working Model as required section for epics

Epics now require a "Working Model" section in their description,
in addition to "Success Criteria". This provides clear guidance on
HOW the epic will be executed:

- Owner role: Coordinator vs Implementer
- Delegation target: Polecats, crew, external
- Review process: Approval gates

Closes gt-0lp

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
diesel
2026-01-22 17:32:38 -08:00
committed by John Ogle
parent 1f94b4b363
commit 2ac04c74a4
4 changed files with 80 additions and 42 deletions

View File

@@ -97,19 +97,34 @@ Widget displays correctly`,
// Epic type tests
{
name: "epic with success criteria",
name: "epic with all sections",
issueType: types.TypeEpic,
description: `Big project
## Success Criteria
- Project ships
- Users happy`,
- Users happy
## Working Model
- Owner role: Coordinator
- Delegation target: Polecats
- Review process: Refinery MQ`,
wantErr: false,
},
{
name: "epic missing success criteria",
name: "epic missing all sections",
issueType: types.TypeEpic,
description: "Do everything",
wantErr: true,
wantMissing: 2,
},
{
name: "epic missing working model",
issueType: types.TypeEpic,
description: `Big project
## Success Criteria
- Project ships`,
wantErr: true,
wantMissing: 1,
},