chore(agent): 接入个人智能体流程与工程配置以支持工单开发。

This commit is contained in:
wuzilong committed 2026-10-31 22:34:11 +08:00
1 parent 0398dd0625
commit b112261d67
31 files changed
+2363

No files matched your search

+92
View File
@@ -0,0 +1,92 @@
{
"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
}
}