universal-dev-standards 5.6.0 → 5.7.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 (98) hide show
  1. package/bundled/ai/standards/agent-communication-protocol.ai.yaml +8 -9
  2. package/bundled/ai/standards/agent-dispatch.ai.yaml +8 -9
  3. package/bundled/ai/standards/branch-completion.ai.yaml +8 -10
  4. package/bundled/ai/standards/capability-declaration.ai.yaml +4 -4
  5. package/bundled/ai/standards/change-batching-standards.ai.yaml +8 -10
  6. package/bundled/ai/standards/circuit-breaker.ai.yaml +7 -7
  7. package/bundled/ai/standards/disaster-recovery-drill.ai.yaml +1 -1
  8. package/bundled/ai/standards/dual-phase-output.ai.yaml +3 -3
  9. package/bundled/ai/standards/execution-history.ai.yaml +8 -10
  10. package/bundled/ai/standards/failure-source-taxonomy.ai.yaml +8 -10
  11. package/bundled/ai/standards/git-worktree.ai.yaml +1 -1
  12. package/bundled/ai/standards/governance-layer.ai.yaml +114 -0
  13. package/bundled/ai/standards/mock-boundary.ai.yaml +1 -1
  14. package/bundled/ai/standards/model-selection.ai.yaml +1 -1
  15. package/bundled/ai/standards/packaging-standards.ai.yaml +8 -8
  16. package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +8 -9
  17. package/bundled/ai/standards/pipeline-security-gates.ai.yaml +4 -0
  18. package/bundled/ai/standards/recovery-recipe-registry.ai.yaml +6 -10
  19. package/bundled/ai/standards/security-decision.ai.yaml +3 -3
  20. package/bundled/ai/standards/server-ops-security.ai.yaml +1 -1
  21. package/bundled/ai/standards/standard-admission-criteria.ai.yaml +1 -1
  22. package/bundled/ai/standards/standard-lifecycle-management.ai.yaml +1 -1
  23. package/bundled/ai/standards/supply-chain-attestation.ai.yaml +1 -1
  24. package/bundled/ai/standards/token-budget.ai.yaml +3 -3
  25. package/bundled/ai/standards/workflow-enforcement.ai.yaml +8 -11
  26. package/bundled/ai/standards/workflow-state-protocol.ai.yaml +8 -10
  27. package/bundled/core/adversarial-test.md +1 -1
  28. package/bundled/core/agent-behavior-discipline.md +4 -4
  29. package/bundled/core/agent-communication-protocol.md +5 -5
  30. package/bundled/core/circuit-breaker.md +4 -4
  31. package/bundled/core/container-security.md +8 -8
  32. package/bundled/core/disaster-recovery-drill.md +3 -3
  33. package/bundled/core/dual-phase-output.md +1 -1
  34. package/bundled/core/failure-source-taxonomy.md +3 -3
  35. package/bundled/core/git-worktree.md +1 -1
  36. package/bundled/core/governance-layer.md +151 -0
  37. package/bundled/core/llm-output-validation.md +2 -2
  38. package/bundled/core/mock-boundary.md +1 -1
  39. package/bundled/core/packaging-standards.md +14 -14
  40. package/bundled/core/policy-as-code-testing.md +9 -9
  41. package/bundled/core/recovery-recipe-registry.md +2 -2
  42. package/bundled/core/release-quality-manifest.md +2 -2
  43. package/bundled/core/sast-advanced.md +5 -5
  44. package/bundled/core/secure-op.md +5 -5
  45. package/bundled/core/security-decision.md +1 -1
  46. package/bundled/core/server-ops-security.md +15 -15
  47. package/bundled/core/smoke-test.md +1 -1
  48. package/bundled/core/standard-admission-criteria.md +1 -1
  49. package/bundled/core/standard-lifecycle-management.md +1 -1
  50. package/bundled/core/supply-chain-attestation.md +4 -4
  51. package/bundled/core/token-budget.md +3 -3
  52. package/bundled/locales/zh-CN/CHANGELOG.md +51 -4
  53. package/bundled/locales/zh-CN/README.md +11 -27
  54. package/bundled/locales/zh-CN/core/agent-communication-protocol.md +5 -5
  55. package/bundled/locales/zh-CN/core/circuit-breaker.md +1 -1
  56. package/bundled/locales/zh-CN/core/git-worktree.md +1 -1
  57. package/bundled/locales/zh-CN/core/packaging-standards.md +14 -14
  58. package/bundled/locales/zh-CN/core/recovery-recipe-registry.md +6 -9
  59. package/bundled/locales/zh-CN/core/standard-admission-criteria.md +1 -1
  60. package/bundled/locales/zh-CN/core/standard-lifecycle-management.md +1 -1
  61. package/bundled/locales/zh-CN/core/token-budget.md +1 -1
  62. package/bundled/locales/zh-TW/CHANGELOG.md +51 -4
  63. package/bundled/locales/zh-TW/README.md +11 -27
  64. package/bundled/locales/zh-TW/core/agent-communication-protocol.md +5 -5
  65. package/bundled/locales/zh-TW/core/capability-declaration.md +4 -4
  66. package/bundled/locales/zh-TW/core/circuit-breaker.md +7 -7
  67. package/bundled/locales/zh-TW/core/dual-phase-output.md +3 -3
  68. package/bundled/locales/zh-TW/core/failure-source-taxonomy.md +7 -9
  69. package/bundled/locales/zh-TW/core/governance-layer.md +159 -0
  70. package/bundled/locales/zh-TW/core/packaging-standards.md +14 -14
  71. package/bundled/locales/zh-TW/core/recovery-recipe-registry.md +6 -9
  72. package/bundled/locales/zh-TW/core/security-decision.md +3 -3
  73. package/bundled/locales/zh-TW/core/standard-admission-criteria.md +1 -1
  74. package/bundled/locales/zh-TW/core/standard-lifecycle-management.md +1 -1
  75. package/bundled/locales/zh-TW/core/token-budget.md +3 -3
  76. package/bundled/skills/README.md +23 -0
  77. package/bundled/skills/atdd-assistant/SKILL.md +4 -5
  78. package/bundled/skills/bdd-assistant/SKILL.md +4 -5
  79. package/bundled/skills/checkin-assistant/SKILL.md +4 -6
  80. package/bundled/skills/code-review-assistant/SKILL.md +4 -5
  81. package/bundled/skills/commands/observability.md +42 -0
  82. package/bundled/skills/commands/runbook.md +44 -0
  83. package/bundled/skills/commands/slo.md +45 -0
  84. package/bundled/skills/journey-test-assistant/SKILL.md +1 -1
  85. package/bundled/skills/orchestrate/SKILL.md +1 -1
  86. package/bundled/skills/plan/SKILL.md +1 -1
  87. package/bundled/skills/pr-automation-assistant/SKILL.md +4 -5
  88. package/bundled/skills/push/SKILL.md +1 -1
  89. package/bundled/skills/spec-driven-dev/SKILL.md +4 -5
  90. package/bundled/skills/sweep/SKILL.md +3 -3
  91. package/bundled/skills/tdd-assistant/SKILL.md +4 -5
  92. package/package.json +1 -1
  93. package/src/commands/flow.js +7 -5
  94. package/src/commands/start.js +7 -6
  95. package/src/commands/sweep.js +7 -6
  96. package/src/commands/workflow.js +7 -6
  97. package/src/core/agent-communication-protocol.js +10 -3
  98. package/standards-registry.json +50 -50
@@ -6,12 +6,10 @@ allowed-tools: Read, Grep, Glob, Bash(git diff:*), Bash(git status:*), Bash(npm
6
6
  disable-model-invocation: true
7
7
  ---
8
8
  <!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
9
- Checkin workflow orchestration (gate execution sequence, abort logic) extracted to:
10
- - DevAP flow: dev-autopilot/.devap/flows/checkin.flow.yaml
11
- - DevAP CLI: devap checkin (packages/cli/src/commands/checkin.ts)
12
- - Flow spec: dev-autopilot/standards/flow/checkin-gate-sequence.ai.yaml
13
- This Skill retains: quality gate definitions, checklist items, never-commit rules.
14
- Use `devap checkin` for enforced execution; this Skill for activity reference.
9
+ Checkin workflow orchestration (gate execution sequence, abort logic) relocated to adoption layer
10
+ (XSPEC-095, 2026-04-28). This Skill retains: quality gate definitions, checklist items,
11
+ never-commit rules.
12
+ For enforced execution, use your adoption layer's toolchain.
15
13
  -->
16
14
 
17
15
  # Check-in Assistant | 簽入助手
@@ -7,11 +7,10 @@ argument-hint: "[file path or branch | 檔案路徑或分支名稱]"
7
7
  disable-model-invocation: true
8
8
  ---
9
9
  <!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
10
- Code review workflow orchestration (4-step sequence, outcome gating) extracted to:
11
- - DevAP flow: dev-autopilot/.devap/flows/review.flow.yaml
12
- - DevAP CLI: devap review (packages/cli/src/commands/review.ts)
13
- This Skill retains: 8 review category definitions, BLOCKING/IMPORTANT/SUGGESTION/QUESTION/NOTE prefix semantics.
14
- Use `devap review` for enforced execution; this Skill for category and prefix reference.
10
+ Code review workflow orchestration (4-step sequence, outcome gating) relocated to adoption layer
11
+ (XSPEC-095, 2026-04-28). This Skill retains: 8 review category definitions,
12
+ BLOCKING/IMPORTANT/SUGGESTION/QUESTION/NOTE prefix semantics.
13
+ For enforced execution, use your adoption layer's toolchain.
15
14
  -->
16
15
 
17
16
  # Code Review Assistant | 程式碼審查助手
@@ -9,3 +9,45 @@ argument-hint: "[--checklist | --maturity | --alerting | service name | 服務
9
9
  See [SKILL.md](../observability-assistant/SKILL.md) for full documentation.
10
10
 
11
11
  詳見 [SKILL.md](../observability-assistant/SKILL.md)。
12
+
13
+ ## AI Agent Behavior | AI 代理行為
14
+
15
+ > Follows [AI Command Behavior Standards](../../core/ai-command-behavior.md)
16
+
17
+ ### Entry Router | 進入路由
18
+
19
+ | Input | AI Action |
20
+ |-------|-----------|
21
+ | `/observability` | 詢問目標服務,進行整體可觀測性評估 |
22
+ | `/observability --checklist` | 直接執行可觀測性檢查清單 |
23
+ | `/observability --maturity` | 執行成熟度評估並給出改善建議 |
24
+ | `/observability --alerting` | 進入告警規則設計與審查流程 |
25
+ | `/observability <service>` | 針對指定服務進行可觀測性分析 |
26
+
27
+ ### Interaction Script | 互動腳本
28
+
29
+ 1. 確認目標服務與現有可觀測性工具(Prometheus、Grafana、Datadog 等)
30
+ 2. 依選定模式執行評估或設計流程
31
+ 3. 展示現況分析與缺口報告
32
+
33
+ **Decision: 可觀測性缺口**
34
+ - IF 缺少 Metrics → 建議關鍵指標清單(RED/USE method)
35
+ - IF 缺少 Tracing → 建議分散式追蹤導入步驟
36
+ - IF 缺少 Logging → 建議結構化日誌規範
37
+ - IF 告警規則不完整 → 建議補齊 SLO-based alerting
38
+
39
+ 🛑 **STOP**: 缺口分析完成後等待使用者確認優先補齊項目
40
+
41
+ ### Stop Points | 停止點
42
+
43
+ | Stop Point | 等待內容 |
44
+ |-----------|---------|
45
+ | 現況評估報告後 | 使用者確認分析正確性 |
46
+ | 改善建議展示後 | 使用者決定優先實施項目 |
47
+
48
+ ### Error Handling | 錯誤處理
49
+
50
+ | Error Condition | AI Action |
51
+ |-----------------|-----------|
52
+ | 無法識別監控工具 | 詢問工具名稱或改以通用建議進行 |
53
+ | 服務不存在或名稱不明 | 請使用者確認服務名稱或列出已知服務 |
@@ -9,3 +9,47 @@ argument-hint: "[create | drill | coverage] [alert name | 告警名稱]"
9
9
  See [SKILL.md](../runbook-assistant/SKILL.md) for full documentation.
10
10
 
11
11
  詳見 [SKILL.md](../runbook-assistant/SKILL.md)。
12
+
13
+ ## AI Agent Behavior | AI 代理行為
14
+
15
+ > Follows [AI Command Behavior Standards](../../core/ai-command-behavior.md)
16
+
17
+ ### Entry Router | 進入路由
18
+
19
+ | Input | AI Action |
20
+ |-------|-----------|
21
+ | `/runbook` | 詢問目標告警或服務,進入 runbook 導覽選單 |
22
+ | `/runbook create` | 啟動 runbook 建立流程 |
23
+ | `/runbook create <alert>` | 針對指定告警直接建立 runbook |
24
+ | `/runbook drill` | 啟動 runbook 演練模擬流程 |
25
+ | `/runbook coverage` | 產生 runbook 覆蓋率報告 |
26
+
27
+ ### Interaction Script | 互動腳本
28
+
29
+ 1. 確認操作模式(建立 / 演練 / 覆蓋率)
30
+ 2. 依模式執行對應流程,收集必要資訊
31
+ 3. 輸出 runbook 草稿或報告
32
+
33
+ **Decision: 建立模式**
34
+ - IF 告警名稱已提供 → 直接填入模板並產生草稿
35
+ - IF 告警名稱未提供 → 詢問告警名稱、嚴重程度、負責團隊
36
+
37
+ **Decision: 演練模式**
38
+ - 逐步模擬告警觸發情境,確認執行步驟可行性
39
+ - IF 步驟有疑義 → 停止並請使用者確認或修正
40
+
41
+ 🛑 **STOP**: runbook 草稿產生後等待使用者審查與修正
42
+
43
+ ### Stop Points | 停止點
44
+
45
+ | Stop Point | 等待內容 |
46
+ |-----------|---------|
47
+ | 草稿產生後 | 使用者審查並確認內容正確 |
48
+ | 演練每個關鍵步驟後 | 使用者確認步驟可執行 |
49
+
50
+ ### Error Handling | 錯誤處理
51
+
52
+ | Error Condition | AI Action |
53
+ |-----------------|-----------|
54
+ | 告警名稱不明確 | 請使用者提供告警名稱或描述觸發條件 |
55
+ | 無現有 runbook 可演練 | 提示先執行 `create` 建立 runbook |
@@ -9,3 +9,48 @@ argument-hint: "[create | review | budget] [service name | 服務名稱]"
9
9
  See [SKILL.md](../slo-assistant/SKILL.md) for full documentation.
10
10
 
11
11
  詳見 [SKILL.md](../slo-assistant/SKILL.md)。
12
+
13
+ ## AI Agent Behavior | AI 代理行為
14
+
15
+ > Follows [AI Command Behavior Standards](../../core/ai-command-behavior.md)
16
+
17
+ ### Entry Router | 進入路由
18
+
19
+ | Input | AI Action |
20
+ |-------|-----------|
21
+ | `/slo` | 詢問目標服務,進入 SLO 設計導覽 |
22
+ | `/slo create` | 啟動新 SLO 建立流程 |
23
+ | `/slo create <service>` | 針對指定服務直接啟動 SLO 建立 |
24
+ | `/slo review` | 審查現有 SLO 設定合理性 |
25
+ | `/slo budget` | 查看 Error Budget 消耗狀況與建議 |
26
+
27
+ ### Interaction Script | 互動腳本
28
+
29
+ 1. 確認操作模式(建立 / 審查 / Error Budget)
30
+ 2. 依模式引導使用者完成 SLI 選擇、目標設定或現況分析
31
+ 3. 輸出 SLO 定義草稿或 Error Budget 報告
32
+
33
+ **Decision: 建立模式**
34
+ - 引導選擇 SLI 類型(Availability / Latency / Quality)
35
+ - 詢問目標值(如 99.9%)與測量窗口(rolling 28d)
36
+ - IF 目標值過高(>99.99%)→ 警告工程成本,建議先設較保守目標
37
+
38
+ **Decision: Error Budget 模式**
39
+ - IF budget 剩餘 < 10% → 建議暫停非必要發布
40
+ - IF budget 已燒盡 → 提示凍結發布,優先處理可靠性
41
+
42
+ 🛑 **STOP**: SLO 草稿完成後等待使用者確認目標值與告警閾值
43
+
44
+ ### Stop Points | 停止點
45
+
46
+ | Stop Point | 等待內容 |
47
+ |-----------|---------|
48
+ | SLI 選擇完成後 | 使用者確認選定的可靠性指標 |
49
+ | SLO 草稿產生後 | 使用者審查目標值與告警設定 |
50
+
51
+ ### Error Handling | 錯誤處理
52
+
53
+ | Error Condition | AI Action |
54
+ |-----------------|-----------|
55
+ | 服務無監控資料 | 建議先導入基礎 metrics,再設定 SLO |
56
+ | 目標值格式錯誤 | 提示正確格式(如 `99.9%` 或 `0.999`) |
@@ -199,5 +199,5 @@ describe.skipIf(!BASE_URL)("Platform Admin Journey — T-001 → T-010", () => {
199
199
  ## 參考
200
200
 
201
201
  - 標準:[user-journey-testing.ai.yaml](../../.standards/user-journey-testing.ai.yaml)
202
- - 相關 XSPEC:XSPEC-128(UDS 標準定義)、XSPEC-129(VibeOps 實作範例)
202
+ - 相關 XSPEC:XSPEC-128(UDS 標準定義)
203
203
  - 相關 Skill:`/e2e`(AC 層測試)、`/atdd`(驗收條件定義)
@@ -164,4 +164,4 @@ After completing the task, run: {task.verify_command}
164
164
  | 版本 | 日期 | 變更 |
165
165
  |------|------|------|
166
166
  | 2.0.0 | 2026-04-28 | 升格為 UDS 正式 Skill;Step 1 改為 Claude-native 解析(移除 plan-resolver-cli.js 依賴);新增 Quality Gate / Fix Loop 章節(XSPEC-097 Phase 3) |
167
- | 1.0.0 | 2026-04-09 | 初始發布(DevAP packages/cli/skills/) |
167
+ | 1.0.0 | 2026-04-09 | 初始發布(從上游遷移) |
@@ -231,4 +231,4 @@ Claude 對 plan.json 執行以下驗證(無需外部引擎):
231
231
  | 版本 | 日期 | 變更 |
232
232
  |------|------|------|
233
233
  | 2.0.0 | 2026-04-28 | 升格為 UDS 正式 Skill;移除 [DEVAP] 標記;Step 9 改為 Claude-native 驗證(XSPEC-097 Phase 3) |
234
- | 1.0.0 | 2026-04-09 | 初始發布(DevAP packages/cli/skills/) |
234
+ | 1.0.0 | 2026-04-09 | 初始發布(從上游遷移) |
@@ -10,11 +10,10 @@ argument-hint: "[branch name or PR number | 分支名稱或 PR 編號]"
10
10
  ---
11
11
  <!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
12
12
  PR lifecycle orchestration (5-step: CREATE→REVIEW→APPROVE→MERGE→CLEANUP,
13
- size gate >400 lines block, CI gate, squash/merge strategy, gh CLI integration) extracted to:
14
- - DevAP flow: dev-autopilot/.devap/flows/pr.flow.yaml
15
- - DevAP CLI: devap pr (packages/cli/src/commands/pr.ts)
16
- This Skill retains: PR description template, merge strategy decision matrix, auto-review trigger rules.
17
- Use `devap pr` for enforced lifecycle; this Skill for template and rule reference.
13
+ size gate >400 lines block, CI gate, squash/merge strategy, gh CLI integration) relocated to
14
+ adoption layer (XSPEC-095, 2026-04-28). This Skill retains: PR description template,
15
+ merge strategy decision matrix, auto-review trigger rules.
16
+ For enforced lifecycle execution, use your adoption layer's toolchain.
18
17
  -->
19
18
 
20
19
  # PR Automation Assistant | PR 自動化助手
@@ -238,7 +238,7 @@ After `/push` completes, the AI assistant should suggest:
238
238
 
239
239
  | Version | Date | Changes |
240
240
  |---------|------|---------|
241
- | 2.0.0 | 2026-04-28 | Restore workflow execution steps (DevAP decomposition XSPEC-097); remove deprecation notice |
241
+ | 2.0.0 | 2026-04-28 | Restore workflow execution steps (XSPEC-097 採用層解耦); remove deprecation notice |
242
242
  | 1.0.0 | 2026-04-23 | Initial release — XSPEC-081 Phase 1 |
243
243
 
244
244
  ---
@@ -6,11 +6,10 @@ allowed-tools: Read, Write, Grep, Glob, Bash(git:*)
6
6
  argument-hint: "[spec name or feature | 規格名稱或功能]"
7
7
  ---
8
8
  <!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
9
- SDD lifecycle orchestration (7-phase state machine, phase transitions, gate checks) extracted to:
10
- - DevAP flow: dev-autopilot/.devap/flows/sdd.flow.yaml
11
- - DevAP CLI: devap sdd (packages/cli/src/commands/sdd.ts) with --phase jump support
12
- This Skill retains: spec format definition, state descriptions, delta operations, decision tree.
13
- Use `devap sdd` for enforced lifecycle; this Skill for spec structure reference.
9
+ SDD lifecycle orchestration (7-phase state machine, phase transitions, gate checks) relocated to
10
+ adoption layer (XSPEC-095, 2026-04-28). This Skill retains: spec format definition, state
11
+ descriptions, delta operations, decision tree.
12
+ For enforced lifecycle execution, use your adoption layer's toolchain.
14
13
  -->
15
14
 
16
15
  # Spec-Driven Development Assistant | 規格驅動開發助手
@@ -34,7 +34,7 @@ Optionally auto-fix safe patterns (console.log, debugger statements).
34
34
  ```bash
35
35
  /sweep # Scan current directory, report findings
36
36
  /sweep --fix # Scan and auto-fix fixable patterns
37
- /sweep --report # Scan and save report to .devap/sweep-report.json
37
+ /sweep --report # Scan and save report to .uds/sweep-report.json
38
38
  /sweep --path src/ # Scan specific directory
39
39
  /sweep --exclude "**/*.test.ts" # Exclude patterns (glob)
40
40
  ```
@@ -78,7 +78,7 @@ Use Edit tool to apply changes file by file.
78
78
  Report: "Fixed N findings in M files."
79
79
 
80
80
  ### Step 6: Save Report (if --report)
81
- Write findings to `.devap/sweep-report.json`:
81
+ Write findings to `.uds/sweep-report.json`:
82
82
  ```json
83
83
  {
84
84
  "timestamp": "<ISO8601>",
@@ -136,7 +136,7 @@ After `/sweep` completes, suggest:
136
136
 
137
137
  | Version | Date | Changes |
138
138
  |---------|------|---------|
139
- | 1.0.0 | 2026-04-28 | Initial release — XSPEC-097 Phase 1 (from DevAP sweep module) |
139
+ | 1.0.0 | 2026-04-28 | Initial release — XSPEC-097 Phase 1 (從上游遷移) |
140
140
 
141
141
  ---
142
142
 
@@ -6,11 +6,10 @@ allowed-tools: Read, Write, Grep, Glob, Bash(npm test:*), Bash(npx vitest:*)
6
6
  argument-hint: "[feature or file | 功能或檔案]"
7
7
  ---
8
8
  <!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
9
- TDD flow orchestration (RED→GREEN→REFACTOR cycle, test execution gates) extracted to:
10
- - DevAP flow: dev-autopilot/.devap/flows/tdd.flow.yaml
11
- - DevAP CLI: devap tdd (packages/cli/src/commands/tdd.ts)
12
- This Skill retains: TDD principles, FIRST rules, AAA format, language examples, workflow guide.
13
- Use `devap tdd` for enforced interactive cycle; this Skill for practice reference.
9
+ TDD flow orchestration (RED→GREEN→REFACTOR cycle, test execution gates) relocated to adoption
10
+ layer (XSPEC-095, 2026-04-28). This Skill retains: TDD principles, FIRST rules, AAA format,
11
+ language examples, workflow guide.
12
+ For enforced interactive cycle, use your adoption layer's toolchain.
14
13
  -->
15
14
 
16
15
  # TDD Assistant | TDD 助手
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-dev-standards",
3
- "version": "5.6.0",
3
+ "version": "5.7.0",
4
4
  "description": "CLI tool for adopting Universal Development Standards",
5
5
  "keywords": [
6
6
  "documentation",
@@ -3,13 +3,15 @@
3
3
  *
4
4
  * CLI 命令:管理自訂 SDLC 流程(create/list/validate/diff/export/import)。
5
5
  *
6
- * @deprecated XSPEC-095 (2026-04-28): This command is superseded by `devap flow`.
7
- * The list/validate/diff operations have been extracted to DevAP:
8
- * - CLI command: dev-autopilot/packages/cli/src/commands/flow-mgmt.ts
6
+ * @deprecated XSPEC-095 (2026-04-28): Runtime relocated to adoption layer.
7
+ * The list/validate/diff operations are adoption-layer responsibility:
8
+ * adoption layers must implement equivalent flow management commands
9
+ * in their own toolchain.
9
10
  *
10
- * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
11
+ * 棄用理由:UDS 專注於活動定義;流程編排由採用層承擔(XSPEC-086 /
12
+ * DEC-049 — orchestration runtime moved to adoption layer 2026-04-28)。
11
13
  * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
12
- * 建議遷移:`uds flow list/validate/diff` → `devap flow list/validate/diff`
14
+ * 建議遷移:實作於採用層工具鏈。
13
15
  */
14
16
 
15
17
  import { existsSync, readdirSync, readFileSync, writeFileSync, mkdirSync } from 'fs';
@@ -3,14 +3,15 @@
3
3
  *
4
4
  * 啟動一個具名任務(Mission)並設定任務意圖。
5
5
  *
6
- * @deprecated XSPEC-095 (2026-04-28): This command is superseded by `devap mission`.
7
- * The orchestration logic has been extracted to DevAP:
8
- * - Core module: dev-autopilot/packages/core/src/mission/
9
- * - CLI command: dev-autopilot/packages/cli/src/commands/mission.ts
6
+ * @deprecated XSPEC-095 (2026-04-28): Runtime relocated to adoption layer.
7
+ * The orchestration logic is adoption-layer responsibility:
8
+ * adoption layers must implement equivalent mission start commands
9
+ * in their own toolchain.
10
10
  *
11
- * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
11
+ * 棄用理由:UDS 專注於活動定義;流程編排由採用層承擔(XSPEC-086 /
12
+ * DEC-049 — orchestration runtime moved to adoption layer 2026-04-28)。
12
13
  * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
13
- * 建議遷移:`uds start ...` → `devap mission start <type> "<intent>"`
14
+ * 建議遷移:實作於採用層工具鏈。
14
15
  */
15
16
  import chalk from 'chalk';
16
17
  import { select, input, confirm as inquirerConfirm } from '@inquirer/prompts';
@@ -6,14 +6,15 @@
6
6
  *
7
7
  * @module commands/sweep
8
8
  * @see docs/specs/system/vibe-coding-integration.md (AC-2)
9
- * @deprecated XSPEC-095 (2026-04-28): This command is superseded by `devap sweep`.
10
- * The orchestration logic has been extracted to DevAP:
11
- * - Core module: dev-autopilot/packages/core/src/sweep/
12
- * - CLI command: dev-autopilot/packages/cli/src/commands/sweep.ts
9
+ * @deprecated XSPEC-095 (2026-04-28): Runtime relocated to adoption layer.
10
+ * The orchestration logic is adoption-layer responsibility:
11
+ * adoption layers must implement equivalent sweep commands in their
12
+ * own toolchain.
13
13
  *
14
- * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
14
+ * 棄用理由:UDS 專注於活動定義;流程編排由採用層承擔(XSPEC-086 /
15
+ * DEC-049 — orchestration runtime moved to adoption layer 2026-04-28)。
15
16
  * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
16
- * 建議遷移:`uds sweep ...` → `devap sweep [--fix] [--report]`
17
+ * 建議遷移:實作於採用層工具鏈。
17
18
  */
18
19
 
19
20
  import chalk from 'chalk';
@@ -4,14 +4,15 @@
4
4
  * CLI commands for listing and installing UDS workflows.
5
5
  *
6
6
  * @version 1.0.0
7
- * @deprecated XSPEC-095 (2026-04-28): This command is superseded by `devap workflow`.
8
- * The orchestration logic has been extracted to DevAP:
9
- * - Core module: dev-autopilot/packages/core/src/workflow-state/ + core/src/flow/
10
- * - CLI command: dev-autopilot/packages/cli/src/commands/workflow.ts
7
+ * @deprecated XSPEC-095 (2026-04-28): Runtime relocated to adoption layer.
8
+ * The orchestration logic is adoption-layer responsibility:
9
+ * adoption layers must implement equivalent workflow commands in
10
+ * their own toolchain.
11
11
  *
12
- * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
12
+ * 棄用理由:UDS 專注於活動定義;流程編排由採用層承擔(XSPEC-086 /
13
+ * DEC-049 — orchestration runtime moved to adoption layer 2026-04-28)。
13
14
  * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
14
- * 建議遷移:`uds workflow ...` → `devap workflow list/execute/status`
15
+ * 建議遷移:實作於採用層工具鏈。
15
16
  */
16
17
 
17
18
  import chalk from 'chalk';
@@ -11,6 +11,12 @@ export const UNIFIED_STATUSES = [
11
11
  'needs_context', 'skipped', 'timeout', 'unknown',
12
12
  ];
13
13
 
14
+ // Reference status mappings. `uds` is UDS's own native status set;
15
+ // the other two entries are illustrative example mappings showing how
16
+ // adoption-layer runtimes can plug their own status vocabularies into
17
+ // the unified status code set. Adoption layers should add their own
18
+ // keys (or call mapStatus with their own project name) — these example
19
+ // keys are not endorsements of any specific downstream product.
14
20
  const STATUS_MAP = {
15
21
  uds: {
16
22
  DONE: 'success',
@@ -18,7 +24,7 @@ const STATUS_MAP = {
18
24
  NEEDS_CONTEXT: 'needs_context',
19
25
  BLOCKED: 'blocked',
20
26
  },
21
- devap: {
27
+ adapter_example_a: {
22
28
  success: 'success',
23
29
  failed: 'failed',
24
30
  skipped: 'skipped',
@@ -27,7 +33,7 @@ const STATUS_MAP = {
27
33
  needs_context: 'needs_context',
28
34
  blocked: 'blocked',
29
35
  },
30
- vibeops: {
36
+ adapter_example_b: {
31
37
  success: 'success',
32
38
  partial: 'success_partial',
33
39
  failure: 'failed',
@@ -38,7 +44,8 @@ const STATUS_MAP = {
38
44
  * Map a project-specific status to unified status code.
39
45
  * Unknown statuses map to 'unknown' with a warning.
40
46
  * @param {string} status - Project-specific status code
41
- * @param {string} project - Source project ('uds' | 'devap' | 'vibeops')
47
+ * @param {string} project - Source project (e.g. 'uds', 'adapter_example_a',
48
+ * 'adapter_example_b', or any custom adoption-layer project key)
42
49
  * @returns {{ unified: string, warning?: { original: string, project: string } }}
43
50
  */
44
51
  export function mapStatus(status, project) {