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.
- package/CHANGELOG.md +130 -78
- package/README.md +6 -6
- package/README.zh.md +6 -6
- package/bin/scene-capability-engine.js +129 -7
- package/docs/331-poc-adaptation-roadmap.md +3 -3
- package/docs/331-poc-dual-track-integration-guide.md +8 -8
- package/docs/331-poc-weekly-delivery-checklist.md +6 -6
- package/docs/README.md +4 -0
- package/docs/adopt-migration-guide.md +13 -13
- package/docs/adoption-guide.md +28 -28
- package/docs/agent-hooks-analysis.md +10 -10
- package/docs/architecture.md +13 -13
- package/docs/articles/ai-driven-development-philosophy-and-practice.en.md +3 -3
- package/docs/articles/ai-driven-development-philosophy-and-practice.md +3 -3
- package/docs/autonomous-control-guide.md +35 -35
- package/docs/command-reference.md +192 -153
- package/docs/cross-tool-guide.md +7 -7
- package/docs/developer-guide.md +8 -8
- package/docs/document-governance.md +15 -15
- package/docs/environment-management-guide.md +6 -6
- package/docs/examples/add-export-command/design.md +1 -1
- package/docs/faq.md +13 -13
- package/docs/handoff-profile-integration-guide.md +3 -3
- package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.json +7 -7
- package/docs/handoffs/evidence/ontology/moqui-template-baseline-2026-02-17-232922.md +1 -1
- package/docs/integration-modes.md +12 -12
- package/docs/integration-philosophy.md +11 -11
- package/docs/interactive-customization/331-poc-sce-integration-checklist.md +24 -24
- package/docs/interactive-customization/README.md +43 -43
- package/docs/interactive-customization/business-mode-policy-baseline.json +33 -0
- package/docs/interactive-customization/dual-ui-mode-integration-guide.md +1 -1
- package/docs/interactive-customization/moqui-adapter-interface.md +2 -2
- package/docs/interactive-customization/moqui-copilot-integration-guide.md +1 -1
- package/docs/interactive-customization/moqui-interactive-template-playbook.md +4 -4
- package/docs/interactive-customization/phase-acceptance-evidence.md +2 -2
- package/docs/knowledge-management-guide.md +6 -6
- package/docs/manual-workflows-guide.md +4 -4
- package/docs/moqui-capability-matrix.md +3 -3
- package/docs/moqui-standard-rebuild-guide.md +8 -8
- package/docs/moqui-template-core-library-playbook.md +27 -27
- package/docs/multi-agent-coordination-guide.md +19 -19
- package/docs/multi-repo-management-guide.md +17 -17
- package/docs/quick-start-with-ai-tools.md +7 -7
- package/docs/quick-start.md +2 -2
- package/docs/release-checklist.md +4 -4
- package/docs/sce-business-mode-map.md +103 -0
- package/docs/security-governance-default-baseline.md +12 -12
- package/docs/spec-collaboration-guide.md +3 -3
- package/docs/spec-locking-guide.md +2 -2
- package/docs/spec-workflow.md +3 -3
- package/docs/starter-kit/README.md +4 -4
- package/docs/starter-kit/handoff-manifest.starter.json +2 -2
- package/docs/starter-kit/release.workflow.sample.yml +1 -1
- package/docs/steering-strategy-guide.md +15 -15
- package/docs/team-collaboration-guide.md +69 -69
- package/docs/testing-strategy.md +2 -2
- package/docs/tools/claude-guide.md +14 -4
- package/docs/tools/cursor-guide.md +14 -14
- package/docs/tools/generic-guide.md +9 -9
- package/docs/tools/kiro-guide.md +4 -4
- package/docs/tools/vscode-guide.md +13 -13
- package/docs/tools/windsurf-guide.md +6 -6
- package/docs/troubleshooting.md +22 -22
- package/docs/upgrade-guide.md +8 -8
- package/docs/value-observability-guide.md +3 -3
- package/docs/zh/README.md +6 -0
- package/docs/zh/quick-start.md +15 -15
- package/docs/zh/release-checklist.md +3 -3
- package/docs/zh/tools/claude-guide.md +16 -6
- package/docs/zh/tools/cursor-guide.md +11 -11
- package/docs/zh/tools/generic-guide.md +13 -13
- package/docs/zh/tools/kiro-guide.md +2 -2
- package/docs/zh/tools/vscode-guide.md +11 -11
- package/docs/zh/tools/windsurf-guide.md +11 -11
- package/docs/zh/value-observability-guide.md +3 -3
- package/lib/adoption/adoption-logger.js +1 -1
- package/lib/adoption/adoption-strategy.js +28 -28
- package/lib/adoption/backup-manager.js +3 -3
- package/lib/adoption/conflict-resolver.js +2 -2
- package/lib/adoption/detection-engine.js +8 -8
- package/lib/adoption/error-formatter.js +4 -4
- package/lib/adoption/file-classifier.js +6 -6
- package/lib/adoption/progress-reporter.js +1 -1
- package/lib/adoption/smart-orchestrator.js +10 -10
- package/lib/adoption/strategy-selector.js +6 -6
- package/lib/adoption/summary-generator.js +1 -1
- package/lib/adoption/template-sync.js +8 -8
- package/lib/auto/autonomous-engine.js +7 -7
- package/lib/auto/checkpoint-manager.js +1 -1
- package/lib/auto/close-loop-runner.js +12 -12
- package/lib/auto/error-recovery-manager.js +1 -1
- package/lib/auto/goal-decomposer.js +1 -1
- package/lib/auto/moqui-recovery-sequence.js +2 -2
- package/lib/auto/progress-tracker.js +1 -1
- package/lib/auto/state-manager.js +1 -1
- package/lib/backup/backup-system.js +10 -10
- package/lib/backup/selective-backup.js +4 -4
- package/lib/collab/agent-registry.js +2 -2
- package/lib/collab/contract-manager.js +1 -1
- package/lib/collab/coordinator.js +2 -2
- package/lib/collab/dependency-manager.js +1 -1
- package/lib/collab/integration-manager.js +1 -1
- package/lib/collab/metadata-manager.js +1 -1
- package/lib/collab/multi-agent-config.js +2 -2
- package/lib/collab/spec-lifecycle-manager.js +2 -2
- package/lib/collab/visualizer.js +1 -1
- package/lib/commands/adopt.js +6 -6
- package/lib/commands/auto.js +56 -56
- package/lib/commands/collab.js +2 -2
- package/lib/commands/docs.js +3 -3
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/knowledge.js +2 -2
- package/lib/commands/lock.js +1 -1
- package/lib/commands/ops.js +1 -1
- package/lib/commands/orchestrate.js +3 -3
- package/lib/commands/rollback.js +1 -1
- package/lib/commands/scene.js +135 -93
- package/lib/commands/session.js +139 -0
- package/lib/commands/spec-bootstrap.js +1 -1
- package/lib/commands/spec-gate.js +2 -2
- package/lib/commands/spec-pipeline.js +1 -1
- package/lib/commands/status.js +4 -4
- package/lib/commands/steering.js +119 -0
- package/lib/commands/value.js +1 -1
- package/lib/commands/watch.js +9 -9
- package/lib/commands/workspace-multi.js +1 -1
- package/lib/context/context-exporter.js +5 -7
- package/lib/context/prompt-generator.js +2 -2
- package/lib/environment/backup-system.js +1 -1
- package/lib/environment/environment-manager.js +2 -2
- package/lib/gitignore/gitignore-backup.js +3 -3
- package/lib/gitignore/gitignore-detector.js +13 -13
- package/lib/gitignore/gitignore-integration.js +3 -3
- package/lib/gitignore/gitignore-transformer.js +4 -4
- package/lib/gitignore/layered-rules-template.js +16 -16
- package/lib/governance/config-manager.js +1 -1
- package/lib/governance/doc-reference-checker.js +4 -4
- package/lib/governance/execution-logger.js +1 -1
- package/lib/governance/file-scanner.js +3 -3
- package/lib/interactive-customization/moqui-interactive-adapter.js +2 -2
- package/lib/knowledge/knowledge-manager.js +1 -1
- package/lib/lock/lock-manager.js +2 -2
- package/lib/lock/steering-file-lock.js +5 -5
- package/lib/lock/task-lock-manager.js +3 -3
- package/lib/operations/audit-logger.js +1 -1
- package/lib/operations/feedback-manager.js +1 -1
- package/lib/operations/operations-manager.js +3 -3
- package/lib/operations/permission-manager.js +2 -2
- package/lib/operations/template-loader.js +1 -1
- package/lib/orchestrator/agent-spawner.js +27 -2
- package/lib/orchestrator/bootstrap-prompt-builder.js +6 -6
- package/lib/orchestrator/orchestration-engine.js +1 -1
- package/lib/orchestrator/orchestrator-config.js +2 -2
- package/lib/repo/config-manager.js +3 -3
- package/lib/repo/handlers/init-handler.js +1 -1
- package/lib/repo/repo-manager.js +2 -2
- package/lib/runtime/business-mode-resolver.js +240 -0
- package/lib/runtime/session-store.js +207 -0
- package/lib/runtime/steering-contract.js +338 -0
- package/lib/scene-runtime/audit-emitter.js +1 -1
- package/lib/scene-runtime/binding-plugin-loader.js +3 -3
- package/lib/scene-runtime/eval-bridge.js +1 -1
- package/lib/scene-runtime/index.js +1 -1
- package/lib/scene-runtime/moqui-extractor.js +1 -1
- package/lib/scene-runtime/plan-compiler.js +1 -1
- package/lib/scene-runtime/policy-gate.js +1 -1
- package/lib/scene-runtime/runtime-executor.js +1 -1
- package/lib/scene-runtime/scene-loader.js +1 -1
- package/lib/spec/bootstrap/context-collector.js +1 -1
- package/lib/spec/pipeline/stage-adapters.js +3 -3
- package/lib/spec/pipeline/state-store.js +1 -1
- package/lib/spec-gate/policy/policy-loader.js +1 -1
- package/lib/spec-gate/rules/default-rules.js +6 -6
- package/lib/steering/adoption-config.js +1 -1
- package/lib/steering/compliance-error-reporter.js +3 -3
- package/lib/steering/context-sync-manager.js +2 -2
- package/lib/steering/index.js +1 -1
- package/lib/steering/spec-steering.js +2 -2
- package/lib/steering/steering-compliance-checker.js +1 -1
- package/lib/steering/steering-loader.js +4 -5
- package/lib/steering/steering-manager.js +4 -4
- package/lib/task/task-claimer.js +5 -5
- package/lib/task/task-status-store.js +2 -2
- package/lib/templates/content-generalizer.js +1 -1
- package/lib/templates/spec-reader.js +2 -2
- package/lib/templates/template-creator.js +1 -1
- package/lib/templates/template-exporter.js +3 -3
- package/lib/templates/template-manager.js +1 -1
- package/lib/upgrade/migration-engine.js +3 -3
- package/lib/upgrade/migrations/1.0.0-to-1.1.0.js +1 -1
- package/lib/utils/file-diff.js +6 -6
- package/lib/utils/tool-detector.js +10 -10
- package/lib/utils/validation.js +5 -5
- package/lib/value/metric-contract-loader.js +1 -1
- package/lib/version/version-manager.js +1 -1
- package/lib/watch/execution-logger.js +1 -1
- package/lib/watch/presets.js +8 -8
- package/lib/watch/watch-manager.js +2 -2
- package/lib/workspace/legacy-kiro-migrator.js +275 -0
- package/lib/workspace/multi/workspace-context-resolver.js +2 -2
- package/lib/workspace/multi/workspace-registry.js +2 -2
- package/lib/workspace/multi/workspace-state-manager.js +3 -3
- package/lib/workspace/workspace-manager.js +1 -1
- package/lib/workspace/workspace-sync.js +2 -2
- package/locales/en.json +4 -4
- package/locales/zh.json +4 -4
- package/package.json +9 -9
- package/template/{.kiro → .sce}/README.md +15 -15
- package/template/{.kiro → .sce}/hooks/check-spec-on-create.kiro.hook +2 -2
- package/template/{.kiro → .sce}/steering/CORE_PRINCIPLES.md +4 -4
- package/template/{.kiro → .sce}/steering/CURRENT_CONTEXT.md +1 -1
- package/template/{.kiro → .sce}/steering/ENVIRONMENT.md +3 -3
- package/template/{.kiro → .sce}/tools/backup_manager.py +3 -3
- package/template/{.kiro → .sce}/tools/configuration_manager.py +1 -1
- package/template/README.md +12 -12
- /package/template/{.kiro → .sce}/hooks/run-tests-on-save.kiro.hook +0 -0
- /package/template/{.kiro → .sce}/hooks/sync-tasks-on-edit.kiro.hook +0 -0
- /package/template/{.kiro → .sce}/specs/SPEC_WORKFLOW_GUIDE.md +0 -0
- /package/template/{.kiro → .sce}/steering/RULES_GUIDE.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/change-impact.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/deployment.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/feedback-response.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/migration-plan.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/monitoring.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/operations.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/rollback.md +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/tools.yaml +0 -0
- /package/template/{.kiro → .sce}/templates/operations/default/troubleshooting.md +0 -0
- /package/template/{.kiro → .sce}/tools/document_evaluator.py +0 -0
- /package/template/{.kiro → .sce}/tools/enhancement_logger.py +0 -0
- /package/template/{.kiro → .sce}/tools/error_handler.py +0 -0
- /package/template/{.kiro → .sce}/tools/improvement_identifier.py +0 -0
- /package/template/{.kiro → .sce}/tools/modification_applicator.py +0 -0
- /package/template/{.kiro → .sce}/tools/quality_gate_enforcer.py +0 -0
- /package/template/{.kiro → .sce}/tools/quality_scorer.py +0 -0
- /package/template/{.kiro → .sce}/tools/report_generator.py +0 -0
- /package/template/{.kiro → .sce}/tools/ultrawork_enhancer.py +0 -0
- /package/template/{.kiro → .sce}/tools/ultrawork_enhancer_refactored.py +0 -0
- /package/template/{.kiro → .sce}/tools/ultrawork_enhancer_v2.py +0 -0
- /package/template/{.kiro → .sce}/tools/ultrawork_enhancer_v3.py +0 -0
- /package/template/{.kiro → .sce}/tools/workflow_quality_gate.py +0 -0
package/docs/cross-tool-guide.md
CHANGED
|
@@ -90,7 +90,7 @@ sce adopt
|
|
|
90
90
|
|
|
91
91
|
### Best Practices
|
|
92
92
|
|
|
93
|
-
- Keep steering rules in `.
|
|
93
|
+
- Keep steering rules in `.sce/steering/` for automatic loading
|
|
94
94
|
- Use `CURRENT_CONTEXT.md` to maintain session context
|
|
95
95
|
- Leverage agent hooks for automated workflows
|
|
96
96
|
- Use multi-user workspaces for team collaboration
|
|
@@ -116,8 +116,8 @@ Claude Code requires manual context loading via exported files.
|
|
|
116
116
|
|
|
117
117
|
2. **Copy exported file**:
|
|
118
118
|
```bash
|
|
119
|
-
# Location: .
|
|
120
|
-
cat .
|
|
119
|
+
# Location: .sce/specs/01-00-user-authentication/context-export.md
|
|
120
|
+
cat .sce/specs/01-00-user-authentication/context-export.md
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
3. **Load into Claude Code**:
|
|
@@ -464,7 +464,7 @@ sce context export <spec> --no-design
|
|
|
464
464
|
**Solution**: Manual update required for non-SCE tools
|
|
465
465
|
```bash
|
|
466
466
|
# Edit tasks.md manually
|
|
467
|
-
vim .
|
|
467
|
+
vim .sce/specs/<spec-name>/tasks.md
|
|
468
468
|
|
|
469
469
|
# Or use sce commands
|
|
470
470
|
sce task claim <spec> <task-id>
|
|
@@ -536,10 +536,10 @@ For other tools: Manual coordination required
|
|
|
536
536
|
## Additional Resources
|
|
537
537
|
|
|
538
538
|
- [sce Documentation](../README.md)
|
|
539
|
-
- [Spec Workflow Guide](../.
|
|
539
|
+
- [Spec Workflow Guide](../.sce/specs/SPEC_WORKFLOW_GUIDE.md)
|
|
540
540
|
- [Steering Strategy Guide](./steering-strategy-guide.md)
|
|
541
|
-
- [Phase 1 Summary](../.
|
|
542
|
-
- [Phase 2 Summary](../.
|
|
541
|
+
- [Phase 1 Summary](../.sce/specs/03-00-multi-user-and-cross-tool-support/docs/phase-1-summary.md)
|
|
542
|
+
- [Phase 2 Summary](../.sce/specs/03-00-multi-user-and-cross-tool-support/docs/phase-2-summary.md)
|
|
543
543
|
|
|
544
544
|
---
|
|
545
545
|
|
package/docs/developer-guide.md
CHANGED
|
@@ -83,9 +83,9 @@ console.log(analysis.mode); // 'fresh', 'partial', or 'full'
|
|
|
83
83
|
Implements different adoption modes for various project states.
|
|
84
84
|
|
|
85
85
|
**Strategies**:
|
|
86
|
-
- `FreshAdoption`: Creates complete .
|
|
87
|
-
- `PartialAdoption`: Adds missing components to existing .
|
|
88
|
-
- `FullAdoption`: Upgrades existing complete .
|
|
86
|
+
- `FreshAdoption`: Creates complete .sce/ structure from scratch
|
|
87
|
+
- `PartialAdoption`: Adds missing components to existing .sce/
|
|
88
|
+
- `FullAdoption`: Upgrades existing complete .sce/ to current version
|
|
89
89
|
|
|
90
90
|
**Usage Example**:
|
|
91
91
|
```javascript
|
|
@@ -270,7 +270,7 @@ module.exports = {
|
|
|
270
270
|
const changes = [];
|
|
271
271
|
|
|
272
272
|
// Add new steering file
|
|
273
|
-
const steeringDir = path.join(projectPath, '.
|
|
273
|
+
const steeringDir = path.join(projectPath, '.sce', 'steering');
|
|
274
274
|
const envFile = path.join(steeringDir, 'ENVIRONMENT.md');
|
|
275
275
|
|
|
276
276
|
if (!fs.existsSync(envFile)) {
|
|
@@ -282,7 +282,7 @@ module.exports = {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
// Update version.json structure
|
|
285
|
-
const versionFile = path.join(projectPath, '.
|
|
285
|
+
const versionFile = path.join(projectPath, '.sce', 'version.json');
|
|
286
286
|
const versionData = await fs.readJson(versionFile);
|
|
287
287
|
|
|
288
288
|
if (!versionData.upgradeHistory) {
|
|
@@ -303,13 +303,13 @@ module.exports = {
|
|
|
303
303
|
const errors = [];
|
|
304
304
|
|
|
305
305
|
// Check ENVIRONMENT.md exists
|
|
306
|
-
const envFile = path.join(projectPath, '.
|
|
306
|
+
const envFile = path.join(projectPath, '.sce', 'steering', 'ENVIRONMENT.md');
|
|
307
307
|
if (!fs.existsSync(envFile)) {
|
|
308
308
|
errors.push('ENVIRONMENT.md not found');
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
// Check version.json structure
|
|
312
|
-
const versionFile = path.join(projectPath, '.
|
|
312
|
+
const versionFile = path.join(projectPath, '.sce', 'version.json');
|
|
313
313
|
const versionData = await fs.readJson(versionFile);
|
|
314
314
|
if (!versionData.upgradeHistory) {
|
|
315
315
|
errors.push('version.json missing upgradeHistory field');
|
|
@@ -609,7 +609,7 @@ test: add property tests for backup system
|
|
|
609
609
|
|
|
610
610
|
- [User Adoption Guide](./adoption-guide.md)
|
|
611
611
|
- [User Upgrade Guide](./upgrade-guide.md)
|
|
612
|
-
- [Spec Workflow Guide](../.
|
|
612
|
+
- [Spec Workflow Guide](../.sce/specs/SPEC_WORKFLOW_GUIDE.md)
|
|
613
613
|
- [GitHub Repository](https://github.com/heguangyong/scene-capability-engine)
|
|
614
614
|
- [Issue Tracker](https://github.com/heguangyong/scene-capability-engine/issues)
|
|
615
615
|
|
|
@@ -58,7 +58,7 @@ Root Violations (2)
|
|
|
58
58
|
→ Delete this file (temporary session notes)
|
|
59
59
|
|
|
60
60
|
Spec Violations (1)
|
|
61
|
-
⚠️ /project/.
|
|
61
|
+
⚠️ /project/.sce/specs/01-00-user-login/analysis-report.md
|
|
62
62
|
Artifact not in subdirectory
|
|
63
63
|
→ Move to reports/ subdirectory
|
|
64
64
|
|
|
@@ -188,7 +188,7 @@ Would delete 3 file(s):
|
|
|
188
188
|
|
|
189
189
|
🗑️ /project/MVP-PLAN.md
|
|
190
190
|
🗑️ /project/SESSION-2024-01-20.md
|
|
191
|
-
🗑️ /project/.
|
|
191
|
+
🗑️ /project/.sce/specs/01-00-user-login/TEMP-notes.md
|
|
192
192
|
|
|
193
193
|
Run without --dry-run to actually delete these files
|
|
194
194
|
```
|
|
@@ -213,7 +213,7 @@ $ sce docs cleanup --spec 01-00-user-login
|
|
|
213
213
|
🔥 Cleanup Complete
|
|
214
214
|
|
|
215
215
|
Deleted 1 file(s):
|
|
216
|
-
🗑️ .
|
|
216
|
+
🗑️ .sce/specs/01-00-user-login/TEMP-notes.md
|
|
217
217
|
|
|
218
218
|
✅ Cleanup completed successfully
|
|
219
219
|
```
|
|
@@ -263,7 +263,7 @@ $ sce docs validate --all
|
|
|
263
263
|
|
|
264
264
|
❌ 2 error(s):
|
|
265
265
|
|
|
266
|
-
❌ .
|
|
266
|
+
❌ .sce/specs/02-00-api-feature/requirements.md
|
|
267
267
|
Missing required file: requirements.md
|
|
268
268
|
→ Create requirements.md in 02-00-api-feature
|
|
269
269
|
|
|
@@ -273,7 +273,7 @@ $ sce docs validate --all
|
|
|
273
273
|
|
|
274
274
|
⚠️ 1 warning(s):
|
|
275
275
|
|
|
276
|
-
⚠️ .
|
|
276
|
+
⚠️ .sce/specs/01-00-user-login/script.js
|
|
277
277
|
Artifact not in subdirectory
|
|
278
278
|
→ Move to appropriate subdirectory (reports, scripts, tests, results, docs)
|
|
279
279
|
```
|
|
@@ -319,13 +319,13 @@ $ sce docs archive --spec 01-00-user-login --dry-run
|
|
|
319
319
|
Would move 3 file(s):
|
|
320
320
|
|
|
321
321
|
📦 analysis-report.md
|
|
322
|
-
→ .
|
|
322
|
+
→ .sce/specs/01-00-user-login/reports/analysis-report.md
|
|
323
323
|
|
|
324
324
|
📦 test-script.js
|
|
325
|
-
→ .
|
|
325
|
+
→ .sce/specs/01-00-user-login/scripts/test-script.js
|
|
326
326
|
|
|
327
327
|
📦 implementation-guide.md
|
|
328
|
-
→ .
|
|
328
|
+
→ .sce/specs/01-00-user-login/docs/implementation-guide.md
|
|
329
329
|
|
|
330
330
|
Run without --dry-run to actually move these files
|
|
331
331
|
```
|
|
@@ -415,7 +415,7 @@ Running document governance validation...
|
|
|
415
415
|
|
|
416
416
|
Found 2 violation(s):
|
|
417
417
|
• /project/TEMP-notes.md - Temporary file in root
|
|
418
|
-
• .
|
|
418
|
+
• .sce/specs/01-00-user-login/script.js - Misplaced artifact
|
|
419
419
|
|
|
420
420
|
Fix violations and try again, or use --no-verify to bypass.
|
|
421
421
|
|
|
@@ -475,7 +475,7 @@ Temporary Patterns:
|
|
|
475
475
|
• WIP-*.md
|
|
476
476
|
• MVP-*.md
|
|
477
477
|
|
|
478
|
-
Configuration file: .
|
|
478
|
+
Configuration file: .sce/config/docs.json
|
|
479
479
|
To modify: sce docs config --set <key> <value>
|
|
480
480
|
To reset: sce docs config --reset
|
|
481
481
|
```
|
|
@@ -572,14 +572,14 @@ sce docs report
|
|
|
572
572
|
- Violations over time
|
|
573
573
|
- Cleanup actions over time
|
|
574
574
|
- Recent executions with details
|
|
575
|
-
- Saved to `.
|
|
575
|
+
- Saved to `.sce/reports/document-compliance-{date}.md`
|
|
576
576
|
|
|
577
577
|
**Example:**
|
|
578
578
|
```bash
|
|
579
579
|
$ sce docs report
|
|
580
580
|
|
|
581
581
|
✅ Compliance report generated
|
|
582
|
-
Saved to: .
|
|
582
|
+
Saved to: .sce/reports/document-compliance-2024-01-24.md
|
|
583
583
|
```
|
|
584
584
|
|
|
585
585
|
**Report contents:**
|
|
@@ -761,7 +761,7 @@ sce docs config --set temporary-patterns "*-SUMMARY.md,SESSION-*.md,*-COMPLETE.m
|
|
|
761
761
|
|
|
762
762
|
### Configuration File Location
|
|
763
763
|
|
|
764
|
-
Configuration is stored in `.
|
|
764
|
+
Configuration is stored in `.sce/config/docs.json`
|
|
765
765
|
|
|
766
766
|
You can also edit this file directly:
|
|
767
767
|
|
|
@@ -784,10 +784,10 @@ See the [Troubleshooting Guide](troubleshooting.md#document-governance-issues) f
|
|
|
784
784
|
**"Permission denied" errors:**
|
|
785
785
|
```bash
|
|
786
786
|
# Check file permissions
|
|
787
|
-
ls -la .
|
|
787
|
+
ls -la .sce/
|
|
788
788
|
|
|
789
789
|
# Fix if needed
|
|
790
|
-
chmod -R u+w .
|
|
790
|
+
chmod -R u+w .sce/
|
|
791
791
|
```
|
|
792
792
|
|
|
793
793
|
**"Not a git repository" (for hooks):**
|
|
@@ -30,7 +30,7 @@ sce status
|
|
|
30
30
|
# If issues are detected, run diagnostics
|
|
31
31
|
sce doctor
|
|
32
32
|
|
|
33
|
-
# Adopt the project (creates .
|
|
33
|
+
# Adopt the project (creates .sce/ directory)
|
|
34
34
|
sce adopt
|
|
35
35
|
|
|
36
36
|
# sce is now managing your project autonomously
|
|
@@ -161,7 +161,7 @@ Run a command in the context of the current environment. Ensures the active envi
|
|
|
161
161
|
The backup system automatically:
|
|
162
162
|
- Creates timestamped backups before each environment switch
|
|
163
163
|
- Maintains up to 10 backups per target file
|
|
164
|
-
- Stores backups in `.
|
|
164
|
+
- Stores backups in `.sce/env-backups/`
|
|
165
165
|
- Automatically cleans up old backups
|
|
166
166
|
|
|
167
167
|
## Best Practices
|
|
@@ -169,11 +169,11 @@ The backup system automatically:
|
|
|
169
169
|
1. **Adopt projects with sce**: Run `sce adopt` to let sce manage your project autonomously, enabling faster AI-assisted development without constant confirmations
|
|
170
170
|
2. **Use descriptive names**: Choose clear, descriptive names for your environments
|
|
171
171
|
3. **Keep source files in version control**: Store all environment-specific configuration files in your repository
|
|
172
|
-
4. **Selective .
|
|
173
|
-
- ✅ **DO commit**: `.
|
|
174
|
-
- ❌ **DO NOT commit**: `.
|
|
172
|
+
4. **Selective .sce/ version control**: Use layered .gitignore strategy:
|
|
173
|
+
- ✅ **DO commit**: `.sce/specs/` (Spec documents), `.sce/steering/CORE_PRINCIPLES.md`, `.sce/steering/ENVIRONMENT.md`, `.sce/steering/RULES_GUIDE.md`, `.sce/tools/`, `.sce/config/`
|
|
174
|
+
- ❌ **DO NOT commit**: `.sce/steering/CURRENT_CONTEXT.md` (personal context), `.sce/environments.json` (user-specific), `.sce/backups/`, `.sce/logs/`, `.sce/reports/`
|
|
175
175
|
- **Why**: Share Spec documents and team rules, but avoid conflicts from personal state and user-specific configurations
|
|
176
|
-
5. **Share environment templates**: Commit environment configuration JSON files (e.g., `env-local.json`, `env-production.json`) to your repository root or a `config/` directory, not in `.
|
|
176
|
+
5. **Share environment templates**: Commit environment configuration JSON files (e.g., `env-local.json`, `env-production.json`) to your repository root or a `config/` directory, not in `.sce/`
|
|
177
177
|
6. **Test switches**: Test environment switches in a safe environment before using in production
|
|
178
178
|
7. **Regular backups**: The system creates automatic backups, but consider additional backup strategies for critical configurations
|
|
179
179
|
8. **Document verification**: Add verification rules to catch configuration errors early
|
|
@@ -165,7 +165,7 @@ program
|
|
|
165
165
|
|
|
166
166
|
```javascript
|
|
167
167
|
// Spec not found
|
|
168
|
-
throw new Error(`Spec "${specName}" not found in .
|
|
168
|
+
throw new Error(`Spec "${specName}" not found in .sce/specs/`);
|
|
169
169
|
|
|
170
170
|
// Invalid format
|
|
171
171
|
throw new Error(`Invalid format "${format}". Use: json, md, or html`);
|
package/docs/faq.md
CHANGED
|
@@ -155,13 +155,13 @@ sce context export 01-00-user-login
|
|
|
155
155
|
3. **Copy to clipboard:**
|
|
156
156
|
```bash
|
|
157
157
|
# macOS
|
|
158
|
-
cat .
|
|
158
|
+
cat .sce/specs/01-00-user-login/context-export.md | pbcopy
|
|
159
159
|
|
|
160
160
|
# Windows
|
|
161
|
-
type .
|
|
161
|
+
type .sce\specs\01-00-user-login\context-export.md | clip
|
|
162
162
|
|
|
163
163
|
# Linux
|
|
164
|
-
cat .
|
|
164
|
+
cat .sce/specs/01-00-user-login/context-export.md | xclip -selection clipboard
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
4. **Paste into Claude:**
|
|
@@ -187,8 +187,8 @@ sce context export 01-00-user-login
|
|
|
187
187
|
|
|
188
188
|
**Approach 2: File references**
|
|
189
189
|
```javascript
|
|
190
|
-
// See requirements: .
|
|
191
|
-
// See design: .
|
|
190
|
+
// See requirements: .sce/specs/01-00-user-login/requirements.md
|
|
191
|
+
// See design: .sce/specs/01-00-user-login/design.md
|
|
192
192
|
|
|
193
193
|
class AuthController {
|
|
194
194
|
// Copilot reads nearby files and suggests code
|
|
@@ -301,7 +301,7 @@ See [Integration Modes Guide](integration-modes.md) for details.
|
|
|
301
301
|
|
|
302
302
|
```bash
|
|
303
303
|
# Edit any Spec file
|
|
304
|
-
vim .
|
|
304
|
+
vim .sce/specs/01-00-user-login/design.md
|
|
305
305
|
|
|
306
306
|
# If using watch mode, context auto-updates
|
|
307
307
|
# If using manual export, re-export:
|
|
@@ -438,16 +438,16 @@ sce spec bootstrap --name 02-00-refactor-auth-module --non-interactive
|
|
|
438
438
|
|
|
439
439
|
### Can I customize Spec templates?
|
|
440
440
|
|
|
441
|
-
**Yes!** sce uses templates from `.
|
|
441
|
+
**Yes!** sce uses templates from `.sce/templates/`:
|
|
442
442
|
|
|
443
443
|
```bash
|
|
444
444
|
# View current templates
|
|
445
|
-
ls .
|
|
445
|
+
ls .sce/templates/
|
|
446
446
|
|
|
447
447
|
# Edit templates
|
|
448
|
-
vim .
|
|
449
|
-
vim .
|
|
450
|
-
vim .
|
|
448
|
+
vim .sce/templates/requirements.md
|
|
449
|
+
vim .sce/templates/design.md
|
|
450
|
+
vim .sce/templates/tasks.md
|
|
451
451
|
```
|
|
452
452
|
|
|
453
453
|
**Example custom template:**
|
|
@@ -486,7 +486,7 @@ sce spec bootstrap --name 01-00-feature-b --non-interactive
|
|
|
486
486
|
```
|
|
487
487
|
|
|
488
488
|
**Each project has:**
|
|
489
|
-
- Own `.
|
|
489
|
+
- Own `.sce/` directory
|
|
490
490
|
- Own `sce.json` config
|
|
491
491
|
- Own Specs
|
|
492
492
|
- Own templates
|
|
@@ -499,7 +499,7 @@ sce spec bootstrap --name 01-00-feature-b --non-interactive
|
|
|
499
499
|
|
|
500
500
|
**Via git:**
|
|
501
501
|
```bash
|
|
502
|
-
git add .
|
|
502
|
+
git add .sce/specs/01-00-user-login/
|
|
503
503
|
git commit -m "Add user login Spec"
|
|
504
504
|
git push
|
|
505
505
|
```
|
|
@@ -61,9 +61,9 @@ External handoff projects should provide:
|
|
|
61
61
|
|
|
62
62
|
Recommended evidence files before `handoff run`:
|
|
63
63
|
|
|
64
|
-
- `.
|
|
65
|
-
- `.
|
|
66
|
-
- `.
|
|
64
|
+
- `.sce/reports/release-evidence/moqui-template-baseline.json`
|
|
65
|
+
- `.sce/reports/handoff-capability-matrix.json` or `.md`
|
|
66
|
+
- `.sce/reports/release-evidence/moqui-lexicon-audit.json`
|
|
67
67
|
|
|
68
68
|
## Override Rules
|
|
69
69
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mode": "moqui-template-baseline",
|
|
3
3
|
"generated_at": "2026-02-17T15:29:22.909Z",
|
|
4
|
-
"template_root": ".
|
|
4
|
+
"template_root": ".sce\\templates\\scene-packages",
|
|
5
5
|
"filter": {
|
|
6
6
|
"include_all": false,
|
|
7
7
|
"match": "(moqui|erp)"
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"templates": [
|
|
23
23
|
{
|
|
24
24
|
"template_id": "sce.scene--erp-inventory-reserve-adjust--0.1.0",
|
|
25
|
-
"template_path": ".
|
|
26
|
-
"contract_path": ".
|
|
25
|
+
"template_path": ".sce\\templates\\scene-packages\\sce.scene--erp-inventory-reserve-adjust--0.1.0",
|
|
26
|
+
"contract_path": ".sce\\templates\\scene-packages\\sce.scene--erp-inventory-reserve-adjust--0.1.0\\scene-package.json",
|
|
27
27
|
"ontology": {
|
|
28
28
|
"valid": true,
|
|
29
29
|
"error_count": 0
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"template_id": "sce.scene--erp-order-fulfillment-workflow--0.1.0",
|
|
69
|
-
"template_path": ".
|
|
70
|
-
"contract_path": ".
|
|
69
|
+
"template_path": ".sce\\templates\\scene-packages\\sce.scene--erp-order-fulfillment-workflow--0.1.0",
|
|
70
|
+
"contract_path": ".sce\\templates\\scene-packages\\sce.scene--erp-order-fulfillment-workflow--0.1.0\\scene-package.json",
|
|
71
71
|
"ontology": {
|
|
72
72
|
"valid": true,
|
|
73
73
|
"error_count": 0
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"template_id": "sce.scene--erp-order-query-read--0.1.0",
|
|
113
|
-
"template_path": ".
|
|
114
|
-
"contract_path": ".
|
|
113
|
+
"template_path": ".sce\\templates\\scene-packages\\sce.scene--erp-order-query-read--0.1.0",
|
|
114
|
+
"contract_path": ".sce\\templates\\scene-packages\\sce.scene--erp-order-query-read--0.1.0\\scene-package.json",
|
|
115
115
|
"ontology": {
|
|
116
116
|
"valid": true,
|
|
117
117
|
"error_count": 0
|
|
@@ -61,7 +61,7 @@ sequenceDiagram
|
|
|
61
61
|
You: "Implement the user login feature"
|
|
62
62
|
|
|
63
63
|
SCE AI:
|
|
64
|
-
[Automatically reads .
|
|
64
|
+
[Automatically reads .sce/specs/01-00-user-login/]
|
|
65
65
|
[Understands requirements and design]
|
|
66
66
|
[Generates code]
|
|
67
67
|
[Updates tasks.md automatically]
|
|
@@ -142,7 +142,7 @@ AI Tool:
|
|
|
142
142
|
```bash
|
|
143
143
|
# You run this once
|
|
144
144
|
sce context export 01-00-user-login
|
|
145
|
-
cat .
|
|
145
|
+
cat .sce/specs/01-00-user-login/context-export.md | pbcopy
|
|
146
146
|
|
|
147
147
|
# Then paste into AI tool
|
|
148
148
|
You: "Here's my Spec context: [paste]
|
|
@@ -151,7 +151,7 @@ You: "Here's my Spec context: [paste]
|
|
|
151
151
|
AI: [Generates code based on your Spec]
|
|
152
152
|
|
|
153
153
|
# You update tasks manually
|
|
154
|
-
# Edit .
|
|
154
|
+
# Edit .sce/specs/01-00-user-login/tasks.md
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
### Advantages
|
|
@@ -174,7 +174,7 @@ AI: [Generates code based on your Spec]
|
|
|
174
174
|
|
|
175
175
|
```bash
|
|
176
176
|
# Add to ~/.bashrc or ~/.zshrc
|
|
177
|
-
alias sce-clip='sce context export $1 && cat .
|
|
177
|
+
alias sce-clip='sce context export $1 && cat .sce/specs/$1/context-export.md | pbcopy && echo "✅ Context copied to clipboard"'
|
|
178
178
|
|
|
179
179
|
# Usage
|
|
180
180
|
sce-clip 01-00-user-login
|
|
@@ -247,7 +247,7 @@ sce watch status
|
|
|
247
247
|
Expected output:
|
|
248
248
|
```
|
|
249
249
|
Watch Mode: Active
|
|
250
|
-
Watching: .
|
|
250
|
+
Watching: .sce/specs/**/*.md
|
|
251
251
|
Actions: context-export
|
|
252
252
|
Last execution: 2 minutes ago
|
|
253
253
|
```
|
|
@@ -258,7 +258,7 @@ Last execution: 2 minutes ago
|
|
|
258
258
|
|
|
259
259
|
1. **Edit your Spec** (e.g., add a new requirement)
|
|
260
260
|
```bash
|
|
261
|
-
# Edit .
|
|
261
|
+
# Edit .sce/specs/01-00-user-login/requirements.md
|
|
262
262
|
```
|
|
263
263
|
|
|
264
264
|
2. **sce automatically detects the change**
|
|
@@ -271,7 +271,7 @@ Last execution: 2 minutes ago
|
|
|
271
271
|
3. **Use updated context immediately**
|
|
272
272
|
```bash
|
|
273
273
|
# Context is already up-to-date
|
|
274
|
-
cat .
|
|
274
|
+
cat .sce/specs/01-00-user-login/context-export.md | pbcopy
|
|
275
275
|
```
|
|
276
276
|
|
|
277
277
|
### Advantages
|
|
@@ -293,9 +293,9 @@ Last execution: 2 minutes ago
|
|
|
293
293
|
```json
|
|
294
294
|
{
|
|
295
295
|
"patterns": [
|
|
296
|
-
".
|
|
297
|
-
".
|
|
298
|
-
".
|
|
296
|
+
".sce/specs/**/requirements.md",
|
|
297
|
+
".sce/specs/**/design.md",
|
|
298
|
+
".sce/specs/**/tasks.md"
|
|
299
299
|
],
|
|
300
300
|
"actions": [
|
|
301
301
|
{
|
|
@@ -375,7 +375,7 @@ sce watch start
|
|
|
375
375
|
# Terminal 2: Work normally
|
|
376
376
|
# Edit Specs, context auto-updates
|
|
377
377
|
# Copy latest context when needed
|
|
378
|
-
cat .
|
|
378
|
+
cat .sce/specs/01-00-user-login/context-export.md | pbcopy
|
|
379
379
|
```
|
|
380
380
|
|
|
381
381
|
**Benefits:**
|
|
@@ -466,7 +466,7 @@ sequenceDiagram
|
|
|
466
466
|
### Native Integration Issues
|
|
467
467
|
|
|
468
468
|
**Problem:** AI doesn't see Spec files
|
|
469
|
-
**Solution:** Ensure `.
|
|
469
|
+
**Solution:** Ensure `.sce/specs/` directory exists and has correct permissions
|
|
470
470
|
|
|
471
471
|
### Manual Export Issues
|
|
472
472
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
AI:好的,让我先查看项目的 Spec
|
|
47
47
|
[自动执行] sce context export 01-00-user-login
|
|
48
|
-
[读取文件] .
|
|
48
|
+
[读取文件] .sce/specs/01-00-user-login/context-export.md
|
|
49
49
|
|
|
50
50
|
我看到设计文档中定义了 AuthController...
|
|
51
51
|
[生成代码]
|
|
@@ -90,7 +90,7 @@ AI:好的,让我先查看项目的 Spec
|
|
|
90
90
|
sce context export 01-00-user-login
|
|
91
91
|
|
|
92
92
|
# 2. 复制内容
|
|
93
|
-
cat .
|
|
93
|
+
cat .sce/specs/01-00-user-login/context-export.md | pbcopy
|
|
94
94
|
|
|
95
95
|
# 3. 粘贴到 Claude/ChatGPT
|
|
96
96
|
|
|
@@ -142,9 +142,9 @@ sce watch start
|
|
|
142
142
|
```json
|
|
143
143
|
{
|
|
144
144
|
"patterns": [
|
|
145
|
-
".
|
|
146
|
-
".
|
|
147
|
-
".
|
|
145
|
+
".sce/specs/**/requirements.md",
|
|
146
|
+
".sce/specs/**/design.md",
|
|
147
|
+
".sce/specs/**/tasks.md"
|
|
148
148
|
],
|
|
149
149
|
"actions": [
|
|
150
150
|
{
|
|
@@ -202,7 +202,7 @@ sce watch start
|
|
|
202
202
|
|
|
203
203
|
```bash
|
|
204
204
|
# ~/.bashrc 或 ~/.zshrc
|
|
205
|
-
alias sce-clip='sce context export $1 && cat .
|
|
205
|
+
alias sce-clip='sce context export $1 && cat .sce/specs/$1/context-export.md | pbcopy && echo "✅ 已复制到剪贴板"'
|
|
206
206
|
|
|
207
207
|
# 使用
|
|
208
208
|
sce-clip 01-00-user-login
|
|
@@ -219,13 +219,13 @@ sce-clip 01-00-user-login
|
|
|
219
219
|
|
|
220
220
|
项目使用 sce 管理 Spec。实现功能前:
|
|
221
221
|
|
|
222
|
-
1. 查看 `.
|
|
222
|
+
1. 查看 `.sce/specs/<spec-name>/design.md`
|
|
223
223
|
2. 按照设计实现
|
|
224
|
-
3. 更新 `.
|
|
224
|
+
3. 更新 `.sce/specs/<spec-name>/tasks.md`
|
|
225
225
|
|
|
226
226
|
示例:
|
|
227
|
-
- 设计文档:`.
|
|
228
|
-
- 任务列表:`.
|
|
227
|
+
- 设计文档:`.sce/specs/01-00-user-login/design.md`
|
|
228
|
+
- 任务列表:`.sce/specs/01-00-user-login/tasks.md`
|
|
229
229
|
```
|
|
230
230
|
|
|
231
231
|
---
|
|
@@ -274,7 +274,7 @@ sce serve
|
|
|
274
274
|
- 做成插件会限制在特定工具
|
|
275
275
|
- CLI 工具更灵活,可以被任何工具调用
|
|
276
276
|
|
|
277
|
-
### Q: 能否让 AI 工具自动读取 .
|
|
277
|
+
### Q: 能否让 AI 工具自动读取 .sce/ 目录?
|
|
278
278
|
|
|
279
279
|
**A**:
|
|
280
280
|
- 部分工具支持(Cursor、Copilot)
|
|
@@ -63,7 +63,7 @@ Run matrix regression gate in release pipeline (configurable):
|
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
65
|
node scripts/matrix-regression-gate.js \
|
|
66
|
-
--baseline .
|
|
66
|
+
--baseline .sce/reports/release-evidence/moqui-template-baseline.json \
|
|
67
67
|
--max-regressions 0 \
|
|
68
68
|
--enforce \
|
|
69
69
|
--json
|
|
@@ -82,20 +82,20 @@ Security baseline:
|
|
|
82
82
|
|
|
83
83
|
## 5. Evidence Artifacts (Must Keep)
|
|
84
84
|
|
|
85
|
-
- `.
|
|
86
|
-
- `.
|
|
87
|
-
- `.
|
|
88
|
-
- `.
|
|
89
|
-
- `.
|
|
90
|
-
- `.
|
|
91
|
-
- `.
|
|
92
|
-
- `.
|
|
93
|
-
- `.
|
|
94
|
-
- `.
|
|
95
|
-
- `.
|
|
96
|
-
- `.
|
|
97
|
-
- `.
|
|
98
|
-
- `.
|
|
85
|
+
- `.sce/reports/interactive-governance-report.json`
|
|
86
|
+
- `.sce/reports/interactive-governance-report.md`
|
|
87
|
+
- `.sce/reports/interactive-matrix-signals.jsonl`
|
|
88
|
+
- `.sce/reports/release-evidence/moqui-template-baseline.json`
|
|
89
|
+
- `.sce/reports/release-evidence/matrix-regression-gate-<tag>.json`
|
|
90
|
+
- `.sce/reports/release-evidence/matrix-remediation-plan-<tag>.json`
|
|
91
|
+
- `.sce/reports/release-evidence/matrix-remediation-<tag>.lines`
|
|
92
|
+
- `.sce/reports/release-evidence/matrix-remediation-high-<tag>.lines`
|
|
93
|
+
- `.sce/reports/release-evidence/matrix-remediation-medium-<tag>.lines`
|
|
94
|
+
- `.sce/reports/release-evidence/matrix-remediation-goals-high-<tag>.json`
|
|
95
|
+
- `.sce/reports/release-evidence/matrix-remediation-goals-medium-<tag>.json`
|
|
96
|
+
- `.sce/reports/release-evidence/matrix-remediation-phased-plan-<tag>.json`
|
|
97
|
+
- `.sce/reports/release-evidence/weekly-ops-summary-<tag>.json`
|
|
98
|
+
- `.sce/reports/release-evidence/weekly-ops-summary-<tag>.md`
|
|
99
99
|
|
|
100
100
|
## 6. Pass Criteria
|
|
101
101
|
|
|
@@ -110,14 +110,14 @@ When matrix regressions are detected:
|
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
112
|
node scripts/moqui-matrix-remediation-queue.js \
|
|
113
|
-
--baseline .
|
|
114
|
-
--lines-out .
|
|
115
|
-
--batch-json-out .
|
|
116
|
-
--commands-out .
|
|
113
|
+
--baseline .sce/reports/release-evidence/moqui-template-baseline.json \
|
|
114
|
+
--lines-out .sce/auto/matrix-remediation.lines \
|
|
115
|
+
--batch-json-out .sce/auto/matrix-remediation.goals.json \
|
|
116
|
+
--commands-out .sce/reports/release-evidence/matrix-remediation-commands.md \
|
|
117
117
|
--json
|
|
118
118
|
|
|
119
119
|
# anti-429 phased mode (recommended default)
|
|
120
|
-
sce auto close-loop-batch .
|
|
120
|
+
sce auto close-loop-batch .sce/auto/matrix-remediation.goals.high.json \
|
|
121
121
|
--format json \
|
|
122
122
|
--batch-parallel 1 \
|
|
123
123
|
--batch-agent-budget 2 \
|
|
@@ -125,7 +125,7 @@ sce auto close-loop-batch .kiro/auto/matrix-remediation.goals.high.json \
|
|
|
125
125
|
--batch-retry-max-rounds 3 \
|
|
126
126
|
--json
|
|
127
127
|
sleep 30
|
|
128
|
-
sce auto close-loop-batch .
|
|
128
|
+
sce auto close-loop-batch .sce/auto/matrix-remediation.goals.medium.json \
|
|
129
129
|
--format json \
|
|
130
130
|
--batch-parallel 1 \
|
|
131
131
|
--batch-agent-budget 2 \
|
|
@@ -138,11 +138,11 @@ npm run run:matrix-remediation-phased -- --json
|
|
|
138
138
|
|
|
139
139
|
# zero-prep one-shot (prepare from baseline + run phased)
|
|
140
140
|
node scripts/moqui-matrix-remediation-phased-runner.js \
|
|
141
|
-
--baseline .
|
|
141
|
+
--baseline .sce/reports/release-evidence/moqui-template-baseline.json \
|
|
142
142
|
--json
|
|
143
143
|
npm run run:matrix-remediation-from-baseline -- --json
|
|
144
144
|
|
|
145
145
|
# fallback
|
|
146
|
-
sce auto close-loop-batch .
|
|
147
|
-
sce auto close-loop-batch .
|
|
146
|
+
sce auto close-loop-batch .sce/auto/matrix-remediation.lines --json
|
|
147
|
+
sce auto close-loop-batch .sce/auto/matrix-remediation.goals.json --format json --json
|
|
148
148
|
```
|