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. |
||
|---|---|---|
| app | ||
| apps/cms | ||
| assets/brand | ||
| components | ||
| docs | ||
| infra | ||
| lib | ||
| public/brand | ||
| services/api | ||
| .gitignore | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
考町科技官网暨 AI 工具平台
当前阶段:Phase 2 用户认证与权益基础已完成,TTS 生成和 CMS 尚未接入。
- 产品与技术规划(含分阶段工作清单)
- Word 规划书
- 局域网测试环境
- Phase 0 现状审计
- TTS 接口契约
- 技术决策
- 后续执行计划
- Phase 1 阶段报告
- Phase 2 阶段报告
- Phase 3 阶段报告
- Phase 4 CMS 阶段报告
- TTS 上游资料请求清单
项目根目录:E:\RD\Kaotings\www_site,以本次新仓库为准。
实施从规划书 Phase 0 开始,先核实工程和测试环境,再按阶段推进。