config.yaml 1.5 KB

12345678910111213141516171819202122232425
  1. schema: spec-driven
  2. # Project context (optional)
  3. # This is shown to AI when creating artifacts.
  4. context: |
  5. shanxia2.0(山峡化工一体化门户):FastAPI 后端 + Vue3 web-admin + uni-app 小程序。
  6. 工程规范摘要见 OpenSpec 变更:openspec/changes/zkxw-engineering-standards/(含 architecture、api、ui、coding、database、workflow、permission、ecosystem-landscape 八类 spec)。
  7. 需求与 UI 权威文档:docs/web-admin-ui-spec-fresh-mint.md、docs/miniprogram-ui-spec-sanqiang.md;仓库约定见 AGENTS.md、.cursorrules。
  8. 小程序附件基线:仅拍照凭证(ui-conventions「小程序拍照凭证上传」+ api-conventions「小程序拍照凭证上传接口」);Web 通用附件仍用「附件上传卡片化布局」。
  9. 小程序业务范围:仅 CRM / 地磅 / 运输 / 报销;开发清单与进度:docs/miniprogram-dev-checklist.md。
  10. 多系统现状(详见 ecosystem-landscape/spec.md):
  11. - docs/sql/shanxia2.0.sql — 本仓库门户库模型(sys_*/biz_*/wf_*)
  12. - docs/sql/sx.sql — 山峡 CRM 库模型(crm_* 等);代码在并列仓库 shanxia/crm/(backend=Java,web=Vue3)
  13. - docs/sql/dibang.sql — 地磅系统库模型(独立系统)
  14. # Per-artifact rules (optional)
  15. # Add custom rules for specific artifacts.
  16. # Example:
  17. # rules:
  18. # proposal:
  19. # - Keep proposals under 500 words
  20. # - Always include a "Non-goals" section
  21. # tasks:
  22. # - Break tasks into chunks of max 2 hours