Repository navigation
release: v1.3.207 设置页去白名单、遥测页重做、遥测身份修复与上传间隔可调 - #643
Conversation
park 与 overlay 只带 persona_standing;overlay 模板去掉 {{rules}},网关与面板两份目录保持一致。保存 compatibility 时删除 routing.json 里残留的 persona_rules / persona_leak_append。
删除 persona-rules 面板与前端规则库,协议保存不再写 persona_rules。导航每个 tab 只出现一次,去重指示条与窄屏去重辅助一并删除。
槽位分布条、每槽实时旁路状态与按槽开关;展开看上传时间线和脱敏原始记录。全开 / 全关先确认并逐槽显示进度,旁路重启失败单独提示,GPT 槽不再被批量写入。附播种写入键对照、上传链路与关联开关。
readClaudeIdentityDocument 不再要求 machineID,优先取两者都有的文件。回退改读槽记录的 fingerprint.official_user_id(loadVmIdentity 的 fingerprint 不带该字段)。GPT 槽不写 Claude 遥测身份。
v1.3.206 已于这些改动之前发布。条目留到下次 release 提交随版本写入。
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bef3e64. Configure here.
| export const OVERLAY_TEMPLATE_VARS = Object.freeze([ | ||
| Object.freeze(['overlay_body', 'body 块拼接结果,只能出现在 wrapper 块']), | ||
| Object.freeze(['standing', 'persona_standing 常驻约束']), | ||
| Object.freeze(['rules', '命中末轮 user 的 persona_rules append 拼接']), |
There was a problem hiding this comment.
Saved overlay templates still use rules
Medium Severity
{{rules}} was removed from overlay variable allowlists, but stored overlay_templates are not rewritten. Settings saves send the full routing draft, so validatePersonaRoutingPatch rejects any template that still has that placeholder and the PUT fails. Operators with a saved overlay (including a customized official/minimal copy that kept the old rules body block) cannot save 协议 or any other settings tab until those templates are edited by hand.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit bef3e64. Configure here.
|
CI
本 PR 其余检查:web、worker、kernel、arm64 通过。本 PR 改动相关的 Node 用例(persona / 模板 148 项,遥测身份与 runtime / bootstrap / fingerprint 130 项)本地全部通过。这 7 个失败需要单独修,合并前要确认 |
旁路进程在 worker.json 关闭(无官方身份)时也会常驻。上传中改为要求 worker.json 生效且进程在跑;种子开但无官方身份单列「开 · 无官方身份」,集群槽注明。集群槽展开时说明上传记录在节点上、面板读不到。
|
新增
|
集群节点不支持官方初装,开了也拿不到身份。确认弹窗列出其中集群槽的数量;批量行为不变。
worker.json telemetry.upload_interval_seconds(60s–24h),缺省或越界按 10 分钟。热重载生效,不重发 init 事件;GrowthBook 6 小时周期与 10 分钟会话窗口不变。
routing.telemetry.upload_interval_seconds 按整分钟、1 分钟到 24 小时校验,默认 600。worker.json 遥测块带上该值;间隔变化时重写所有 Claude 槽的 worker.json 并推到集群节点,保存结果返回 telemetry_sync。
预设 5 分钟到 24 小时,步进器可切换分钟 / 小时单位,走设置保存栏。上传链路说明按当前间隔显示,超过 10 分钟时提示会话窗口的影响。
集群槽读节点上推过去的 worker.json,推送是排队执行、失败只记日志,不能算已生效。telemetry_sync 新增 queued;测试覆盖集群槽:控制面副本已写、按 run 文件集推送。
|
1.3.207 合并前生产门禁:
|


版本
VERSION1.3.207(release: v1.3.207,只改VERSION与CHANGELOG.md)。CHANGELOG 1.3.207 段即本 PR 全部内容。改动
persona_rules规则引擎、{{rules}}模板变量、前端白名单页与规则库;保存 compatibility 时删除残留的persona_rules/persona_leak_append。worker.json遥测生效且进程在跑(旁路进程在遥测关闭时也常驻);无官方身份单独显示,集群槽注明且说明记录在节点上、面板读不到。userID,读取身份不再要求machineID;回退改读槽记录的fingerprint.official_user_id;GPT 槽不写 Claude 遥测身份。routing.telemetry.upload_interval_seconds(整分钟、1 分钟–24 小时,默认 10 分钟,原固定 10 秒)。kin-worker读worker.json同名字段,热重载、不重发 init。保存后重写各 Claude 槽worker.json:本机槽立即生效(telemetry_sync.updated),集群槽排队 SFTP 推送run文件集(telemetry_sync.queued,失败只记日志)。面板按分钟 / 小时设置。验证
worker/internal/config、worker/internal/telemetry通过(间隔、越界回退、热重载不重发 init)。go test ./...的internal/egressDNS 5000 字节 UDP 用例在本机超时,与本 PR 无关。部署
以下内容已在生产热部署,
verify-live.py --auth-mode master各 8 项全 PASS、7/7 容器 ID 不变:/opt/vm2api/.deploy-bak-vm2api-1.3.206-hot-20261021T012225Z/opt/vm2api/.deploy-bak-telemetry-identity-20261021T015352Z未部署:遥测页「上传中」判定修正、批量开启集群槽说明、上传间隔(含
kin-worker改动)。上传间隔需要新的kin-worker才生效。CI
unit中cli-hop-body.test.mjs(6)与convert-cache-shape.test.mjs(1)失败,main自dcdeedea(1.3.205)起即如此,干净的origin/main上同样 29 中 7 失败,与本 PR 无关。已知未处理
officialCcShouldSkipAutoInit仍要求machineID,新 CLI 初装的槽会一直判为missing_official_ids(推测会触发重复初装,未核实)。