- models: 3张表JSON迁入(sd_projects全产线项目容器/pipeline_deliverables被bidding+service+core写681行实证/sd_project_role_models被pipeline-service三处消费)——分层倒置修复:core的agent_config.py裸查sd_projects/pipeline_deliverables,低层查高层表
- json: sd_project_list.json/pipeline_deliverables_list.json迁入,subtables迭代/仓库页改绝对路径/pipeline-sdlc/**(跨模块相对路径会解析到core不存在的目录)
- api: 15个CRUD页面依赖的dspy迁入(get_project_options等,entire_url('../api/')相对解析跟页面走);get_module_dbname('pipeline_sdlc')→pipeline_core(app层一律返pipeline,行为不变仅语义归位)
- init/data.json: 4组字典随表迁(sd_project_status/sd_project_type/deliverable_type/review_status)——normalize幂等键{parentid}_{k}不变,import_init重跑无副作用
- .gitignore: 补wwwroot/sd_projects/+wwwroot/pipeline_deliverables/(xls2ui生成目录,build.sh第7步清单已含pipeline_core,重生成不脏工作树)
13 lines
551 B
Plaintext
13 lines
551 B
Plaintext
import json
|
|
roles = [
|
|
{'value': 'agent.pm', 'text': 'PM 项目经理'},
|
|
{'value': 'agent.requirement', 'text': '需求分析师'},
|
|
{'value': 'agent.design', 'text': '系统设计师'},
|
|
{'value': 'agent.develop', 'text': '开发工程师'},
|
|
{'value': 'agent.deploy_test', 'text': '测试部署工程师'},
|
|
{'value': 'agent.test', 'text': '测试工程师'},
|
|
{'value': 'agent.deploy_prod', 'text': '生产部署工程师'},
|
|
{'value': 'agent.qc', 'text': 'QC 质量控制'},
|
|
]
|
|
return json.dumps(roles, ensure_ascii=False)
|