和顺 / 影核 返回所属 Agent
YH-07.02

审阅与签收

原能力

逐项检查是否满足创作说明,登记需修改、可通过或需负责人确认的状态。(细化版 p.12–13)

首选项目

Zou(AGPL-3.0)。 Zou

匹配范围

Task status、评论与预览支持审阅反馈。

源码

Zou · def create_comment(

zou/app/services/comments_service.py · 92–105 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
def create_comment(
    person_id,
    task_id,
    task_status_id,
    text,
    checklist=None,
    files=None,
    created_at="",
    links=None,
    with_hashtags=True,
    for_client=False,
    _fired_automations=None,
    _automation_depth=0,
):

Zou · def create_task(

zou/app/services/tasks_service.py · 771–784 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
def create_task(task_type, entity, name="main"):
    """
    Create a new task for given task type and entity.
    """
    task_status = task_types_service.get_default_task_status(
        for_concept=entity["entity_type_id"]
        == entity_types_service.get_concept_type()["id"]
    )
    try:
        try:
            current_user_id = persons_service.get_current_user()["id"]
        except RuntimeError:
            current_user_id = None
        task = Task.create(

实现与验收要点

具体评分规则、具名验收和版本签收。