scene-capability-engine 3.6.48 → 3.6.50

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.
@@ -20,7 +20,7 @@ This project uses **Spec-driven development** - a structured approach where:
20
20
 
21
21
  ---
22
22
 
23
- ## 🚀 sce Capabilities (v1.45.x)
23
+ ## 🚀 sce Capabilities
24
24
 
25
25
  **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.
26
26
 
@@ -63,7 +63,7 @@ This project uses **Spec-driven development** - a structured approach where:
63
63
  - Master Spec + Sub-Specs with dependency management
64
64
  - Interface contracts for cross-Spec compatibility
65
65
 
66
- ### Multi-Agent Parallel Coordination (v1.43.0)
66
+ ### Multi-Agent Parallel Coordination
67
67
  When multiple AI agents work on the same project simultaneously:
68
68
  - **AgentRegistry** (`lib/collab`) — Agent lifecycle with heartbeat monitoring
69
69
  - **TaskLockManager** (`lib/lock`) — File-based task mutual exclusion
@@ -71,11 +71,11 @@ When multiple AI agents work on the same project simultaneously:
71
71
  - **SteeringFileLock** (`lib/lock`) — Steering file write serialization
72
72
  - **MergeCoordinator** (`lib/collab`) — Git branch isolation per agent
73
73
  - **Coordinator** (`lib/collab`) — Central task assignment (optional)
74
- - Config: `.sce/config/multi-agent.json` (`enabled: true` to activate)
75
- - All components are no-ops in single-agent mode (zero overhead)
74
+ - Config: `.sce/config/multi-agent.json` (default `enabled: true`; set `enabled: false` to opt out)
75
+ - If a project opts out with `enabled: false`, all components fall back to single-agent no-op behavior
76
76
  - See `docs/multi-agent-coordination-guide.md` for full API reference
77
77
 
78
- ### Spec-Level Steering & Context Sync (v1.44.0)
78
+ ### Spec-Level Steering & Context Sync
79
79
  Fourth steering layer (L4) and Spec lifecycle coordination for multi-agent scenarios:
80
80
  - **SpecSteering** (`lib/steering`) — Per-Spec `steering.md` CRUD with template generation, Markdown ↔ structured object roundtrip
81
81
  - **SteeringLoader** (`lib/steering`) — Unified L1-L4 four-layer steering loader with merged output
@@ -83,7 +83,7 @@ Fourth steering layer (L4) and Spec lifecycle coordination for multi-agent scena
83
83
  - **SpecLifecycleManager** (`lib/collab`) — Spec state machine (planned → assigned → in-progress → completed → released) with auto-completion detection
84
84
  - **SyncBarrier** (`lib/collab`) — Agent Spec-switch synchronization barrier (uncommitted changes check, steering reload)
85
85
  - **Coordinator Integration** — `completeTask` auto-checks Spec completion; `assignTask` runs SyncBarrier
86
- - All components are no-ops in single-agent mode (zero overhead)
86
+ - If needed, a project can still opt out by setting `enabled: false`, which restores single-agent no-op behavior
87
87
  - See `docs/multi-agent-coordination-guide.md` for full API reference
88
88
 
89
89
  ### Autonomous Control
@@ -92,7 +92,7 @@ Fourth steering layer (L4) and Spec lifecycle coordination for multi-agent scena
92
92
  - `sce auto status/resume/stop/config` — Manage autonomous execution
93
93
  - Intelligent error recovery, checkpoint system, learning from history
94
94
 
95
- ### Agent Orchestrator — Multi-Agent Spec Execution (v1.45.0)
95
+ ### Agent Orchestrator — Multi-Agent Spec Execution
96
96
  Automate parallel Spec execution via Codex CLI sub-agents (replaces manual multi-terminal workflow):
97
97
  - `sce orchestrate run --specs "spec-a,spec-b,spec-c" --max-parallel 3` — Start multi-agent orchestration
98
98
  - `sce orchestrate status` — View orchestration progress (per-Spec status, overall state)
@@ -151,7 +151,7 @@ Look in .sce/specs/ directory
151
151
 
152
152
  ### When Working in Multi-Agent Mode
153
153
 
154
- If `.sce/config/multi-agent.json` exists with `enabled: true`:
154
+ By default `.sce/config/multi-agent.json` is provisioned with `enabled: true`:
155
155
  1. Register with AgentRegistry before starting work
156
156
  2. Acquire task locks before modifying any task
157
157
  3. Use TaskStatusStore for concurrent-safe tasks.md updates
@@ -243,6 +243,6 @@ A Spec is a complete feature definition with three parts:
243
243
  ---
244
244
 
245
245
  **Project Type**: Spec-driven development
246
- **sce Version**: 1.44.x
247
- **Last Updated**: 2026-02-12
246
+ **sce Version**: 3.6.50
247
+ **Last Updated**: 2026-03-14
248
248
  **Purpose**: Guide AI tools to work effectively with this project
@@ -0,0 +1,8 @@
1
+ {
2
+ "enabled": true,
3
+ "heartbeatIntervalMs": 60000,
4
+ "heartbeatTimeoutMs": 180000,
5
+ "coordinatorEnabled": false,
6
+ "maxRetries": 5,
7
+ "retryBaseDelayMs": 100
8
+ }
@@ -112,6 +112,17 @@
112
112
  "max_direct_fix_rounds_before_debug": 2,
113
113
  "forbid_bypass_workarounds": true
114
114
  },
115
+ "collaboration": {
116
+ "multi_user_mode": true,
117
+ "multi_agent": {
118
+ "enabled": true,
119
+ "heartbeatIntervalMs": 60000,
120
+ "heartbeatTimeoutMs": 180000,
121
+ "coordinatorEnabled": false,
122
+ "maxRetries": 5,
123
+ "retryBaseDelayMs": 100
124
+ }
125
+ },
115
126
  "migration_policy": {
116
127
  "legacy_kiro_supported": false,
117
128
  "require_manual_legacy_migration_confirmation": true
@@ -58,3 +58,11 @@
58
58
  - 前端调用后端 API 不匹配时,默认以后端现有接口契约为准。
59
59
  - 除非明确要求新建或修改后端接口,否则不要为了迁就前端错误调用去改后端。
60
60
  - 优先调整前端请求、映射、类型和兼容处理,使其与后端接口一致。
61
+
62
+ ## 11. 单文件规模过大时必须触发重构评估
63
+
64
+ - SCE 应先评估当前项目的代码规模分布,再给出项目级的重构参考节点;不要把一个固定阈值生硬套到所有项目。
65
+ - 如果项目还没有自己的阈值,默认参考源文件 `2000 / 4000 / 10000` 行三档触发:分别对应“必须评估”“必须发起重构收敛”“进入红线区”。
66
+ - 达到项目级或默认阈值后,继续加功能前先评估是否应拆分职责;超过重构/红线阈值时,优先做拆分和降复杂度,而不是继续堆代码。
67
+ - 项目早期应更早触发评估,后期也要按周或发布前复评,避免阈值长期失效。
68
+ - 行数阈值只是强触发信号;如果文件虽然没到阈值,但职责混杂、测试困难、理解成本失控,也应提前重构。