- state: AppState 持有 Arc<PGlite> + db_lock + 会话存储 + 配置 - identity: 登录逐字对齐上游 AuthController(5 条失败文案 + 常量时间比较密钥) - bootstrap: 首次启动建本地身份并把随机密钥打印一次;已有身份则幂等跳过 - routes: build_router 装配 health/auth/crud 三段路由 Co-Authored-By: Claude Code <[email protected]>
- state: AppState 持有 Arc<PGlite> + db_lock + 会话存储 + 配置 - identity: 登录逐字对齐上游 AuthController(5 条失败文案 + 常量时间比较密钥) - bootstrap: 首次启动建本地身份并把随机密钥打印一次;已有身份则幂等跳过 - routes: build_router 装配 health/auth/crud 三段路由 Co-Authored-By: Claude Code <[email protected]>