# Changelog

> **This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.**

## Score

- CAI 53 → 57 (+4.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 54 → 54 (+0.5)
- Architecture 59 → 58 (-1.7)
- Maturity 55 → 84 (+29.6)
- Readiness 48 → 55 (+6.9)
- Security 69 → 66 (-2.7)
- Domain Modelling 70 → 62 (-7.9)
- Performance 100 → 100 (+0.0)

## Resolved (181)

- ADR not followed: ADR-0004: Inventory Data Integrity, Concurrency & Schema Optimization (docs/architecture/adr/ADR-0004-inventory-integrity-and-concurrency.md)
- ADR not followed: ADR-0005: Typed Atomic OCC Update Contract (docs/architecture/adr/ADR-0005-typed-atomic-occ-update-contract.md)
- ADR not followed: ADR-0006: Redis Fail-Open Cache-Aside & Key-Space Generation (docs/architecture/adr/ADR-0006-redis-fail-open-cache-aside.md)
- ADR not followed: ADR-0009: Hosted Demo Reset as Ops Infrastructure (docs/architecture/adr/ADR-0009-demo-reset-ops-infrastructure.md)
- Boundary-crossing change coupling: cached-inventory-repository.ts ↔ cached.product-repository.ts (src/modules/inventory/secondary-adapters/repositories/cached-inventory-repository/cached-inventory-repository.ts)
- Boundary-crossing change coupling: cached-user.repository.ts ↔ cached-inventory-repository.ts (src/modules/identity/secondary-adapters/repositories/cached-user-repository/cached-user.repository.ts)
- Boundary-crossing change coupling: cached-user.repository.ts ↔ cached.product-repository.ts (src/modules/identity/secondary-adapters/repositories/cached-user-repository/cached-user.repository.ts)
- Boundary-crossing change coupling: cached.cart-repository.ts ↔ cached-inventory-repository.ts (src/modules/carts/secondary-adapters/repositories/cached-cart-repository/cached.cart-repository.ts)
- Boundary-crossing change coupling: cached.cart-repository.ts ↔ cached.product-repository.ts (src/modules/carts/secondary-adapters/repositories/cached-cart-repository/cached.cart-repository.ts)
- Checkable ADR rule enforced only by prose: ADR-0009: Hosted Demo Reset as Ops Infrastructure (docs/architecture/adr/ADR-0009-demo-reset-ops-infrastructure.md)
- Deprecated: glob (package-lock.json)
- High CVE: [GHSA redacted] (package-lock.json)
- Leaked secret: hardcoded-credential (src/modules/authentication/core/application/seed/seed-demo-auth-users.usecase.ts)
- Low coverage: src/config/config.module.ts (src/config/config.module.ts)
- Low coverage: src/config/configuration.ts (src/config/configuration.ts)
- Low coverage: src/config/env-config.service.ts (src/config/env-config.service.ts)
- Low coverage: src/config/resolve-env-file-path.ts (src/config/resolve-env-file-path.ts)
- Low coverage: src/infrastructure/database/database.module.ts (src/infrastructure/database/database.module.ts)
- Low coverage: src/infrastructure/database/number.transformer.ts (src/infrastructure/database/number.transformer.ts)
- Low coverage: src/infrastructure/demo/secondary-adapters/adapters/demo-seed-runner.adapter.ts (src/infrastructure/demo/secondary-adapters/adapters/demo-seed-runner.adapter.ts)
- …and 161 more

## New (55)

- Classify ADR enforcement: ADR-0004: Inventory Data Integrity, Concurrency & Schema Optimization (docs/architecture/adr/ADR-0004-inventory-integrity-and-concurrency.md)
- Classify ADR enforcement: ADR-0005: Typed Atomic OCC Update Contract (docs/architecture/adr/ADR-0005-typed-atomic-occ-update-contract.md)
- Classify ADR enforcement: ADR-0006: Redis Fail-Open Cache-Aside & Key-Space Generation (docs/architecture/adr/ADR-0006-redis-fail-open-cache-aside.md)
- Classify ADR enforcement: ADR-0007: Admin Analytics as Query-Only Composition Module (docs/architecture/adr/ADR-0007-admin-analytics-query-composition.md)
- Classify ADR enforcement: ADR-0008: Money Snapshot, Cart Domain Currency Boundaries, and CQRS Separation (docs/architecture/adr/ADR-0008-money-snapshot-and-store-currency.md)
- Classify ADR enforcement: ADR-0009: Hosted Demo Reset as Ops Infrastructure (docs/architecture/adr/ADR-0009-demo-reset-ops-infrastructure.md)
- GlobalExceptionFilter.catch (cognitive 21) (src/filters/global-exception.filter.ts)
- High secret: WD-SECRET-0005 (src/config/validate-env.ts)
- High secret: WD-SECRET-0005 (src/modules/authentication/core/application/seed/seed-demo-auth-users.usecase.ts)
- High: security finding (details withheld)
- Hotspot: src/modules/authentication/core/application/usecases/change-password/change-password.usecase.ts (src/modules/authentication/core/application/usecases/change-password/change-password.usecase.ts)
- Hotspot: src/modules/payments/core/application/usecases/create-payment-intent/create-payment-intent.usecase.ts (src/modules/payments/core/application/usecases/create-payment-intent/create-payment-intent.usecase.ts)
- Hotspot: src/modules/payments/core/application/usecases/process-refund/process-refund.usecase.ts (src/modules/payments/core/application/usecases/process-refund/process-refund.usecase.ts)
- Hotspot: src/modules/payments/secondary-adapters/query/postgres-payment-query.adapter.ts (src/modules/payments/secondary-adapters/query/postgres-payment-query.adapter.ts)
- Leaked secret: hardcoded-credential (package-lock.json)
- Low CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- …and 35 more

## Changes since last survey

- 93 commits — 78 feature/other, 15 fixes

## By area

- (repo) — 36 commits
- (root) — 32 commits
- src/modules — 18 commits
- src/filters — 2 commits
- .github/dependabot.yml — 1 commit
- .github/workflows — 1 commit
- docs/data — 1 commit
- src/infrastructure — 1 commit
- src/shared-kernel — 1 commit

## Notable commits

- fix: Merge pull request #370 from raouf-b-dev/fix/nestjs-12.3.2-audit
- fix: Merge pull request #371 from raouf-b-dev/fix/typeorm-1.1.2
- fix: fix(api): return 404 with resource NOT_FOUND codes for missing resources (#414)
- fix: fix(api): uppercase codes for 401, 403 and 429 (#413)
- fix: fix(authorization): sync permission descriptions on boot (#421)
- fix: fix(demo): harden hosted demo seed and fix release review items (#386)
- fix: fix(demo): viewer-only seed, read-only credentials, masked customer PII, and PII-free logs (#387)
- fix: fix(deps): adapt to typeorm 1
- fix: fix(deps): align engines.node with typeorm 1.1.2 (>=24.11.0)
- fix: fix(deps): bump NestJS to 12.3.2 and body-parser to 2.4.0
- fix: fix(identity): normalize email on lookup so mixed-case login works (#416)
- fix: fix(orders): expose one order total field and remove totalPrice (#422)
- fix: fix(orders): refund surplus payments per payment (#409)
- fix: fix(orders): return REFUND_AMOUNT_INVALID when a cancel has nothing to refund (#420)
- fix: fix: QA follow-ups from #384 (#388)
- change: Merge branch 'master' into dependabot/npm_and_yarn/fast-uri-3.1.9
- change: Merge branch 'master' into dependabot/npm_and_yarn/master/dotenv-18.0.8
- change: Merge branch 'master' into dependabot/npm_and_yarn/master/production-deps-9c81f57514
- change: Merge branch 'master' into dependabot/npm_and_yarn/undici-8.12.3
- change: Merge master into chore/sync-master-into-develop-2
- …and 73 more
