# nats-broker Conformance Pack

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

## User Stories

*   backend services can communicate over a shared, robust broker.
*   frontend can receive live updates over websocket via ingress.

## Functional Requirements

*   [`FR-701`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-702`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-703`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-704`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-705`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`FR-707`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)

## Non-Functional Requirements

*   [`NFR-701`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`NFR-702`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`NFR-703`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)
*   [`NFR-704`](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/baseline-uncontainerized-parity/spec.md)

## Acceptance Criteria

*   NATS service is reachable and healthy in state runtime.
*   Trade events published by trade-service are consumed by trade-processor.
*   Account-scoped updates are observable by frontend stream subscriber.
*   Realtime position updates preserve aggregate blotter semantics (existing security rows update in place).

## Verification References

*   `scripts/start-state-006-messaging-nats-replacement-generated.sh` (planned)
*   `scripts/test-state-006-messaging-nats-replacement.sh` (planned)
