Callback 送回抽象:存储 + 到期扫描 + 无门控送回集成 #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Parent
#52 [PRD] arise 深挖任务委托(Deep Task Delegation)落地
What to build
新增一个通用的 Callback 送回抽象——持久化的待定记录 + 到期扫描 + 无门控重新进入 Runtime Loop 送回。这是深挖任务委托"任务完成后无门控送回"这个投递语义的地基,本 ticket 只建通用管线本身,不接任何真实生产者(用测试直接写入记录来验证)。
具体行为(用户可观察的端到端路径,通过测试模拟触发):
assemble_context()(安全基线→persona→冻结快照→触发注入→本次内容)重新进入 Runtime Loop,不经过两级门控/沉默预算——这是"履约"语义,不是主动性决策。Acceptance criteria
id、chat_id、content(送回时注入的内容)、trigger_source(本次只有"task_completion"一个取值,字段本身对未来扩展开放,如"user_reminder")、created_at、fire_at(可空——本次唯一生产者语义上是"立即到期",为未来 time 模式预留)pending_intent的 per-scope 多记录先例),有独立于调度驱动的存储集成测试fire_at为空或已到期即算),不依赖真实时钟/调度器,可直接构造固定输入断言结果assemble_context()(而不是走run_light/事件驱动的裁剪版组装),且不经过_evaluate_unified_gate(有集成测试断言这一点)Blocked by
None — can start immediately
KumaAgent referenced this issue2026-07-24 05:16:01 +00:00