@comfanion/workflow 4.38.1-dev.4 → 4.38.1-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.38.1-dev.4",
3
+ "version": "4.38.1-dev.5",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.38.1-dev.4",
3
- "buildDate": "2026-01-27T10:26:28.340Z",
2
+ "version": "4.38.1-dev.5",
3
+ "buildDate": "2026-01-27T10:42:36.948Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -42,17 +42,37 @@ metadata:
42
42
  <phase name="2-init" title="Initialize Epic">
43
43
  <step n="1">Parse epic file → extract story list</step>
44
44
  <step n="2">Create epic state: docs/sprint-artifacts/sprint-N/.sprint-state/epic-XX-state.yaml</step>
45
- <step n="3">Create TODO list:
45
+ <step n="3">Create TODO list with IDs — stories, their tasks, and reviews:
46
46
  ```
47
- [ ] Story 1: [Title]
48
- [ ] Review Story 1
49
- [ ] Story 2: [Title]
50
- [ ] Review Story 2
47
+ [ ] E{N}-S01: {story title}
48
+ [ ] S01 T1: {task title}
49
+ [ ] S01 T2: {task title}
50
+ [ ] S01 Review: run tests, verify AC
51
+ [ ] E{N}-S02: {story title}
52
+ [ ] S02 T1: {task title}
53
+ [ ] S02 T2: {task title}
54
+ [ ] S02 Review: run tests, verify AC
51
55
  ...
52
- [ ] Epic integration tests
53
- [ ] Verify epic AC
56
+ [ ] E{N} Integration tests
57
+ [ ] E{N} Verify epic AC
54
58
  ```
55
59
  </step>
60
+ <example>
61
+ ```
62
+ [ ] E04-S01: Merge Domain Logic
63
+ [ ] S01 T1: MergeResult value object
64
+ [ ] S01 T2: Merge service — primary selection
65
+ [ ] S01 T3: Unit tests
66
+ [ ] S01 Review: run tests, verify AC
67
+ [ ] E04-S02: Auto Merge on Link
68
+ [ ] S02 T1: Event handler for link
69
+ [ ] S02 T2: Best-effort merge logic
70
+ [ ] S02 T3: Integration tests
71
+ [ ] S02 Review: run tests, verify AC
72
+ [ ] E04 Integration tests
73
+ [ ] E04 Verify epic AC
74
+ ```
75
+ </example>
56
76
  <step n="4">Set state: status="in-progress", next_action="Execute [first-story.md]"</step>
57
77
  <step n="5">Mark first story as in_progress in TODO</step>
58
78
  </phase>
@@ -44,20 +44,47 @@ metadata:
44
44
 
45
45
  <phase name="2-init" title="Initialize Sprint">
46
46
  <step n="1">Parse sprint-status.yaml → extract epic list for target sprint</step>
47
- <step n="2">Create master TODO list:
47
+ <step n="2">Create master TODO list with IDs — epics, stories, tasks, and reviews:
48
48
  ```
49
- [ ] Epic 1: [Title]
50
- [ ] Story 1-1: [Title]
51
- [ ] Review Story 1-1
52
- [ ] Story 1-2: [Title]
53
- [ ] Review Story 1-2
54
- [ ] Review Epic 1
55
- [ ] Epic 2: [Title]
56
- [ ] Story 2-1: [Title]
57
- ...
49
+ [ ] E{N1}: {epic title}
50
+ [ ] E{N1}-S01: {story title}
51
+ [ ] S01 T1: {task title}
52
+ [ ] S01 T2: {task title}
53
+ [ ] S01 Review: run tests, verify AC
54
+ [ ] E{N1}-S02: {story title}
55
+ [ ] S02 T1: {task title}
56
+ [ ] S02 Review: run tests, verify AC
57
+ [ ] E{N1} Review: integration tests
58
+ [ ] E{N2}: {epic title}
59
+ [ ] E{N2}-S01: {story title}
60
+ [ ] S01 T1: {task title}
61
+ [ ] S01 Review: run tests, verify AC
62
+ [ ] E{N2} Review: integration tests
58
63
  [ ] Sprint integration tests
59
64
  ```
60
65
  </step>
66
+ <example>
67
+ ```
68
+ [ ] E04: Identity Merge
69
+ [ ] E04-S01: Merge Domain Logic
70
+ [ ] S01 T1: MergeResult value object
71
+ [ ] S01 T2: Merge service
72
+ [ ] S01 T3: Unit tests
73
+ [ ] S01 Review: run tests, verify AC
74
+ [ ] E04-S02: Auto Merge on Link
75
+ [ ] S02 T1: Event handler
76
+ [ ] S02 T2: Integration tests
77
+ [ ] S02 Review: run tests, verify AC
78
+ [ ] E04 Review: integration tests
79
+ [ ] E06: Team Management
80
+ [ ] E06-S01: Team CRUD
81
+ [ ] S01 T1: Domain model
82
+ [ ] S01 T2: Handler
83
+ [ ] S01 Review: run tests, verify AC
84
+ [ ] E06 Review: integration tests
85
+ [ ] Sprint integration tests
86
+ ```
87
+ </example>
61
88
  <step n="3">Set sprint status="in-progress" in sprint-status.yaml</step>
62
89
  <step n="4">Mark first epic as in_progress in TODO</step>
63
90
  </phase>
@@ -68,6 +68,28 @@ metadata:
68
68
  </step>
69
69
  </phase>
70
70
 
71
+ <phase name="2b-todo" title="Create TODO with IDs">
72
+ <critical>TODO MUST use task IDs from story file!</critical>
73
+ <template>
74
+ ```
75
+ [ ] S{E}-{N} T1: {task title from story}
76
+ [ ] S{E}-{N} T2: {task title}
77
+ [ ] S{E}-{N} T3: {task title}
78
+ ...
79
+ [ ] S{E}-{N} Review: run all tests, verify AC
80
+ ```
81
+ </template>
82
+ <example>
83
+ ```
84
+ [ ] S04-01 T1: Domain Model — MergeResult value object
85
+ [ ] S04-01 T2: Merge Service — primary selection logic
86
+ [ ] S04-01 T3: External ID reassignment
87
+ [ ] S04-01 T4: Unit tests for merge logic
88
+ [ ] S04-01 Review: run all tests, verify AC
89
+ ```
90
+ </example>
91
+ </phase>
92
+
71
93
  <phase name="3-delegate" title="Delegate to @coder">
72
94
  <action>Formulate task using template below</action>
73
95
  <action>Call @coder with full context</action>