# Feature → Model Parity Check

## Context

Module: {{MODULE_NAME}}
Feature docs: {{FEATURE_DOCS}}
Model docs: {{MODEL_DOCS}}

## Instructions

1. Read ALL feature docs at the paths above
2. Read ALL model docs at the paths above
3. For each feature, identify referenced entities and state transitions
4. Run every parity check below
5. Return results as JSON per the Output Format section

## Parity Checks

For each entity mentioned in feature:

| Check ID         | Question                                                           |
| ---------------- | ------------------------------------------------------------------ |
| model_existence  | Does a model doc exist for entities mentioned in feature?          |
| state_management | Do feature state transitions match model state transitions?        |
| relationships    | Are relationships shown in feature defined in model relationships? |

## Common Gap Patterns

- **Missing models**: Feature references entity with no model doc
- **State mismatch**: Feature shows states not in model's state diagram
- **Relationship gaps**: Feature implies relationship not in model doc

## Output Format

Return a JSON object:

```json
{
  "check_type": "feature-model-parity",
  "module": "{{MODULE_NAME}}",
  "gaps": [...],
  "inconsistencies": [...],
  "summary": { "total_checks": N, "passed": N, "failed": N, "skipped": N }
}
```

See [parity-report-format.md](parity-report-format.md) for field definitions.
