scene-capability-engine 3.3.26 → 3.4.6

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,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.4.6] - 2026-03-02
11
+
12
+ ### Added
13
+ - Default problem-closure gate and policy baseline:
14
+ - new script: `scripts/problem-closure-gate.js`
15
+ - new managed config: `.sce/config/problem-closure-policy.json` (and template counterpart)
16
+ - `studio verify/release` standard profiles now execute `problem-closure-gate` when spec context is available
17
+ - Spec domain modeling now includes a mandatory machine-readable problem contract artifact:
18
+ - `.sce/specs/<spec>/custom/problem-contract.json`
19
+ - generated via spec domain init/refresh/bootstrap flow
20
+
21
+ ### Changed
22
+ - Problem evaluation policy and runtime now enforce stronger closure dimensions by default:
23
+ - mandatory dimensions: `problem_contract`, `ontology_alignment`, `convergence`
24
+ - stage-level block policy tightened for plan/apply/release closure control
25
+ - Errorbook record contract now captures structured attempt context (`attempt_contract`) for better trial/verification traceability.
26
+ - Errorbook release gate now incorporates quality policy checks (`min_quality`) for unresolved verified entries.
27
+ - Takeover/adoption baseline and file classification now manage `problem-closure-policy.json` as first-class config.
28
+ - README/README.zh/command reference updated to document problem-domain closed loop, two-failed-round debug escalation, and closure gate workflows.
29
+
30
+ ## [3.4.5] - 2026-03-02
31
+
32
+ ### Fixed
33
+ - `git-managed-gate` now treats worktree checks as advisory in default relaxed CI context (`CI/GITHUB_ACTIONS` + non-strict), preventing false release blocking from CI-side generated deltas.
34
+ - Strict behavior is unchanged and still enforceable via `SCE_GIT_MANAGEMENT_STRICT_CI=1` (`--strict-ci`).
35
+
36
+ ## [3.4.4] - 2026-03-02
37
+
38
+ ### Fixed
39
+ - CI release prepublish gate compatibility:
40
+ - `git-managed-gate` now supports `SCE_GIT_MANAGEMENT_ALLOW_UNTRACKED=1` (`--allow-untracked`) to allow untracked artifact files while still blocking tracked worktree changes.
41
+ - release workflow npm publish step now sets this flag to avoid false blocking when `.sce/reports/release-evidence/*` is generated before publish.
42
+
43
+ ## [3.4.3] - 2026-03-02
44
+
10
45
  ### Added
11
46
  - Errorbook registry health command for centralized registry governance:
12
47
  - `sce errorbook health-registry`
@@ -19,6 +54,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
54
  - supports manual save/list/show/restore/config and `timeline push` (pre-push checkpoint + git push)
20
55
  - snapshots are retained under `.sce/timeline/snapshots/` with configurable retention policy
21
56
  - key-stage checkpoint integration for `studio` and `session` command flows
57
+ - Scene-closed-loop domain research reinforcement:
58
+ - `problem-domain-map.md` now includes mandatory `Closed-Loop Research Coverage Matrix`
59
+ - `scene-spec.md` now includes mandatory `Closed-Loop Research Contract`
60
+ - `problem-domain-chain.json` now includes `research_coverage` contract
61
+ - new command: `sce spec domain coverage --spec <id> [--fail-on-gap]`
62
+ - `sce spec domain validate` now reports coverage summary and supports `--fail-on-gap`
63
+ - Mandatory problem evaluation policy baseline:
64
+ - new policy file: `.sce/config/problem-eval-policy.json`
65
+ - template baseline now ships the same policy at `template/.sce/config/problem-eval-policy.json`
66
+ - new evaluator module: `lib/problem/problem-evaluator.js`
67
+ - evaluation reports are persisted to `.sce/reports/problem-eval/<job-id>-<stage>.json`
22
68
 
23
69
  ### Changed
24
70
  - `prepublishOnly` now runs `gate:errorbook-registry-health` in advisory mode before `errorbook-release` gate.
@@ -52,6 +98,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
52
98
  - supports query/scene/spec-seeded lookup and relevance ranking
53
99
  - `sce studio plan` now auto-loads related historical specs into job metadata (`source.related_specs`)
54
100
  - SCE now captures timeline checkpoints by default on `studio`/`session` key operations, and performs interval auto-check in the same checkpoint pipeline to reduce local history-loss risk.
101
+ - `studio` stage flow now enforces problem evaluation on every stage (`plan/generate/apply/verify/release`) and writes `problem_evaluation` summaries into stage metadata/events.
102
+ - `apply` and `release` now support policy-based hard block by default when evaluation blockers are present; advisory/disabled behavior is controlled by `SCE_PROBLEM_EVAL_MODE` / `SCE_PROBLEM_EVAL_DISABLED`.
103
+ - Takeover/adoption defaults and file classification now include `config/problem-eval-policy.json` as managed config.
104
+
105
+ ## [3.4.2] - 2026-03-02
106
+
107
+ ### Added
108
+ - Errorbook incident closed-loop staging for all issues:
109
+ - every `sce errorbook record` now writes a staging incident attempt under `.sce/errorbook/staging/incidents/`
110
+ - new incident inspection commands:
111
+ - `sce errorbook incident list [--state open|resolved] [--json]`
112
+ - `sce errorbook incident show <id> [--json]`
113
+ - resolved incident snapshots are archived under `.sce/errorbook/staging/resolved/`
114
+
115
+ ### Changed
116
+ - Error handling policy now defaults to full-loop management for all issues (not only hard cases): try/fail rounds are retained in staging until final resolution, then consolidated into curated errorbook flow.
117
+
118
+ ## [3.4.1] - 2026-03-02
119
+
120
+ ### Added
121
+ - Project takeover baseline automation:
122
+ - new workspace commands:
123
+ - `sce workspace takeover-audit [--json] [--strict]`
124
+ - `sce workspace takeover-apply [--json]`
125
+ - new baseline reconciler: `lib/workspace/takeover-baseline.js`
126
+ - startup now auto-detects adopted projects and best-effort aligns baseline defaults
127
+ - baseline report output: `.sce/reports/takeover-baseline-latest.json`
128
+ - baseline managed config files:
129
+ - `.sce/adoption-config.json`
130
+ - `.sce/auto/config.json`
131
+ - `.sce/config/takeover-baseline.json`
132
+ - `.sce/config/session-governance.json`
133
+ - `.sce/config/spec-domain-policy.json`
134
+
135
+ ### Changed
136
+ - `sce adopt` and `sce upgrade` now enforce takeover baseline alignment automatically on success.
55
137
 
56
138
  ## [3.3.23] - 2026-02-27
57
139