wogiflow 1.0.21 → 1.0.22

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.
Files changed (121) hide show
  1. package/.claude/commands/wogi-bug.md +43 -0
  2. package/.claude/commands/wogi-bulk.md +144 -0
  3. package/.claude/commands/wogi-changelog.md +36 -0
  4. package/.claude/commands/wogi-compact.md +99 -0
  5. package/.claude/commands/wogi-config.md +50 -0
  6. package/.claude/commands/wogi-context.md +68 -0
  7. package/.claude/commands/wogi-correction.md +73 -0
  8. package/.claude/commands/wogi-debt.md +128 -0
  9. package/.claude/commands/wogi-deps.md +32 -0
  10. package/.claude/commands/wogi-epics.md +145 -0
  11. package/.claude/commands/wogi-export.md +100 -0
  12. package/.claude/commands/wogi-feature.md +149 -0
  13. package/.claude/commands/wogi-guided-edit.md +83 -0
  14. package/.claude/commands/wogi-health.md +43 -0
  15. package/.claude/commands/wogi-help.md +96 -0
  16. package/.claude/commands/wogi-hybrid-edit.md +36 -0
  17. package/.claude/commands/wogi-hybrid-off.md +24 -0
  18. package/.claude/commands/wogi-hybrid-setup.md +79 -0
  19. package/.claude/commands/wogi-hybrid-status.md +45 -0
  20. package/.claude/commands/wogi-hybrid.md +54 -0
  21. package/.claude/commands/wogi-import.md +44 -0
  22. package/.claude/commands/wogi-init.md +618 -0
  23. package/.claude/commands/wogi-log.md +38 -0
  24. package/.claude/commands/wogi-map-add.md +29 -0
  25. package/.claude/commands/wogi-map-check.md +35 -0
  26. package/.claude/commands/wogi-map-index.md +98 -0
  27. package/.claude/commands/wogi-map-scan.md +38 -0
  28. package/.claude/commands/wogi-map-sync.md +91 -0
  29. package/.claude/commands/wogi-map.md +33 -0
  30. package/.claude/commands/wogi-morning.md +65 -0
  31. package/.claude/commands/wogi-onboard.md +99 -0
  32. package/.claude/commands/wogi-plan.md +173 -0
  33. package/.claude/commands/wogi-ready.md +84 -0
  34. package/.claude/commands/wogi-resume.md +95 -0
  35. package/.claude/commands/wogi-review.md +636 -0
  36. package/.claude/commands/wogi-roadmap.md +241 -0
  37. package/.claude/commands/wogi-rules.md +104 -0
  38. package/.claude/commands/wogi-search.md +33 -0
  39. package/.claude/commands/wogi-session-end.md +49 -0
  40. package/.claude/commands/wogi-setup-stack.md +151 -0
  41. package/.claude/commands/wogi-skill-learn.md +66 -0
  42. package/.claude/commands/wogi-skills.md +87 -0
  43. package/.claude/commands/wogi-standup.md +28 -0
  44. package/.claude/commands/wogi-start.md +465 -0
  45. package/.claude/commands/wogi-status.md +41 -0
  46. package/.claude/commands/wogi-statusline-setup/skill.md +109 -0
  47. package/.claude/commands/wogi-story.md +98 -0
  48. package/.claude/commands/wogi-suspend.md +87 -0
  49. package/.claude/commands/wogi-test-browser.md +43 -0
  50. package/.claude/commands/wogi-trace.md +198 -0
  51. package/.claude/docs/architecture.md +37 -0
  52. package/.claude/docs/commands.md +343 -0
  53. package/.claude/docs/knowledge-base/01-setup-onboarding/README.md +177 -0
  54. package/.claude/docs/knowledge-base/01-setup-onboarding/component-indexing.md +341 -0
  55. package/.claude/docs/knowledge-base/01-setup-onboarding/framework-detection.md +269 -0
  56. package/.claude/docs/knowledge-base/01-setup-onboarding/installation.md +146 -0
  57. package/.claude/docs/knowledge-base/01-setup-onboarding/onboarding-existing.md +317 -0
  58. package/.claude/docs/knowledge-base/01-setup-onboarding/team-setup.md +346 -0
  59. package/.claude/docs/knowledge-base/02-task-execution/01-task-planning.md +259 -0
  60. package/.claude/docs/knowledge-base/02-task-execution/02-execution-loop.md +443 -0
  61. package/.claude/docs/knowledge-base/02-task-execution/03-verification.md +417 -0
  62. package/.claude/docs/knowledge-base/02-task-execution/04-completion.md +374 -0
  63. package/.claude/docs/knowledge-base/02-task-execution/05-session-review.md +170 -0
  64. package/.claude/docs/knowledge-base/02-task-execution/README.md +173 -0
  65. package/.claude/docs/knowledge-base/02-task-execution/external-integrations.md +133 -0
  66. package/.claude/docs/knowledge-base/02-task-execution/model-management.md +202 -0
  67. package/.claude/docs/knowledge-base/02-task-execution/specification-mode.md +292 -0
  68. package/.claude/docs/knowledge-base/02-task-execution/sync-daemon.md +96 -0
  69. package/.claude/docs/knowledge-base/02-task-execution/trade-offs.md +345 -0
  70. package/.claude/docs/knowledge-base/02-task-execution/workflow-steps.md +357 -0
  71. package/.claude/docs/knowledge-base/03-self-improvement/README.md +199 -0
  72. package/.claude/docs/knowledge-base/03-self-improvement/long-input-processing.md +160 -0
  73. package/.claude/docs/knowledge-base/03-self-improvement/model-learning.md +334 -0
  74. package/.claude/docs/knowledge-base/03-self-improvement/project-learning.md +301 -0
  75. package/.claude/docs/knowledge-base/03-self-improvement/skill-learning.md +372 -0
  76. package/.claude/docs/knowledge-base/03-self-improvement/skill-matching.md +304 -0
  77. package/.claude/docs/knowledge-base/03-self-improvement/team-learning.md +342 -0
  78. package/.claude/docs/knowledge-base/04-memory-context/README.md +189 -0
  79. package/.claude/docs/knowledge-base/04-memory-context/context-management.md +308 -0
  80. package/.claude/docs/knowledge-base/04-memory-context/memory-commands.md +176 -0
  81. package/.claude/docs/knowledge-base/04-memory-context/memory-systems.md +359 -0
  82. package/.claude/docs/knowledge-base/04-memory-context/prd-management.md +115 -0
  83. package/.claude/docs/knowledge-base/04-memory-context/session-persistence.md +359 -0
  84. package/.claude/docs/knowledge-base/04-memory-context/team-history.md +317 -0
  85. package/.claude/docs/knowledge-base/05-development-tools/README.md +84 -0
  86. package/.claude/docs/knowledge-base/05-development-tools/code-traces.md +278 -0
  87. package/.claude/docs/knowledge-base/05-development-tools/figma-analyzer.md +253 -0
  88. package/.claude/docs/knowledge-base/05-development-tools/guided-edit.md +173 -0
  89. package/.claude/docs/knowledge-base/05-development-tools/mcp-integrations.md +286 -0
  90. package/.claude/docs/knowledge-base/06-safety-guardrails/README.md +153 -0
  91. package/.claude/docs/knowledge-base/06-safety-guardrails/checkpoint-rollback.md +302 -0
  92. package/.claude/docs/knowledge-base/06-safety-guardrails/commit-gates.md +309 -0
  93. package/.claude/docs/knowledge-base/06-safety-guardrails/damage-control.md +292 -0
  94. package/.claude/docs/knowledge-base/06-safety-guardrails/security-scanning.md +291 -0
  95. package/.claude/docs/knowledge-base/README.md +92 -0
  96. package/.claude/docs/knowledge-base/configuration/README.md +228 -0
  97. package/.claude/docs/knowledge-base/configuration/all-options.md +1632 -0
  98. package/.claude/docs/knowledge-base/future-features.md +277 -0
  99. package/.claude/docs/stack.md +25 -0
  100. package/.claude/docs/testing.md +71 -0
  101. package/.claude/rules/README.md +60 -0
  102. package/.claude/rules/architecture/component-reuse.md +38 -0
  103. package/.claude/rules/architecture/document-structure.md +76 -0
  104. package/.claude/rules/architecture/feature-refactoring-cleanup.md +87 -0
  105. package/.claude/rules/architecture/model-management.md +35 -0
  106. package/.claude/rules/code-style/naming-conventions.md +55 -0
  107. package/.claude/rules/security/security-patterns.md +116 -0
  108. package/.claude/skills/.gitkeep +0 -0
  109. package/.claude/skills/README.md +131 -0
  110. package/.claude/skills/_template/commands/.gitkeep +0 -0
  111. package/.claude/skills/_template/knowledge/anti-patterns.md +49 -0
  112. package/.claude/skills/_template/knowledge/learnings.md +60 -0
  113. package/.claude/skills/_template/knowledge/patterns.md +45 -0
  114. package/.claude/skills/_template/rules/.gitkeep +0 -0
  115. package/.claude/skills/_template/skill.md +99 -0
  116. package/.claude/skills/_template/templates/.gitkeep +0 -0
  117. package/.claude/skills/figma-analyzer/knowledge/anti-patterns.md +216 -0
  118. package/.claude/skills/figma-analyzer/knowledge/patterns.md +144 -0
  119. package/.claude/skills/figma-analyzer/skill.md +236 -0
  120. package/lib/installer.js +59 -19
  121. package/package.json +5 -1
@@ -0,0 +1,228 @@
1
+ # Configuration
2
+
3
+ How to configure WogiFlow.
4
+
5
+ ---
6
+
7
+ ## Location
8
+
9
+ All configuration lives in `.workflow/config.json`:
10
+
11
+ ```json
12
+ {
13
+ "version": "2.0.0",
14
+ "projectName": "my-project",
15
+ // ... options
16
+ }
17
+ ```
18
+
19
+ ---
20
+
21
+ ## Quick Start
22
+
23
+ ### View Current Config
24
+
25
+ ```bash
26
+ cat .workflow/config.json
27
+ ```
28
+
29
+ ### Modify Config
30
+
31
+ ```bash
32
+ # Using the config command
33
+ /wogi-config set loops.maxRetries 10
34
+
35
+ # Or edit directly
36
+ # (config is auto-reloaded)
37
+ ```
38
+
39
+ ---
40
+
41
+ ## Configuration Categories
42
+
43
+ | Category | What It Controls |
44
+ |----------|------------------|
45
+ | **Execution** | Task loops, verification, quality gates |
46
+ | **Learning** | Skills, model adapters, knowledge routing |
47
+ | **Memory** | Context monitor, session state, facts |
48
+ | **Safety** | Damage control, security scanning, checkpoints |
49
+ | **Team** | Sync settings, conflict resolution |
50
+ | **Development** | Figma, traces, MCP |
51
+
52
+ ---
53
+
54
+ ## Key Trade-offs
55
+
56
+ ### Token Usage vs Quality
57
+
58
+ ```json
59
+ {
60
+ "loops": {
61
+ "maxRetries": 5, // Higher = more tokens, better results
62
+ "maxIterations": 20 // Higher = more tokens, better results
63
+ }
64
+ }
65
+ ```
66
+
67
+ ### Speed vs Control
68
+
69
+ ```json
70
+ {
71
+ "parallel": {
72
+ "autoExecute": false // true = faster, less control
73
+ },
74
+ "storyDecomposition": {
75
+ "autoDecompose": false // true = faster, less input
76
+ }
77
+ }
78
+ ```
79
+
80
+ ### Strictness vs Flexibility
81
+
82
+ ```json
83
+ {
84
+ "enforcement": {
85
+ "strictMode": true // true = more gates, better quality
86
+ },
87
+ "qualityGates": {
88
+ "feature": {
89
+ "require": ["tests"] // More gates = slower, better quality
90
+ }
91
+ }
92
+ }
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Common Configurations
98
+
99
+ ### Minimal (Fast, Flexible)
100
+
101
+ ```json
102
+ {
103
+ "enforcement": {
104
+ "strictMode": false
105
+ },
106
+ "loops": {
107
+ "enforced": false,
108
+ "maxRetries": 2
109
+ },
110
+ "qualityGates": {
111
+ "feature": { "require": [] }
112
+ }
113
+ }
114
+ ```
115
+
116
+ ### Strict (High Quality)
117
+
118
+ ```json
119
+ {
120
+ "enforcement": {
121
+ "strictMode": true,
122
+ "requirePatternCitation": true
123
+ },
124
+ "loops": {
125
+ "enforced": true,
126
+ "maxRetries": 5
127
+ },
128
+ "qualityGates": {
129
+ "feature": {
130
+ "require": ["tests", "appMapUpdate", "requestLogEntry", "review"]
131
+ }
132
+ }
133
+ }
134
+ ```
135
+
136
+ ### Team-Optimized
137
+
138
+ ```json
139
+ {
140
+ "team": {
141
+ "enabled": true,
142
+ "sync": {
143
+ "decisions": true,
144
+ "skills": true,
145
+ "componentIndex": true
146
+ }
147
+ },
148
+ "knowledgeRouting": {
149
+ "autoDetect": true,
150
+ "modelSpecificLearning": true
151
+ }
152
+ }
153
+ ```
154
+
155
+ ### Cost-Optimized (Hybrid Mode)
156
+
157
+ ```json
158
+ {
159
+ "hybrid": {
160
+ "enabled": true,
161
+ "executor": {
162
+ "type": "local",
163
+ "model": "qwen2.5-coder:14b"
164
+ }
165
+ }
166
+ }
167
+ ```
168
+
169
+ ---
170
+
171
+ ## Environment Variables
172
+
173
+ Some options can be set via environment:
174
+
175
+ ```bash
176
+ # Team credentials
177
+ export WOGI_TEAM_API_KEY="your-key"
178
+
179
+ # Hybrid mode providers
180
+ export OPENAI_API_KEY="sk-..."
181
+ export ANTHROPIC_API_KEY="sk-ant-..."
182
+ export GOOGLE_API_KEY="AI..."
183
+ export GROQ_API_KEY="gsk_..."
184
+
185
+ # Voice input
186
+ export OPENAI_API_KEY="sk-..." # For Whisper
187
+ ```
188
+
189
+ ---
190
+
191
+ ## Config Inheritance
192
+
193
+ Config can be layered:
194
+
195
+ 1. **Default** - Built into wogi-flow
196
+ 2. **Project** - `.workflow/config.json`
197
+ 3. **Profile** - Imported via `/wogi-import`
198
+ 4. **Runtime** - Set via `/wogi-config`
199
+
200
+ Later layers override earlier ones.
201
+
202
+ ---
203
+
204
+ ## Validation
205
+
206
+ Config is validated on load:
207
+
208
+ ```
209
+ Config validation errors:
210
+ - loops.maxRetries: must be a number
211
+ - enforcement.strictMode: must be boolean
212
+ ```
213
+
214
+ Invalid config falls back to defaults.
215
+
216
+ ---
217
+
218
+ ## Reference
219
+
220
+ See [all-options.md](./all-options.md) for complete configuration reference with all 200+ options.
221
+
222
+ ---
223
+
224
+ ## Related
225
+
226
+ - [All Options](./all-options.md) - Complete reference
227
+ - [Task Execution](../02-task-execution/) - Execution config details
228
+ - [Team Setup](../01-setup-onboarding/team-setup.md) - Team config