Skip to content

Close release P0 hardening gaps#7

Merged
kdnsna merged 14 commits into
mainfrom
codex/release-p0-hardening
Jul 23, 2026
Merged

Close release P0 hardening gaps#7
kdnsna merged 14 commits into
mainfrom
codex/release-p0-hardening

Conversation

@kdnsna

@kdnsna kdnsna commented Jul 22, 2026

Copy link
Copy Markdown
Owner

变更内容

  • 拒绝所有微信传输重定向,避免凭据或接收者信息被二次请求带出
  • 持久化通知抑制结果,避免重启后误重试
  • 在发送前固化唯一 canonical report,并让 Outbox、ledger 与重试共享同一 payload hash
  • 让 runtime manifest 成为 Observer 的显式执行输入
  • 固定 v0.1 的时区、语言、配额和长度契约
  • 强化 CI、coverage、治理检查与真实 fresh-clone 构建
  • 删除残留的 vendor/cli-in-wechat gitlink,并禁止今后引入任何 gitlink/submodule

原因

此前的 P0 审计发现传输重定向、通知恢复、报告一致性、运行时发现、配置漂移和发布门禁仍存在发布阻断项;同时仓库元数据仍跟踪了已声明移除的上游 vendor gitlink,导致 fresh-clone 与 OpenVEX 声明不一致。

安全边界

  • 微信仍是仅向绑定 owner 单向发送的传输层
  • 没有引入上游路由器、适配器注册表、代理初始化或远程控制入口
  • Codex 子进程边界未扩大

验证

  • npm run audit:runtime
  • npm run check:transport-boundary
  • npm run format:check
  • npm run check:governance
  • npm run typecheck
  • npm run build
  • npm run check:fresh-clone
  • npm run wechatpilot -- config validate
  • focused P0 tests: 102 passed
  • full coverage: statements 82.92%, branches 74.44%, functions 87.02%, lines 83.45%

尚未覆盖

七日稳定性观察属于时间型发布证据,不由本 PR 的代码测试替代。

@kdnsna
kdnsna marked this pull request as ready for review July 23, 2026 01:39
@kdnsna
kdnsna merged commit 3734495 into main Jul 23, 2026
2 checks passed
@kdnsna
kdnsna deleted the codex/release-p0-hardening branch July 23, 2026 01:39
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