Files
ucvl-zonghengjia-open-source/ios/docs/superpowers/plans/2026-10-27-ios-1.0.3.md

4.5 KiB

iOS 1.0.3 同步更新计划

For agentic workers: Use executing-plans, test-driven-development and verification-before-completion. User already opted out of repeated design and publication approval questions.

Goal: 更新现有 iPhone/iPad 源码,沿用已发布 Windows 0.3.1 的授权内部 IP 优先、公网回落保持与山水半透明视觉;如缺 Apple 构建/签名条件,明确交付源码候选,绝不冒称 IPA 或安装完成。

Architecture: 保留 SwiftUI + NetworkExtension + 官方固定 libXray。后台可选契约提供同节点内部入口;严格验证后最多1秒原生 ICMP,出口仍需现有 HTTPS 验证。显式连接拥有一次公网回落状态,完整断开前不启动备用;不管理 Tailscale,不承诺同机两个 Packet Tunnel 并存。

Tech Stack: Swift5语言模式 / iOS15 / XcodeGen / XCTest / Python源审计。

Global constraints

  • 不改 Windows 已发布内容、后台生产、路由器、现用网络、Sony 夜猫或电视。
  • 仅使用认证后台返回且同节点匹配的100.64.0.0/10入口;不硬编码节点;不把Ping当身份验证。
  • 只重写代理地址与端口;Reality/UUID/路由等原始授权保持。公网解析延迟到公网分支。
  • 统一品牌“纵横家”,复用有来源的原创山水图;不把许可不明人物图公开。
  • 真机、签名与Xcode缺失时保持 IPA/正式稳定发行/生产验收=false,静态审计不冒充Swift行为测试。

Tasks

  • 建立可选端点容错解析、严格100/10和同身份替换、sticky策略的XCTest;增加可执行静态审计负向夹具并保留RED。
  • 实现受限入口策略、原生ICMP、同节点公网回退;Provider重复验证并仅排除所选/32;清理超时停止;过滤无关VPN通知。
  • 同步山水背景、50%卡片、注册行对齐、品牌与响应式iPhone/iPad布局;不伪造速度数据。
  • 版本1.0.3/build10003,改归档脚本版本路径与可配置Simulator;更新真实验收范围。
  • 跑源审计及其负向夹具、全部可执行本地检查;XCTest/Xcode只能在实际可用构建机上执行。独立审查重要问题。
  • 冻结精确源码与审计/未验收声明,推送新的专属分支和公开清洁源码分支,逐blob与附件下载核对;源码候选只标prerelease。

Review focus

  • 缺失/null/格式错误的可选入口不得破坏旧公网配置。
  • 节点、契约、scope、端口、单一VLESS Reality身份不匹配不得触发Ping或改写。
  • Ping/内部出口失败后的同节点公网回退,随后其它节点不得再次提升内部。
  • 清理超时、取消、本机权限、401/403不能继续切换或误报连接成功。
  • iPhone窄屏/键盘/大字体保持可操作;同机Tailscale被系统替换后不循环重试内网。

Capability evidence

2026-10-27 authenticated read-only company Git audit: iOS repo11 private; Actions runner inventory empty, all5 historical runs cancelled. Windows host has no Swift/Xcode. No configured signing/export/TestFlight/MDM publication path. This is an external installable-release blocker, not a request to reconfirm publication authority.

Execution ledger before source freeze

  • User confirmed no Mac/build/signing environment. Continue source update and scoped source synchronization; no installable or stable iOS release can be claimed.
  • Added native bounded ICMP and nonce/source/checksum reply matching; optional endpoint authorization and same-node sticky fallback. Actual Swift/XCTest execution is unavailable. XCTest sources were written first but their RED/GREEN runtime cycle remains unexecuted; no static grep is counted as their replacement.
  • Source audit and all16 executable Python tests passed (9 real shell subprocess archive tests,7 source-audit boundary tests). Old archive script produced expected failures before its change; source version mismatch was also observed and corrected. No Xcode, simulator, IPA, real plutil, download or device activity is represented by these tests.
  • Independent review corrected two important baseline issues: config node.status absent in real backend payload now decodes to unknown, with exact-shape XCTest; Swift language setting changed from invalid5.10 to5.0. UI review corrected inherited foreground on primary buttons. Swift compilation remains unverified.
  • Source-only candidate identity1.0.3/build10003. Public export must omit unlicensed Geo binaries as in previous publication, preserve third-party licenses/trademark exceptions and provide restore notes. Do not call public resource omission a complete binary build.