scene-capability-engine 3.6.4 → 3.6.7

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,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.6.7] - 2026-03-05
11
+
12
+ ### Fixed
13
+ - `state-migration-reconciliation-gate` now treats `blocking` checks as advisory by default and only fails when `--fail-on-blocking` is explicitly set.
14
+ - Release workflow reconciliation step now adds `--fail-on-blocking` only in enforce mode, preventing advisory mode from failing npm publish.
15
+
16
+ ## [3.6.6] - 2026-03-05
17
+
18
+ ### Added
19
+ - Stage-4 SQLite migration components for release evidence indexes:
20
+ - `release.evidence-runs-index` (`.sce/reports/release-evidence/handoff-runs.json`)
21
+ - `release.gate-history-index` (`.sce/reports/release-evidence/release-gate-history.json`)
22
+ - New SQLite index tables in state store:
23
+ - `release_evidence_run_registry`
24
+ - `release_gate_history_registry`
25
+ - New `SceStateStore` APIs:
26
+ - `upsert/listReleaseEvidenceRunRecords`
27
+ - `upsert/listReleaseGateHistoryRecords`
28
+ - Release workflow gate integration:
29
+ - new step `state_migration_reconciliation`
30
+ - new release asset `.sce/reports/release-evidence/state-migration-reconciliation-<tag>.json`
31
+
32
+ ### Changed
33
+ - `sce state plan/doctor/migrate/export` now includes release-evidence components in migration scope and parity summaries.
34
+
35
+ ## [3.6.5] - 2026-03-05
36
+
37
+ ### Added
38
+ - Stage-2 SQLite migration components for Errorbook indexes:
39
+ - `errorbook.entry-index` (`.sce/errorbook/index.json`)
40
+ - `errorbook.incident-index` (`.sce/errorbook/staging/index.json`)
41
+ - Stage-3 SQLite migration components for spec governance indexes:
42
+ - `governance.spec-scene-overrides` (`.sce/spec-governance/spec-scene-overrides.json`)
43
+ - `governance.scene-index` (`.sce/spec-governance/scene-index.json`)
44
+ - New SQLite index tables in state store:
45
+ - `errorbook_entry_index_registry`
46
+ - `errorbook_incident_index_registry`
47
+ - `governance_spec_scene_override_registry`
48
+ - `governance_scene_index_registry`
49
+ - New `SceStateStore` APIs:
50
+ - `upsert/listErrorbookEntryIndexRecords`
51
+ - `upsert/listErrorbookIncidentIndexRecords`
52
+ - `upsert/listGovernanceSpecSceneOverrideRecords`
53
+ - `upsert/listGovernanceSceneIndexRecords`
54
+
55
+ ### Changed
56
+ - `sce state plan/doctor/migrate/export` now include spec-governance index components in migration scope and parity summaries.
57
+ - State export payload now includes spec-governance index tables for audit/debug snapshots.
58
+
10
59
  ## [3.6.4] - 2026-03-05
11
60
 
12
61
  ### Added
package/README.md CHANGED
@@ -153,6 +153,7 @@ Studio task-stream output contract (default):
153
153
  - reconciliation gate: `npm run gate:state-migration-reconciliation`
154
154
  - runtime reads now prefer sqlite indexes for timeline/scene-session views when indexed data exists
155
155
  - `state doctor` now emits `summary` and runtime diagnostics (`runtime.timeline`, `runtime.scene_session`) with read-source and consistency status
156
+ - migratable components now include runtime + errorbook + spec-governance + release evidence indexes (`errorbook.entry-index`, `errorbook.incident-index`, `governance.spec-scene-overrides`, `governance.scene-index`, `release.evidence-runs-index`, `release.gate-history-index`)
156
157
  - Write authorization lease model (SQLite-backed):
157
158
  - policy file: `.sce/config/authorization-policy.json`
158
159
  - grant lease: `sce auth grant --scope studio:* --reason "<reason>" --auth-password <password> --json`
package/README.zh.md CHANGED
@@ -153,6 +153,7 @@ Studio 任务流输出契约(默认):
153
153
  - 对账门禁:`npm run gate:state-migration-reconciliation`
154
154
  - 运行时读取在存在索引数据时优先使用 SQLite(timeline/scene-session 视图)
155
155
  - `state doctor` 新增 `summary` 与运行时诊断(`runtime.timeline`、`runtime.scene_session`),可直接读取读源与一致性状态
156
+ - 可迁移组件扩展到 runtime + errorbook + spec-governance + release evidence 索引(`errorbook.entry-index`、`errorbook.incident-index`、`governance.spec-scene-overrides`、`governance.scene-index`、`release.evidence-runs-index`、`release.gate-history-index`)
156
157
  - 写入授权租约模型(SQLite 持久化):
157
158
  - 策略文件:`.sce/config/authorization-policy.json`
158
159
  - 申请租约:`sce auth grant --scope studio:* --reason "<原因>" --auth-password <密码> --json`
@@ -727,18 +727,30 @@ sce state export --out .sce/reports/state-migration/state-export.latest.json --j
727
727
 
728
728
  # reconciliation gate (non-blocking by default; choose strict flags as needed)
729
729
  npm run gate:state-migration-reconciliation
730
- node scripts/state-migration-reconciliation-gate.js --fail-on-alert --fail-on-pending --json
730
+ node scripts/state-migration-reconciliation-gate.js --fail-on-blocking --fail-on-alert --fail-on-pending --json
731
731
  ```
732
732
 
733
733
  Current migratable components:
734
734
  - `collab.agent-registry` (`.sce/config/agent-registry.json`)
735
735
  - `runtime.timeline-index` (`.sce/timeline/index.json`)
736
736
  - `runtime.scene-session-index` (`.sce/session-governance/scene-index.json`)
737
+ - `errorbook.entry-index` (`.sce/errorbook/index.json`)
738
+ - `errorbook.incident-index` (`.sce/errorbook/staging/index.json`)
739
+ - `governance.spec-scene-overrides` (`.sce/spec-governance/spec-scene-overrides.json`)
740
+ - `governance.scene-index` (`.sce/spec-governance/scene-index.json`)
741
+ - `release.evidence-runs-index` (`.sce/reports/release-evidence/handoff-runs.json`)
742
+ - `release.gate-history-index` (`.sce/reports/release-evidence/release-gate-history.json`)
737
743
 
738
744
  SQLite index tables introduced for gradual migration:
739
745
  - `agent_runtime_registry`
740
746
  - `timeline_snapshot_registry`
741
747
  - `scene_session_cycle_registry`
748
+ - `errorbook_entry_index_registry`
749
+ - `errorbook_incident_index_registry`
750
+ - `governance_spec_scene_override_registry`
751
+ - `governance_scene_index_registry`
752
+ - `release_evidence_run_registry`
753
+ - `release_gate_history_registry`
742
754
  - `state_migration_registry`
743
755
 
744
756
  Runtime read preference:
@@ -43,7 +43,8 @@ class GitignoreDetector {
43
43
  '.sce/environments.json',
44
44
  '.sce/backups/',
45
45
  '.sce/logs/',
46
- '.sce/reports/'
46
+ '.sce/reports/',
47
+ '.sce/state/'
47
48
  ];
48
49
  }
49
50
 
@@ -25,6 +25,7 @@ const LAYERED_RULES_TEMPLATE = `# ========================================
25
25
  .sce/backups/
26
26
  .sce/logs/
27
27
  .sce/reports/
28
+ .sce/state/
28
29
 
29
30
  # Spec artifacts (COMMIT - but exclude temporary files)
30
31
  .sce/specs/**/SESSION-*.md