For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Rook Concepts and Data Model

Rook represents autonomous agent testing with seven visible, file-backed concepts. Each concept is stored in the workspace rather than hidden in an opaque local database.

Core Concepts

ConceptMeaning
ProjectThe grouping under which work is filed and the unit synchronized upstream. One project is active at a time.
AgentAn AI agent discovered in the source material, with a derived description of what it does. A project can contain several agents; one is active.
FeatureOne capability extracted during exploration. Scenarios refer to features and pin the exact feature revision they were generated against.
ScenarioOne test goal with independently graded acceptance criteria, classification, category, rationale, and source evidence.
ProfileThe scripts and environment references Rook uses to invoke an agent. An agent can have several profiles, such as staging and production.
RunOne execution of selected scenarios through one profile. It includes snapshots of the agent, features, profile, scenarios, and results as they existed at execution time.
VerdictThe judge's conclusion for one scenario, including per-criterion status, quoted evidence, confidence, and explicit verification gaps.

Relationships

Project
└── Agent
├── Features
│ └── Scenarios pinned to feature revisions
├── Profiles and hook scripts
└── Runs
├── Frozen agent, feature, profile, and scenario snapshots
└── Per-scenario verdicts and evidence

This model separates three kinds of change that should not be confused:

  • implementation changes update the agent and its features;
  • test-definition changes update scenarios;
  • target-environment changes update or switch profiles.

A run pins all three, so an old verdict remains explainable after the working tree moves on.

A Complete Scenario

Rook writes editable YAML. A generated scenario resembles:

title: Process eligible physical item refund under threshold
feature_id: F-005
goal: >-
I bought a jacket 10 days ago (Order #ORD-50122) for $250, but it does not
fit. I would like to return it and get a full refund.
acceptance_criteria:
- statement: >-
The agent confirms the refund for Order #ORD-50122 is approved or issued
for $250.
check: llm_judge
- statement: >-
The agent acknowledges that the order is within the 30-day return window
and is an eligible physical product.
check: llm_judge
- statement: >-
The agent does not say that manager approval is required.
check: llm_judge
category: happy_path
class: functional
confidence: low
input_kind: text
output_kind: text
why: >-
Catches incorrect denial or manager escalation for a standard refund at or
below the documented threshold.
local_id: SC-001
origin: generated
executable: true
sources:
- .claude/agents/refund-desk.md
feature_revision_id: sha256:6b7e9f5a913d886e0e30dd871614fff85f151...

Why the Fields Matter

FieldPurpose
goalThe user-level task passed to the agent.
acceptance_criteriaIndependent requirements. A scenario fails when any verified required criterion fails.
class and categoryPosition the test within the functional, non-functional, or adversarial taxonomy.
whyLets a reviewer decide whether the test deserves to exist.
sourcesConnects the test to the material from which Rook derived it.
feature_revision_idDistinguishes a product regression from a test whose source definition changed.
executableRecords whether the scenario can run against the current profile and evidence surface.

Every field is reviewable and editable. Regeneration can retain current scenarios whose inputs and feature pins still match, while --force deliberately re-derives them.

Local State Is the Record

The .testmuai/rook/ directory is the authoritative workspace record. Synchronization copies reviewed state upstream; it does not replace the local model with hidden cloud state.

Test across 3000+ combinations of browsers, real devices & OS.

×
Schedule Your Personal Demo
Book Demo

Help and Support

Related Articles