docs: 固化 AgentRun 观察验收入口
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-16 06:11:05 +02:00
parent 5d82ca8b73
commit 540a8edfb6
@@ -32,6 +32,23 @@ bun scripts/cli.ts agentrun create task \
--prompt-stdin
```
HWLAB Agent Observer 全量投影验收使用目标 node/lane HWLAB workspace 内的 typed CLI
```bash
export HWLAB_RUNTIME_WEB_URL=<selected-public-origin>
export HWLAB_RUNTIME_ENDPOINT_LOCKED=1
bun tools/hwlab-cli/bin/hwlab-cli.ts client agent-observer list --limit 100 --timeout-ms 45000
```
- `HWLAB_API_KEY` 必须从选中 node/lane 的受控 sourceRef 加载;
- 成功输出必须同时满足:
- `phase=live`
- replay authority 为 `hwlab.event.v1`
- `runCount > 0`
- 验收 Artificer 时至少一个 `sessionId` 使用 `sess_artificer_` 前缀;
- 该入口会在 retention-to-live handoff 后自动结束;
- 禁止用无限 SSE 的 `client request GET /v1/agent-observer/events` 代替有界查询。
资源命令的 Target 规则:
- 未传 `--target``--node``--lane` 时,使用 `config/agentrun.yaml#controlPlane.default`