NSIO 开发日报

11月2日 / 周一

2026-11-02 的主要工作是账号重新准入与恢复修复、NS 分层归属重构,以及控制面网关、Relay 和会话一致性修复。原始材料包含大量合并与同步记录,已按行为归并;文档中的验证完成记录不等同于真机验收。

123
项合入
4
个模块
2
项需注意
6
位提交者
← 全部日报

今日要点

01
账号重新准入涉及跨仓库升级兼容升级
NS 修复恢复过程中的替换权限保留,控制面修复共享网关注册与审批代次保留;共享协议以破坏性变更要求注册条件槽位。升级前需核对三个仓库的契约匹配与恢复行为。
02
网关、Relay 与会话一致性集中修复连接稳定性
控制面调整空节点发布续期、会话捕获后的网关报告、Relay 名册保留与有效性恢复,并减少无变化协调对写事务的占用;端到端效果待验证。
03
NS 大范围迁移核心职责归属回归
账号、存储、Runtime、Domain、DataPlane 及接口契约持续下沉到明确的负责模块,覆盖启动选择、DNS、隧道、文件传输和移动端生命周期;需重点回归现有用户流程。
04
生产域名与 CI 修复仍需分别验收验证
材料记录 netseed.com 部署及管理端 CORS 修复;PostgreSQL 写入测试经历撤回、重新接入和角色数据库补齐。部署记录不能替代线上访问验证,CI 最终结果也需核对。

分模块详情

NS ns · 87 项

推进账号重新准入,并大范围收敛核心模块的职责与契约。

做了什么
  • 账号恢复保留替换权限,移动端暴露 journal 所有者检查;迁移注册恢复、注册状态投影、退出选择及登录退出和空间切换相关职责,记录核心计划关闭与上游集成、完整 QA 计划。
  • 统一 Profile、成员身份、网络意图及 DNS 端点类型的直接使用;存储模块承接类型化 Profile、已提交启动选择、加密策略决策、设备密钥链和预留、系统状态、多 NSD 事务、运行路径与权限。
  • Runtime 承接当前上下文令牌、托管策略加载、服务文件重载、Node L3 适配、AppSession 契约与 JSON IPC、会合策略,以及文件传输协议、清单事务、进度和生命周期。
  • Domain、DNS、TUN 与子网模块归并 ACL、来源提案、PAC 渲染、IPv4 规划、本地分配、LAN 与 Short DNS 策略及日志;整合主机 DNS、移动端主机控制与清理职责。
  • DataPlane、WireGuard 与 Runtime 归并物理 TUN、移动端包桥、源端口、服务租约、受保护 IO、退役、中继与链路恢复、反射发现及签名候选上报;收敛 Status、私有编解码、FFI 和本地 IPC 边界。
  • 整理私有文件、命名、解析、运行契约、进程身份、服务报告、清理回执与产物观察职责,并移除多处根层转发入口及大小写冲突文档。
怎么验证
  • 在 ns 仓库运行 git log --all --oneline --grep='preserve replacement authority' 定位修复;在隔离测试账号上执行重新准入,并中断后恢复。预期恢复后仍保留替换权限;此项需实际操作验证。
  • 运行 git log --all --oneline --grep='committed Start Profile' 定位启动选择改动;使用现有客户端切换 Profile、重启并检查当前身份和网络,再执行退出及空间切换恢复。预期使用已提交的 Profile,身份与网络不串用。
  • 运行 git log --all --oneline --grep='file-transfer' 查看传输相关改动;用两台测试设备传输文件,期间切换网络并检查进度、最终文件内容及任务结束状态。预期传输状态与结果一致,结束后不残留活动任务。
  • 运行 git log --all --oneline --grep='mobile' 查看移动端相关改动;在真机连接网络、切换前后台及网络后,检查 DNS、隧道流量和重连,再断开连接。预期连接可恢复,断开后相关资源完成清理。
重点关注
  • 上述测试均为建议步骤,未执行;材料未提供移动端真机、跨设备文件传输、DNS 与隧道恢复的验收证据,均待验证。
  • 重构覆盖面广,提交标题不能证明行为完全等价;启动选择、权限、事务恢复、接口兼容与资源清理待验证。
  • 核心重新准入计划关闭不代表上游集成与完整 QA 已完成,仍待验证。
控制面 nsd · 32 项

修复重新准入、网关与 Relay 权限一致性,改进读取和协调事务,并补齐验证基础设施。

做了什么
  • 共享网关保留审批代次、恢复原子注册;节点来源捕获排除待重绑定状态,续期当前空节点发布,并向 rollout 回执辅助逻辑传入节点作用域。
  • 引入管理员令牌引导与基于已接受基线的 Gateway Exit 路由;管理审计标识 API 令牌使用,离线节点退役归因到管理操作者。
  • 修复被动会话权限读取,避免命令锁影响相邻发布快照读取;支持会话捕获后的网关应用报告并补充拒绝诊断,无变化的协调避免开启写事务。
  • 按公共 Relay 目录标识配置区域成员,成员路径使用路由捕获名称;在权限仍有效时保留已准入节点名册,并修复保留参与者有效性的恢复。
  • 捕获仅由 M6 公共主机产生的域名声明;共享 Node 的 Subnet 签名者通过已接受的 NodeId 解析,记录 Network 选择契约未决问题。
  • 调整 Realm 重建门的调度与让出时机,记录 netseed.com 生产部署;移除过期 webpki-roots 包装例外。
  • PostgreSQL 写入测试经历撤回与重新接入,CI 安装 just 并补齐测试角色和数据库;材料包含多轮验证及限制说明。
怎么验证
  • 在 nsd 仓库运行 git log --all --oneline --grep='shared gateway' 定位改动;用隔离环境注册共享网关,再执行重新准入和待重绑定恢复。预期注册保持原子性,审批代次保留,待重绑定节点不进入来源捕获。
  • 运行 git log --all --oneline --grep='session' 查看会话改动;保持网关在线,触发会话捕获后再次上报应用状态,同时读取发布快照。预期有效报告可被接受、快照可读取,拒绝时有可定位的诊断。
  • 运行 git log --all --oneline --grep='relay' 查看 Relay 改动;在测试环境配置同一公共目录的区域成员,让已准入节点短暂离线再恢复。预期权限有效期间仍在名册中,恢复后成员路径和有效性正确。
  • 运行 git log --all --oneline --grep='PostgreSQL' 核对测试撤回和重新接入记录;打开对应提交的 CI 详情,检查 postgres 作业中的写入测试步骤。预期测试实际运行,角色与数据库已配置,并取得成功结果;不能以步骤存在代替通过。
  • 运行 git log --all --oneline --grep='audit' 定位审计改动;在测试环境使用引导令牌执行一次管理操作,再查看该操作的审计记录。预期能识别所用令牌,节点退役操作能归因到管理操作者。
重点关注
  • 会话、Relay、Subnet 和域名声明虽有验证文档记录,原始材料未提供具体输出与真机端到端证据,线上行为待验证。
  • 共享 Subnet 的 Network 选择契约仍有未决记录,最终处理状态待验证。
  • PostgreSQL 写入测试的最终 CI 结果、Realm 并发调度及生产部署后的运行状态待验证。
平台运营 admin · 2 项

修复生产运行时对 netseed.com 签名配置来源的 CORS 支持。

做了什么
  • 运行时允许 netseed.com 签名配置来源;材料记录相关修复 PR #34 与完成记录 PR #35 已合并。
怎么验证
  • 在 admin 仓库运行 git log --all --oneline --grep='signed config origins' 定位修复;浏览器打开 https://netseed.com,执行需要读取签名配置的现有操作,并在开发者工具的 Network 和 Console 中检查请求。预期配置请求成功,且没有相关 CORS 拦截。
重点关注
  • PR 合并和完成文档不等于浏览器验收;生产配置读取及相关页面操作待验证。
共享协议 ns-shared · 2 项

更新重新准入认证契约,并同步注册恢复相关契约与覆盖记录。

做了什么
  • 共享认证要求注册条件槽位,提交标记为破坏性变更,需协调客户端与控制面版本。
  • 同步主线注册恢复契约,整理公共池名册与 Network 覆盖、精确候选向量、服务标签边界及自检记录。
怎么验证
  • 在 ns-shared 仓库运行 git log --all --oneline --grep='registration condition slot' 查看契约变更;对照 ns 与 nsd 当前采用的共享协议版本,核查注册条件槽位是否都有对应处理。预期发送端与接收端契约一致。
  • 运行 git log --all --oneline --grep='public pool roster' 定位覆盖记录;按记录中的自检入口执行公共池名册场景,并核对 Network、候选向量和服务标签边界。预期结果符合记录中的断言;具体命令需以仓库记录为准。
重点关注
  • 破坏性认证契约的混合版本兼容性、重新准入联调及真机恢复待验证。
  • 覆盖文档不能证明本次集成已通过全部检查,实际执行结果待验证。

风险与待办

跨仓库升级:NS、nsd 与 ns-shared 的重新准入改动相互关联,注册条件槽位属于破坏性契约变更;版本组合、升级顺序及旧版本行为待验证。
回归与验收证据:材料主要是提交标题和验证文档摘要,无法据此确认真机、跨设备和生产端到端通过;日报中的测试均为待执行建议。

原始合入记录

展开全部 123 项(脚本采集,未经研判)

NS(ns)(87 项)

  • feat/account-readmission — silex
    • fix(account): preserve replacement authority across recovery
    • docs: remove case-conflicting names edge kit duplicate
    • docs(account): plan upstream integration and full qa
    • docs(account): close core readmission plan
    • fix(account): expose journal owner checks on mobile targets
  • refactor: merge main crate owners into account readmission — silex
    • refactor(policy): direct state and repository owners (#651)
    • refactor(policy): split managed config lower owners (#649)
    • refactor(dataplane): own complete service leases guarded io and retirement
    • refactor: close runtime store and domain owner paths (#646)
    • refactor: integrate complete host dns and cleanup core owners
  • refactor: merge main crate ownership into account readmission — silex
    • refactor(core): own private-file foundation and canonical runtime contracts
    • refactor(core): own peer retirement, route receipts and runtime contracts
    • refactor(types): complete profile identity consumers (#631)
    • refactor(store): own complete committed Start Profile selection
    • refactor(types): use profile identity directly in engine (#629)
  • chore: integrate main with account readmission — silex
    • refactor(store): own complete encrypted Policy decision repository
    • refactor(subnet): remove local ranges owner facade (#612)
    • refactor(store): own complete Device key registry and reservations
    • refactor(store): remove root registration staging facade (#610)
    • refactor(keys): own Device crypto foundation and canonical Quick codec
  • refactor(runtime): own Node L3 policy adaptation (#667) — clark
  • refactor(runtime): own file-transfer protocol mechanisms (#666) — clark
  • refactor(api): own complete Status schema and private codec (#663) — quick
  • refactor(runtime): own file-transfer manifest transaction (#665) — clark
  • refactor(runtime): own current-context token lifecycle (#662) — clark
  • refactor(runtime): own services file reload lifecycle (#660) — clark
  • refactor(tun): own complete Domain policy and Runtime configuration (#659) — quick
  • refactor(domain): own ACL and source proposals (#658) — clark
  • refactor(store): own complete Device key-chain repository lifecycle (#657) — quick
  • refactor(runtime): own managed policy loading (#656) — clark
  • refactor(domain): integrate complete pac policy and renderer owner — quick
  • refactor(policy): direct managed config consumers (#652) — clark
  • refactor(policy): direct state and repository owners (#651) — clark
  • refactor(policy): split managed config lower owners (#649) — clark
  • refactor(dataplane): own complete service leases guarded io and retirement — quick
  • refactor: close runtime store and domain owner paths (#646) — clark
  • refactor: integrate complete host dns and cleanup core owners — quick
  • refactor(store): own complete service report and name repositories — quick
  • refactor(store): own complete service journals and process identity runtime — quick
  • refactor(store): own runtime cleanup receipts and artifact observation — quick
  • refactor(runtime): own complete mobile host control and dns coordination — quick
  • refactor(core): own identity naming storage and resolver runtime — quick
  • refactor(core): own private-file foundation and canonical runtime contracts — quick
  • refactor(core): own peer retirement, route receipts and runtime contracts — quick
  • refactor(types): complete profile identity consumers (#631) — clark
  • refactor(store): own complete committed Start Profile selection — quick
  • refactor(types): use profile identity directly in engine (#629) — clark
  • refactor(types): use profile identity directly in cli (#628) — clark
  • refactor(types): complete local state profile ownership (#627) — clark
  • refactor(types): use profile identity owner directly (#626) — clark
  • refactor(store): own complete runtime paths and permissions — quick
  • refactor(types): use membership identifiers directly (#624) — clark
  • refactor(domain): use network intent owner directly (#623) — clark
  • docs(r3): remove case-conflicting names edge kit duplicate (#622) — clark
  • refactor(account): use profile owner directly (#621) — clark
  • refactor(ipc): own complete local wire contracts and credential stop clients — quick
  • refactor(wg): own complete peer policy in Account and packet health in DataPlane — quick
  • refactor(account): remove operation facade (#618) — clark
  • refactor(runtime): own complete reflexive discovery and signed candidate reporting — quick
  • refactor(dataplane): own complete WG lease relay and recovery packet mechanisms — quick
  • refactor(account): remove root projection facade (#615) — clark
  • refactor(runtime): own complete delivered WireGuard link recovery — quick
  • refactor(store): own complete encrypted Policy decision repository — quick
  • refactor(subnet): remove local ranges owner facade (#612) — clark
  • refactor(store): own complete Device key registry and reservations — quick
  • refactor(store): remove root registration staging facade (#610) — clark
  • refactor(keys): own Device crypto foundation and canonical Quick codec — quick
  • refactor(store): remove root Account sign-out facade (#608) — clark
  • refactor(store): remove root Space-switch recovery facade (#607) — clark
  • refactor(account): remove root control-bootstrap facade (#606) — clark
  • refactor(domain): remove root DNS namespace facade (#605) — clark
  • refactor(store): remove root context-index facade (#604) — clark
  • refactor(dns): own complete Short DNS lifecycle and typed journal — quick
  • refactor(store): remove root system-state facade (#602) — clark
  • refactor(account): own complete Node L3 protocol policy model — quick
  • refactor(types): own DNS endpoint values (#600) — clark
  • refactor(subnet): own complete local allocation and typed persistence — quick
  • refactor(domain): own IPv4 address plan (#598) — clark
  • refactor(runtime): own AppSession rendezvous policy (#597) — clark
  • refactor(store): own complete typed system state markers — quick
  • refactor(runtime): own file-transfer owner proxy (#595) — clark
  • refactor(store): own complete multi-NSD transaction kernel — quick
  • refactor(runtime): own AppSession JSON IPC (#593) — clark
  • refactor(runtime): own AppSession contracts (#592) — clark
  • refactor(runtime): own AppSession transfer progress (#591) — clark
  • refactor(store): own complete typed profile repository — quick
  • refactor(runtime): own AppSession transfer lifetime (#589) — clark
  • refactor(domain): own complete LAN DNS contract and answer policy — quick
  • refactor(runtime): own complete local proxy request protocols — quick
  • refactor: move staged registration recovery into Account (#586) — clark
  • refactor: move registration metadata policy into Account (#585) — clark
  • refactor: move registration link-mode policy into Runtime (#584) — clark
  • refactor: compose NSD adapters and Account registration owners (#583) — clark
  • refactor(account): own registered state projection (#582) — clark
  • refactor(account): own complete exit selection convergence (#581) — clark
  • refactor: finish file transfer channel Runtime ownership — quick
  • refactor: migrate file transfer mechanisms into Runtime and narrow FFI status boundaries — quick
  • refactor: move channel owners into lower layers and narrow FFI contracts — clark
  • refactor: move application-channel framing and keys to Runtime (#577) — quick
  • refactor(dataplane): own complete physical TUN packet adapters — quick
  • refactor(dataplane): own complete mobile packet bridges — quick
  • refactor(dataplane): own client packet views and bound source ports — quick
  • refactor: place Domain, Account storage and runtime lifecycle owners (#572) — clark

控制面(nsd)(32 项)

  • feat/account-readmission — silex
    • fix(nsd-store): retain approval incarnation for shared gateways
    • fix(nsd-store): exclude pending rebind from node source capture
    • fix(nsd-api): renew current empty node publications
    • fix(nsd-api): restore atomic shared gateway registration
    • fix(api): pass node scope to rollout receipt helper
  • refactor: merge unified engine into account readmission — silex
    • docs: record CI writer database provisioning
    • fix(ci): provision PostgreSQL writer fixture
    • docs: record unchanged session capture validation
    • docs: complete corrected passive session validation
    • docs: record PostgreSQL writer CI coverage
  • chore(sync): merge unified engine baseline into account readmission — silex
    • docs: complete deterministic realm rebuild scheduling
    • fix: yield after claiming realm rebuild gate
    • docs: claim deterministic realm rebuild scheduling
    • ci: rerun deployment record checks
    • docs: record netseed.com production deployment
  • feat(nsd): bootstrap administrator tokens and derive gateway Exit routes from the accepted floor — noah
    • docs: record CI writer database provisioning
    • fix(ci): provision PostgreSQL writer fixture
    • docs: record unchanged session capture validation
    • docs: complete corrected passive session validation
    • docs: record PostgreSQL writer CI coverage
  • ci: give the PostgreSQL writer step its role and database — ijs
    • fix(ci): provision PostgreSQL writer fixture
  • fix: preserve adjacent publication snapshot readers — ijs
    • docs: complete corrected passive session validation
    • docs: record PostgreSQL correction and pending validation
    • fix: read passive session authority without command locks
    • docs: record completed session capture validation
    • docs: clarify pending session capture validation
  • ci: run the PostgreSQL writer tests in the postgres job — ijs
    • build: install just in the PostgreSQL CI job
    • build: run PostgreSQL writer checks in CI
  • feat(relay): provision regional members of a public relay directory id — ijs
    • docs: complete retained validity recovery verification
    • docs: record retained validity recovery verification blocker
    • fix(relay): preserve recovery of retained participant validity
    • docs: complete participant validity verification
    • docs: record aligned fixture validation and pending complete check
  • chore: sync upstream base — ijs
    • docs: complete deterministic realm rebuild scheduling
    • fix: yield after claiming realm rebuild gate
    • docs: claim deterministic realm rebuild scheduling
    • ci: rerun deployment record checks
    • docs: record netseed.com production deployment
  • fix(relay-admission): keep an admitted Node in the roster while its authority holds — ijs
    • docs: complete integrated relay admission validation records
    • docs: record integrated retirement fixture controls
    • fix: attribute offline node retirement to management actor
    • docs: record completed offline relay admission validation
    • docs: record relay admission validation and bounds
  • chore: sync with upstream changes — ijs
    • docs: record root-wrapper exception removal
    • docs: record root policy verification
    • build: remove expired root wrapper exception
    • docs: record completed PostgreSQL writer fixtures
  • chore: sync with upstream changes — ijs
    • docs: record root-wrapper exception removal
    • docs: record root policy verification
    • build: remove expired root wrapper exception
  • chore: sync with upstream changes — ijs
    • docs: record root-wrapper exception removal
    • docs: record root policy verification
    • build: remove expired root wrapper exception
  • fix(deps): drop the expired webpki-roots wrapper exception — ijs
    • docs: record root policy verification
    • build: remove expired root wrapper exception
  • chore: sync upstream base — ijs
    • docs: complete deterministic realm rebuild scheduling
    • fix: yield after claiming realm rebuild gate
    • docs: claim deterministic realm rebuild scheduling
    • ci: rerun deployment record checks
    • docs: record netseed.com production deployment
  • chore: sync with upstream changes — ijs
    • docs: record completed PostgreSQL writer fixtures
    • docs: record M6 public host domain capture
    • docs: complete synchronized domain claim validation
    • docs: clarify source-specific runtime skip baselines
    • docs: record synchronized domain claim lint results
  • chore: sync with upstream changes — ijs
    • docs: record M6 public host domain capture
    • docs: complete synchronized domain claim validation
    • docs: clarify source-specific runtime skip baselines
    • docs: index Node L3 status diagnostics
    • docs: record synchronized domain claim lint results
  • merge: synchronize gateway node integration changes — ijs
    • docs: index Node L3 status diagnostics
    • docs: record PostgreSQL writer test withdrawal
    • fix(node-l3): diagnose application report refusals
    • docs: record PostgreSQL writer withdrawal validation
    • docs: index management token audit attribution
  • fix(store): capture domain claims of M6-only public hosts — ijs
    • docs: complete synchronized domain claim validation
    • docs: clarify source-specific runtime skip baselines
    • docs: record synchronized domain claim lint results
    • docs: record accepted runtime skip baseline
    • docs: record synchronized domain claim validation pending
  • chore: sync with upstream changes — ijs
    • docs: index Node L3 status diagnostics
    • docs: record PostgreSQL writer test withdrawal
    • fix(node-l3): diagnose application report refusals
    • docs: record PostgreSQL writer withdrawal validation
  • chore: sync with upstream changes — ijs
    • docs: record PostgreSQL writer test withdrawal
    • docs: record PostgreSQL writer withdrawal validation
    • docs: index management token audit attribution
    • docs: complete management audit validation
    • docs: record passive reconciliation behavior
  • chore: sync with upstream changes — ijs
    • docs: index management token audit attribution
    • docs: complete management audit validation
    • docs: record passive reconciliation behavior
    • fix: identify API tokens in management audits
    • docs: record idle reconciliation validation
  • fix(node-l3): accept a gateway's application report after session capture — ijs
    • fix(node-l3): diagnose application report refusals
  • revert(store): withdraw the PostgreSQL writer tests until they complete — ijs
    • docs: record PostgreSQL writer withdrawal validation
  • feat(audit): mark a bootstrap token's use in its audit record — ijs
    • docs: complete management audit validation
    • fix: identify API tokens in management audits
  • chore: sync with upstream changes — ijs
    • docs: record accepted shared Subnet signer behavior
    • docs(subnet): complete accepted signer validation records
    • docs(subnet): record focused verification and administration limit
    • docs(subnet): record unresolved Network selection contract
    • fix(subnet): resolve shared Node signers through their accepted NodeId
  • chore: sync integrated gateway session and diagnostic changes — ijs
    • docs: record accepted shared Subnet signer behavior
    • docs(subnet): complete accepted signer validation records
    • docs: record PostgreSQL store writer coverage
    • docs: record accepted Gateway Exit route candidates
    • docs: complete accepted Exit scope repair validation
  • fix(service-control): take the writer only when a reconcile has a change — ijs
    • docs: record idle reconciliation validation
    • fix: avoid writer transactions for unchanged reconciliation
  • fix(subnet): resolve shared Node signers through their accepted NodeId — ijs
    • docs(subnet): complete accepted signer validation records
    • docs(subnet): record focused verification and administration limit
    • docs(subnet): record unresolved Network selection contract
    • fix(subnet): resolve shared Node signers through their accepted NodeId
  • feat(relay): provision regional public relay members — ijs
    • fix(relay): publish public relay member paths under the routed capture name
    • feat(relay): provision regional members of a public relay directory id
  • docs: record netseed.com production deployment — eleven
    • docs: complete deterministic realm rebuild scheduling
    • ci: rerun deployment record checks
    • docs: record netseed.com production deployment
    • docs: claim netseed.com production deployment
  • fix: make Realm rebuild gate ownership deterministic — eleven
    • fix: yield after claiming realm rebuild gate
    • docs: claim deterministic realm rebuild scheduling

平台运营(admin)(2 项)

  • Merge PR #35: complete production runtime CORS fix — eleven
    • docs: complete production runtime CORS fix
  • Merge PR #34: fix production runtime CORS — eleven
    • fix(runtime): allow netseed.com signed config origins
    • docs: claim production runtime CORS fix

共享协议(ns-shared)(2 项)

  • feat/account-readmission — silex
    • feat(control)!: require a registration condition slot in shared auth
  • chore: integrate main registration recovery contracts — silex
    • docs: record public pool roster coverage
    • docs: remove branch argument from self-check records
    • docs: clarify public pool roster Network coverage
    • docs: index exact candidate vector coverage
    • docs: record service label boundary coverage