文档: 固化 AgentRun 中文规则
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# AgentRun Manual Test Plan
|
||||
# AgentRun 人工测试计划
|
||||
|
||||
These tests are placeholders until the CLI and services exist. They define how future manual validation should be written.
|
||||
这些测试会随着 CLI 和服务实现逐步补齐。当前先定义未来人工验收的写法。
|
||||
|
||||
## T1 Minimal Run Lifecycle
|
||||
## T1 最小 Run 生命周期
|
||||
|
||||
Read `AGENTS.md`, then use the AgentRun CLI to manually test creating a run, starting a runner for that run, polling events, and observing terminal status. Verify every CLI command returns JSON, includes ids and follow-up commands, and never waits for a full model turn in one request.
|
||||
阅读 `AGENTS.md`,然后使用 AgentRun CLI 手动测试创建 run、为该 run 启动 runner、轮询 events 并观察 terminal status。确认每个 CLI 命令都返回 JSON,包含 id 和后续命令,并且不会在单个请求中等待完整模型 turn。
|
||||
|
||||
## T2 Command And Event Polling
|
||||
## T2 Command 与 Event 轮询
|
||||
|
||||
Read `AGENTS.md`, then create a run command and poll command status plus run events. Verify command state is visible, event pagination uses `afterSeq`, and repeated polling does not duplicate events.
|
||||
阅读 `AGENTS.md`,然后创建 run command,并轮询 command status 与 run events。确认 command state 可见,event pagination 使用 `afterSeq`,重复轮询不会产生重复 event。
|
||||
|
||||
## T3 Logs And Failure Visibility
|
||||
## T3 日志与失败可见性
|
||||
|
||||
Read `AGENTS.md`, then start the local service or runner with an intentionally invalid backend profile. Verify the CLI returns a structured failure, the log path is printed, and the log file contains enough detail to diagnose the failure.
|
||||
阅读 `AGENTS.md`,然后用一个故意无效的 backend profile 启动本地服务或 runner。确认 CLI 返回结构化失败,输出 log path,并且日志文件包含足够定位失败原因的信息。
|
||||
|
||||
Reference in New Issue
Block a user