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

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.6",
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.6",
3
+ "buildDate": "2026-01-27T10:43:41.794Z",
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
+ [ ] E{N}-S01-T01: {task title}
49
+ [ ] E{N}-S01-T02: {task title}
50
+ [ ] E{N}-S01-Review: run tests, verify AC
51
+ [ ] E{N}-S02: {story title}
52
+ [ ] E{N}-S02-T01: {task title}
53
+ [ ] E{N}-S02-T02: {task title}
54
+ [ ] E{N}-S02-Review: run tests, verify AC
51
55
  ...
52
- [ ] Epic integration tests
53
- [ ] Verify epic AC
56
+ [ ] E{N}-Integration: run epic integration tests
57
+ [ ] E{N}-AC: verify epic acceptance criteria
54
58
  ```
55
59
  </step>
60
+ <example>
61
+ ```
62
+ [ ] E04-S01: Merge Domain Logic
63
+ [ ] E04-S01-T01: MergeResult value object
64
+ [ ] E04-S01-T02: Merge service — primary selection
65
+ [ ] E04-S01-T03: Unit tests
66
+ [ ] E04-S01-Review: run tests, verify AC
67
+ [ ] E04-S02: Auto Merge on Link
68
+ [ ] E04-S02-T01: Event handler for link
69
+ [ ] E04-S02-T02: Best-effort merge logic
70
+ [ ] E04-S02-T03: Integration tests
71
+ [ ] E04-S02-Review: run tests, verify AC
72
+ [ ] E04-Integration: run epic integration tests
73
+ [ ] E04-AC: verify epic acceptance criteria
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
- ...
58
- [ ] Sprint integration tests
49
+ [ ] E{N1}: {epic title}
50
+ [ ] E{N1}-S01: {story title}
51
+ [ ] E{N1}-S01-T01: {task title}
52
+ [ ] E{N1}-S01-T02: {task title}
53
+ [ ] E{N1}-S01-Review: run tests, verify AC
54
+ [ ] E{N1}-S02: {story title}
55
+ [ ] E{N1}-S02-T01: {task title}
56
+ [ ] E{N1}-S02-Review: run tests, verify AC
57
+ [ ] E{N1}-Integration: epic integration tests
58
+ [ ] E{N2}: {epic title}
59
+ [ ] E{N2}-S01: {story title}
60
+ [ ] E{N2}-S01-T01: {task title}
61
+ [ ] E{N2}-S01-Review: run tests, verify AC
62
+ [ ] E{N2}-Integration: epic integration tests
63
+ [ ] Sprint-Integration: run sprint integration tests
59
64
  ```
60
65
  </step>
66
+ <example>
67
+ ```
68
+ [ ] E04: Identity Merge
69
+ [ ] E04-S01: Merge Domain Logic
70
+ [ ] E04-S01-T01: MergeResult value object
71
+ [ ] E04-S01-T02: Merge service
72
+ [ ] E04-S01-T03: Unit tests
73
+ [ ] E04-S01-Review: run tests, verify AC
74
+ [ ] E04-S02: Auto Merge on Link
75
+ [ ] E04-S02-T01: Event handler
76
+ [ ] E04-S02-T02: Integration tests
77
+ [ ] E04-S02-Review: run tests, verify AC
78
+ [ ] E04-Integration: epic integration tests
79
+ [ ] E06: Team Management
80
+ [ ] E06-S01: Team CRUD
81
+ [ ] E06-S01-T01: Domain model
82
+ [ ] E06-S01-T02: Handler
83
+ [ ] E06-S01-Review: run tests, verify AC
84
+ [ ] E06-Integration: epic integration tests
85
+ [ ] Sprint-Integration: run 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
+ [ ] E{E}-S{N}-T01: {task title from story}
76
+ [ ] E{E}-S{N}-T02: {task title}
77
+ [ ] E{E}-S{N}-T03: {task title}
78
+ ...
79
+ [ ] E{E}-S{N}-Review: run all tests, verify AC
80
+ ```
81
+ </template>
82
+ <example>
83
+ ```
84
+ [ ] E04-S01-T01: Domain Model — MergeResult value object
85
+ [ ] E04-S01-T02: Merge Service — primary selection logic
86
+ [ ] E04-S01-T03: External ID reassignment
87
+ [ ] E04-S01-T04: Unit tests for merge logic
88
+ [ ] E04-S01-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>