# Changelog

## Score

- CAI 49 → 51 (+2.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 59 → 59 (+0.0)
- Architecture 80 → 80 (+0.0)
- Maturity 51 → 59 (+7.8)
- Readiness 33 → 33 (+0.0)
- Security 87 → 87 (+0.0)
- Domain Modelling 100 → 100 (+0.0)

## Resolved (6)

- Ambiguous HTTP handling methods. `handle` follows PSR-15/PSR-7 conventions (strict typing, no nulls). `handleRequest` accepts a nullable request, implying a different behavior or fallback logic, but the naming is too similar to distinguish intent clearly.
- Duplicate intent with confusing naming. `Auth` and `Sentinel` appear to be two different classes providing the exact same authentication entry point with identical signatures. `Sentinel` is likely a legacy or alternative implementation, but having both exposed publicly without clear distinction (e.g., `AuthV1` vs `AuthV2` or clear documentation of deprecation) is inconsistent.
- Inconsistent command invocation signatures. `ConsoleKernel` and `ConsoleApplication` have identical signatures for `call`. `ConsoleCommand` has a different signature (accepts `Command|string` and `arguments` instead of `parameters`). This creates inconsistency in how commands are invoked from different contexts.
- Inconsistent lifecycle hook exposure. The `Application` class exposes `booting` and `booted` as event listeners (void return), while `ApplicationBuilder` exposes them as fluent setters (returning `self`). This breaks the mental model of whether these are configuration steps or runtime event subscriptions.
- Inconsistent naming for locale vs. path operations. `Application` uses `getLocale` (getter) and `withLocale` (setter/fluent). However, path methods use `path.locale_path` (function) and `Application.localePath` (method). The mix of global helper functions (`path.*`) and instance methods (`Application.*`) for similar domain concepts (paths) is inconsistent.
- Redundant and ambiguous database access methods. `getDbConnection` and `core.dbal` return the same type (`Connection`), suggesting duplication. `getDb` returns a different type (`?Database`) which is likely a higher-level abstraction or a legacy wrapper, creating confusion about which method to use for raw DB access vs. ORM/Query Builder access.
