feat(overlay): 覆盖网络线 序㊾ —— 探针观测面改「两台中继并集」(附 序㊽ 源码/文档补提交)

序㊾(本棒):
- scripts/overlay-probe.cjs:OBS-01 / OBS-08 / OBS-09 的数据源由「只读 47 中继」
  改为「按两台中继取并集」,消除 worker 归属漂移时的假红 / 假 SKIP
  · endpoints 以 network:hostId:port 为键合并,online 取「或」、localPort 取在线那一侧
  · used 按 network/hostId 去重计数(不求和,避免凭空放大在册数)
  · localPort 属中继机回环落点 ⇒ 按归属分机探活(106 侧落点由 106 机上探)
  · derived(OBS-11)保持 47 视角;阈值与判据一律未放宽
  · OBS-16 计数约束:对 47 /status 的读取仍为三次、Δ 只取 47 的 counters;
    对端 106 的采样为独立一次,落在第三次采样之后,不进 (status2, status3] 门窗口
  · 新增 --peer-status-fixture(并集的对端那一半)与「并集不可取证」强制留痕
- 交接单《覆盖网络-序45-低熵块治理-测熵与实现》§16 全节(§8 前前缀逐字未变)
- 参数表 §11.16 补记(§10 现算指纹未变,值格未动)

附(前几棒已完成并已部署、但尚未入仓的源码 / 文档):
- src/net/relay/content/*.ts、src/net/relay/index.ts、main.ts:块级寻址 C 域分离
- src/supervisor/orchestrator.ts、src/worker/agent.ts:日志采集与巡检(方案 C)
- test/overlay-content.test.mjs:随附用例(npm test = 200 pass / 0 fail / 1 skipped,Node 22)
- scripts/dshlog.mjs(跨机日志取证)、scripts/overlay-entropy.cjs(熵探针)
- dsh-server-docs/04-调整方案/129、133;INDEX.md / docs-manifest.json / 交接单 README 登记
This commit is contained in:
admin committed 2026-09-19 05:35:35 +08:00
1 parent 45b4999d24
commit d2ef362a98
20 files changed
+2998 -183

No files matched your search

+113 -23
View File
@@ -1,29 +1,29 @@
{
"generatedFrom": "scripts/docs-manifest.py",
"counts": {
"files": 183,
"chars": 1907768
"files": 189,
"chars": 1982749
},
"tiers": {
"hot": 6,
"cur": 25,
"warm": 61,
"cold": 36,
"doc": 55
"cold": 38,
"doc": 59
},
"domains": {
"platform": 72,
"method": 43,
"platform": 74,
"method": 47,
"ui": 15,
"plugin": 27,
"ops": 14,
"?": 7,
"external": 5
"?": 8,
"external": 4
},
"layers": {
"L0": 1,
"L5": 143,
"L4": 18,
"L5": 145,
"L4": 22,
"L2": 3,
"?": 3,
"L1": 2,
@@ -635,7 +635,7 @@
"num": "125",
"title": "会话接续机制 · 问题复盘与修复(2026-09-16)",
"status": "?",
"date": "",
"date": "09-18",
"chars": 5506,
"lines": 138,
"refs": 0,
@@ -690,6 +690,21 @@
"domain": "platform",
"tldr": ""
},
{
"path": "04-调整方案/129-日志采集与巡检-方案C实现.md",
"num": "129",
"title": "日志采集 · 实时巡检 · 事后溯源(方案 C 实现)",
"status": "✅ 已实现 · 本机实测通过",
"date": "",
"chars": 8433,
"lines": 228,
"refs": 0,
"refsCurrent": 0,
"tier": "cold",
"layer": "L5",
"domain": "method",
"tldr": ""
},
{
"path": "04-调整方案/13-登录直达冷启动竞态404修复.md",
"num": "13",
@@ -705,6 +720,21 @@
"domain": "ops",
"tldr": ""
},
{
"path": "04-调整方案/133-覆盖网络-低熵块治理方案-C域分离与D非确定性.md",
"num": "133",
"title": "覆盖网络 · 低熵块治理方案(**C 域分离 + D 非确定性**)",
"status": "📐 规划完成 · 待执行(第",
"date": "",
"chars": 9780,
"lines": 199,
"refs": 0,
"refsCurrent": 0,
"tier": "cold",
"layer": "L5",
"domain": "method",
"tldr": ""
},
{
"path": "04-调整方案/14-实例会话敏感信息暴露面审计与加固.md",
"num": "14",
@@ -953,7 +983,7 @@
"date": "2026-09-11",
"chars": 2199,
"lines": 64,
"refs": 3,
"refs": 12,
"refsCurrent": 0,
"tier": "warm",
"layer": "L5",
@@ -2091,8 +2121,8 @@
"title": "dsh 平台文档导航(INDEX)",
"status": "?",
"date": "",
"chars": 21553,
"lines": 858,
"chars": 22828,
"lines": 264,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
@@ -2346,8 +2376,8 @@
"title": "dsh-auto-handoff-chain — 多棒自动接力编排法",
"status": "?",
"date": "",
"chars": 9323,
"lines": 238,
"chars": 10721,
"lines": 258,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
@@ -2481,8 +2511,8 @@
"title": "dsh-instance-diagnose — DSH 实例故障诊断",
"status": "?",
"date": "",
"chars": 10623,
"lines": 225,
"chars": 12545,
"lines": 252,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
@@ -2511,13 +2541,13 @@
"title": "dsh-opensource-release — 开源导出与版本迭代",
"status": "?",
"date": "",
"chars": 36866,
"lines": 529,
"chars": 48137,
"lines": 595,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
"layer": "L3",
"domain": "external",
"domain": "platform",
"tldr": ""
},
{
@@ -2541,8 +2571,8 @@
"title": "交接单(规划会话 → 执行会话)",
"status": "✅ 启用",
"date": "2026-09-11",
"chars": 14100,
"lines": 153,
"chars": 16509,
"lines": 157,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
@@ -2774,6 +2804,66 @@
"layer": "L4",
"domain": "method",
"tldr": ""
},
{
"path": "交接单/覆盖网络-序24-内容分发块级寻址.md",
"num": null,
"title": "交接单 · 内容分发(块级内容寻址 · 同网段 peer 优先)",
"status": "待执行",
"date": "",
"chars": 6225,
"lines": 168,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
"layer": "L4",
"domain": "method",
"tldr": ""
},
{
"path": "交接单/覆盖网络-序25-实例逐步拉起.md",
"num": null,
"title": "交接单 · Manager 重启后「逐步拉起」既有实例",
"status": "待执行",
"date": "",
"chars": 6361,
"lines": 163,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
"layer": "L4",
"domain": "platform",
"tldr": ""
},
{
"path": "交接单/覆盖网络-序26-骨干稳定选路与加密.md",
"num": null,
"title": "交接单 · 骨干节点落地(稳定高效选路 + 传输可加密)",
"status": "待执行",
"date": "",
"chars": 6692,
"lines": 178,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
"layer": "L4",
"domain": "?",
"tldr": ""
},
{
"path": "交接单/覆盖网络-序45-低熵块治理-测熵与实现.md",
"num": null,
"title": "交接单 · 低熵块治理(**测熵先行** + C 域分离 + D 非确定性)",
"status": "待执行",
"date": "",
"chars": 19215,
"lines": 313,
"refs": 0,
"refsCurrent": 0,
"tier": "doc",
"layer": "L4",
"domain": "method",
"tldr": ""
}
]
}