Files
ucvl-zonghengjia-open-source/backend/account-rate-500-20261106

Account bandwidth policy source supplement

MIT source only; not an operational deployment or an enforcement claim. Add these six overlay files to a compatible legacy Django platform in an independent review branch. Existing platform modules and licenses remain intact. Ordinary account policy defaults are 500 KiB/s in each direction. Administrator values may range from 1 to 10240 KiB/s. The existing operator-approved exemption is bound to a fixed account identity and is not transferred by email changes.

The additive migration changes only shared_budget policy configuration. It preserves the existing exempt owner's policy and exemption, fills missing ordinary policies, and locks accounts before policy DDL to follow the registration order. It does not activate a limiter. Both budget switches must remain disabled until the separate executor supports the configured rate and real traffic is accepted. Old executors may still reject rates above 204800 bytes/s.

The included real-Django checks require your compatible legacy platform fixture at the sibling directory legacy-platform-fixture. Run tests/run_policy_checks.py with --stage red or green and a fresh --run-id. Tests build an isolated database; they do not connect to a deployed server. clone_validation.py exposes an explicit validate(before) entry and rolls back synthetic writes. Local SQLite checks do not substitute for PostgreSQL clone migration and concurrency acceptance.

No production database, credentials, real endpoint map, deployment driver, production binding, virtual environment or operational evidence is published. SOURCE-PROVENANCE.json records original and sanitized-source hashes, not private source history. No existing root module is replaced by this supplement.