# Changelog

## Score

- CAI 28 → 47 (+19.1)
- Rubric changed (rubric-2026.08.18 → rubric-2026.08.19) — scores are not directly comparable.

## Lenses

- Code Health 81 (new)
- Architecture 92 (new)
- Maturity 13 → 45 (+31.4)
- Readiness 15 → 48 (+32.8)
- Security 100 → 58 (-41.6)
- Event-Driven 100 (new)
- Accessibility 40 (new)

## Resolved (7)

- 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
- early-stage repository — too little history to judge knowledge freshness
- single-commit history — no usable git history window to measure hotspots

## New (652)

- AuthorizationBehaviour.Handle (cognitive 29) (BlazorShop.Application/Common/Behaviours/AuthorizationBehaviour.cs)
- Bounded contexts not declared
- CRAP 132: AuthorizationBehaviour.Handle (BlazorShop.Application/Common/Behaviours/AuthorizationBehaviour.cs)
- CRAP 30: AdminRoleHandler.HandleRequirementAsync (BlazorShop.WebClient/AuthPolicies/AdminRoleHandler.cs)
- CRAP 30: DefaultRoleHandler.HandleRequirementAsync (BlazorShop.WebClient/AuthPolicies/DefaultRoleHandler.cs)
- CRAP 30: UpdateCreatedSubscriberCommandHandler.Handle (BlazorShop.Application/Handlers/Commands/SubscriberHandler/UpdateCreatedSubscriberCommandHandler.cs)
- CRAP 30: UserRoleHandler.HandleRequirementAsync (BlazorShop.WebClient/AuthPolicies/UserRoleHandler.cs)
- CRAP 42: MappingProfile.ApplyMappingsFromAssemblyV2 (BlazorShop.Application/Common/Mappings/MappingProfile.cs)
- CRAP 72: CustomerRoleHandler.HandleRequirementAsync (BlazorShop.WebClient/AuthPolicies/CustomerRoleHandler.cs)
- Change coupling: AccountService.cs ↔ CartService.cs (BlazorShop.WebClient/Services/AccountService.cs)
- Change coupling: AccountService.cs ↔ ClotheService.cs (BlazorShop.WebClient/Services/AccountService.cs)
- Change coupling: AccountService.cs ↔ RoleService.cs (BlazorShop.WebClient/Services/AccountService.cs)
- Change coupling: AccountService.cs ↔ UserService.cs (BlazorShop.WebClient/Services/AccountService.cs)
- Change coupling: CartService.cs ↔ ClotheService.cs (BlazorShop.WebClient/Services/CartService.cs)
- Change coupling: CartService.cs ↔ UserService.cs (BlazorShop.WebClient/Services/CartService.cs)
- Change coupling: ClotheService.cs ↔ RoleService.cs (BlazorShop.WebClient/Services/ClotheService.cs)
- Change coupling: ClotheService.cs ↔ UserService.cs (BlazorShop.WebClient/Services/ClotheService.cs)
- Change coupling: OrderService.cs ↔ ReceiptService.cs (BlazorShop.WebClient/Services/OrderService.cs)
- Change coupling: RoleService.cs ↔ UserService.cs (BlazorShop.WebClient/Services/RoleService.cs)
- CommentedOutCode (BlazorShop.UnitTests/Infrastructure/AccountServiceTests.cs)
- …and 632 more

## API surface

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

## Added endpoints (79)

- DELETE /cancel-subscription/{stripeSubscriptionCreationId}
- DELETE /cart/{id}/{userId}
- DELETE /carts/{userId}
- DELETE /clothe/{id}
- DELETE /invoice/{id}
- DELETE /item/{id}
- DELETE /list/{id}
- DELETE /music/{id}
- DELETE /order
- DELETE /receipt/{id}
- DELETE /role/{id}
- DELETE /subscriber/{id}
- DELETE /subscription/{id}
- DELETE /user/{id}
- GET /_configuration/{clientId}
- GET /cart/{id}/{userId}
- GET /carts/{userId}
- GET /clothe/{id}
- GET /clothes
- GET /count/{userId}
- …and 59 more

## Architecture

- Containers 3 added · 0 removed · contexts 1 added · 0 removed · edges 0 added · 0 removed

## Added containers (3)

- database:Database
- web-api:BlazorShop.WebApi
- worker:BlazorShop.WorkerService

## Added bounded contexts (1)

- BlazorShop.Domain
