Create rule
Create a rule: a standing instruction injected into a QA.tech agent’s context. Agent rules support filters to target specific applications, labels, scenarios or URL paths.
Body
Which QA.tech agent the rule applies to: chat steers the AI chat assistant, agent steers the test agent during runs, pr_review steers PR review checks.
chat, agent, pr_review 1 - 2001 - 10000Only apply the rule to tests running against this application (agent rules only)
^app(-.+_.+|_.+)$Only apply the rule to test cases carrying this label (agent rules only)
Only apply the rule to test cases in these scenarios (agent rules only)
^scenario(-.+_.+|_.+)$Only apply the rule to tests whose start URL path contains this substring (agent rules only)
Rules are applied in ascending sort order
Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.
^proj(-.+_.+|_.+)$