# Baseline vs Parity

> For the complete documentation index, see [llms.txt](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/llms.txt).

## Baseline

Baseline is the specification source of truth:

*   functional requirements
*   non-functional requirements
*   technical component matrix
*   API/event contracts
*   UI workflow requirements

Generation should consume these specs.

## Parity

Parity is behavioral equivalence verification against approved baseline contracts and flows.

Use it for:

*   behavior comparison
*   drift detection
*   confidence checks while migrating to generated implementation

Do not use source-copy hydration as generation input.

## Current Pipeline

Spec-first generation:

```bash
./pipeline/validate-regeneration-readiness.sh./pipeline/generate-from-spec.sh
```

Generation comparator (optional):

```bash
bash pipeline/speckit/compare-all-component-generation.sh HEAD --allow-differences
```
