feat: upgrade investigation and presentation runtime
Generic Container CI/CD / test-build-publish (push) Successful in 1m6s
Agent CI/CD / build-test-publish-and-deploy (push) Successful in 1m7s

This commit is contained in:
2026-10-30 17:30:19 +08:00
parent 3b52a0ddab
commit 6336157ff4
104 changed files with 6541 additions and 961 deletions
+3 -2
View File
@@ -66,6 +66,7 @@ Agent:`bun run check`,`bun test tests/routes/executionPlan.test.ts tests/rou
报告采用固定字段、增量扩展,不增加格式版本标签。完整规则见
[Server 调查报告契约](../../next-tjwater-server/docs/investigation-report-contract.md)。
数据缺失不再保持 waiting:关键缺口导致 final/insufficient_data 正常退出;
动作提议前先保存本轮 interim/concluded 报告,动作提议后再保存 final 报告。
事件调查中可由用户补齐的关键输入通过 `ask_task_user` 保存问题,右侧调查报告直接展示固定问答,无需预先发布报告或生成表单。问题为 pending 时当前 run 正常结束、任务进入 waiting_human;用户在报告内提交后原任务排队新 generation,继续读取 questions 中的回答。
只有查询与适用的人工补充均无法解决关键缺口、且无法形成必要判断或具体建议时,才以 final/insufficient_data 正常退出。计算等待、人工等待与执行故障按调查指令分别处理。
动作提议前先保存本轮 interim/concluded 报告,动作提议后继续必要分析,满足停止条件再保存 final 报告。
数据授权由系统配置,本场景不请求人工数据授权。