fix: expose bounded session send decisions

This commit is contained in:
Codex
2026-07-12 10:18:34 +02:00
parent d996782c52
commit 4a0184921a
7 changed files with 574 additions and 3 deletions
@@ -49,6 +49,10 @@ AipodSpec/Artificer、task manifest 和 queue 渐进披露见 [references/resour
- credential 只显示 SecretRef 并固定 `valuesPrinted=false`
- 完整服务端对象只通过显式 `--full -o json``--raw` 下钻。
- Session follow-up 使用 `agentrun send`,由服务端决定内部 steer vs turn。
- Session follow-up 的默认 text、显式 JSON 和 YAML 使用同一有界投影:
- dry-run 直接展示 `decision``reuseRun``createRunner`、session/run/command/runner identity、`mutation=false` 和语义化 `Next`
- live 失败保留 manager 返回的 typed failure、资源 identity、`mutation` / `partialWrite` 与只读下钻命令;
- CLI 不补做 retry、cleanup、runner 调度或 session 状态机,partial write 时禁止盲目重发。
- 终态失败重试只使用 `agentrun retry task/<taskId>`:保持同一 task,新增不可变 attempt;先用 `--dry-run` 完成服务端全校验,再以同一幂等键执行真实重试。
- retry 只接受 Queue 已处于 `failed``blocked``completed``cancelled` 和其他状态必须 fail closed。不得复制 task、重置 task、引入本地 scheduler/backoff/judge 或直接创建 runner Job 来模拟重试。
- HWLAB Code Agent/CaseRun follow-up 也优先落到 AgentRun resource primitive,不绕过队列状态。