scene-capability-engine 3.0.8 → 3.2.0

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/docs/331-poc-adaptation-roadmap.md +21 -2
  3. package/docs/331-poc-dual-track-integration-guide.md +10 -6
  4. package/docs/331-poc-weekly-delivery-checklist.md +5 -0
  5. package/docs/README.md +6 -0
  6. package/docs/command-reference.md +262 -4
  7. package/docs/handoff-profile-integration-guide.md +88 -0
  8. package/docs/interactive-customization/331-poc-sce-integration-checklist.md +148 -0
  9. package/docs/interactive-customization/README.md +362 -0
  10. package/docs/interactive-customization/adapter-extension-contract.md +55 -0
  11. package/docs/interactive-customization/adapter-extension-contract.sample.json +59 -0
  12. package/docs/interactive-customization/adapter-extension-contract.schema.json +192 -0
  13. package/docs/interactive-customization/approval-role-policy-baseline.json +36 -0
  14. package/docs/interactive-customization/change-intent.schema.json +72 -0
  15. package/docs/interactive-customization/change-plan.sample.json +41 -0
  16. package/docs/interactive-customization/change-plan.schema.json +125 -0
  17. package/docs/interactive-customization/cross-industry-replication-guide.md +49 -0
  18. package/docs/interactive-customization/dialogue-governance-policy-baseline.json +49 -0
  19. package/docs/interactive-customization/domain-pack-extension-flow.md +71 -0
  20. package/docs/interactive-customization/execution-record.schema.json +62 -0
  21. package/docs/interactive-customization/governance-alert-playbook.md +51 -0
  22. package/docs/interactive-customization/governance-report-template.md +46 -0
  23. package/docs/interactive-customization/governance-threshold-baseline.json +14 -0
  24. package/docs/interactive-customization/guardrail-policy-baseline.json +27 -0
  25. package/docs/interactive-customization/high-risk-action-catalog.json +22 -0
  26. package/docs/interactive-customization/moqui-adapter-interface.md +40 -0
  27. package/docs/interactive-customization/moqui-context-provider.sample.json +72 -0
  28. package/docs/interactive-customization/moqui-copilot-context-contract.json +50 -0
  29. package/docs/interactive-customization/moqui-copilot-integration-guide.md +100 -0
  30. package/docs/interactive-customization/moqui-interactive-template-playbook.md +94 -0
  31. package/docs/interactive-customization/non-technical-usability-report.md +57 -0
  32. package/docs/interactive-customization/page-context.sample.json +73 -0
  33. package/docs/interactive-customization/page-context.schema.json +150 -0
  34. package/docs/interactive-customization/phase-acceptance-evidence.md +110 -0
  35. package/docs/interactive-customization/runtime-mode-policy-baseline.json +99 -0
  36. package/docs/moqui-template-core-library-playbook.md +28 -0
  37. package/docs/release-checklist.md +29 -4
  38. package/docs/security-governance-default-baseline.md +54 -0
  39. package/docs/starter-kit/README.md +50 -0
  40. package/docs/starter-kit/handoff-manifest.starter.json +32 -0
  41. package/docs/starter-kit/handoff-profile-ci.sample.yml +53 -0
  42. package/docs/starter-kit/release.workflow.sample.yml +41 -0
  43. package/docs/zh/README.md +12 -0
  44. package/lib/auto/moqui-recovery-sequence.js +62 -0
  45. package/lib/commands/auto.js +245 -34
  46. package/lib/commands/scene.js +867 -0
  47. package/lib/data/moqui-capability-lexicon.json +14 -1
  48. package/lib/interactive-customization/change-plan-gate-core.js +201 -0
  49. package/lib/interactive-customization/index.js +9 -0
  50. package/lib/interactive-customization/moqui-interactive-adapter.js +732 -0
  51. package/package.json +27 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scene-capability-engine",
3
- "version": "3.0.8",
3
+ "version": "3.2.0",
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": {
@@ -31,6 +31,8 @@
31
31
  "test:integration": "npx jest tests/integration",
32
32
  "test:properties": "npx jest tests/properties",
33
33
  "test:handles": "npx jest --config=jest.config.js --runInBand --detectOpenHandles",
34
+ "test:interactive-loop-smoke": "node scripts/interactive-loop-smoke.js --json",
35
+ "test:interactive-flow-smoke": "node scripts/interactive-flow-smoke.js --json",
34
36
  "test:skip-audit": "node scripts/check-skip-allowlist.js",
35
37
  "test:brand-consistency": "node scripts/check-branding-consistency.js",
36
38
  "test:watch": "npx jest --watch",
@@ -38,10 +40,33 @@
38
40
  "report:moqui-metadata": "node scripts/moqui-metadata-extract.js --json",
39
41
  "report:moqui-rebuild": "node scripts/moqui-standard-rebuild.js --json",
40
42
  "gate:moqui-rebuild": "node scripts/moqui-rebuild-gate.js",
43
+ "gate:matrix-regression": "node scripts/matrix-regression-gate.js --json",
41
44
  "report:moqui-baseline": "node scripts/moqui-template-baseline-report.js --json",
42
45
  "report:moqui-summary": "node scripts/moqui-release-summary.js --json",
46
+ "report:matrix-remediation-queue": "node scripts/moqui-matrix-remediation-queue.js --json",
47
+ "run:matrix-remediation-phased": "node scripts/moqui-matrix-remediation-phased-runner.js",
48
+ "run:matrix-remediation-from-baseline": "node scripts/moqui-matrix-remediation-phased-runner.js --baseline .kiro/reports/release-evidence/moqui-template-baseline.json",
49
+ "run:matrix-remediation-clusters": "node bin/sce.js auto close-loop-batch .kiro/auto/matrix-remediation.capability-clusters.json --format json --batch-parallel 1 --batch-agent-budget 2 --batch-retry-until-complete --json",
50
+ "run:matrix-remediation-clusters-phased": "node scripts/moqui-matrix-remediation-phased-runner.js --cluster-goals .kiro/auto/matrix-remediation.capability-clusters.json",
51
+ "gate:interactive-plan": "node scripts/interactive-change-plan-gate.js --plan docs/interactive-customization/change-plan.sample.json --json",
52
+ "report:interactive-context-bridge": "node scripts/interactive-context-bridge.js --input docs/interactive-customization/moqui-context-provider.sample.json --json",
53
+ "report:interactive-dialogue-governance": "node scripts/interactive-dialogue-governance.js --goal \"Improve order entry speed without changing payment policy\" --context docs/interactive-customization/page-context.sample.json --json",
54
+ "report:interactive-intent": "node scripts/interactive-intent-build.js --context docs/interactive-customization/page-context.sample.json --goal \"Must improve order approval speed without changing payment authorization policy\" --user-id demo-user --json",
55
+ "report:interactive-plan": "node scripts/interactive-plan-build.js --intent .kiro/reports/interactive-change-intent.json --context docs/interactive-customization/page-context.sample.json --json",
56
+ "report:interactive-runtime-policy": "node scripts/interactive-runtime-policy-evaluate.js --plan docs/interactive-customization/change-plan.sample.json --json",
57
+ "report:interactive-work-order": "node scripts/interactive-work-order-build.js --plan docs/interactive-customization/change-plan.sample.json --json",
58
+ "report:interactive-approval-status": "node scripts/interactive-approval-workflow.js --action status --json",
59
+ "report:interactive-adapter-capabilities": "node scripts/interactive-moqui-adapter.js --action capabilities --json",
60
+ "run:interactive-loop": "node scripts/interactive-customization-loop.js",
61
+ "run:interactive-flow": "node scripts/interactive-flow.js",
62
+ "log:interactive-feedback": "node scripts/interactive-feedback-log.js",
63
+ "report:interactive-governance": "node scripts/interactive-governance-report.js --period weekly --json",
64
+ "report:release-ops-weekly": "node scripts/release-ops-weekly-summary.js --json",
65
+ "gate:release-ops-weekly": "node scripts/release-weekly-ops-gate.js",
66
+ "gate:release-asset-integrity": "node scripts/release-asset-integrity-check.js",
67
+ "report:release-risk-remediation": "node scripts/release-risk-remediation-bundle.js --json",
43
68
  "report:moqui-core-regression": "node scripts/moqui-core-regression-suite.js --json",
44
- "prepublishOnly": "npm run test:full && npm run test:skip-audit && npm run test:brand-consistency",
69
+ "prepublishOnly": "npm run test:full && npm run test:skip-audit && npm run test:brand-consistency && npm run report:interactive-governance -- --fail-on-alert",
45
70
  "publish:manual": "npm publish --access public",
46
71
  "install-global": "npm install -g .",
47
72
  "uninstall-global": "npm uninstall -g scene-capability-engine"