docs: 记录 Artificer 可靠性任务
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
Pipelines as Code CI / platform-infra-gitea-nc01- Success
Pipelines as Code CI / unidesk-host- Success

This commit is contained in:
Codex
2026-07-12 08:21:38 +02:00
parent 7d16023c6d
commit c7663f8df7
6 changed files with 54 additions and 3 deletions
+6 -2
View File
@@ -10,14 +10,14 @@ description: UniDesk AgentRun-backed Code Queue CLI — Skill(cli-spec)。legacy
## 高频入口
```bash
bun scripts/cli.ts agentrun get task --limit 20
bun scripts/cli.ts agentrun get tasks --limit 20
bun scripts/cli.ts agentrun describe task/<taskId>
bun scripts/cli.ts agentrun describe task/<taskId> --input -o json
bun scripts/cli.ts agentrun describe aipodspec/<name>
bun scripts/cli.ts agentrun events run/<runId> --limit 20
bun scripts/cli.ts agentrun events run/<runId> --detail-seq <seq> -o json
bun scripts/cli.ts agentrun logs session/<sessionId> --tail 120
bun scripts/cli.ts agentrun result command/<commandId> --run <runId>
bun scripts/cli.ts agentrun result run/<runId> --command <commandId>
bun scripts/cli.ts agentrun get attempts --task <taskId>
bun scripts/cli.ts agentrun retry task/<taskId> --idempotency-key <key> --reason <text> --dry-run
bun scripts/cli.ts agentrun send <session> --prompt-stdin
@@ -30,6 +30,10 @@ AipodSpec/Artificer、task manifest 和 queue 渐进披露见 [references/resour
## P0 边界
- 新写入口不要用 `codex submit/steer/resume`;这些 legacy mutation 已冻结。
- Artificer task prompt 只引用 task 自身的 primary workspace
- 默认写当前工作区 `.`,需要子目录时写相对路径;
- 禁止写入宿主 `/root/unidesk`、主代理 worktree 或其他 task 外部绝对路径;
- 路径不可见时先用 `agentrun events run/<runId> --detail-seq <seq>` 核对 durable workspace 物化事实,不让 Artificer 搜索或切换到旁路仓库。
- 默认输出保持低噪声表格/摘要;机器消费显式 `-o json|yaml``--raw`
- 读取 task 的可重建输入:
- 使用 `agentrun describe task/<taskId> --input -o json`