# Changelog

## Score

- CAI 55 → 55 (-0.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 90 → 90 (-0.2)
- Architecture 100 → 100 (+0.2)
- Maturity 62 → 61 (-1.1)
- Readiness 67 → 72 (+4.3)
- Security 35 → 33 (-1.6)
- Domain Modelling 100 → 100 (+0.0)
- Event Sourcing 100 → 100 (+0.0)
- Performance 91 → 91 (+0.0)

## Resolved (20)

- Change coupling: find_by_fn.rs ↔ list_for_fn.rs (es-entity-macros/src/repo/find_by_fn.rs)
- Confusing duplication of 'narrow' operations. `ResultExt` has `narrow_rejected` and `narrow_rejected_with`. Additionally, there are separate types `NarrowRejectedLane` and `NarrowRejectedBy` with their own `narrow` methods. This suggests that `ResultExt` methods might be wrappers or aliases for these types, or that the API exposes both builder-pattern types and extension methods redundantly.
- Inconsistent API for installing manual clocks. `Clock` uses `install_manual` and returns a `ClockController`. `ClockHandle` uses `manual` and returns a tuple `(Self, ClockController)`. The naming (`install_manual` vs `manual`) and return types differ for functionally similar operations (switching to manual mode).
- Inconsistent conversion methods. `Fail` has `into_fault()` directly. `ResultExt` has both `into_fault()` and `into_fail()`. This creates ambiguity: should a user call `result.into_fault()` or `result.into_fail().into_fault()`? The existence of `into_fail` on `ResultExt` suggests a two-step process that isn't mirrored in the `Fail` type itself (which doesn't have an `into_result` or similar obvious reverse, but the asymmetry is notable).
- Inconsistent naming and return types for classification logic. `Fault.classify` returns a `Fault`, while `Classify.classify` returns a `Fail`. `ResultExt.classify` returns a `Result`. The verb 'classify' is used for operations that produce different result types (`Fault` vs `Fail`), creating confusion about which error carrier is being produced.
- Leaked secret: hardcoded-credential (Cargo.toml)
- Medium CVE: RUSTSEC-2026-0381 (Cargo.lock)
- Medium advisory (unmaintained): RUSTSEC-2026-0247 (Cargo.lock)
- Medium advisory (unmaintained): RUSTSEC-2026-0248 (Cargo.lock)
- Medium advisory (unmaintained): RUSTSEC-2026-0251 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2023-0126 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0097 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0255 (Cargo.lock)
- Members sharing a duplicated core (5 members, 50+ identical tokens) (es-entity-macros/src/repo/find_all_fn.rs)
- Off-boarding risk: anonymized user #1
- Outdated: opentelemetry
- Outdated: opentelemetry_sdk
- Outdated: schemars
- Outdated: serde_json
- Outdated: syn

## New (10)

- Duplicated block (5 lines × 2) (es-entity-macros/src/entity.rs)
- Duplicated block (8 lines × 2) (es-entity-macros/src/repo/find_all_for_fn.rs)
- FindAllForFn::to_tokens (cognitive 36) (es-entity-macros/src/repo/find_all_for_fn.rs)
- FindAllForFn::to_tokens (cyclomatic 16) (es-entity-macros/src/repo/find_all_for_fn.rs)
- Medium advisory (unsound): RUSTSEC-2026-0097 (Cargo.lock)
- Members sharing a duplicated core (6 members, 50+ identical tokens) (es-entity-macros/src/repo/find_all_fn.rs)
- MethodTooLong: FindAllForFn.to_tokens (es-entity-macros/src/repo/find_all_for_fn.rs)
- Off-boarding risk: anonymized user #1
- Outdated: bon
- Outdated: uuid

## Changes since last survey

- 20 commits — 18 feature/other, 2 fixes

## By area

- errlanes/tests — 12 commits
- (root) — 2 commits
- errlanes-derive/tests — 2 commits
- es-entity-macros/src — 2 commits
- src/lib.rs — 1 commit
- tests/entities — 1 commit

## Notable commits

- fix: fix(errlanes-derive): with = .. structs bind fields and emit source() (#298)
- fix: fix(repo): make find_all_for opt-in and read its key from the entity (#295)
- change: chore(deps): bump the all-dependencies group across 1 directory with 8 updates (#293)
- change: chore(deps): replace im with imbl (#301)
- change: chore(nix): update flake inputs (#302)
- change: ci(dev): set version to 0.20.1-dev
- change: ci(dev): set version to 0.20.2-dev
- change: ci(dev): set version to 0.20.3-dev
- change: ci(dev): set version to 0.20.4-dev
- change: ci(dev): set version to 0.20.5-dev
- change: ci(dev): set version to 0.20.6-dev
- change: ci(release): release version 0.20.0
- change: ci(release): release version 0.20.1
- change: ci(release): release version 0.20.2
- change: ci(release): release version 0.20.3
- change: ci(release): release version 0.20.4
- change: ci(release): release version 0.20.5
- change: feat(entity)!: EsEntity generates {Entity}Hydrator; bon replaces derive_builder (#292)
- change: feat(graphql): publish UUID scalar specification metadata (#299)
- change: feat(repo): find_all_for_{col}s — batch lookup keyed by a list_for column (#294)
