- appsettings.json 敏感项(连接串/密钥/API Key)改为占位符 - 新增 appsettings.Secrets.json(本地,gitignore)+ .example.json(模板) - Program.cs 与 3 个 design-time factory 加载 Secrets.json 覆盖 - 历史中的明文凭据已用 git filter-repo 清理(REDACTED)
- .gitignore 补充 .idea/.vscode/.vs/ 等 IDE 目录 - 从 git 移除已误提交的 .idea/ 目录 - 移除 bin/obj 缓存