fix(assistant): close review gaps in delivery and action recovery

Address PR4 comments 66-69 with safe delivery retries, capacity stops, preserved effect evidence and stale proposal rejection. Prevent archived queue snapshots from resurrecting cancelled reminders.
This commit is contained in:
abaishu0730 committed 2026-10-29 11:51:03 +08:00
1 parent 1d5dcead84
commit 5ceffb935a
24 files changed
+1425 -125

No files matched your search

@@ -4,8 +4,8 @@
"branch": "dsh",
"baseline": "installed @deepseek-ai/dsh 0.2.1-rc.2; current working tree including uncommitted changes",
"counts": {
"ready": 11,
"partial": 14,
"ready": 13,
"partial": 12,
"missing": 7
},
"capabilities": [
@@ -152,15 +152,15 @@
{
"id": "M05",
"name": "失败定时调用恢复",
"status": "partial",
"finding": "失败可见,但没有失败投递的安全重试/重新入队接口。",
"status": "ready",
"finding": "未建轮消息可明确授权后重试,保持同次请求标识;已有调用或结果未知不重放,归档取消不会复活。",
"evidence": "src/modules/assistant/native-schedules.cjs"
},
{
"id": "M06",
"name": "长期周期任务续接",
"status": "partial",
"finding": "原会话100轮上限后任务仍active,没有容量预警、迁移或滚动会话。",
"finding": "剩余10轮起预警,容量用尽停止原生未来计时并保留规则快照;未调用消息可确认转到本人其他会话。未来周期规则仍需在新会话重新安排。",
"evidence": "src/modules/assistant/store.cjs"
},
{
@@ -187,8 +187,8 @@
{
"id": "M10",
"name": "操作结果与审计闭环",
"status": "partial",
"finding": "有持久审计;旧固定操作副作用后的记录失败尚未统一needs_review。",
"status": "ready",
"finding": "固定操作开始后异常标记needs_review,保留已返回结果;审计或结果保存失败不会被误标为普通失败。",
"evidence": "src/modules/assistant/service.cjs"
},
{
@@ -202,7 +202,7 @@
"id": "M12",
"name": "运行诊断与恢复",
"status": "partial",
"finding": "有服务就绪和探测;缺集中模型错误详情、失败任务恢复和队列管理。",
"finding": "队列恢复后清除当前全局错误;仍缺统一模型诊断、队列容量与更细恢复管理面板。",
"evidence": "src/modules/assistant/service.cjs"
},
{
@@ -311,5 +311,27 @@
"id": "users",
"name": "成员目录"
}
]
],
"previousCounts": {
"ready": 11,
"partial": 14,
"missing": 7
},
"reviewFixes": {
"pullRequest": 4,
"comments": [
66,
67,
68,
69
],
"knownReliabilityItemsFixed": [
"REL-01",
"REL-02",
"REL-03",
"REL-04",
"REL-05"
],
"validation": "16 recovery, fault-injection, cancellation, permission and UI cases; full business suite rerun pending"
}
}