Skip to content

feat(cortex): 真实样本协议校验、wasm 双枚举修正和可配置编码器 - #14

Merged
07xh merged 19 commits into
mainfrom
feat/cortex-wire-evidence-20261118
Nov 18, 2026
Merged

07xh merged 19 commits into
mainfrom
feat/cortex-wire-evidence-20261118

Conversation

@07xh

@07xh 07xh commented Nov 18, 2026

Copy link
Copy Markdown
Owner

本轮开发

  • 纠正 UI 模糊 -> wasm RESPONSE_UNCERTAIN / Cortex JSON RESPONSE_VAGUE 双模型混用;保留三态前台流程和流体云通知
  • Android 新增 CortexWireCodec,只按核验后的运行时字段号、枚举数值编码 protobuf uint64 OpLog,不再使用未证实的字段号默认值
  • Python tools/cortex_contract_from_trace.py 从三种反馈真实成对的运行时原始 OpLog + 实际 HTTP body 校验结构,输出脱敏清单;拒绝自测、缺失 checkpoint、字段不一致、重复反馈
  • 添加 Android 及 Python 测试,加入 CI,文档 docs/CORTEX_WIRE_EVIDENCE_PHASE2.md

不隐瞒的阻塞

用户此前 zip 中 mm_evidence_decoded.json 的 source 是 _selftest_dump.json,没有实际三态成对的网络样本。本 PR 没有启用 POST /api/v1/study/oplog,CortexUnconfiguredSender 仍保持禁写。此阶段做到「有真实样本即能严谨构造并预演 protobuf」,不冒充后台写回已验收。

07xh added 19 commits November 18, 2026 16:06
@07xh
07xh merged commit b786751 into main Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant