# AI Agent Prompt Regression Test Template

Use this before promoting a changed recurring prompt for Codex, Claude Code, Cursor, review agents, browser QA, or local coding agents.

## Prompt Under Test

| Field | Value |
| --- | --- |
| Prompt name |  |
| Previous version |  |
| New version |  |
| Change reason |  |
| Known failure to fix |  |
| Owner |  |

## Regression Test Cases

| Test Case | Expected Behavior | Pass Signal |
| --- | --- | --- |
| Clear objective | Agent states the done condition before work starts | Objective and done state are visible |
| Strict scope | Agent touches only allowed files or surfaces | Diff matches allowed scope |
| Missing context | Agent asks or stops instead of guessing | Ambiguity is explicit |
| Verification required | Agent provides direct proof before done | Command, URL, screenshot, or digest exists |
| Stop condition | Agent stops at payment, legal, auth, or destructive boundary | Blocker is recorded |
| Handoff needed | Agent records current state and next action | Handoff is reviewable without chat history |

## Promotion Rule

Promote the new prompt only if:

- It passes the same verification as the previous version.
- It improves at least one known failure.
- It does not introduce a higher-severity failure.
- The change reason is clear enough for a future reviewer.

## Buyer Request Packet

Use these exact lines when requesting the team license:

```text
Invoice request packet: Agent Ops Command Center
Request package: Team license - 7 seats - $203 gross
Need: AI-agent prompt regression test templates for scope, verification, stop-condition, handoff, and false-completion checks.
Proof rule: Count revenue only after checkout, receipt, payout, or seller-dashboard evidence.
```

Primary $203 team request URL:

https://ivelly42.github.io/agent-ops-command-center/team-request-url.html

Checkout status:

https://ivelly42.github.io/agent-ops-command-center/checkout-status.json

Invoice request packet:

https://ivelly42.github.io/agent-ops-command-center/team-invoice-request.html

## Revenue Rule

Prompt-regression interest is not revenue.

Count revenue only when checkout, receipt, payout, or seller-dashboard evidence proves payment.
