docs: 客户端可配置分流(类 Shadowrocket)设计 + 交互原型(Task 3,待确认)
ci-pangolin / Redline Scan — 脱敏 (UI 文案) (pull_request) Successful in 27s
ci-pangolin / Cleartext Scan — Android 禁明文 (pull_request) Successful in 18s
ci-pangolin / Portable SQL — 可移植性 (mysql/sqlite) (pull_request) Successful in 17s
ci-pangolin / Lint — shellcheck (pull_request) Successful in 32m31s
ci-pangolin / Flutter — analyze + test (pull_request) Successful in 5m41s
ci-pangolin / OpenAPI Sync Check (pull_request) Failing after 11m25s
ci-pangolin / Codegen Drift — token 生成物未漂移 (pull_request) Failing after 15m29s
ci-pangolin / DS-flow — 原型/跨端同源/代码色单源闸 (pull_request) Successful in 35m20s
ci-pangolin / Go — build + test (pull_request) Failing after 5m34s
ci-pangolin / Golden — 视觉回归 (全量:components/auth/desktop/tablet) (pull_request) Successful in 2m33s
ci-pangolin / Go — integration (mysql/redis testcontainers) (pull_request) Failing after 10m41s
ci-pangolin / E2E Smoke — L4 进程级端到端 (pull_request) Failing after 10m48s

让用户自定义路由规则(域名/域名后缀/关键字/IP-CIDR/GeoIP/GeoSite × 直连/走隧道/
拒绝),有序首命中。架构铁律(client 不拼配置)下走服务端 per-user 路由档案:
App 编规则 → PUT /v1/routing-profile 存档案 → connect 时 BuildClientConfig
翻译进 sing-box route.rules,原样下发。

产物:
- docs/configurable-proxy-prototype.html — 移动端三屏 mockup(规则表/加规则/文本导入)
- docs/configurable-proxy-spec.html — 规则模型 + 优先级层级 + 直连真生效
  (route_exclude/reverse_mapping)+ API + 校验兜底 + 与现有机制关系 + 分期 + 4 个待确认取舍
- docs/index.html 登记

设计-first,待用户确认后出实现计划开发。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A79VtQA1BwTuQN1ThpvYpo
This commit is contained in:
wangjia
2026-07-27 00:19:34 +08:00
parent 4ca21f9ee9
commit 45158c8b99
3 changed files with 386 additions and 0 deletions
+5
View File
@@ -84,6 +84,11 @@
<div class="d">iOS 隧道从 PoC 桩推到真机连通 + TestFlight;五条工作线 + NE 50MB 内存闸门;iPad 横屏侧栏布局适配。</div>
<div class="path">docs/ios-ipad-support-design.html</div>
</a>
<a class="doc" href="configurable-proxy-spec.html">
<div class="t">客户端可配置分流(类 Shadowrocket)设计 <span class="tag html">HTML</span></div>
<div class="d">让用户自定义路由规则(域名/IP/GeoIP/GeoSite × 直连/走隧道/拒绝),有序首命中。架构铁律下走「服务端 per-user 路由档案」:App 编规则→存档案→connect 时 server 翻译进 sing-box route.rules。含规则模型、优先级层级、直连真生效(route_exclude/reverse_mapping)、API、校验兜底、分期。配套<a href="configurable-proxy-prototype.html">交互原型</a>。Task 3,待确认。</div>
<div class="path">docs/configurable-proxy-spec.html</div>
</a>
<a class="doc" href="superpowers/specs/2026-06-21-windows-client-design.md">
<div class="t">Windows 客户端设计 <span class="tag md">MD</span></div>
<div class="d">Windows 端 sing-box 子进程 + wintun 隧道客户端设计。</div>