feat(sdlc): RoleSpec 加 task_title 字段(声明式阶段标题模板)

title 继承 bug 根治的一部分:RoleSpec 声明该角色作为自动派生下一任务时的
标题后缀(如 agent.design→「应用架构与模块设计」),_create_next_task 不再硬编码。
This commit is contained in:
yumoqing 2026-08-25 17:01:18 +08:00
parent 717651f4ab
commit 520a6d4f89

View File

@ -32,6 +32,7 @@ class RoleSpec:
system_prompt: str = "" # 角色专属 prompt职责 + 产出要求)
next_role: str = "" # 任务链下一角色(空 = 终结)
model_name: str = "" # 角色专属模型(空 = 继承产线)
task_title: str = "" # 该角色作为自动派生下一任务时的标题后缀
tools: List[str] = field(default_factory=list) # 工具白名单(空 = 产线全部工具)