Files
shanxia2.0/docs/agents/project.json
T

93 lines
3.2 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": "shanxia2.0(山峡化工)",
"stage": "现有系统持续迭代",
"integration_branch": "V3.0",
"tracker": {
"kind": "gitea",
"repository": "https://gitea.aichengyan.com/cykj/shanxia2.0"
}
},
"apps": [
{
"name": "FastAPI 后端(Python 3.9 / SQLAlchemy / Pydantic v2)",
"path": "backend",
"rules": "backend/AGENTS.md",
"validation": [
{
"command": "cd backend && source venv/bin/activate && pytest",
"environment": "未执行;按受影响范围选择 tests/ 测试,先核对测试数据库和环境配置,禁止回退生产。"
}
]
},
{
"name": "Web 管理端与移动 H5(Vue 3 / TypeScript / Vite 7 / Element Plus / Tailwind CSS 4)",
"path": "web-admin",
"rules": "web-admin/AGENTS.md",
"validation": [
{
"command": "cd web-admin && pnpm lint",
"environment": "未执行;使用既有依赖与配置。"
},
{
"command": "cd web-admin && pnpm build:typecheck",
"environment": "未执行;类型检查并构建;移动 H5 位于 src/views/m/。"
}
]
},
{
"name": "微信小程序(uni-app / HBuilderX)",
"path": "miniprogram",
"rules": "miniprogram/AGENTS.md",
"validation": [
{
"command": "node miniprogram/scripts/pl-child-identity.test.mjs",
"environment": "未执行;仅运输子数据身份专项测试,其他变更选择 scripts/ 内对应测试;npm test 是失败占位。"
},
{
"command": "cd miniprogram && npm run release:check-api",
"environment": "未执行;仅发布 API 配置检查,打包遵循 README 的 HBuilderX / uni-app 流程,微信开发者工具及真机验证待完成。"
}
]
}
],
"decisions": {
"tech_stack": "docs/development/engineering-rules.md",
"architecture": "AGENTS.md"
},
"worktree": {
"strategy": "native-first",
"fallback": ".local/agent/worktrees"
},
"figma": {
"references": [
"https://www.figma.com/design/ImDcikQnCX5GiJQLwUHwDC/shanxia2.0?node-id=0-1"
],
"status": "2026-10-31:工程文件已关联;Codex Figma MCP 账号认证及节点 0:1 元数据读取成功,当前为 Page 1 空页面;设计写入权限、Cursor 连接与设计实施尚未验证。"
},
"delivery": {
"provider": "none",
"trigger": null,
"status": "user-confirmed",
"evidence": "2026-10-31 用户在安装接入会话中明确确认本次暂不打包;未授权 CI、部署或服务启停。"
},
"permissions": {
"push_task_branch": false,
"create_pr": false,
"write_issue": false,
"merge": false,
"push_tag": false,
"deploy": false
},
"environment": {
"test": "验证入口已核对,业务测试、服务连通性和真机均未执行。应用运行凭据沿用各端环境配置;Agent 凭据仅记录来源,不创建真实凭据。",
"secrets": ".local/secrets/access.json"
},
"knowledge": {
"directory": "docs/knowledge",
"reports": ".local/agent/retros",
"schedule_enabled": false
}
}