pipeline_core/models/pipeline_team_roles.json
yumoqing ff02533cb6 feat(team-communication): 团队沟通配置 — 团队角色(+agentid) + 问题类型(冒泡路径)
新增通用问题冒泡的数据模型与配置 CRUD:
- models/json: pipeline_team_roles(角色+agentid,多agent区分) + pipeline_problem_types(escalation_path)
- pipeline_core/init.py: _simple_crud 通用 CRUD + 6 个 create/update/delete 注册
- wwwroot/api: 6 个 dspy 端点
- scripts/load_path.py: RBAC 路径
- skills_library/all/team-communication/SKILL.md: 团队沟通技能
2026-08-16 21:25:38 +08:00

107 lines
2.0 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.

{
"summary": [
{
"name": "pipeline_team_roles",
"title": "团队角色表",
"primary": [
"id"
]
}
],
"fields": [
{
"name": "id",
"title": "id",
"type": "str",
"length": 32,
"nullable": "no",
"uitype": "hidden"
},
{
"name": "pipeline_id",
"title": "所属产线",
"type": "str",
"length": 32,
"nullable": "no",
"uitype": "select"
},
{
"name": "role_name",
"title": "角色标识",
"type": "str",
"length": 50,
"nullable": "no",
"uitype": "text"
},
{
"name": "agentid",
"title": "Agent标识(同角色多agent区分人可空)",
"type": "str",
"length": 64,
"nullable": "yes",
"uitype": "text"
},
{
"name": "role_type",
"title": "角色类型",
"type": "str",
"length": 20,
"nullable": "no",
"default": "agent",
"uitype": "select"
},
{
"name": "display_name",
"title": "显示名",
"type": "str",
"length": 100,
"uitype": "text"
},
{
"name": "description",
"title": "职责说明",
"type": "text",
"uitype": "textarea"
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp",
"uitype": "timestamp"
}
],
"indexes": [
{
"name": "idx_teamrole_pipeline",
"idxtype": "index",
"idxfields": [
"pipeline_id"
]
},
{
"name": "idx_teamrole_name",
"idxtype": "unique",
"idxfields": [
"pipeline_id",
"role_name",
"agentid"
]
}
],
"codes": [
{
"field": "pipeline_id",
"table": "pipelines",
"valuefield": "id",
"textfield": "name"
},
{
"field": "role_type",
"table": "appcodes_kv",
"valuefield": "k",
"textfield": "v",
"cond": "parentid='team_role_type'"
}
]
}