scene-capability-engine 3.3.5 → 3.3.10

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 (241) hide show
  1. package/CHANGELOG.md +130 -78
  2. package/README.md +6 -6
  3. package/README.zh.md +6 -6
  4. package/bin/scene-capability-engine.js +129 -7
  5. package/docs/331-poc-adaptation-roadmap.md +3 -3
  6. package/docs/331-poc-dual-track-integration-guide.md +8 -8
  7. package/docs/331-poc-weekly-delivery-checklist.md +6 -6
  8. package/docs/README.md +4 -0
  9. package/docs/adopt-migration-guide.md +13 -13
  10. package/docs/adoption-guide.md +28 -28
  11. package/docs/agent-hooks-analysis.md +10 -10
  12. package/docs/architecture.md +13 -13
  13. package/docs/articles/ai-driven-development-philosophy-and-practice.en.md +3 -3
  14. package/docs/articles/ai-driven-development-philosophy-and-practice.md +3 -3
  15. package/docs/autonomous-control-guide.md +35 -35
  16. package/docs/command-reference.md +192 -153
  17. package/docs/cross-tool-guide.md +7 -7
  18. package/docs/developer-guide.md +8 -8
  19. package/docs/document-governance.md +15 -15
  20. package/docs/environment-management-guide.md +6 -6
  21. package/docs/examples/add-export-command/design.md +1 -1
  22. package/docs/faq.md +13 -13
  23. package/docs/handoff-profile-integration-guide.md +3 -3
  24. package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.json +7 -7
  25. package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.md +1 -1
  26. package/docs/integration-modes.md +12 -12
  27. package/docs/integration-philosophy.md +11 -11
  28. package/docs/interactive-customization/331-poc-sce-integration-checklist.md +24 -24
  29. package/docs/interactive-customization/README.md +43 -43
  30. package/docs/interactive-customization/business-mode-policy-baseline.json +33 -0
  31. package/docs/interactive-customization/dual-ui-mode-integration-guide.md +1 -1
  32. package/docs/interactive-customization/moqui-adapter-interface.md +2 -2
  33. package/docs/interactive-customization/moqui-copilot-integration-guide.md +1 -1
  34. package/docs/interactive-customization/moqui-interactive-template-playbook.md +4 -4
  35. package/docs/interactive-customization/phase-acceptance-evidence.md +2 -2
  36. package/docs/knowledge-management-guide.md +6 -6
  37. package/docs/manual-workflows-guide.md +4 -4
  38. package/docs/moqui-capability-matrix.md +3 -3
  39. package/docs/moqui-standard-rebuild-guide.md +8 -8
  40. package/docs/moqui-template-core-library-playbook.md +27 -27
  41. package/docs/multi-agent-coordination-guide.md +19 -19
  42. package/docs/multi-repo-management-guide.md +17 -17
  43. package/docs/quick-start-with-ai-tools.md +7 -7
  44. package/docs/quick-start.md +2 -2
  45. package/docs/release-checklist.md +4 -4
  46. package/docs/sce-business-mode-map.md +103 -0
  47. package/docs/security-governance-default-baseline.md +12 -12
  48. package/docs/spec-collaboration-guide.md +3 -3
  49. package/docs/spec-locking-guide.md +2 -2
  50. package/docs/spec-workflow.md +3 -3
  51. package/docs/starter-kit/README.md +4 -4
  52. package/docs/starter-kit/handoff-manifest.starter.json +2 -2
  53. package/docs/starter-kit/release.workflow.sample.yml +1 -1
  54. package/docs/steering-strategy-guide.md +15 -15
  55. package/docs/team-collaboration-guide.md +69 -69
  56. package/docs/testing-strategy.md +2 -2
  57. package/docs/tools/claude-guide.md +14 -4
  58. package/docs/tools/cursor-guide.md +14 -14
  59. package/docs/tools/generic-guide.md +9 -9
  60. package/docs/tools/kiro-guide.md +4 -4
  61. package/docs/tools/vscode-guide.md +13 -13
  62. package/docs/tools/windsurf-guide.md +6 -6
  63. package/docs/troubleshooting.md +22 -22
  64. package/docs/upgrade-guide.md +8 -8
  65. package/docs/value-observability-guide.md +3 -3
  66. package/docs/zh/README.md +6 -0
  67. package/docs/zh/quick-start.md +15 -15
  68. package/docs/zh/release-checklist.md +3 -3
  69. package/docs/zh/tools/claude-guide.md +16 -6
  70. package/docs/zh/tools/cursor-guide.md +11 -11
  71. package/docs/zh/tools/generic-guide.md +13 -13
  72. package/docs/zh/tools/kiro-guide.md +2 -2
  73. package/docs/zh/tools/vscode-guide.md +11 -11
  74. package/docs/zh/tools/windsurf-guide.md +11 -11
  75. package/docs/zh/value-observability-guide.md +3 -3
  76. package/lib/adoption/adoption-logger.js +1 -1
  77. package/lib/adoption/adoption-strategy.js +28 -28
  78. package/lib/adoption/backup-manager.js +3 -3
  79. package/lib/adoption/conflict-resolver.js +2 -2
  80. package/lib/adoption/detection-engine.js +8 -8
  81. package/lib/adoption/error-formatter.js +4 -4
  82. package/lib/adoption/file-classifier.js +6 -6
  83. package/lib/adoption/progress-reporter.js +1 -1
  84. package/lib/adoption/smart-orchestrator.js +10 -10
  85. package/lib/adoption/strategy-selector.js +6 -6
  86. package/lib/adoption/summary-generator.js +1 -1
  87. package/lib/adoption/template-sync.js +8 -8
  88. package/lib/auto/autonomous-engine.js +7 -7
  89. package/lib/auto/checkpoint-manager.js +1 -1
  90. package/lib/auto/close-loop-runner.js +12 -12
  91. package/lib/auto/error-recovery-manager.js +1 -1
  92. package/lib/auto/goal-decomposer.js +1 -1
  93. package/lib/auto/moqui-recovery-sequence.js +2 -2
  94. package/lib/auto/progress-tracker.js +1 -1
  95. package/lib/auto/state-manager.js +1 -1
  96. package/lib/backup/backup-system.js +10 -10
  97. package/lib/backup/selective-backup.js +4 -4
  98. package/lib/collab/agent-registry.js +2 -2
  99. package/lib/collab/contract-manager.js +1 -1
  100. package/lib/collab/coordinator.js +2 -2
  101. package/lib/collab/dependency-manager.js +1 -1
  102. package/lib/collab/integration-manager.js +1 -1
  103. package/lib/collab/metadata-manager.js +1 -1
  104. package/lib/collab/multi-agent-config.js +2 -2
  105. package/lib/collab/spec-lifecycle-manager.js +2 -2
  106. package/lib/collab/visualizer.js +1 -1
  107. package/lib/commands/adopt.js +6 -6
  108. package/lib/commands/auto.js +56 -56
  109. package/lib/commands/collab.js +2 -2
  110. package/lib/commands/docs.js +3 -3
  111. package/lib/commands/doctor.js +1 -1
  112. package/lib/commands/knowledge.js +2 -2
  113. package/lib/commands/lock.js +1 -1
  114. package/lib/commands/ops.js +1 -1
  115. package/lib/commands/orchestrate.js +3 -3
  116. package/lib/commands/rollback.js +1 -1
  117. package/lib/commands/scene.js +135 -93
  118. package/lib/commands/session.js +139 -0
  119. package/lib/commands/spec-bootstrap.js +1 -1
  120. package/lib/commands/spec-gate.js +2 -2
  121. package/lib/commands/spec-pipeline.js +1 -1
  122. package/lib/commands/status.js +4 -4
  123. package/lib/commands/steering.js +119 -0
  124. package/lib/commands/value.js +1 -1
  125. package/lib/commands/watch.js +9 -9
  126. package/lib/commands/workspace-multi.js +1 -1
  127. package/lib/context/context-exporter.js +5 -7
  128. package/lib/context/prompt-generator.js +2 -2
  129. package/lib/environment/backup-system.js +1 -1
  130. package/lib/environment/environment-manager.js +2 -2
  131. package/lib/gitignore/gitignore-backup.js +3 -3
  132. package/lib/gitignore/gitignore-detector.js +13 -13
  133. package/lib/gitignore/gitignore-integration.js +3 -3
  134. package/lib/gitignore/gitignore-transformer.js +4 -4
  135. package/lib/gitignore/layered-rules-template.js +16 -16
  136. package/lib/governance/config-manager.js +1 -1
  137. package/lib/governance/doc-reference-checker.js +4 -4
  138. package/lib/governance/execution-logger.js +1 -1
  139. package/lib/governance/file-scanner.js +3 -3
  140. package/lib/interactive-customization/moqui-interactive-adapter.js +2 -2
  141. package/lib/knowledge/knowledge-manager.js +1 -1
  142. package/lib/lock/lock-manager.js +2 -2
  143. package/lib/lock/steering-file-lock.js +5 -5
  144. package/lib/lock/task-lock-manager.js +3 -3
  145. package/lib/operations/audit-logger.js +1 -1
  146. package/lib/operations/feedback-manager.js +1 -1
  147. package/lib/operations/operations-manager.js +3 -3
  148. package/lib/operations/permission-manager.js +2 -2
  149. package/lib/operations/template-loader.js +1 -1
  150. package/lib/orchestrator/agent-spawner.js +27 -2
  151. package/lib/orchestrator/bootstrap-prompt-builder.js +6 -6
  152. package/lib/orchestrator/orchestration-engine.js +1 -1
  153. package/lib/orchestrator/orchestrator-config.js +2 -2
  154. package/lib/repo/config-manager.js +3 -3
  155. package/lib/repo/handlers/init-handler.js +1 -1
  156. package/lib/repo/repo-manager.js +2 -2
  157. package/lib/runtime/business-mode-resolver.js +240 -0
  158. package/lib/runtime/session-store.js +207 -0
  159. package/lib/runtime/steering-contract.js +338 -0
  160. package/lib/scene-runtime/audit-emitter.js +1 -1
  161. package/lib/scene-runtime/binding-plugin-loader.js +3 -3
  162. package/lib/scene-runtime/eval-bridge.js +1 -1
  163. package/lib/scene-runtime/index.js +1 -1
  164. package/lib/scene-runtime/moqui-extractor.js +1 -1
  165. package/lib/scene-runtime/plan-compiler.js +1 -1
  166. package/lib/scene-runtime/policy-gate.js +1 -1
  167. package/lib/scene-runtime/runtime-executor.js +1 -1
  168. package/lib/scene-runtime/scene-loader.js +1 -1
  169. package/lib/spec/bootstrap/context-collector.js +1 -1
  170. package/lib/spec/pipeline/stage-adapters.js +3 -3
  171. package/lib/spec/pipeline/state-store.js +1 -1
  172. package/lib/spec-gate/policy/policy-loader.js +1 -1
  173. package/lib/spec-gate/rules/default-rules.js +6 -6
  174. package/lib/steering/adoption-config.js +1 -1
  175. package/lib/steering/compliance-error-reporter.js +3 -3
  176. package/lib/steering/context-sync-manager.js +2 -2
  177. package/lib/steering/index.js +1 -1
  178. package/lib/steering/spec-steering.js +2 -2
  179. package/lib/steering/steering-compliance-checker.js +1 -1
  180. package/lib/steering/steering-loader.js +4 -5
  181. package/lib/steering/steering-manager.js +4 -4
  182. package/lib/task/task-claimer.js +5 -5
  183. package/lib/task/task-status-store.js +2 -2
  184. package/lib/templates/content-generalizer.js +1 -1
  185. package/lib/templates/spec-reader.js +2 -2
  186. package/lib/templates/template-creator.js +1 -1
  187. package/lib/templates/template-exporter.js +3 -3
  188. package/lib/templates/template-manager.js +1 -1
  189. package/lib/upgrade/migration-engine.js +3 -3
  190. package/lib/upgrade/migrations/1.0.0-to-1.1.0.js +1 -1
  191. package/lib/utils/file-diff.js +6 -6
  192. package/lib/utils/tool-detector.js +10 -10
  193. package/lib/utils/validation.js +5 -5
  194. package/lib/value/metric-contract-loader.js +1 -1
  195. package/lib/version/version-manager.js +1 -1
  196. package/lib/watch/execution-logger.js +1 -1
  197. package/lib/watch/presets.js +8 -8
  198. package/lib/watch/watch-manager.js +2 -2
  199. package/lib/workspace/legacy-kiro-migrator.js +275 -0
  200. package/lib/workspace/multi/workspace-context-resolver.js +2 -2
  201. package/lib/workspace/multi/workspace-registry.js +2 -2
  202. package/lib/workspace/multi/workspace-state-manager.js +3 -3
  203. package/lib/workspace/workspace-manager.js +1 -1
  204. package/lib/workspace/workspace-sync.js +2 -2
  205. package/locales/en.json +4 -4
  206. package/locales/zh.json +4 -4
  207. package/package.json +9 -9
  208. package/template/{.kiro → .sce}/README.md +15 -15
  209. package/template/{.kiro → .sce}/hooks/check-spec-on-create.kiro.hook +2 -2
  210. package/template/{.kiro → .sce}/steering/CORE_PRINCIPLES.md +4 -4
  211. package/template/{.kiro → .sce}/steering/CURRENT_CONTEXT.md +1 -1
  212. package/template/{.kiro → .sce}/steering/ENVIRONMENT.md +3 -3
  213. package/template/{.kiro → .sce}/tools/backup_manager.py +3 -3
  214. package/template/{.kiro → .sce}/tools/configuration_manager.py +1 -1
  215. package/template/README.md +12 -12
  216. /package/template/{.kiro → .sce}/hooks/run-tests-on-save.kiro.hook +0 -0
  217. /package/template/{.kiro → .sce}/hooks/sync-tasks-on-edit.kiro.hook +0 -0
  218. /package/template/{.kiro → .sce}/specs/SPEC_WORKFLOW_GUIDE.md +0 -0
  219. /package/template/{.kiro → .sce}/steering/RULES_GUIDE.md +0 -0
  220. /package/template/{.kiro → .sce}/templates/operations/default/change-impact.md +0 -0
  221. /package/template/{.kiro → .sce}/templates/operations/default/deployment.md +0 -0
  222. /package/template/{.kiro → .sce}/templates/operations/default/feedback-response.md +0 -0
  223. /package/template/{.kiro → .sce}/templates/operations/default/migration-plan.md +0 -0
  224. /package/template/{.kiro → .sce}/templates/operations/default/monitoring.md +0 -0
  225. /package/template/{.kiro → .sce}/templates/operations/default/operations.md +0 -0
  226. /package/template/{.kiro → .sce}/templates/operations/default/rollback.md +0 -0
  227. /package/template/{.kiro → .sce}/templates/operations/default/tools.yaml +0 -0
  228. /package/template/{.kiro → .sce}/templates/operations/default/troubleshooting.md +0 -0
  229. /package/template/{.kiro → .sce}/tools/document_evaluator.py +0 -0
  230. /package/template/{.kiro → .sce}/tools/enhancement_logger.py +0 -0
  231. /package/template/{.kiro → .sce}/tools/error_handler.py +0 -0
  232. /package/template/{.kiro → .sce}/tools/improvement_identifier.py +0 -0
  233. /package/template/{.kiro → .sce}/tools/modification_applicator.py +0 -0
  234. /package/template/{.kiro → .sce}/tools/quality_gate_enforcer.py +0 -0
  235. /package/template/{.kiro → .sce}/tools/quality_scorer.py +0 -0
  236. /package/template/{.kiro → .sce}/tools/report_generator.py +0 -0
  237. /package/template/{.kiro → .sce}/tools/ultrawork_enhancer.py +0 -0
  238. /package/template/{.kiro → .sce}/tools/ultrawork_enhancer_refactored.py +0 -0
  239. /package/template/{.kiro → .sce}/tools/ultrawork_enhancer_v2.py +0 -0
  240. /package/template/{.kiro → .sce}/tools/ultrawork_enhancer_v3.py +0 -0
  241. /package/template/{.kiro → .sce}/tools/workflow_quality_gate.py +0 -0
@@ -16,54 +16,54 @@ sce uses a **layered .gitignore strategy** to balance team collaboration and per
16
16
 
17
17
  | Path | Purpose | Why Commit |
18
18
  |------|---------|-----------|
19
- | `.kiro/specs/` | Feature specifications | **Core value**: Team needs to see requirements, design, and tasks |
20
- | `.kiro/steering/CORE_PRINCIPLES.md` | Development principles | Team coding standards |
21
- | `.kiro/steering/ENVIRONMENT.md` | Project environment | Project setup and configuration |
22
- | `.kiro/steering/RULES_GUIDE.md` | Rules index | Quick reference for team |
23
- | `.kiro/tools/` | Shared scripts | Team automation tools |
24
- | `.kiro/config/` | Project configuration | Document governance, etc. |
25
- | `.kiro/contexts/` (structure) | Multi-user setup | Directory structure for team contexts |
19
+ | `.sce/specs/` | Feature specifications | **Core value**: Team needs to see requirements, design, and tasks |
20
+ | `.sce/steering/CORE_PRINCIPLES.md` | Development principles | Team coding standards |
21
+ | `.sce/steering/ENVIRONMENT.md` | Project environment | Project setup and configuration |
22
+ | `.sce/steering/RULES_GUIDE.md` | Rules index | Quick reference for team |
23
+ | `.sce/tools/` | Shared scripts | Team automation tools |
24
+ | `.sce/config/` | Project configuration | Document governance, etc. |
25
+ | `.sce/contexts/` (structure) | Multi-user setup | Directory structure for team contexts |
26
26
 
27
27
  #### ❌ DO NOT Commit (User-Specific)
28
28
 
29
29
  | Path | Purpose | Why Exclude |
30
30
  |------|---------|-------------|
31
- | `.kiro/steering/CURRENT_CONTEXT.md` | Personal work context | Causes merge conflicts |
32
- | `.kiro/contexts/*/CURRENT_CONTEXT.md` | Personal contexts | User-specific state |
33
- | `.kiro/environments.json` | Environment registry | User-specific configurations |
34
- | `.kiro/env-backups/` | Environment backups | User-specific backups |
35
- | `.kiro/backups/` | Adoption backups | Temporary backups |
36
- | `.kiro/logs/` | Operation logs | Runtime logs |
37
- | `.kiro/reports/` | Compliance reports | Temporary reports |
31
+ | `.sce/steering/CURRENT_CONTEXT.md` | Personal work context | Causes merge conflicts |
32
+ | `.sce/contexts/*/CURRENT_CONTEXT.md` | Personal contexts | User-specific state |
33
+ | `.sce/environments.json` | Environment registry | User-specific configurations |
34
+ | `.sce/env-backups/` | Environment backups | User-specific backups |
35
+ | `.sce/backups/` | Adoption backups | Temporary backups |
36
+ | `.sce/logs/` | Operation logs | Runtime logs |
37
+ | `.sce/reports/` | Compliance reports | Temporary reports |
38
38
 
39
39
  ### Recommended .gitignore
40
40
 
41
41
  ```gitignore
42
42
  # ========================================
43
- # .kiro/ Directory - Layered Management
43
+ # .sce/ Directory - Layered Management
44
44
  # ========================================
45
45
 
46
46
  # Personal state files (DO NOT commit)
47
- .kiro/steering/CURRENT_CONTEXT.md
48
- .kiro/contexts/.active
49
- .kiro/contexts/*/CURRENT_CONTEXT.md
47
+ .sce/steering/CURRENT_CONTEXT.md
48
+ .sce/contexts/.active
49
+ .sce/contexts/*/CURRENT_CONTEXT.md
50
50
 
51
51
  # Environment configuration (DO NOT commit)
52
- .kiro/environments.json
53
- .kiro/env-backups/
52
+ .sce/environments.json
53
+ .sce/env-backups/
54
54
 
55
55
  # Temporary files and backups (DO NOT commit)
56
- .kiro/backups/
57
- .kiro/logs/
58
- .kiro/reports/
56
+ .sce/backups/
57
+ .sce/logs/
58
+ .sce/reports/
59
59
 
60
60
  # Spec artifacts (COMMIT - but exclude temporary files)
61
- .kiro/specs/**/SESSION-*.md
62
- .kiro/specs/**/*-SUMMARY.md
63
- .kiro/specs/**/*-COMPLETE.md
64
- .kiro/specs/**/TEMP-*.md
65
- .kiro/specs/**/WIP-*.md
66
- .kiro/specs/**/MVP-*.md
61
+ .sce/specs/**/SESSION-*.md
62
+ .sce/specs/**/*-SUMMARY.md
63
+ .sce/specs/**/*-COMPLETE.md
64
+ .sce/specs/**/TEMP-*.md
65
+ .sce/specs/**/WIP-*.md
66
+ .sce/specs/**/MVP-*.md
67
67
  ```
68
68
 
69
69
  ---
@@ -80,28 +80,28 @@ git clone <repo>
80
80
  cd project
81
81
  npm install -g scene-capability-engine
82
82
  sce adopt
83
- .kiro/create-workspace.bat alice
83
+ .sce/create-workspace.bat alice
84
84
 
85
85
  # Developer B
86
86
  git clone <repo>
87
87
  cd project
88
88
  npm install -g scene-capability-engine
89
89
  sce adopt
90
- .kiro/create-workspace.bat bob
90
+ .sce/create-workspace.bat bob
91
91
  ```
92
92
 
93
93
  **Daily Workflow**:
94
94
 
95
95
  ```bash
96
96
  # Switch to your personal context
97
- .kiro/switch-workspace.bat alice
97
+ .sce/switch-workspace.bat alice
98
98
 
99
99
  # Work on your tasks
100
100
  sce status
101
101
  # ... make changes ...
102
102
 
103
103
  # Commit Spec changes (shared)
104
- git add .kiro/specs/
104
+ git add .sce/specs/
105
105
  git commit -m "feat: complete task 3.2 in Spec 15-00"
106
106
 
107
107
  # Your personal CURRENT_CONTEXT.md is NOT committed (gitignored)
@@ -125,7 +125,7 @@ sce workflows create user-authentication
125
125
  # ... work on Spec documents ...
126
126
 
127
127
  # Commit Spec to share with team
128
- git add .kiro/specs/21-00-user-authentication/
128
+ git add .sce/specs/21-00-user-authentication/
129
129
  git commit -m "spec: add user authentication feature"
130
130
  git push
131
131
  ```
@@ -140,9 +140,9 @@ git pull
140
140
  sce status
141
141
 
142
142
  # Read Spec documents
143
- cat .kiro/specs/21-00-user-authentication/requirements.md
144
- cat .kiro/specs/21-00-user-authentication/design.md
145
- cat .kiro/specs/21-00-user-authentication/tasks.md
143
+ cat .sce/specs/21-00-user-authentication/requirements.md
144
+ cat .sce/specs/21-00-user-authentication/design.md
145
+ cat .sce/specs/21-00-user-authentication/tasks.md
146
146
 
147
147
  # Implement according to Spec
148
148
  # ... write code ...
@@ -151,7 +151,7 @@ cat .kiro/specs/21-00-user-authentication/tasks.md
151
151
  # Edit tasks.md, mark tasks as complete
152
152
 
153
153
  # Commit implementation + task updates
154
- git add .kiro/specs/21-00-user-authentication/tasks.md
154
+ git add .sce/specs/21-00-user-authentication/tasks.md
155
155
  git add lib/ tests/
156
156
  git commit -m "feat: implement user authentication (tasks 1-3)"
157
157
  git push
@@ -180,7 +180,7 @@ project-root/
180
180
  ├── .env.local # Source file for local
181
181
  ├── .env.staging # Source file for staging
182
182
  ├── .env.production # Source file for production
183
- └── .kiro/
183
+ └── .sce/
184
184
  └── environments.json # NOT committed (user-specific)
185
185
  ```
186
186
 
@@ -207,7 +207,7 @@ sce env switch local
207
207
  **Benefits**:
208
208
  - ✅ Environment templates are versioned
209
209
  - ✅ Each developer registers their own environments
210
- - ✅ No conflicts on `.kiro/environments.json`
210
+ - ✅ No conflicts on `.sce/environments.json`
211
211
  - ✅ Easy onboarding for new team members
212
212
 
213
213
  ---
@@ -219,9 +219,9 @@ sce env switch local
219
219
  When creating a Spec, commit all three documents:
220
220
 
221
221
  ```bash
222
- git add .kiro/specs/22-00-feature-name/requirements.md
223
- git add .kiro/specs/22-00-feature-name/design.md
224
- git add .kiro/specs/22-00-feature-name/tasks.md
222
+ git add .sce/specs/22-00-feature-name/requirements.md
223
+ git add .sce/specs/22-00-feature-name/design.md
224
+ git add .sce/specs/22-00-feature-name/tasks.md
225
225
  git commit -m "spec: add feature-name specification"
226
226
  ```
227
227
 
@@ -229,7 +229,7 @@ git commit -m "spec: add feature-name specification"
229
229
 
230
230
  ```bash
231
231
  # After completing tasks
232
- git add .kiro/specs/22-00-feature-name/tasks.md
232
+ git add .sce/specs/22-00-feature-name/tasks.md
233
233
  git commit -m "chore: update task status for feature-name"
234
234
  ```
235
235
 
@@ -249,10 +249,10 @@ If your Spec generates useful artifacts (scripts, reports, test data):
249
249
 
250
250
  ```bash
251
251
  # Commit useful scripts
252
- git add .kiro/specs/22-00-feature-name/scripts/migration.js
252
+ git add .sce/specs/22-00-feature-name/scripts/migration.js
253
253
 
254
254
  # Commit important reports
255
- git add .kiro/specs/22-00-feature-name/reports/performance-analysis.md
255
+ git add .sce/specs/22-00-feature-name/reports/performance-analysis.md
256
256
 
257
257
  # But exclude temporary files (already gitignored)
258
258
  ```
@@ -270,16 +270,16 @@ git add .kiro/specs/22-00-feature-name/reports/performance-analysis.md
270
270
  sce workflows create payment-integration
271
271
 
272
272
  # 2. Write requirements
273
- # Edit .kiro/specs/23-00-payment-integration/requirements.md
273
+ # Edit .sce/specs/23-00-payment-integration/requirements.md
274
274
 
275
275
  # 3. Write design
276
- # Edit .kiro/specs/23-00-payment-integration/design.md
276
+ # Edit .sce/specs/23-00-payment-integration/design.md
277
277
 
278
278
  # 4. Break down tasks
279
- # Edit .kiro/specs/23-00-payment-integration/tasks.md
279
+ # Edit .sce/specs/23-00-payment-integration/tasks.md
280
280
 
281
281
  # 5. Commit Spec
282
- git add .kiro/specs/23-00-payment-integration/
282
+ git add .sce/specs/23-00-payment-integration/
283
283
  git commit -m "spec: add payment integration feature"
284
284
  git push
285
285
 
@@ -295,8 +295,8 @@ git pull
295
295
 
296
296
  # 2. Review Spec
297
297
  sce status
298
- cat .kiro/specs/23-00-payment-integration/requirements.md
299
- cat .kiro/specs/23-00-payment-integration/design.md
298
+ cat .sce/specs/23-00-payment-integration/requirements.md
299
+ cat .sce/specs/23-00-payment-integration/design.md
300
300
 
301
301
  # 3. Implement tasks
302
302
  # ... write code ...
@@ -305,7 +305,7 @@ cat .kiro/specs/23-00-payment-integration/design.md
305
305
  # Edit tasks.md, mark completed tasks
306
306
 
307
307
  # 5. Commit implementation
308
- git add .kiro/specs/23-00-payment-integration/tasks.md
308
+ git add .sce/specs/23-00-payment-integration/tasks.md
309
309
  git add lib/payment/ tests/payment/
310
310
  git commit -m "feat: implement payment integration (tasks 1-5)"
311
311
  git push
@@ -320,14 +320,14 @@ git push
320
320
  git checkout feature/payment-integration
321
321
 
322
322
  # 2. Read Spec for context
323
- cat .kiro/specs/23-00-payment-integration/requirements.md
324
- cat .kiro/specs/23-00-payment-integration/design.md
323
+ cat .sce/specs/23-00-payment-integration/requirements.md
324
+ cat .sce/specs/23-00-payment-integration/design.md
325
325
 
326
326
  # 3. Verify implementation matches design
327
327
  # Compare code against design document
328
328
 
329
329
  # 4. Check task completion
330
- cat .kiro/specs/23-00-payment-integration/tasks.md
330
+ cat .sce/specs/23-00-payment-integration/tasks.md
331
331
 
332
332
  # 5. Provide feedback
333
333
  # Comment on PR with Spec references
@@ -351,7 +351,7 @@ npm install -g scene-capability-engine
351
351
  sce adopt
352
352
 
353
353
  # 2. Create personal workspace
354
- .kiro/create-workspace.bat john
354
+ .sce/create-workspace.bat john
355
355
 
356
356
  # 3. Register environments
357
357
  sce env register config/env-local.json
@@ -362,7 +362,7 @@ sce status
362
362
  # See all features and their status
363
363
 
364
364
  # 5. Pick a task
365
- cat .kiro/specs/24-00-feature/tasks.md
365
+ cat .sce/specs/24-00-feature/tasks.md
366
366
  # Find unassigned tasks
367
367
 
368
368
  # 6. Start working
@@ -383,15 +383,15 @@ cat .kiro/specs/24-00-feature/tasks.md
383
383
 
384
384
  **Problem**: Causes merge conflicts when multiple developers work simultaneously.
385
385
 
386
- **Solution**: Ensure `.kiro/steering/CURRENT_CONTEXT.md` is in .gitignore.
386
+ **Solution**: Ensure `.sce/steering/CURRENT_CONTEXT.md` is in .gitignore.
387
387
 
388
388
  ```bash
389
389
  # Check if gitignored
390
- git check-ignore .kiro/steering/CURRENT_CONTEXT.md
391
- # Should output: .kiro/steering/CURRENT_CONTEXT.md
390
+ git check-ignore .sce/steering/CURRENT_CONTEXT.md
391
+ # Should output: .sce/steering/CURRENT_CONTEXT.md
392
392
 
393
393
  # If not, add to .gitignore
394
- echo ".kiro/steering/CURRENT_CONTEXT.md" >> .gitignore
394
+ echo ".sce/steering/CURRENT_CONTEXT.md" >> .gitignore
395
395
  ```
396
396
 
397
397
  ### ❌ Pitfall 2: Committing environments.json
@@ -406,7 +406,7 @@ git add config/env-local.json
406
406
  git commit -m "chore: add environment templates"
407
407
 
408
408
  # DO NOT commit registry
409
- # .kiro/environments.json should be gitignored
409
+ # .sce/environments.json should be gitignored
410
410
  ```
411
411
 
412
412
  ### ❌ Pitfall 3: Not Committing Specs
@@ -417,7 +417,7 @@ git commit -m "chore: add environment templates"
417
417
 
418
418
  ```bash
419
419
  # Commit Specs
420
- git add .kiro/specs/
420
+ git add .sce/specs/
421
421
  git commit -m "spec: add new feature specification"
422
422
  ```
423
423
 
@@ -428,10 +428,10 @@ git commit -m "spec: add new feature specification"
428
428
  **Solution**: Ensure temporary patterns are gitignored.
429
429
 
430
430
  ```gitignore
431
- .kiro/specs/**/SESSION-*.md
432
- .kiro/specs/**/*-SUMMARY.md
433
- .kiro/specs/**/*-COMPLETE.md
434
- .kiro/specs/**/TEMP-*.md
431
+ .sce/specs/**/SESSION-*.md
432
+ .sce/specs/**/*-SUMMARY.md
433
+ .sce/specs/**/*-COMPLETE.md
434
+ .sce/specs/**/TEMP-*.md
435
435
  ```
436
436
 
437
437
  ---
@@ -462,4 +462,4 @@ git commit -m "spec: add new feature specification"
462
462
 
463
463
  **Version**: 1.42.0
464
464
  **Last Updated**: 2026-02-11
465
- **Related**: [Environment Management Guide](environment-management-guide.md), [.kiro/README.md](../.kiro/README.md)
465
+ **Related**: [Environment Management Guide](environment-management-guide.md), [.sce/README.md](../.sce/README.md)
@@ -74,7 +74,7 @@ This document defines the testing strategy for sce (Scene Capability Engine) to
74
74
 
75
75
  **Key Finding**: Critical path coverage gap - 0% of 32 critical paths covered by integration tests
76
76
 
77
- For detailed analysis, see `.kiro/specs/17-00-test-suite-optimization/results/`
77
+ For detailed analysis, see `.sce/specs/17-00-test-suite-optimization/results/`
78
78
 
79
79
  ### Spec 18-00: Integration Test Expansion
80
80
 
@@ -93,7 +93,7 @@ For detailed analysis, see `.kiro/specs/17-00-test-suite-optimization/results/`
93
93
  - **status** (3 tests): Spec reporting, empty state, counting
94
94
  - **doctor** (3 tests): Health checks, missing directories, invalid config
95
95
 
96
- For detailed progress, see `.kiro/specs/18-00-integration-test-expansion/PROGRESS.md`
96
+ For detailed progress, see `.sce/specs/18-00-integration-test-expansion/PROGRESS.md`
97
97
 
98
98
  ### Current State (After Both Specs)
99
99
  - **Total Tests**: 1,353 (1,324 unit + 29 integration)
@@ -48,16 +48,26 @@
48
48
  - **sce installed** globally (`npm install -g scene-capability-engine`)
49
49
  - **Project adopted** by sce (`sce adopt`)
50
50
 
51
+ ### Recommended Claude Launch Mode
52
+
53
+ When pairing Claude with sce-managed autonomous work, use the full-permission launch mode:
54
+
55
+ ```bash
56
+ claude --dangerously-skip-permission
57
+ ```
58
+
59
+ This keeps Claude runtime behavior aligned with sce orchestrator sub-agent defaults (`danger-full-access` + no approval prompts).
60
+
51
61
  ### Step 1: Create Shell Alias (Recommended)
52
62
 
53
63
  Add to your `~/.bashrc` or `~/.zshrc`:
54
64
 
55
65
  ```bash
56
66
  # Quick export and copy to clipboard
57
- alias sce-clip='sce context export $1 && cat .kiro/specs/$1/context-export.md | pbcopy && echo "✅ Context copied to clipboard"'
67
+ alias sce-clip='sce context export $1 && cat .sce/specs/$1/context-export.md | pbcopy && echo "✅ Context copied to clipboard"'
58
68
 
59
69
  # Windows PowerShell (add to $PROFILE)
60
- function sce-clip { sce context export $args[0]; Get-Content ".kiro\specs\$($args[0])\context-export.md" | Set-Clipboard; Write-Host "✅ Context copied to clipboard" }
70
+ function sce-clip { sce context export $args[0]; Get-Content ".sce\specs\$($args[0])\context-export.md" | Set-Clipboard; Write-Host "✅ Context copied to clipboard" }
61
71
  ```
62
72
 
63
73
  ---
@@ -102,7 +112,7 @@ Claude: [Generates ValidationService with all methods]
102
112
  ```
103
113
 
104
114
  **Step 5: Update tasks as you complete them**
105
- Edit `.kiro/specs/01-00-user-login/tasks.md`:
115
+ Edit `.sce/specs/01-00-user-login/tasks.md`:
106
116
  ```markdown
107
117
  - [x] 1.1 Set up project dependencies
108
118
  - [x] 1.2 Create User model and database schema
@@ -535,7 +545,7 @@ Now let's continue with task 3.1..."
535
545
  ### With Git
536
546
  ```bash
537
547
  # Commit Spec
538
- git add .kiro/specs/01-00-user-login/
548
+ git add .sce/specs/01-00-user-login/
539
549
  git commit -m "Add user login Spec"
540
550
 
541
551
  # Implement with Claude
@@ -58,10 +58,10 @@ Create a `.cursorrules` file in your project root:
58
58
  This project uses sce (Scene Capability Engine) for spec-driven development.
59
59
 
60
60
  ## Spec Location
61
- All Specs are in `.kiro/specs/` directory.
61
+ All Specs are in `.sce/specs/` directory.
62
62
 
63
63
  ## Before Implementing Features
64
- 1. Check if a Spec exists in `.kiro/specs/`
64
+ 1. Check if a Spec exists in `.sce/specs/`
65
65
  2. Read the requirements.md, design.md, and tasks.md
66
66
  3. Follow the design architecture exactly
67
67
  4. Update tasks.md when completing tasks
@@ -73,9 +73,9 @@ All Specs are in `.kiro/specs/` directory.
73
73
 
74
74
  ## Example
75
75
  For user login feature:
76
- - Spec: `.kiro/specs/01-00-user-login/`
77
- - Design: `.kiro/specs/01-00-user-login/design.md`
78
- - Tasks: `.kiro/specs/01-00-user-login/tasks.md`
76
+ - Spec: `.sce/specs/01-00-user-login/`
77
+ - Design: `.sce/specs/01-00-user-login/design.md`
78
+ - Tasks: `.sce/specs/01-00-user-login/tasks.md`
79
79
 
80
80
  ## Code Standards
81
81
  [Add your project-specific coding standards here]
@@ -87,7 +87,7 @@ Add to your `~/.bashrc` or `~/.zshrc`:
87
87
 
88
88
  ```bash
89
89
  # Quick export and copy to clipboard
90
- alias sce-clip='sce context export $1 && cat .kiro/specs/$1/context-export.md | pbcopy && echo "✅ Context copied to clipboard"'
90
+ alias sce-clip='sce context export $1 && cat .sce/specs/$1/context-export.md | pbcopy && echo "✅ Context copied to clipboard"'
91
91
 
92
92
  # Generate task-specific prompt
93
93
  alias sce-task='sce prompt generate $1 $2 --tool=cursor'
@@ -114,10 +114,10 @@ sce context export 01-00-user-login
114
114
  **Step 2: Copy context**
115
115
  ```bash
116
116
  # macOS
117
- cat .kiro/specs/01-00-user-login/context-export.md | pbcopy
117
+ cat .sce/specs/01-00-user-login/context-export.md | pbcopy
118
118
 
119
119
  # Windows
120
- type .kiro\specs\01-00-user-login\context-export.md | clip
120
+ type .sce\specs\01-00-user-login\context-export.md | clip
121
121
 
122
122
  # Or use alias
123
123
  sce-clip 01-00-user-login
@@ -145,7 +145,7 @@ Follow the design document exactly:
145
145
  - Accept or modify as needed
146
146
 
147
147
  **Step 6: Update task status**
148
- Edit `.kiro/specs/01-00-user-login/tasks.md`:
148
+ Edit `.sce/specs/01-00-user-login/tasks.md`:
149
149
  ```markdown
150
150
  - [x] 1.1 Create AuthController class ← Changed from [ ] to [x]
151
151
  ```
@@ -186,7 +186,7 @@ Cursor: [Generates tests]
186
186
  **Step 1: Add context in comments**
187
187
  ```javascript
188
188
  // Task 1.1: Create AuthController class
189
- // See: .kiro/specs/01-00-user-login/design.md
189
+ // See: .sce/specs/01-00-user-login/design.md
190
190
  //
191
191
  // Requirements:
192
192
  // - POST /api/auth/login endpoint
@@ -314,10 +314,10 @@ What are the security implications?
314
314
  /**
315
315
  * AuthController handles user authentication
316
316
  *
317
- * Spec: .kiro/specs/01-00-user-login/design.md
317
+ * Spec: .sce/specs/01-00-user-login/design.md
318
318
  * Requirements: FR-1, FR-2, FR-3
319
319
  *
320
- * @see .kiro/specs/01-00-user-login/design.md#authcontroller
320
+ * @see .sce/specs/01-00-user-login/design.md#authcontroller
321
321
  */
322
322
  class AuthController {
323
323
  // ...
@@ -434,7 +434,7 @@ Follow the design document exactly:
434
434
 
435
435
  **Solution 1:** Be more explicit in your prompt
436
436
  ```
437
- Strictly follow the design document in .kiro/specs/01-00-user-login/design.md
437
+ Strictly follow the design document in .sce/specs/01-00-user-login/design.md
438
438
 
439
439
  Do not deviate from:
440
440
  - The specified API endpoints
@@ -552,7 +552,7 @@ Review the AuthController implementation:
552
552
 
553
553
  ```bash
554
554
  # Commit Spec changes
555
- git add .kiro/specs/01-00-user-login/
555
+ git add .sce/specs/01-00-user-login/
556
556
  git commit -m "Add user login Spec"
557
557
 
558
558
  # Commit implementation
@@ -78,23 +78,23 @@ sce spec bootstrap --name 01-00-user-login --non-interactive
78
78
  sce context export 01-00-user-login
79
79
  ```
80
80
 
81
- This creates `.kiro/specs/01-00-user-login/context-export.md`
81
+ This creates `.sce/specs/01-00-user-login/context-export.md`
82
82
 
83
83
  ### Step 3: Copy Context
84
84
 
85
85
  **macOS:**
86
86
  ```bash
87
- cat .kiro/specs/01-00-user-login/context-export.md | pbcopy
87
+ cat .sce/specs/01-00-user-login/context-export.md | pbcopy
88
88
  ```
89
89
 
90
90
  **Windows:**
91
91
  ```bash
92
- type .kiro\specs\01-00-user-login\context-export.md | clip
92
+ type .sce\specs\01-00-user-login\context-export.md | clip
93
93
  ```
94
94
 
95
95
  **Linux:**
96
96
  ```bash
97
- cat .kiro/specs/01-00-user-login/context-export.md | xclip -selection clipboard
97
+ cat .sce/specs/01-00-user-login/context-export.md | xclip -selection clipboard
98
98
  ```
99
99
 
100
100
  **Or manually:**
@@ -168,7 +168,7 @@ Edit `tasks.md`:
168
168
  **Example:**
169
169
  ```javascript
170
170
  /**
171
- * Spec: .kiro/specs/01-00-user-login/
171
+ * Spec: .sce/specs/01-00-user-login/
172
172
  * Task: 2.1 - Implement AuthController
173
173
  *
174
174
  * Requirements:
@@ -190,10 +190,10 @@ class AuthController {
190
190
  sce context export 01-00-user-login
191
191
 
192
192
  # Provide to CLI tool
193
- your-ai-tool --context .kiro/specs/01-00-user-login/context-export.md
193
+ your-ai-tool --context .sce/specs/01-00-user-login/context-export.md
194
194
 
195
195
  # Or pipe it
196
- cat .kiro/specs/01-00-user-login/context-export.md | your-ai-tool
196
+ cat .sce/specs/01-00-user-login/context-export.md | your-ai-tool
197
197
  ```
198
198
 
199
199
  ### API-Based Tools
@@ -201,7 +201,7 @@ cat .kiro/specs/01-00-user-login/context-export.md | your-ai-tool
201
201
  **Workflow:**
202
202
  ```javascript
203
203
  const fs = require('fs');
204
- const context = fs.readFileSync('.kiro/specs/01-00-user-login/context-export.md', 'utf8');
204
+ const context = fs.readFileSync('.sce/specs/01-00-user-login/context-export.md', 'utf8');
205
205
 
206
206
  // Call your AI API
207
207
  const response = await aiAPI.generate({
@@ -378,7 +378,7 @@ What's wrong and how do I fix it?
378
378
  If you're building an AI coding tool, consider:
379
379
 
380
380
  **1. Native sce Support**
381
- - Read `.kiro/specs/` directory
381
+ - Read `.sce/specs/` directory
382
382
  - Parse requirements.md, design.md, tasks.md
383
383
  - Update tasks.md automatically
384
384
 
@@ -46,7 +46,7 @@
46
46
  ### Prerequisites
47
47
 
48
48
  - **AI IDE installed**
49
- - **Project with .kiro/ directory**
49
+ - **Project with .sce/ directory**
50
50
 
51
51
  ### No Setup Required!
52
52
 
@@ -64,7 +64,7 @@ AI IDE automatically detects and uses sce Specs. Just start working.
64
64
  You: "Implement the user login feature"
65
65
 
66
66
  SCE AI:
67
- [Automatically reads] .kiro/specs/01-00-user-login/
67
+ [Automatically reads] .sce/specs/01-00-user-login/
68
68
  [Understands] Requirements, Design, Tasks
69
69
  [Implements] Code according to design
70
70
  [Updates] tasks.md automatically
@@ -108,7 +108,7 @@ SCE AI:
108
108
  You: "Create a new Spec for user login"
109
109
 
110
110
  SCE AI:
111
- [Creates] .kiro/specs/01-00-user-login/
111
+ [Creates] .sce/specs/01-00-user-login/
112
112
  [Generates] requirements.md, design.md, tasks.md templates
113
113
  [Opens] Files for editing
114
114
  ```
@@ -258,7 +258,7 @@ Also good: "Let's work on authentication"
258
258
  ### Issue: SCE doesn't see my Spec
259
259
 
260
260
  **Check:**
261
- 1. Spec is in `.kiro/specs/` directory
261
+ 1. Spec is in `.sce/specs/` directory
262
262
  2. Spec has requirements.md, design.md, tasks.md
263
263
  3. Files are not empty
264
264