1.5 KiB
1.5 KiB
R3.7 任务报告
结论
已解决 UniDesk #1837。agentrun send 的 text、JSON、YAML 有界投影现在前向兼容 AgentRun #319 的 durable runnerAdmission,并明确区分 planned runner identity 与实际 Kubernetes Job。
交付
- 合并 PR:pikasTech/unidesk#1839。
- 合并提交:
9e0bf1e9;源提交:1729cb22。 - 默认投影显示 admission mode/state/reason/disposition、run/command/dispatch intent/planned runner identity、mutation/partialWrite/recoveredPriorPartialWrite、retryable 与 retryAuthority。
plannedRunnerJobId固定标记为 durable planned identity,不生成不存在的 runnerjob describe,也不宣称 Kubernetes Job 已创建。retryable=true + retryAuthority=dispatcher明确表示 dispatcher 自动重试,Next 不会提示用户重复执行 session send。- 旧 manager 未返回
runnerAdmission时保持原有合同;UniDesk 仍为 render-only client。
验证
- 独立运行
bun test scripts/src/agentrun-session-send-render.test.ts scripts/src/agentrun.test.ts:21 个测试通过、438 个断言通过。 - PR preflight:
MERGEABLE/CLEAN。 - 未在 UniDesk 实现 dispatcher/session 状态机,未提高 stdout 阈值,未手工触发 CI/CD。
后续
按 consumer-first 顺序,下一步审查合并 AgentRun PR #321,自动发布后使用原 Artificer session 验收真实 runnerAdmission 与半提交恢复。