Files
zkxw/docs/agents/project.json
T
zlwuandCursor 25c12ad4ff chore(agents): point Figma config to web and mobile design systems
Replace the demo Figma reference with the confirmed web/mobile authority files and status notes so agent UI work follows the current design systems.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-05 11:00:53 +08:00

99 lines
3.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schema_version": 1,
"project": {
"name": "zkxw",
"stage": "existing",
"integration_branch": "V2.0",
"tracker": {
"kind": "gitea",
"repository": "https://gitea.aichengyan.com/cykj/zkxw"
}
},
"apps": [
{
"name": "backend",
"path": "backend",
"rules": "backend/AGENTS.md",
"validation": [
{
"command": "python backend/scripts/check_field_consistency.py",
"environment": "工程根目录;仅覆盖注册实体,已知路径限制见 docs/dev-field-consistency.md;业务测试另按 backend/AGENTS.md 在隔离环境选择"
}
]
},
{
"name": "mobile-h5",
"path": "mobile-h5",
"rules": "mobile-h5/AGENTS.md",
"validation": []
},
{
"name": "mobile-oa-h5",
"path": "mobile-oa-h5",
"rules": "mobile-oa-h5/AGENTS.md",
"validation": [
{
"command": "npm --prefix mobile-oa-h5 run build",
"environment": "已安装该应用依赖;另需按应用规则运行受影响测试与 WebView 真机验收"
}
]
},
{
"name": "web-admin",
"path": "web-admin",
"rules": "web-admin/AGENTS.md",
"validation": [
{
"command": "pnpm --dir web-admin build",
"environment": "已安装对应依赖;构建可能包含类型检查,按 package.json 核对;不启动开发服务"
}
]
}
],
"decisions": {
"tech_stack": "README.md",
"architecture": null
},
"worktree": {
"strategy": "native-first",
"fallback": ".local/agent/worktrees"
},
"figma": {
"references": [
"https://www.figma.com/design/M9XtXqXRCAKccMWD7BivIL",
"https://www.figma.com/design/W3yXdlX4TbQP0PVhFG8cBB"
],
"status": "web-and-mobile-design-systems-v1",
"authority": {
"web-admin": "https://www.figma.com/design/M9XtXqXRCAKccMWD7BivIL",
"mobile-h5": "https://www.figma.com/design/W3yXdlX4TbQP0PVhFG8cBB",
"mobile-oa-h5": "https://www.figma.com/design/W3yXdlX4TbQP0PVhFG8cBB"
},
"archive": null,
"notes": "Web 用 Fresh Mint(#10b981);移动端用独立 Mobile Design System(规范品牌绿 #0a9f6d),禁止混色。旧整页镜像文件已删除。Figma 色板按规范,不以 styles/tokens.scss 的 #22c55e 覆盖。已补高频状态:Web StateBlock/FormAlert(P01 旁展示);Mobile Empty/ConfirmDialog/WebViewState。"
},
"delivery": {
"provider": "drone",
"trigger": "tag",
"status": "user-confirmed",
"evidence": "用户确认既有 Gitea/Drone Tag 打包已完成,本次不复查或修改流水线。"
},
"permissions": {
"push_task_branch": false,
"create_pr": false,
"write_issue": false,
"merge": false,
"push_tag": false,
"deploy": false
},
"environment": {
"test": "由各任务确认独立测试环境;此接入未连接业务数据库,不启动或重启服务。",
"secrets": "external-controlled-storage"
},
"knowledge": {
"directory": "docs/knowledge",
"reports": ".local/agent/retros",
"schedule_enabled": false
}
}