intent-flow 0.1.0__py3-none-any.whl

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 (264) hide show
  1. intent_flow/__init__.py +1 -0
  2. intent_flow/_assets/agents/backend-java-ddd-design.yaml +23 -0
  3. intent_flow/_assets/agents/backend-java-ddd-implementer.yaml +24 -0
  4. intent_flow/_assets/agents/backend-java-ddd-verify.yaml +26 -0
  5. intent_flow/_assets/agents/ddd-schema-designer.yaml +21 -0
  6. intent_flow/_assets/agents/prd-writer.yaml +22 -0
  7. intent_flow/_assets/agents/project-decomposer.yaml +24 -0
  8. intent_flow/_assets/agents/requirement-intake.yaml +19 -0
  9. intent_flow/_assets/flow/stages.yaml +26 -0
  10. intent_flow/_assets/flow/status.yaml +17 -0
  11. intent_flow/_assets/flow/transitions.yaml +23 -0
  12. intent_flow/_assets/intent-flow.yaml.example +33 -0
  13. intent_flow/_assets/manifest.yaml +13 -0
  14. intent_flow/_assets/roles/developer.yaml +28 -0
  15. intent_flow/_assets/roles/fullstack.yaml +35 -0
  16. intent_flow/_assets/roles/product-manager.yaml +13 -0
  17. intent_flow/_assets/skills/backend-java-ddd/design/SKILL.md +442 -0
  18. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/SPEC.md +80 -0
  19. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/acceptance/acceptance.md +37 -0
  20. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/application/country-create.md +113 -0
  21. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/application/country-detail.md +97 -0
  22. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/application/country-disable.md +97 -0
  23. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/application/country-enable.md +90 -0
  24. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/application/country-page.md +113 -0
  25. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/application/country-update.md +102 -0
  26. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/change/260227-01-/321/205/320/253/342/225/234/321/205/320/276/342/225/242/321/207/320/276/320/261/321/207/320/240/320/226/321/206/320/270/320/261/321/205/320/255/320/247.md +63 -0
  27. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/change/260315-02-/321/205/320/253/342/225/234/321/205/320/276/342/225/242/321/211/342/225/227/320/250/321/210/320/276/320/264/321/205/342/225/225/320/221/321/207/320/267/320/235/321/205/320/262/320/256/321/205/342/225/235/342/225/221.md +53 -0
  28. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/constraints/ddd-implementation.md +7 -0
  29. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/core/create.md +110 -0
  30. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/core/disable.md +85 -0
  31. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/core/enable.md +85 -0
  32. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/core/object-profile.md +106 -0
  33. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/core/update.md +103 -0
  34. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/rules/application-rules.md +12 -0
  35. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/rules/cross-object-rules.md +11 -0
  36. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/rules/object-rules.md +13 -0
  37. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/scenarios/create-country.md +26 -0
  38. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/scenarios/detail-country.md +22 -0
  39. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/scenarios/disable-country.md +22 -0
  40. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/scenarios/enable-country.md +22 -0
  41. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/scenarios/page-country.md +24 -0
  42. intent_flow/_assets/skills/backend-java-ddd/design/examples/country/scenarios/update-country.md +24 -0
  43. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/SPEC.md +79 -0
  44. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/acceptance/acceptance.md +36 -0
  45. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/application/currency-create.md +80 -0
  46. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/application/currency-detail.md +77 -0
  47. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/application/currency-disable.md +77 -0
  48. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/application/currency-enable.md +70 -0
  49. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/application/currency-page.md +89 -0
  50. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/application/currency-update.md +75 -0
  51. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/change/260303-01-/321/205/342/225/225/320/221/321/207/320/267/320/235/321/207/320/276/320/261/321/207/320/240/320/226.md +64 -0
  52. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/constraints/ddd-implementation.md +7 -0
  53. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/core/create.md +94 -0
  54. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/core/disable.md +85 -0
  55. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/core/enable.md +85 -0
  56. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/core/object-profile.md +95 -0
  57. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/core/update.md +90 -0
  58. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/rules/application-rules.md +11 -0
  59. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/rules/cross-object-rules.md +10 -0
  60. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/rules/object-rules.md +13 -0
  61. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/scenarios/create-currency.md +24 -0
  62. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/scenarios/detail-currency.md +22 -0
  63. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/scenarios/disable-currency.md +22 -0
  64. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/scenarios/enable-currency.md +22 -0
  65. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/scenarios/page-currency.md +24 -0
  66. intent_flow/_assets/skills/backend-java-ddd/design/examples/currency/scenarios/update-currency.md +23 -0
  67. intent_flow/_assets/skills/backend-java-ddd/design/references/INDEX.md +35 -0
  68. intent_flow/_assets/skills/backend-java-ddd/design/references/concepts/application-vs-core-behavior.md +54 -0
  69. intent_flow/_assets/skills/backend-java-ddd/design/references/concepts/business-object.md +43 -0
  70. intent_flow/_assets/skills/backend-java-ddd/design/references/concepts/object-spec-package.md +45 -0
  71. intent_flow/_assets/skills/backend-java-ddd/design/references/process/generation-process.md +75 -0
  72. intent_flow/_assets/skills/backend-java-ddd/design/references/rules/business-object-generation-rules.md +82 -0
  73. intent_flow/_assets/skills/backend-java-ddd/design/references/rules/change-impact-rules.md +45 -0
  74. intent_flow/_assets/skills/backend-java-ddd/design/references/rules/consistency-check-rules.md +47 -0
  75. intent_flow/_assets/skills/backend-java-ddd/design/references/rules/extraction-rules.md +126 -0
  76. intent_flow/_assets/skills/backend-java-ddd/design/references/rules/file-generation-rules.md +275 -0
  77. intent_flow/_assets/skills/backend-java-ddd/design/references/rules/output-artifact-checklist.md +328 -0
  78. intent_flow/_assets/skills/backend-java-ddd/design/templates/INDEX.md +22 -0
  79. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/SPEC.md +34 -0
  80. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/acceptance.md +13 -0
  81. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/application-behavior.md +67 -0
  82. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/change.md +43 -0
  83. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/constraints.md +19 -0
  84. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/core-behavior.md +67 -0
  85. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/object-profile.md +35 -0
  86. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/rules.md +17 -0
  87. intent_flow/_assets/skills/backend-java-ddd/design/templates/object/scenario.md +25 -0
  88. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/anti-patterns/SKILL.md +488 -0
  89. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/bootstrap/SKILL.md +171 -0
  90. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/code-generation-workflow/SKILL.md +755 -0
  91. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/code-style/code-formatting/SKILL.md +297 -0
  92. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/code-style/comment-javadoc/SKILL.md +494 -0
  93. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/code-style/imports/SKILL.md +237 -0
  94. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/coding-standards/SKILL.md +304 -0
  95. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/exception-logging/SKILL.md +318 -0
  96. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/loading-strategy/SKILL.md +193 -0
  97. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/naming-convention/SKILL.md +223 -0
  98. intent_flow/_assets/skills/backend-java-ddd/implementer/00-core/project-architecture/SKILL.md +132 -0
  99. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/adapter/controller/SKILL.md +488 -0
  100. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/adapter/controller/examples/complete-controller.md +382 -0
  101. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/adapter/controller/examples/pagination.md +103 -0
  102. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/SKILL.md +216 -0
  103. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/async.md +446 -0
  104. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/batch.md +555 -0
  105. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/conditional.md +549 -0
  106. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/cross-domain-cmdexe.md +417 -0
  107. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/cross-domain.md +491 -0
  108. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/distributed-tx.md +406 -0
  109. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/mixed.md +470 -0
  110. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/simple-cmdexe.md +512 -0
  111. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/appservice/examples/simple-qryexe.md +434 -0
  112. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/cmdexe/SKILL.md +288 -0
  113. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/cmdexe/examples/action.md +648 -0
  114. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/cmdexe/examples/create.md +775 -0
  115. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/cmdexe/examples/update.md +721 -0
  116. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/convertor/SKILL.md +231 -0
  117. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/convertor/examples/convertor.md +612 -0
  118. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/dto/SKILL.md +75 -0
  119. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/dto/examples/cmd.md +205 -0
  120. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/dto/examples/co.md +168 -0
  121. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/dto/examples/qry.md +208 -0
  122. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/qryexe/SKILL.md +354 -0
  123. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/qryexe/examples/detail.md +156 -0
  124. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/application/qryexe/examples/pagination.md +145 -0
  125. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/entity/SKILL.md +280 -0
  126. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/entity/examples/aggregate-creation.md +1009 -0
  127. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/entity/examples/aggregate-design.md +728 -0
  128. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/entity/examples/method-design.md +640 -0
  129. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/entity/examples/update-patterns.md +503 -0
  130. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/gateway/SKILL.md +181 -0
  131. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/gateway/examples/gateway-capabilities.md +536 -0
  132. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/domain/gateway/examples/gateway-interface.md +270 -0
  133. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/infrastructure/external/SKILL.md +142 -0
  134. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/infrastructure/gatewayimpl/SKILL.md +197 -0
  135. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/infrastructure/gatewayimpl/examples/cascade-mechanism.md +353 -0
  136. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/infrastructure/gatewayimpl/examples/gateway.md +316 -0
  137. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/infrastructure/repository/SKILL.md +294 -0
  138. intent_flow/_assets/skills/backend-java-ddd/implementer/01-layers/infrastructure/repository/examples/pagination.md +439 -0
  139. intent_flow/_assets/skills/backend-java-ddd/implementer/02-plugins/enum-dict-plugin/SKILL.md +239 -0
  140. intent_flow/_assets/skills/backend-java-ddd/implementer/02-plugins/pagination-backend/SKILL.md +411 -0
  141. intent_flow/_assets/skills/backend-java-ddd/implementer/02-plugins/repository-methods/SKILL.md +229 -0
  142. intent_flow/_assets/skills/backend-java-ddd/implementer/02-plugins/seata-xa/SKILL.md +268 -0
  143. intent_flow/_assets/skills/backend-java-ddd/implementer/02-plugins/spring-cache/SKILL.md +252 -0
  144. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/README.md +45 -0
  145. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/architecture/ddd-architecture.md +101 -0
  146. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/architecture/project-structure.md +143 -0
  147. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/ddd-concepts/aggregate-update.md +432 -0
  148. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/ddd-concepts/method-design.md +344 -0
  149. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/ddd-concepts/parameter-object.md +416 -0
  150. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/ddd-concepts/rich-model.md +270 -0
  151. intent_flow/_assets/skills/backend-java-ddd/implementer/10-learning/ddd-concepts/value-object.md +375 -0
  152. intent_flow/_assets/skills/backend-java-ddd/scaffold/README.md +17 -0
  153. intent_flow/_assets/skills/backend-java-ddd/scaffold/add-service-module/SKILL.md +77 -0
  154. intent_flow/_assets/skills/backend-java-ddd/scaffold/examples/service-basis.md +27 -0
  155. intent_flow/_assets/skills/backend-java-ddd/scaffold/init-multi-module-project/SKILL.md +137 -0
  156. intent_flow/_assets/skills/backend-java-ddd/scaffold/init-single-module-project/SKILL.md +115 -0
  157. intent_flow/_assets/skills/backend-java-ddd/scaffold/references/INDEX.md +19 -0
  158. intent_flow/_assets/skills/backend-java-ddd/scaffold/references/config-conventions.md +29 -0
  159. intent_flow/_assets/skills/backend-java-ddd/scaffold/references/input-checklist.md +19 -0
  160. intent_flow/_assets/skills/backend-java-ddd/scaffold/references/project-structure.md +29 -0
  161. intent_flow/_assets/skills/backend-java-ddd/scaffold/references/what-is-scaffold.md +18 -0
  162. intent_flow/_assets/skills/backend-java-ddd/scaffold/templates/INDEX.md +8 -0
  163. intent_flow/_assets/skills/backend-java-ddd/scaffold/templates/files.md +33 -0
  164. intent_flow/_assets/skills/backend-java-ddd/scaffold/templates/module-layout.md +23 -0
  165. intent_flow/_assets/skills/code-repository/commit-changes/SKILL.md +41 -0
  166. intent_flow/_assets/skills/code-repository/commit-changes/mappings/git.yaml +12 -0
  167. intent_flow/_assets/skills/code-repository/commit-changes/references/commit.md +19 -0
  168. intent_flow/_assets/skills/code-repository/create-branch/SKILL.md +41 -0
  169. intent_flow/_assets/skills/code-repository/create-branch/mappings/git.yaml +12 -0
  170. intent_flow/_assets/skills/code-repository/create-branch/references/create.md +19 -0
  171. intent_flow/_assets/skills/code-repository/diff-changes/SKILL.md +41 -0
  172. intent_flow/_assets/skills/code-repository/diff-changes/mappings/git.yaml +12 -0
  173. intent_flow/_assets/skills/code-repository/diff-changes/references/diff.md +19 -0
  174. intent_flow/_assets/skills/code-repository/read-file/SKILL.md +41 -0
  175. intent_flow/_assets/skills/code-repository/read-file/mappings/git.yaml +12 -0
  176. intent_flow/_assets/skills/code-repository/read-file/references/read.md +19 -0
  177. intent_flow/_assets/skills/decomposition/analyze-impact/SKILL.md +41 -0
  178. intent_flow/_assets/skills/decomposition/analyze-impact/references/analyze.md +19 -0
  179. intent_flow/_assets/skills/decomposition/create-project-changes/SKILL.md +41 -0
  180. intent_flow/_assets/skills/decomposition/create-project-changes/references/create.md +19 -0
  181. intent_flow/_assets/skills/decomposition/normalize-requirement/SKILL.md +41 -0
  182. intent_flow/_assets/skills/decomposition/normalize-requirement/references/normalize.md +19 -0
  183. intent_flow/_assets/skills/decomposition/normalize-requirement/templates/normalized-requirement.template.md +34 -0
  184. intent_flow/_assets/skills/domains.yaml +207 -0
  185. intent_flow/_assets/skills/local-workspace/list-artifacts/SKILL.md +41 -0
  186. intent_flow/_assets/skills/local-workspace/list-artifacts/references/list.md +19 -0
  187. intent_flow/_assets/skills/local-workspace/read-artifact/SKILL.md +41 -0
  188. intent_flow/_assets/skills/local-workspace/read-artifact/references/read.md +19 -0
  189. intent_flow/_assets/skills/local-workspace/read-meta/SKILL.md +41 -0
  190. intent_flow/_assets/skills/local-workspace/read-meta/references/read.md +19 -0
  191. intent_flow/_assets/skills/local-workspace/write-artifact/SKILL.md +41 -0
  192. intent_flow/_assets/skills/local-workspace/write-artifact/references/write.md +19 -0
  193. intent_flow/_assets/skills/local-workspace/write-meta/SKILL.md +41 -0
  194. intent_flow/_assets/skills/local-workspace/write-meta/references/write.md +19 -0
  195. intent_flow/_assets/skills/project-management/create-work-item/SKILL.md +43 -0
  196. intent_flow/_assets/skills/project-management/create-work-item/mappings/jira.yaml +29 -0
  197. intent_flow/_assets/skills/project-management/create-work-item/mappings/tapd.yaml +29 -0
  198. intent_flow/_assets/skills/project-management/create-work-item/mappings/yunxiao.yaml +36 -0
  199. intent_flow/_assets/skills/project-management/create-work-item/references/create.md +22 -0
  200. intent_flow/_assets/skills/project-management/query-work-item/SKILL.md +41 -0
  201. intent_flow/_assets/skills/project-management/query-work-item/mappings/jira.yaml +15 -0
  202. intent_flow/_assets/skills/project-management/query-work-item/mappings/tapd.yaml +15 -0
  203. intent_flow/_assets/skills/project-management/query-work-item/mappings/yunxiao.yaml +15 -0
  204. intent_flow/_assets/skills/project-management/query-work-item/references/query.md +19 -0
  205. intent_flow/_assets/skills/project-management/sync-stage/SKILL.md +41 -0
  206. intent_flow/_assets/skills/project-management/sync-stage/mappings/jira.yaml +15 -0
  207. intent_flow/_assets/skills/project-management/sync-stage/mappings/tapd.yaml +15 -0
  208. intent_flow/_assets/skills/project-management/sync-stage/mappings/yunxiao.yaml +15 -0
  209. intent_flow/_assets/skills/project-management/sync-stage/references/sync.md +19 -0
  210. intent_flow/_assets/skills/project-management/update-status/SKILL.md +41 -0
  211. intent_flow/_assets/skills/project-management/update-status/mappings/jira.yaml +31 -0
  212. intent_flow/_assets/skills/project-management/update-status/mappings/tapd.yaml +31 -0
  213. intent_flow/_assets/skills/project-management/update-status/mappings/yunxiao.yaml +32 -0
  214. intent_flow/_assets/skills/project-management/update-status/references/update.md +19 -0
  215. intent_flow/_assets/skills/project-management/update-work-item/SKILL.md +41 -0
  216. intent_flow/_assets/skills/project-management/update-work-item/mappings/jira.yaml +15 -0
  217. intent_flow/_assets/skills/project-management/update-work-item/mappings/tapd.yaml +15 -0
  218. intent_flow/_assets/skills/project-management/update-work-item/mappings/yunxiao.yaml +15 -0
  219. intent_flow/_assets/skills/project-management/update-work-item/references/update.md +19 -0
  220. intent_flow/_assets/skills/remote-document/create-doc/SKILL.md +41 -0
  221. intent_flow/_assets/skills/remote-document/create-doc/mappings/feishu.yaml +12 -0
  222. intent_flow/_assets/skills/remote-document/create-doc/mappings/yuque.yaml +12 -0
  223. intent_flow/_assets/skills/remote-document/create-doc/references/create.md +19 -0
  224. intent_flow/_assets/skills/remote-document/publish-doc/SKILL.md +41 -0
  225. intent_flow/_assets/skills/remote-document/publish-doc/mappings/feishu.yaml +12 -0
  226. intent_flow/_assets/skills/remote-document/publish-doc/mappings/yuque.yaml +12 -0
  227. intent_flow/_assets/skills/remote-document/publish-doc/references/publish.md +19 -0
  228. intent_flow/_assets/skills/remote-document/read-doc/SKILL.md +41 -0
  229. intent_flow/_assets/skills/remote-document/read-doc/mappings/feishu.yaml +12 -0
  230. intent_flow/_assets/skills/remote-document/read-doc/mappings/yuque.yaml +12 -0
  231. intent_flow/_assets/skills/remote-document/read-doc/references/read.md +19 -0
  232. intent_flow/_assets/skills/remote-document/search-doc/SKILL.md +41 -0
  233. intent_flow/_assets/skills/remote-document/search-doc/mappings/feishu.yaml +12 -0
  234. intent_flow/_assets/skills/remote-document/search-doc/mappings/yuque.yaml +12 -0
  235. intent_flow/_assets/skills/remote-document/search-doc/references/search.md +19 -0
  236. intent_flow/_assets/skills/remote-document/update-doc/SKILL.md +41 -0
  237. intent_flow/_assets/skills/remote-document/update-doc/mappings/feishu.yaml +12 -0
  238. intent_flow/_assets/skills/remote-document/update-doc/mappings/yuque.yaml +12 -0
  239. intent_flow/_assets/skills/remote-document/update-doc/references/update.md +19 -0
  240. intent_flow/_assets/skills/requirement/analyze-requirement/SKILL.md +41 -0
  241. intent_flow/_assets/skills/requirement/analyze-requirement/references/analyze.md +19 -0
  242. intent_flow/_assets/skills/requirement/generate-prd/SKILL.md +41 -0
  243. intent_flow/_assets/skills/requirement/generate-prd/references/generate.md +19 -0
  244. intent_flow/_assets/skills/requirement/generate-prd/templates/prd.template.md +24 -0
  245. intent_flow/_assets/skills/requirement/generate-prototype/SKILL.md +41 -0
  246. intent_flow/_assets/skills/requirement/generate-prototype/references/generate.md +19 -0
  247. intent_flow/_assets/skills/requirement/generate-prototype/templates/prototype.template.md +26 -0
  248. intent_flow/_assets/skills/requirement/generate-scope/SKILL.md +41 -0
  249. intent_flow/_assets/skills/requirement/generate-scope/references/generate.md +19 -0
  250. intent_flow/_assets/skills/requirement/generate-scope/templates/scope.template.md +13 -0
  251. intent_flow/_assets/skills/requirement/intake-requirement/SKILL.md +41 -0
  252. intent_flow/_assets/skills/requirement/intake-requirement/references/intake.md +19 -0
  253. intent_flow/_assets/skills/resolution.yaml +17 -0
  254. intent_flow/adapters/__init__.py +1 -0
  255. intent_flow/adapters/opencode/__init__.py +1 -0
  256. intent_flow/adapters/opencode/adapter.yaml +31 -0
  257. intent_flow/adapters/opencode/build_runtime.py +1207 -0
  258. intent_flow/adapters/opencode/intent-flow.plugin.js +161 -0
  259. intent_flow/cli.py +1067 -0
  260. intent_flow-0.1.0.dist-info/METADATA +10 -0
  261. intent_flow-0.1.0.dist-info/RECORD +264 -0
  262. intent_flow-0.1.0.dist-info/WHEEL +5 -0
  263. intent_flow-0.1.0.dist-info/entry_points.txt +2 -0
  264. intent_flow-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,79 @@
1
+ ---
2
+ id: basis-country-currency
3
+ title: 币种对象规格
4
+ type: business-object-spec
5
+ architecture: ddd
6
+ status: active
7
+ service: basis
8
+ module: country
9
+ object: currency
10
+ ---
11
+
12
+ # 币种对象规格
13
+
14
+ ## 1. 对象定位
15
+
16
+ 币种对象用于维护系统中的币种基础资料,是国家默认币种、金额显示、会计政策编码映射和后续业务结算配置的基础主数据对象。
17
+
18
+ ## 2. 用户场景摘要
19
+
20
+ - 新增币种
21
+ - 编辑币种
22
+ - 启用币种
23
+ - 禁用币种
24
+ - 分页查询币种
25
+ - 查询币种详情
26
+
27
+ ## 3. 业务对象定义
28
+
29
+ - 对象名称:币种
30
+ - 英文名称:Currency
31
+ - 关键属性:币别编码、币别名称、币别符号、精度位数、平均汇率、会计政策编码、状态
32
+ - 协作对象:国家、业务配置对象、会计政策相关对象
33
+
34
+ ## 4. 应用行为索引
35
+
36
+ - `currency-create` -> `application/currency-create.md`
37
+ - `currency-update` -> `application/currency-update.md`
38
+ - `currency-enable` -> `application/currency-enable.md`
39
+ - `currency-disable` -> `application/currency-disable.md`
40
+ - `currency-page` -> `application/currency-page.md`
41
+ - `currency-detail` -> `application/currency-detail.md`
42
+
43
+ ## 5. 核心行为索引
44
+
45
+ - `create` -> `core/create.md`
46
+ - `update` -> `core/update.md`
47
+ - `enable` -> `core/enable.md`
48
+ - `disable` -> `core/disable.md`
49
+
50
+ ## 6. 业务规则摘要
51
+
52
+ - 币别编码必须全局唯一
53
+ - 币别编码创建后不可修改
54
+ - 新创建的币种默认状态为禁用
55
+ - 已被国家或其他业务配置引用的币种不能直接禁用或删除
56
+
57
+ ## 7. 分层实现要求摘要
58
+
59
+ - 命令型应用行为由应用层承载
60
+ - 查询型应用行为不得进入核心行为
61
+ - 核心状态变化由核心行为承载
62
+ - 跨对象引用校验在应用层完成
63
+ - 变更不得只更新 `change/`,必须同步更新当前态
64
+
65
+ ## 8. 交付验收摘要
66
+
67
+ - 币种对象必须覆盖新增、编辑、启用、禁用、分页查询、详情查询
68
+ - 币种对象规格包必须包含对象画像、应用行为、核心行为、规则、约束、验收、change
69
+ - 国家引用币种的规则变更后,必须同步回写币种当前态与 change
70
+
71
+ ## 9. 相关目录导航
72
+
73
+ - `scenarios/`
74
+ - `application/`
75
+ - `core/`
76
+ - `rules/`
77
+ - `constraints/`
78
+ - `acceptance/`
79
+ - `change/`
@@ -0,0 +1,36 @@
1
+ # 币种对象交付验收
2
+
3
+ ## 交付清单
4
+
5
+ - `SPEC.md`
6
+ - `scenarios/create-currency.md`
7
+ - `scenarios/update-currency.md`
8
+ - `scenarios/enable-currency.md`
9
+ - `scenarios/disable-currency.md`
10
+ - `scenarios/page-currency.md`
11
+ - `scenarios/detail-currency.md`
12
+ - `core/object-profile.md`
13
+ - `core/create.md`
14
+ - `core/update.md`
15
+ - `core/enable.md`
16
+ - `core/disable.md`
17
+ - `application/currency-create.md`
18
+ - `application/currency-update.md`
19
+ - `application/currency-enable.md`
20
+ - `application/currency-disable.md`
21
+ - `application/currency-page.md`
22
+ - `application/currency-detail.md`
23
+ - `rules/*.md`
24
+ - `constraints/ddd-implementation.md`
25
+ - `acceptance/acceptance.md`
26
+ - `change/*.md`
27
+
28
+ ## 验收标准
29
+
30
+ - 系统能够成功新增币种,并在币别编码重复时明确拒绝
31
+ - 系统能够更新币种允许变更的字段,但不能修改币别编码
32
+ - 系统能够启用已禁用币种,并在重复启用时明确拒绝
33
+ - 系统能够禁用币种,并在存在国家或其他有效引用时明确阻止
34
+ - 系统能够按条件分页查询币种列表,并返回关键业务属性
35
+ - 系统能够查询币种详情,并返回完整基础资料信息
36
+ - 币种对象画像、核心行为、应用行为、规则文件、change 文件之间必须保持一致
@@ -0,0 +1,80 @@
1
+ ---
2
+ behavior: currency-create
3
+ type: command
4
+ object: currency
5
+ version: v1
6
+ created_in: v1
7
+ last_modified_in: v1
8
+ requirement_id: 260303-01-币种管理
9
+ change_id: 260303-01-币种管理
10
+ ---
11
+
12
+ # currency-create
13
+
14
+ ## 业务场景
15
+
16
+ 管理员希望创建新的币种基础资料,并保证币别编码唯一。
17
+
18
+ ## 类型
19
+
20
+ 命令型应用行为
21
+
22
+ ## 输入
23
+
24
+ **输入**:创建币种
25
+
26
+ | 参数 | 说明 | 约束 |
27
+ |------|------|------|
28
+ | 币别编码 | 币种唯一标识编码 | 必填 |
29
+ | 币别名称 | 币种中文名称 | 选填 |
30
+ | 币别符号 | 币种货币符号 | 选填 |
31
+ | 费用精度位数 | 金额计算精度 | 必填 |
32
+ | 平均汇率 | 默认平均汇率 | 选填 |
33
+ | 金蝶会计政策编码 | 外部会计政策编码 | 必填 |
34
+
35
+ ## 输出
36
+
37
+ **输出**:创建成功后的币种对象信息
38
+
39
+ ## 编排步骤
40
+
41
+ 1. 校验币别编码是否已存在
42
+ 2. 校验输入是否满足精度和必填要求
43
+ 3. 调用核心行为 `create`
44
+ 4. 保存币种对象
45
+ 5. 返回创建结果
46
+
47
+ ## 协作对象
48
+
49
+ - 无强依赖协作对象
50
+
51
+ ## 关联核心行为
52
+
53
+ - `core/create.md`
54
+
55
+ ## 业务规则
56
+
57
+ ### 唯一性规则
58
+
59
+ 创建前必须保证币别编码全局唯一。
60
+
61
+ ### 默认状态规则
62
+
63
+ 新创建的币种默认状态为禁用。
64
+
65
+ ## 失败场景
66
+
67
+ - 币别编码为空
68
+ - 币别编码已存在
69
+ - 精度位数非法
70
+
71
+ ## 事务边界
72
+
73
+ - 事务类型:本地事务
74
+ - 事务范围:创建并保存币种对象
75
+
76
+ ## 变更历史
77
+
78
+ | 版本 | 日期 | 需求编码 | 变更内容 |
79
+ |------|------|---------|---------|
80
+ | v1 | 2026-03-03 | 260303-01-币种管理 | 初始创建币种应用行为 |
@@ -0,0 +1,77 @@
1
+ ---
2
+ behavior: currency-detail
3
+ type: query
4
+ object: currency
5
+ version: v1
6
+ created_in: v1
7
+ last_modified_in: v1
8
+ requirement_id: 260303-01-币种管理
9
+ change_id: 260303-01-币种管理
10
+ ---
11
+
12
+ # currency-detail
13
+
14
+ ## 业务场景
15
+
16
+ 管理员希望查看指定币种的完整基础资料,用于确认配置或支持后续编辑。
17
+
18
+ ## 类型
19
+
20
+ 查询型应用行为
21
+
22
+ ## 输入
23
+
24
+ **输入**:查询币种详情
25
+
26
+ | 参数 | 说明 | 约束 |
27
+ |------|------|------|
28
+ | 币种ID | 要查询的币种主键 | 必填 |
29
+
30
+ ## 输出
31
+
32
+ **输出**:币种详情
33
+
34
+ - 币种ID
35
+ - 币别编码
36
+ - 币别名称
37
+ - 币别符号
38
+ - 费用精度位数
39
+ - 平均汇率
40
+ - 金蝶会计政策编码
41
+ - 状态
42
+ - 创建时间
43
+ - 更新时间
44
+
45
+ ## 编排步骤
46
+
47
+ 1. 根据币种ID查询币种详情
48
+ 2. 返回完整币种信息
49
+
50
+ ## 协作对象
51
+
52
+ - 无强依赖协作对象
53
+
54
+ ## 关联核心行为
55
+
56
+ - 无
57
+
58
+ ## 业务规则
59
+
60
+ ### 返回范围规则
61
+
62
+ 详情返回必须覆盖币种对象的关键业务属性。
63
+
64
+ ## 失败场景
65
+
66
+ - 币种不存在
67
+
68
+ ## 事务边界
69
+
70
+ - 事务类型:只读查询
71
+ - 事务范围:无需事务
72
+
73
+ ## 变更历史
74
+
75
+ | 版本 | 日期 | 需求编码 | 变更内容 |
76
+ |------|------|---------|---------|
77
+ | v1 | 2026-03-03 | 260303-01-币种管理 | 初始详情查询币种行为 |
@@ -0,0 +1,77 @@
1
+ ---
2
+ behavior: currency-disable
3
+ type: command
4
+ object: currency
5
+ version: v1
6
+ created_in: v1
7
+ last_modified_in: v1
8
+ requirement_id: 260303-01-币种管理
9
+ change_id: 260303-01-币种管理
10
+ ---
11
+
12
+ # currency-disable
13
+
14
+ ## 业务场景
15
+
16
+ 管理员希望禁用币种,使其不再参与新的国家默认币种配置或业务引用。
17
+
18
+ ## 类型
19
+
20
+ 命令型应用行为
21
+
22
+ ## 输入
23
+
24
+ **输入**:禁用币种
25
+
26
+ | 参数 | 说明 | 约束 |
27
+ |------|------|------|
28
+ | 币种ID | 要禁用的币种主键 | 必填 |
29
+
30
+ ## 输出
31
+
32
+ **输出**:禁用后的币种对象信息
33
+
34
+ ## 编排步骤
35
+
36
+ 1. 查询币种是否存在
37
+ 2. 校验当前状态是否允许禁用
38
+ 3. 检查国家或其他配置引用关系
39
+ 4. 调用核心行为 `disable`
40
+ 5. 保存币种对象
41
+ 6. 返回结果
42
+
43
+ ## 协作对象
44
+
45
+ - 国家对象:用于检查是否仍被默认币种引用
46
+ - 其他业务配置对象:用于检查是否存在有效引用
47
+
48
+ ## 关联核心行为
49
+
50
+ - `core/disable.md`
51
+
52
+ ## 业务规则
53
+
54
+ ### 状态规则
55
+
56
+ 已禁用币种不得重复禁用。
57
+
58
+ ### 引用保护规则
59
+
60
+ 若币种仍被国家或其他配置引用,则不得进入禁用状态。
61
+
62
+ ## 失败场景
63
+
64
+ - 币种不存在
65
+ - 币种已禁用
66
+ - 币种仍被国家或其他配置引用
67
+
68
+ ## 事务边界
69
+
70
+ - 事务类型:本地事务
71
+ - 事务范围:禁用前校验、禁用状态变更、保存
72
+
73
+ ## 变更历史
74
+
75
+ | 版本 | 日期 | 需求编码 | 变更内容 |
76
+ |------|------|---------|---------|
77
+ | v1 | 2026-03-03 | 260303-01-币种管理 | 初始禁用币种应用行为 |
@@ -0,0 +1,70 @@
1
+ ---
2
+ behavior: currency-enable
3
+ type: command
4
+ object: currency
5
+ version: v1
6
+ created_in: v1
7
+ last_modified_in: v1
8
+ requirement_id: 260303-01-币种管理
9
+ change_id: 260303-01-币种管理
10
+ ---
11
+
12
+ # currency-enable
13
+
14
+ ## 业务场景
15
+
16
+ 管理员希望把已禁用币种恢复为启用状态,使其可参与新的业务引用。
17
+
18
+ ## 类型
19
+
20
+ 命令型应用行为
21
+
22
+ ## 输入
23
+
24
+ **输入**:启用币种
25
+
26
+ | 参数 | 说明 | 约束 |
27
+ |------|------|------|
28
+ | 币种ID | 要启用的币种主键 | 必填 |
29
+
30
+ ## 输出
31
+
32
+ **输出**:启用后的币种对象信息
33
+
34
+ ## 编排步骤
35
+
36
+ 1. 查询币种是否存在
37
+ 2. 校验当前状态是否允许启用
38
+ 3. 调用核心行为 `enable`
39
+ 4. 保存币种对象
40
+ 5. 返回结果
41
+
42
+ ## 协作对象
43
+
44
+ - 无强依赖协作对象
45
+
46
+ ## 关联核心行为
47
+
48
+ - `core/enable.md`
49
+
50
+ ## 业务规则
51
+
52
+ ### 状态规则
53
+
54
+ 已启用币种不得重复启用。
55
+
56
+ ## 失败场景
57
+
58
+ - 币种不存在
59
+ - 币种已启用
60
+
61
+ ## 事务边界
62
+
63
+ - 事务类型:本地事务
64
+ - 事务范围:启用并保存币种对象
65
+
66
+ ## 变更历史
67
+
68
+ | 版本 | 日期 | 需求编码 | 变更内容 |
69
+ |------|------|---------|---------|
70
+ | v1 | 2026-03-03 | 260303-01-币种管理 | 初始启用币种应用行为 |
@@ -0,0 +1,89 @@
1
+ ---
2
+ behavior: currency-page
3
+ type: query
4
+ object: currency
5
+ version: v1
6
+ created_in: v1
7
+ last_modified_in: v1
8
+ requirement_id: 260303-01-币种管理
9
+ change_id: 260303-01-币种管理
10
+ ---
11
+
12
+ # currency-page
13
+
14
+ ## 业务场景
15
+
16
+ 管理员希望按条件分页查询币种列表,快速定位目标币种。
17
+
18
+ ## 类型
19
+
20
+ 查询型应用行为
21
+
22
+ ## 输入
23
+
24
+ **输入**:分页查询币种
25
+
26
+ | 参数 | 说明 | 约束 |
27
+ |------|------|------|
28
+ | 页码 | 当前页码 | 必填,从1开始 |
29
+ | 每页数量 | 分页大小 | 必填 |
30
+ | 币别编码 | 币种唯一编码 | 选填,支持模糊搜索 |
31
+ | 币别名称 | 币种中文名称 | 选填,支持模糊搜索 |
32
+ | 状态 | 启用/禁用 | 选填,精确匹配 |
33
+ | 排序规则 | 排序字段和方向 | 选填 |
34
+
35
+ ## 输出
36
+
37
+ **输出**:分页币种列表
38
+
39
+ | 字段 | 说明 |
40
+ |------|------|
41
+ | 币种ID | 主键标识 |
42
+ | 币别编码 | 币种唯一编码 |
43
+ | 币别名称 | 币种中文名称 |
44
+ | 币别符号 | 币种符号 |
45
+ | 费用精度位数 | 金额精度 |
46
+ | 平均汇率 | 默认平均汇率 |
47
+ | 金蝶会计政策编码 | 外部会计政策编码 |
48
+ | 状态 | 启用/禁用 |
49
+ | 创建时间 | 创建时间 |
50
+ | 更新时间 | 最后更新时间 |
51
+
52
+ ## 编排步骤
53
+
54
+ 1. 接收分页参数和筛选条件
55
+ 2. 执行只读分页查询
56
+ 3. 返回分页结果
57
+
58
+ ## 协作对象
59
+
60
+ - 无强依赖协作对象
61
+
62
+ ## 关联核心行为
63
+
64
+ - 无
65
+
66
+ ## 业务规则
67
+
68
+ ### 分页规则
69
+
70
+ 分页查询必须使用统一分页参数。
71
+
72
+ ### 默认排序规则
73
+
74
+ 默认按更新时间倒序返回。
75
+
76
+ ## 失败场景
77
+
78
+ - 分页参数非法
79
+
80
+ ## 事务边界
81
+
82
+ - 事务类型:只读查询
83
+ - 事务范围:无需事务
84
+
85
+ ## 变更历史
86
+
87
+ | 版本 | 日期 | 需求编码 | 变更内容 |
88
+ |------|------|---------|---------|
89
+ | v1 | 2026-03-03 | 260303-01-币种管理 | 初始分页查询币种行为 |
@@ -0,0 +1,75 @@
1
+ ---
2
+ behavior: currency-update
3
+ type: command
4
+ object: currency
5
+ version: v1
6
+ created_in: v1
7
+ last_modified_in: v1
8
+ requirement_id: 260303-01-币种管理
9
+ change_id: 260303-01-币种管理
10
+ ---
11
+
12
+ # currency-update
13
+
14
+ ## 业务场景
15
+
16
+ 管理员希望更新已有币种的名称、符号、精度或平均汇率,但不得破坏币别编码。
17
+
18
+ ## 类型
19
+
20
+ 命令型应用行为
21
+
22
+ ## 输入
23
+
24
+ **输入**:更新币种
25
+
26
+ | 参数 | 说明 | 约束 |
27
+ |------|------|------|
28
+ | 币种ID | 要更新的币种主键 | 必填 |
29
+ | 币别名称 | 币种中文名称 | 选填 |
30
+ | 币别符号 | 币种货币符号 | 选填 |
31
+ | 费用精度位数 | 金额计算精度 | 必填 |
32
+ | 平均汇率 | 默认平均汇率 | 选填 |
33
+ | 金蝶会计政策编码 | 外部会计政策编码 | 必填 |
34
+
35
+ ## 输出
36
+
37
+ **输出**:更新后的币种对象信息
38
+
39
+ ## 编排步骤
40
+
41
+ 1. 查询币种是否存在
42
+ 2. 校验更新输入是否合法
43
+ 3. 调用核心行为 `update`
44
+ 4. 保存币种对象
45
+ 5. 返回更新结果
46
+
47
+ ## 协作对象
48
+
49
+ - 无强依赖协作对象
50
+
51
+ ## 关联核心行为
52
+
53
+ - `core/update.md`
54
+
55
+ ## 业务规则
56
+
57
+ ### 主标识保护规则
58
+
59
+ 更新时不得修改币别编码。
60
+
61
+ ## 失败场景
62
+
63
+ - 币种不存在
64
+ - 尝试修改币别编码
65
+
66
+ ## 事务边界
67
+
68
+ - 事务类型:本地事务
69
+ - 事务范围:更新并保存币种对象
70
+
71
+ ## 变更历史
72
+
73
+ | 版本 | 日期 | 需求编码 | 变更内容 |
74
+ |------|------|---------|---------|
75
+ | v1 | 2026-03-03 | 260303-01-币种管理 | 初始更新币种应用行为 |
@@ -0,0 +1,64 @@
1
+ ---
2
+ change_id: 260303-01-币种管理
3
+ object: currency
4
+ source: 260303-01-币种管理-PRD.md
5
+ ---
6
+
7
+ # 260303-01-币种管理
8
+
9
+ ## 变更来源
10
+
11
+ - PRD:260303-01-币种管理-PRD.md
12
+
13
+ ## 变更原因
14
+
15
+ 系统需要建立币种基础资料能力,为国家默认币种、业务金额展示和外部会计政策编码映射提供统一主数据基线。
16
+
17
+ ## 变更目标
18
+
19
+ 建立完整的币种对象规格包,覆盖币种对象画像、增改查和启停能力、规则约束、分层实现要求和验收标准。
20
+
21
+ ## 影响范围
22
+
23
+ - 场景:新增币种、编辑币种、启用币种、禁用币种、分页查询币种、查询币种详情
24
+ - 应用行为:`currency-create`、`currency-update`、`currency-enable`、`currency-disable`、`currency-page`、`currency-detail`
25
+ - 核心行为:`create`、`update`、`enable`、`disable`
26
+ - 规则:对象内规则、应用级规则、跨对象规则
27
+ - 约束:DDD 分层实现要求
28
+
29
+ ## 变更内容
30
+
31
+ - 新增币种对象主规格 `SPEC.md`
32
+ - 新增币种对象画像 `core/object-profile.md`
33
+ - 新增币种核心行为 `create`、`update`、`enable`、`disable`
34
+ - 新增币种应用行为 `currency-create`、`currency-update`、`currency-enable`、`currency-disable`、`currency-page`、`currency-detail`
35
+ - 新增币种规则文件
36
+ - 新增币种分层实现要求
37
+ - 新增币种交付验收文件
38
+
39
+ ## 设计决策
40
+
41
+ - 币种对象采用业务对象中心组织,而不是单纯按技术层组织
42
+ - 查询能力作为应用行为,不进入核心行为
43
+ - 启用和禁用分别作为独立核心行为和应用行为建模
44
+ - 币种编码作为稳定业务标识,不允许更新
45
+
46
+ ## 关联文件
47
+
48
+ - `SPEC.md`
49
+ - `core/object-profile.md`
50
+ - `core/create.md`
51
+ - `core/update.md`
52
+ - `core/enable.md`
53
+ - `core/disable.md`
54
+ - `application/currency-create.md`
55
+ - `application/currency-update.md`
56
+ - `application/currency-enable.md`
57
+ - `application/currency-disable.md`
58
+ - `application/currency-page.md`
59
+ - `application/currency-detail.md`
60
+ - `rules/object-rules.md`
61
+ - `rules/application-rules.md`
62
+ - `rules/cross-object-rules.md`
63
+ - `constraints/ddd-implementation.md`
64
+ - `acceptance/acceptance.md`
@@ -0,0 +1,7 @@
1
+ # 币种对象 DDD 分层实现要求
2
+
3
+ ## 对象特有约束
4
+
5
+ 1. 禁用币种前必须在 `application/` 检查是否仍被国家默认币种或其他业务配置引用,`core/disable` 不负责引用读取。
6
+ 2. 币种对象的 `core/` 只负责币种自身状态和属性变化,不负责国家、配置等外部对象协作。
7
+ 3. 涉及币种可用性判断的跨对象校验必须在 `application/` 完成,再调用核心行为。