universal-dev-standards 6.8.0 → 6.9.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 (194) hide show
  1. package/bin/uds.js +12 -2
  2. package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +14 -2
  3. package/bundled/ai/standards/adr-standards.ai.yaml +14 -2
  4. package/bundled/ai/standards/code-review.ai.yaml +13 -3
  5. package/bundled/ai/standards/commit-message.ai.yaml +8 -4
  6. package/bundled/ai/standards/deferred-item-exit.ai.yaml +225 -0
  7. package/bundled/ai/standards/feature-discovery-standards.ai.yaml +14 -2
  8. package/bundled/ai/standards/governance-layer.ai.yaml +128 -2
  9. package/bundled/ai/standards/logging.ai.yaml +2 -2
  10. package/bundled/ai/standards/retrospective-standards.ai.yaml +14 -2
  11. package/bundled/ai/standards/reverse-engineering-standards.ai.yaml +73 -2
  12. package/bundled/ai/standards/security-standards.ai.yaml +2 -2
  13. package/bundled/ai/standards/spec-driven-development.ai.yaml +14 -2
  14. package/bundled/ai/standards/tech-debt-standards.ai.yaml +87 -3
  15. package/bundled/ai/standards/turn-completion-integrity.ai.yaml +131 -0
  16. package/bundled/core/acceptance-criteria-traceability.md +5 -2
  17. package/bundled/core/adr-standards.md +26 -2
  18. package/bundled/core/code-review-checklist.md +5 -2
  19. package/bundled/core/context-aware-loading.md +1 -1
  20. package/bundled/core/deferred-item-exit.md +254 -0
  21. package/bundled/core/feature-discovery-standards.md +5 -1
  22. package/bundled/core/governance-layer.md +114 -2
  23. package/bundled/core/retrospective-standards.md +4 -2
  24. package/bundled/core/reverse-engineering-standards.md +81 -2
  25. package/bundled/core/spec-driven-development.md +8 -2
  26. package/bundled/core/tech-debt-standards.md +67 -8
  27. package/bundled/core/turn-completion-integrity.md +196 -0
  28. package/bundled/hooks/check-dangerous-cmd.mjs +60 -0
  29. package/bundled/hooks/check-logging-standard.mjs +59 -0
  30. package/bundled/hooks/check-turn-completion.mjs +233 -0
  31. package/bundled/hooks/inject-standards.mjs +183 -0
  32. package/bundled/hooks/telemetry-wrapper.mjs +77 -0
  33. package/bundled/hooks/turn-completion/detect.mjs +99 -0
  34. package/bundled/hooks/turn-completion/locales/en.mjs +159 -0
  35. package/bundled/hooks/turn-completion/locales/zh-TW.mjs +166 -0
  36. package/bundled/hooks/validate-commit-msg.mjs +104 -0
  37. package/bundled/locales/zh-CN/CHANGELOG.md +47 -3
  38. package/bundled/locales/zh-CN/CLAUDE.md +1 -1
  39. package/bundled/locales/zh-CN/README.md +2 -2
  40. package/bundled/locales/zh-CN/SECURITY.md +1 -1
  41. package/bundled/locales/zh-CN/core/adr-standards.md +1 -1
  42. package/bundled/locales/zh-CN/core/governance-layer.md +118 -6
  43. package/bundled/locales/zh-CN/core/retrospective-standards.md +1 -1
  44. package/bundled/locales/zh-CN/core/tech-debt-standards.md +71 -4
  45. package/bundled/locales/zh-CN/core/turn-completion-integrity.md +190 -0
  46. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +8 -1
  47. package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +29 -68
  48. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +25 -15
  49. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +1 -2
  50. package/bundled/locales/zh-CN/integrations/google-antigravity/{INSTRUCTIONS.md → AGENTS.md} +1 -1
  51. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +3 -3
  52. package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +2 -0
  53. package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +2 -0
  54. package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +22 -12
  55. package/bundled/locales/zh-CN/skills/brainstorm-assistant/guide.md +12 -9
  56. package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +1 -0
  57. package/bundled/locales/zh-CN/skills/commands/brainstorm.md +17 -13
  58. package/bundled/locales/zh-CN/skills/commands/config.md +0 -1
  59. package/bundled/locales/zh-CN/skills/commands/init.md +1 -2
  60. package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +2 -0
  61. package/bundled/locales/zh-CN/skills/contract-test-assistant/SKILL.md +1 -0
  62. package/bundled/locales/zh-CN/skills/dev-methodology/SKILL.md +2 -0
  63. package/bundled/locales/zh-CN/skills/observability-assistant/SKILL.md +1 -0
  64. package/bundled/locales/zh-CN/skills/project-structure-guide/SKILL.md +1 -0
  65. package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +3 -0
  66. package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +2 -0
  67. package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +3 -0
  68. package/bundled/locales/zh-CN/skills/runbook-assistant/SKILL.md +1 -0
  69. package/bundled/locales/zh-CN/skills/slo-assistant/SKILL.md +1 -0
  70. package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +2 -0
  71. package/bundled/locales/zh-TW/CHANGELOG.md +47 -3
  72. package/bundled/locales/zh-TW/CLAUDE.md +1 -1
  73. package/bundled/locales/zh-TW/README.md +2 -2
  74. package/bundled/locales/zh-TW/SECURITY.md +1 -1
  75. package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +2 -0
  76. package/bundled/locales/zh-TW/core/adr-standards.md +26 -5
  77. package/bundled/locales/zh-TW/core/code-review-checklist.md +2 -0
  78. package/bundled/locales/zh-TW/core/container-image-standards.md +2 -2
  79. package/bundled/locales/zh-TW/core/contract-testing-standards.md +2 -2
  80. package/bundled/locales/zh-TW/core/cross-flow-regression.md +8 -7
  81. package/bundled/locales/zh-TW/core/data-contract.md +2 -2
  82. package/bundled/locales/zh-TW/core/data-migration-testing.md +2 -2
  83. package/bundled/locales/zh-TW/core/data-pipeline.md +2 -2
  84. package/bundled/locales/zh-TW/core/deferred-item-exit.md +251 -0
  85. package/bundled/locales/zh-TW/core/documentation-writing-standards.md +228 -3
  86. package/bundled/locales/zh-TW/core/full-coverage-testing.md +15 -2
  87. package/bundled/locales/zh-TW/core/governance-layer.md +118 -5
  88. package/bundled/locales/zh-TW/core/iac-design-principles.md +2 -2
  89. package/bundled/locales/zh-TW/core/incident-response.md +2 -2
  90. package/bundled/locales/zh-TW/core/model-provenance.md +4 -2
  91. package/bundled/locales/zh-TW/core/pii-classification.md +42 -6
  92. package/bundled/locales/zh-TW/core/prd-standards.md +4 -2
  93. package/bundled/locales/zh-TW/core/product-metrics-standards.md +4 -2
  94. package/bundled/locales/zh-TW/core/release-readiness-gate.md +2 -2
  95. package/bundled/locales/zh-TW/core/resource-cost-boundary.md +2 -2
  96. package/bundled/locales/zh-TW/core/retrospective-standards.md +5 -3
  97. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +83 -5
  98. package/bundled/locales/zh-TW/core/runbook.md +2 -2
  99. package/bundled/locales/zh-TW/core/schema-evolution.md +2 -2
  100. package/bundled/locales/zh-TW/core/secret-management-standards.md +2 -2
  101. package/bundled/locales/zh-TW/core/slo-sli.md +2 -2
  102. package/bundled/locales/zh-TW/core/spec-driven-development.md +2 -0
  103. package/bundled/locales/zh-TW/core/tech-debt-standards.md +71 -4
  104. package/bundled/locales/zh-TW/core/turn-completion-integrity.md +190 -0
  105. package/bundled/locales/zh-TW/core/user-journey-testing.md +2 -2
  106. package/bundled/locales/zh-TW/core/user-story-mapping.md +2 -2
  107. package/bundled/locales/zh-TW/core/verification-oracle.md +2 -2
  108. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +8 -1
  109. package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +29 -68
  110. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +25 -15
  111. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +1 -2
  112. package/bundled/locales/zh-TW/integrations/google-antigravity/{INSTRUCTIONS.md → AGENTS.md} +1 -1
  113. package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +3 -3
  114. package/bundled/locales/zh-TW/skills/adr-assistant/SKILL.md +1 -1
  115. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +2 -0
  116. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +2 -0
  117. package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +22 -12
  118. package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +12 -9
  119. package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +1 -0
  120. package/bundled/locales/zh-TW/skills/commands/brainstorm.md +17 -13
  121. package/bundled/locales/zh-TW/skills/commands/config.md +0 -1
  122. package/bundled/locales/zh-TW/skills/commands/init.md +1 -2
  123. package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +2 -0
  124. package/bundled/locales/zh-TW/skills/contract-test-assistant/SKILL.md +2 -1
  125. package/bundled/locales/zh-TW/skills/dev-methodology/SKILL.md +2 -0
  126. package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +1 -1
  127. package/bundled/locales/zh-TW/skills/knowledge-graph/guide.md +2 -2
  128. package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +1 -1
  129. package/bundled/locales/zh-TW/skills/observability-assistant/SKILL.md +1 -0
  130. package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +1 -0
  131. package/bundled/locales/zh-TW/skills/project-structure-guide/SKILL.md +1 -0
  132. package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +3 -0
  133. package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +2 -0
  134. package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +3 -0
  135. package/bundled/locales/zh-TW/skills/runbook-assistant/SKILL.md +1 -0
  136. package/bundled/locales/zh-TW/skills/slo-assistant/SKILL.md +1 -0
  137. package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +2 -0
  138. package/bundled/skills/atdd-assistant/SKILL.md +2 -0
  139. package/bundled/skills/bdd-assistant/SKILL.md +2 -0
  140. package/bundled/skills/brainstorm-assistant/SKILL.md +31 -13
  141. package/bundled/skills/brainstorm-assistant/guide.md +9 -6
  142. package/bundled/skills/code-review-assistant/SKILL.md +1 -0
  143. package/bundled/skills/commands/brainstorm.md +12 -9
  144. package/bundled/skills/commands/config.md +0 -1
  145. package/bundled/skills/commands/init.md +2 -3
  146. package/bundled/skills/commit-standards/SKILL.md +2 -0
  147. package/bundled/skills/contract-test-assistant/SKILL.md +1 -0
  148. package/bundled/skills/dev-methodology/SKILL.md +4 -0
  149. package/bundled/skills/observability-assistant/SKILL.md +1 -0
  150. package/bundled/skills/project-discovery/SKILL.md +1 -0
  151. package/bundled/skills/project-structure-guide/SKILL.md +1 -0
  152. package/bundled/skills/release-standards/SKILL.md +3 -0
  153. package/bundled/skills/requirement-assistant/SKILL.md +2 -0
  154. package/bundled/skills/reverse-engineer/SKILL.md +3 -0
  155. package/bundled/skills/runbook-assistant/SKILL.md +1 -0
  156. package/bundled/skills/slo-assistant/SKILL.md +1 -0
  157. package/bundled/skills/tdd-assistant/SKILL.md +2 -0
  158. package/bundled/templates/.ai-context.yaml.template +194 -0
  159. package/bundled/templates/CLAUDE.md.template +145 -0
  160. package/bundled/templates/DESIGN.md +237 -0
  161. package/bundled/templates/SKILL-BRIEF-TEMPLATE.md +57 -0
  162. package/bundled/templates/SKILL-CANDIDATES.md +39 -0
  163. package/bundled/templates/gates/check-error-exit.mjs +309 -0
  164. package/bundled/templates/mcp-config.json +10 -0
  165. package/bundled/templates/methodology-template.yaml +209 -0
  166. package/bundled/templates/migration-template.md +408 -0
  167. package/bundled/templates/requirement-checklist.md +410 -0
  168. package/bundled/templates/requirement-document-template.md +591 -0
  169. package/bundled/templates/requirement-template.md +881 -0
  170. package/bundled/templates/reverse-spec-template.md +409 -0
  171. package/bundled/templates/test-case-template.md +74 -0
  172. package/bundled/templates/test-plan-template.md +74 -0
  173. package/package.json +7 -5
  174. package/src/commands/audit.js +82 -0
  175. package/src/commands/check.js +66 -10
  176. package/src/commands/init.js +161 -16
  177. package/src/commands/update.js +286 -14
  178. package/src/compilers/claude-code-compiler.js +4 -1
  179. package/src/config/ai-agent-paths.js +62 -17
  180. package/src/core/constants.js +42 -11
  181. package/src/core/manifest.js +201 -3
  182. package/src/core/paths.js +2 -2
  183. package/src/i18n/messages.js +6 -29
  184. package/src/installers/hooks-installer.js +167 -75
  185. package/src/installers/integration-installer.js +9 -5
  186. package/src/prompts/init.js +14 -14
  187. package/src/utils/detector.js +21 -1
  188. package/src/utils/effect-boundary.js +1093 -0
  189. package/src/utils/hasher.js +166 -1
  190. package/src/utils/hook-stats.js +1 -1
  191. package/src/utils/integration-generator.js +79 -1
  192. package/src/utils/reference-sync.js +4 -1
  193. package/src/utils/yaml-generator.js +51 -9
  194. package/standards-registry.json +31 -8
@@ -2,7 +2,8 @@
2
2
  source: ../../../core/documentation-writing-standards.md
3
3
  source_version: 1.2.0
4
4
  translation_version: 1.2.0
5
- last_synced: 2026-03-17
5
+ last_synced: 2026-07-23
6
+ source_hash: 9d2d83e23aef
6
7
  status: current
7
8
  ---
8
9
 
@@ -13,6 +14,9 @@ status: current
13
14
  **版本**: 1.2.0
14
15
  **最後更新**: 2026-03-17
15
16
  **適用範圍**: 所有軟體專案(新建、重構、遷移、維護)
17
+ **範圍**: partial
18
+ **業界標準**: OpenAPI 3.1、AsyncAPI 2.6、JSON Schema 2020-12、WCAG 2.1(文件無障礙)
19
+ **參考**: [openapis.org](https://www.openapis.org/)
16
20
 
17
21
  ---
18
22
 
@@ -118,6 +122,38 @@ status: current
118
122
 
119
123
  ---
120
124
 
125
+ ## 文件語言設定
126
+
127
+ 文件語言與 [commit-message-guide.md](commit-message-guide.md) 共用 `output_language` 設定。此統一設定控制專案中所有書面輸出的語言。
128
+
129
+ ### 語言選項
130
+
131
+ | 設定值 | Commit 訊息 | 文件 |
132
+ |--------------|----------------|---------------|
133
+ | `english` | 僅英文 | 僅英文 |
134
+ | `traditional-chinese` | 僅繁體中文 | 僅繁體中文 |
135
+ | `bilingual` | 英文 + 中文 | 分層雙語(見下方) |
136
+
137
+ ### 文件分層(雙語模式)
138
+
139
+ 當 `output_language` 設為 `bilingual` 時,文件遵循三層系統:
140
+
141
+ | 層級 | 文件 | 行為 | 理由 |
142
+ |------|-----------|----------|-----------|
143
+ | **L1 — 必要** | Commit 訊息、CHANGELOG.md、PR 說明 | 自動雙語 | 直接由語言設定控制 |
144
+ | **L2 — 建議** | README.md、CONTRIBUTING.md、ADR/ | AI 建議雙語 | 開發者最常閱讀 |
145
+ | **L3 — 不受影響** | ARCHITECTURE.md、API.md、DATABASE.md、DEPLOYMENT.md、MIGRATION.md | 遵循顯示語言 | 技術規格;雙語會造成過多冗餘 |
146
+
147
+ ### 雙語文件格式
148
+
149
+ 使用段落層級雙語格式,與雙語 commit 訊息內文一致:
150
+
151
+ - 英文段落在前,接著空一行,然後是中文段落
152
+ - 程式碼區塊和表格只寫一次(不重複)
153
+ - 章節標題使用 `|` 分隔:`## Installation | 安裝`
154
+
155
+ ---
156
+
121
157
  ## 核心原則
122
158
 
123
159
  > **文件是程式碼的延伸,應與程式碼同等重視。好的文件能減少溝通成本、加速新人上手、降低維護風險。**
@@ -502,17 +538,61 @@ version: 2.1.0
502
538
  last_updated: 2026-01-24
503
539
  owner: auth-team
504
540
  status: stable
541
+ dependencies:
542
+ - user-service
543
+ - token-service
505
544
  ---
506
545
  ```
507
546
 
508
547
  **模式 2:清晰的章節標記**
509
548
 
549
+ 使用 AI 能辨識的一致章節標題:
550
+
510
551
  ```markdown
511
552
  ## Overview / 概述
553
+ [此元件/API 的簡短說明]
554
+
512
555
  ## Quick Start / 快速開始
556
+ [開始使用的最少步驟]
557
+
513
558
  ## API Reference / API 參考
559
+ [詳細的 API 文件]
560
+
514
561
  ## Configuration / 配置
562
+ [配置選項與預設值]
563
+
515
564
  ## Troubleshooting / 故障排除
565
+ [常見問題與解決方法]
566
+ ```
567
+
568
+ **模式 3:明確範例**
569
+
570
+ 提供帶有清晰情境的完整、可執行範例:
571
+
572
+ ```markdown
573
+ ### 範例:建立使用者
574
+
575
+ **前置條件**:
576
+ - 有效的 API 金鑰
577
+ - Admin 角色
578
+
579
+ **請求**:
580
+ ```bash
581
+ curl -X POST https://api.example.com/v1/users \
582
+ -H "Authorization: Bearer $API_KEY" \
583
+ -H "Content-Type: application/json" \
584
+ -d '{"name": "John", "email": "john@example.com"}'
585
+ ```
586
+
587
+ **回應**(201 Created):
588
+ ```json
589
+ {
590
+ "id": "usr_123",
591
+ "name": "John",
592
+ "email": "john@example.com",
593
+ "created_at": "2026-01-24T10:30:00Z"
594
+ }
595
+ ```
516
596
  ```
517
597
 
518
598
  ### LLM 最佳化寫作規則
@@ -552,6 +632,8 @@ last_validated: 2026-03-17
552
632
 
553
633
  ### 為 AI 程式碼生成撰寫
554
634
 
635
+ 當文件將用於生成程式碼時:
636
+
555
637
  **包含明確限制**:
556
638
 
557
639
  ```markdown
@@ -564,6 +646,18 @@ last_validated: 2026-03-17
564
646
  | role | string | 列舉: "admin", "user", "guest" |
565
647
  ```
566
648
 
649
+ **明確錯誤情境**:
650
+
651
+ ```markdown
652
+ ## 錯誤回應
653
+
654
+ | 情境 | HTTP 狀態碼 | 錯誤碼 | 訊息 |
655
+ |----------|-------------|------------|---------|
656
+ | Email 無效 | 400 | INVALID_EMAIL | "Email format is invalid" |
657
+ | 使用者已存在 | 409 | DUPLICATE_USER | "User with this email already exists" |
658
+ | 缺少認證 | 401 | UNAUTHORIZED | "Authentication required" |
659
+ ```
660
+
567
661
  **明確業務邏輯**:
568
662
 
569
663
  ```markdown
@@ -572,7 +666,34 @@ last_validated: 2026-03-17
572
666
  1. 基礎折扣 = 0%
573
667
  2. 若客戶類型為 "VIP",加 20%
574
668
  3. 若訂單總額 > $100,加 5%
575
- 4. 最大總折扣 = 50%
669
+ 4. 若優惠券代碼有效,加上優惠券折扣
670
+ 5. 最大總折扣 = 50%
671
+ 6. 折扣套用於小計(不含稅)
672
+ ```
673
+
674
+ ### AI 提示詞整合
675
+
676
+ 對於定義 AI 輔助工作流程的文件:
677
+
678
+ **內嵌提示詞範本**:
679
+
680
+ ```markdown
681
+ ## AI 程式碼審查提示詞
682
+
683
+ 審查程式碼變更時,使用以下提示詞:
684
+
685
+ ```
686
+ Review this code change for:
687
+ 1. Security vulnerabilities (OWASP Top 10)
688
+ 2. Performance issues
689
+ 3. Error handling completeness
690
+ 4. Adherence to [project-conventions.md]
691
+
692
+ Provide feedback in this format:
693
+ - 🔴 Critical: [Must fix before merge]
694
+ - 🟡 Important: [Should address]
695
+ - 🟢 Suggestion: [Nice to have]
696
+ ```
576
697
  ```
577
698
 
578
699
  ---
@@ -590,6 +711,46 @@ last_validated: 2026-03-17
590
711
  | JSON Schema 對齊 | 與 JSON Schema 完全相容 |
591
712
  | Webhooks 支援 | 一級 webhook 文件 |
592
713
  | `type` 陣列 | 支援 `"type": ["string", "null"]` |
714
+ | `$ref` 與屬性並存 | 可在同一物件中參照並擴充 |
715
+
716
+ **OpenAPI 3.1 Schema 範例**:
717
+
718
+ ```yaml
719
+ openapi: 3.1.0
720
+ info:
721
+ title: 使用者 API
722
+ version: 2.1.0
723
+ paths:
724
+ /users:
725
+ post:
726
+ summary: 建立新使用者
727
+ requestBody:
728
+ required: true
729
+ content:
730
+ application/json:
731
+ schema:
732
+ $ref: '#/components/schemas/CreateUserRequest'
733
+ responses:
734
+ '201':
735
+ description: 使用者已建立
736
+ content:
737
+ application/json:
738
+ schema:
739
+ $ref: '#/components/schemas/User'
740
+ components:
741
+ schemas:
742
+ CreateUserRequest:
743
+ type: object
744
+ required: [name, email]
745
+ properties:
746
+ name:
747
+ type: string
748
+ minLength: 1
749
+ maxLength: 100
750
+ email:
751
+ type: string
752
+ format: email
753
+ ```
593
754
 
594
755
  ### AsyncAPI 2.6 用於事件驅動 API
595
756
 
@@ -605,6 +766,21 @@ channels:
605
766
  publish:
606
767
  message:
607
768
  $ref: '#/components/messages/OrderCreated'
769
+ components:
770
+ messages:
771
+ OrderCreated:
772
+ payload:
773
+ type: object
774
+ properties:
775
+ orderId:
776
+ type: string
777
+ customerId:
778
+ type: string
779
+ totalAmount:
780
+ type: number
781
+ createdAt:
782
+ type: string
783
+ format: date-time
608
784
  ```
609
785
 
610
786
  ---
@@ -677,11 +853,60 @@ last_synced: 2026-03-17
677
853
 
678
854
  | 項目 | 標準 |
679
855
  |------|----------|
680
- | 同步更新 | 程式碼變更時同步更新文件 |
856
+ | 同步更新 | **自動 AI 行為**:完成程式碼變更後,AI 必須檢查哪些文件受影響並列為提醒。詳見下方 [AI 行為:自動文件影響檢查](#自動文件影響檢查) |
681
857
  | 版本標記 | 文件頂部標記版本與更新日期 |
682
858
  | 審查納入 | 程式碼審查需包含文件變更 |
683
859
  | 定期檢視 | 每季檢視文件是否過時 |
684
860
 
861
+ ### 自動文件影響檢查
862
+
863
+ **這是一項自動 AI 行為** — AI 助手必須在完成任何程式碼修改任務後執行此檢查,無需等待使用者詢問。
864
+
865
+ **工作流程:**
866
+
867
+ 1. 完成程式碼變更後,識別哪些檔案被修改
868
+ 2. 對每個修改的檔案,檢查是否有文件引用它(README、CLI 文件、API 文件、規格、skills、翻譯)
869
+ 3. 若發現受影響的文件,附加提醒區塊並提供**建議指令**:
870
+
871
+ ```
872
+ ---
873
+ 📋 **Documentation Impact**
874
+ The following documents may need updating:
875
+ - `README.md` — describes changed CLI option `--xxx`
876
+ → `/docs readme`
877
+ - `docs/CLI-INIT-OPTIONS.md` — references modified function `promptXxx()`
878
+ → manual update or `/docs generate`
879
+ - `locales/zh-TW/docs/CLI-INIT-OPTIONS.md` — translation of modified source
880
+ → `/docs translate docs/CLI-INIT-OPTIONS.md --lang zh-TW`
881
+
882
+ Or run `/docs impact` for a full analysis.
883
+ ---
884
+ ```
885
+
886
+ 4. 若無文件受影響,靜默略過
887
+ 5. **不自動修改文件** — 僅列出提醒並等待使用者確認
888
+
889
+ **指令建議對照:**
890
+
891
+ | 受影響文件 | 建議指令 |
892
+ |-------------------|-------------------|
893
+ | README.md | `/docs readme` |
894
+ | API 文件 | `/docs api` |
895
+ | 產生的文件(cheatsheet、參考文件) | `/docs generate` |
896
+ | 翻譯檔案(`locales/`) | `/docs translate <source-file> --lang <lang>` |
897
+ | 規格檔案、skill 檔案、其他文件 | 手動更新(建議具體檔案路徑) |
898
+ | 多個文件受影響 | `/docs impact` 取得完整概覽 |
899
+
900
+ **檢查範圍:**
901
+
902
+ | 文件類型 | 對照檢查 |
903
+ |--------------|---------------|
904
+ | CLI 文件(`docs/`) | 修改的函式、CLI 選項、指令 |
905
+ | 規格檔案(`docs/specs/`) | 修改的介面、schema、工作流程 |
906
+ | Skills(`skills/`) | 修改的行為、標準參考 |
907
+ | 翻譯(`locales/`) | 任何有翻譯的已修改原始檔案 |
908
+ | README、CHANGELOG | 修改的公開 API、功能、配置 |
909
+
685
910
  ### 審查清單
686
911
 
687
912
  提交文件前:
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/full-coverage-testing.md
3
3
  source_version: 1.1.0
4
4
  translation_version: 1.1.0
5
- last_synced: 2026-06-17
6
- source_hash: a8cffbab007a
5
+ last_synced: 2026-07-23
6
+ source_hash: 8ca921c68533
7
7
  status: current
8
8
  ---
9
9
 
@@ -196,6 +196,18 @@ CI 會回報 AC 覆蓋率。若超過 20% 的 AC 沒有 `@ac` 標籤的測試,
196
196
 
197
197
  對步驟 1 的**每條** legacy 錯誤分支,驗證新系統有對應 handler。無對映者標 `not_implemented`(XSPEC-199)並 **block**。產出涵蓋完整推導清單的**「遺漏錯誤分支」gap 報告**——而非僅抽樣通過。
198
198
 
199
+ ```markdown
200
+ ## Error-Path Gap Report — <module>
201
+
202
+ | Legacy branch (error type / code) | New-system handler | Status |
203
+ |-----------------------------------|--------------------|--------|
204
+ | PaymentDeclinedException → 402 | PaymentService.handleDecline | MAPPED |
205
+ | GatewayTimeout → retry+fallback | (none found) | not_implemented — BLOCK |
206
+ | ValidationError → 422 + field list | InputValidator | MAPPED |
207
+
208
+ **Branches: N total · M mapped · K not_implemented (block if K>0)**
209
+ ```
210
+
199
211
  ### 步驟 3 — 降級/Fallback 對等(R3)
200
212
 
201
213
  legacy 降級模式(外部服務失敗時的 fallback、重試、部分結果)因只在失敗時才執行而容易被漏。驗證新系統保留對應降級行為,避免「正常路徑一致、失敗時行為迥異」:
@@ -241,6 +253,7 @@ legacy 降級模式(外部服務失敗時的 fallback、重試、部分結果
241
253
  - `unit-testing.ai.yaml` — 單元測試範圍與組織
242
254
  - `integration-testing.ai.yaml` — 整合測試模式
243
255
  - `deployment-standards.ai.yaml` — 部署閘門需求
256
+ - `flaky-test-management.md` — 間歇性失敗處理:會 flaky 的測試**不算**通過的測試。在覆蓋率數字被計入閘門之前,間歇性失敗必須依該標準被隔離(quarantine)/設定重試預算(retry-budget)/根因排除——否則「全覆蓋」會掩蓋非決定性的缺口。
244
257
  - `behavior-snapshot.md` — 錯誤回應差分 oracle(遷移錯誤路徑完整性,軸⑨)
245
258
  - `migration-assistant` skill — legacy 例外/錯誤碼 derive + 降級對等(XSPEC-288)
246
259
  - XSPEC-178 — 完整規格與實作階段
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  source: ../../../core/governance-layer.md
3
- source_version: 1.0.0
4
- translation_version: 1.0.0
5
- last_synced: 2026-05-07
3
+ source_version: 1.1.0
4
+ translation_version: 1.1.0
5
+ last_synced: 2026-08-20
6
+ source_hash: 15ca18717240
6
7
  status: current
7
8
  ---
8
9
 
@@ -10,8 +11,8 @@ status: current
10
11
 
11
12
  > **語言**: [English](../../../core/governance-layer.md) | 繁體中文
12
13
 
13
- **版本**: 1.0.0
14
- **最後更新**: 2026-05-07
14
+ **版本**: 1.1.0
15
+ **最後更新**: 2026-08-20
15
16
  **適用範圍**: 所有具有多 Agent 或多角色 AI 工作流程的軟體專案
16
17
  **範疇**: universal
17
18
  **產業標準**: 無(UDS 原創)
@@ -130,9 +131,79 @@ Vision(方向)→ Mission(邊界 + 紅線)→ Goals(可量測的 KPI
130
131
  | `signatory` | 接受風險的人員或角色 |
131
132
  | `gates_bypassed` | 列舉所有繞過的人工閘門 |
132
133
  | `risks_accepted` | 明確描述已接受的風險 |
134
+ | `review_by` | 本次接受失效、必須重新做一次判斷的日期 |
133
135
 
134
136
  若無有效的風險接受條款,pipeline **必須拒絕啟動(fail-closed)**。
135
137
 
138
+ ### 接受到期
139
+
140
+ `review_by` 已過的條款**不是有效條款**。pipeline 必須 fail closed,與完全沒有條款時一模一樣。
141
+
142
+ `date` 記錄的是「何時接受了這個風險」,不是「何時該重新判斷」。沒有 `review_by`,簽過一次的接受就永遠有效——當初支持它的條件可能已經改變、簽署人可能已經離開專案,而條款裡每一個欄位讀起來仍然完全正確。
143
+
144
+ 到期時,必須施用且只能施用下列三種處置之一,與[技術債標準 → 到期處置](tech-debt-standards.md#到期處置)所定義的三種相同:
145
+
146
+ | 處置 | 意義 |
147
+ |------|------|
148
+ | **重新接受** | 由當下的簽署人重新簽署,並給出新的 `review_by` |
149
+ | **撤銷** | 移除該繞過,恢復人工閘門 |
150
+ | **延期** | 新的 `review_by` **與**書面理由,一起記下 |
151
+
152
+ **禁止自動延長 `review_by`。** 那會把一道 fail-closed 的閘門變成 fail-open,而所有欄位看起來都還是對的——失效之所以隱形,正是因為條款仍然驗證得過。
153
+
154
+ ---
155
+
156
+ ## 待裁決事項
157
+
158
+ 「還沒決定」是一種治理狀態,不是治理的缺席。規格裡的未決問題、提出但未批准的紅線、沒有 owner 的 KPI——每一項都是有人被期待要做的決定,而每一項對「只讀已做成決定」的檢查都是隱形的。
159
+
160
+ 待裁決事項與已接受風險**同級受治理**:它們帶時鐘,而且必須可被列舉。
161
+
162
+ **規則 GOV-PD-001(必要)**——專案必須宣告待裁決事項**記在哪裡**,以及**什麼標記代表一項待裁決**:一個固定的 token(狀態值、標籤、字面標記字串),不得是自由書寫的散文。列舉不該取決於讀者猜中當初用了哪些字。三份分別寫「TBD」「待拍板」「待確認」的文件,是三份無法被列舉的文件;一個宣告過的標記讓三份都找得到。
163
+
164
+ **規則 GOV-PD-002(必要)**——列舉待裁決事項時,必須同時回報總數**與**無法解析的來源份數(見[匯總報告](#匯總報告))。「查無待裁決事項」在不知道走訪集合有多大時,不帶任何資訊。
165
+
166
+ **規則 GOV-PD-003(必要)**——每一項待裁決事項都帶一個**裁決期限日期**。到期時適用與逾期技術債相同的三種處置——**做出決定**、**撤回這個問題**、或**延期並寫明理由**。禁止自動延期。
167
+
168
+ **規則 GOV-PD-004(必要)**——若沒有任何東西在排程上列舉待裁決事項,專案必須帶一份**無人看管宣告**,寫明負責人、複查頻率與最後複查日期——與技術債登記表被要求的兩態規則相同。沒有被列舉是可接受的;沒有被列舉又沒有宣告則不可接受。
169
+
170
+ > 一項沒有日期的待裁決事項,在行為上與「決定不做」完全相同。差別只在於待裁決的形式讓人以為還有人會去看它。
171
+
172
+ ---
173
+
174
+ ## 匯總報告
175
+
176
+ 每一份治理報告——合規摘要、閘門報告、KPI 匯總、紅線掃描——都是對某個集合提出的宣稱。這個宣稱的價值,恰好等於它對「自己判不了什麼」的交代的價值。
177
+
178
+ **規則 GOV-RPT-001(必要)**——報告必須印出三個數字,不能只印兩個:**通過**、**失敗**、**判不了**(無法解析的檔案、缺欄位、來源不可達、不支援的格式)。
179
+
180
+ **規則 GOV-RPT-002(必要)**——「判不了」**不得**併入「通過」,也**不得**省略。一份解析不了的檔案不是一份乾淨的檔案。只印「N 項檢查通過」的報告,不論 N 是多少都不合規。
181
+
182
+ **規則 GOV-RPT-003(必要)**——報告必須寫出自己的**分母**以及分母是怎麼推導出來的。範圍來自硬編碼清單的報告,是一份關於那份清單的報告,不是關於這個專案的報告:清單之外的東西全部腐壞,它照樣是綠的。要用「走訪並排除」推導集合,不要用列舉——見[類別層級修正](class-level-fix.md)。
183
+
184
+ **規則 GOV-RPT-004(必要)**——正向與負向計數分開回報;絕不合併成單一的合規分數。**一個「什麼都不做」與「把工作做完」得分相同的指標,量的不是那份工作。**「11 項中通過 5 項」與「檢查器從未啟動」產生同一個數字,而單一分數分不出這兩者。
185
+
186
+ **規則 GOV-RPT-005(建議)**——當報告的正確性取決於它自己的工具能運作時,加一隻金絲雀:一個輸入已知會失敗、因此**必須**失敗的檢查。若金絲雀通過了,整份報告不可信,必須整份回報為「判不了」,而不是綠燈。
187
+
188
+ ---
189
+
190
+ ## 新鮮度指標
191
+
192
+ **規則 GOV-FRESH-001(必要)**——任何新鮮度/停滯指標都必須指名它讀的是下列哪一個時鐘:
193
+
194
+ | 時鐘 | 回答的問題 | 可以從哪裡讀 |
195
+ |------|-----------|-------------|
196
+ | **編輯時間** | 這份產物上次被改動是多久以前? | 檔案 mtime、最後動到它的 commit、「最後更新」欄位 |
197
+ | **對帳時間** | 這份產物上次與它宣稱在描述的真實來源做比對是多久以前? | 那次比對被記下的日期——沒有別的東西能提供它 |
198
+
199
+ **規則 GOV-FRESH-002(必要)**——兩者**不得**共用同一個欄位或同一個欄位標題。它們回答不同的問題,而同一份產物可以在其中一個上滿分、在另一個上任意地舊:一份今天剛編輯、內容從未與現實對過的文件,以編輯時間算是零天,以對帳時間算是無上限。
200
+
201
+ **規則 GOV-FRESH-003(必要)**——只有編輯時間可取得時,報告必須把該欄標示為編輯時間,**並且**把對帳時間回報為「判不了」(GOV-RPT-001)——絕不能標成新鮮,也絕不能省略不提。
202
+
203
+ **規則 GOV-FRESH-004(建議)**——對帳時間只有在「由執行該比對的東西自己記下」時才有意義。事後由人手動填入的日期是一項斷言,不是一次量測;請如實標示。
204
+
205
+ > 這是「單軸裝多維」的失敗:一個欄位,被兩個不同的問題讀取。這個欄位永遠不會被抓到是錯的,因為從來沒有人問過它在回答哪一個問題。
206
+
136
207
  ---
137
208
 
138
209
  ## 治理檔案結構
@@ -156,4 +227,46 @@ governance/
156
227
  - [ ] Goals 清單存在,每個 KPI 均含:id、metric_name、threshold、measurement_method
157
228
  - [ ] 沒有任何 KPI 使用模糊詞彙(「改善」、「提升」、「更好」)
158
229
  - [ ] 若 `gate.mode = trace_only`,`mission.md` 中存在風險接受條款
230
+ - [ ] 每一份風險接受條款都有 `review_by` 日期,且沒有任何一份已經過期
231
+ - [ ] 專案已宣告待裁決事項記在哪裡、以及哪一個固定標記代表一項待裁決
232
+ - [ ] 每一項待裁決事項都有裁決期限日期
233
+ - [ ] 待裁決事項要麼被某個會執行的東西列舉,要麼被無人看管宣告涵蓋
234
+ - [ ] 每一份治理報告都分開印出「通過/失敗/**判不了**」,並寫出分母與分母的推導方式
235
+ - [ ] 沒有任何報告把正向與負向計數合併成單一分數
236
+ - [ ] 每一個新鮮度指標都指名自己讀的是編輯時間或對帳時間,且兩者不共用欄位
159
237
  - [ ] 所有 AI 評估器以 0.4/0.3/0.3 權重評分,且任一軸 < 0.3 即不通過
238
+
239
+ ---
240
+
241
+ ## 執行現實
242
+
243
+ > **本標準對它的任何一條規則都不提供檢查器——不只是 1.1.0 新增的那些,也包括自 1.0.0 起就在裡面的那條 fail-closed 風險接受要求。這是已知代價,寫在這裡,而不是留給採用者自己撞到。**
244
+ >
245
+ > 2026-08-20 實測:`review_by`、`risks_accepted`、`gates_bypassed` **沒有出現在任何程式裡**——UDS CLI 沒有,任何消費端也沒有。那句寫著 pipeline「必須拒絕啟動」的條款,在它被寫下來的三個半月裡,**從來沒有讓任何一條 pipeline 拒絕啟動過**。把這件事講明白不是外加的但書,它就是本節自己的規則套用在本節身上;而本節的初稿只列出新規則為未執行,那會讓人以為舊的那條有在執行。
246
+ >
247
+ > UDS 定義的是這些要求,它不提供執行這些要求的程式。想要它們被執行的採用者必須自己寫那支列舉器、那支三態計數報告器、那個對帳日期記錄器——而多數人不會寫。那正是本標準所描述的失敗,現在同樣適用於本標準自己。
248
+ >
249
+ > 所以最低標準**不是**「去把工具做出來」,而是:**任何被記載為待裁決、已接受、或新鮮的東西,要麼指向一個會執行的檢查,要麼明白說出沒有東西在看它。** 宣告「無人看管」是合規的。無人看管卻不宣告,才是這些規則真正禁止的唯一結果,因為只有它會讓讀者對「有沒有東西在看」產生誤解。
250
+
251
+ ---
252
+
253
+ ## 版本歷史
254
+
255
+ | 版本 | 日期 | 變更 |
256
+ |------|------|------|
257
+ | 1.1.0 | 2026-08-20 | 新增:風險接受條款的 `review_by` 欄位 + 接受到期的三種處置與禁止自動延期;待裁決事項(GOV-PD-001..004);匯總報告(GOV-RPT-001..005——通過/失敗/判不了、分母推導、不得合併成單一分數、金絲雀);新鮮度指標(GOV-FRESH-001..004——編輯時間與對帳時間不得共用欄位);執行現實說明;合規檢查清單擴充 |
258
+ | 1.0.0 | 2026-05-07 | 初始版本:Vision/Mission/Goals 三層架構、紅線格式、評估器整合、風險接受條款、合規檢查清單 |
259
+
260
+ ---
261
+
262
+ ## 相關標準
263
+
264
+ - [技術債標準](tech-debt-standards.md) — 「到期處置」定義了本標準沿用的三種處置
265
+ - [類別層級修正](class-level-fix.md) — 以走訪並排除而非列舉推導集合(GOV-RPT-003)
266
+ - [驗證證據](verification-evidence.md) — 為何綠燈必須被證明來自一個真的在運作的檢查(GOV-RPT-005)
267
+
268
+ ---
269
+
270
+ ## 授權
271
+
272
+ 本標準以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 釋出。
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/iac-design-principles.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: 6cf9c75621e0
5
+ last_synced: 2026-07-23
6
+ source_hash: beecfddec375
7
7
  status: current
8
8
  ---
9
9
 
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/incident-response.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: b1c1a516710b
5
+ last_synced: 2026-07-23
6
+ source_hash: 251b05a9fd51
7
7
  status: current
8
8
  ---
9
9
 
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/model-provenance.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: 62e6b25a38dd
5
+ last_synced: 2026-07-23
6
+ source_hash: 59e471405e7e
7
7
  status: current
8
8
  ---
9
9
 
@@ -15,6 +15,8 @@ status: current
15
15
  > **AI 最佳化版本**: `ai/standards/model-provenance.ai.yaml`
16
16
  > **規格**: XSPEC-255 (cross-project/specs/XSPEC-255-model-provenance-policy.md)
17
17
 
18
+ **Scope**: universal
19
+
18
20
  ## 概述
19
21
 
20
22
  模型選擇不只是「成本 × 品質」——還有 **第三軸:模型的*來源*是否被客戶接受**(地緣政治 /
@@ -1,17 +1,17 @@
1
1
  ---
2
2
  source: ../../../core/pii-classification.md
3
- source_version: 1.0.0
4
- translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: f4ff92c3fe1d
7
- status: stale
3
+ source_version: 1.1.0
4
+ translation_version: 1.1.0
5
+ last_synced: 2026-07-23
6
+ source_hash: 16bf07c4e383
7
+ status: current
8
8
  ---
9
9
 
10
10
  # PII 分類與處理標準
11
11
 
12
12
  > **Language**: [English](../../../core/pii-classification.md) | 繁體中文
13
13
 
14
- > **版本**: 1.0.0 | **狀態**: Active | **更新日期**: 2026-06-17
14
+ > **版本**: 1.1.0 | **狀態**: Active | **更新日期**: 2026-06-19
15
15
  > **AI 最佳化版本**: `ai/standards/pii-classification.ai.yaml`
16
16
  > **規格**: XSPEC-066(cross-project/specs/XSPEC-066-uds-compliance-audit-pack.md)
17
17
 
@@ -90,6 +90,41 @@ TIER-1 或 TIER-2 PII 的跨國境傳輸 MUST 遵循適用的傳輸機制。EU
90
90
  - **`database-standards`**——資料字典欄位帶有 PII 等級與 REQ-002 的文件化目的/
91
91
  法律依據。
92
92
 
93
+ ## PII 發現與交接契約
94
+
95
+ 上述整合僅指出了消費方,但交接需要明確定義的**觸發點、介面、負責人與狀態**——
96
+ 否則「驅動遮罩規則」只是一種主張,而非契約。本節沿用 `data-contract` REQ-005
97
+ 的消費方註冊模型,以及 `agent-communication-protocol` §3 的結構化交接形式。
98
+
99
+ ### 觸發點——分類何時啟動
100
+
101
+ | 時機 | 發生的事 |
102
+ |------|----------|
103
+ | 新功能設計 | REQ-006 PII 衝擊評估**須於**實作前為每個新 PII 欄位分類 |
104
+ | PR/掃描時 | 帶有 PII 但無等級標記的欄位為**阻擋(blocking)**發現(CI) |
105
+ | 資料字典變更 | `database-standards` 欄位新增/移除 PII 等級 → 重新通知消費方 |
106
+
107
+ ### 介面——傳遞的內容
108
+
109
+ 生產方產出物是每個欄位的**PII 分類登錄(registry)**項目:
110
+ `{ field, tier (TIER-1/2/3), purpose, legal_basis, masking_rule, retention }`。
111
+ 消費方依此註冊(依 `data-contract` REQ-005),並於變更時收到通知。
112
+
113
+ ### 負責人與已註冊消費方
114
+
115
+ | 角色 | 職責 |
116
+ |------|------|
117
+ | 資料負責人/功能作者 | **產出**分類結果(REQ-001/REQ-006) |
118
+ | `logging-standards`(消費方) | 對非正式環境中的 TIER-1/2 套用 `masking_rule` 並記錄日誌 |
119
+ | `audit-trail`(消費方) | 記錄必備的存取/匯出/刪除事件 |
120
+ | `security-standards`(消費方) | 對 TIER-1 強制執行靜態/傳輸中加密 |
121
+ | 隱私/合規負責人 | 於任何新增 TIER-1 欄位或分類變更時**收到通知** |
122
+
123
+ ### 狀態轉換
124
+
125
+ `Found(已發現)→ Classified(已分類,已指定等級)→ Handled(已處理:遮罩/加密/已設定保留期)→ Verified(已驗證:消費方確認規則已套用)`。
126
+ 停留在 `Found`(有 PII 但無等級)狀態的欄位**將阻擋發布**(REQ-001 + 上述 PR 時觸發規則)。
127
+
93
128
  ## 相關規格
94
129
 
95
130
  - XSPEC-066 — UDS 合規與稽核標準包(本標準來源)
@@ -99,4 +134,5 @@ TIER-1 或 TIER-2 PII 的跨國境傳輸 MUST 遵循適用的傳輸機制。EU
99
134
 
100
135
  | 版本 | 日期 | 變更 |
101
136
  |------|------|------|
137
+ | v1.1.0 | 2026-06-19 | 新增:PII 發現與交接契約(觸發點/介面/負責人/狀態),使宣稱與 logging-standards/audit-trail 的交接成為明確契約而非空談(XSPEC-292 T16) |
102
138
  | v1.0.0 | 2026-06-17 | 初版——REQ-001~006:PII 等級、資料最小化、非正式環境遮罩、保留/刪除、跨境傳輸、PIA(XSPEC-066) |
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/prd-standards.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: 3addb642ee83
5
+ last_synced: 2026-07-23
6
+ source_hash: 73615684c1be
7
7
  status: current
8
8
  ---
9
9
 
@@ -15,6 +15,8 @@ status: current
15
15
  > **AI 最佳化版本**: `ai/standards/prd-standards.ai.yaml`
16
16
  > **規格**: XSPEC-069(cross-project/specs/XSPEC-069-uds-product-layer-pack.md)
17
17
 
18
+ **Scope**: universal
19
+
18
20
  ## 概觀
19
21
 
20
22
  本標準定義**產品需求文件(PRD)**的結構、內容要求與生命週期治理。涵蓋五大必備
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/product-metrics-standards.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: e37a44aefd92
5
+ last_synced: 2026-07-23
6
+ source_hash: 111babd0b39d
7
7
  status: current
8
8
  ---
9
9
 
@@ -15,6 +15,8 @@ status: current
15
15
  > **AI 最佳化版本**: `ai/standards/product-metrics-standards.ai.yaml`
16
16
  > **規格**: XSPEC-069(cross-project/specs/XSPEC-069-uds-product-layer-pack.md)
17
17
 
18
+ **Scope**: universal
19
+
18
20
  ## 概觀
19
21
 
20
22
  本標準定義團隊如何**選擇、結構化與治理產品指標**。涵蓋框架選用矩陣(成長型用
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/release-readiness-gate.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-02
6
- source_hash: 3d156e19680e
5
+ last_synced: 2026-07-23
6
+ source_hash: 622d8cb59abb
7
7
  ---
8
8
 
9
9
  # 發布就緒閘門(Release Readiness Gate)
@@ -2,8 +2,8 @@
2
2
  source: ../../../core/resource-cost-boundary.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
- last_synced: 2026-06-17
6
- source_hash: a9be6a420041
5
+ last_synced: 2026-07-30
6
+ source_hash: 9c3d4359e7a0
7
7
  status: current
8
8
  ---
9
9