Module: Access Control & State Storage
Chinese Source Guide
Full source-anchored notes are maintained in Chinese at repo-docs/modules/access-and-config.md.
- Four-Domain Isolation: Separates
ADMIN_PASSWORD(24h admin cookie + 15m/10-attempt lockout), clientapiKeys(withenabledflag), upstream provider credentials, andMODELBRIDGE_STATE_TOKEN. - Single Authority: Uses either Cloudflare
AppConfigStoreDO (app-config-v1, one-timeKVimport) or remote/_modelbridge/statebacked bysrc/state/sqlite.mjs(WAL,synchronous = FULL,BEGIN IMMEDIATE,APPLICATION_ID = 0x4d425331,nlink === 1).