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