Skip to content

feat(web): 种子页按当前槽 settings.json 显示真实配置 - #608

Merged
dofastted merged 5 commits into
mainfrom
cursor/feat-seed-settings-current-slot-4261
Oct 19, 2026
Merged

dofastted merged 5 commits into
mainfrom
cursor/feat-seed-settings-current-slot-4261

Conversation

@dofastted

@dofastted dofastted commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

摘要

从已关闭的厨房水槽 #606 拆出的仅种子页变更(基于 main 670dd027)。

  • 槽位种子页按当前槽 settings.json 列出真实 env / 顶层键
  • claude.setting 可编辑并参与播种;缺失文件 GET 返回 null,空文件返回空串,不用策略默认冒充槽内文件
  • 遥测开关与 sidecar 进程探针分开展示;PUT /seed-settings 在遥测 sidecar 刷新失败时仍返回 200(进程状态在响应 service 字段中体现)

明确不包含

CHANGELOG

「未发布」一条;未改 VERSION。

Open in Web Open in Cursor 

Note

Medium Risk
改动 VM 种子读写语义与保存时的 HTTP 状态(遥测 sidecar 失败不再 502),管理员误读进程状态或以为保存失败的风险略增;范围限于面板种子页与对应 API。

Reviewed by Cursor Bugbot for commit 2af464e. Configure here.

dofastted and others added 5 commits October 19, 2026 12:53
账本列出文件里的真实配置项,claude.setting 可编辑后播种。遥测开/关与进程状态分开,种子页打开时 2 秒刷新。
编辑框只显示当前槽文件的原文。文件缺失或为空都保持空白,不再回退到策略文本或默认串。
GET /seed-settings 不再用策略默认串填补不存在的文件。空文件仍返回空串,策略字段保持独立。
种子页把配置开关与进程探针分开;502 只会在写盘失败时出现。

Co-authored-by: ted <kuhlmangarry24@gmail.com>
Co-authored-by: ted <kuhlmangarry24@gmail.com>
@dofastted
dofastted marked this pull request as ready for review October 19, 2026 13:13
@dofastted
dofastted merged commit 2bb07d8 into main Oct 19, 2026
8 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2af464e. Configure here.

vm_id: id,
seed_policy: next,
service,
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Save toast hides sidecar failure

Medium Severity

PUT /seed-settings now stays 200 when telemetry sidecar refresh fails, but seed save still toasts 已播种 and the settings telemetry pane counts those writes as successes. Nothing reads the response service field, so a failed process restart looks like a complete seed.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2af464e. Configure here.

@cursor
cursor Bot deleted the cursor/feat-seed-settings-current-slot-4261 branch October 19, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants