# Changelog

## Score

- CAI 28 → 67 (+38.6)

## Lenses

- Code Health 99 (new)
- Architecture 83 (new)
- Maturity 13 → 84 (+70.2)
- Readiness 15 → 63 (+47.4)
- Security 100 → 78 (-21.9)
- Domain Modelling 66 (new)
- Event-Driven 88 (new)
- Accessibility 69 (new)
- Performance 72 (new)

## Resolved (6)

- Dependency hygiene not measured — no supported dependency manifest was read
- No automated tests
- No tests found
- Test reliability not included
- bus factor not measured — no commits were sampled
- single-commit history — no usable git history window to measure hotspots

## New (112)

- Bounded contexts not declared
- Coverage not measured — analyzer environment
- Duplicated block (10 lines × 2) (src/Services/Catalog/FreshCart.Catalog.Api/Features/Products/CreateProduct/CreateProductCommandValidator.cs)
- Duplicated block (11 lines × 2) (src/Services/Basket/FreshCart.Basket.Api/Persistence/MartenOutboxStore.cs)
- Duplicated block (14 lines × 4) (src/Services/Catalog/FreshCart.Catalog.Api/DependencyInjection.cs)
- Duplicated block (15 lines × 2) (src/BuildingBlocks/FreshCart.ServiceDefaults/DevelopmentCertificateValidation.cs)
- Duplicated block (15 lines × 2) (src/Services/Catalog/FreshCart.Catalog.Api/Features/Products/CreateProduct/CreateProductCommandValidator.cs)
- Duplicated block (15 lines × 2) (src/Services/Identity/FreshCart.Identity.Api/Configuration/AuthenticationConfiguration.cs)
- Duplicated block (22 lines × 2) (src/Services/Basket/FreshCart.Basket.Api/Pricing/PricingGrpcChannelFactory.cs)
- High IaC: DS-0002 (src/ApiGateways/FreshCart.Gateway.Yarp/Dockerfile)
- High IaC: DS-0002 (src/Services/Basket/FreshCart.Basket.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Catalog/FreshCart.Catalog.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/CustomerSupport/FreshCart.CustomerSupport.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Delivery/FreshCart.Delivery.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Identity/FreshCart.Identity.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Inventory/FreshCart.Inventory.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Notification/FreshCart.Notification.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Ordering/FreshCart.Ordering.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Payment/FreshCart.Payment.Api/Dockerfile)
- High IaC: DS-0002 (src/Services/Pricing/FreshCart.Pricing.Grpc/Dockerfile)
- …and 92 more

## API surface

- 45 added · 0 removed (a removed endpoint is potentially breaking)

## Added endpoints (45)

- GET /account/me
- GET /auth/anti-forgery-token
- GET /dashboards/delivery/performance
- GET /dashboards/inventory/health
- GET /dashboards/sales/breakdown
- GET /dashboards/sales/overview
- GET /dashboards/sales/time-series
- GET /delivery/orders/{orderId}
- GET /delivery/slots
- GET /exports/sales-transactions.xlsx
- GET /inventory
- GET /inventory/{productSku}
- GET /invoices/{invoiceNumber}
- GET /invoices/{invoiceNumber}/content.pdf
- GET /notifications
- GET /notifications/unread-count
- GET /orders
- GET /orders/{orderId}
- GET /payments
- GET /payments/order/{orderId}
- …and 25 more
