fix(models): sd_projects.pipeline_id默认值去SDLC语义(sdlc_general→general)——与m0018同概念收尾,project_type已general而pipeline_id仍sdlc_general两个默认值语义自相矛盾;pipeline_id是workspace space名(GENERAL_SPACE='general')与能力包挂载键,查证core/agent_config.py:454 get_ability('general')返回None=通用项目不挂产线能力(正确语义),旧默认会让通用项目错挂SDLC能力

This commit is contained in:
ymq 2026-09-09 19:26:38 +08:00
parent b13b060e10
commit 31212038d2

View File

@ -17,7 +17,7 @@
{"name": "directory_name", "title": "项目目录名(创建时定死,工作空间解析只读此字段)", "type": "str", "length": 200},
{"name": "workspace_dir", "title": "项目工作目录", "type": "str", "length": 500},
{"name": "default_model", "title": "项目默认模型(llm_model.name,空=走治理链缺省)", "type": "str", "length": 128},
{"name": "pipeline_id", "title": "关联Pipeline定义ID", "type": "str", "length": 32, "default": "'sdlc_general'"},
{"name": "pipeline_id", "title": "关联Pipeline定义ID(general=通用项目,不挂产线)", "type": "str", "length": 32, "default": "'general'"},
{"name": "status", "title": "项目状态", "type": "str", "length": 20, "nullable": "no", "default": "'draft'"},
{"name": "org_id", "title": "组织ID", "type": "str", "length": 32, "nullable": "no", "default": "'0'"},
{"name": "created_by", "title": "创建人", "type": "str", "length": 32},