Create a one-off tester from a worker's handover task; execute the test and destroy the tester after returning the results.
templates/coordination/tasks/task_folders/<task_id>/meta.json 读取任务上下文,且仅在 TESTING 状态执行验收。APPROVED 或 REJECTED,并强制追加事件到 log.ndjson。result.md/result.json 必须回链 task_id 与 operation_id,确保可审计与幂等重放。templates/coordination/testers/<run_id>/task.md。$AGENT_ORCHESTRATOR_STATE_DIR/tasks/worker_tasks/<worker_id>_tasks.md(默认 ~/.openclaw-state/agent-orchestrator/tasks/worker_tasks/<worker_id>_tasks.md)。templates/coordination/tasks/<worker_id>_tasks.md。templates/coordination/workers/<worker_id>_worker.md。interface.json。templates/coordination/planner/config/current.md。templates/coordination/testers/<run_id>/result.md。templates/coordination/testers/<run_id>/result.json。templates/coordination/testers/tester_logs/<worker_id>_test_logs.md。$AGENT_ORCHESTRATOR_STATE_DIR/tasks/worker_tasks/<worker_id>_tasks.md。templates/coordination/tasks/<worker_id>_tasks.md。templates/coordination/testers/<run_id>/task.md 获取测试范围、命令和通过标准。worker_tasks/<worker_id>_tasks.md(默认 ~/.openclaw-state/agent-orchestrator/tasks/worker_tasks/<worker_id>_tasks.md)获取当前任务状态与尝试次数。templates/coordination/tasks/<worker_id>_tasks.md。templates/coordination/workers/<worker_id>_worker.md 获取 worker 上下文。interface.json 获取接口或契约约束。templates/coordination/planner/config/current.md 获取当前编排测试策略。run_id 与 worker 交接任务,初始化一次性 tester。task.md 中 commands 和 pass_criteria 执行测试。result.md 与 result.json,写入状态、失败码、证据与修复建议。delivery.export-records.json 的 lifecycle 状态。smoke:验证最小可运行路径,确保交付产物可启动、可执行或可访问。functional:验证本次任务声明的功能点与验收标准。regression:验证受影响模块未出现已知行为回退。contract:验证接口输入输出、数据结构、字段约束与兼容性。security:执行基础安全检查(高危命令、敏感暴露、明显注入风险)。smoke + functional。regression。contract。security。commands、pass_criteria、边界用例和执行顺序。task.md 授权范围内测试命令,不进行额外变更。PASS 或 FAIL。BUILD_FAIL、TEST_FAIL、SECURITY_FAIL、CONTRACT_BREAK。FAIL 并在 fixes 给出补齐建议。tasks 兼容镜像文件由 planner-ops 统一同步,tester-ephemeral 不直接写入 mirror。workerStage 临时路径;如需附件或交付物,只能读取 wrapper-exported artifact reference。task.md 缺失关键字段时立即终止并返回结构化错误。FAIL。templates/coordination/testers/<run_id>。templates/coordination/testers/tester_logs。$AGENT_ORCHESTRATOR_STATE_DIR/tasks/worker_tasks(默认 ~/.openclaw-state/agent-orchestrator/tasks/worker_tasks)。templates/coordination/tasks。templates/coordination/workers。templates/coordination/planner/config/current.md。run_id 示例:run_20260212_153000。templates/coordination/testers/run_20260212_153000/task.md。templates/coordination/testers/run_20260212_153000/result.md。templates/coordination/testers/run_20260212_153000/result.json。1700000000_a1b2c_test_logs.md。<run_id>。task.md。result.md。result.json。<worker_id>_test_logs.md。result.md:每个 run_id 仅写入一次,生成后不覆盖。result.json:与 result.md 同步生成,作为机器可读结果留存。<worker_id>_test_logs.md:每次测试后追加,滚动保留最近12次测试记录。task.md:测试完成后仅保留只读快照,用于追溯。templates/coordination/testers/<run_id>/task.md 文件内容格式:worker_id:
commit_sha:
scope:
commands:
pass_criteria:
templates/coordination/testers/<run_id>/result.md 文件内容格式:status: PASS
failure_code:
evidence:
fixes:
templates/coordination/testers/<run_id>/result.json 文件内容格式:{
"run_id": "run_20260212_153000",
"status": "PASS",
"failure_code": "",
"evidence": [],
"fixes": []
}
templates/coordination/testers/tester_logs/<worker_id>_test_logs.md 文件内容格式:|---|---|---|---|---|---|---|
templates/coordination/testers, templates/coordination/tasks/task_folders, templates/coordination/workers, interface.json, runtime/workdomainstemplates/coordination/testers, templates/coordination/tasks/task_foldersprojects, templates/coordination/planner/config, templates/coordination/audit/policy, runtime/workdomainsSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer