# Changelog

## Score

- CAI 60 → 53 (-6.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 61 → 55 (-6.9)
- Architecture 66 → 77 (+10.4)
- Maturity 56 → 62 (+6.0)
- Readiness 60 → 61 (+1.5)
- Security 80 → 70 (-9.9)
- Accessibility 45 (new)

## Resolved (79)

- Concentrated knowledge decay
- Duplicated block (11 lines × 2) (src/Services/LLM/CloudflareWorkersAI.php)
- Duplicated block (11–21 lines × 2) (src/Services/LLM/CloudflareWorkersAI.php)
- Duplicated block (12–13 lines × 2) (src/Controllers/Admin/SubLogController.php)
- Duplicated block (13 lines × 2) (src/Services/Subscribe/Trojan.php)
- Duplicated block (16 lines × 2) (src/Controllers/User/CouponController.php)
- Duplicated block (16–17 lines × 4) (src/Services/Gateway/AlipayF2F.php)
- Duplicated block (18 lines × 2) (src/Services/Cron.php)
- Duplicated block (22 lines × 2) (src/Controllers/Admin/NodeController.php)
- Duplicated block (22 lines × 2) (src/Services/Subscribe/SingBox.php)
- Duplicated block (24 lines × 3) (src/Services/Gateway/AlipayF2F.php)
- Duplicated block (6 lines × 2) (src/Controllers/Admin/ProductController.php)
- Duplicated block (6 lines × 3) (src/Controllers/Admin/LoginLogController.php)
- Duplicated block (7 lines × 2) (src/Controllers/Admin/NodeController.php)
- Duplicated block (7 lines × 2) (src/Controllers/OAuthController.php)
- Duplicated block (7 lines × 2) (src/Services/Subscribe/Clash.php)
- Duplicated block (7 lines × 3) (src/Controllers/OAuthController.php)
- Duplicated block (7–8 lines × 4) (src/Controllers/Admin/LoginLogController.php)
- Duplicated block (9 lines × 2) (src/Controllers/Admin/DetectBanLogController.php)
- Edited copy of a member (18 corresponding lines) (src/Controllers/Admin/InvoiceController.php)
- …and 59 more

## New (65)

- Clash.getContent (cyclomatic 37) (src/Services/Subscribe/Clash.php)
- CouponController.check (cognitive 16) (src/Controllers/User/CouponController.php)
- Documentation: no build, run or usage example (README.md)
- Duplicated block (11 lines × 2) (src/Services/Subscribe/Clash.php)
- Duplicated block (13–14 lines × 2) (src/Controllers/Admin/SubLogController.php)
- Duplicated block (15–16 lines × 3) (src/Services/Gateway/AlipayF2F.php)
- Duplicated block (16 lines × 2) (src/Services/Notification.php)
- Duplicated block (21 lines × 4) (src/Services/Gateway/AlipayF2F.php)
- Duplicated block (22 lines × 3) (src/Services/Gateway/AlipayF2F.php)
- Duplicated block (23 lines × 2) (src/Controllers/User/CouponController.php)
- Duplicated block (29 lines × 2) (src/Controllers/Admin/NodeController.php)
- Edited copies of one member (3 members, 12+ corresponding lines) (src/Models/Config.php)
- Edited copies of one member (3 members, 13+ corresponding lines) (src/Controllers/Admin/GiftCardController.php)
- Edited copies of one member (3 members, 16+ corresponding lines) (src/Controllers/Admin/Setting/ImController.php)
- Edited copies of one member (3 members, 28+ corresponding lines) (src/Services/LLM/CloudflareWorkersAI.php)
- Edited copies of one member (3 members, 7+ corresponding lines) (src/Controllers/Admin/CouponController.php)
- Edited copies of one member (5 members, 37+ corresponding lines) (src/Controllers/Admin/DetectBanLogController.php)
- Edited copy of a member (13 corresponding lines) (src/Controllers/Admin/DetectRuleController.php)
- Edited copy of a member (14 corresponding lines) (src/Controllers/User/InfoController.php)
- Edited copy of a member (15 corresponding lines) (src/Controllers/BaseController.php)
- …and 45 more

## Changes since last survey

- 34 commits — 21 feature/other, 13 fixes

## By area

- (root) — 14 commits
- src/Services — 7 commits
- src/Controllers — 4 commits
- app/predefine.php — 3 commits
- .github/workflows — 2 commits
- config/appprofile.example.php — 2 commits
- config/settings.json — 1 commit
- resources/views — 1 commit

## Notable commits

- fix: fix(admin): compute ban end time before formatting the end time
- fix: fix(admin): sort log tables by whitelisted columns, else by default
- fix: fix(admin): stop writing the removed ga_enable column on user edit
- fix: fix(config): sing-box fake-ip rule order, TTL key and rule-set detour (#2600)
- fix: fix(coupon): enforce the new-user-only coupon limit at checkout
- fix: fix(im): send notifications to the user's bound Slack or Discord account
- fix: fix(migration): stop on the first failed migration
- fix: fix(payment): make payment settlement and balance updates atomic
- fix: fix(settings): sync is_public and class from settings.json on import
- fix: fix(subscribe): emit ss:// URIs in the ss and sip002 subscriptions
- fix: fix(subscribe): follow node security, host and servicename for VMess
- fix: fix(update): stop update.sh on failure and roll back the code
- fix: fix(webapi): record a node traffic report in one transaction
- change: build(deps): upgrade illuminate/database and pagination to 13
- change: build(php): require PHP 8.4
- change: build(test): upgrade Pest to 5 and PHPUnit to 13
- change: chore(deps): bump aws/aws-sdk-php from 3.389.3 to 3.395.1 (#2594)
- change: chore(deps): bump openai-php/client from 0.14.0 to 0.22.0 (#2573)
- change: chore(deps): bump phpmailer/phpmailer from 6.10.0 to 7.2.0 (#2571)
- change: chore(deps): bump stripe/stripe-php from 20.3.1 to 22.1.0 (#2595)
- …and 14 more

## Architecture

- Unchanged — 0 containers · 1 contexts · 0 edges
