feat(relay): persist machine identity and expose binding recovery #668
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 404 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.359
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #668"
general
weight: 0.35
mzdluo123
变更
relay-machine.json随机机器 ID:首次配对前持久化,解绑、旧密钥丢失与服务重启不改变;损坏、锁冲突或落盘失败不生成替代身份。v0.0.0-20261116123157-9870f0df20d0,提供所有者删除机器的代际请求契约;服务端配套 PR:https://github.com/mzdluo123/webmux-relay/pull/6。本地验证
部署边界
按用户授权,在双端 CI 通过后备份并部署;不操作当前生产绑定。客户端安装版本与当前运行进程是否重启将单独记录。PR 保持开放,不自动合并。
设置页交互
!恢复确认交互
| 视口/主题 | 修改前 | 修改后 |
| --- | --- | --- |
| desktop 1280×900 light | !before | !after |
| tablet 768×800 light | !before | !after |
| phone 390×844 light | !before | !after |
| desktop 1280×900 dark | !before | !after |
| tablet 768×800 dark | !before | !after |
| phone 390×844 dark | !before | !after |