# 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 55 → 61 (+6.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 79 → 83 (+3.4)
- Architecture 95 → 92 (-2.5)
- Maturity 47 → 74 (+27.0)
- Readiness 44 → 44 (+0.0)
- Security 73 → 70 (-2.5)
- Performance 100 → 100 (+0.0)

## Resolved (10)

- Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
- Duplicate method names with identical signatures in FakeGrantManager. It is unclear if these methods have different internal behaviors or if one is a legacy alias.
- Duplicated block (8 lines × 2) (grant-core/src/iosMain/kotlin/dev/brewkits/grant/delegates/LocationManagerDelegate.kt)
- Duplicated block (9 lines × 2) (grant-core/src/iosMain/kotlin/dev/brewkits/grant/delegates/LocationManagerDelegate.kt)
- Extension functions in `GrantStoreKt` operate on `GrantPermission`, whereas the core `GrantStore` interface and its implementations (e.g., `SharedPreferencesGrantStore`) operate on `AppGrant`. This creates a parallel API surface for the same underlying data, risking inconsistency if the store is updated via one path but queried via the other.
- High CVE: [GHSA redacted] (kotlin-js-store/yarn.lock)
- Off the main sequence: :grant-core
- Off the main sequence: :grant-testing
- Off-boarding risk: anonymized user #1
- Redundant factory entry points. `GrantFactoryKt` exposes a generic `createPlatformDelegate` that likely delegates to platform-specific implementations, while platform-specific `Kt` files (androidKt, iosKt, etc.) also expose the same method. This creates confusion about which entry point to use.

## New (339)

- Dependency hygiene PARTLY measured — Gradle build resolved part of the dependency graph, currency reported but not scored
- FileTooLong: impl/PlatformGrantDelegate.android.kt (grant-core/src/androidMain/kotlin/dev/brewkits/grant/impl/PlatformGrantDelegate.android.kt)
- High CVE: [GHSA redacted] (kotlin-js-store/yarn.lock)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Medium CVE: [GHSA redacted] (kotlin-js-store/yarn.lock)
- Medium CVE: [GHSA redacted] (kotlin-js-store/yarn.lock)
- …and 319 more

## Changes since last survey

- 26 commits — 14 feature/other, 12 fixes

## By area

- grant-core/src — 15 commits
- (root) — 6 commits
- (repo) — 2 commits
- grant-desktop/src — 2 commits
- grant-core-koin/src — 1 commit

## Notable commits

- fix: Merge test/phase1-repro-bugs into feat/desktop-windows-preview
- fix: fix(android): LOCATION_ALWAYS background step honours the registered GrantLauncher
- fix: fix(android): fail fast when the system blocks the permission dialog launch (R3)
- fix: fix(android): give a slow Activity start 10 s before calling the launch blocked; isolate instrumented tests
- fix: fix(android): log why a service-status check or settings launch failed
- fix: fix(android): resolve R2, R4, R5, R6, R7 from audit
- fix: fix(build): align Android Lint with Kotlin 2.4 metadata
- fix: fix(desktop): use C++20 for Windows SDK and document platform scope
- fix: fix(ios): stop reporting states the platform cannot back (D1, D2, raw permission)
- fix: fix(ios): wait for a real location answer; checkStatus no longer queues behind a pending request
- fix: fix(koin): resolve ServiceManager on Android without a manual ServiceFactory.init
- fix: test(regression): add failing repro tests for audit findings (R2, R4-R7, D1, D2, raw permission)
- change: Merge pull request #89 from brewkits/feat/desktop-windows-preview
- change: build(desktop): refuse to publish a Windows DLL not built from the checked-out commit
- change: docs(changelog): record the GrantGroupHandler onSettingsOpened fix
- change: docs(changelog): record the Koin ServiceManager fix
- change: docs: state the ServiceStatus.UNKNOWN contract and iOS Wi-Fi optimism honestly
- change: feat(desktop): expose Windows privacy state through GrantManager (read-only handlers)
- change: feat(desktop): prepare macOS preview and Windows privacy bridge
- change: feat(ios): report reduced-accuracy location as PARTIAL_GRANTED (D3); ignore flaky instrumented tests; changelog
- …and 6 more

## Architecture

- Unchanged — 0 containers · 4 contexts · 3 edges
