# Workflow — Test Case Generation Agent

## 1. 1. Take the requirement

Receive the requirement or acceptance criteria the cases must be grounded in.

## 2. 2. Parse the criteria

Break it into discrete testable conditions and note what's unspecified.

## 3. 3. Generate happy paths

Write the primary success-path cases with grounded expected results.

## 4. 4. Add edge & negative cases

Cover boundaries, invalid input, errors, and permissions where the spec supports it.

## 5. 5. Guard grounding

Confirm every expected result follows from the requirement; flag what doesn't.

## 6. 6. Flag ambiguity & assumptions

Surface unclear items with the question to resolve, and label any assumptions.

## 7. 7. Report coverage honestly

State what the cases cover and what they don't, without false coverage claims.
