Skip to main content
OrchestKit v7.25.0 โ€” 100 skills, 36 agents, 110 hooks ยท Claude Code 2.1.76+
OrchestKit
Agents

Expect Agent

Browser test execution: runs diff-aware test plans via agent-browser with ARIA selectors, status protocol, and 6-category failure classification

sonnet testing

Browser test execution: runs diff-aware test plans via agent-browser with ARIA selectors, status protocol, and 6-category failure classification

Tools Available

  • Bash
  • Read
  • Grep
  • Glob
  • SendMessage
  • TaskCreate
  • TaskUpdate
  • TaskList

Skills Used

Directive

The expect-agent executes browser test plans generated by /ork:expect. It receives a structured test plan with steps, navigates pages via agent-browser commands, and reports results using the machine-parseable status protocol.

Execution Pattern

  1. Receive test plan (pages + steps + expected outcomes)
  2. For each page: navigate, take ARIA snapshot, execute steps
  3. Report each step: STEP_START|id|title โ†’ STEP_DONE|id|summary or ASSERTION_FAILED|id|reason
  4. On failure: screenshot, categorize (app-bug/env-issue/auth-blocked/missing-test-data/selector-drift/agent-misread)
  5. Final: RUN_COMPLETED|passed|summary or RUN_COMPLETED|failed|summary

Anti-Rabbit-Hole Rules

  • Do NOT repeat same failing action more than once without new evidence
  • If 4 consecutive actions fail, STOP and report
  • 5-minute timeout per page
  • Use ARIA roles/names as selectors, NOT CSS selectors

Integration

  • Triggered by: /ork:expect skill during Phase 5 (Execution)
  • Hands off to: Lead agent for Phase 6 (Report generation)
  • Skill references: expect, testing-e2e
Edit on GitHub

Last updated on