sync update from LAN repo (source master @ ca48c4ec)

This commit is contained in:
gozeros committed 2026-11-05 10:53:54 +08:00
1 parent 8bc8b0e082
commit ea9dcff9c0
873 files changed
+107866 -14011

No files matched your search

@@ -82,6 +82,14 @@ python scripts/setup_force_situation_chain.py
python scripts/setup_biz_detail_assistant.py
```
`task-context` 与 `task-detail-update` 读取 `TASK_DETAIL_AGENT_USERNAME` 和
`TASK_DETAIL_AGENT_PASSWORD`,通过本 Gateway 的 `/api/v1/auth/login/local` 领取短期 JWT 后再调用
任务详情接口。因此部署时必须在**技能沙箱运行环境**中注入这两个变量和
`TASK_DETAIL_GATEWAY_URL`,并启用 `password_login_enabled`;不得把密码写入技能文件、SOUL、
命令行或检索输入。`setup_biz_detail_assistant.py` 同样改用账号密码登录,并可通过
`DEERFLOW_SETUP_BASE`、`DEERFLOW_SETUP_USERNAME`、`DEERFLOW_SETUP_PASSWORD` 覆盖本地默认值;
脚本只在正式密码登录被策略关闭(403)时回退旧用户名登录,其他失败均停止,不会绕过凭据校验。
业务链安装脚本默认只更新配置,不立即触发真实接口。需要立即执行时显式追加
`--trigger`。链路阶段为:接口数据采集 → 当前判断威胁接口采集 → 情报摘要与校验。