# Changelog

## Score

- CAI 37 → 42 (+5.0)
- Rubric changed (rubric-2026.08.17 → rubric-2026.08.18) — scores are not directly comparable.

## Lenses

- Code Health 81 → 82 (+0.6)
- Architecture 93 → 79 (-13.5)
- Maturity 61 → 61 (+0.0)
- Readiness 25 → 33 (+7.8)
- Security 38 → 43 (+4.9)
- Domain Modelling 77 → 77 (+0.0)
- Event-Driven 100 → 100 (+0.0)
- Accessibility 38 → 42 (+3.7)

## Resolved (6)

- Coverage not measured — analyzer environment
- Inconsistent event naming convention: some events use a past participle or state change suffix (e.g., Created, Changed, Added) while others use a noun phrase (e.g., StatusChanged). Specifically, 'OrderStatusChangedEvent' mixes the 'StatusChanged' pattern with the 'Created/Changed' pattern used for other entities.
- Inconsistent event naming for customer: 'CustomerCreatedEvent' and 'CustomerChangedEvent' are used, but 'Changed' is not used for other entities (e.g., Product uses 'ProductChangedEvent', Order uses 'OrderStatusChangedEvent').
- Inconsistent method naming for handling domain events: 'When' is used for Customer and Order, but 'Handle' is used for Order in another location (Shop.Domain.Aggregates.OrderAggregate.Order.Handle).
- Inconsistent naming for order items: 'OrderItems' (plural) is used for the collection, while 'OrderItem' (singular) is used for the individual item type. This is a common pattern, but 'OrderItem' vs 'OrderItems' should be checked for consistency in the codebase.
- misleading comment (Shop/Shop.Infrastructure/Persistence/DatabaseInitializer.cs)

## New (5)

- Coverage not measured — analyzer environment
- The README has no separate architecture/design document for Shop.Application, Shop.Infrastructure, or Shop.Domain namespaces. (README.md)
- redundant comment (Shop/Shop.Infrastructure/DependencyInjection.cs)
- redundant comment (Shop/Shop.Infrastructure/Persistence/DatabaseInitializer.cs)
- redundant comment (Shop/Shop/Program.cs)

## API surface

- Unchanged — 13 HTTP endpoints

## Architecture

- Unchanged — 2 containers · 1 contexts · 0 edges
