docs(official-sync): 推荐环境变量配置代理并同步凭据处理说明

- official-resource-test-pull.md §0.1:新增"带凭据代理优先用 HTTPS_PROXY 环境
  变量"推荐(含 systemd EnvironmentFile 0600 用法),补充凭据处理说明——日志/
  status 脱敏、经 ALL_PROXY 环境变量传 curl、daemon 经环境变量下传、bat-proxy.secret
  复用与 clean-stable 清除;修正旧表述"代理参数写入后台子进程启动参数"。
- official-resource-backend.md 第 13 条:把"仅日志脱敏"扩写为全链路凭据不落
  世界可读位置。
- CURRENT_STATUS.md 第 7 条:同步上述凭据处理描述。
- deployments/systemd/official-sync.env.example:新增注释版 HTTPS_PROXY/NO_PROXY
  示例,并提示含凭据时按 0600 安装。
- CHANGELOG:新增"修复"(Unity 版本数值比较)与"安全"(代理凭据不落世界可读
  位置)条目。

对应 issue #18 维护清单 1-1 / 1-2。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-16 06:58:11 -07:00
co-authored by Claude Fable 5
parent 565fd317de
commit 4c123b9560
5 changed files with 31 additions and 4 deletions
@@ -9,3 +9,12 @@
BAT_OUTPUT_ROOT=/var/lib/bluearchive-toolkit/official
BAT_INTERVAL=1h
BAT_ERROR_RETRY=60s
# Optional local proxy for curl transfers. Setting a standard proxy environment
# variable here is the recommended way to configure a credentialed proxy: bat
# auto-detects it and the credential never lands on the command line, process
# argv, or any state file. If the proxy URL contains credentials, install THIS
# file with mode 0600 (not 0644) so the secret is not world-readable.
#
# HTTPS_PROXY=http://user:pass@127.0.0.1:7890
# NO_PROXY=localhost,127.0.0.1,::1