universal-dev-standards 5.3.2 → 5.5.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 (122) hide show
  1. package/bundled/ai/standards/adversarial-test.ai.yaml +277 -0
  2. package/bundled/ai/standards/agent-communication-protocol.ai.yaml +32 -166
  3. package/bundled/ai/standards/agent-dispatch.ai.yaml +32 -58
  4. package/bundled/ai/standards/audit-trail.ai.yaml +113 -0
  5. package/bundled/ai/standards/branch-completion.ai.yaml +34 -70
  6. package/bundled/ai/standards/change-batching-standards.ai.yaml +31 -180
  7. package/bundled/ai/standards/chaos-injection-tests.ai.yaml +91 -0
  8. package/bundled/ai/standards/container-image-standards.ai.yaml +88 -0
  9. package/bundled/ai/standards/container-security.ai.yaml +331 -0
  10. package/bundled/ai/standards/cost-budget-test.ai.yaml +96 -0
  11. package/bundled/ai/standards/data-contract.ai.yaml +110 -0
  12. package/bundled/ai/standards/data-migration-testing.ai.yaml +96 -0
  13. package/bundled/ai/standards/data-pipeline.ai.yaml +113 -0
  14. package/bundled/ai/standards/disaster-recovery-drill.ai.yaml +89 -0
  15. package/bundled/ai/standards/execution-history.ai.yaml +30 -288
  16. package/bundled/ai/standards/flaky-test-management.ai.yaml +89 -0
  17. package/bundled/ai/standards/flow-based-testing.ai.yaml +240 -0
  18. package/bundled/ai/standards/iac-design-principles.ai.yaml +83 -0
  19. package/bundled/ai/standards/incident-response.ai.yaml +107 -0
  20. package/bundled/ai/standards/license-compliance.ai.yaml +106 -0
  21. package/bundled/ai/standards/llm-output-validation.ai.yaml +269 -0
  22. package/bundled/ai/standards/mock-boundary.ai.yaml +250 -0
  23. package/bundled/ai/standards/mutation-testing.ai.yaml +192 -0
  24. package/bundled/ai/standards/pii-classification.ai.yaml +109 -0
  25. package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +28 -169
  26. package/bundled/ai/standards/policy-as-code-testing.ai.yaml +227 -0
  27. package/bundled/ai/standards/prd-standards.ai.yaml +88 -0
  28. package/bundled/ai/standards/product-metrics-standards.ai.yaml +111 -0
  29. package/bundled/ai/standards/prompt-regression.ai.yaml +94 -0
  30. package/bundled/ai/standards/property-based-testing.ai.yaml +105 -0
  31. package/bundled/ai/standards/release-quality-manifest.ai.yaml +135 -0
  32. package/bundled/ai/standards/replay-test.ai.yaml +111 -0
  33. package/bundled/ai/standards/runbook.ai.yaml +104 -0
  34. package/bundled/ai/standards/sast-advanced.ai.yaml +135 -0
  35. package/bundled/ai/standards/schema-evolution.ai.yaml +111 -0
  36. package/bundled/ai/standards/secret-management-standards.ai.yaml +105 -0
  37. package/bundled/ai/standards/secure-op.ai.yaml +365 -0
  38. package/bundled/ai/standards/security-testing.ai.yaml +171 -0
  39. package/bundled/ai/standards/server-ops-security.ai.yaml +274 -0
  40. package/bundled/ai/standards/slo-sli.ai.yaml +97 -0
  41. package/bundled/ai/standards/smoke-test.ai.yaml +87 -0
  42. package/bundled/ai/standards/supply-chain-attestation.ai.yaml +109 -0
  43. package/bundled/ai/standards/test-completeness-dimensions.ai.yaml +52 -5
  44. package/bundled/ai/standards/user-story-mapping.ai.yaml +108 -0
  45. package/bundled/ai/standards/workflow-enforcement.ai.yaml +34 -240
  46. package/bundled/ai/standards/workflow-state-protocol.ai.yaml +31 -107
  47. package/bundled/core/adversarial-test.md +212 -0
  48. package/bundled/core/chaos-injection-tests.md +116 -0
  49. package/bundled/core/container-security.md +521 -0
  50. package/bundled/core/cost-budget-test.md +69 -0
  51. package/bundled/core/data-migration-testing.md +110 -0
  52. package/bundled/core/disaster-recovery-drill.md +73 -0
  53. package/bundled/core/flaky-test-management.md +73 -0
  54. package/bundled/core/flow-based-testing.md +142 -0
  55. package/bundled/core/llm-output-validation.md +178 -0
  56. package/bundled/core/mock-boundary.md +100 -0
  57. package/bundled/core/mutation-testing.md +97 -0
  58. package/bundled/core/policy-as-code-testing.md +188 -0
  59. package/bundled/core/prompt-regression.md +72 -0
  60. package/bundled/core/property-based-testing.md +73 -0
  61. package/bundled/core/release-quality-manifest.md +147 -0
  62. package/bundled/core/replay-test.md +86 -0
  63. package/bundled/core/sast-advanced.md +300 -0
  64. package/bundled/core/secure-op.md +314 -0
  65. package/bundled/core/security-testing.md +87 -0
  66. package/bundled/core/server-ops-security.md +493 -0
  67. package/bundled/core/smoke-test.md +65 -0
  68. package/bundled/core/supply-chain-attestation.md +117 -0
  69. package/bundled/locales/zh-CN/CHANGELOG.md +3 -3
  70. package/bundled/locales/zh-CN/README.md +1 -1
  71. package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +5 -5
  72. package/bundled/locales/zh-TW/CHANGELOG.md +3 -3
  73. package/bundled/locales/zh-TW/README.md +1 -1
  74. package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +183 -79
  75. package/bundled/skills/README.md +4 -3
  76. package/bundled/skills/SKILL_NAMING.md +94 -0
  77. package/bundled/skills/ai-instruction-standards/SKILL.md +181 -88
  78. package/bundled/skills/atdd-assistant/SKILL.md +8 -0
  79. package/bundled/skills/bdd-assistant/SKILL.md +7 -0
  80. package/bundled/skills/checkin-assistant/SKILL.md +8 -0
  81. package/bundled/skills/code-review-assistant/SKILL.md +7 -0
  82. package/bundled/skills/journey-test-assistant/SKILL.md +203 -0
  83. package/bundled/skills/orchestrate/SKILL.md +167 -0
  84. package/bundled/skills/plan/SKILL.md +234 -0
  85. package/bundled/skills/pr-automation-assistant/SKILL.md +8 -0
  86. package/bundled/skills/push/SKILL.md +49 -2
  87. package/bundled/skills/{process-automation → skill-builder}/SKILL.md +1 -1
  88. package/bundled/skills/{forward-derivation → spec-derivation}/SKILL.md +1 -1
  89. package/bundled/skills/spec-driven-dev/SKILL.md +7 -0
  90. package/bundled/skills/sweep/SKILL.md +145 -0
  91. package/bundled/skills/tdd-assistant/SKILL.md +7 -0
  92. package/package.json +1 -1
  93. package/src/commands/flow.js +8 -0
  94. package/src/commands/start.js +14 -0
  95. package/src/commands/sweep.js +8 -0
  96. package/src/commands/workflow.js +8 -0
  97. package/standards-registry.json +474 -12
  98. package/bundled/locales/zh-CN/skills/ac-coverage-assistant/SKILL.md +0 -190
  99. package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +0 -71
  100. package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +0 -130
  101. package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +0 -88
  102. package/bundled/locales/zh-CN/skills/methodology-system/create-methodology.md +0 -350
  103. package/bundled/locales/zh-CN/skills/methodology-system/guide.md +0 -131
  104. package/bundled/locales/zh-CN/skills/methodology-system/runtime.md +0 -279
  105. package/bundled/locales/zh-CN/skills/process-automation/SKILL.md +0 -143
  106. package/bundled/locales/zh-TW/skills/ac-coverage-assistant/SKILL.md +0 -195
  107. package/bundled/locales/zh-TW/skills/deploy-assistant/SKILL.md +0 -178
  108. package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +0 -69
  109. package/bundled/locales/zh-TW/skills/forward-derivation/guide.md +0 -415
  110. package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +0 -86
  111. package/bundled/locales/zh-TW/skills/methodology-system/create-methodology.md +0 -350
  112. package/bundled/locales/zh-TW/skills/methodology-system/guide.md +0 -131
  113. package/bundled/locales/zh-TW/skills/methodology-system/runtime.md +0 -279
  114. package/bundled/locales/zh-TW/skills/process-automation/SKILL.md +0 -144
  115. /package/bundled/skills/{ac-coverage-assistant → ac-coverage}/SKILL.md +0 -0
  116. /package/bundled/skills/{methodology-system → dev-methodology}/SKILL.md +0 -0
  117. /package/bundled/skills/{methodology-system → dev-methodology}/create-methodology.md +0 -0
  118. /package/bundled/skills/{methodology-system → dev-methodology}/guide.md +0 -0
  119. /package/bundled/skills/{methodology-system → dev-methodology}/integrated-flow.md +0 -0
  120. /package/bundled/skills/{methodology-system → dev-methodology}/prerequisite-check.md +0 -0
  121. /package/bundled/skills/{methodology-system → dev-methodology}/runtime.md +0 -0
  122. /package/bundled/skills/{forward-derivation → spec-derivation}/guide.md +0 -0
@@ -2,6 +2,14 @@
2
2
  * UDS Flow Command — SPEC-FLOW-001
3
3
  *
4
4
  * CLI 命令:管理自訂 SDLC 流程(create/list/validate/diff/export/import)。
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
9
+ *
10
+ * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
11
+ * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
12
+ * 建議遷移:`uds flow list/validate/diff` → `devap flow list/validate/diff`
5
13
  */
6
14
 
7
15
  import { existsSync, readdirSync, readFileSync, writeFileSync, mkdirSync } from 'fs';
@@ -1,3 +1,17 @@
1
+ /**
2
+ * UDS Start Command — Mission 任務啟動
3
+ *
4
+ * 啟動一個具名任務(Mission)並設定任務意圖。
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
10
+ *
11
+ * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
12
+ * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
13
+ * 建議遷移:`uds start ...` → `devap mission start <type> "<intent>"`
14
+ */
1
15
  import chalk from 'chalk';
2
16
  import { select, input, confirm as inquirerConfirm } from '@inquirer/prompts';
3
17
  import { MissionManager, MissionType, MissionState } from '../missions/MissionManager.js';
@@ -6,6 +6,14 @@
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
13
+ *
14
+ * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
15
+ * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
16
+ * 建議遷移:`uds sweep ...` → `devap sweep [--fix] [--report]`
9
17
  */
10
18
 
11
19
  import chalk from 'chalk';
@@ -4,6 +4,14 @@
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
11
+ *
12
+ * 棄用理由:UDS 專注於活動定義,DevAP 承擔流程編排(XSPEC-086 / DEC-049)。
13
+ * UDS 5.x 仍維持本命令可用(向後相容),UDS 6.0.0 將移除。
14
+ * 建議遷移:`uds workflow ...` → `devap workflow list/execute/status`
7
15
  */
8
16
 
9
17
  import chalk from 'chalk';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "5.3.2",
3
+ "version": "5.5.0",
4
4
  "lastUpdated": "2026-04-16",
5
5
  "description": "Standards registry for universal-dev-standards with integrated skills and AI-optimized formats",
6
6
  "formats": {
@@ -58,14 +58,14 @@
58
58
  "standards": {
59
59
  "name": "universal-dev-standards",
60
60
  "url": "https://github.com/AsiaOstrich/universal-dev-standards",
61
- "version": "5.3.2"
61
+ "version": "5.5.0"
62
62
  },
63
63
  "skills": {
64
64
  "name": "universal-dev-standards",
65
65
  "url": "https://github.com/AsiaOstrich/universal-dev-standards",
66
66
  "localPath": "skills",
67
67
  "rawUrl": "https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/skills",
68
- "version": "5.3.2",
68
+ "version": "5.5.0",
69
69
  "note": "Skills are now included in the main repository under skills/"
70
70
  }
71
71
  },
@@ -1007,7 +1007,12 @@
1007
1007
  },
1008
1008
  "category": "reference",
1009
1009
  "skillName": null,
1010
- "description": "Protocol for persisting and restoring workflow state across AI sessions"
1010
+ "deprecated": true,
1011
+ "deprecatedSince": "5.4.0",
1012
+ "removalVersion": "6.0.0",
1013
+ "canonicalOwner": "devap",
1014
+ "canonicalPath": "dev-autopilot/standards/flow/workflow-state-protocol.ai.yaml",
1015
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Workflow state persistence protocol — see dev-autopilot/standards/flow/workflow-state-protocol.ai.yaml"
1011
1016
  },
1012
1017
  {
1013
1018
  "id": "workflow-enforcement",
@@ -1019,7 +1024,12 @@
1019
1024
  },
1020
1025
  "category": "reference",
1021
1026
  "skillName": null,
1022
- "description": "Machine-enforceable workflow gates that prevent phase skipping in SDD/TDD/BDD methodologies"
1027
+ "deprecated": true,
1028
+ "deprecatedSince": "5.4.0",
1029
+ "removalVersion": "6.0.0",
1030
+ "canonicalOwner": "devap",
1031
+ "canonicalPath": "dev-autopilot/standards/flow/workflow-enforcement.ai.yaml",
1032
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Machine-enforceable workflow gates — see dev-autopilot/standards/flow/workflow-enforcement.ai.yaml"
1023
1033
  },
1024
1034
  {
1025
1035
  "id": "testing",
@@ -1172,7 +1182,66 @@
1172
1182
  },
1173
1183
  "category": "skill",
1174
1184
  "skillName": "test-coverage-assistant",
1175
- "description": "Framework for evaluating test coverage completeness"
1185
+ "description": "Framework for evaluating test coverage completeness across 10 dimensions"
1186
+ },
1187
+ {
1188
+ "id": "flow-based-testing",
1189
+ "name": "Flow-Based Testing",
1190
+ "nameZh": "流程解構測試",
1191
+ "source": {
1192
+ "human": "core/flow-based-testing.md",
1193
+ "ai": "ai/standards/flow-based-testing.ai.yaml"
1194
+ },
1195
+ "category": "skill",
1196
+ "skillName": "e2e-assistant",
1197
+ "description": "Flow decomposition methodology for testing multi-step processes with branch coverage"
1198
+ },
1199
+ {
1200
+ "id": "mock-boundary",
1201
+ "name": "Mock Boundary Standards",
1202
+ "nameZh": "Mock 邊界規則",
1203
+ "source": {
1204
+ "human": "core/mock-boundary.md",
1205
+ "ai": "ai/standards/mock-boundary.ai.yaml"
1206
+ },
1207
+ "category": "skill",
1208
+ "skillName": "testing-guide",
1209
+ "description": "Rules defining what can and cannot be mocked to prevent hollow tests"
1210
+ },
1211
+ {
1212
+ "id": "security-testing",
1213
+ "name": "Security Testing Standards",
1214
+ "nameZh": "安全測試標準",
1215
+ "source": {
1216
+ "human": "core/security-testing.md",
1217
+ "ai": "ai/standards/security-testing.ai.yaml"
1218
+ },
1219
+ "category": "skill",
1220
+ "skillName": "security-scan-assistant",
1221
+ "description": "SAST, dependency auditing, DAST, and secret scanning methodology"
1222
+ },
1223
+ {
1224
+ "id": "llm-output-validation",
1225
+ "name": "LLM Output Validation Standards",
1226
+ "nameZh": "LLM 輸出驗證標準",
1227
+ "source": {
1228
+ "human": "core/llm-output-validation.md",
1229
+ "ai": "ai/standards/llm-output-validation.ai.yaml"
1230
+ },
1231
+ "category": "testing",
1232
+ "description": "Standards for validating LLM and AI agent outputs: schema conformance, hallucination detection, prompt regression"
1233
+ },
1234
+ {
1235
+ "id": "mutation-testing",
1236
+ "name": "Mutation Testing Standards",
1237
+ "nameZh": "突變測試標準",
1238
+ "source": {
1239
+ "human": "core/mutation-testing.md",
1240
+ "ai": "ai/standards/mutation-testing.ai.yaml"
1241
+ },
1242
+ "category": "skill",
1243
+ "skillName": "test-coverage-assistant",
1244
+ "description": "Mutation testing methodology to evaluate test suite effectiveness"
1176
1245
  },
1177
1246
  {
1178
1247
  "id": "test-driven-development",
@@ -1367,7 +1436,12 @@
1367
1436
  },
1368
1437
  "category": "reference",
1369
1438
  "skillName": null,
1370
- "description": "Structured system for persisting agent execution artifacts with L1/L2/L3 tiered access model"
1439
+ "deprecated": true,
1440
+ "deprecatedSince": "5.4.0",
1441
+ "removalVersion": "6.0.0",
1442
+ "canonicalOwner": "devap",
1443
+ "canonicalPath": "dev-autopilot/standards/orchestration/execution-history.ai.yaml",
1444
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Execution history L1/L2/L3 protocol — see dev-autopilot/standards/orchestration/execution-history.ai.yaml"
1371
1445
  },
1372
1446
  {
1373
1447
  "id": "project-context-memory",
@@ -1554,7 +1628,12 @@
1554
1628
  },
1555
1629
  "category": "reference",
1556
1630
  "skillName": null,
1557
- "description": "Configuration contract, stage model, and context classification for automated development pipelines"
1631
+ "deprecated": true,
1632
+ "deprecatedSince": "5.4.0",
1633
+ "removalVersion": "6.0.0",
1634
+ "canonicalOwner": "devap",
1635
+ "canonicalPath": "dev-autopilot/standards/flow/pipeline-integration-standards.ai.yaml",
1636
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Pipeline 6-stage model — see dev-autopilot/standards/flow/pipeline-integration-standards.ai.yaml"
1558
1637
  },
1559
1638
  {
1560
1639
  "id": "acceptance-criteria-traceability",
@@ -1578,7 +1657,12 @@
1578
1657
  },
1579
1658
  "category": "reference",
1580
1659
  "skillName": null,
1581
- "description": "Pending changes state machine, threshold strategies, and atomicity guarantees for batch commits"
1660
+ "deprecated": true,
1661
+ "deprecatedSince": "5.4.0",
1662
+ "removalVersion": "6.0.0",
1663
+ "canonicalOwner": "devap",
1664
+ "canonicalPath": "dev-autopilot/standards/flow/change-batching-standards.ai.yaml",
1665
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Change batching state machine — see dev-autopilot/standards/flow/change-batching-standards.ai.yaml"
1582
1666
  },
1583
1667
  {
1584
1668
  "id": "migration-template",
@@ -1612,7 +1696,12 @@
1612
1696
  },
1613
1697
  "category": "skill",
1614
1698
  "skillName": null,
1615
- "description": "Sub-agent dispatch, parallel coordination, and status protocol (DONE/DONE_WITH_CONCERNS/NEEDS_CONTEXT/BLOCKED)"
1699
+ "deprecated": true,
1700
+ "deprecatedSince": "5.4.0",
1701
+ "removalVersion": "6.0.0",
1702
+ "canonicalOwner": "devap",
1703
+ "canonicalPath": "dev-autopilot/standards/orchestration/agent-dispatch.ai.yaml",
1704
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Agent dispatch protocol — see dev-autopilot/standards/orchestration/agent-dispatch.ai.yaml"
1616
1705
  },
1617
1706
  {
1618
1707
  "id": "agent-communication-protocol",
@@ -1624,7 +1713,12 @@
1624
1713
  },
1625
1714
  "category": "skill",
1626
1715
  "skillName": null,
1627
- "description": "Unified status codes, envelope protocol, structured handoff, and versioning for cross-project agent communication"
1716
+ "deprecated": true,
1717
+ "deprecatedSince": "5.4.0",
1718
+ "removalVersion": "6.0.0",
1719
+ "canonicalOwner": "devap",
1720
+ "canonicalPath": "dev-autopilot/standards/orchestration/agent-communication-protocol.ai.yaml",
1721
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Agent envelope/handoff protocol — see dev-autopilot/standards/orchestration/agent-communication-protocol.ai.yaml"
1628
1722
  },
1629
1723
  {
1630
1724
  "id": "model-selection",
@@ -1660,7 +1754,12 @@
1660
1754
  },
1661
1755
  "category": "reference",
1662
1756
  "skillName": null,
1663
- "description": "Branch completion workflow with 4 options (merge/PR/keep/discard) and prerequisite checks"
1757
+ "deprecated": true,
1758
+ "deprecatedSince": "5.4.0",
1759
+ "removalVersion": "6.0.0",
1760
+ "canonicalOwner": "devap",
1761
+ "canonicalPath": "dev-autopilot/standards/flow/branch-completion.ai.yaml",
1762
+ "description": "DEPRECATED: Migrated to DevAP per DEC-049. Branch completion workflow — see dev-autopilot/standards/flow/branch-completion.ai.yaml"
1664
1763
  },
1665
1764
  {
1666
1765
  "id": "verification-evidence",
@@ -2118,6 +2217,369 @@
2118
2217
  },
2119
2218
  "category": "core",
2120
2219
  "description": "Security checkpoints embedded in CI pipeline — SAST, DAST, SCA, secrets scan with block/warn/log behavior"
2220
+ },
2221
+ {
2222
+ "id": "slo-sli",
2223
+ "name": "SLO/SLI Definition Standards",
2224
+ "nameZh": "SLO/SLI 定義標準",
2225
+ "source": {
2226
+ "human": "core/slo-sli.md",
2227
+ "ai": "ai/standards/slo-sli.ai.yaml"
2228
+ },
2229
+ "category": "core",
2230
+ "description": "SLI selection per service type, SLO target-setting methodology, error budget policies, and multi-window burn-rate alerting"
2231
+ },
2232
+ {
2233
+ "id": "runbook",
2234
+ "name": "Runbook Writing Standards",
2235
+ "nameZh": "Runbook 撰寫標準",
2236
+ "source": {
2237
+ "human": "core/runbook.md",
2238
+ "ai": "ai/standards/runbook.ai.yaml"
2239
+ },
2240
+ "category": "core",
2241
+ "description": "Required sections, reproducible steps, naming conventions, review cadence, and drill frequency for operational runbooks"
2242
+ },
2243
+ {
2244
+ "id": "incident-response",
2245
+ "name": "Incident Response Standards",
2246
+ "nameZh": "事件回應標準",
2247
+ "source": {
2248
+ "human": "core/incident-response.md",
2249
+ "ai": "ai/standards/incident-response.ai.yaml"
2250
+ },
2251
+ "category": "core",
2252
+ "description": "Severity classification, IC role, stakeholder communication, blameless postmortem, on-call rotation, and incident metrics"
2253
+ },
2254
+ {
2255
+ "id": "license-compliance",
2256
+ "name": "License Compliance Standards",
2257
+ "nameZh": "授權合規標準",
2258
+ "source": {
2259
+ "human": "core/license-compliance.md",
2260
+ "ai": "ai/standards/license-compliance.ai.yaml"
2261
+ },
2262
+ "category": "core",
2263
+ "description": "License tier classification, automated scanning in CI, SBOM generation, attribution notices, and violation remediation"
2264
+ },
2265
+ {
2266
+ "id": "pii-classification",
2267
+ "name": "PII Classification and Handling Standards",
2268
+ "nameZh": "PII 分類與處理標準",
2269
+ "source": {
2270
+ "human": "core/pii-classification.md",
2271
+ "ai": "ai/standards/pii-classification.ai.yaml"
2272
+ },
2273
+ "category": "core",
2274
+ "description": "Three-tier PII sensitivity classification, data minimization, masking in non-production, retention schedules, and cross-border transfer controls"
2275
+ },
2276
+ {
2277
+ "id": "audit-trail",
2278
+ "name": "Audit Trail Standards",
2279
+ "nameZh": "稽核追蹤標準",
2280
+ "source": {
2281
+ "human": "core/audit-trail.md",
2282
+ "ai": "ai/standards/audit-trail.ai.yaml"
2283
+ },
2284
+ "category": "core",
2285
+ "description": "Mandatory auditable events, record schema, immutability, retention periods, query/export, and SIEM integration"
2286
+ },
2287
+ {
2288
+ "id": "schema-evolution",
2289
+ "name": "Schema Evolution Standards",
2290
+ "nameZh": "Schema 演進標準",
2291
+ "source": {
2292
+ "human": "core/schema-evolution.md",
2293
+ "ai": "ai/standards/schema-evolution.ai.yaml"
2294
+ },
2295
+ "category": "core",
2296
+ "description": "Backward-compatible change patterns, prohibited breaking changes, expand-contract migration, schema versioning, and CI compatibility checks"
2297
+ },
2298
+ {
2299
+ "id": "data-contract",
2300
+ "name": "Data Contract Standards",
2301
+ "nameZh": "資料契約標準",
2302
+ "source": {
2303
+ "human": "core/data-contract.md",
2304
+ "ai": "ai/standards/data-contract.ai.yaml"
2305
+ },
2306
+ "category": "core",
2307
+ "description": "Data contract specification format, quality SLOs, breaking-change governance, automated contract testing, and consumer registration"
2308
+ },
2309
+ {
2310
+ "id": "data-pipeline",
2311
+ "name": "Data Pipeline Standards",
2312
+ "nameZh": "資料管線標準",
2313
+ "source": {
2314
+ "human": "core/data-pipeline.md",
2315
+ "ai": "ai/standards/data-pipeline.ai.yaml"
2316
+ },
2317
+ "category": "core",
2318
+ "description": "Idempotency, error handling with DLQs, checkpointing, data lineage, pipeline observability SLOs, and testing requirements"
2319
+ },
2320
+ {
2321
+ "id": "iac-design-principles",
2322
+ "name": "Infrastructure as Code Design Principles",
2323
+ "nameZh": "基礎設施即程式碼設計原則",
2324
+ "source": {
2325
+ "human": "core/iac-design-principles.md",
2326
+ "ai": "ai/standards/iac-design-principles.ai.yaml"
2327
+ },
2328
+ "category": "core",
2329
+ "description": "Four IaC principles (reproducible, immutable, idempotent, versioned), remote state with locking, and drift detection with three-category classification"
2330
+ },
2331
+ {
2332
+ "id": "container-image-standards",
2333
+ "name": "Container Image Build and Security Standards",
2334
+ "nameZh": "容器映像建構與安全標準",
2335
+ "source": {
2336
+ "human": "core/container-image-standards.md",
2337
+ "ai": "ai/standards/container-image-standards.ai.yaml"
2338
+ },
2339
+ "category": "core",
2340
+ "description": "Dockerfile five principles (multi-stage, non-root, distroless, no secrets, SBOM labels), SBOM embedding via syft/trivy, and CVE scanning block policy"
2341
+ },
2342
+ {
2343
+ "id": "secret-management-standards",
2344
+ "name": "Secret Management and Credential Hygiene Standards",
2345
+ "nameZh": "機密管理與憑證衛生標準",
2346
+ "source": {
2347
+ "human": "core/secret-management-standards.md",
2348
+ "ai": "ai/standards/secret-management-standards.ai.yaml"
2349
+ },
2350
+ "category": "core",
2351
+ "description": "Three secret source tiers (Vault, Cloud KMS, SOPS), rotation policies by credential type, hardcoded secret prevention, and safe injection patterns"
2352
+ },
2353
+ {
2354
+ "id": "prd-standards",
2355
+ "name": "Product Requirements Document Standards",
2356
+ "nameZh": "產品需求文件標準",
2357
+ "source": {
2358
+ "human": "core/prd-standards.md",
2359
+ "ai": "ai/standards/prd-standards.ai.yaml"
2360
+ },
2361
+ "category": "core",
2362
+ "description": "PRD five sections (Problem, Persona, Metrics, Scope, Constraints), PRD-to-user-story bridge with metric traceability, and post-kickoff revision policy"
2363
+ },
2364
+ {
2365
+ "id": "product-metrics-standards",
2366
+ "name": "Product Metrics Framework Standards",
2367
+ "nameZh": "產品指標框架標準",
2368
+ "source": {
2369
+ "human": "core/product-metrics-standards.md",
2370
+ "ai": "ai/standards/product-metrics-standards.ai.yaml"
2371
+ },
2372
+ "category": "core",
2373
+ "description": "Framework selection matrix (AARRR/HEART/North Star), North Star four criteria, three-level metric hierarchy, and anti-vanity metric rule"
2374
+ },
2375
+ {
2376
+ "id": "user-story-mapping",
2377
+ "name": "User Story Mapping Standards",
2378
+ "nameZh": "使用者故事地圖標準",
2379
+ "source": {
2380
+ "human": "core/user-story-mapping.md",
2381
+ "ai": "ai/standards/user-story-mapping.ai.yaml"
2382
+ },
2383
+ "category": "core",
2384
+ "description": "Three-layer story map (Backbone, Walking Skeleton, Detail Stories), MVP horizontal slice rule, INVEST compliance per story, and GWT acceptance criteria"
2385
+ },
2386
+ {
2387
+ "id": "secure-op",
2388
+ "name": "Secure-Op Standard",
2389
+ "nameZh": "AI Agent 安全操作標準",
2390
+ "source": {
2391
+ "human": "core/secure-op.md",
2392
+ "ai": "ai/standards/secure-op.ai.yaml"
2393
+ },
2394
+ "category": "security",
2395
+ "description": "AI Agent secure operation methodology: Veto-based decision, SOBR risk scoring, Fail-Closed principle, tamper-evident audit chain, HITL escalation, and prompt injection defense"
2396
+ },
2397
+ {
2398
+ "id": "server-ops-security",
2399
+ "name": "Server Operations Security",
2400
+ "nameZh": "伺服器操作安全標準",
2401
+ "source": {
2402
+ "human": "core/server-ops-security.md",
2403
+ "ai": "ai/standards/server-ops-security.ai.yaml"
2404
+ },
2405
+ "category": "security",
2406
+ "description": "SSH hardening, host configuration, privilege management, bastion patterns, patch management SLA, and network isolation for AI Agent production environments"
2407
+ },
2408
+ {
2409
+ "id": "container-security",
2410
+ "name": "Container Security",
2411
+ "nameZh": "容器安全標準",
2412
+ "source": {
2413
+ "human": "core/container-security.md",
2414
+ "ai": "ai/standards/container-security.ai.yaml"
2415
+ },
2416
+ "category": "security",
2417
+ "description": "Container image hardening, registry security, runtime protection, secrets management, Kubernetes network policy, and supply chain integrity for AI Agent production environments"
2418
+ },
2419
+ {
2420
+ "id": "adversarial-test",
2421
+ "name": "Adversarial Test Standards",
2422
+ "nameZh": "對抗性測試標準",
2423
+ "source": {
2424
+ "human": "core/adversarial-test.md",
2425
+ "ai": "ai/standards/adversarial-test.ai.yaml"
2426
+ },
2427
+ "category": "testing",
2428
+ "description": "Red-team corpus design for AI agents: OWASP LLM Top 10 adversarial probes (prompt injection LLM01, PII exfiltration LLM06, privilege escalation LLM08, source-agent spoofing)"
2429
+ },
2430
+ {
2431
+ "id": "policy-as-code-testing",
2432
+ "name": "Policy as Code Testing Standards",
2433
+ "nameZh": "Policy as Code 測試標準",
2434
+ "source": {
2435
+ "human": "core/policy-as-code-testing.md",
2436
+ "ai": "ai/standards/policy-as-code-testing.ai.yaml"
2437
+ },
2438
+ "category": "testing",
2439
+ "description": "OPA Rego unit test standards: _test.rego file conventions, ALLOW/DENY/boundary cases, Fail-Closed default, CI opa test integration, anti-patterns (array.concat on sets)"
2440
+ },
2441
+ {
2442
+ "id": "sast-advanced",
2443
+ "name": "Advanced SAST Standards",
2444
+ "nameZh": "進階 SAST 標準",
2445
+ "source": {
2446
+ "human": "core/sast-advanced.md",
2447
+ "ai": "ai/standards/sast-advanced.ai.yaml"
2448
+ },
2449
+ "category": "security",
2450
+ "description": "CodeQL semantic code analysis + secret scanning + Biome security rules. Complements dependency auditing with deep static analysis detecting injection vulnerabilities."
2451
+ }
2452
+ ,
2453
+ {
2454
+ "id": "prompt-regression",
2455
+ "name": "Prompt Regression Standards",
2456
+ "nameZh": "Prompt 回歸測試標準",
2457
+ "source": {
2458
+ "human": "core/prompt-regression.md",
2459
+ "ai": "ai/standards/prompt-regression.ai.yaml"
2460
+ },
2461
+ "category": "testing",
2462
+ "description": "Golden SHA-256 checksum tests for AI agent prompt files. Detects unintended prompt changes in CI; requires documented acknowledgment when checksums are updated."
2463
+ }
2464
+ ,
2465
+ {
2466
+ "id": "supply-chain-attestation",
2467
+ "name": "Supply Chain Attestation Standards",
2468
+ "nameZh": "供應鏈溯源標準",
2469
+ "source": {
2470
+ "human": "core/supply-chain-attestation.md",
2471
+ "ai": "ai/standards/supply-chain-attestation.ai.yaml"
2472
+ },
2473
+ "category": "security",
2474
+ "description": "CycloneDX SBOM generation, SLSA provenance (L1/L2), and cosign signing for verifiable software supply chain integrity from source to deployed artefact."
2475
+ }
2476
+ ,
2477
+ {
2478
+ "id": "cost-budget-test",
2479
+ "name": "Cost Budget Test Standards",
2480
+ "nameZh": "成本預算測試標準",
2481
+ "source": {
2482
+ "human": "core/cost-budget-test.md",
2483
+ "ai": "ai/standards/cost-budget-test.ai.yaml"
2484
+ },
2485
+ "category": "testing",
2486
+ "description": "Unit tests for AI agent token budget zone classification boundaries (safe/warning/danger/blocking), pipeline cost thresholds, and runaway-loop prevention guards."
2487
+ }
2488
+ ,
2489
+ {
2490
+ "id": "replay-test",
2491
+ "name": "Replay Test Standards",
2492
+ "nameZh": "回放測試標準",
2493
+ "source": {
2494
+ "human": "core/replay-test.md",
2495
+ "ai": "ai/standards/replay-test.ai.yaml"
2496
+ },
2497
+ "category": "testing",
2498
+ "description": "Golden fixture recording and deterministic replay for AI agent pipelines. Enables customer bug reproduction, verdict regression detection, and incident investigation without a live LLM."
2499
+ }
2500
+ ,
2501
+ {
2502
+ "id": "smoke-test",
2503
+ "name": "Smoke Test Standards",
2504
+ "nameZh": "煙霧測試標準",
2505
+ "source": {
2506
+ "human": "core/smoke-test.md",
2507
+ "ai": "ai/standards/smoke-test.ai.yaml"
2508
+ },
2509
+ "category": "testing",
2510
+ "description": "Post-deployment sanity checks verifying critical paths (health endpoint, core API) complete in under 30 seconds with zero external dependencies."
2511
+ }
2512
+ ,
2513
+ {
2514
+ "id": "property-based-testing",
2515
+ "name": "Property-Based Testing Standards",
2516
+ "nameZh": "屬性基礎測試標準",
2517
+ "source": {
2518
+ "human": "core/property-based-testing.md",
2519
+ "ai": "ai/standards/property-based-testing.ai.yaml"
2520
+ },
2521
+ "category": "testing",
2522
+ "description": "fast-check / Hypothesis property tests for pure functions: range clamping, determinism, monotonicity, round-trip. Complements example-based unit tests by generating hundreds of random inputs."
2523
+ }
2524
+ ,
2525
+ {
2526
+ "id": "disaster-recovery-drill",
2527
+ "name": "Disaster Recovery Drill Standards",
2528
+ "nameZh": "災難恢復演練標準",
2529
+ "source": {
2530
+ "human": "core/disaster-recovery-drill.md",
2531
+ "ai": "ai/standards/disaster-recovery-drill.ai.yaml"
2532
+ },
2533
+ "category": "operations",
2534
+ "description": "Quarterly DR drill protocol: RTO/RPO targets, backup restore verification, Game Day exercises, drill records retained 12 months."
2535
+ }
2536
+ ,
2537
+ {
2538
+ "id": "flaky-test-management",
2539
+ "name": "Flaky Test Management Standards",
2540
+ "nameZh": "不穩定測試管理標準",
2541
+ "source": {
2542
+ "human": "core/flaky-test-management.md",
2543
+ "ai": "ai/standards/flaky-test-management.ai.yaml"
2544
+ },
2545
+ "category": "testing",
2546
+ "description": "Policies for detecting, quarantining (< 48h), and eliminating (< 30 days) flaky tests. Retry policy, root cause documentation, and quarantine annotation conventions."
2547
+ }
2548
+ ,
2549
+ {
2550
+ "id": "data-migration-testing",
2551
+ "name": "Data Migration Testing Standards",
2552
+ "nameZh": "資料遷移測試標準",
2553
+ "source": {
2554
+ "human": "core/data-migration-testing.md",
2555
+ "ai": "ai/standards/data-migration-testing.ai.yaml"
2556
+ },
2557
+ "category": "testing",
2558
+ "description": "Standards for database schema migration tests: up/down/idempotency/data-preservation coverage. Requires isolated in-memory DB per test, verifiable rollback path, and data integrity after ALTER/DROP."
2559
+ }
2560
+ ,
2561
+ {
2562
+ "id": "chaos-injection-tests",
2563
+ "name": "Chaos Injection Test Standards",
2564
+ "nameZh": "混沌注入測試標準",
2565
+ "source": {
2566
+ "human": "core/chaos-injection-tests.md",
2567
+ "ai": "ai/standards/chaos-injection-tests.ai.yaml"
2568
+ },
2569
+ "category": "testing",
2570
+ "description": "Executable chaos injection tests for AI agent systems: LLM timeout/rate-limit, DB disconnect rollback, policy-engine fail-closed, and inter-agent blast-radius containment tests."
2571
+ }
2572
+ ,
2573
+ {
2574
+ "id": "release-quality-manifest",
2575
+ "name": "Release Quality Manifest Standards",
2576
+ "nameZh": "發布品質宣言標準",
2577
+ "source": {
2578
+ "human": "core/release-quality-manifest.md",
2579
+ "ai": "ai/standards/release-quality-manifest.ai.yaml"
2580
+ },
2581
+ "category": "deployment",
2582
+ "description": "Machine-readable per-release Quality Manifest aggregating all gate results (coverage, mutation, CVE, SAST, E2E, container scan, SBOM, LLM hallucination). Auto-generated by CI; customer-shareable."
2121
2583
  }
2122
2584
  ]
2123
2585
  }