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.
- package/CHANGELOG.md +233 -233
- package/LICENSE +2 -2
- package/README.md +8 -11
- package/README.zh.md +7 -10
- package/bin/kse.js +1 -1
- package/bin/sce.js +1 -1
- package/bin/sco.js +1 -1
- package/docs/331-poc-adaptation-roadmap.md +25 -25
- package/docs/331-poc-dual-track-integration-guide.md +26 -26
- package/docs/331-poc-weekly-delivery-checklist.md +8 -8
- package/docs/OFFLINE_INSTALL.md +10 -10
- package/docs/README.md +24 -24
- package/docs/adopt-migration-guide.md +51 -51
- package/docs/adoption-guide.md +56 -56
- package/docs/agent-hooks-analysis.md +52 -52
- package/docs/architecture.md +6 -6
- package/docs/articles/ai-driven-development-philosophy-and-practice-review.md +4 -4
- package/docs/articles/ai-driven-development-philosophy-and-practice.en.md +9 -9
- package/docs/articles/ai-driven-development-philosophy-and-practice.md +10 -10
- package/docs/autonomous-control-guide.md +89 -89
- package/docs/command-reference.md +11 -11
- package/docs/community.md +4 -4
- package/docs/cross-tool-guide.md +47 -47
- package/docs/developer-guide.md +5 -5
- package/docs/document-governance.md +91 -91
- package/docs/environment-management-guide.md +53 -53
- package/docs/examples/add-export-command/design.md +2 -2
- package/docs/examples/add-export-command/requirements.md +5 -5
- package/docs/examples/add-export-command/tasks.md +2 -2
- package/docs/faq.md +69 -69
- package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.json +9 -9
- package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.md +3 -3
- package/docs/integration-modes.md +60 -60
- package/docs/integration-philosophy.md +48 -48
- package/docs/knowledge-management-guide.md +21 -21
- package/docs/manual-workflows-guide.md +20 -20
- package/docs/moqui-capability-matrix.md +22 -22
- package/docs/moqui-template-core-library-playbook.md +20 -20
- package/docs/multi-agent-coordination-guide.md +19 -19
- package/docs/multi-repo-management-guide.md +93 -93
- package/docs/quick-start-with-ai-tools.md +36 -36
- package/docs/quick-start.md +16 -16
- package/docs/release-checklist.md +7 -7
- package/docs/releases/v1.46.2-validation.md +1 -1
- package/docs/releases/v1.46.2.md +10 -10
- package/docs/scene-runtime-guide.md +42 -42
- package/docs/spec-collaboration-guide.md +43 -43
- package/docs/spec-locking-guide.md +26 -26
- package/docs/spec-numbering-guide.md +6 -6
- package/docs/spec-workflow.md +25 -25
- package/docs/steering-strategy-guide.md +36 -36
- package/docs/team-collaboration-guide.md +23 -23
- package/docs/testing-strategy.md +2 -2
- package/docs/tools/claude-guide.md +26 -26
- package/docs/tools/cursor-guide.md +31 -31
- package/docs/tools/generic-guide.md +22 -22
- package/docs/tools/kiro-guide.md +43 -43
- package/docs/tools/vscode-guide.md +18 -18
- package/docs/tools/windsurf-guide.md +50 -50
- package/docs/troubleshooting.md +116 -116
- package/docs/upgrade-guide.md +49 -49
- package/docs/value-observability-guide.md +6 -6
- package/docs/zh/README.md +22 -22
- package/docs/zh/quick-start.md +34 -34
- package/docs/zh/release-checklist.md +6 -6
- package/docs/zh/releases/v1.46.2-validation.md +1 -1
- package/docs/zh/releases/v1.46.2.md +9 -9
- package/docs/zh/spec-numbering-guide.md +6 -6
- package/docs/zh/tools/claude-guide.md +14 -14
- package/docs/zh/tools/cursor-guide.md +18 -18
- package/docs/zh/tools/generic-guide.md +40 -40
- package/docs/zh/tools/kiro-guide.md +50 -50
- package/docs/zh/tools/vscode-guide.md +20 -20
- package/docs/zh/tools/windsurf-guide.md +49 -49
- package/docs/zh/value-observability-guide.md +6 -6
- package/docs//344/272/244/344/273/230/346/270/205/345/215/225.md +4 -4
- package/lib/adoption/adoption-logger.js +1 -1
- package/lib/adoption/adoption-strategy.js +3 -3
- package/lib/adoption/detection-engine.js +1 -1
- package/lib/adoption/error-formatter.js +17 -17
- package/lib/adoption/progress-reporter.js +2 -2
- package/lib/adoption/smart-orchestrator.js +2 -2
- package/lib/adoption/strategy-selector.js +2 -2
- package/lib/adoption/summary-generator.js +3 -3
- package/lib/auto/autonomous-engine.js +2 -2
- package/lib/auto/close-loop-runner.js +9 -9
- package/lib/backup/backup-system.js +2 -2
- package/lib/collab/collab-manager.js +2 -2
- package/lib/commands/adopt.js +16 -16
- package/lib/commands/auto.js +93 -93
- package/lib/commands/collab.js +8 -8
- package/lib/commands/docs.js +26 -26
- package/lib/commands/doctor.js +2 -2
- package/lib/commands/env.js +14 -14
- package/lib/commands/knowledge.js +13 -13
- package/lib/commands/lock.js +6 -6
- package/lib/commands/ops.js +19 -19
- package/lib/commands/orchestrate.js +5 -5
- package/lib/commands/prompt.js +3 -3
- package/lib/commands/rollback.js +4 -4
- package/lib/commands/scene.js +29 -29
- package/lib/commands/spec-bootstrap.js +1 -1
- package/lib/commands/spec-gate.js +1 -1
- package/lib/commands/spec-pipeline.js +1 -1
- package/lib/commands/task.js +1 -1
- package/lib/commands/templates.js +27 -27
- package/lib/commands/upgrade.js +8 -8
- package/lib/commands/value.js +4 -4
- package/lib/commands/watch.js +9 -9
- package/lib/commands/workflows.js +5 -5
- package/lib/commands/workspace-multi.js +17 -17
- package/lib/commands/workspace.js +5 -5
- package/lib/context/context-exporter.js +1 -1
- package/lib/context/prompt-generator.js +1 -1
- package/lib/data/moqui-capability-lexicon.json +1 -1
- package/lib/environment/environment-manager.js +1 -1
- package/lib/gitignore/gitignore-detector.js +4 -4
- package/lib/gitignore/gitignore-integration.js +2 -2
- package/lib/gitignore/gitignore-transformer.js +3 -3
- package/lib/gitignore/layered-rules-template.js +2 -2
- package/lib/governance/diagnostic-engine.js +4 -4
- package/lib/governance/doc-reference-checker.js +1 -1
- package/lib/governance/hooks-manager.js +5 -5
- package/lib/governance/reporter.js +1 -1
- package/lib/knowledge/knowledge-manager.js +6 -6
- package/lib/orchestrator/agent-spawner.js +1 -1
- package/lib/orchestrator/bootstrap-prompt-builder.js +2 -2
- package/lib/repo/config-manager.js +2 -2
- package/lib/repo/handlers/init-handler.js +3 -3
- package/lib/scene-runtime/audit-emitter.js +2 -2
- package/lib/scene-runtime/binding-plugin-loader.js +1 -1
- package/lib/scene-runtime/moqui-adapter.js +2 -2
- package/lib/scene-runtime/moqui-extractor.js +3 -3
- package/lib/scene-runtime/scene-loader.js +3 -3
- package/lib/scene-runtime/scene-template-linter.js +1 -1
- package/lib/scene-runtime/templates/scene-template-erp-query-v0.1.yaml +1 -1
- package/lib/scene-runtime/templates/scene-template-hybrid-shadow-v0.1.yaml +1 -1
- package/lib/spec/multi-spec-orchestrate.js +1 -1
- package/lib/spec-gate/rules/default-rules.js +1 -1
- package/lib/steering/adoption-config.js +1 -1
- package/lib/steering/compliance-auto-fixer.js +1 -1
- package/lib/steering/compliance-cache.js +3 -3
- package/lib/steering/compliance-error-reporter.js +1 -1
- package/lib/steering/index.js +1 -1
- package/lib/steering/steering-manager.js +7 -7
- package/lib/task/task-claimer.js +2 -1
- package/lib/templates/metadata-collector.js +6 -6
- package/lib/templates/template-creator.js +2 -2
- package/lib/templates/template-exporter.js +12 -12
- package/lib/upgrade/migration-engine.js +4 -4
- package/lib/utils/tool-detector.js +25 -25
- package/lib/utils/validation.js +3 -3
- package/lib/version/version-checker.js +13 -13
- package/lib/version/version-manager.js +7 -7
- package/lib/watch/presets.js +4 -4
- package/lib/workspace/multi/path-utils.js +1 -1
- package/lib/workspace/multi/workspace-context-resolver.js +9 -9
- package/lib/workspace/multi/workspace-registry.js +2 -2
- package/lib/workspace/multi/workspace-state-manager.js +1 -1
- package/lib/workspace/multi/workspace.js +1 -1
- package/lib/workspace/workspace-sync.js +1 -1
- package/locales/en.json +1 -1
- package/locales/zh.json +1 -1
- package/package.json +3 -5
- package/template/.kiro/README.md +40 -40
- package/template/.kiro/specs/SPEC_WORKFLOW_GUIDE.md +3 -3
- package/template/.kiro/steering/CORE_PRINCIPLES.md +3 -3
- package/template/.kiro/steering/ENVIRONMENT.md +2 -2
- package/template/README.md +3 -3
- /package/bin/{kiro-spec-engine.js → scene-capability-engine.js} +0 -0
|
@@ -61,10 +61,10 @@ class WorkspaceRegistry {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Validate that a path is a valid
|
|
64
|
+
* Validate that a path is a valid sce project directory
|
|
65
65
|
*
|
|
66
66
|
* @param {string} workspacePath - Path to validate
|
|
67
|
-
* @returns {Promise<boolean>} True if valid
|
|
67
|
+
* @returns {Promise<boolean>} True if valid sce project
|
|
68
68
|
*/
|
|
69
69
|
async validateWorkspacePath(workspacePath) {
|
|
70
70
|
const fs = require('fs-extra');
|
|
@@ -297,7 +297,7 @@ class WorkspaceStateManager {
|
|
|
297
297
|
const kiroPath = path.join(workspacePath, '.kiro');
|
|
298
298
|
const kiroExists = await fs.pathExists(kiroPath);
|
|
299
299
|
if (!kiroExists) {
|
|
300
|
-
throw new Error(`Path "${workspacePath}" is not a valid
|
|
300
|
+
throw new Error(`Path "${workspacePath}" is not a valid sce project directory. ` +
|
|
301
301
|
`Ensure it exists and contains a .kiro/ directory.`);
|
|
302
302
|
}
|
|
303
303
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const PathUtils = require('./path-utils');
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Workspace - Data model for a registered
|
|
4
|
+
* Workspace - Data model for a registered sce project workspace
|
|
5
5
|
*
|
|
6
6
|
* Represents a single workspace entry in the workspace registry.
|
|
7
7
|
* Each workspace has a unique name, absolute path, and timestamps.
|
package/locales/en.json
CHANGED
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"malformed_version": "Unable to parse Python version: {version}",
|
|
104
104
|
"error_header": "✗ Python is required for Ultrawork quality enhancement features",
|
|
105
105
|
"install_header": "Installation instructions:",
|
|
106
|
-
"help_footer": "For more help, visit: https://github.com/USERNAME/
|
|
106
|
+
"help_footer": "For more help, visit: https://github.com/USERNAME/scene-capability-engine#python-setup",
|
|
107
107
|
"install": {
|
|
108
108
|
"windows": "Windows:\n1. Download Python from https://www.python.org/downloads/\n2. Run the installer and check 'Add Python to PATH'\n3. Restart your terminal and run: python --version",
|
|
109
109
|
"macos": "macOS:\n1. Install Homebrew if not already installed: /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n2. Install Python: brew install python\n3. Verify installation: python3 --version",
|
package/locales/zh.json
CHANGED
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"malformed_version": "无法解析 Python 版本: {version}",
|
|
104
104
|
"error_header": "✗ Ultrawork 质量增强功能需要 Python",
|
|
105
105
|
"install_header": "安装说明:",
|
|
106
|
-
"help_footer": "获取更多帮助,请访问: https://github.com/USERNAME/
|
|
106
|
+
"help_footer": "获取更多帮助,请访问: https://github.com/USERNAME/scene-capability-engine#python-setup",
|
|
107
107
|
"install": {
|
|
108
108
|
"windows": "Windows:\n1. 从 https://www.python.org/downloads/ 下载 Python\n2. 运行安装程序并勾选 'Add Python to PATH'\n3. 重启终端并运行: python --version",
|
|
109
109
|
"macos": "macOS:\n1. 如果尚未安装 Homebrew,请先安装: /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n2. 安装 Python: brew install python\n3. 验证安装: python3 --version",
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scene-capability-engine",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "SCE (Scene Capability Engine) - A CLI tool and npm package for spec-driven development with AI coding assistants.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sce": "bin/sce.js",
|
|
8
|
-
"sco": "bin/sco.js"
|
|
9
|
-
"kse": "bin/kse.js",
|
|
10
|
-
"kiro-spec-engine": "bin/kiro-spec-engine.js"
|
|
8
|
+
"sco": "bin/sco.js"
|
|
11
9
|
},
|
|
12
10
|
"files": [
|
|
13
11
|
"bin/",
|
|
@@ -45,7 +43,7 @@
|
|
|
45
43
|
"uninstall-global": "npm uninstall -g scene-capability-engine"
|
|
46
44
|
},
|
|
47
45
|
"keywords": [
|
|
48
|
-
"
|
|
46
|
+
"SCE",
|
|
49
47
|
"spec",
|
|
50
48
|
"spec-driven",
|
|
51
49
|
"engine",
|
package/template/.kiro/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Project Development Guide
|
|
2
2
|
|
|
3
|
-
> **AI Tools: Read this first!** This project follows Spec-driven development methodology powered by
|
|
3
|
+
> **AI Tools: Read this first!** This project follows Spec-driven development methodology powered by sce (Scene Capability Engine).
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -19,46 +19,46 @@ This project uses **Spec-driven development** - a structured approach where:
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
-
## 🚀
|
|
22
|
+
## 🚀 sce Capabilities (v1.45.x)
|
|
23
23
|
|
|
24
|
-
**IMPORTANT**: After installing or updating
|
|
24
|
+
**IMPORTANT**: After installing or updating sce, read this section to understand all available capabilities. Using the right tool for the job ensures efficient, high-quality development.
|
|
25
25
|
|
|
26
26
|
### Core: Spec-Driven Development
|
|
27
|
-
- `
|
|
28
|
-
- `
|
|
29
|
-
- `
|
|
30
|
-
- `
|
|
31
|
-
- `
|
|
32
|
-
- `
|
|
27
|
+
- `sce adopt` — Initialize sce in a project (creates `.kiro/` structure)
|
|
28
|
+
- `sce create-spec <name>` — Create a new Spec (requirements + design + tasks)
|
|
29
|
+
- `sce status` — Show project status and Spec progress
|
|
30
|
+
- `sce workflows` — List available Specs and workflows
|
|
31
|
+
- `sce context export <spec-name>` — Export Spec context for AI consumption
|
|
32
|
+
- `sce prompt generate <spec> <task>` — Generate task-specific prompt
|
|
33
33
|
|
|
34
34
|
### Task Management
|
|
35
|
-
- `
|
|
36
|
-
- `
|
|
35
|
+
- `sce task claim <spec> <task-id>` — Claim a task for execution
|
|
36
|
+
- `sce task list <spec>` — List claimed tasks
|
|
37
37
|
- Task status tracking in `tasks.md`: `[ ]` not started, `[-]` in progress, `[x]` completed
|
|
38
38
|
|
|
39
39
|
### Spec Locking (Multi-User)
|
|
40
|
-
- `
|
|
41
|
-
- `
|
|
42
|
-
- `
|
|
43
|
-
- `
|
|
44
|
-
- `
|
|
40
|
+
- `sce lock acquire <spec>` — Lock a Spec to prevent conflicts
|
|
41
|
+
- `sce lock release <spec>` / `sce unlock <spec>` — Release lock
|
|
42
|
+
- `sce lock status` — Check lock status
|
|
43
|
+
- `sce lock cleanup` — Remove stale locks (24h timeout)
|
|
44
|
+
- `sce lock whoami` — Show machine identifier
|
|
45
45
|
|
|
46
46
|
### Workspace Management
|
|
47
|
-
- `
|
|
47
|
+
- `sce workspace create/list/switch/info/remove` — Manage multiple sce projects
|
|
48
48
|
- Global state: `~/.kse/workspace-state.json`
|
|
49
49
|
|
|
50
50
|
### Environment Configuration
|
|
51
|
-
- `
|
|
51
|
+
- `sce env list/switch/info/register/unregister/rollback/verify/run` — Multi-environment management
|
|
52
52
|
- Automatic backup before each switch, instant rollback support
|
|
53
53
|
|
|
54
54
|
### Multi-Repository Management
|
|
55
|
-
- `
|
|
56
|
-
- `
|
|
57
|
-
- `
|
|
58
|
-
- `
|
|
55
|
+
- `sce repo init [--nested]` — Auto-discover Git repositories
|
|
56
|
+
- `sce repo status [--verbose]` — Status of all repositories
|
|
57
|
+
- `sce repo exec "<command>"` — Execute command across all repos
|
|
58
|
+
- `sce repo health` — Check repository health
|
|
59
59
|
|
|
60
60
|
### Spec-Level Collaboration
|
|
61
|
-
- `
|
|
61
|
+
- `sce collab init/status/assign/verify/integrate/migrate` — Coordinate parallel Spec development
|
|
62
62
|
- Master Spec + Sub-Specs with dependency management
|
|
63
63
|
- Interface contracts for cross-Spec compatibility
|
|
64
64
|
|
|
@@ -86,16 +86,16 @@ Fourth steering layer (L4) and Spec lifecycle coordination for multi-agent scena
|
|
|
86
86
|
- See `docs/multi-agent-coordination-guide.md` for full API reference
|
|
87
87
|
|
|
88
88
|
### Autonomous Control
|
|
89
|
-
- `
|
|
90
|
-
- `
|
|
91
|
-
- `
|
|
89
|
+
- `sce auto create <description>` — Create and execute Spec autonomously
|
|
90
|
+
- `sce auto run <spec>` — Execute existing Spec tasks autonomously
|
|
91
|
+
- `sce auto status/resume/stop/config` — Manage autonomous execution
|
|
92
92
|
- Intelligent error recovery, checkpoint system, learning from history
|
|
93
93
|
|
|
94
94
|
### Agent Orchestrator — Multi-Agent Spec Execution (v1.45.0)
|
|
95
95
|
Automate parallel Spec execution via Codex CLI sub-agents (replaces manual multi-terminal workflow):
|
|
96
|
-
- `
|
|
97
|
-
- `
|
|
98
|
-
- `
|
|
96
|
+
- `sce orchestrate run --specs "spec-a,spec-b,spec-c" --max-parallel 3` — Start multi-agent orchestration
|
|
97
|
+
- `sce orchestrate status` — View orchestration progress (per-Spec status, overall state)
|
|
98
|
+
- `sce orchestrate stop` — Gracefully stop all sub-agents
|
|
99
99
|
- **OrchestratorConfig** (`lib/orchestrator`) — Configuration management (agent backend, parallelism, timeout, retries) via `.kiro/config/orchestrator.json`
|
|
100
100
|
- **BootstrapPromptBuilder** (`lib/orchestrator`) — Builds bootstrap prompts with Spec path, steering context, execution instructions
|
|
101
101
|
- **AgentSpawner** (`lib/orchestrator`) — Process manager for Codex CLI sub-agents with timeout detection, graceful termination (SIGTERM → SIGKILL)
|
|
@@ -105,23 +105,23 @@ Automate parallel Spec execution via Codex CLI sub-agents (replaces manual multi
|
|
|
105
105
|
- 11 correctness properties verified via property-based testing
|
|
106
106
|
|
|
107
107
|
### Scene Runtime (Template Engine + Quality + ERP)
|
|
108
|
-
- **Template Engine**: `
|
|
109
|
-
- **Package Registry**: `
|
|
110
|
-
- **Quality Pipeline**: `
|
|
111
|
-
- **Ontology**: `
|
|
112
|
-
- **Moqui ERP**: `
|
|
113
|
-
- **Registry Ops**: `
|
|
108
|
+
- **Template Engine**: `sce scene template-validate/resolve/render` — Variable schema, multi-file rendering, 3-layer inheritance
|
|
109
|
+
- **Package Registry**: `sce scene publish/unpublish/install/list/search/info/diff/version` — Local package management
|
|
110
|
+
- **Quality Pipeline**: `sce scene lint/score/contribute` — 10-category lint, quality scoring, one-stop publish
|
|
111
|
+
- **Ontology**: `sce scene ontology show/deps/validate/actions/lineage/agent-info` — Semantic relationship graph
|
|
112
|
+
- **Moqui ERP**: `sce scene connect/discover/extract` — ERP integration and template extraction
|
|
113
|
+
- **Registry Ops**: `sce scene deprecate/audit/owner/tag/lock/stats` — Advanced registry management
|
|
114
114
|
|
|
115
115
|
### Document Governance
|
|
116
|
-
- `
|
|
116
|
+
- `sce docs diagnose/cleanup/validate/archive/hooks` — Document lifecycle management
|
|
117
117
|
- Automatic compliance checking and cleanup
|
|
118
118
|
|
|
119
119
|
### DevOps Integration
|
|
120
|
-
- `
|
|
120
|
+
- `sce ops init/validate/audit/takeover/feedback` — Operations Spec management
|
|
121
121
|
- Progressive AI autonomy levels (L1-L5)
|
|
122
122
|
|
|
123
123
|
### Knowledge Management
|
|
124
|
-
- `
|
|
124
|
+
- `sce knowledge init/add/list/search/show/delete/stats` — Personal knowledge base
|
|
125
125
|
|
|
126
126
|
---
|
|
127
127
|
|
|
@@ -235,13 +235,13 @@ A Spec is a complete feature definition with three parts:
|
|
|
235
235
|
| What to work on | `.kiro/specs/{spec-name}/tasks.md` |
|
|
236
236
|
| Project context | `.kiro/steering/CURRENT_CONTEXT.md` |
|
|
237
237
|
| Development rules | `.kiro/steering/CORE_PRINCIPLES.md` |
|
|
238
|
-
| Project status | `
|
|
238
|
+
| Project status | `sce status` |
|
|
239
239
|
| Multi-agent setup | `.kiro/config/multi-agent.json` |
|
|
240
240
|
| Full documentation | `docs/` directory |
|
|
241
241
|
|
|
242
242
|
---
|
|
243
243
|
|
|
244
244
|
**Project Type**: Spec-driven development
|
|
245
|
-
**
|
|
245
|
+
**sce Version**: 1.44.x
|
|
246
246
|
**Last Updated**: 2026-02-12
|
|
247
247
|
**Purpose**: Guide AI tools to work effectively with this project
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SCE Specs 工作流指南
|
|
2
2
|
|
|
3
3
|
> **用途**: Spec 驱动开发的完整工作流程和设计原则
|
|
4
|
-
> **适用**: 所有使用
|
|
4
|
+
> **适用**: 所有使用 scene-capability-engine (sce) 的 Spec 驱动开发项目
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -131,4 +131,4 @@ _Requirements: 3.1, 3.2_
|
|
|
131
131
|
|
|
132
132
|
**版本**: v2.0
|
|
133
133
|
**更新**: 2026-01-27
|
|
134
|
-
**适用范围**: 所有使用
|
|
134
|
+
**适用范围**: 所有使用 scene-capability-engine (sce) 的 Spec 驱动开发项目
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
### 0. KSE 项目接管声明 🎯
|
|
20
20
|
|
|
21
|
-
**核心**: 项目已由
|
|
21
|
+
**核心**: 项目已由 sce 接管,AI 拥有完全开发和管理权限
|
|
22
22
|
|
|
23
23
|
**接管标志**: 存在 `.kiro/` 目录、`version.json`、`specs/`、`steering/`
|
|
24
24
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
**测试零容忍**: ❌ 禁止忽视失败、禁止失败时发布 | ✅ 必须调查根因、修复后继续、发布前全量测试
|
|
46
46
|
|
|
47
|
-
**避免重复测试**: 任务中已测试则完成后不重复,
|
|
47
|
+
**避免重复测试**: 任务中已测试则完成后不重复,SCE 文件保存触发 subagent 时跳过重复测试
|
|
48
48
|
|
|
49
49
|
**重要性**: 测试是质量防线,小问题累积致崩溃,忽视问题成本指数增长
|
|
50
50
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
### 4.1 完全自主执行权限 🚀
|
|
62
62
|
|
|
63
|
-
**授权**:
|
|
63
|
+
**授权**: sce 接管项目后,AI 拥有完全自主执行权限
|
|
64
64
|
|
|
65
65
|
**原则**: 无需确认直接推进、自主决策方案工具、自主修复不中断、自主测试分析修复、自主优化代码设计
|
|
66
66
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
# 项目环境配置(模板)
|
|
2
2
|
|
|
3
3
|
> ⚠️ **模板文件**: 请根据实际项目修改所有 `[TODO: ...]` 占位符
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## 🖥️ 环境
|
|
13
13
|
|
|
14
|
-
**本地**: Windows (cmd) | Python 3.8+ |
|
|
14
|
+
**本地**: Windows (cmd) | Python 3.8+ | AI IDE
|
|
15
15
|
|
|
16
16
|
**核心组件**:
|
|
17
17
|
- `.kiro/specs/` - Spec 驱动开发
|
package/template/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
# [TODO: 项目名称 - 请修改此标题]
|
|
2
2
|
|
|
3
3
|
> ⚠️ **这是模板文件**: 请搜索并替换所有 `[TODO: ...]` 占位符为实际项目信息
|
|
4
4
|
|
|
5
5
|
## 🎯 项目概述
|
|
6
6
|
|
|
7
|
-
这是一个集成了 **Sisyphus Ultrawork 精神** 的
|
|
7
|
+
这是一个集成了 **Sisyphus Ultrawork 精神** 的 SCE Spec 驱动开发项目。
|
|
8
8
|
|
|
9
9
|
### 核心特性
|
|
10
10
|
|
|
@@ -103,7 +103,7 @@ python .kiro\tools\ultrawork_enhancer.py tasks <path-to-tasks.md>
|
|
|
103
103
|
|
|
104
104
|
## 📚 参考文档
|
|
105
105
|
|
|
106
|
-
- `.kiro/README.md` -
|
|
106
|
+
- `.kiro/README.md` - SCE 系统说明
|
|
107
107
|
- `.kiro/steering/CORE_PRINCIPLES.md` - 核心原则(包含 Ultrawork 精神)
|
|
108
108
|
|
|
109
109
|
---
|
|
File without changes
|