scene-capability-engine 3.0.1 → 3.0.2

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 (170) hide show
  1. package/CHANGELOG.md +233 -233
  2. package/LICENSE +2 -2
  3. package/README.md +8 -11
  4. package/README.zh.md +7 -10
  5. package/bin/kse.js +1 -1
  6. package/bin/sce.js +1 -1
  7. package/bin/sco.js +1 -1
  8. package/docs/331-poc-adaptation-roadmap.md +25 -25
  9. package/docs/331-poc-dual-track-integration-guide.md +26 -26
  10. package/docs/331-poc-weekly-delivery-checklist.md +8 -8
  11. package/docs/OFFLINE_INSTALL.md +10 -10
  12. package/docs/README.md +24 -24
  13. package/docs/adopt-migration-guide.md +51 -51
  14. package/docs/adoption-guide.md +56 -56
  15. package/docs/agent-hooks-analysis.md +52 -52
  16. package/docs/architecture.md +6 -6
  17. package/docs/articles/ai-driven-development-philosophy-and-practice-review.md +4 -4
  18. package/docs/articles/ai-driven-development-philosophy-and-practice.en.md +9 -9
  19. package/docs/articles/ai-driven-development-philosophy-and-practice.md +10 -10
  20. package/docs/autonomous-control-guide.md +89 -89
  21. package/docs/command-reference.md +11 -11
  22. package/docs/community.md +4 -4
  23. package/docs/cross-tool-guide.md +47 -47
  24. package/docs/developer-guide.md +5 -5
  25. package/docs/document-governance.md +91 -91
  26. package/docs/environment-management-guide.md +53 -53
  27. package/docs/examples/add-export-command/design.md +2 -2
  28. package/docs/examples/add-export-command/requirements.md +5 -5
  29. package/docs/examples/add-export-command/tasks.md +2 -2
  30. package/docs/faq.md +69 -69
  31. package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.json +9 -9
  32. package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.md +3 -3
  33. package/docs/integration-modes.md +60 -60
  34. package/docs/integration-philosophy.md +48 -48
  35. package/docs/knowledge-management-guide.md +21 -21
  36. package/docs/manual-workflows-guide.md +20 -20
  37. package/docs/moqui-capability-matrix.md +22 -22
  38. package/docs/moqui-template-core-library-playbook.md +20 -20
  39. package/docs/multi-agent-coordination-guide.md +19 -19
  40. package/docs/multi-repo-management-guide.md +93 -93
  41. package/docs/quick-start-with-ai-tools.md +36 -36
  42. package/docs/quick-start.md +16 -16
  43. package/docs/release-checklist.md +7 -7
  44. package/docs/releases/v1.46.2-validation.md +1 -1
  45. package/docs/releases/v1.46.2.md +10 -10
  46. package/docs/scene-runtime-guide.md +42 -42
  47. package/docs/spec-collaboration-guide.md +43 -43
  48. package/docs/spec-locking-guide.md +26 -26
  49. package/docs/spec-numbering-guide.md +6 -6
  50. package/docs/spec-workflow.md +25 -25
  51. package/docs/steering-strategy-guide.md +36 -36
  52. package/docs/team-collaboration-guide.md +23 -23
  53. package/docs/testing-strategy.md +2 -2
  54. package/docs/tools/claude-guide.md +26 -26
  55. package/docs/tools/cursor-guide.md +31 -31
  56. package/docs/tools/generic-guide.md +22 -22
  57. package/docs/tools/kiro-guide.md +43 -43
  58. package/docs/tools/vscode-guide.md +18 -18
  59. package/docs/tools/windsurf-guide.md +50 -50
  60. package/docs/troubleshooting.md +116 -116
  61. package/docs/upgrade-guide.md +49 -49
  62. package/docs/value-observability-guide.md +6 -6
  63. package/docs/zh/README.md +22 -22
  64. package/docs/zh/quick-start.md +34 -34
  65. package/docs/zh/release-checklist.md +6 -6
  66. package/docs/zh/releases/v1.46.2-validation.md +1 -1
  67. package/docs/zh/releases/v1.46.2.md +9 -9
  68. package/docs/zh/spec-numbering-guide.md +6 -6
  69. package/docs/zh/tools/claude-guide.md +14 -14
  70. package/docs/zh/tools/cursor-guide.md +18 -18
  71. package/docs/zh/tools/generic-guide.md +40 -40
  72. package/docs/zh/tools/kiro-guide.md +50 -50
  73. package/docs/zh/tools/vscode-guide.md +20 -20
  74. package/docs/zh/tools/windsurf-guide.md +49 -49
  75. package/docs/zh/value-observability-guide.md +6 -6
  76. package/docs//344/272/244/344/273/230/346/270/205/345/215/225.md +4 -4
  77. package/lib/adoption/adoption-logger.js +1 -1
  78. package/lib/adoption/adoption-strategy.js +3 -3
  79. package/lib/adoption/detection-engine.js +1 -1
  80. package/lib/adoption/error-formatter.js +17 -17
  81. package/lib/adoption/progress-reporter.js +2 -2
  82. package/lib/adoption/smart-orchestrator.js +2 -2
  83. package/lib/adoption/strategy-selector.js +2 -2
  84. package/lib/adoption/summary-generator.js +3 -3
  85. package/lib/auto/autonomous-engine.js +2 -2
  86. package/lib/auto/close-loop-runner.js +9 -9
  87. package/lib/backup/backup-system.js +2 -2
  88. package/lib/collab/collab-manager.js +2 -2
  89. package/lib/commands/adopt.js +16 -16
  90. package/lib/commands/auto.js +93 -93
  91. package/lib/commands/collab.js +8 -8
  92. package/lib/commands/docs.js +26 -26
  93. package/lib/commands/doctor.js +2 -2
  94. package/lib/commands/env.js +14 -14
  95. package/lib/commands/knowledge.js +13 -13
  96. package/lib/commands/lock.js +6 -6
  97. package/lib/commands/ops.js +19 -19
  98. package/lib/commands/orchestrate.js +5 -5
  99. package/lib/commands/prompt.js +3 -3
  100. package/lib/commands/rollback.js +4 -4
  101. package/lib/commands/scene.js +29 -29
  102. package/lib/commands/spec-bootstrap.js +1 -1
  103. package/lib/commands/spec-gate.js +1 -1
  104. package/lib/commands/spec-pipeline.js +1 -1
  105. package/lib/commands/task.js +1 -1
  106. package/lib/commands/templates.js +27 -27
  107. package/lib/commands/upgrade.js +8 -8
  108. package/lib/commands/value.js +4 -4
  109. package/lib/commands/watch.js +9 -9
  110. package/lib/commands/workflows.js +5 -5
  111. package/lib/commands/workspace-multi.js +17 -17
  112. package/lib/commands/workspace.js +5 -5
  113. package/lib/context/context-exporter.js +1 -1
  114. package/lib/context/prompt-generator.js +1 -1
  115. package/lib/data/moqui-capability-lexicon.json +1 -1
  116. package/lib/environment/environment-manager.js +1 -1
  117. package/lib/gitignore/gitignore-detector.js +4 -4
  118. package/lib/gitignore/gitignore-integration.js +2 -2
  119. package/lib/gitignore/gitignore-transformer.js +3 -3
  120. package/lib/gitignore/layered-rules-template.js +2 -2
  121. package/lib/governance/diagnostic-engine.js +4 -4
  122. package/lib/governance/doc-reference-checker.js +1 -1
  123. package/lib/governance/hooks-manager.js +5 -5
  124. package/lib/governance/reporter.js +1 -1
  125. package/lib/knowledge/knowledge-manager.js +6 -6
  126. package/lib/orchestrator/agent-spawner.js +1 -1
  127. package/lib/orchestrator/bootstrap-prompt-builder.js +2 -2
  128. package/lib/repo/config-manager.js +2 -2
  129. package/lib/repo/handlers/init-handler.js +3 -3
  130. package/lib/scene-runtime/audit-emitter.js +2 -2
  131. package/lib/scene-runtime/binding-plugin-loader.js +1 -1
  132. package/lib/scene-runtime/moqui-adapter.js +2 -2
  133. package/lib/scene-runtime/moqui-extractor.js +3 -3
  134. package/lib/scene-runtime/scene-loader.js +3 -3
  135. package/lib/scene-runtime/scene-template-linter.js +1 -1
  136. package/lib/scene-runtime/templates/scene-template-erp-query-v0.1.yaml +1 -1
  137. package/lib/scene-runtime/templates/scene-template-hybrid-shadow-v0.1.yaml +1 -1
  138. package/lib/spec/multi-spec-orchestrate.js +1 -1
  139. package/lib/spec-gate/rules/default-rules.js +1 -1
  140. package/lib/steering/adoption-config.js +1 -1
  141. package/lib/steering/compliance-auto-fixer.js +1 -1
  142. package/lib/steering/compliance-cache.js +3 -3
  143. package/lib/steering/compliance-error-reporter.js +1 -1
  144. package/lib/steering/index.js +1 -1
  145. package/lib/steering/steering-manager.js +7 -7
  146. package/lib/task/task-claimer.js +2 -1
  147. package/lib/templates/metadata-collector.js +6 -6
  148. package/lib/templates/template-creator.js +2 -2
  149. package/lib/templates/template-exporter.js +12 -12
  150. package/lib/upgrade/migration-engine.js +4 -4
  151. package/lib/utils/tool-detector.js +25 -25
  152. package/lib/utils/validation.js +3 -3
  153. package/lib/version/version-checker.js +13 -13
  154. package/lib/version/version-manager.js +7 -7
  155. package/lib/watch/presets.js +4 -4
  156. package/lib/workspace/multi/path-utils.js +1 -1
  157. package/lib/workspace/multi/workspace-context-resolver.js +9 -9
  158. package/lib/workspace/multi/workspace-registry.js +2 -2
  159. package/lib/workspace/multi/workspace-state-manager.js +1 -1
  160. package/lib/workspace/multi/workspace.js +1 -1
  161. package/lib/workspace/workspace-sync.js +1 -1
  162. package/locales/en.json +1 -1
  163. package/locales/zh.json +1 -1
  164. package/package.json +3 -5
  165. package/template/.kiro/README.md +40 -40
  166. package/template/.kiro/specs/SPEC_WORKFLOW_GUIDE.md +3 -3
  167. package/template/.kiro/steering/CORE_PRINCIPLES.md +3 -3
  168. package/template/.kiro/steering/ENVIRONMENT.md +2 -2
  169. package/template/README.md +3 -3
  170. /package/bin/{kiro-spec-engine.js → scene-capability-engine.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  # Troubleshooting Guide
2
2
 
3
- > Common issues and solutions for kse
3
+ > Common issues and solutions for sce
4
4
 
5
5
  ---
6
6
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  ## Installation Issues
28
28
 
29
- ### Error: "npm install -g kse" fails
29
+ ### Error: "npm install -g scene-capability-engine" fails
30
30
 
31
31
  **Symptoms:**
32
32
  ```
@@ -42,8 +42,8 @@ npm ERR! path /usr/local/lib/node_modules
42
42
  **Option 1: Use npx (Recommended)**
43
43
  ```bash
44
44
  # No installation needed, run directly
45
- npx kse status
46
- npx kse adopt
45
+ npx sce status
46
+ npx sce adopt
47
47
  ```
48
48
 
49
49
  **Option 2: Fix npm permissions (macOS/Linux)**
@@ -59,31 +59,31 @@ export PATH=~/.npm-global/bin:$PATH
59
59
  source ~/.bashrc # or source ~/.zshrc
60
60
 
61
61
  # Now install
62
- npm install -g kse
62
+ npm install -g scene-capability-engine
63
63
  ```
64
64
 
65
65
  **Option 3: Use sudo (Not Recommended)**
66
66
  ```bash
67
- sudo npm install -g kse
67
+ sudo npm install -g scene-capability-engine
68
68
  ```
69
69
 
70
70
  ---
71
71
 
72
- ### Error: "kse: command not found"
72
+ ### Error: "sce: command not found"
73
73
 
74
74
  **Symptoms:**
75
75
  ```bash
76
- $ kse status
77
- bash: kse: command not found
76
+ $ sce status
77
+ bash: sce: command not found
78
78
  ```
79
79
 
80
- **Cause:** kse is not in your PATH
80
+ **Cause:** sce is not in your PATH
81
81
 
82
82
  **Solutions:**
83
83
 
84
- **Check if kse is installed:**
84
+ **Check if sce is installed:**
85
85
  ```bash
86
- npm list -g kse
86
+ npm list -g sce
87
87
  ```
88
88
 
89
89
  **If installed, find where:**
@@ -103,8 +103,8 @@ export PATH="/usr/local/bin:$PATH"
103
103
 
104
104
  **Verify:**
105
105
  ```bash
106
- which kse # macOS/Linux
107
- where kse # Windows
106
+ which sce # macOS/Linux
107
+ where sce # Windows
108
108
  ```
109
109
 
110
110
  ---
@@ -113,11 +113,11 @@ where kse # Windows
113
113
 
114
114
  **Symptoms:**
115
115
  ```
116
- Error: kse requires Node.js 14 or higher
116
+ Error: sce requires Node.js 14 or higher
117
117
  Current version: v12.x.x
118
118
  ```
119
119
 
120
- **Cause:** kse requires Node.js 14+
120
+ **Cause:** sce requires Node.js 14+
121
121
 
122
122
  **Solution:**
123
123
 
@@ -145,12 +145,12 @@ node --version
145
145
 
146
146
  **Symptoms:**
147
147
  ```bash
148
- $ kse adopt
148
+ $ sce adopt
149
149
  Error: Not a git repository
150
- kse requires a git repository to track Specs
150
+ sce requires a git repository to track Specs
151
151
  ```
152
152
 
153
- **Cause:** kse requires git for version control
153
+ **Cause:** sce requires git for version control
154
154
 
155
155
  **Solution:**
156
156
 
@@ -160,33 +160,33 @@ git init
160
160
  git add .
161
161
  git commit -m "Initial commit"
162
162
 
163
- # Now adopt kse
164
- kse adopt
163
+ # Now adopt sce
164
+ sce adopt
165
165
  ```
166
166
 
167
167
  **Why git is required:**
168
168
  - Specs should be version controlled
169
169
  - Team collaboration needs git
170
- - kse uses git to detect project root
170
+ - sce uses git to detect project root
171
171
 
172
172
  ---
173
173
 
174
- ### Error: "kse.json already exists"
174
+ ### Error: "sce.json already exists"
175
175
 
176
176
  **Symptoms:**
177
177
  ```bash
178
- $ kse adopt
179
- Error: kse.json already exists
180
- Use 'kse upgrade' to update existing installation
178
+ $ sce adopt
179
+ Error: sce.json already exists
180
+ Use 'sce upgrade' to update existing installation
181
181
  ```
182
182
 
183
- **Cause:** Project already has kse installed
183
+ **Cause:** Project already has sce installed
184
184
 
185
185
  **Solutions:**
186
186
 
187
187
  **If you want to upgrade:**
188
188
  ```bash
189
- kse upgrade
189
+ sce upgrade
190
190
  ```
191
191
 
192
192
  **If you want to start fresh:**
@@ -194,12 +194,12 @@ kse upgrade
194
194
  # Backup existing Specs
195
195
  cp -r .kiro .kiro.backup
196
196
 
197
- # Remove kse
198
- rm kse.json
197
+ # Remove sce
198
+ rm sce.json
199
199
  rm -rf .kiro
200
200
 
201
201
  # Re-adopt
202
- kse adopt
202
+ sce adopt
203
203
  ```
204
204
 
205
205
  ---
@@ -208,7 +208,7 @@ kse adopt
208
208
 
209
209
  **Symptoms:**
210
210
  ```bash
211
- $ kse adopt
211
+ $ sce adopt
212
212
  Error: EACCES: permission denied, mkdir '.kiro'
213
213
  ```
214
214
 
@@ -228,7 +228,7 @@ sudo chown -R $USER:$USER .
228
228
 
229
229
  # Or run in a directory you own
230
230
  cd ~/projects/my-project
231
- kse adopt
231
+ sce adopt
232
232
  ```
233
233
 
234
234
  ---
@@ -239,7 +239,7 @@ kse adopt
239
239
 
240
240
  **Symptoms:**
241
241
  ```bash
242
- $ kse status
242
+ $ sce status
243
243
  No Specs found in .kiro/specs/
244
244
  ```
245
245
 
@@ -249,7 +249,7 @@ No Specs found in .kiro/specs/
249
249
 
250
250
  **Create your first Spec:**
251
251
  ```bash
252
- kse spec bootstrap --name 01-00-my-feature --non-interactive
252
+ sce spec bootstrap --name 01-00-my-feature --non-interactive
253
253
  ```
254
254
 
255
255
  **Or check if Specs exist:**
@@ -263,7 +263,7 @@ ls -la .kiro/specs/
263
263
 
264
264
  **Symptoms:**
265
265
  ```bash
266
- $ kse spec bootstrap --name my-feature --non-interactive
266
+ $ sce spec bootstrap --name my-feature --non-interactive
267
267
  Error: Invalid Spec name format
268
268
  Expected: {number}-{number}-{kebab-case-name}
269
269
  ```
@@ -275,13 +275,13 @@ Expected: {number}-{number}-{kebab-case-name}
275
275
  **Use correct format:**
276
276
  ```bash
277
277
  # ✅ Correct
278
- kse spec bootstrap --name 01-00-user-login --non-interactive
279
- kse spec bootstrap --name 02-01-fix-auth-bug --non-interactive
278
+ sce spec bootstrap --name 01-00-user-login --non-interactive
279
+ sce spec bootstrap --name 02-01-fix-auth-bug --non-interactive
280
280
 
281
281
  # ❌ Wrong
282
- kse spec bootstrap --name user-login --non-interactive
283
- kse spec bootstrap --name 01-user-login --non-interactive
284
- kse spec bootstrap --name UserLogin --non-interactive
282
+ sce spec bootstrap --name user-login --non-interactive
283
+ sce spec bootstrap --name 01-user-login --non-interactive
284
+ sce spec bootstrap --name UserLogin --non-interactive
285
285
  ```
286
286
 
287
287
  ---
@@ -290,7 +290,7 @@ kse spec bootstrap --name UserLogin --non-interactive
290
290
 
291
291
  **Symptoms:**
292
292
  ```bash
293
- $ kse context export 01-00-user-login
293
+ $ sce context export 01-00-user-login
294
294
  Error: Failed to export context
295
295
  ```
296
296
 
@@ -302,7 +302,7 @@ Error: Failed to export context
302
302
  ls .kiro/specs/01-00-user-login/
303
303
 
304
304
  # If not, create it
305
- kse spec bootstrap --name 01-00-user-login --non-interactive
305
+ sce spec bootstrap --name 01-00-user-login --non-interactive
306
306
  ```
307
307
 
308
308
  **2. Missing Spec files:**
@@ -329,7 +329,7 @@ chmod 644 .kiro/specs/01-00-user-login/*.md
329
329
 
330
330
  **Symptoms:**
331
331
  ```bash
332
- $ kse task claim 01-00-user-login 1.1
332
+ $ sce task claim 01-00-user-login 1.1
333
333
  Error: Task 1.1 not found in tasks.md
334
334
  ```
335
335
 
@@ -385,13 +385,13 @@ cat .kiro/specs/01-00-user-login/context-export.md
385
385
  **3. Break down large contexts:**
386
386
  ```bash
387
387
  # Instead of entire Spec, export specific task
388
- kse prompt generate 01-00-user-login 1.1
388
+ sce prompt generate 01-00-user-login 1.1
389
389
  ```
390
390
 
391
391
  **4. Use steering rules:**
392
392
  ```bash
393
393
  # Include project-specific rules
394
- kse context export 01-00-user-login --include-steering
394
+ sce context export 01-00-user-login --include-steering
395
395
  ```
396
396
 
397
397
  ---
@@ -408,7 +408,7 @@ kse context export 01-00-user-login --include-steering
408
408
  **1. Use task-specific prompts:**
409
409
  ```bash
410
410
  # Export just one task
411
- kse prompt generate 01-00-user-login 1.1
411
+ sce prompt generate 01-00-user-login 1.1
412
412
  ```
413
413
 
414
414
  **2. Simplify your Spec:**
@@ -471,7 +471,7 @@ class AuthController {
471
471
 
472
472
  **Symptoms:**
473
473
  ```bash
474
- $ kse watch status
474
+ $ sce watch status
475
475
  Status: Running
476
476
 
477
477
  # But editing Spec files doesn't trigger actions
@@ -481,13 +481,13 @@ Status: Running
481
481
 
482
482
  **1. Restart watch mode:**
483
483
  ```bash
484
- kse watch stop
485
- kse watch start
484
+ sce watch stop
485
+ sce watch start
486
486
  ```
487
487
 
488
488
  **2. Check watch patterns:**
489
489
  ```bash
490
- kse watch config
490
+ sce watch config
491
491
  # Verify patterns include your files
492
492
  ```
493
493
 
@@ -500,7 +500,7 @@ kse watch config
500
500
  **4. Increase watch delay:**
501
501
  ```bash
502
502
  # If changes are too rapid
503
- kse watch config --delay 1000
503
+ sce watch config --delay 1000
504
504
  ```
505
505
 
506
506
  ---
@@ -516,7 +516,7 @@ kse watch config --delay 1000
516
516
  **1. Reduce watch scope:**
517
517
  ```bash
518
518
  # Watch only specific Specs
519
- kse watch start --spec 01-00-user-login
519
+ sce watch start --spec 01-00-user-login
520
520
  ```
521
521
 
522
522
  **2. Exclude unnecessary files:**
@@ -534,7 +534,7 @@ kse watch start --spec 01-00-user-login
534
534
  **3. Stop when not needed:**
535
535
  ```bash
536
536
  # Stop watch mode when not actively developing
537
- kse watch stop
537
+ sce watch stop
538
538
  ```
539
539
 
540
540
  ---
@@ -549,20 +549,20 @@ kse watch stop
549
549
 
550
550
  **1. Check action configuration:**
551
551
  ```bash
552
- kse watch config
552
+ sce watch config
553
553
  # Verify actions are properly configured
554
554
  ```
555
555
 
556
556
  **2. Check action logs:**
557
557
  ```bash
558
- kse watch logs
558
+ sce watch logs
559
559
  # Look for error messages
560
560
  ```
561
561
 
562
562
  **3. Test action manually:**
563
563
  ```bash
564
564
  # Try running the action command directly
565
- kse context export 01-00-user-login
565
+ sce context export 01-00-user-login
566
566
  ```
567
567
 
568
568
  ---
@@ -573,7 +573,7 @@ kse context export 01-00-user-login
573
573
 
574
574
  **Symptoms:**
575
575
  ```bash
576
- $ kse docs diagnose
576
+ $ sce docs diagnose
577
577
  ✅ Project is compliant
578
578
  # But you know there are temporary files
579
579
  ```
@@ -584,13 +584,13 @@ $ kse docs diagnose
584
584
 
585
585
  **1. Check what patterns are configured:**
586
586
  ```bash
587
- kse docs config
587
+ sce docs config
588
588
  # Look at "Temporary Patterns" section
589
589
  ```
590
590
 
591
591
  **2. Add custom patterns if needed:**
592
592
  ```bash
593
- kse docs config --set temporary-patterns "*-SUMMARY.md,SESSION-*.md,*-COMPLETE.md,TEMP-*.md,WIP-*.md,MVP-*.md,DRAFT-*.md"
593
+ sce docs config --set temporary-patterns "*-SUMMARY.md,SESSION-*.md,*-COMPLETE.md,TEMP-*.md,WIP-*.md,MVP-*.md,DRAFT-*.md"
594
594
  ```
595
595
 
596
596
  **3. Manually check for violations:**
@@ -607,7 +607,7 @@ ls *.md
607
607
 
608
608
  **Symptoms:**
609
609
  ```bash
610
- $ kse docs cleanup
610
+ $ sce docs cleanup
611
611
  Deleted 0 file(s)
612
612
  # But temporary files still exist
613
613
  ```
@@ -622,7 +622,7 @@ ls *.md
622
622
  # If file is "notes.md" (doesn't match patterns)
623
623
  # Either rename it to match pattern or delete manually
624
624
  mv notes.md TEMP-notes.md
625
- kse docs cleanup
625
+ sce docs cleanup
626
626
  ```
627
627
 
628
628
  **2. Files are in subdirectories:**
@@ -639,7 +639,7 @@ ls -la *.md
639
639
 
640
640
  # Fix if needed
641
641
  chmod u+w filename.md
642
- kse docs cleanup
642
+ sce docs cleanup
643
643
  ```
644
644
 
645
645
  ---
@@ -648,7 +648,7 @@ kse docs cleanup
648
648
 
649
649
  **Symptoms:**
650
650
  ```bash
651
- $ kse docs archive --spec my-spec
651
+ $ sce docs archive --spec my-spec
652
652
  # Files moved to unexpected subdirectories
653
653
  ```
654
654
 
@@ -672,7 +672,7 @@ mv data.md analysis-report.md
672
672
  mv tool.js test-script.js
673
673
 
674
674
  # Then archive
675
- kse docs archive --spec my-spec
675
+ sce docs archive --spec my-spec
676
676
  ```
677
677
 
678
678
  ---
@@ -690,10 +690,10 @@ $ git commit -m "Add feature"
690
690
  **1. Hooks not installed:**
691
691
  ```bash
692
692
  # Check status
693
- kse docs hooks status
693
+ sce docs hooks status
694
694
 
695
695
  # If not installed
696
- kse docs hooks install
696
+ sce docs hooks install
697
697
  ```
698
698
 
699
699
  **2. Hook file not executable:**
@@ -721,7 +721,7 @@ ls -la .git/
721
721
 
722
722
  # If not, initialize git
723
723
  git init
724
- kse docs hooks install
724
+ sce docs hooks install
725
725
  ```
726
726
 
727
727
  ---
@@ -730,7 +730,7 @@ kse docs hooks install
730
730
 
731
731
  **Symptoms:**
732
732
  ```bash
733
- $ kse docs validate --spec my-spec
733
+ $ sce docs validate --spec my-spec
734
734
  ❌ Missing required file: requirements.md
735
735
  # But the file exists
736
736
  ```
@@ -751,7 +751,7 @@ ls -la .kiro/specs/my-spec/requirements.md
751
751
  ls .kiro/specs/
752
752
 
753
753
  # Use exact name
754
- kse docs validate --spec 01-00-my-feature
754
+ sce docs validate --spec 01-00-my-feature
755
755
  ```
756
756
 
757
757
  **3. Case sensitivity (Linux/macOS):**
@@ -766,10 +766,10 @@ mv Requirements.md requirements.md
766
766
 
767
767
  **Symptoms:**
768
768
  ```bash
769
- $ kse docs config --set root-allowed-files "README.md,CUSTOM.md"
769
+ $ sce docs config --set root-allowed-files "README.md,CUSTOM.md"
770
770
  ✅ Configuration updated
771
771
 
772
- $ kse docs diagnose
772
+ $ sce docs diagnose
773
773
  # Still reports CUSTOM.md as violation
774
774
  ```
775
775
 
@@ -790,14 +790,14 @@ cat .kiro/config/docs.json
790
790
  # Wrong: root-files
791
791
  # Correct: root-allowed-files
792
792
 
793
- kse docs config --set root-allowed-files "README.md,CUSTOM.md"
793
+ sce docs config --set root-allowed-files "README.md,CUSTOM.md"
794
794
  ```
795
795
 
796
796
  **3. Restart any running processes:**
797
797
  ```bash
798
798
  # If watch mode is running
799
- kse watch stop
800
- kse watch start
799
+ sce watch stop
800
+ sce watch start
801
801
  ```
802
802
 
803
803
  ---
@@ -806,7 +806,7 @@ kse watch start
806
806
 
807
807
  **Symptoms:**
808
808
  ```bash
809
- $ kse docs hooks install
809
+ $ sce docs hooks install
810
810
  Error: EACCES: permission denied, open '.git/hooks/pre-commit'
811
811
  ```
812
812
 
@@ -825,7 +825,7 @@ ls -la .git/hooks/
825
825
  chmod u+w .git/hooks/
826
826
 
827
827
  # Try again
828
- kse docs hooks install
828
+ sce docs hooks install
829
829
  ```
830
830
 
831
831
  **3. Check if file is read-only:**
@@ -843,7 +843,7 @@ chmod u+w .git/hooks/pre-commit
843
843
 
844
844
  **Symptoms:**
845
845
  ```bash
846
- $ kse docs stats
846
+ $ sce docs stats
847
847
  ⚠️ No execution history found
848
848
  ```
849
849
 
@@ -854,13 +854,13 @@ $ kse docs stats
854
854
  **Run some governance commands:**
855
855
  ```bash
856
856
  # Run diagnostic
857
- kse docs diagnose
857
+ sce docs diagnose
858
858
 
859
859
  # Run cleanup
860
- kse docs cleanup --dry-run
860
+ sce docs cleanup --dry-run
861
861
 
862
862
  # Now check stats
863
- kse docs stats
863
+ sce docs stats
864
864
  ```
865
865
 
866
866
  **Note:** Only actual operations are logged (not --dry-run for cleanup/archive)
@@ -871,7 +871,7 @@ kse docs stats
871
871
 
872
872
  **Symptoms:**
873
873
  ```bash
874
- $ kse docs report
874
+ $ sce docs report
875
875
  Error: ENOENT: no such file or directory, open '.kiro/reports/...'
876
876
  ```
877
877
 
@@ -884,16 +884,16 @@ Error: ENOENT: no such file or directory, open '.kiro/reports/...'
884
884
  mkdir -p .kiro/reports
885
885
 
886
886
  # Try again
887
- kse docs report
887
+ sce docs report
888
888
  ```
889
889
 
890
- **Or let kse create it:**
890
+ **Or let sce create it:**
891
891
  ```bash
892
892
  # Run diagnostic first (creates directory structure)
893
- kse docs diagnose
893
+ sce docs diagnose
894
894
 
895
895
  # Then generate report
896
- kse docs report
896
+ sce docs report
897
897
  ```
898
898
 
899
899
  ---
@@ -908,8 +908,8 @@ kse docs report
908
908
 
909
909
  **Solution:**
910
910
  ```powershell
911
- # Use CMD for kse commands
912
- cmd /c kse status
911
+ # Use CMD for sce commands
912
+ cmd /c sce status
913
913
 
914
914
  # Or configure PowerShell execution policy
915
915
  Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
@@ -922,13 +922,13 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
922
922
  **Solution:**
923
923
  ```bash
924
924
  # ❌ Wrong on Windows
925
- kse context export .kiro/specs/01-00-user-login
925
+ sce context export .kiro/specs/01-00-user-login
926
926
 
927
927
  # ✅ Correct on Windows
928
- kse context export .kiro\specs\01-00-user-login
928
+ sce context export .kiro\specs\01-00-user-login
929
929
 
930
- # ✅ Or use forward slashes (kse handles both)
931
- kse context export 01-00-user-login
930
+ # ✅ Or use forward slashes (sce handles both)
931
+ sce context export 01-00-user-login
932
932
  ```
933
933
 
934
934
  #### Line endings
@@ -948,15 +948,15 @@ echo "*.md text eol=lf" >> .gitattributes
948
948
 
949
949
  ### macOS Issues
950
950
 
951
- #### Gatekeeper blocking kse
951
+ #### Gatekeeper blocking sce
952
952
 
953
- **Issue:** "kse cannot be opened because it is from an unidentified developer"
953
+ **Issue:** "sce cannot be opened because it is from an unidentified developer"
954
954
 
955
955
  **Solution:**
956
956
  ```bash
957
- # kse is installed via npm, so this shouldn't happen
957
+ # sce is installed via npm, so this shouldn't happen
958
958
  # But if it does:
959
- xattr -d com.apple.quarantine $(which kse)
959
+ xattr -d com.apple.quarantine $(which sce)
960
960
  ```
961
961
 
962
962
  #### Permission issues
@@ -980,7 +980,7 @@ xattr -d com.apple.quarantine $(which kse)
980
980
 
981
981
  **Solution:**
982
982
  ```bash
983
- # Add kse to PATH in your shell config
983
+ # Add sce to PATH in your shell config
984
984
  # For bash: ~/.bashrc
985
985
  # For zsh: ~/.zshrc
986
986
  export PATH="$HOME/.npm-global/bin:$PATH"
@@ -996,10 +996,10 @@ source ~/.bashrc # or ~/.zshrc
996
996
  **Solution:**
997
997
  ```bash
998
998
  # Check file permissions
999
- ls -la $(which kse)
999
+ ls -la $(which sce)
1000
1000
 
1001
1001
  # Should be executable
1002
- chmod +x $(which kse)
1002
+ chmod +x $(which sce)
1003
1003
  ```
1004
1004
 
1005
1005
  ---
@@ -1010,8 +1010,8 @@ chmod +x $(which kse)
1010
1010
 
1011
1011
  **Gather information:**
1012
1012
  ```bash
1013
- # kse version
1014
- kse --version
1013
+ # sce version
1014
+ sce --version
1015
1015
 
1016
1016
  # Node.js version
1017
1017
  node --version
@@ -1044,7 +1044,7 @@ ls -la .kiro/
1044
1044
  - Connect with other users
1045
1045
 
1046
1046
  **4. Community:**
1047
- - Discord: [Join our Discord](https://discord.gg/kse)
1047
+ - Discord: [Join our Discord](https://discord.gg/sce)
1048
1048
  - Twitter: [@kse_dev](https://twitter.com/kse_dev)
1049
1049
 
1050
1050
  ### Creating a Good Issue Report
@@ -1054,7 +1054,7 @@ ls -la .kiro/
1054
1054
  2. **What you expected to happen**
1055
1055
  3. **What actually happened**
1056
1056
  4. **Error messages** (full text)
1057
- 5. **Environment info** (OS, Node version, kse version)
1057
+ 5. **Environment info** (OS, Node version, sce version)
1058
1058
  6. **Steps to reproduce**
1059
1059
 
1060
1060
  **Example:**
@@ -1063,8 +1063,8 @@ ls -la .kiro/
1063
1063
  Context export fails for Spec with Chinese characters in filename
1064
1064
 
1065
1065
  ## Steps to Reproduce
1066
- 1. Create Spec: kse spec bootstrap --name 01-00-用户登录 --non-interactive
1067
- 2. Run: kse context export 01-00-用户登录
1066
+ 1. Create Spec: sce spec bootstrap --name 01-00-用户登录 --non-interactive
1067
+ 2. Run: sce context export 01-00-用户登录
1068
1068
  3. Error occurs
1069
1069
 
1070
1070
  ## Expected Behavior
@@ -1076,7 +1076,7 @@ Error: Invalid filename
1076
1076
  ## Environment
1077
1077
  - OS: macOS 13.0
1078
1078
  - Node: v18.12.0
1079
- - kse: v1.0.0
1079
+ - sce: v1.0.0
1080
1080
 
1081
1081
  ## Error Message
1082
1082
  ```
@@ -1088,10 +1088,10 @@ Error: EINVAL: invalid filename
1088
1088
 
1089
1089
  ## Related Documentation
1090
1090
 
1091
- - **[Quick Start Guide](quick-start.md)** - Get started with kse
1091
+ - **[Quick Start Guide](quick-start.md)** - Get started with sce
1092
1092
  - **[FAQ](faq.md)** - Frequently asked questions
1093
- - **[Command Reference](command-reference.md)** - All kse commands
1094
- - **[Integration Modes](integration-modes.md)** - Using kse with AI tools
1093
+ - **[Command Reference](command-reference.md)** - All sce commands
1094
+ - **[Integration Modes](integration-modes.md)** - Using sce with AI tools
1095
1095
 
1096
1096
  ---
1097
1097
 
@@ -1099,7 +1099,7 @@ Error: EINVAL: invalid filename
1099
1099
 
1100
1100
  **Most Common Issues:**
1101
1101
  1. **Installation** - Use npx or fix npm permissions
1102
- 2. **Command not found** - Add kse to PATH
1102
+ 2. **Command not found** - Add sce to PATH
1103
1103
  3. **Spec name format** - Use XX-YY-feature-name format
1104
1104
  4. **Context too large** - Use task-specific prompts
1105
1105
  5. **Watch mode** - Restart or check configuration
@@ -1107,23 +1107,23 @@ Error: EINVAL: invalid filename
1107
1107
 
1108
1108
  **Quick Fixes:**
1109
1109
  ```bash
1110
- # Restart kse watch mode
1111
- kse watch stop && kse watch start
1110
+ # Restart sce watch mode
1111
+ sce watch stop && sce watch start
1112
1112
 
1113
1113
  # Verify installation
1114
- kse --version
1114
+ sce --version
1115
1115
 
1116
1116
  # Check Spec structure
1117
1117
  ls -la .kiro/specs/
1118
1118
 
1119
1119
  # Test context export
1120
- kse context export spec-name
1120
+ sce context export spec-name
1121
1121
 
1122
1122
  # Check document compliance
1123
- kse docs diagnose
1123
+ sce docs diagnose
1124
1124
 
1125
1125
  # Clean up temporary files
1126
- kse docs cleanup --dry-run
1126
+ sce docs cleanup --dry-run
1127
1127
  ```
1128
1128
 
1129
1129
  **Still stuck?** → [Create an issue](https://github.com/heguangyong/scene-capability-engine/issues/new)