---
title: Quality Goals
summary: Prioritized, scenario-based quality goals for BookWorm and the current status of their acceptance targets.
owners:
  - architecture-enabling-team
badges:
  - content: Architecture
    backgroundColor: blue
    textColor: blue
---

BookWorm prioritizes **correctness**, **interoperability**, **deployability**, **modifiability**, and **operability**. These goals guide decisions across the platform.

:::note
The priorities describe the current architectural baseline. Numerical service targets require formal stakeholder approval.
:::

## Prioritized quality goals

| Priority | Quality goal         | Scenario and expected response                                                                                         | What it protects                                           | Verification evidence and mechanisms                  | Detailed scenarios |
| :------- | :------------------- | :--------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------- | :---------------------------------------------------- | :----------------- |
| **1**    | **Correctness**      | Checkout verifies basket items against current catalog information. Missing or unavailable books block order creation. | Accurate purchases and one clear owner for accepted orders | Automated checkout tests and purchase-detail checks   | `QS-01`, `QS-02`   |
| **2**    | **Interoperability** | One area communicates with another through a documented, compatible interface.                                         | Clear responsibility and safe independent changes          | Contract tests and compatibility checks               | `QS-03`            |
| **3**    | **Deployability**    | A compatible change can be released without unnecessarily releasing unrelated areas.                                   | Independent releases and lower coordination cost           | Automated builds, tests, and deployment checks        | `QS-04`            |
| **4**    | **Modifiability**    | A business rule changes within its owning area without changing another area's records or rules.                       | Localized changes and bounded responsibility               | Data separation and architecture checks               | `QS-05`, `QS-17`   |
| **5**    | **Operability**      | Failed work is traceable to the responsible area and does not appear to reverse accepted business results.             | Faster diagnosis and clear incident ownership              | Execution history, traces, and failed-message records | `QS-06`            |

## Governing trade-offs

- **Correctness over convenience:** Checkout never trusts client-supplied book prices or bypasses **Catalog** validation to reduce latency.
- **Explicit contracts over shared state:** Separate persistence across **Catalog**, **Shopping**, **Ordering**, **Reviews**, **Conversational**, and **Platform** adds contract maintenance overhead, but keeps dependencies visible and independently testable.
- **Delivery state is not business completion:** A failed scheduled job or email does not, by itself, change an accepted order.
- **Current verification gap:** Unit, contract, architecture, and frontend checks exist. Backend integration test coverage is still incomplete.

## Related architecture documentation

- [[doc|arc42/01-introduction-and-goals/002-requirements-overview]] — Essential requirements (`BW-R1`-`BW-R8`) aligned to these goals.
- [[doc|arc42/02-architecture-constraints]] — Engineering and boundary rules enforcing these goals.
- [[doc|arc42/04-solution-strategy]] — Architectural approaches addressing Priorities 1-5.
- [[doc|arc42/10-quality-requirements]] — Quality attributes and 17 measurable scenarios (`QS-01`-`QS-17`).
- [[doc|arc42/11-risks-and-technical-debt]] — Open exposures and missing verification evidence.
