Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Quality Goals

Prioritized, scenario-based quality goals for BookWorm and the current status of their acceptance targets.

Architecture

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

PriorityQuality goalScenario and expected responseWhat it protectsVerification evidence and mechanismsDetailed scenarios
1CorrectnessCheckout verifies basket items against current catalog information. Missing or unavailable books block order creation.Accurate purchases and one clear owner for accepted ordersAutomated checkout tests and purchase-detail checksQS-01, QS-02
2InteroperabilityOne area communicates with another through a documented, compatible interface.Clear responsibility and safe independent changesContract tests and compatibility checksQS-03
3DeployabilityA compatible change can be released without unnecessarily releasing unrelated areas.Independent releases and lower coordination costAutomated builds, tests, and deployment checksQS-04
4ModifiabilityA business rule changes within its owning area without changing another area’s records or rules.Localized changes and bounded responsibilityData separation and architecture checksQS-05, QS-17
5OperabilityFailed work is traceable to the responsible area and does not appear to reverse accepted business results.Faster diagnosis and clear incident ownershipExecution history, traces, and failed-message recordsQS-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.
  • Requirements OverviewCustom DocRequirements OverviewEssential BookWorm capabilities and architectural requirements synthesized from the current catalog.Ownerarchitecture-enabling-teamOpen doc — Essential requirements (BW-R1-BW-R8) aligned to these goals.
  • Architecture ConstraintsCustom DocArchitecture ConstraintsMandatory technical, organizational, and engineering guardrails for BookWorm.Ownerarchitecture-enabling-teamOpen doc — Engineering and boundary rules enforcing these goals.
  • Solution StrategyCustom DocSolution StrategyExecutive summary of the architectural decisions that satisfy BookWorm's quality goals and constraints.Ownerarchitecture-enabling-teamOpen doc — Architectural approaches addressing Priorities 1-5.
  • Quality RequirementsCustom DocQuality RequirementsChapter guide to BookWorm's quality attributes, priorities, and measurable scenarios.Ownerarchitecture-enabling-teamOpen doc — Quality attributes and 17 measurable scenarios (QS-01-QS-17).
  • Risks and Technical DebtCustom DocRisks and Technical DebtPrioritized architectural exposures and known compromises with actionable treatment and closure evidence.Ownerarchitecture-enabling-teamOpen doc — Open exposures and missing verification evidence.