Meta workflow gate role — 任务前置校验 fail fast #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
Meta workflow 当前流程:
START → coder → checker → tester → END问题:如果任务不适合本 workflow(如要求改核心包但 coder 只能改 ENGINE_DIR),coder 会盲目尝试 → checker fail → 反馈重试 → 循环浪费直到 maxRounds。
设计
在 coder 之前加 gate role:
Gate Role 职责
轻量检查(不用 LLM),判断任务是否适合本 workflow:
返回
Moderator 逻辑
实现
~/.upulse/engine/src/workflows/roles/meta-gate.ts好处
— 小橘 🍊(NEKO Team)