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.
Files changed (79) hide show
  1. package/.claude-plugin/marketplace.json +61 -61
  2. package/.claude-plugin/plugin.json +8 -8
  3. package/LICENSE +121 -121
  4. package/README.md +354 -320
  5. package/agents/analyst.md +114 -114
  6. package/agents/architect.md +200 -200
  7. package/agents/builder.md +104 -104
  8. package/agents/closer.md +177 -95
  9. package/agents/context-scout.md +54 -54
  10. package/agents/knowledge-migrator.md +349 -349
  11. package/agents/knowz-scout.md +83 -83
  12. package/agents/knowz-scribe.md +180 -180
  13. package/agents/microfix-specialist.md +135 -135
  14. package/agents/project-advisor.md +111 -111
  15. package/agents/reviewer.md +172 -172
  16. package/agents/security-officer.md +194 -194
  17. package/agents/test-advisor.md +162 -162
  18. package/agents/update-coordinator.md +394 -394
  19. package/bin/knowzcode.mjs +1199 -956
  20. package/commands/audit.md +328 -328
  21. package/commands/connect-mcp.md +549 -549
  22. package/commands/fix.md +107 -107
  23. package/commands/init.md +500 -439
  24. package/commands/learn.md +332 -332
  25. package/commands/plan.md +272 -272
  26. package/commands/register.md +733 -733
  27. package/commands/status.md +309 -309
  28. package/commands/telemetry-setup.md +368 -368
  29. package/commands/telemetry.md +188 -188
  30. package/commands/work.md +1204 -1170
  31. package/knowzcode/automation_manifest.md +59 -59
  32. package/knowzcode/claude_code_execution.md +431 -420
  33. package/knowzcode/copilot_execution.md +231 -231
  34. package/knowzcode/enterprise/compliance_manifest.md +137 -137
  35. package/knowzcode/enterprise/compliance_status.md +30 -30
  36. package/knowzcode/enterprise/guidelines/code-quality.md +67 -67
  37. package/knowzcode/enterprise/guidelines/security.md +355 -355
  38. package/knowzcode/enterprise/templates/guideline-template.md +55 -55
  39. package/knowzcode/gitignore.template +13 -13
  40. package/knowzcode/knowzcode_architecture.md +51 -51
  41. package/knowzcode/knowzcode_log.md +142 -142
  42. package/knowzcode/knowzcode_loop.md +596 -593
  43. package/knowzcode/knowzcode_orchestration.md +66 -66
  44. package/knowzcode/knowzcode_project.md +48 -48
  45. package/knowzcode/knowzcode_tracker.md +40 -40
  46. package/knowzcode/knowzcode_vaults.md +257 -257
  47. package/knowzcode/mcp_config.md +191 -191
  48. package/knowzcode/planning/Readme.md +6 -6
  49. package/knowzcode/platform_adapters.md +1260 -1047
  50. package/knowzcode/prompts/Execute_Micro_Fix.md +57 -57
  51. package/knowzcode/prompts/Investigate_Codebase.md +227 -227
  52. package/knowzcode/prompts/Migrate_Knowledge.md +301 -301
  53. package/knowzcode/prompts/Refactor_Node.md +72 -72
  54. package/knowzcode/prompts/Spec_Verification_Checkpoint.md +59 -59
  55. package/knowzcode/prompts/[LOOP_1A]__Propose_Change_Set.md +52 -52
  56. package/knowzcode/prompts/[LOOP_1B]__Draft_Specs.md +75 -75
  57. package/knowzcode/prompts/[LOOP_2A]__Implement_Change_Set.md +55 -55
  58. package/knowzcode/prompts/[LOOP_2B]__Verify_Implementation.md +72 -72
  59. package/knowzcode/prompts/[LOOP_3]__Finalize_And_Commit.md +67 -67
  60. package/knowzcode/specs/Readme.md +10 -10
  61. package/knowzcode/telemetry_config.md +89 -89
  62. package/knowzcode/user_preferences.md +120 -120
  63. package/package.json +53 -53
  64. package/skills/alias-resolver.json +15 -15
  65. package/skills/architecture-diff.json +12 -12
  66. package/skills/check-installation-status.json +14 -14
  67. package/skills/continue.md +126 -126
  68. package/skills/environment-guard.json +12 -12
  69. package/skills/generate-workgroup-id.json +25 -25
  70. package/skills/install-knowzcode.json +21 -21
  71. package/skills/load-core-context.json +18 -18
  72. package/skills/log-entry-builder.json +15 -15
  73. package/skills/spec-quality-check.json +14 -14
  74. package/skills/spec-template.json +15 -15
  75. package/skills/spec-validator.json +25 -25
  76. package/skills/start-work.md +224 -224
  77. package/skills/tracker-scan.json +12 -12
  78. package/skills/tracker-update.json +28 -28
  79. package/skills/validate-installation.json +14 -14
@@ -1,309 +1,309 @@
1
- ---
2
- description: Check KnowzCode MCP server connection status and available tools
3
- ---
4
-
5
- # KnowzCode MCP Connection Status
6
-
7
- You are the **KnowzCode Status Agent**. Your task is to verify the KnowzCode MCP server configuration and test connectivity.
8
-
9
- ## What This Checks
10
-
11
- - MCP server configuration status
12
- - Connection to KnowzCode API
13
- - Available tools and their status
14
- - API key validity
15
- - **Code Vault** configuration and status
16
- - **Ecosystem Vault** configuration and status
17
- - **Finalizations Vault** configuration and status
18
- - Project indexing status
19
-
20
- ## Your Task
21
-
22
- Check Agent Teams status, then check the KnowzCode MCP server status, and report findings to the user.
23
-
24
- ### Steps to Execute
25
-
26
- 1. **Check Agent Teams status**
27
-
28
- Check for agent definition files:
29
- - Glob for `agents/*.md`
30
- - List found agents with their names
31
-
32
- Report:
33
- ```
34
- ## Agent Teams
35
-
36
- Agent Definitions: {count} found ({comma-separated names})
37
- Agent Teams: Verified at runtime — commands attempt TeamCreate and fall back to Subagent Delegation if unavailable
38
- ```
39
-
40
- Note: Agent Teams availability is no longer checked via settings files. Commands (`/kc:work`, `/kc:plan`, `/kc:audit`) detect availability at runtime by attempting `TeamCreate()` and falling back gracefully. The `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` env var must still be set at the Claude Code level for Agent Teams to work, but commands do not check for it directly.
41
-
42
- 2. **Check MCP server configuration**
43
- ```bash
44
- CLAUDECODE= claude mcp get knowz
45
- ```
46
-
47
- - If configured: Extract scope, endpoint, headers
48
- - If not configured: Report and suggest `/kc:connect`
49
-
50
- 3. **Check vault configuration**
51
- - **Primary**: Read `knowzcode/knowzcode_vaults.md` for multi-vault routing
52
- - Parse `## Connected Vaults` section
53
- - Extract all configured vaults (ID, Name, Type, Description)
54
- - **Fallback**: Read `knowzcode/mcp_config.md` for legacy single-vault config
55
- - Extract Code Vault ID and name
56
- - Extract Ecosystem Vault ID and name
57
- - Note if no vaults are configured
58
-
59
- 4. **Verify connection and vault health (if configured)**
60
- - The MCP server should automatically list its available tools
61
- - Check if tools are accessible
62
- - If vaults are configured, attempt `list_vaults(includeStats=true)` to verify vault accessibility
63
- - Report vault document counts and last sync times
64
- - If vault IDs are configured but inaccessible, show warning with remediation steps
65
-
66
- 5. **Report status**
67
-
68
- **If configured and working**:
69
- ```
70
- ✅ KnowzCode MCP Server: Connected
71
-
72
- Configuration:
73
- • Scope: <local|project|user>
74
- • Endpoint: https://mcp.knowz.io/mcp
75
- • Status: Active
76
-
77
- Connected Vaults (from knowzcode_vaults.md):
78
- ┌────┬──────────────────────┬──────────┬─────────────────────────────────┐
79
- │ # │ Name │ Type │ Description (routing) │
80
- ├────┼──────────────────────┼──────────┼─────────────────────────────────┤
81
- │ 1 │ Engineering Knowledge│ ecosystem│ Patterns, decisions, conventions│
82
- │ 2 │ my-project-code │ code │ Source code for main API │
83
- │ 3 │ Team Wiki │ ecosystem│ Processes, onboarding │
84
- └────┴──────────────────────┴──────────┴─────────────────────────────────┘
85
-
86
- Vault Routing:
87
- • Code questions → my-project-code
88
- • Convention questions → Engineering Knowledge (default ecosystem)
89
- • Completion records → Finalizations
90
- • Learning capture → Engineering Knowledge (or prompt if ambiguous)
91
-
92
- Available Tools:
93
- ✓ search_knowledge - Vector search across vaults
94
- ✓ ask_question - AI Q&A with research mode
95
- ✓ create_knowledge - Save learnings to vault
96
- ✓ update_knowledge - Update existing items
97
- ✓ find_entities - Find people/locations/events
98
-
99
- Project: <project-path>
100
- Last sync: <if available>
101
-
102
- All systems operational. Agents can use MCP tools.
103
- ```
104
-
105
- **If configured but not working**:
106
- ```
107
- ⚠️ KnowzCode MCP Server: Configured but unavailable
108
-
109
- Configuration:
110
- • Scope: <scope>
111
- • Endpoint: <endpoint>
112
- • Status: Cannot connect
113
-
114
- Possible issues:
115
- • API key may be invalid or expired
116
- • Network connectivity issues
117
- • KnowzCode API may be down
118
-
119
- Troubleshooting:
120
- 1. Check your internet connection
121
- 2. Verify API key: https://knowz.io/api-keys
122
- 3. Reconfigure: /kc:connect-mcp <new-key>
123
- 4. Check status: https://status.knowz.io
124
- ```
125
-
126
- **If MCP connected but vaults not configured**:
127
- ```
128
- ⚠️ KnowzCode MCP Server: Connected (vaults not configured)
129
-
130
- Configuration:
131
- • Scope: <scope>
132
- • Endpoint: <endpoint>
133
- • Status: Active
134
-
135
- Connected Vaults: ⚠️ None configured
136
-
137
- MCP is connected but you haven't configured your vaults yet.
138
- Vaults enable semantic search and learning capture.
139
-
140
- To configure vaults:
141
- /kc:connect-mcp --configure-vaults
142
- (Interactive vault discovery and selection)
143
-
144
- Or manually edit: knowzcode/knowzcode_vaults.md
145
- ```
146
-
147
- **If not configured at all**:
148
- ```
149
- ℹ️ KnowzCode MCP Server: Not configured
150
-
151
- KnowzCode works fine without MCP! All core features work:
152
- ✓ TDD workflow (/kc:work)
153
- ✓ Spec generation
154
- ✓ Impact analysis
155
- ✓ Quality audits
156
-
157
- MCP adds enhanced capabilities:
158
- • Vector search across indexed code (Code Vault)
159
- • Convention and pattern lookups (Ecosystem Vault)
160
- • AI-powered Q&A with research mode
161
- • Automatic learning capture
162
-
163
- To enable these features:
164
- New user? /kc:register (creates account + configures)
165
- Have a key? /kc:connect-mcp <api-key>
166
- ```
167
-
168
- 6. **Additional diagnostics (if helpful)**
169
- - Check if project is indexed (if MCP connected)
170
- - Show vault document counts and last sync times
171
- - Report any rate limiting or quota issues
172
- - List any cached data available
173
- - Show learning capture status (enabled/disabled)
174
-
175
- ## Output Format
176
-
177
- Use clear status indicators:
178
- - ✅ Green check: Working perfectly
179
- - ⚠️ Warning: Configured but issues
180
- - ℹ️ Info: Not configured
181
- - ❌ Error: Critical failure
182
-
183
- ## Connection Details
184
-
185
- If connection is active, optionally show:
186
-
187
- ```
188
- Connection Details:
189
- • Response time: <ms>
190
- • Tools loaded: <count>
191
- • Cache status: <enabled/disabled>
192
- • Rate limit: <remaining/total>
193
- ```
194
-
195
- ## MCP Tool Details
196
-
197
- For each available tool, can optionally show:
198
-
199
- ```
200
- search_knowledge
201
- Description: Vector similarity search across vaults
202
- Vaults: Code Vault, Ecosystem Vault
203
- Status: ✓ Available
204
- Last used: <time>
205
-
206
- ask_question
207
- Description: AI-powered Q&A with optional research mode
208
- Vaults: Ecosystem Vault (primary)
209
- Research Mode: Enabled (8000+ token comprehensive answers)
210
- Status: ✓ Available
211
- Last used: <time>
212
-
213
- create_knowledge
214
- Description: Save learnings to vault
215
- Vaults: Ecosystem Vault (write)
216
- Used by: closer, /kc:learn
217
- Status: ✓ Available
218
- Last used: <time>
219
- ```
220
-
221
- ## Vault Status Details
222
-
223
- If vaults are configured, optionally show:
224
-
225
- ```
226
- Code Vault: my-project-code
227
- • Documents indexed: <count>
228
- • Last index: <timestamp>
229
- • Index status: Up to date / Stale / Indexing...
230
- • Paths: src/, tests/, packages/
231
-
232
- Ecosystem Vault: engineering-knowledge
233
- • Documents: <count>
234
- • Notes: <count>
235
- • Last updated: <timestamp>
236
- • Top tags: architecture, security, patterns
237
- ```
238
-
239
- ## Error States
240
-
241
- ### Invalid API Key
242
- ```
243
- ❌ Authentication Error
244
- The API key is invalid or expired.
245
-
246
- Update: /kc:connect-mcp <new-key>
247
- ```
248
-
249
- ### Network Issues
250
- ```
251
- ❌ Connection Error
252
- Cannot reach KnowzCode API at <endpoint>
253
-
254
- Check:
255
- • Internet connection
256
- • Firewall settings
257
- • VPN configuration
258
- ```
259
-
260
- ### Service Down
261
- ```
262
- ❌ Service Unavailable
263
- KnowzCode API is not responding.
264
-
265
- Status: https://status.knowz.io
266
- ```
267
-
268
- ## Usage Examples
269
-
270
- ### Basic status check
271
- ```bash
272
- /kc:status
273
- ```
274
-
275
- ### After configuration
276
- ```bash
277
- /kc:connect-mcp <api-key>
278
- # ... restart Claude Code ...
279
- /kc:status # Verify everything works
280
- ```
281
-
282
- ### Troubleshooting
283
- ```bash
284
- /kc:status # Check what's wrong
285
- # Follow suggested remediation steps
286
- ```
287
-
288
- ## Integration Notes
289
-
290
- This command is useful:
291
- - **After initial setup**: Verify `/kc:connect` worked
292
- - **When tools seem unavailable**: Debug MCP connection
293
- - **Before starting work**: Confirm enhanced features active
294
- - **Troubleshooting**: Diagnose connectivity issues
295
-
296
- ## Related Commands
297
-
298
- - `/kc:connect-mcp` - Configure MCP server
299
- - `/kc:init` - Initialize KnowzCode
300
- - `/kc:work` - Start feature (uses MCP if available)
301
-
302
- ## Important Notes
303
-
304
- - **Restart required**: After `/kc:connect-mcp`, Claude Code must restart
305
- - **Graceful degradation**: KnowzCode works without MCP (just less powerful)
306
- - **No credentials shown**: Never display full API keys
307
- - **Clear guidance**: Always suggest next steps if issues found
308
-
309
- Execute this status check now.
1
+ ---
2
+ description: Check KnowzCode MCP server connection status and available tools
3
+ ---
4
+
5
+ # KnowzCode MCP Connection Status
6
+
7
+ You are the **KnowzCode Status Agent**. Your task is to verify the KnowzCode MCP server configuration and test connectivity.
8
+
9
+ ## What This Checks
10
+
11
+ - MCP server configuration status
12
+ - Connection to KnowzCode API
13
+ - Available tools and their status
14
+ - API key validity
15
+ - **Code Vault** configuration and status
16
+ - **Ecosystem Vault** configuration and status
17
+ - **Finalizations Vault** configuration and status
18
+ - Project indexing status
19
+
20
+ ## Your Task
21
+
22
+ Check Agent Teams status, then check the KnowzCode MCP server status, and report findings to the user.
23
+
24
+ ### Steps to Execute
25
+
26
+ 1. **Check Agent Teams status**
27
+
28
+ Check for agent definition files:
29
+ - Glob for `agents/*.md`
30
+ - List found agents with their names
31
+
32
+ Report:
33
+ ```
34
+ ## Agent Teams
35
+
36
+ Agent Definitions: {count} found ({comma-separated names})
37
+ Agent Teams: Verified at runtime — commands attempt TeamCreate and fall back to Subagent Delegation if unavailable
38
+ ```
39
+
40
+ Note: Agent Teams availability is no longer checked via settings files. Commands (`/kc:work`, `/kc:plan`, `/kc:audit`) detect availability at runtime by attempting `TeamCreate()` and falling back gracefully. The `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` env var must still be set at the Claude Code level for Agent Teams to work, but commands do not check for it directly.
41
+
42
+ 2. **Check MCP server configuration**
43
+ ```bash
44
+ CLAUDECODE= claude mcp get knowz
45
+ ```
46
+
47
+ - If configured: Extract scope, endpoint, headers
48
+ - If not configured: Report and suggest `/kc:connect`
49
+
50
+ 3. **Check vault configuration**
51
+ - **Primary**: Read `knowzcode/knowzcode_vaults.md` for multi-vault routing
52
+ - Parse `## Connected Vaults` section
53
+ - Extract all configured vaults (ID, Name, Type, Description)
54
+ - **Fallback**: Read `knowzcode/mcp_config.md` for legacy single-vault config
55
+ - Extract Code Vault ID and name
56
+ - Extract Ecosystem Vault ID and name
57
+ - Note if no vaults are configured
58
+
59
+ 4. **Verify connection and vault health (if configured)**
60
+ - The MCP server should automatically list its available tools
61
+ - Check if tools are accessible
62
+ - If vaults are configured, attempt `list_vaults(includeStats=true)` to verify vault accessibility
63
+ - Report vault document counts and last sync times
64
+ - If vault IDs are configured but inaccessible, show warning with remediation steps
65
+
66
+ 5. **Report status**
67
+
68
+ **If configured and working**:
69
+ ```
70
+ ✅ KnowzCode MCP Server: Connected
71
+
72
+ Configuration:
73
+ • Scope: <local|project|user>
74
+ • Endpoint: https://mcp.knowz.io/mcp
75
+ • Status: Active
76
+
77
+ Connected Vaults (from knowzcode_vaults.md):
78
+ ┌────┬──────────────────────┬──────────┬─────────────────────────────────┐
79
+ │ # │ Name │ Type │ Description (routing) │
80
+ ├────┼──────────────────────┼──────────┼─────────────────────────────────┤
81
+ │ 1 │ Engineering Knowledge│ ecosystem│ Patterns, decisions, conventions│
82
+ │ 2 │ my-project-code │ code │ Source code for main API │
83
+ │ 3 │ Team Wiki │ ecosystem│ Processes, onboarding │
84
+ └────┴──────────────────────┴──────────┴─────────────────────────────────┘
85
+
86
+ Vault Routing:
87
+ • Code questions → my-project-code
88
+ • Convention questions → Engineering Knowledge (default ecosystem)
89
+ • Completion records → Finalizations
90
+ • Learning capture → Engineering Knowledge (or prompt if ambiguous)
91
+
92
+ Available Tools:
93
+ ✓ search_knowledge - Vector search across vaults
94
+ ✓ ask_question - AI Q&A with research mode
95
+ ✓ create_knowledge - Save learnings to vault
96
+ ✓ update_knowledge - Update existing items
97
+ ✓ find_entities - Find people/locations/events
98
+
99
+ Project: <project-path>
100
+ Last sync: <if available>
101
+
102
+ All systems operational. Agents can use MCP tools.
103
+ ```
104
+
105
+ **If configured but not working**:
106
+ ```
107
+ ⚠️ KnowzCode MCP Server: Configured but unavailable
108
+
109
+ Configuration:
110
+ • Scope: <scope>
111
+ • Endpoint: <endpoint>
112
+ • Status: Cannot connect
113
+
114
+ Possible issues:
115
+ • API key may be invalid or expired
116
+ • Network connectivity issues
117
+ • KnowzCode API may be down
118
+
119
+ Troubleshooting:
120
+ 1. Check your internet connection
121
+ 2. Verify API key: https://knowz.io/api-keys
122
+ 3. Reconfigure: /kc:connect-mcp <new-key>
123
+ 4. Check status: https://status.knowz.io
124
+ ```
125
+
126
+ **If MCP connected but vaults not configured**:
127
+ ```
128
+ ⚠️ KnowzCode MCP Server: Connected (vaults not configured)
129
+
130
+ Configuration:
131
+ • Scope: <scope>
132
+ • Endpoint: <endpoint>
133
+ • Status: Active
134
+
135
+ Connected Vaults: ⚠️ None configured
136
+
137
+ MCP is connected but you haven't configured your vaults yet.
138
+ Vaults enable semantic search and learning capture.
139
+
140
+ To configure vaults:
141
+ /kc:connect-mcp --configure-vaults
142
+ (Interactive vault discovery and selection)
143
+
144
+ Or manually edit: knowzcode/knowzcode_vaults.md
145
+ ```
146
+
147
+ **If not configured at all**:
148
+ ```
149
+ ℹ️ KnowzCode MCP Server: Not configured
150
+
151
+ KnowzCode works fine without MCP! All core features work:
152
+ ✓ TDD workflow (/kc:work)
153
+ ✓ Spec generation
154
+ ✓ Impact analysis
155
+ ✓ Quality audits
156
+
157
+ MCP adds enhanced capabilities:
158
+ • Vector search across indexed code (Code Vault)
159
+ • Convention and pattern lookups (Ecosystem Vault)
160
+ • AI-powered Q&A with research mode
161
+ • Automatic learning capture
162
+
163
+ To enable these features:
164
+ New user? /kc:register (creates account + configures)
165
+ Have a key? /kc:connect-mcp <api-key>
166
+ ```
167
+
168
+ 6. **Additional diagnostics (if helpful)**
169
+ - Check if project is indexed (if MCP connected)
170
+ - Show vault document counts and last sync times
171
+ - Report any rate limiting or quota issues
172
+ - List any cached data available
173
+ - Show learning capture status (enabled/disabled)
174
+
175
+ ## Output Format
176
+
177
+ Use clear status indicators:
178
+ - ✅ Green check: Working perfectly
179
+ - ⚠️ Warning: Configured but issues
180
+ - ℹ️ Info: Not configured
181
+ - ❌ Error: Critical failure
182
+
183
+ ## Connection Details
184
+
185
+ If connection is active, optionally show:
186
+
187
+ ```
188
+ Connection Details:
189
+ • Response time: <ms>
190
+ • Tools loaded: <count>
191
+ • Cache status: <enabled/disabled>
192
+ • Rate limit: <remaining/total>
193
+ ```
194
+
195
+ ## MCP Tool Details
196
+
197
+ For each available tool, can optionally show:
198
+
199
+ ```
200
+ search_knowledge
201
+ Description: Vector similarity search across vaults
202
+ Vaults: Code Vault, Ecosystem Vault
203
+ Status: ✓ Available
204
+ Last used: <time>
205
+
206
+ ask_question
207
+ Description: AI-powered Q&A with optional research mode
208
+ Vaults: Ecosystem Vault (primary)
209
+ Research Mode: Enabled (8000+ token comprehensive answers)
210
+ Status: ✓ Available
211
+ Last used: <time>
212
+
213
+ create_knowledge
214
+ Description: Save learnings to vault
215
+ Vaults: Ecosystem Vault (write)
216
+ Used by: closer, /kc:learn
217
+ Status: ✓ Available
218
+ Last used: <time>
219
+ ```
220
+
221
+ ## Vault Status Details
222
+
223
+ If vaults are configured, optionally show:
224
+
225
+ ```
226
+ Code Vault: my-project-code
227
+ • Documents indexed: <count>
228
+ • Last index: <timestamp>
229
+ • Index status: Up to date / Stale / Indexing...
230
+ • Paths: src/, tests/, packages/
231
+
232
+ Ecosystem Vault: engineering-knowledge
233
+ • Documents: <count>
234
+ • Notes: <count>
235
+ • Last updated: <timestamp>
236
+ • Top tags: architecture, security, patterns
237
+ ```
238
+
239
+ ## Error States
240
+
241
+ ### Invalid API Key
242
+ ```
243
+ ❌ Authentication Error
244
+ The API key is invalid or expired.
245
+
246
+ Update: /kc:connect-mcp <new-key>
247
+ ```
248
+
249
+ ### Network Issues
250
+ ```
251
+ ❌ Connection Error
252
+ Cannot reach KnowzCode API at <endpoint>
253
+
254
+ Check:
255
+ • Internet connection
256
+ • Firewall settings
257
+ • VPN configuration
258
+ ```
259
+
260
+ ### Service Down
261
+ ```
262
+ ❌ Service Unavailable
263
+ KnowzCode API is not responding.
264
+
265
+ Status: https://status.knowz.io
266
+ ```
267
+
268
+ ## Usage Examples
269
+
270
+ ### Basic status check
271
+ ```bash
272
+ /kc:status
273
+ ```
274
+
275
+ ### After configuration
276
+ ```bash
277
+ /kc:connect-mcp <api-key>
278
+ # ... restart Claude Code ...
279
+ /kc:status # Verify everything works
280
+ ```
281
+
282
+ ### Troubleshooting
283
+ ```bash
284
+ /kc:status # Check what's wrong
285
+ # Follow suggested remediation steps
286
+ ```
287
+
288
+ ## Integration Notes
289
+
290
+ This command is useful:
291
+ - **After initial setup**: Verify `/kc:connect` worked
292
+ - **When tools seem unavailable**: Debug MCP connection
293
+ - **Before starting work**: Confirm enhanced features active
294
+ - **Troubleshooting**: Diagnose connectivity issues
295
+
296
+ ## Related Commands
297
+
298
+ - `/kc:connect-mcp` - Configure MCP server
299
+ - `/kc:init` - Initialize KnowzCode
300
+ - `/kc:work` - Start feature (uses MCP if available)
301
+
302
+ ## Important Notes
303
+
304
+ - **Restart required**: After `/kc:connect-mcp`, Claude Code must restart
305
+ - **Graceful degradation**: KnowzCode works without MCP (just less powerful)
306
+ - **No credentials shown**: Never display full API keys
307
+ - **Clear guidance**: Always suggest next steps if issues found
308
+
309
+ Execute this status check now.