layout: restructure into src/ tests/ android/ scripts/ tools/

- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
  (+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
  perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten

No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-29 19:08:19 +09:00
co-authored by Claude Opus 5.5
parent 70710477cf
commit a46093104c
2817 changed files with 13728 additions and 13744 deletions
+4 -4
View File
@@ -80,10 +80,10 @@
## Evidence already available
- `extension/tests/net_classic_cipher_test.cpp`:client/server polarity 的 DH2 round-trip、CTR 连续性和新会话密钥差异。
- `extension/tests/net_classic_encstream_test.cpp`:handshake、key agreement、completed、已缓冲密文和 sequence 的 stream happy path。
- `extension/tests/net_text_codec_test.cpp`:12 个中文字符在 24 个 GB2312 字节内 round-trip、13 个字符被拒绝、真实中文名称和 32 字节商店招牌边界。
- `extension/tests/net_classic_session_test.cpp`:角色创建/改名包验证实际写入 GB2312 字节、NUL 结尾和 24 字节边界。
- `tests/port/net_classic_cipher_test.cpp`:client/server polarity 的 DH2 round-trip、CTR 连续性和新会话密钥差异。
- `tests/port/net_classic_encstream_test.cpp`:handshake、key agreement、completed、已缓冲密文和 sequence 的 stream happy path。
- `tests/port/net_text_codec_test.cpp`:12 个中文字符在 24 个 GB2312 字节内 round-trip、13 个字符被拒绝、真实中文名称和 32 字节商店招牌边界。
- `tests/port/net_classic_session_test.cpp`:角色创建/改名包验证实际写入 GB2312 字节、NUL 结尾和 24 字节边界。
- `extension/src/net/classic/sequence_table.h`:32768 项静态表和编译期长度断言;`audit_sequence_table.py` 已逐字节比对 40250 数组,SHA-256 为 `3f6f31964896e712f1f54cb813c7b488b656f700f6ca948ece3313419f876279`。
## Deep audit round 2026-09-20