knowzcode 0.3.6 → 0.4.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/.claude-plugin/marketplace.json +61 -61
- package/.claude-plugin/plugin.json +8 -8
- package/LICENSE +121 -121
- package/README.md +354 -320
- package/agents/analyst.md +114 -114
- package/agents/architect.md +200 -200
- package/agents/builder.md +104 -104
- package/agents/closer.md +177 -95
- package/agents/context-scout.md +54 -54
- package/agents/knowledge-migrator.md +349 -349
- package/agents/knowz-scout.md +83 -83
- package/agents/knowz-scribe.md +180 -180
- package/agents/microfix-specialist.md +135 -135
- package/agents/project-advisor.md +111 -111
- package/agents/reviewer.md +172 -172
- package/agents/security-officer.md +194 -194
- package/agents/test-advisor.md +162 -162
- package/agents/update-coordinator.md +394 -394
- package/bin/knowzcode.mjs +1199 -956
- package/commands/audit.md +328 -328
- package/commands/connect-mcp.md +549 -549
- package/commands/fix.md +107 -107
- package/commands/init.md +500 -439
- package/commands/learn.md +332 -332
- package/commands/plan.md +272 -272
- package/commands/register.md +733 -733
- package/commands/status.md +309 -309
- package/commands/telemetry-setup.md +368 -368
- package/commands/telemetry.md +188 -188
- package/commands/work.md +1204 -1170
- package/knowzcode/automation_manifest.md +59 -59
- package/knowzcode/claude_code_execution.md +431 -420
- package/knowzcode/copilot_execution.md +231 -231
- package/knowzcode/enterprise/compliance_manifest.md +137 -137
- package/knowzcode/enterprise/compliance_status.md +30 -30
- package/knowzcode/enterprise/guidelines/code-quality.md +67 -67
- package/knowzcode/enterprise/guidelines/security.md +355 -355
- package/knowzcode/enterprise/templates/guideline-template.md +55 -55
- package/knowzcode/gitignore.template +13 -13
- package/knowzcode/knowzcode_architecture.md +51 -51
- package/knowzcode/knowzcode_log.md +142 -142
- package/knowzcode/knowzcode_loop.md +596 -593
- package/knowzcode/knowzcode_orchestration.md +66 -66
- package/knowzcode/knowzcode_project.md +48 -48
- package/knowzcode/knowzcode_tracker.md +40 -40
- package/knowzcode/knowzcode_vaults.md +257 -257
- package/knowzcode/mcp_config.md +191 -191
- package/knowzcode/planning/Readme.md +6 -6
- package/knowzcode/platform_adapters.md +1260 -1047
- package/knowzcode/prompts/Execute_Micro_Fix.md +57 -57
- package/knowzcode/prompts/Investigate_Codebase.md +227 -227
- package/knowzcode/prompts/Migrate_Knowledge.md +301 -301
- package/knowzcode/prompts/Refactor_Node.md +72 -72
- package/knowzcode/prompts/Spec_Verification_Checkpoint.md +59 -59
- package/knowzcode/prompts/[LOOP_1A]__Propose_Change_Set.md +52 -52
- package/knowzcode/prompts/[LOOP_1B]__Draft_Specs.md +75 -75
- package/knowzcode/prompts/[LOOP_2A]__Implement_Change_Set.md +55 -55
- package/knowzcode/prompts/[LOOP_2B]__Verify_Implementation.md +72 -72
- package/knowzcode/prompts/[LOOP_3]__Finalize_And_Commit.md +67 -67
- package/knowzcode/specs/Readme.md +10 -10
- package/knowzcode/telemetry_config.md +89 -89
- package/knowzcode/user_preferences.md +120 -120
- package/package.json +53 -53
- package/skills/alias-resolver.json +15 -15
- package/skills/architecture-diff.json +12 -12
- package/skills/check-installation-status.json +14 -14
- package/skills/continue.md +126 -126
- package/skills/environment-guard.json +12 -12
- package/skills/generate-workgroup-id.json +25 -25
- package/skills/install-knowzcode.json +21 -21
- package/skills/load-core-context.json +18 -18
- package/skills/log-entry-builder.json +15 -15
- package/skills/spec-quality-check.json +14 -14
- package/skills/spec-template.json +15 -15
- package/skills/spec-validator.json +25 -25
- package/skills/start-work.md +224 -224
- package/skills/tracker-scan.json +12 -12
- package/skills/tracker-update.json +28 -28
- package/skills/validate-installation.json +14 -14
package/knowzcode/mcp_config.md
CHANGED
|
@@ -1,191 +1,191 @@
|
|
|
1
|
-
# KnowzCode MCP Configuration
|
|
2
|
-
|
|
3
|
-
## Connection Status
|
|
4
|
-
- **Connected**: No
|
|
5
|
-
- **Endpoint**: (not configured)
|
|
6
|
-
- **Last Verified**: (never)
|
|
7
|
-
|
|
8
|
-
> **Not configured?** Run `/kc:register` to create an account and set up MCP automatically,
|
|
9
|
-
> or `/kc:connect-mcp <api-key>` if you already have a key.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Vaults
|
|
14
|
-
|
|
15
|
-
### Ecosystem Vault (Primary)
|
|
16
|
-
- **Vault ID**: (not configured)
|
|
17
|
-
- **Vault Name**: (not configured)
|
|
18
|
-
- **Purpose**: Decisions, conventions, security practices, integrations, business rules, domain knowledge
|
|
19
|
-
- **Auto-configured**: No
|
|
20
|
-
|
|
21
|
-
**Query Patterns (when configured):**
|
|
22
|
-
- "Our error handling conventions"
|
|
23
|
-
- "What patterns for API versioning?"
|
|
24
|
-
- "Security best practices we use"
|
|
25
|
-
- "Why did we choose Redis cache?"
|
|
26
|
-
- "Stripe webhook setup"
|
|
27
|
-
|
|
28
|
-
> **Backwards compatibility**: Vaults previously configured as type `research`, `domain`, or `platform` are treated identically to `ecosystem`. No migration needed.
|
|
29
|
-
|
|
30
|
-
### Code Vault (Optional)
|
|
31
|
-
- **Vault ID**: (not configured)
|
|
32
|
-
- **Vault Name**: (not configured)
|
|
33
|
-
- **Purpose**: Implementation patterns, workarounds, performance optimizations
|
|
34
|
-
|
|
35
|
-
**Note**: Code search works well with local grep/glob for most projects.
|
|
36
|
-
Configure a code vault for teams that want semantic search over implementation patterns and reusable utilities.
|
|
37
|
-
|
|
38
|
-
**Query Patterns (when configured):**
|
|
39
|
-
- "Retry logic pattern"
|
|
40
|
-
- "Workaround for rate limiting"
|
|
41
|
-
- "Performance optimization for bulk inserts"
|
|
42
|
-
- "JWT validation pattern"
|
|
43
|
-
|
|
44
|
-
### Finalizations Vault (Optional)
|
|
45
|
-
- **Vault ID**: (not configured)
|
|
46
|
-
- **Vault Name**: (not configured)
|
|
47
|
-
- **Purpose**: WorkGroup completion summaries, outcome records, finalization details
|
|
48
|
-
|
|
49
|
-
**Note**: Finalizations vault provides a searchable history of completed work.
|
|
50
|
-
Useful for teams that want to review past work patterns and outcomes.
|
|
51
|
-
|
|
52
|
-
**Query Patterns (when configured):**
|
|
53
|
-
- "What happened in WG-feat-auth?"
|
|
54
|
-
- "Recent completion outcomes"
|
|
55
|
-
- "Goals we worked on last week"
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Single Vault Model (Recommended for New Users)
|
|
60
|
-
|
|
61
|
-
KnowzCode recommends starting with a **single "KnowzCode" vault** for simplicity:
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
┌──────────────────────────────────────────────────────┐
|
|
65
|
-
│ KnowzCode Vault │
|
|
66
|
-
│ │
|
|
67
|
-
│ Purpose: All learnings, decisions, patterns, etc. │
|
|
68
|
-
│ Read by: knowz-scout, knowz-scribe, all agents │
|
|
69
|
-
│ Written by: knowz-scribe, knowz-scout, /kc:learn │
|
|
70
|
-
│ Code search: Uses local grep/glob (no code vault) │
|
|
71
|
-
│ │
|
|
72
|
-
└──────────────────────────────────────────────────────┘
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
**Why single vault?**
|
|
76
|
-
- Simpler onboarding (no vault type decisions needed)
|
|
77
|
-
- Code search works fine with grep/glob for most projects
|
|
78
|
-
- MCP vault is optimized for organizational knowledge, not code indexing
|
|
79
|
-
- Advanced users can add specialized vaults later via `/kc:connect-mcp --configure-vaults`
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## Usage in Agents
|
|
84
|
-
|
|
85
|
-
| Agent | Vault Interaction | Purpose |
|
|
86
|
-
|-------|-------------------|---------|
|
|
87
|
-
| knowz-scout | Read all configured vaults | Find past decisions, conventions, patterns |
|
|
88
|
-
| knowz-scribe | Read and write to matching vaults | Route learnings per write conditions |
|
|
89
|
-
| analyst | Read via knowz-scout | Past decisions + affected code patterns |
|
|
90
|
-
| architect | Read via knowz-scout | Conventions + implementation examples |
|
|
91
|
-
| builder | Read via knowz-scout | Best practices + similar patterns |
|
|
92
|
-
| reviewer | Read via knowz-scout | Standards + precedent check |
|
|
93
|
-
| closer | Triggers knowz-scribe captures | Finalization learnings |
|
|
94
|
-
|
|
95
|
-
**Fallback behavior**: When specialized vaults are not configured, agents use local grep/glob
|
|
96
|
-
for code search and the single vault for all knowledge queries.
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
|
-
## MCP Tools Reference
|
|
101
|
-
|
|
102
|
-
### Query Tools (Read — used by knowz-scout)
|
|
103
|
-
|
|
104
|
-
**search_knowledge(query, vaultId, limit)**
|
|
105
|
-
- Vector similarity search across indexed content
|
|
106
|
-
- Use for: finding code patterns or documentation
|
|
107
|
-
- Example: `search_knowledge("authentication logic", ecosystem_vault_id, 10)`
|
|
108
|
-
|
|
109
|
-
**ask_question(question, vaultId, researchMode)**
|
|
110
|
-
- AI-powered question answering with document synthesis
|
|
111
|
-
- `researchMode: false` - Quick answer (faster)
|
|
112
|
-
- `researchMode: true` - Comprehensive answer (8000+ tokens, multi-document)
|
|
113
|
-
- Example: `ask_question("What are our error handling conventions?", ecosystem_vault_id, true)`
|
|
114
|
-
|
|
115
|
-
**find_entities(entityType, query, limit)**
|
|
116
|
-
- Find people, locations, or events extracted from knowledge base
|
|
117
|
-
- `entityType`: "person", "location", or "event"
|
|
118
|
-
- Example: `find_entities("person", "John", 25)`
|
|
119
|
-
|
|
120
|
-
**get_knowledge_item(id, includeRelated)**
|
|
121
|
-
- Retrieve a specific knowledge item by ID
|
|
122
|
-
- `includeRelated: true` to include related items
|
|
123
|
-
|
|
124
|
-
**list_vaults(includeStats)**
|
|
125
|
-
- List all accessible vaults with optional statistics
|
|
126
|
-
|
|
127
|
-
### Write Tools (used by knowz-scribe and /kc:learn)
|
|
128
|
-
|
|
129
|
-
**create_knowledge(content, title, knowledgeType, vaultId, tags, source)**
|
|
130
|
-
- Create new knowledge item in vault
|
|
131
|
-
- `knowledgeType`: "Document", "Note", or "Transcript"
|
|
132
|
-
- Example:
|
|
133
|
-
```json
|
|
134
|
-
{
|
|
135
|
-
"content": "[CONTEXT]...\n[INSIGHT]...\n[RATIONALE]...",
|
|
136
|
-
"title": "Decision: JWT Refresh Flow",
|
|
137
|
-
"knowledgeType": "Note",
|
|
138
|
-
"vaultId": "{ecosystem_vault_id}",
|
|
139
|
-
"tags": ["security", "jwt", "decision"],
|
|
140
|
-
"source": "KnowzCode WorkGroup WG-feat-auth-20260128"
|
|
141
|
-
}
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
**create_vault(name, description)**
|
|
145
|
-
- Create a new vault on the Knowz server
|
|
146
|
-
- `name`: Display name for the vault (e.g., "Code Patterns")
|
|
147
|
-
- `description`: Description of the vault's purpose and content
|
|
148
|
-
- Returns the created vault's ID
|
|
149
|
-
- Used during vault setup when default entries have empty IDs
|
|
150
|
-
- **Note**: Availability depends on MCP server version. If not available, fall back to matching by name against `list_vaults()` results.
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## Auto-Learning Configuration
|
|
155
|
-
|
|
156
|
-
- **Enabled**: Yes
|
|
157
|
-
- **Prompt on Detection**: Yes
|
|
158
|
-
- **Learning Categories**: Pattern, Decision, Workaround, Performance, Security, Convention, Integration
|
|
159
|
-
|
|
160
|
-
### Detection Signals
|
|
161
|
-
|
|
162
|
-
Learnings are auto-detected when WorkGroup contains:
|
|
163
|
-
- **Pattern signals**: "created utility for", "new helper", "reusable"
|
|
164
|
-
- **Decision signals**: "chose X over Y", "decided to", "opted for"
|
|
165
|
-
- **Workaround signals**: "workaround", "limitation", "temporary"
|
|
166
|
-
- **Performance signals**: "optimized", "reduced from X to Y"
|
|
167
|
-
- **Security signals**: "security", "vulnerability", "sanitize"
|
|
168
|
-
- **Integration signals**: "integrated with", "API behavior", "third-party"
|
|
169
|
-
|
|
170
|
-
### Learning Category Routing
|
|
171
|
-
|
|
172
|
-
| Category | Target Vault Type |
|
|
173
|
-
|----------|-------------------|
|
|
174
|
-
| Pattern | `code` |
|
|
175
|
-
| Workaround | `code` |
|
|
176
|
-
| Performance | `code` |
|
|
177
|
-
| Decision | `ecosystem` |
|
|
178
|
-
| Convention | `ecosystem` |
|
|
179
|
-
| Security | `ecosystem` |
|
|
180
|
-
| Integration | `ecosystem` |
|
|
181
|
-
| Completion record | `finalizations` |
|
|
182
|
-
|
|
183
|
-
---
|
|
184
|
-
|
|
185
|
-
## Configuration Commands
|
|
186
|
-
|
|
187
|
-
- `/kc:register` - Create account and auto-configure MCP + vault
|
|
188
|
-
- `/kc:connect-mcp` - Configure MCP server (use existing API key)
|
|
189
|
-
- `/kc:connect-mcp --configure-vaults` - Reconfigure vault IDs
|
|
190
|
-
- `/kc:status` - Check connection status and vault info
|
|
191
|
-
- `/kc:learn "insight"` - Manually create learning (routes via knowz-scribe if available)
|
|
1
|
+
# KnowzCode MCP Configuration
|
|
2
|
+
|
|
3
|
+
## Connection Status
|
|
4
|
+
- **Connected**: No
|
|
5
|
+
- **Endpoint**: (not configured)
|
|
6
|
+
- **Last Verified**: (never)
|
|
7
|
+
|
|
8
|
+
> **Not configured?** Run `/kc:register` to create an account and set up MCP automatically,
|
|
9
|
+
> or `/kc:connect-mcp <api-key>` if you already have a key.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Vaults
|
|
14
|
+
|
|
15
|
+
### Ecosystem Vault (Primary)
|
|
16
|
+
- **Vault ID**: (not configured)
|
|
17
|
+
- **Vault Name**: (not configured)
|
|
18
|
+
- **Purpose**: Decisions, conventions, security practices, integrations, business rules, domain knowledge
|
|
19
|
+
- **Auto-configured**: No
|
|
20
|
+
|
|
21
|
+
**Query Patterns (when configured):**
|
|
22
|
+
- "Our error handling conventions"
|
|
23
|
+
- "What patterns for API versioning?"
|
|
24
|
+
- "Security best practices we use"
|
|
25
|
+
- "Why did we choose Redis cache?"
|
|
26
|
+
- "Stripe webhook setup"
|
|
27
|
+
|
|
28
|
+
> **Backwards compatibility**: Vaults previously configured as type `research`, `domain`, or `platform` are treated identically to `ecosystem`. No migration needed.
|
|
29
|
+
|
|
30
|
+
### Code Vault (Optional)
|
|
31
|
+
- **Vault ID**: (not configured)
|
|
32
|
+
- **Vault Name**: (not configured)
|
|
33
|
+
- **Purpose**: Implementation patterns, workarounds, performance optimizations
|
|
34
|
+
|
|
35
|
+
**Note**: Code search works well with local grep/glob for most projects.
|
|
36
|
+
Configure a code vault for teams that want semantic search over implementation patterns and reusable utilities.
|
|
37
|
+
|
|
38
|
+
**Query Patterns (when configured):**
|
|
39
|
+
- "Retry logic pattern"
|
|
40
|
+
- "Workaround for rate limiting"
|
|
41
|
+
- "Performance optimization for bulk inserts"
|
|
42
|
+
- "JWT validation pattern"
|
|
43
|
+
|
|
44
|
+
### Finalizations Vault (Optional)
|
|
45
|
+
- **Vault ID**: (not configured)
|
|
46
|
+
- **Vault Name**: (not configured)
|
|
47
|
+
- **Purpose**: WorkGroup completion summaries, outcome records, finalization details
|
|
48
|
+
|
|
49
|
+
**Note**: Finalizations vault provides a searchable history of completed work.
|
|
50
|
+
Useful for teams that want to review past work patterns and outcomes.
|
|
51
|
+
|
|
52
|
+
**Query Patterns (when configured):**
|
|
53
|
+
- "What happened in WG-feat-auth?"
|
|
54
|
+
- "Recent completion outcomes"
|
|
55
|
+
- "Goals we worked on last week"
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Single Vault Model (Recommended for New Users)
|
|
60
|
+
|
|
61
|
+
KnowzCode recommends starting with a **single "KnowzCode" vault** for simplicity:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
┌──────────────────────────────────────────────────────┐
|
|
65
|
+
│ KnowzCode Vault │
|
|
66
|
+
│ │
|
|
67
|
+
│ Purpose: All learnings, decisions, patterns, etc. │
|
|
68
|
+
│ Read by: knowz-scout, knowz-scribe, all agents │
|
|
69
|
+
│ Written by: knowz-scribe, knowz-scout, /kc:learn │
|
|
70
|
+
│ Code search: Uses local grep/glob (no code vault) │
|
|
71
|
+
│ │
|
|
72
|
+
└──────────────────────────────────────────────────────┘
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Why single vault?**
|
|
76
|
+
- Simpler onboarding (no vault type decisions needed)
|
|
77
|
+
- Code search works fine with grep/glob for most projects
|
|
78
|
+
- MCP vault is optimized for organizational knowledge, not code indexing
|
|
79
|
+
- Advanced users can add specialized vaults later via `/kc:connect-mcp --configure-vaults`
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Usage in Agents
|
|
84
|
+
|
|
85
|
+
| Agent | Vault Interaction | Purpose |
|
|
86
|
+
|-------|-------------------|---------|
|
|
87
|
+
| knowz-scout | Read all configured vaults | Find past decisions, conventions, patterns |
|
|
88
|
+
| knowz-scribe | Read and write to matching vaults | Route learnings per write conditions |
|
|
89
|
+
| analyst | Read via knowz-scout | Past decisions + affected code patterns |
|
|
90
|
+
| architect | Read via knowz-scout | Conventions + implementation examples |
|
|
91
|
+
| builder | Read via knowz-scout | Best practices + similar patterns |
|
|
92
|
+
| reviewer | Read via knowz-scout | Standards + precedent check |
|
|
93
|
+
| closer | Triggers knowz-scribe captures | Finalization learnings |
|
|
94
|
+
|
|
95
|
+
**Fallback behavior**: When specialized vaults are not configured, agents use local grep/glob
|
|
96
|
+
for code search and the single vault for all knowledge queries.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## MCP Tools Reference
|
|
101
|
+
|
|
102
|
+
### Query Tools (Read — used by knowz-scout)
|
|
103
|
+
|
|
104
|
+
**search_knowledge(query, vaultId, limit)**
|
|
105
|
+
- Vector similarity search across indexed content
|
|
106
|
+
- Use for: finding code patterns or documentation
|
|
107
|
+
- Example: `search_knowledge("authentication logic", ecosystem_vault_id, 10)`
|
|
108
|
+
|
|
109
|
+
**ask_question(question, vaultId, researchMode)**
|
|
110
|
+
- AI-powered question answering with document synthesis
|
|
111
|
+
- `researchMode: false` - Quick answer (faster)
|
|
112
|
+
- `researchMode: true` - Comprehensive answer (8000+ tokens, multi-document)
|
|
113
|
+
- Example: `ask_question("What are our error handling conventions?", ecosystem_vault_id, true)`
|
|
114
|
+
|
|
115
|
+
**find_entities(entityType, query, limit)**
|
|
116
|
+
- Find people, locations, or events extracted from knowledge base
|
|
117
|
+
- `entityType`: "person", "location", or "event"
|
|
118
|
+
- Example: `find_entities("person", "John", 25)`
|
|
119
|
+
|
|
120
|
+
**get_knowledge_item(id, includeRelated)**
|
|
121
|
+
- Retrieve a specific knowledge item by ID
|
|
122
|
+
- `includeRelated: true` to include related items
|
|
123
|
+
|
|
124
|
+
**list_vaults(includeStats)**
|
|
125
|
+
- List all accessible vaults with optional statistics
|
|
126
|
+
|
|
127
|
+
### Write Tools (used by knowz-scribe and /kc:learn)
|
|
128
|
+
|
|
129
|
+
**create_knowledge(content, title, knowledgeType, vaultId, tags, source)**
|
|
130
|
+
- Create new knowledge item in vault
|
|
131
|
+
- `knowledgeType`: "Document", "Note", or "Transcript"
|
|
132
|
+
- Example:
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"content": "[CONTEXT]...\n[INSIGHT]...\n[RATIONALE]...",
|
|
136
|
+
"title": "Decision: JWT Refresh Flow",
|
|
137
|
+
"knowledgeType": "Note",
|
|
138
|
+
"vaultId": "{ecosystem_vault_id}",
|
|
139
|
+
"tags": ["security", "jwt", "decision"],
|
|
140
|
+
"source": "KnowzCode WorkGroup WG-feat-auth-20260128"
|
|
141
|
+
}
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**create_vault(name, description)**
|
|
145
|
+
- Create a new vault on the Knowz server
|
|
146
|
+
- `name`: Display name for the vault (e.g., "Code Patterns")
|
|
147
|
+
- `description`: Description of the vault's purpose and content
|
|
148
|
+
- Returns the created vault's ID
|
|
149
|
+
- Used during vault setup when default entries have empty IDs
|
|
150
|
+
- **Note**: Availability depends on MCP server version. If not available, fall back to matching by name against `list_vaults()` results.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Auto-Learning Configuration
|
|
155
|
+
|
|
156
|
+
- **Enabled**: Yes
|
|
157
|
+
- **Prompt on Detection**: Yes
|
|
158
|
+
- **Learning Categories**: Pattern, Decision, Workaround, Performance, Security, Convention, Integration
|
|
159
|
+
|
|
160
|
+
### Detection Signals
|
|
161
|
+
|
|
162
|
+
Learnings are auto-detected when WorkGroup contains:
|
|
163
|
+
- **Pattern signals**: "created utility for", "new helper", "reusable"
|
|
164
|
+
- **Decision signals**: "chose X over Y", "decided to", "opted for"
|
|
165
|
+
- **Workaround signals**: "workaround", "limitation", "temporary"
|
|
166
|
+
- **Performance signals**: "optimized", "reduced from X to Y"
|
|
167
|
+
- **Security signals**: "security", "vulnerability", "sanitize"
|
|
168
|
+
- **Integration signals**: "integrated with", "API behavior", "third-party"
|
|
169
|
+
|
|
170
|
+
### Learning Category Routing
|
|
171
|
+
|
|
172
|
+
| Category | Target Vault Type |
|
|
173
|
+
|----------|-------------------|
|
|
174
|
+
| Pattern | `code` |
|
|
175
|
+
| Workaround | `code` |
|
|
176
|
+
| Performance | `code` |
|
|
177
|
+
| Decision | `ecosystem` |
|
|
178
|
+
| Convention | `ecosystem` |
|
|
179
|
+
| Security | `ecosystem` |
|
|
180
|
+
| Integration | `ecosystem` |
|
|
181
|
+
| Completion record | `finalizations` |
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Configuration Commands
|
|
186
|
+
|
|
187
|
+
- `/kc:register` - Create account and auto-configure MCP + vault
|
|
188
|
+
- `/kc:connect-mcp` - Configure MCP server (use existing API key)
|
|
189
|
+
- `/kc:connect-mcp --configure-vaults` - Reconfigure vault IDs
|
|
190
|
+
- `/kc:status` - Check connection status and vault info
|
|
191
|
+
- `/kc:learn "insight"` - Manually create learning (routes via knowz-scribe if available)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
\# Planning Documents
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
This directory stores strategic planning documents and feature analyses generated during development.
|
|
6
|
-
|
|
1
|
+
\# Planning Documents
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
This directory stores strategic planning documents and feature analyses generated during development.
|
|
6
|
+
|