scene-capability-engine 3.3.4 → 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 +151 -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 +6 -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/agent-runtime/agent-result-summary-contract.schema.json +50 -0
- package/docs/agent-runtime/agent-result-summary.sample.json +11 -0
- package/docs/agent-runtime/capability-mapping-report.sample.json +42 -0
- package/docs/agent-runtime/capability-mapping-report.schema.json +136 -0
- package/docs/agent-runtime/failure-taxonomy-baseline.json +99 -0
- package/docs/agent-runtime/multi-agent-coordination-policy-baseline.json +38 -0
- package/docs/agent-runtime/strategy-routing-policy-baseline.json +24 -0
- package/docs/agent-runtime/symbol-evidence.sample.json +34 -0
- package/docs/agent-runtime/symbol-evidence.schema.json +128 -0
- 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 +254 -151
- 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/sce-capability-matrix-e2e-example.md +94 -0
- package/docs/sce-capability-matrix-roadmap.md +48 -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 +15 -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 +180 -2
- package/lib/orchestrator/bootstrap-prompt-builder.js +9 -6
- package/lib/orchestrator/orchestration-engine.js +346 -2
- 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 +12 -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/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,79 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.3.10] - 2026-02-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Restored release-pipeline determinism for Moqui core regression stage:
|
|
14
|
+
- Added tracked fixture assets under `tests/fixtures/moqui-core-regression/workspace/.sce/specs/**` and `.sce/templates/**` so CI checkout contains required baseline inputs.
|
|
15
|
+
- Updated `.gitignore` with explicit allowlist entries for the Moqui regression fixture `.sce/specs` and `.sce/templates` paths.
|
|
16
|
+
- `scripts/moqui-core-regression-suite.js` default workspace now passes in clean CI environments without relying on locally generated `.sce` state.
|
|
17
|
+
|
|
18
|
+
## [3.3.9] - 2026-02-24
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- Stabilized Moqui regression script tests in CI by replacing implicit `.sce` fixture dependency with explicit temp workspace bootstrap:
|
|
22
|
+
- `tests/unit/scripts/moqui-lexicon-audit.test.js` now provisions full fixture workspace at runtime.
|
|
23
|
+
- `tests/unit/scripts/moqui-core-regression-suite.test.js` now provisions full fixture workspace at runtime.
|
|
24
|
+
- Added shared builder `tests/helpers/moqui-core-regression-workspace-fixture.js` to ensure deterministic manifest/template/spec/script setup across environments.
|
|
25
|
+
|
|
26
|
+
## [3.3.8] - 2026-02-24
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- Interactive business-mode presets for loop/flow pipelines:
|
|
30
|
+
- `business-user`
|
|
31
|
+
- `system-maintainer`
|
|
32
|
+
- Governance signal metrics for business-mode quality evaluation.
|
|
33
|
+
- Weekly ops summary signal quality rollups for business-mode telemetry.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- Release gate now blocks publish when required business-mode governance signals are missing.
|
|
37
|
+
- Documentation now includes business-mode map and index links for embedded assistant rollout.
|
|
38
|
+
|
|
39
|
+
## [3.3.7] - 2026-02-24
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
- Legacy workspace migration is now a strict manual gate:
|
|
43
|
+
- when legacy `.kiro` directories are detected, `sce` blocks non-migration commands by default
|
|
44
|
+
- users must run `sce workspace legacy-migrate` manually before continuing
|
|
45
|
+
- only migration-safe entrypoints are allowed pre-migration (`workspace legacy-scan`, `workspace legacy-migrate`, help/version)
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
- Integration test coverage for legacy migration command guard behavior:
|
|
49
|
+
- `tests/integration/legacy-migration-guard-cli.integration.test.js`
|
|
50
|
+
|
|
51
|
+
## [3.3.6] - 2026-02-24
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
- Workspace legacy guardrail:
|
|
55
|
+
- automatic startup migration from legacy `.kiro` directories to `.sce`
|
|
56
|
+
- `sce workspace legacy-scan` for recursive legacy detection
|
|
57
|
+
- `sce workspace legacy-migrate` for dry-run and apply migration flows
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
- Adoption path normalization for `.sce/...` prefixed paths, restoring correct conflict classification and automatic resolution behavior.
|
|
61
|
+
|
|
62
|
+
## [3.3.5] - 2026-02-22
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
- Capability matrix execution assets for Spec 117:
|
|
66
|
+
- `scripts/symbol-evidence-locate.js`
|
|
67
|
+
- `scripts/failure-attribution-repair.js`
|
|
68
|
+
- `scripts/capability-mapping-report.js`
|
|
69
|
+
- New machine-readable contracts and examples under `docs/agent-runtime/`:
|
|
70
|
+
- `symbol-evidence.schema.json`
|
|
71
|
+
- `failure-taxonomy-baseline.json`
|
|
72
|
+
- `capability-mapping-report.schema.json`
|
|
73
|
+
- `agent-result-summary-contract.schema.json`
|
|
74
|
+
- End-to-end capability matrix runbook:
|
|
75
|
+
- `docs/sce-capability-matrix-e2e-example.md`
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
- Orchestration merge governance now enforces sub-agent result summary contract and blocks merge on invalid summaries, failed tests, or unresolved conflict issues when policy requires it.
|
|
79
|
+
- `bootstrap-prompt-builder` now instructs sub-agents to emit a terminal `result_summary` JSON payload.
|
|
80
|
+
- Command reference and roadmap docs now include strategy/symbol/failure/mapping entrypoints and default merge-governance behavior.
|
|
81
|
+
- Core package version updated to `3.3.5`.
|
|
82
|
+
|
|
10
83
|
### Added
|
|
11
84
|
- **Auto handoff default takeover hard gate + preflight-check command**: `sce auto handoff` profiles now default to release-gate preflight hard requirement (`default|moqui|enterprise`), added `sce auto handoff preflight-check` (`pass|warning|blocked` + reasons/signals/recommended commands), and `handoff run` precheck/details now exposes full runtime ui-mode pressure aggregates for machine-readable triage.
|
|
12
85
|
- **Interactive runtime ui-mode telemetry closed-loop**: `interactive-customization-loop` now emits runtime policy signal streams (`interactive-runtime-signals.jsonl` global + session) with `ui_mode` violation markers; `interactive-governance-report` now ingests runtime signals by default and reports runtime/ui-mode pressure metrics + alerts; weekly ops summary/gate now carry and enforce runtime ui-mode violation signals (default `RELEASE_WEEKLY_OPS_MAX_RUNTIME_UI_MODE_VIOLATION_TOTAL=0`).
|
|
@@ -44,17 +117,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
44
117
|
- **Release-ready starter kit + security baseline docs**: Added `docs/starter-kit/*` and `docs/security-governance-default-baseline.md`, and wired checklist/index docs so external projects can onboard with default manifest/workflow/safety policy.
|
|
45
118
|
- **Capability lexicon hard gate end-to-end defaultization**: `sce auto handoff run` and `sce auto handoff capability-matrix` now enforce unknown Moqui capability alias blocking by default (expected/provided), emit lexicon gate telemetry into release evidence, and promote those signals into governance risk/concern/recommendation/close-loop block decisions.
|
|
46
119
|
- **Moqui release summary report helper**: Added `node scripts/moqui-release-summary.js` (and npm alias `npm run report:moqui-summary`) to consolidate handoff evidence + baseline + lexicon + capability-matrix into a single release-gate verdict (`passed|failed|incomplete`) with remediation commands.
|
|
47
|
-
- **Moqui release summary interactive-governance signal merge**: `moqui-release-summary` now ingests interactive governance report input by default (`.
|
|
120
|
+
- **Moqui release summary interactive-governance signal merge**: `moqui-release-summary` now ingests interactive governance report input by default (`.sce/reports/interactive-governance-report.json`) and surfaces alert-state remediation hints in release summary output.
|
|
48
121
|
- **Interactive customization baseline contracts + gate**: Added `116-00-interactive-business-customization-platform` spec set, interactive change contract artifacts, and `node scripts/interactive-change-plan-gate.js` (npm alias `npm run gate:interactive-plan`) to enforce secure-by-default plan review (`allow|review-required|deny`) before execution.
|
|
49
122
|
- **Interactive read-only intent bridge**: Added `node scripts/interactive-intent-build.js` (npm alias `npm run report:interactive-intent`) to generate masked page-context explain output, structured `Change_Intent`, and append audit JSONL events for stage-A UI copilot integration.
|
|
50
123
|
- **Interactive plan generation bridge**: Added `node scripts/interactive-plan-build.js` (npm alias `npm run report:interactive-plan`) to convert `Change_Intent` into structured `Change_Plan` with action candidates, risk inference, verification checks, rollback blueprint, and approval defaults before gate evaluation.
|
|
51
124
|
- **Interactive one-command loop orchestrator**: Added `node scripts/interactive-customization-loop.js` (npm alias `npm run run:interactive-loop`) to run `intent -> plan -> gate -> approval` in one command and optionally auto-trigger low-risk apply through the Moqui adapter when gate/risk conditions are satisfied; loop now supports direct feedback capture (`--feedback-score/--feedback-comment/--feedback-tags`) into session-scoped feedback JSONL for governance ingestion.
|
|
52
|
-
- **Interactive loop CLI + governance routing hardening**: Added `sce scene interactive-loop` as first-class CLI entry, updated loop feedback flow to write both session-scoped and global governance streams (`.
|
|
125
|
+
- **Interactive loop CLI + governance routing hardening**: Added `sce scene interactive-loop` as first-class CLI entry, updated loop feedback flow to write both session-scoped and global governance streams (`.sce/reports/interactive-user-feedback.jsonl`), and introduced CI smoke gate (`test:interactive-loop-smoke`) wired into `test.yml`/`release.yml` test jobs.
|
|
53
126
|
- **Interactive context-contract hardening for Moqui workbench UI**: `interactive-intent-build` and `sce scene interactive-loop` now support `--context-contract` and strict validation by default (required fields, payload-size budget, forbidden keys), with upgraded page-context schema/sample for `scene_workspace` + `assistant_panel` payloads matching the Screen Explorer + AI assistant layout.
|
|
54
127
|
- **Moqui provider-to-context bridge command**: Added `scripts/interactive-context-bridge.js` and `sce scene context-bridge` to normalize raw Moqui workbench payloads into standard interactive `page-context` artifacts with default contract validation (`--no-strict-contract` for diagnostics), plus sample payload and unit coverage for provider mapping.
|
|
55
128
|
- **Interactive full-flow one-command entry**: Added `scripts/interactive-flow.js` and `sce scene interactive-flow` to execute `context-bridge -> interactive-loop` in one pipeline, with unified artifact session output and passthrough guardrail/approval/feedback options for Moqui workbench embedding.
|
|
56
129
|
- **Interactive flow smoke gate in CI**: Added `scripts/interactive-flow-smoke.js` (npm alias `test:interactive-flow-smoke`) and wired it into `test.yml` / `release.yml` test jobs alongside interactive-loop smoke.
|
|
57
|
-
- **Interactive matrix signal closed-loop defaultization**: `interactive-flow` now runs a default matrix snapshot stage (`moqui-template-baseline-report`) after loop execution, persists session matrix artifacts, appends `.
|
|
130
|
+
- **Interactive matrix signal closed-loop defaultization**: `interactive-flow` now runs a default matrix snapshot stage (`moqui-template-baseline-report`) after loop execution, persists session matrix artifacts, appends `.sce/reports/interactive-matrix-signals.jsonl`, and exposes matrix controls (`--no-matrix`, thresholds, compare baseline, signal path, fail-on-portfolio/regression/error) in both script and `sce scene interactive-flow`.
|
|
58
131
|
- **Interactive approval workflow state machine**: Added `node scripts/interactive-approval-workflow.js` (status alias `npm run report:interactive-approval-status`) covering `draft/submitted/approved/rejected/executed/verified/archived` transitions, with high-risk execute blocking and append-only approval event audit JSONL.
|
|
59
132
|
- **Interactive Moqui adapter stage-C baseline**: Added `lib/interactive-customization/moqui-interactive-adapter.js` plus `node scripts/interactive-moqui-adapter.js` (alias `npm run report:interactive-adapter-capabilities`) to implement unified adapter contract `capabilities/plan/validate/apply/rollback`, low-risk one-click apply (`low-risk-apply`), policy-aware controlled execution, and append-only execution records with validation snapshot + rollback reference.
|
|
60
133
|
- **Interactive template matrix stage-D baseline**: Added `kse.scene--moqui-interactive-customization-loop--0.1.0` scene package assets (scene-package/scene manifest/template manifest), plus template sedimentation playbook, adapter extension contract schema/sample, and Domain_Pack extension flow docs for cross-stack replication.
|
|
@@ -71,7 +144,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
71
144
|
- **Matrix remediation default burst policy tightened**: queue/phased defaults now use `medium parallel=1`, `medium agent-budget=2`, and `cooldown=30s` to minimize `429 Too Many Requests` pressure under multi-agent load.
|
|
72
145
|
- **Matrix remediation template/capability prioritization matrix**: `moqui-matrix-remediation-queue` now outputs `template_priority_matrix` and `capability_clusters` to surface cross-regression repair order (which templates first, which capabilities to close first) for Moqui template hardening.
|
|
73
146
|
- **Release summary prioritization awareness**: `moqui-release-summary` now reads `matrix-remediation-plan` by default and injects template/capability priority order into recommendations and markdown summary when matrix regressions block release.
|
|
74
|
-
- **Capability-cluster executable remediation goals**: `moqui-matrix-remediation-queue` now emits `.
|
|
147
|
+
- **Capability-cluster executable remediation goals**: `moqui-matrix-remediation-queue` now emits `.sce/auto/matrix-remediation.capability-clusters.json` and release summary recommends cluster-prioritized batch execution by default.
|
|
75
148
|
- **Capability-cluster default recommendation wiring**: `auto handoff regression/run/governance` and release-summary remediation hints now include cluster-prioritized execution commands plus npm alias `run:matrix-remediation-clusters`.
|
|
76
149
|
- **Capability-cluster phased one-shot runner mode**: `moqui-matrix-remediation-phased-runner` now supports `--cluster-goals` to derive high/medium phase goals from cluster payloads and execute anti-429 phased remediation in one flow (`run:matrix-remediation-clusters-phased`).
|
|
77
150
|
- **Cluster-first recommendation ordering**: Moqui regression recovery recommendations now prioritize `run:matrix-remediation-clusters-phased` before baseline phased remediation to reduce manual sequencing decisions under pressure.
|
|
@@ -84,7 +157,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
84
157
|
- **Release workflow Moqui summary alignment**: `release.yml` now explicitly generates and publishes `moqui-release-summary.{json,md}` from baseline + interactive governance + evidence inputs, with optional hard-gate flag `KSE_MOQUI_RELEASE_SUMMARY_ENFORCE`.
|
|
85
158
|
- **Release governance snapshot standalone assets**: Added `scripts/release-governance-snapshot-export.js` and wired `release.yml` to publish `governance-snapshot-<tag>.json|.md` as independent governance audit artifacts (with unavailable placeholders when evidence summary is missing).
|
|
86
159
|
- **331-poc integration checklist baseline**: Added `docs/interactive-customization/331-poc-sce-integration-checklist.md` to define minimal runtime contract, default commands, gate defaults, and pass criteria for Moqui + SCE deployment.
|
|
87
|
-
- **Interactive feedback ingestion helper**: Added `node scripts/interactive-feedback-log.js` (alias `npm run log:interactive-feedback`) to append structured business-user feedback events into `.
|
|
160
|
+
- **Interactive feedback ingestion helper**: Added `node scripts/interactive-feedback-log.js` (alias `npm run log:interactive-feedback`) to append structured business-user feedback events into `.sce/reports/interactive-user-feedback.jsonl` for governance sample coverage and trend stability.
|
|
88
161
|
- **Interactive governance gate defaultization in CI/release**: `test.yml`, `release.yml`, and `prepublishOnly` now execute `interactive-governance-report --period weekly --fail-on-alert` so publish and release flows enforce medium/high governance breaches by default, with `min_intent_samples` low-sample warning behavior to avoid false-positive hard blocks.
|
|
89
162
|
- **Interactive acceptance and replication handoff pack**: Added phase acceptance evidence (`phase-acceptance-evidence.md`), non-technical usability report, and cross-industry replication guide to close stage-A/B/C/D verification and provide domain expansion boundaries.
|
|
90
163
|
- **Moqui page-level copilot integration contract**: Added stage-A integration contract and guide for context injection and masking boundaries (`moqui-copilot-context-contract.json`, `moqui-copilot-integration-guide.md`) to support safe UI embedding of the read-only Business Copilot.
|
|
@@ -99,7 +172,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
99
172
|
- **Scene ontology impact/path analysis commands**: Added `sce scene ontology impact` (reverse dependency blast-radius analysis with `--relation` and `--max-depth`) and `sce scene ontology path` (shortest relation path between refs with optional `--undirected`) to improve ontology-driven change planning and explainability.
|
|
100
173
|
- **Close-loop quantitative DoD gates**: Added `--dod-max-risk-level`, `--dod-kpi-min-completion-rate`, `--dod-max-success-rate-drop`, and `--dod-baseline-window` so autonomous closure can enforce explicit risk/KPI/baseline thresholds beyond binary checks.
|
|
101
174
|
- **Close-loop conflict/ontology execution planning**: Added lease-conflict scheduling governance and scene ontology scheduling guidance with opt-out controls (`--no-conflict-governance`, `--no-ontology-guidance`), and surfaced planning telemetry in `portfolio.execution_plan` plus agent sync plan output.
|
|
102
|
-
- **Close-loop strategy memory feedback loop**: Added persisted strategy memory (`.
|
|
175
|
+
- **Close-loop strategy memory feedback loop**: Added persisted strategy memory (`.sce/auto/close-loop-strategy-memory.json`) to reuse prior goal-level policy hints and track-level feedback bias during decomposition, with run telemetry under `strategy_memory`.
|
|
103
176
|
- **Unified autonomous observability snapshot**: Added `sce auto observability snapshot` to aggregate close-loop, batch, controller, governance, and KPI-trend telemetry into one machine-readable payload.
|
|
104
177
|
- **Agent-facing spec JSON interfaces**: Added `sce auto spec status <spec-name> --json` and `sce auto spec instructions <spec-name> --json` for structured status/instruction retrieval in master-sub agent workflows.
|
|
105
178
|
- **Autonomous archive schema compatibility tooling**: Added `sce auto schema check` and `sce auto schema migrate` (dry-run by default, `--apply` to persist) to audit and migrate `schema_version` across autonomous archives.
|
|
@@ -107,7 +180,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
107
180
|
- **Governance close-loop post-run retention hook**: Added `--governance-session-keep` and `--governance-session-older-than-days` to `sce auto governance close-loop` for automatic governance session archive pruning after each run, with current session protection and telemetry in `governance_session_prune`.
|
|
108
181
|
- **Governance resume drift guardrails**: `sce auto governance close-loop --governance-resume` now reuses persisted target/advisory policy defaults by default and blocks explicit policy drift unless `--governance-resume-allow-drift` is set, reducing accidental resume misconfiguration.
|
|
109
182
|
- **Governance session maintenance commands**: Added `sce auto governance session list|stats|prune` for persisted governance close-loop session observability and retention management, including status/day filters, convergence/risk telemetry, and archive cleanup controls (`--keep`, `--older-than-days`, `--dry-run`).
|
|
110
|
-
- **Governance close-loop session persistence and resume**: Added default governance loop session archiving (`.
|
|
183
|
+
- **Governance close-loop session persistence and resume**: Added default governance loop session archiving (`.sce/auto/governance-close-loop-sessions`) with controls `--governance-session-id`, `--no-governance-session`, and `--governance-resume <session|latest|file>` so interrupted governance rounds can be resumed without restarting from round 1.
|
|
111
184
|
- **Governance close-loop advisory execution**: Added optional advisory action execution to `sce auto governance close-loop` via `--execute-advisory`, including bounded controls `--advisory-recover-max-rounds` and `--advisory-controller-max-cycles`, with per-round advisory telemetry (`advisory_actions`, advisory action counts) and top-level advisory policy/summary output. Advisory source selection is now autonomous (latest recoverable batch summary / latest controller session with pending goals) and emits `skipped` instead of hard-failing when no actionable advisory source exists.
|
|
112
185
|
- **Governance close-loop rounds command**: Added `sce auto governance close-loop` to run bounded governance-maintenance rounds toward a target risk (`--target-risk`) with convergence telemetry (`rounds`, `initial_assessment`, `final_assessment`, `stop_reason`, `converged`) and non-mutating planning support (`--plan-only`, `--dry-run`).
|
|
113
186
|
- **Governance maintenance close-loop command**: Added `sce auto governance maintain` to combine governance assessment and optional maintenance execution (`--apply`) across session/batch/controller archives and recovery memory, with policy knobs (`--session-keep`, `--batch-session-keep`, `--controller-session-keep`, `--recovery-memory-older-than-days`), dry-run support, and before/after telemetry.
|
|
@@ -119,7 +192,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
119
192
|
- **Spec protection source expansion**: `spec-session prune` now protects specs referenced by recent/incomplete controller sessions (via nested batch summary references), reducing accidental cleanup during controller-driven autonomous runs.
|
|
120
193
|
- **Controller session maintenance commands**: Added `sce auto controller-session list` / `sce auto controller-session prune` (retention + age filters + dry-run/json) for persisted close-loop-controller summary archives.
|
|
121
194
|
- **Controller-aware autonomous KPI trend mode**: `sce auto kpi trend` now supports `--mode controller` and includes persisted controller session telemetry in trend aggregation (including nested program sub-spec/spec-growth rollups when available).
|
|
122
|
-
- **Controller checkpoint resume**: `close-loop-controller` now supports `--controller-resume <latest|id|file>` plus persisted controller session snapshots (`.
|
|
195
|
+
- **Controller checkpoint resume**: `close-loop-controller` now supports `--controller-resume <latest|id|file>` plus persisted controller session snapshots (`.sce/auto/close-loop-controller-sessions`) with retention controls (`--controller-session-id`, `--controller-session-keep`, `--controller-session-older-than-days`, `--no-controller-session`).
|
|
123
196
|
- **Controller concurrency lease lock**: Added queue lease lock controls (`--controller-lock-file`, `--controller-lock-ttl-seconds`, `--no-controller-lock`) to prevent concurrent queue corruption and allow stale-lock takeover under bounded TTL.
|
|
124
197
|
- **Persistent close-loop queue controller**: Added `sce auto close-loop-controller [queue-file]` with queue drain/poll runtime (`--queue-format`, `--dequeue-limit`, `--wait-on-empty`, `--poll-seconds`, runtime budgets, done/failed archives) so broad goals can be continuously executed through `close-loop-program` without manual re-invocation.
|
|
125
198
|
- **KPI sample generator command**: Added `sce value metrics sample` to generate a ready-to-use KPI input JSON scaffold (`kpi-input.json`) for first-time observability runs.
|
|
@@ -132,15 +205,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
132
205
|
- **Test governance scripts**: Added `test:smoke`, `test:full`, `test:handles`, `test:skip-audit`, plus `scripts/check-skip-allowlist.js` and `tests/skip-allowlist.txt` for skip-test regression guardrails.
|
|
133
206
|
- **Autonomous close-loop command**: Added `sce auto close-loop "<goal>"` to perform one-command goal decomposition (master/sub specs), collaboration bootstrap, and orchestration until terminal state.
|
|
134
207
|
- **Definition-of-Done gates for close-loop**: Added configurable completion gates for `sce auto close-loop` (`--dod-tests`, `--dod-tasks-closed`, `--no-dod*`) so autonomous runs only report success when required evidence checks pass.
|
|
135
|
-
- **DoD evidence archive for close-loop**: Added automatic DoD report persistence to `.
|
|
136
|
-
- **Close-loop session resume**: Added session snapshot persistence for `sce auto close-loop` (`.
|
|
208
|
+
- **DoD evidence archive for close-loop**: Added automatic DoD report persistence to `.sce/specs/<master>/custom/dod-report.json` with CLI controls (`--dod-report`, `--no-dod-report`) for audit-ready closure evidence.
|
|
209
|
+
- **Close-loop session resume**: Added session snapshot persistence for `sce auto close-loop` (`.sce/auto/close-loop-sessions`) plus resume controls (`--resume`, `--session-id`, `--no-session`) to continue interrupted master/sub executions.
|
|
137
210
|
- **Close-loop session hygiene commands**: Added `sce auto session list` and `sce auto session prune` (retention + age filters + dry-run/json) so long-running autonomous programs can maintain session archives without manual file cleanup.
|
|
138
|
-
- **Spec directory retention commands**: Added `sce auto spec-session list|prune` (retention + age filters + dry-run/json) to control `.
|
|
211
|
+
- **Spec directory retention commands**: Added `sce auto spec-session list|prune` (retention + age filters + dry-run/json) to control `.sce/specs` growth for continuous autonomous runs.
|
|
139
212
|
- **Active spec protection in retention prune**: `sce auto spec-session prune` now protects active/recently referenced specs by default (`--no-protect-active` to override).
|
|
140
|
-
- **Automatic spec retention policy for program/batch/recover**: Added `--spec-session-keep` / `--spec-session-older-than-days` (`--no-spec-session-protect-active` optional) so autonomous multi-goal runs can auto-prune `.
|
|
213
|
+
- **Automatic spec retention policy for program/batch/recover**: Added `--spec-session-keep` / `--spec-session-older-than-days` (`--no-spec-session-protect-active` optional) so autonomous multi-goal runs can auto-prune `.sce/specs` after execution.
|
|
141
214
|
- **Configurable spec protection window**: Added `--spec-session-protect-window-days` (and `spec-session prune --protect-window-days`) so teams can tune recent-reference protection horizon for retention safety.
|
|
142
215
|
- **Spec protection reason observability**: `spec-session prune` now emits `protection_ranking_top` by default and supports `--show-protection-reasons` for per-spec reason detail (`protected_specs[*].reasons`, `protection_ranking`) during retention audits.
|
|
143
|
-
- **Spec directory budget guardrail**: Added `--spec-session-max-total` with optional `--spec-session-budget-hard-fail` for batch/program/recover flows, including `spec_session_budget` telemetry in summaries to prevent uncontrolled `.
|
|
216
|
+
- **Spec directory budget guardrail**: Added `--spec-session-max-total` with optional `--spec-session-budget-hard-fail` for batch/program/recover flows, including `spec_session_budget` telemetry in summaries to prevent uncontrolled `.sce/specs` growth.
|
|
144
217
|
- **Unified program budget gate**: Added `--program-max-elapsed-minutes`, `--program-max-agent-budget`, and `--program-max-total-sub-specs` so `close-loop-program` convergence gate can enforce time/concurrency/sub-spec budgets together with success/risk policy.
|
|
145
218
|
- **Program/recover gate policy parity + auto-remediation hooks**: `close-loop-recover` now supports the same gate/fallback/budget policy flags as program mode and can emit `program_gate_auto_remediation` (auto patch/prune hints) when gate/budget checks fail.
|
|
146
219
|
- **Spec growth/duplicate guardrails**: Added `--spec-session-max-created`, `--spec-session-max-created-per-goal`, and `--spec-session-max-duplicate-goals` (with hard-fail option) plus summary telemetry (`goal_input_guard`, `spec_session_growth_guard`) to reduce runaway autonomous portfolio expansion.
|
|
@@ -156,7 +229,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
156
229
|
- **Close-loop batch priority + aging scheduler controls**: Added `--batch-priority` (`fifo|complex-first|complex-last`) and `--batch-aging-factor` (`0-100`) with `resource_plan` wait/starvation telemetry so autonomous multi-goal runs can tune ordering and fairness without manual intervention.
|
|
157
230
|
- **Close-loop batch program decomposition mode**: Added `--decompose-goal` + `--program-goals` so one broad goal can be auto-split into multiple batch goals and executed as a master batch without manually authoring a goals file.
|
|
158
231
|
- **Close-loop batch automatic retry rounds**: Added `--batch-retry-rounds` + `--batch-retry-strategy` (`adaptive|strict`) with `batch_retry` summary telemetry so failed/stopped goals can be retried in the same autonomous batch run without manual re-invocation.
|
|
159
|
-
- **Close-loop batch session archive + latest resume**: Added automatic batch summary session persistence (`.
|
|
232
|
+
- **Close-loop batch session archive + latest resume**: Added automatic batch summary session persistence (`.sce/auto/close-loop-batch-summaries`) with controls (`--batch-session-id`, `--batch-session-keep`, `--no-batch-session`) and support for `--resume-from-summary latest`.
|
|
160
233
|
- **Close-loop batch session maintenance commands**: Added `sce auto batch-session list` / `sce auto batch-session prune` plus age-based retention control (`--batch-session-older-than-days`) for persisted batch summary archives.
|
|
161
234
|
- **Close-loop batch until-complete retry mode**: Added `--batch-retry-until-complete` + `--batch-retry-max-rounds` so multi-goal runs can auto-drain failed/stopped goals to completion within one command invocation under bounded retry policy.
|
|
162
235
|
- **Close-loop batch autonomous policy mode**: Added `--batch-autonomous` to apply closed-loop defaults automatically (continue-on-error, adaptive parallelism, complexity-first scheduling, aging boost, retry-until-complete) for hands-off program execution.
|
|
@@ -181,7 +254,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
181
254
|
- **Scoped recovery memory maintenance**: `sce auto recovery-memory show|prune` now support `--scope <scope>` for targeted inspection and cleanup.
|
|
182
255
|
- **Program gate fallback observability**: Program outputs now include `program_gate_fallbacks` and `program_gate_effective` fields for full fallback decision traceability.
|
|
183
256
|
- **Program-level auto recovery loop**: `sce auto close-loop-program` now auto-enters bounded recovery rounds by default (`--program-recover-max-rounds`, `--no-program-auto-recover`) so one command can drive program execution to closure without manual follow-up.
|
|
184
|
-
- **Recovery strategy memory**: Added persisted recovery memory (`.
|
|
257
|
+
- **Recovery strategy memory**: Added persisted recovery memory (`.sce/auto/close-loop-recovery-memory.json`) so `close-loop-recover` and program auto-recovery can reuse previously successful remediation actions when `--use-action` is omitted.
|
|
185
258
|
- **Program coordination telemetry**: Added `program_coordination` output (master/sub topology, unresolved goals, scheduler snapshot) for multi-spec orchestration observability in both program and recover summaries.
|
|
186
259
|
- **Close-loop batch KPI summary**: Added aggregate `metrics` in batch output (success rate, status breakdown, average sub-spec count, average replan cycles) for portfolio-level observability.
|
|
187
260
|
- **Close-loop auto session retention policy**: Added `--session-keep` and `--session-older-than-days` to `sce auto close-loop` so each autonomous run can prune stale session snapshots automatically.
|
|
@@ -269,7 +342,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
269
342
|
|
|
270
343
|
### Added
|
|
271
344
|
- **Regression tests**: added unit tests for undefined/empty prompt guardrails, Windows agentId filename sanitization, and codex→npx command fallback path.
|
|
272
|
-
- **Codex orchestration docs**: added recommended Codex-only orchestrator configuration examples in README, README.zh, `.
|
|
345
|
+
- **Codex orchestration docs**: added recommended Codex-only orchestrator configuration examples in README, README.zh, `.sce/README.md`, and command reference.
|
|
273
346
|
|
|
274
347
|
## [1.45.12] - 2026-02-13
|
|
275
348
|
|
|
@@ -368,16 +441,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
368
441
|
## [1.43.1] - 2026-02-11
|
|
369
442
|
|
|
370
443
|
### Changed
|
|
371
|
-
- **Agent Onboarding Document** (`template/.
|
|
372
|
-
- **CORE_PRINCIPLES Principle 9**: Strengthened version sync and steering refresh principle — `.
|
|
444
|
+
- **Agent Onboarding Document** (`template/.sce/README.md`, `.sce/README.md`): Comprehensive rewrite of "sce Capabilities" section listing all commands and features (Core, Task, Spec Locking, Workspace, Environment, Multi-Repo, Collab, Multi-Agent Coordination, Autonomous Control, Scene Runtime, Document Governance, DevOps, Knowledge Management)
|
|
445
|
+
- **CORE_PRINCIPLES Principle 9**: Strengthened version sync and steering refresh principle — `.sce/README.md` is now the authoritative agent onboarding entry point for understanding all sce capabilities
|
|
373
446
|
|
|
374
447
|
## [1.43.0] - 2026-02-11
|
|
375
448
|
|
|
376
449
|
### Added
|
|
377
450
|
- **Multi-Agent Parallel Coordination**: Infrastructure for multiple AI agents working on the same project simultaneously
|
|
378
|
-
- **MultiAgentConfig** (`lib/collab/multi-agent-config.js`): Configuration management for multi-agent mode via `.
|
|
451
|
+
- **MultiAgentConfig** (`lib/collab/multi-agent-config.js`): Configuration management for multi-agent mode via `.sce/config/multi-agent.json`
|
|
379
452
|
- **AgentRegistry** (`lib/collab/agent-registry.js`): Agent lifecycle management with MachineIdentifier-based ID generation, heartbeat monitoring, and inactive agent cleanup
|
|
380
|
-
- **TaskLockManager** (`lib/lock/task-lock-manager.js`): File-based task locking with atomic lock files (`.
|
|
453
|
+
- **TaskLockManager** (`lib/lock/task-lock-manager.js`): File-based task locking with atomic lock files (`.sce/specs/{specName}/locks/{taskId}.lock`), single-agent backward compatibility
|
|
381
454
|
- **TaskStatusStore** (`lib/task/task-status-store.js`): Concurrent-safe task status updates with file locking, exponential backoff retry, and line-content validation
|
|
382
455
|
- **SteeringFileLock** (`lib/lock/steering-file-lock.js`): Steering file write serialization with pending-file degradation fallback
|
|
383
456
|
- **MergeCoordinator** (`lib/collab/merge-coordinator.js`): Git branch management for agent isolation (`agent/{agentId}/{specName}`), conflict detection, auto-merge
|
|
@@ -524,7 +597,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
524
597
|
### Added
|
|
525
598
|
- **Scene Registry Audit**: Health check for local scene package registry
|
|
526
599
|
- `sce scene audit` scan registry index, verify tarball existence and SHA-256 integrity
|
|
527
|
-
- `--registry <dir>` custom registry directory (default `.
|
|
600
|
+
- `--registry <dir>` custom registry directory (default `.sce/registry`)
|
|
528
601
|
- `--fix` auto-remove orphaned tarballs and clean missing-tarball index entries
|
|
529
602
|
- `--json` structured JSON output
|
|
530
603
|
- Detects missing tarballs, integrity mismatches, orphaned tarballs, deprecated versions
|
|
@@ -669,13 +742,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
669
742
|
- Post-instantiate hook execution via `post-instantiate` script in scene-package.json
|
|
670
743
|
- Implements Spec 76-00-scene-template-instantiation
|
|
671
744
|
|
|
672
|
-
- **Default Agent Hooks in Adopt**: `sce adopt` now creates 3 default hooks in `.
|
|
673
|
-
- `run-tests-on-save.
|
|
674
|
-
- `check-spec-on-create.
|
|
675
|
-
- `sync-tasks-on-edit.
|
|
745
|
+
- **Default Agent Hooks in Adopt**: `sce adopt` now creates 3 default hooks in `.sce/hooks/`
|
|
746
|
+
- `run-tests-on-save.sce.hook` - Manual trigger to run tests (userTriggered)
|
|
747
|
+
- `check-spec-on-create.sce.hook` - Validate spec structure on creation (fileCreated)
|
|
748
|
+
- `sync-tasks-on-edit.sce.hook` - Sync workspace on tasks.md edit (fileEdited)
|
|
676
749
|
- Hooks directory added to all adoption strategies (fresh/partial/full)
|
|
677
750
|
|
|
678
|
-
- **AI IDE MCP Auto-Configuration**: When AI IDE is detected during `sce adopt`, automatically creates `.
|
|
751
|
+
- **AI IDE MCP Auto-Configuration**: When AI IDE is detected during `sce adopt`, automatically creates `.sce/settings/mcp.json` with shell MCP server (`mcp-server-commands`). Skips if config already exists.
|
|
679
752
|
|
|
680
753
|
## [1.25.0] - 2026-02-09
|
|
681
754
|
|
|
@@ -764,7 +837,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
764
837
|
- **Documentation**: Complete user guide at `docs/knowledge-management-guide.md`
|
|
765
838
|
|
|
766
839
|
### Technical Details
|
|
767
|
-
- Knowledge stored in `.
|
|
840
|
+
- Knowledge stored in `.sce/knowledge/` directory
|
|
768
841
|
- Lightweight index for fast lookups (not auto-loaded into AI context)
|
|
769
842
|
- Modular architecture: EntryManager, IndexManager, TemplateManager, KnowledgeManager
|
|
770
843
|
- Cross-platform support (Windows/Linux/macOS)
|
|
@@ -788,14 +861,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
788
861
|
- **Learning System Persistence**: Error recovery learning with historical data
|
|
789
862
|
- Success/failure history tracking across sessions
|
|
790
863
|
- Strategy prioritization based on historical performance
|
|
791
|
-
- Automatic learning data persistence to `.
|
|
864
|
+
- Automatic learning data persistence to `.sce/auto/learning-data.json`
|
|
792
865
|
- **Estimation Improvement**: Task duration tracking and prediction
|
|
793
866
|
- Historical task duration tracking by task type
|
|
794
867
|
- Weighted average estimation (more weight to recent data)
|
|
795
868
|
- Improved completion time estimates over multiple executions
|
|
796
|
-
- Historical data persistence to `.
|
|
869
|
+
- Historical data persistence to `.sce/auto/historical-data.json`
|
|
797
870
|
- **CORE_PRINCIPLES Compliance**: Automatic verification of sce project structure
|
|
798
|
-
- Checks for `.
|
|
871
|
+
- Checks for `.sce` directory (adoption marker)
|
|
799
872
|
- Validates `version.json`, `specs/`, `steering/` directories
|
|
800
873
|
- Ensures Spec-driven development workflow compliance
|
|
801
874
|
- **Comprehensive Documentation**:
|
|
@@ -866,8 +939,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
866
939
|
- Decision records
|
|
867
940
|
|
|
868
941
|
### Technical Details
|
|
869
|
-
- State stored in `.
|
|
870
|
-
- Checkpoints stored in `.
|
|
942
|
+
- State stored in `.sce/auto/state.json` with atomic updates
|
|
943
|
+
- Checkpoints stored in `.sce/auto/checkpoints/` with metadata
|
|
871
944
|
- Configuration hierarchy: global defaults < project config < runtime options
|
|
872
945
|
- Error recovery strategies: syntax fixes, import resolution, null checks, retry
|
|
873
946
|
- Learning system tracks successful/failed strategies for future optimization
|
|
@@ -911,8 +984,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
911
984
|
|
|
912
985
|
### Technical Details
|
|
913
986
|
- New collaboration managers: MetadataManager, DependencyManager, ContractManager, IntegrationManager, Visualizer
|
|
914
|
-
- Collaboration metadata stored in `.
|
|
915
|
-
- Interface contracts stored in `.
|
|
987
|
+
- Collaboration metadata stored in `.sce/specs/{spec-name}/collaboration.json`
|
|
988
|
+
- Interface contracts stored in `.sce/specs/{spec-name}/interfaces/{interface-name}.json`
|
|
916
989
|
- Atomic metadata updates with file locking and retry logic
|
|
917
990
|
- Graph-based dependency analysis with cycle detection
|
|
918
991
|
- Automated interface verification for JavaScript/TypeScript
|
|
@@ -937,7 +1010,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
937
1010
|
## [1.21.0] - 2026-02-01
|
|
938
1011
|
|
|
939
1012
|
### Added
|
|
940
|
-
- **Manual Configuration Support**: Users can now manually create and edit `.
|
|
1013
|
+
- **Manual Configuration Support**: Users can now manually create and edit `.sce/project-repos.json` without relying solely on auto-scan
|
|
941
1014
|
- Version field is now optional (defaults to "1.0" if omitted)
|
|
942
1015
|
- Only `name` and `path` are required for each repository entry
|
|
943
1016
|
- All other fields (`remote`, `defaultBranch`, `description`, `tags`, `group`, `parent`) are optional
|
|
@@ -1010,7 +1083,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1010
1083
|
|
|
1011
1084
|
### Fixed
|
|
1012
1085
|
- **Nested Scanning Validation**: Fixed three critical validation issues preventing nested repository configuration saves
|
|
1013
|
-
- Repository names starting with dots (`.github`, `.
|
|
1086
|
+
- Repository names starting with dots (`.github`, `.sce`) now accepted as valid
|
|
1014
1087
|
- Path overlap validation now context-aware: allows overlapping paths in nested mode, rejects in non-nested mode
|
|
1015
1088
|
- Fixed empty name/path bug for root directory repositories (now normalized to '.')
|
|
1016
1089
|
- Added `settings.nestedMode` field to track scanning mode in configuration
|
|
@@ -1129,7 +1202,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1129
1202
|
- `sce repo status`: View status of all repositories in unified table
|
|
1130
1203
|
- `sce repo exec`: Execute Git commands across all repositories
|
|
1131
1204
|
- `sce repo health`: Verify repository configuration and connectivity
|
|
1132
|
-
- Configuration stored in `.
|
|
1205
|
+
- Configuration stored in `.sce/project-repos.json`
|
|
1133
1206
|
- Support for repository groups, tags, and metadata
|
|
1134
1207
|
- Cross-platform path handling (Windows/Linux/macOS)
|
|
1135
1208
|
- Comprehensive error handling and validation
|
|
@@ -1167,7 +1240,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1167
1240
|
|
|
1168
1241
|
### Added
|
|
1169
1242
|
- **Version Synchronization Principle**: Added principle #9 to CORE_PRINCIPLES.md
|
|
1170
|
-
- Mandates reading `.
|
|
1243
|
+
- Mandates reading `.sce/README.md` after version updates or first installation
|
|
1171
1244
|
- Requires refreshing Steering rules to sync with latest version
|
|
1172
1245
|
- Prevents AI from using outdated workflows or ignoring new features
|
|
1173
1246
|
- Ensures consistency between AI behavior and project state
|
|
@@ -1304,12 +1377,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1304
1377
|
|
|
1305
1378
|
### Added
|
|
1306
1379
|
- **.gitignore Auto-Fix for Team Collaboration**: Automatic detection and fixing of .gitignore configuration
|
|
1307
|
-
- Detects old blanket `.
|
|
1380
|
+
- Detects old blanket `.sce/` exclusion patterns that prevent Spec sharing
|
|
1308
1381
|
- Replaces with layered strategy: commit Specs, exclude personal state
|
|
1309
1382
|
- Integrated into `sce adopt` and `sce upgrade` flows (automatic)
|
|
1310
1383
|
- Standalone command: `sce doctor --fix-gitignore`
|
|
1311
|
-
- Creates backup before modification (stored in `.
|
|
1312
|
-
- Preserves all user rules (non-.
|
|
1384
|
+
- Creates backup before modification (stored in `.sce/backups/gitignore-{timestamp}`)
|
|
1385
|
+
- Preserves all user rules (non-.sce patterns)
|
|
1313
1386
|
- Handles different line endings (CRLF/LF) correctly
|
|
1314
1387
|
- 26 unit tests covering detection, transformation, backup, and integration
|
|
1315
1388
|
|
|
@@ -1318,7 +1391,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1318
1391
|
- **GitignoreTransformer**: Applies layered exclusion strategy while preserving user rules
|
|
1319
1392
|
- **GitignoreBackup**: Creates timestamped backups with metadata
|
|
1320
1393
|
- **GitignoreIntegration**: Coordinates detection → backup → transform → report
|
|
1321
|
-
- **Layered Strategy**: Commits `.
|
|
1394
|
+
- **Layered Strategy**: Commits `.sce/specs/` while excluding personal state (CURRENT_CONTEXT.md, environments.json, backups/, logs/)
|
|
1322
1395
|
- **Cross-platform**: Preserves original line ending style (CRLF on Windows, LF on Unix)
|
|
1323
1396
|
|
|
1324
1397
|
### Documentation
|
|
@@ -1341,7 +1414,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1341
1414
|
- 66 unit tests covering all core functionality
|
|
1342
1415
|
|
|
1343
1416
|
### Technical Details
|
|
1344
|
-
- **EnvironmentRegistry**: JSON-based persistent storage (`.
|
|
1417
|
+
- **EnvironmentRegistry**: JSON-based persistent storage (`.sce/environments.json`)
|
|
1345
1418
|
- **EnvironmentManager**: Core logic for environment operations
|
|
1346
1419
|
- **BackupSystem**: Automatic backup/restore with history management
|
|
1347
1420
|
- **CLI Integration**: Seamless integration with existing sce commands
|
|
@@ -1358,36 +1431,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1358
1431
|
## [1.13.0] - 2026-01-29
|
|
1359
1432
|
|
|
1360
1433
|
### Added
|
|
1361
|
-
- **Steering Directory Compliance Check with Auto-Fix**: Automatic validation and repair of `.
|
|
1434
|
+
- **Steering Directory Compliance Check with Auto-Fix**: Automatic validation and repair of `.sce/steering/` directory
|
|
1362
1435
|
- Enforces allowlist of 4 files: CORE_PRINCIPLES.md, ENVIRONMENT.md, CURRENT_CONTEXT.md, RULES_GUIDE.md
|
|
1363
1436
|
- Prohibits subdirectories to prevent context pollution
|
|
1364
1437
|
- **Auto-fix feature**: Automatically backs up and removes violations without user confirmation
|
|
1365
1438
|
- **Multi-user support**: Detects and respects `contexts/` multi-user collaboration setup
|
|
1366
|
-
- Differential backup: Only backs up violating files/directories (not entire .
|
|
1367
|
-
- Backup location: `.
|
|
1439
|
+
- Differential backup: Only backs up violating files/directories (not entire .sce/)
|
|
1440
|
+
- Backup location: `.sce/backups/steering-cleanup-{timestamp}/`
|
|
1368
1441
|
- Version-based caching (~/.kse/steering-check-cache.json) to avoid repeated checks
|
|
1369
1442
|
- Performance target: <50ms per check
|
|
1370
1443
|
- Clear progress messages during auto-fix
|
|
1371
1444
|
- Bypass options: `--skip-steering-check` flag and `KSE_SKIP_STEERING_CHECK` environment variable
|
|
1372
1445
|
- Force check option: `--force-steering-check` flag
|
|
1373
|
-
- Comprehensive documentation in `.
|
|
1446
|
+
- Comprehensive documentation in `.sce/README.md`
|
|
1374
1447
|
|
|
1375
1448
|
### Changed
|
|
1376
1449
|
- **CLI**: All commands now run steering directory compliance check before execution
|
|
1377
1450
|
- **Auto-fix behavior**: Violations are automatically fixed (backup + clean) without user confirmation
|
|
1378
1451
|
- **Multi-user awareness**: Auto-fix shows informational message when multi-user project detected
|
|
1379
|
-
- **Documentation**: Added "Steering Directory Compliance" section with multi-user guidance to `.
|
|
1452
|
+
- **Documentation**: Added "Steering Directory Compliance" section with multi-user guidance to `.sce/README.md`
|
|
1380
1453
|
|
|
1381
1454
|
### Breaking Changes
|
|
1382
1455
|
- Commands will automatically fix steering directory violations on first run
|
|
1383
|
-
- Violating files/directories are backed up to `.
|
|
1456
|
+
- Violating files/directories are backed up to `.sce/backups/steering-cleanup-{timestamp}/`
|
|
1384
1457
|
- Use `--skip-steering-check` flag to bypass if needed during migration
|
|
1385
1458
|
- Multi-user projects: Personal contexts in `contexts/` are preserved during auto-fix
|
|
1386
1459
|
|
|
1387
1460
|
## [1.12.3] - 2026-01-29
|
|
1388
1461
|
|
|
1389
1462
|
### Added
|
|
1390
|
-
- **Documentation Enhancement**: Comprehensive `.
|
|
1463
|
+
- **Documentation Enhancement**: Comprehensive `.sce/README.md` update (v2.0)
|
|
1391
1464
|
- Added complete directory structure documentation with purpose explanations
|
|
1392
1465
|
- Added workspace management section with detailed usage examples
|
|
1393
1466
|
- Added document governance section with validation commands
|
|
@@ -1397,7 +1470,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1397
1470
|
- Added key features list for workspace management
|
|
1398
1471
|
|
|
1399
1472
|
### Changed
|
|
1400
|
-
- **Documentation**: Updated `.
|
|
1473
|
+
- **Documentation**: Updated `.sce/README.md` version to 2.0 with comprehensive feature documentation
|
|
1401
1474
|
- **Documentation**: Enhanced workspace storage explanation with platform-specific paths
|
|
1402
1475
|
|
|
1403
1476
|
## [1.12.2] - 2026-01-29
|
|
@@ -1486,19 +1559,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1486
1559
|
**HOTFIX**: Fixed critical bug where AI IDE reads all workspace contexts
|
|
1487
1560
|
|
|
1488
1561
|
**Critical Issue**:
|
|
1489
|
-
- Workspace contexts were stored in `.
|
|
1562
|
+
- Workspace contexts were stored in `.sce/steering/workspaces/`
|
|
1490
1563
|
- AI IDE reads ALL `.md` files in `steering/` directory
|
|
1491
1564
|
- This caused ALL personal CURRENT_CONTEXT.md files to be read simultaneously
|
|
1492
1565
|
- Result: Context pollution, confusion, and incorrect AI behavior
|
|
1493
1566
|
|
|
1494
1567
|
**Solution**:
|
|
1495
|
-
- Moved workspace contexts to `.
|
|
1568
|
+
- Moved workspace contexts to `.sce/contexts/` (outside steering/)
|
|
1496
1569
|
- Only active workspace context is copied to `steering/CURRENT_CONTEXT.md`
|
|
1497
1570
|
- Prevents multiple contexts from being read at once
|
|
1498
1571
|
|
|
1499
1572
|
**New Structure**:
|
|
1500
1573
|
```
|
|
1501
|
-
.
|
|
1574
|
+
.sce/
|
|
1502
1575
|
├── steering/
|
|
1503
1576
|
│ └── CURRENT_CONTEXT.md ← Only active context (read by SCE)
|
|
1504
1577
|
└── contexts/ ← Personal workspaces (NOT read by SCE)
|
|
@@ -1518,9 +1591,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1518
1591
|
If you have existing workspaces in `steering/workspaces/`:
|
|
1519
1592
|
```bash
|
|
1520
1593
|
# Move to new location
|
|
1521
|
-
mkdir -p .
|
|
1522
|
-
mv .
|
|
1523
|
-
rm -rf .
|
|
1594
|
+
mkdir -p .sce/contexts
|
|
1595
|
+
mv .sce/steering/workspaces/* .sce/contexts/
|
|
1596
|
+
rm -rf .sce/steering/workspaces
|
|
1524
1597
|
```
|
|
1525
1598
|
|
|
1526
1599
|
**Impact**:
|
|
@@ -1539,14 +1612,14 @@ rm -rf .kiro/steering/workspaces
|
|
|
1539
1612
|
|
|
1540
1613
|
**Issues Fixed**:
|
|
1541
1614
|
- Fixed `workspace-context-resolver.test.js` directory structure issues
|
|
1542
|
-
- Tests now create complete `.
|
|
1615
|
+
- Tests now create complete `.sce/specs` directory structure
|
|
1543
1616
|
- Added existence checks before cleanup operations
|
|
1544
1617
|
- Fixed `backup-manager.test.js` temp directory cleanup
|
|
1545
1618
|
- Added error handling for ENOTEMPTY errors on Linux
|
|
1546
1619
|
- Graceful cleanup with existence checks
|
|
1547
1620
|
|
|
1548
1621
|
**Technical Details**:
|
|
1549
|
-
- Changed from creating only `.
|
|
1622
|
+
- Changed from creating only `.sce` to creating `.sce/specs` subdirectories
|
|
1550
1623
|
- Added try-catch error handling for temp directory cleanup
|
|
1551
1624
|
- Added directory existence checks in afterEach cleanup
|
|
1552
1625
|
|
|
@@ -1662,9 +1735,9 @@ rm -rf .kiro/steering/workspaces
|
|
|
1662
1735
|
|
|
1663
1736
|
**Updated Files**:
|
|
1664
1737
|
- `CHANGELOG.md` - Added Phase 3-4 details to v1.9.0 entry
|
|
1665
|
-
- `.gitignore` - Added `.
|
|
1666
|
-
- `.
|
|
1667
|
-
- `.
|
|
1738
|
+
- `.gitignore` - Added `.sce/backups/` to ignore list
|
|
1739
|
+
- `.sce/specs/14-00-adopt-ux-improvement/tasks.md` - Marked all tasks as completed
|
|
1740
|
+
- `.sce/steering/CURRENT_CONTEXT.md` - Simplified after Spec completion
|
|
1668
1741
|
|
|
1669
1742
|
**Benefits**:
|
|
1670
1743
|
- Users have complete documentation for the new adoption system
|
|
@@ -1783,7 +1856,7 @@ rm -rf .kiro/steering/workspaces
|
|
|
1783
1856
|
- `--force`: Force overwrite with backup
|
|
1784
1857
|
- **Verbose Logging**: Detailed debugging system
|
|
1785
1858
|
- 5 log levels (ERROR, WARN, INFO, DEBUG, VERBOSE)
|
|
1786
|
-
- File-based logging (`.
|
|
1859
|
+
- File-based logging (`.sce/logs/adopt-{timestamp}.log`)
|
|
1787
1860
|
- Timestamps and elapsed time tracking
|
|
1788
1861
|
- Domain-specific logging methods
|
|
1789
1862
|
- Buffer management
|
|
@@ -1940,7 +2013,7 @@ rm -rf .kiro/steering/workspaces
|
|
|
1940
2013
|
- Three strategies: Skip all, Overwrite all, Review each file
|
|
1941
2014
|
- Per-file review with progress tracking ("Conflict 2 of 5")
|
|
1942
2015
|
- View file differences before deciding
|
|
1943
|
-
- **Selective Backup System**: Only backs up files being overwritten (not entire .
|
|
2016
|
+
- **Selective Backup System**: Only backs up files being overwritten (not entire .sce/)
|
|
1944
2017
|
- Efficient backup creation with conflict-specific IDs
|
|
1945
2018
|
- Selective restore capability
|
|
1946
2019
|
- Automatic backup before any overwrites
|
|
@@ -2007,7 +2080,7 @@ sce adopt --dry-run
|
|
|
2007
2080
|
**Benefits**:
|
|
2008
2081
|
- Full control over which files to keep or overwrite
|
|
2009
2082
|
- View differences before making decisions
|
|
2010
|
-
- Efficient backups (only affected files, not entire .
|
|
2083
|
+
- Efficient backups (only affected files, not entire .sce/)
|
|
2011
2084
|
- Safe adoption with automatic rollback support
|
|
2012
2085
|
- Clear feedback about what changed
|
|
2013
2086
|
- Suitable for both interactive and automated workflows
|
|
@@ -2084,7 +2157,7 @@ sce adopt --dry-run
|
|
|
2084
2157
|
- **Cross-platform path handling in SelectiveBackup** 🐛
|
|
2085
2158
|
- Fixed path construction bug in `lib/backup/selective-backup.js`
|
|
2086
2159
|
- Changed from string replacement (`this.backupDir.replace('/backups', '')`) to proper path joining
|
|
2087
|
-
- Now uses `path.join(projectPath, '.
|
|
2160
|
+
- Now uses `path.join(projectPath, '.sce', filePath)` for consistent cross-platform behavior
|
|
2088
2161
|
- Affects both `createSelectiveBackup()` and `restoreSelective()` methods
|
|
2089
2162
|
- Ensures backup/restore works correctly on Windows (backslash paths) and Unix (forward slash paths)
|
|
2090
2163
|
|
|
@@ -2102,24 +2175,24 @@ sce adopt --dry-run
|
|
|
2102
2175
|
This is a fundamental shift in how sce should be understood and used:
|
|
2103
2176
|
|
|
2104
2177
|
**Before (WRONG approach):**
|
|
2105
|
-
- `.
|
|
2178
|
+
- `.sce/README.md` was a "sce command manual"
|
|
2106
2179
|
- Taught AI "how to use sce tool"
|
|
2107
2180
|
- Listed 20+ commands with examples
|
|
2108
2181
|
- Users had to "learn sce" before using it
|
|
2109
2182
|
|
|
2110
2183
|
**After (CORRECT approach):**
|
|
2111
|
-
- `.
|
|
2184
|
+
- `.sce/README.md` is a "project development guide"
|
|
2112
2185
|
- Explains project follows Spec-driven methodology
|
|
2113
2186
|
- AI's role: follow the methodology, not learn the tool
|
|
2114
2187
|
- sce commands are helpers used automatically when needed
|
|
2115
2188
|
|
|
2116
2189
|
**Key insight from user feedback:**
|
|
2117
|
-
> "After installing sce, just tell AI to read .
|
|
2190
|
+
> "After installing sce, just tell AI to read .sce/README.md.
|
|
2118
2191
|
> AI will understand the methodology and naturally use sce commands
|
|
2119
2192
|
> to solve problems, rather than memorizing command syntax."
|
|
2120
2193
|
|
|
2121
2194
|
**What changed:**
|
|
2122
|
-
- `.
|
|
2195
|
+
- `.sce/README.md` - Completely rewritten as methodology guide (not tool manual)
|
|
2123
2196
|
- `sce adopt` completion message - Now says "Tell AI to read README" instead of "Create your first spec"
|
|
2124
2197
|
- `docs/quick-start.md` - Simplified from 5-minute tool tutorial to 2-minute methodology introduction
|
|
2125
2198
|
- Removed detailed Spec creation examples (that's AI's job, not user's manual work)
|
|
@@ -2132,7 +2205,7 @@ This is a fundamental shift in how sce should be understood and used:
|
|
|
2132
2205
|
|
|
2133
2206
|
**Migration:**
|
|
2134
2207
|
- Existing projects: Run `sce adopt --force` to get new README
|
|
2135
|
-
- Tell your AI: "Please read .
|
|
2208
|
+
- Tell your AI: "Please read .sce/README.md to understand project methodology"
|
|
2136
2209
|
- AI will automatically understand and follow Spec-driven approach
|
|
2137
2210
|
|
|
2138
2211
|
This aligns sce with its true purpose: **enforcing development methodology**, not being a CLI tool to learn.
|
|
@@ -2140,19 +2213,19 @@ This aligns sce with its true purpose: **enforcing development methodology**, no
|
|
|
2140
2213
|
## [1.5.5] - 2026-01-24
|
|
2141
2214
|
|
|
2142
2215
|
### Added
|
|
2143
|
-
- AI-friendly `.
|
|
2216
|
+
- AI-friendly `.sce/README.md` template explaining sce commands and usage
|
|
2144
2217
|
- Comprehensive sce command reference for AI tools (status, workflows, context export, etc.)
|
|
2145
2218
|
- AI workflow guide with step-by-step instructions for common tasks
|
|
2146
2219
|
- Spec structure documentation for AI understanding
|
|
2147
2220
|
- Best practices section for AI tools using sce
|
|
2148
2221
|
|
|
2149
2222
|
### Changed
|
|
2150
|
-
- Updated `.
|
|
2223
|
+
- Updated `.sce/README.md` template to focus on sce CLI usage instead of SCE Spec system philosophy
|
|
2151
2224
|
- Simplified template file list in adoption strategy (removed obsolete files)
|
|
2152
|
-
- Fixed template path in adoption strategy to point to correct location (`template/.
|
|
2225
|
+
- Fixed template path in adoption strategy to point to correct location (`template/.sce`)
|
|
2153
2226
|
|
|
2154
2227
|
### Fixed
|
|
2155
|
-
- AI tools can now understand what sce is and how to use it by reading `.
|
|
2228
|
+
- AI tools can now understand what sce is and how to use it by reading `.sce/README.md`
|
|
2156
2229
|
- Adoption command now correctly copies README from template
|
|
2157
2230
|
|
|
2158
2231
|
## [1.5.4] - 2026-01-24
|
|
@@ -2498,9 +2571,9 @@ Users are already comfortable with their AI tools. sce enhances their existing w
|
|
|
2498
2571
|
|
|
2499
2572
|
### Added
|
|
2500
2573
|
- **Project Adoption System**: Intelligent project adoption with three modes
|
|
2501
|
-
- Fresh adoption: Create complete .
|
|
2502
|
-
- Partial adoption: Add missing components to existing .
|
|
2503
|
-
- Full adoption: Upgrade existing complete .
|
|
2574
|
+
- Fresh adoption: Create complete .sce/ structure from scratch
|
|
2575
|
+
- Partial adoption: Add missing components to existing .sce/
|
|
2576
|
+
- Full adoption: Upgrade existing complete .sce/ to current version
|
|
2504
2577
|
- **Version Upgrade System**: Smooth version migration with migration scripts
|
|
2505
2578
|
- Incremental upgrades through intermediate versions
|
|
2506
2579
|
- Migration script support for breaking changes
|