# postgres-database Conformance Pack

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

## User Stories

*   services persist and query baseline data against PostgreSQL,
*   baseline API and realtime flows continue to work after DB engine replacement.

## Functional Requirements

*   [`FR-901`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-902`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-903`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-904`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)

## Non-Functional Requirements

*   [`NFR-901`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`NFR-902`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`NFR-903`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`NFR-904`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)

## Acceptance Criteria

*   PostgreSQL container becomes healthy and reachable in compose runtime.
*   Baseline schema + seed data are present after startup.
*   Account/position/trade-processor service flows pass baseline smoke checks.
*   Ingress and UI baseline checks remain functional.

## Verification References

*   `scripts/start-state-005-postgres-database-replacement-generated.sh`
*   `scripts/test-state-005-postgres-database-replacement.sh`
