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
@@ -11,7 +11,7 @@ The Multi-Repository Management feature enables you to manage multiple Git subre
11
11
  Navigate to your project root and run:
12
12
 
13
13
  ```bash
14
- kse repo init
14
+ sce repo init
15
15
  ```
16
16
 
17
17
  This command:
@@ -36,7 +36,7 @@ Configuration saved to .kiro/project-repos.json
36
36
  View the status of all repositories at once:
37
37
 
38
38
  ```bash
39
- kse repo status
39
+ sce repo status
40
40
  ```
41
41
 
42
42
  **Example output:**
@@ -53,7 +53,7 @@ kse repo status
53
53
  For detailed file-level changes:
54
54
 
55
55
  ```bash
56
- kse repo status --verbose
56
+ sce repo status --verbose
57
57
  ```
58
58
 
59
59
  ### 3. Execute Commands Across Repositories
@@ -61,7 +61,7 @@ kse repo status --verbose
61
61
  Run the same Git command in all repositories:
62
62
 
63
63
  ```bash
64
- kse repo exec "git pull"
64
+ sce repo exec "git pull"
65
65
  ```
66
66
 
67
67
  **Example output:**
@@ -84,7 +84,7 @@ Summary: 3 succeeded, 0 failed
84
84
  Preview commands without executing (dry-run):
85
85
 
86
86
  ```bash
87
- kse repo exec "git pull" --dry-run
87
+ sce repo exec "git pull" --dry-run
88
88
  ```
89
89
 
90
90
  ### 4. Health Check
@@ -92,7 +92,7 @@ kse repo exec "git pull" --dry-run
92
92
  Verify that all repositories are properly configured:
93
93
 
94
94
  ```bash
95
- kse repo health
95
+ sce repo health
96
96
  ```
97
97
 
98
98
  **Example output:**
@@ -197,7 +197,7 @@ Paths can be specified as:
197
197
 
198
198
  ### Overview
199
199
 
200
- Starting with v1.21.0, you can manually create and edit the `.kiro/project-repos.json` configuration file without relying solely on `kse repo init`. This is useful for:
200
+ Starting with v1.21.0, you can manually create and edit the `.kiro/project-repos.json` configuration file without relying solely on `sce repo init`. This is useful for:
201
201
 
202
202
  - Curating a specific list of repositories
203
203
  - Removing false positives from auto-scan
@@ -292,7 +292,7 @@ For more detailed configurations, you can include all optional fields:
292
292
 
293
293
  ### Validation Rules
294
294
 
295
- When you manually create or edit the configuration, `kse` validates:
295
+ When you manually create or edit the configuration, `sce` validates:
296
296
 
297
297
  1. **File Format**: Must be valid JSON
298
298
  2. **Structure**: Must have a `repositories` array
@@ -332,10 +332,10 @@ Create `.kiro/project-repos.json` with your repositories:
332
332
  **Step 3: Verify the configuration**
333
333
 
334
334
  ```bash
335
- kse repo status
335
+ sce repo status
336
336
  ```
337
337
 
338
- If there are validation errors, `kse` will display clear error messages:
338
+ If there are validation errors, `sce` will display clear error messages:
339
339
 
340
340
  ```
341
341
  Error: Repository path validation failed
@@ -451,7 +451,7 @@ git init
451
451
 
452
452
  ### Overview
453
453
 
454
- Nested repository support allows `kse` to discover and manage Git repositories that are nested inside other Git repositories. This is useful for projects with complex structures where components are organized as independent Git repositories within a parent repository.
454
+ Nested repository support allows `sce` to discover and manage Git repositories that are nested inside other Git repositories. This is useful for projects with complex structures where components are organized as independent Git repositories within a parent repository.
455
455
 
456
456
  **Example structure:**
457
457
  ```
@@ -473,19 +473,19 @@ project-root/
473
473
 
474
474
  ### Enabling Nested Scanning
475
475
 
476
- Nested scanning is **enabled by default** in `kse repo init`. To explicitly control this behavior:
476
+ Nested scanning is **enabled by default** in `sce repo init`. To explicitly control this behavior:
477
477
 
478
478
  ```bash
479
479
  # Enable nested scanning (default)
480
- kse repo init --nested
480
+ sce repo init --nested
481
481
 
482
482
  # Disable nested scanning (stop at first repo)
483
- kse repo init --no-nested
483
+ sce repo init --no-nested
484
484
  ```
485
485
 
486
486
  ### Parent-Child Relationships
487
487
 
488
- When nested repositories are discovered, `kse` tracks the parent-child relationship in the configuration file:
488
+ When nested repositories are discovered, `sce` tracks the parent-child relationship in the configuration file:
489
489
 
490
490
  ```json
491
491
  {
@@ -526,7 +526,7 @@ When nested repositories are discovered, `kse` tracks the parent-child relations
526
526
  When nested repositories are present, commands display the parent-child relationship:
527
527
 
528
528
  ```bash
529
- $ kse repo status
529
+ $ sce repo status
530
530
 
531
531
  ┌────────────┬─────────┬────────┬──────────┬───────┬────────┬─────────┐
532
532
  │ Name │ Branch │ Status │ Modified │ Ahead │ Behind │ Parent │
@@ -614,7 +614,7 @@ app/
614
614
 
615
615
  ### Directory Exclusions
616
616
 
617
- To improve performance and avoid scanning unnecessary directories, `kse` automatically excludes common non-repository directories:
617
+ To improve performance and avoid scanning unnecessary directories, `sce` automatically excludes common non-repository directories:
618
618
 
619
619
  - `node_modules` - Node.js dependencies
620
620
  - `.git` - Git metadata
@@ -626,12 +626,12 @@ To improve performance and avoid scanning unnecessary directories, `kse` automat
626
626
  You can add custom exclusions using the `--exclude` option:
627
627
 
628
628
  ```bash
629
- kse repo init --exclude "node_modules,vendor,custom-dir"
629
+ sce repo init --exclude "node_modules,vendor,custom-dir"
630
630
  ```
631
631
 
632
632
  ### Circular Symlink Detection
633
633
 
634
- `kse` automatically detects and skips circular symbolic links to prevent infinite loops during scanning:
634
+ `sce` automatically detects and skips circular symbolic links to prevent infinite loops during scanning:
635
635
 
636
636
  ```bash
637
637
  # This structure is handled safely
@@ -648,17 +648,17 @@ Nested scanning may take longer for large directory structures. To optimize:
648
648
 
649
649
  1. **Reduce scan depth**: Use `--max-depth` to limit how deep to scan
650
650
  ```bash
651
- kse repo init --max-depth 4
651
+ sce repo init --max-depth 4
652
652
  ```
653
653
 
654
654
  2. **Exclude directories**: Skip known non-repository directories
655
655
  ```bash
656
- kse repo init --exclude "node_modules,build,dist"
656
+ sce repo init --exclude "node_modules,build,dist"
657
657
  ```
658
658
 
659
659
  3. **Disable nested scanning**: If you only need top-level repositories
660
660
  ```bash
661
- kse repo init --no-nested
661
+ sce repo init --no-nested
662
662
  ```
663
663
 
664
664
  ### Troubleshooting Nested Repositories
@@ -669,17 +669,17 @@ If nested repositories are not discovered:
669
669
 
670
670
  1. **Check scan depth**: Increase `--max-depth` if repositories are deeply nested
671
671
  ```bash
672
- kse repo init --max-depth 5
672
+ sce repo init --max-depth 5
673
673
  ```
674
674
 
675
675
  2. **Verify nested scanning is enabled**: Ensure `--no-nested` is not used
676
676
  ```bash
677
- kse repo init --nested
677
+ sce repo init --nested
678
678
  ```
679
679
 
680
680
  3. **Check exclusions**: Ensure the directory is not excluded
681
681
  ```bash
682
- kse repo init --exclude "node_modules" # Don't exclude the parent directory
682
+ sce repo init --exclude "node_modules" # Don't exclude the parent directory
683
683
  ```
684
684
 
685
685
  #### Circular Reference Errors
@@ -694,7 +694,7 @@ Error: Circular parent reference detected: repo-a -> repo-b -> repo-a
694
694
  1. Open `.kiro/project-repos.json`
695
695
  2. Check the `parent` fields
696
696
  3. Remove or fix the circular reference
697
- 4. Run `kse repo health` to verify
697
+ 4. Run `sce repo health` to verify
698
698
 
699
699
  #### Parent Repository Not Found
700
700
 
@@ -707,7 +707,7 @@ Error: Parent repository not found: backend
707
707
  **Solution:**
708
708
  1. Ensure the parent repository is in the configuration
709
709
  2. Check that the `parent` field matches the parent's `path` field exactly
710
- 3. Run `kse repo init` to regenerate the configuration
710
+ 3. Run `sce repo init` to regenerate the configuration
711
711
 
712
712
  ### Backward Compatibility
713
713
 
@@ -716,7 +716,7 @@ Nested repository support is fully backward compatible:
716
716
  - Existing configurations without `parent` fields work unchanged
717
717
  - Repositories without `parent` are treated as top-level repositories
718
718
  - The `parent` field is optional and can be omitted
719
- - Old configurations can be upgraded by running `kse repo init`
719
+ - Old configurations can be upgraded by running `sce repo init`
720
720
 
721
721
  ### Migration from Non-Nested to Nested
722
722
 
@@ -727,22 +727,22 @@ To migrate an existing configuration to use nested scanning:
727
727
  cp .kiro/project-repos.json .kiro/project-repos.json.backup
728
728
 
729
729
  # Re-initialize with nested scanning
730
- kse repo init --nested -y
730
+ sce repo init --nested -y
731
731
 
732
732
  # Verify the new configuration
733
- kse repo status
734
- kse repo health
733
+ sce repo status
734
+ sce repo health
735
735
  ```
736
736
 
737
737
  ## Commands
738
738
 
739
- ### `kse repo init`
739
+ ### `sce repo init`
740
740
 
741
741
  Initialize repository configuration by scanning the project directory.
742
742
 
743
743
  **Usage:**
744
744
  ```bash
745
- kse repo init [options]
745
+ sce repo init [options]
746
746
  ```
747
747
 
748
748
  **Options:**
@@ -764,28 +764,28 @@ kse repo init [options]
764
764
  **Example:**
765
765
  ```bash
766
766
  # Initialize with default settings (nested scanning enabled)
767
- kse repo init
767
+ sce repo init
768
768
 
769
769
  # Skip confirmation prompts
770
- kse repo init -y
770
+ sce repo init -y
771
771
 
772
772
  # Disable nested repository scanning
773
- kse repo init --no-nested
773
+ sce repo init --no-nested
774
774
 
775
775
  # Scan deeper directory structure
776
- kse repo init --max-depth 5
776
+ sce repo init --max-depth 5
777
777
 
778
778
  # Exclude specific directories
779
- kse repo init --exclude "node_modules,vendor"
779
+ sce repo init --exclude "node_modules,vendor"
780
780
  ```
781
781
 
782
- ### `kse repo status`
782
+ ### `sce repo status`
783
783
 
784
784
  Display the Git status of all repositories.
785
785
 
786
786
  **Usage:**
787
787
  ```bash
788
- kse repo status [options]
788
+ sce repo status [options]
789
789
  ```
790
790
 
791
791
  **Options:**
@@ -802,22 +802,22 @@ kse repo status [options]
802
802
  **Example:**
803
803
  ```bash
804
804
  # Basic status
805
- kse repo status
805
+ sce repo status
806
806
 
807
807
  # Detailed status with file changes
808
- kse repo status --verbose
808
+ sce repo status --verbose
809
809
 
810
810
  # JSON output for scripting
811
- kse repo status --json
811
+ sce repo status --json
812
812
  ```
813
813
 
814
- ### `kse repo exec`
814
+ ### `sce repo exec`
815
815
 
816
816
  Execute a Git command in all repositories.
817
817
 
818
818
  **Usage:**
819
819
  ```bash
820
- kse repo exec "<command>" [options]
820
+ sce repo exec "<command>" [options]
821
821
  ```
822
822
 
823
823
  **Options:**
@@ -833,28 +833,28 @@ kse repo exec "<command>" [options]
833
833
  **Example:**
834
834
  ```bash
835
835
  # Pull latest changes
836
- kse repo exec "git pull"
836
+ sce repo exec "git pull"
837
837
 
838
838
  # Create and checkout new branch
839
- kse repo exec "git checkout -b feature/new-feature"
839
+ sce repo exec "git checkout -b feature/new-feature"
840
840
 
841
841
  # Preview without executing
842
- kse repo exec "git push" --dry-run
842
+ sce repo exec "git push" --dry-run
843
843
 
844
844
  # Fetch all remotes
845
- kse repo exec "git fetch --all"
845
+ sce repo exec "git fetch --all"
846
846
 
847
847
  # Show commit history
848
- kse repo exec "git log --oneline -5"
848
+ sce repo exec "git log --oneline -5"
849
849
  ```
850
850
 
851
- ### `kse repo health`
851
+ ### `sce repo health`
852
852
 
853
853
  Perform health checks on all repositories.
854
854
 
855
855
  **Usage:**
856
856
  ```bash
857
- kse repo health [options]
857
+ sce repo health [options]
858
858
  ```
859
859
 
860
860
  **Options:**
@@ -874,10 +874,10 @@ kse repo health [options]
874
874
  **Example:**
875
875
  ```bash
876
876
  # Run health check
877
- kse repo health
877
+ sce repo health
878
878
 
879
879
  # JSON output for automation
880
- kse repo health --json
880
+ sce repo health --json
881
881
  ```
882
882
 
883
883
  ## Common Workflows
@@ -888,13 +888,13 @@ Start your day by syncing all repositories:
888
888
 
889
889
  ```bash
890
890
  # Check status of all repos
891
- kse repo status
891
+ sce repo status
892
892
 
893
893
  # Pull latest changes
894
- kse repo exec "git pull"
894
+ sce repo exec "git pull"
895
895
 
896
896
  # Verify everything is healthy
897
- kse repo health
897
+ sce repo health
898
898
  ```
899
899
 
900
900
  ### Workflow 2: Feature Branch Creation
@@ -903,10 +903,10 @@ Create a feature branch across all repositories:
903
903
 
904
904
  ```bash
905
905
  # Create and checkout feature branch
906
- kse repo exec "git checkout -b feature/user-authentication"
906
+ sce repo exec "git checkout -b feature/user-authentication"
907
907
 
908
908
  # Verify all repos are on the new branch
909
- kse repo status
909
+ sce repo status
910
910
  ```
911
911
 
912
912
  ### Workflow 3: Release Preparation
@@ -915,20 +915,20 @@ Prepare all repositories for a release:
915
915
 
916
916
  ```bash
917
917
  # Ensure all repos are clean
918
- kse repo status
918
+ sce repo status
919
919
 
920
920
  # Pull latest changes
921
- kse repo exec "git pull"
921
+ sce repo exec "git pull"
922
922
 
923
923
  # Create release branch
924
- kse repo exec "git checkout -b release/v1.2.0"
924
+ sce repo exec "git checkout -b release/v1.2.0"
925
925
 
926
926
  # Tag the release
927
- kse repo exec "git tag -a v1.2.0 -m 'Release v1.2.0'"
927
+ sce repo exec "git tag -a v1.2.0 -m 'Release v1.2.0'"
928
928
 
929
929
  # Push branches and tags
930
- kse repo exec "git push origin release/v1.2.0"
931
- kse repo exec "git push --tags"
930
+ sce repo exec "git push origin release/v1.2.0"
931
+ sce repo exec "git push --tags"
932
932
  ```
933
933
 
934
934
  ### Workflow 4: Troubleshooting
@@ -937,16 +937,16 @@ Diagnose issues across repositories:
937
937
 
938
938
  ```bash
939
939
  # Run health check
940
- kse repo health
940
+ sce repo health
941
941
 
942
942
  # Check detailed status
943
- kse repo status --verbose
943
+ sce repo status --verbose
944
944
 
945
945
  # Verify remote connectivity
946
- kse repo exec "git remote -v"
946
+ sce repo exec "git remote -v"
947
947
 
948
948
  # Check for uncommitted changes
949
- kse repo exec "git status --short"
949
+ sce repo exec "git status --short"
950
950
  ```
951
951
 
952
952
  ### Workflow 5: Bulk Updates
@@ -955,17 +955,17 @@ Update dependencies or configuration across all repos:
955
955
 
956
956
  ```bash
957
957
  # Update npm dependencies
958
- kse repo exec "npm update"
958
+ sce repo exec "npm update"
959
959
 
960
960
  # Run tests
961
- kse repo exec "npm test"
961
+ sce repo exec "npm test"
962
962
 
963
963
  # Commit changes
964
- kse repo exec "git add ."
965
- kse repo exec "git commit -m 'chore: update dependencies'"
964
+ sce repo exec "git add ."
965
+ sce repo exec "git commit -m 'chore: update dependencies'"
966
966
 
967
967
  # Push changes
968
- kse repo exec "git push"
968
+ sce repo exec "git push"
969
969
  ```
970
970
 
971
971
  ## Manual Configuration
@@ -1039,7 +1039,7 @@ You can manually edit `.kiro/project-repos.json` to:
1039
1039
  ### Directory Not Detected as Repository
1040
1040
 
1041
1041
  **Problem:**
1042
- `kse repo init` doesn't detect a directory that you know contains a Git repository.
1042
+ `sce repo init` doesn't detect a directory that you know contains a Git repository.
1043
1043
 
1044
1044
  **Cause:**
1045
1045
  The scanner only identifies directories that contain a `.git` subdirectory. Regular subdirectories within a Git repository are not detected as separate repositories.
@@ -1061,7 +1061,7 @@ The scanner only identifies directories that contain a `.git` subdirectory. Regu
1061
1061
  ### Too Many Repositories Detected
1062
1062
 
1063
1063
  **Problem:**
1064
- `kse repo init` detects many more repositories than you actually have (e.g., 34 detected when you only have 8).
1064
+ `sce repo init` detects many more repositories than you actually have (e.g., 34 detected when you only have 8).
1065
1065
 
1066
1066
  **Cause:**
1067
1067
  If you're using a version prior to v1.20.5, the scanner may incorrectly identify regular subdirectories as repositories.
@@ -1069,11 +1069,11 @@ If you're using a version prior to v1.20.5, the scanner may incorrectly identify
1069
1069
  **Solution:**
1070
1070
  1. Upgrade to v1.20.5 or later:
1071
1071
  ```bash
1072
- npm install -g kiro-spec-engine@latest
1072
+ npm install -g scene-capability-engine@latest
1073
1073
  ```
1074
1074
  2. Re-run the initialization:
1075
1075
  ```bash
1076
- kse repo init
1076
+ sce repo init
1077
1077
  ```
1078
1078
  3. The scanner will now only detect directories with `.git` subdirectories.
1079
1079
 
@@ -1085,7 +1085,7 @@ Error: Configuration file not found at .kiro/project-repos.json
1085
1085
  ```
1086
1086
 
1087
1087
  **Solution:**
1088
- Run `kse repo init` to create the configuration file.
1088
+ Run `sce repo init` to create the configuration file.
1089
1089
 
1090
1090
  ### Repository Path Not Found
1091
1091
 
@@ -1138,7 +1138,7 @@ Error in backend: fatal: not a git repository
1138
1138
  1. Verify the path is a Git repository
1139
1139
  2. Run `git init` if needed
1140
1140
  3. Check file permissions
1141
- 4. Run `kse repo health` to diagnose
1141
+ 4. Run `sce repo health` to diagnose
1142
1142
 
1143
1143
  ### Permission Denied
1144
1144
 
@@ -1217,7 +1217,7 @@ Run health checks regularly:
1217
1217
 
1218
1218
  ```bash
1219
1219
  # Add to your daily workflow
1220
- kse repo health
1220
+ sce repo health
1221
1221
  ```
1222
1222
 
1223
1223
  ### 7. Dry-Run Before Bulk Operations
@@ -1226,7 +1226,7 @@ Always preview destructive operations:
1226
1226
 
1227
1227
  ```bash
1228
1228
  # Preview before executing
1229
- kse repo exec "git push --force" --dry-run
1229
+ sce repo exec "git push --force" --dry-run
1230
1230
  ```
1231
1231
 
1232
1232
  ### 8. Document Custom Workflows
@@ -1238,13 +1238,13 @@ Create scripts for common workflows:
1238
1238
  # sync-all.sh - Sync all repositories
1239
1239
 
1240
1240
  echo "Checking status..."
1241
- kse repo status
1241
+ sce repo status
1242
1242
 
1243
1243
  echo "Pulling changes..."
1244
- kse repo exec "git pull"
1244
+ sce repo exec "git pull"
1245
1245
 
1246
1246
  echo "Running health check..."
1247
- kse repo health
1247
+ sce repo health
1248
1248
  ```
1249
1249
 
1250
1250
  ## Advanced Usage
@@ -1255,13 +1255,13 @@ Use JSON output for automation:
1255
1255
 
1256
1256
  ```bash
1257
1257
  # Get status as JSON
1258
- kse repo status --json > status.json
1258
+ sce repo status --json > status.json
1259
1259
 
1260
1260
  # Parse with jq
1261
- kse repo status --json | jq '.[] | select(.isClean == false)'
1261
+ sce repo status --json | jq '.[] | select(.isClean == false)'
1262
1262
 
1263
1263
  # Check health in CI/CD
1264
- if kse repo health --json | jq -e '.[] | select(.healthy == false)' > /dev/null; then
1264
+ if sce repo health --json | jq -e '.[] | select(.healthy == false)' > /dev/null; then
1265
1265
  echo "Health check failed!"
1266
1266
  exit 1
1267
1267
  fi
@@ -1282,14 +1282,14 @@ jobs:
1282
1282
  steps:
1283
1283
  - uses: actions/checkout@v2
1284
1284
 
1285
- - name: Install kse
1286
- run: npm install -g kiro-spec-engine
1285
+ - name: Install sce
1286
+ run: npm install -g scene-capability-engine
1287
1287
 
1288
1288
  - name: Check repository health
1289
- run: kse repo health
1289
+ run: sce repo health
1290
1290
 
1291
1291
  - name: Check repository status
1292
- run: kse repo status
1292
+ run: sce repo status
1293
1293
  ```
1294
1294
 
1295
1295
  ### Custom Configuration Validation
@@ -1300,7 +1300,7 @@ Validate configuration before committing:
1300
1300
  # Add to pre-commit hook
1301
1301
  #!/bin/bash
1302
1302
  if [ -f .kiro/project-repos.json ]; then
1303
- kse repo health || exit 1
1303
+ sce repo health || exit 1
1304
1304
  fi
1305
1305
  ```
1306
1306