task_escalate
Escalate a task to a team lead or user when an agent needs a decision, pausing work and presenting the question with candidate options for resolution.
Instructions
决策上浮()worker 遇方案选择/疑问时向队长/用户上浮:把任务转 escalating 态(运行中阻塞,等人类决策),存 question + options。需持当前 attempt_id(claim 签发;交接/伪造令牌拒绝,防迟到)。escalating 是非终态:监控每周期向用户聚合上报(带 raised_at 年龄),用户回答后由队长 task_decide 下发决策、任务回 running。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | 候选方案(≥1 个,人类据此选择) | |
| task_id | Yes | ||
| question | Yes | 要用户/队长裁决的问题 | |
| attempt_id | No | 当前能力令牌(claim 签发);交接后被撤权者用旧令牌被拒 |