Skip to content

P1-1 DEV→QA Execution Gate(canDispatchQA) #11

@joinwell52-AI

Description

@joinwell52-AI

实现单点函数 canDispatchQA(task):

必须校验:

  • DEV report 存在且 status=done
  • artifact 存在(games/serpent-realm)
  • task 未 cancelled
  • task 未 superseded

返回:{ allow: boolean, reason: string }

QA 执行前必须强制调用此函数。

不满足条件:必须阻断 QA 执行,不允许绕过。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions