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.
- package/.claude/commands/wogi-bug.md +43 -0
- package/.claude/commands/wogi-bulk.md +144 -0
- package/.claude/commands/wogi-changelog.md +36 -0
- package/.claude/commands/wogi-compact.md +99 -0
- package/.claude/commands/wogi-config.md +50 -0
- package/.claude/commands/wogi-context.md +68 -0
- package/.claude/commands/wogi-correction.md +73 -0
- package/.claude/commands/wogi-debt.md +128 -0
- package/.claude/commands/wogi-deps.md +32 -0
- package/.claude/commands/wogi-epics.md +145 -0
- package/.claude/commands/wogi-export.md +100 -0
- package/.claude/commands/wogi-feature.md +149 -0
- package/.claude/commands/wogi-guided-edit.md +83 -0
- package/.claude/commands/wogi-health.md +43 -0
- package/.claude/commands/wogi-help.md +96 -0
- package/.claude/commands/wogi-hybrid-edit.md +36 -0
- package/.claude/commands/wogi-hybrid-off.md +24 -0
- package/.claude/commands/wogi-hybrid-setup.md +79 -0
- package/.claude/commands/wogi-hybrid-status.md +45 -0
- package/.claude/commands/wogi-hybrid.md +54 -0
- package/.claude/commands/wogi-import.md +44 -0
- package/.claude/commands/wogi-init.md +618 -0
- package/.claude/commands/wogi-log.md +38 -0
- package/.claude/commands/wogi-map-add.md +29 -0
- package/.claude/commands/wogi-map-check.md +35 -0
- package/.claude/commands/wogi-map-index.md +98 -0
- package/.claude/commands/wogi-map-scan.md +38 -0
- package/.claude/commands/wogi-map-sync.md +91 -0
- package/.claude/commands/wogi-map.md +33 -0
- package/.claude/commands/wogi-morning.md +65 -0
- package/.claude/commands/wogi-onboard.md +99 -0
- package/.claude/commands/wogi-plan.md +173 -0
- package/.claude/commands/wogi-ready.md +84 -0
- package/.claude/commands/wogi-resume.md +95 -0
- package/.claude/commands/wogi-review.md +636 -0
- package/.claude/commands/wogi-roadmap.md +241 -0
- package/.claude/commands/wogi-rules.md +104 -0
- package/.claude/commands/wogi-search.md +33 -0
- package/.claude/commands/wogi-session-end.md +49 -0
- package/.claude/commands/wogi-setup-stack.md +151 -0
- package/.claude/commands/wogi-skill-learn.md +66 -0
- package/.claude/commands/wogi-skills.md +87 -0
- package/.claude/commands/wogi-standup.md +28 -0
- package/.claude/commands/wogi-start.md +465 -0
- package/.claude/commands/wogi-status.md +41 -0
- package/.claude/commands/wogi-statusline-setup/skill.md +109 -0
- package/.claude/commands/wogi-story.md +98 -0
- package/.claude/commands/wogi-suspend.md +87 -0
- package/.claude/commands/wogi-test-browser.md +43 -0
- package/.claude/commands/wogi-trace.md +198 -0
- package/.claude/docs/architecture.md +37 -0
- package/.claude/docs/commands.md +343 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/README.md +177 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/component-indexing.md +341 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/framework-detection.md +269 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/installation.md +146 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/onboarding-existing.md +317 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/team-setup.md +346 -0
- package/.claude/docs/knowledge-base/02-task-execution/01-task-planning.md +259 -0
- package/.claude/docs/knowledge-base/02-task-execution/02-execution-loop.md +443 -0
- package/.claude/docs/knowledge-base/02-task-execution/03-verification.md +417 -0
- package/.claude/docs/knowledge-base/02-task-execution/04-completion.md +374 -0
- package/.claude/docs/knowledge-base/02-task-execution/05-session-review.md +170 -0
- package/.claude/docs/knowledge-base/02-task-execution/README.md +173 -0
- package/.claude/docs/knowledge-base/02-task-execution/external-integrations.md +133 -0
- package/.claude/docs/knowledge-base/02-task-execution/model-management.md +202 -0
- package/.claude/docs/knowledge-base/02-task-execution/specification-mode.md +292 -0
- package/.claude/docs/knowledge-base/02-task-execution/sync-daemon.md +96 -0
- package/.claude/docs/knowledge-base/02-task-execution/trade-offs.md +345 -0
- package/.claude/docs/knowledge-base/02-task-execution/workflow-steps.md +357 -0
- package/.claude/docs/knowledge-base/03-self-improvement/README.md +199 -0
- package/.claude/docs/knowledge-base/03-self-improvement/long-input-processing.md +160 -0
- package/.claude/docs/knowledge-base/03-self-improvement/model-learning.md +334 -0
- package/.claude/docs/knowledge-base/03-self-improvement/project-learning.md +301 -0
- package/.claude/docs/knowledge-base/03-self-improvement/skill-learning.md +372 -0
- package/.claude/docs/knowledge-base/03-self-improvement/skill-matching.md +304 -0
- package/.claude/docs/knowledge-base/03-self-improvement/team-learning.md +342 -0
- package/.claude/docs/knowledge-base/04-memory-context/README.md +189 -0
- package/.claude/docs/knowledge-base/04-memory-context/context-management.md +308 -0
- package/.claude/docs/knowledge-base/04-memory-context/memory-commands.md +176 -0
- package/.claude/docs/knowledge-base/04-memory-context/memory-systems.md +359 -0
- package/.claude/docs/knowledge-base/04-memory-context/prd-management.md +115 -0
- package/.claude/docs/knowledge-base/04-memory-context/session-persistence.md +359 -0
- package/.claude/docs/knowledge-base/04-memory-context/team-history.md +317 -0
- package/.claude/docs/knowledge-base/05-development-tools/README.md +84 -0
- package/.claude/docs/knowledge-base/05-development-tools/code-traces.md +278 -0
- package/.claude/docs/knowledge-base/05-development-tools/figma-analyzer.md +253 -0
- package/.claude/docs/knowledge-base/05-development-tools/guided-edit.md +173 -0
- package/.claude/docs/knowledge-base/05-development-tools/mcp-integrations.md +286 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/README.md +153 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/checkpoint-rollback.md +302 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/commit-gates.md +309 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/damage-control.md +292 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/security-scanning.md +291 -0
- package/.claude/docs/knowledge-base/README.md +92 -0
- package/.claude/docs/knowledge-base/configuration/README.md +228 -0
- package/.claude/docs/knowledge-base/configuration/all-options.md +1632 -0
- package/.claude/docs/knowledge-base/future-features.md +277 -0
- package/.claude/docs/stack.md +25 -0
- package/.claude/docs/testing.md +71 -0
- package/.claude/rules/README.md +60 -0
- package/.claude/rules/architecture/component-reuse.md +38 -0
- package/.claude/rules/architecture/document-structure.md +76 -0
- package/.claude/rules/architecture/feature-refactoring-cleanup.md +87 -0
- package/.claude/rules/architecture/model-management.md +35 -0
- package/.claude/rules/code-style/naming-conventions.md +55 -0
- package/.claude/rules/security/security-patterns.md +116 -0
- package/.claude/skills/.gitkeep +0 -0
- package/.claude/skills/README.md +131 -0
- package/.claude/skills/_template/commands/.gitkeep +0 -0
- package/.claude/skills/_template/knowledge/anti-patterns.md +49 -0
- package/.claude/skills/_template/knowledge/learnings.md +60 -0
- package/.claude/skills/_template/knowledge/patterns.md +45 -0
- package/.claude/skills/_template/rules/.gitkeep +0 -0
- package/.claude/skills/_template/skill.md +99 -0
- package/.claude/skills/_template/templates/.gitkeep +0 -0
- package/.claude/skills/figma-analyzer/knowledge/anti-patterns.md +216 -0
- package/.claude/skills/figma-analyzer/knowledge/patterns.md +144 -0
- package/.claude/skills/figma-analyzer/skill.md +236 -0
- package/lib/installer.js +59 -19
- 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
|