Commit Graph

10 Commits

Author SHA1 Message Date
ef2cae59ad feat: require email verification for registration 2026-09-11 15:17:02 +08:00
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
956862215d docs: record P4-04..P4-07 admin acceptance and leftover items 2026-09-10 02:59:36 +08:00
8aae84b404 feat(admin): P4-04..P4-06 admin API for users, VIP/quota, TTS and audit 2026-09-10 02:30:29 +08:00
1f593fcab4 feat: add Payload CMS foundation 2026-09-09 17:02:46 +08:00
d9a491ef43 fix: finalize Phase 3 V1 minimum and worker recovery 2026-09-09 15:00:59 +08:00
9bf98522af fix: harden Phase 3 task leases and metering 2026-09-09 14:35:29 +08:00
f5ddf761e4 feat: add Phase 3 TTS task pipeline 2026-09-09 00:42:13 +08:00
4e40019dce fix: adapt admin audit JSON values 2026-09-09 00:00:47 +08:00
fdcee9c349 feat: implement Phase 2 auth and quota foundation 2026-09-08 23:42:28 +08:00