Related:
Tester is a derived role of the Worker runtime running with AGENT_ROLE=tester.
This page documents only Tester-specific differences.
For shared execution flow, state transitions, and safety constraints, see worker.
- Add/update unit/integration/e2e tests
- Stabilize flaky verification commands
- Provide reproducible failure context for Judge and autofix loops
- Planner infers tester role from task content and path hints
- Dispatcher assigns role-tagged tasks to idle testers
- Only non-interactive commands allowed
- Avoid watch-mode commands
- Can use Planner/Worker verify contract
- e2e commands are auto-added only for tasks that explicitly request e2e
AGENT_ROLE=testerTESTER_MODELTESTER_INSTRUCTIONS_PATHWORKER_AUTO_VERIFY_MODEWORKER_VERIFY_CONTRACT_PATH
For shared settings (retry/policy recovery/verify recovery, etc.), see worker.
- Role startup branching:
apps/worker/src/start.ts,apps/worker/src/main.ts - Role-specific instructions:
apps/worker/instructions/tester.md - Verification command auto-completion:
apps/worker/src/steps/verify/repo-scripts.ts - Shared execution body:
apps/worker/src/worker-runner.ts,apps/worker/src/worker-runner-verification.ts