scene-capability-engine 3.6.62 → 3.6.63

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 CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.6.63] - 2026-03-21
11
+
12
+ ### Fixed
13
+ - Relaxed `audit:steering` so a clean-room checkout no longer hard-fails release validation just because the gitignored personal file `.sce/steering/CURRENT_CONTEXT.md` is absent.
14
+
10
15
  ## [3.6.62] - 2026-03-21
11
16
 
12
17
  ### Removed
package/README.md CHANGED
@@ -230,5 +230,5 @@ MIT. See [LICENSE](LICENSE).
230
230
 
231
231
  ---
232
232
 
233
- **Version**: 3.6.62
233
+ **Version**: 3.6.63
234
234
  **Last Updated**: 2026-03-21
package/README.zh.md CHANGED
@@ -235,5 +235,5 @@ MIT,见 [LICENSE](LICENSE)。
235
235
 
236
236
  ---
237
237
 
238
- **版本**:3.6.62
238
+ **版本**:3.6.63
239
239
  **最后更新**:2026-03-21
@@ -9,6 +9,7 @@ This directory stores release-facing documents:
9
9
  ## Archived Versions
10
10
 
11
11
  - [Release checklist](../release-checklist.md)
12
+ - [v3.6.63 release notes](./v3.6.63.md)
12
13
  - [v3.6.62 release notes](./v3.6.62.md)
13
14
  - [v3.6.61 release notes](./v3.6.61.md)
14
15
  - [v3.6.60 release notes](./v3.6.60.md)
@@ -0,0 +1,34 @@
1
+ # v3.6.63 Release Notes
2
+
3
+ Release date: 2026-03-21
4
+
5
+ ## Highlights
6
+
7
+ - Fixed a clean-room release blocker in `audit:steering`: the gitignored personal file `.sce/steering/CURRENT_CONTEXT.md` is now treated as optional when absent in a fresh checkout.
8
+ - Added unit coverage so steering governance still enforces stable layers while no longer requiring a local-only context file to exist in Git-tracked release environments.
9
+ - Kept the `v3.6.62` OpenHands cleanup intact; this patch only repairs the release path uncovered while publishing that cleanup.
10
+
11
+ ## Validation
12
+
13
+ - `npx jest tests/unit/scripts/steering-content-audit.test.js --runInBand`
14
+ - `npx jest tests/unit/commands/studio.test.js --runInBand`
15
+ - `npm run test:release`
16
+ - `npm run audit:release-docs`
17
+ - `npm run audit:steering`
18
+ - `npm run test:skip-audit`
19
+ - `npm run test:sce-tracking`
20
+ - `npm run gate:npm-runtime-assets`
21
+ - `npm run test:brand-consistency`
22
+ - `npm run audit:clarification-first`
23
+ - `npm run audit:magicball-engineering-contract`
24
+ - `npm run audit:magicball-project-contract`
25
+ - `npm run gate:collab-governance`
26
+ - `npm run gate:errorbook-registry-health`
27
+ - `npm run gate:errorbook-release`
28
+ - `npm run report:interactive-governance -- --fail-on-alert`
29
+ - `npm pack --dry-run`
30
+
31
+ ## Release Notes
32
+
33
+ - Use `v3.6.63` if you need the OpenHands cleanup from `v3.6.62` plus a clean-room-safe steering audit during publish.
34
+ - This fix preserves the co-work rule that `CURRENT_CONTEXT.md` remains local/personal state and should not be force-committed just to satisfy release automation.
@@ -9,6 +9,7 @@
9
9
  ## 历史版本归档
10
10
 
11
11
  - [发布检查清单](../release-checklist.md)
12
+ - [v3.6.63 发布说明](./v3.6.63.md)
12
13
  - [v3.6.62 发布说明](./v3.6.62.md)
13
14
  - [v3.6.61 发布说明](./v3.6.61.md)
14
15
  - [v3.6.60 发布说明](./v3.6.60.md)
@@ -0,0 +1,34 @@
1
+ # v3.6.63 发布说明
2
+
3
+ 发布日期:2026-03-21
4
+
5
+ ## 重点变化
6
+
7
+ - 修复了 `audit:steering` 的 clean-room 发布阻断问题:在全新克隆中,如果被 `.gitignore` 排除的个人态文件 `.sce/steering/CURRENT_CONTEXT.md` 不存在,不再直接把发布校验打成失败。
8
+ - 增加了对应单测,确保 steering 治理仍然会继续严格检查稳定层文件,但不再强迫 Git 跟踪环境必须带着本地个人上下文文件。
9
+ - `v3.6.62` 的 OpenHands 清理内容保持不变;本补丁只修复发布那条线在真实发布过程中暴露出的流程缺陷。
10
+
11
+ ## 验证
12
+
13
+ - `npx jest tests/unit/scripts/steering-content-audit.test.js --runInBand`
14
+ - `npx jest tests/unit/commands/studio.test.js --runInBand`
15
+ - `npm run test:release`
16
+ - `npm run audit:release-docs`
17
+ - `npm run audit:steering`
18
+ - `npm run test:skip-audit`
19
+ - `npm run test:sce-tracking`
20
+ - `npm run gate:npm-runtime-assets`
21
+ - `npm run test:brand-consistency`
22
+ - `npm run audit:clarification-first`
23
+ - `npm run audit:magicball-engineering-contract`
24
+ - `npm run audit:magicball-project-contract`
25
+ - `npm run gate:collab-governance`
26
+ - `npm run gate:errorbook-registry-health`
27
+ - `npm run gate:errorbook-release`
28
+ - `npm run report:interactive-governance -- --fail-on-alert`
29
+ - `npm pack --dry-run`
30
+
31
+ ## 发布说明
32
+
33
+ - 如果你既需要 `v3.6.62` 的 OpenHands 清理,又需要 clean-room 发布环境下可通过的 steering 审计,请使用 `v3.6.63`。
34
+ - 该修复保持 co-work 规则不变:`CURRENT_CONTEXT.md` 依然属于本地个人态文件,不应为了过发布门禁而被强制提交到 Git。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scene-capability-engine",
3
- "version": "3.6.62",
3
+ "version": "3.6.63",
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": {
@@ -186,6 +186,10 @@ function pushViolation(violations, severity, file, rule, message, suggestion) {
186
186
  });
187
187
  }
188
188
 
189
+ function isOptionalCurrentContextFile(fileName) {
190
+ return fileName === 'CURRENT_CONTEXT.md';
191
+ }
192
+
189
193
  function auditSteeringContent(options = {}) {
190
194
  const projectPath = path.resolve(options.projectPath || process.cwd());
191
195
  const packageJsonPath = path.join(projectPath, 'package.json');
@@ -206,6 +210,17 @@ function auditSteeringContent(options = {}) {
206
210
  for (const fileName of fileNames) {
207
211
  const absolutePath = path.join(steeringDir, fileName);
208
212
  if (!fs.existsSync(absolutePath)) {
213
+ if (isOptionalCurrentContextFile(fileName)) {
214
+ pushViolation(
215
+ violations,
216
+ 'warning',
217
+ fileName,
218
+ 'missing_optional_context',
219
+ `${fileName} is absent in this checkout; clean-room repositories may omit personal current context until active local work begins.`,
220
+ 'Create CURRENT_CONTEXT.md locally when active work starts, but keep it out of Git-tracked release state.'
221
+ );
222
+ continue;
223
+ }
209
224
  pushViolation(
210
225
  violations,
211
226
  'error',
@@ -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**: 3.6.62
246
+ **sce Version**: 3.6.63
247
247
  **Last Updated**: 2026-03-21
248
248
  **Purpose**: Guide AI tools to work effectively with this project