Trello Orchestrator Runner
Use deterministic Trello lifecycle control with trello-workflow-map.json.
Inputs required
- - INLINECODE1
- INLINECODE2
- INLINECODE3 in workspace root
Hard rules
- 1. Manager-only intake: create/update objective card in
Inbox. - Move flow in order:
-
Inbox -> Scoped -> Ready -> In Progress (Local|Remote) -> In Review -> Done|Blocked
- 3. Local-first routing by default (
In Progress (Local)). - Remote is escalation-only (
In Progress (Remote)). - Never move to
Done without explicit reviewer ACCEPT against original objective. - On reject, move back to active in-progress list and continue loop until ACCEPT or explicit stop/block.
Required card description fields
Ensure card
desc includes:
- - objective
- acceptancecriteria
- owneragent
- executionmode
- escalationreason
- expectedfilesmodules
- risklevel
- testplan
- review_outcome
Deterministic Trello API patterns
-
POST /1/cards with
idList,
name,
desc
-
PUT /1/cards/{cardId}/idList?value={listId}
-
POST /1/cards/{cardId}/actions/comments with
text
-
PUT /1/cards/{cardId} with INLINECODE18
Execution loop
- 1. Parse objective.
- Create/locate epic card in
Inbox. - Scope (planner) -> move to
Scoped, comment scope summary. - Route (manager) -> move to
Ready, comment local/remote decision. - Start builder:
- local default -> move to
In Progress (Local)
- escalation -> move to
In Progress (Remote)
- 6. Review -> move to
In Review, add review findings. - Decision:
- ACCEPT -> set
review_outcome: accepted, move to
Done
- REJECT -> set
review_outcome: rejected, move back to in-progress and continue
- BLOCKED -> move to
Blocked with explicit reason
Output back to user
Return:
- - card id + URL
- current list
- routing mode (local/remote)
- reviewer verdict
- next action
Trello Orchestrator Runner
使用 trello-workflow-map.json 实现确定性的 Trello 生命周期控制。
所需输入
- - TRELLOAPIKEY
- TRELLO_TOKEN
- 工作区根目录下的 trello-workflow-map.json
硬性规则
- 1. 仅管理员可接收:在 Inbox 中创建/更新目标卡片。
- 按顺序移动流程:
- Inbox -> Scoped -> Ready -> In Progress (Local|Remote) -> In Review -> Done|Blocked
- 3. 默认采用本地优先路由(In Progress (Local))。
- 远程仅为升级路径(In Progress (Remote))。
- 未经审核人针对原始目标的明确 ACCEPT,不得移至 Done。
- 若被拒绝,移回进行中的列表并继续循环,直至 ACCEPT 或明确停止/阻塞。
卡片描述必填字段
确保卡片 desc 包含:
- - objective(目标)
- acceptancecriteria(验收标准)
- owneragent(负责人代理)
- executionmode(执行模式)
- escalationreason(升级原因)
- expectedfilesmodules(预期文件/模块)
- risklevel(风险等级)
- testplan(测试计划)
- review_outcome(审核结果)
确定性 Trello API 模式
- POST /1/cards,参数包含 idList、name、desc
- PUT /1/cards/{cardId}/idList?value={listId}
- POST /1/cards/{cardId}/actions/comments,参数包含 text
- PUT /1/cards/{cardId},参数包含 desc
执行循环
- 1. 解析目标。
- 在 Inbox 中创建/定位史诗卡片。
- 范围界定(规划者)-> 移至 Scoped,评论范围摘要。
- 路由(管理者)-> 移至 Ready,评论本地/远程决策。
- 启动构建者:
- 本地默认 -> 移至 In Progress (Local)
- 升级 -> 移至 In Progress (Remote)
- 6. 审核 -> 移至 In Review,添加审核发现。
- 决策:
- ACCEPT -> 设置 review_outcome: accepted,移至 Done
- REJECT -> 设置 review_outcome: rejected,移回进行中并继续
- BLOCKED -> 移至 Blocked,并附上明确原因
向用户输出结果
返回:
- - 卡片 ID + URL
- 当前列表
- 路由模式(本地/远程)
- 审核人裁决
- 下一步操作