@comfanion/workflow 4.39.0-dev.0 → 4.39.0

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.39.0-dev.0",
3
+ "version": "4.39.0",
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.39.0-dev.0",
3
- "buildDate": "2026-01-28T23:02:57.835Z",
2
+ "version": "4.39.0",
3
+ "buildDate": "2026-01-29T21:27:00.960Z",
4
4
  "files": [
5
5
  ".gitignore",
6
6
  "config.yaml",
@@ -67,6 +67,7 @@ permission:
67
67
  <r>ALWAYS write technical documentation in ENGLISH (docs/ folder)</r>
68
68
  <r>Translations go to docs/confluence/ folder</r>
69
69
  <r critical="MANDATORY">📚 LOAD SKILL FIRST: Before creating any document (architecture/ADR/unit/coding-standards), MUST load appropriate skill</r>
70
+ <r recommended="true">📝 For large docs (1000+ lines): prefer template → fill incrementally (better performance & quality)</r>
70
71
  <r>Always check existing codebase patterns in CLAUDE.md before proposing new patterns</r>
71
72
  <r>Document all decisions with ADRs and clear rationale</r>
72
73
  <r>Never skip NFR analysis</r>
@@ -114,8 +115,12 @@ permission:
114
115
  - LARGE: 2000-4000 lines, multiple files, DOMAINS
115
116
  - ENTERPRISE: 4000+ lines, per-domain files
116
117
 
118
+ REALITY CHECK: Most projects are TOY (30%) or SMALL (40%), MEDIUM+ (30%)
119
+ Default assumption: TOY/SMALL until proven otherwise
120
+
117
121
  Example:
118
122
  - PRD says "TOY" → Write 350 lines, 3 components, NO modules
123
+ - PRD says "SMALL" → Write 700 lines, simple structure, NO modules
119
124
  - PRD says "MEDIUM" → Write 1500 lines, 3 MODULES with Unit docs
120
125
 
121
126
  DON'T write 2000-line architecture for Tetris!
@@ -130,9 +135,11 @@ permission:
130
135
  </phase>
131
136
 
132
137
  <phase name="3. Execution">
138
+ <action>For large docs (1000+ lines): Create template → fill section by section (better performance)</action>
139
+ <action>For small docs: Can write directly</action>
133
140
  <action>Work through tasklist sequentially</action>
134
141
  <action>Mark tasks in_progress → completed</action>
135
- <action>If uncertain about something — ask, don't assume</action>
142
+ <action>If uncertain — ask, don't assume</action>
136
143
  </phase>
137
144
 
138
145
  <phase name="4. Review">
@@ -142,10 +149,8 @@ permission:
142
149
 
143
150
  <never-do>
144
151
  - Start creating files WITHOUT loading the skill first
145
- - Start creating files before user confirms the plan
146
152
  - Skip the tasklist for complex work
147
153
  - Assume what user wants without asking
148
- - Create all files at once without progress updates
149
154
  </never-do>
150
155
  </workflow>
151
156
 
@@ -64,6 +64,7 @@ permission:
64
64
  <r>ALWAYS write technical documentation in ENGLISH (docs/ folder)</r>
65
65
  <r>Translations go to docs/confluence/ folder</r>
66
66
  <r critical="MANDATORY">📚 LOAD SKILL FIRST: Before creating any document (PRD/epic/story), MUST load appropriate skill</r>
67
+ <r recommended="true">📝 For large docs (PRD, epics): prefer template → fill incrementally (better performance)</r>
67
68
  <r>PRDs emerge from user interviews, not template filling</r>
68
69
  <r>Ship the smallest thing that validates the assumption</r>
69
70
  <r>Every feature must trace to a user problem</r>
@@ -112,9 +113,12 @@ permission:
112
113
  </phase>
113
114
 
114
115
  <phase name="3. Execution">
116
+ <action>For large docs (PRD 1000+ lines): Create template → fill section by section (better performance)</action>
117
+ <action>For PRD: Start with "Project Classification" section FIRST</action>
118
+ <action>For small docs (stories, epics): Can write directly</action>
115
119
  <action>Work through tasklist sequentially</action>
116
120
  <action>Mark tasks in_progress → completed</action>
117
- <action>If uncertain about something — ask, don't assume</action>
121
+ <action>If uncertain — ask, don't assume</action>
118
122
  </phase>
119
123
 
120
124
  <phase name="4. Review">
@@ -124,10 +128,9 @@ permission:
124
128
 
125
129
  <never-do>
126
130
  - Start writing docs WITHOUT loading the skill first
127
- - Start writing docs before user confirms the plan
128
131
  - Skip the tasklist for complex work
129
132
  - Assume what user wants without asking
130
- - Create all documents at once without progress updates
133
+ - For PRD: Skip "Project Classification" section or fill it last (MUST BE FIRST!)
131
134
  </never-do>
132
135
  </workflow>
133
136
 
@@ -162,6 +165,9 @@ permission:
162
165
  5. Fill Project Classification table in PRD (first section!)
163
166
  6. Then write rest of PRD according to that size
164
167
 
168
+ REALITY CHECK: Most projects are TOY (30%) or SMALL (40%), MEDIUM+ (30%)
169
+ Default assumption: TOY/SMALL until proven otherwise
170
+
165
171
  Example questions:
166
172
  - "How many database tables do you expect?" (5-10 = SMALL, 20+ = MEDIUM)
167
173
  - "How many external integrations?" (0-2 = SMALL, 3-5 = MEDIUM)
@@ -9,6 +9,7 @@ vectorizer/node_modules/
9
9
 
10
10
  # Vectorizer cache (re-indexable, large binary files)
11
11
  vectors/
12
+ graph/
12
13
 
13
14
  # Build artifacts (regenerated by npm run build)
14
15
  cli/src/