Go to file
flym 8657f447a1 fix(api): make quota adjustment consistent with concurrent freeze/settlement
Admin quota adjustment now takes the per-user advisory lock and a FOR UPDATE
row lock on the quota account before projecting the balance, so the check
covers both used and reserved amounts and stays transactionally consistent
with task freeze and settlement. Settlement and lease-recovery paths also
lock the quota row explicitly.

Add the isolated Phase 5 exception-matrix harness (fault injection against a
dedicated DB + fake upstream) covering last-quota contention, concurrent
admin reduce, freeze/reduce stress, bad/oversized/timeout upstream, storage
failure, cross-period settlement and queued/running restart recovery.
Add test-only deps, provisioning helper (secrets via env) and test README.
2026-09-10 04:38:47 +08:00
app feat(admin): build real admin UI for users, VIP/quota, TTS and audit 2026-09-10 02:34:27 +08:00
apps/cms chore: decommission CMS one-shot seed route and document slug query 2026-09-10 02:03:02 +08:00
assets/brand docs: complete Phase 0 audit baseline 2026-09-08 15:29:09 +08:00
components feat(admin): build real admin UI for users, VIP/quota, TTS and audit 2026-09-10 02:34:27 +08:00
docs docs: record P4-04..P4-07 admin acceptance and leftover items 2026-09-10 02:59:36 +08:00
infra fix: restore Next basePath with Caddy passthrough 2026-09-10 00:31:22 +08:00
lib feat(admin): build real admin UI for users, VIP/quota, TTS and audit 2026-09-10 02:34:27 +08:00
public/brand feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
services/api fix(api): make quota adjustment consistent with concurrent freeze/settlement 2026-09-10 04:38:47 +08:00
.gitignore feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
next-env.d.ts feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
next.config.ts feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
package-lock.json feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
package.json feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
postcss.config.mjs feat: add Phase 1 website skeleton and design system 2026-09-08 17:20:15 +08:00
README.md docs: record Phase 4 CMS boundary and blocker 2026-09-09 19:30:24 +08:00
tsconfig.json fix: make Payload migrations runnable on Node 24 2026-09-09 17:53:07 +08:00

考町科技官网暨 AI 工具平台

当前阶段Phase 2 用户认证与权益基础已完成TTS 生成和 CMS 尚未接入。

项目根目录:E:\RD\Kaotings\www_site,以本次新仓库为准。

实施从规划书 Phase 0 开始,先核实工程和测试环境,再按阶段推进。