Skip to content

fix(mcp): close deep-audit remediation gates - #22

Closed
acosmi-fushihua wants to merge 7 commits into
mainfrom
codex/mcp-deep-audit-remediation-20260823
Closed

acosmi-fushihua wants to merge 7 commits into
mainfrom
codex/mcp-deep-audit-remediation-20260823

Conversation

@acosmi-fushihua

@acosmi-fushihua acosmi-fushihua commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

结论

仓内 MCP 深审整改、本机全矩阵与 P1-REL-02 不可绕过控制均已通过;PR 已转 Ready,等待仓库管理员按 AGENTS.md 强制策略合并。

核心整改

  • 全仓 executable MCP 仅保留 html-video 本地 stdio;root/nested/manifest/marketplace/MCPB/DXT/external source/symlink 均 fail-close。
  • 42 个 paused 插件及全部 MCP authoring guidance 改为 historical/proposal-only,统一要求升级插件并重启 CrabCode。
  • 47 个 changed plugin 严格 nextPatch,marketplace metadata 0.4.4;生产 validator 从 baseline Git tree 自动推导 changed set。
  • 发布合同按 Marketplace 版本分代:0.4.4 历史整改证据不可被未来改动扩写;后续 release 必须新增独立 contract,绑定上一 commit/tree、global/plugin nextPatch,并显式覆盖 add/update/remove。
  • 4 个 workflow 均为 canonical workflow_dispatch;safe publisher 绑定 exact manual CI/main SHA、signed 18-cell local evidence、deterministic ZIP 与 runtime-first pointer。
  • 旧 publisher workflow ID 336369746 保持 disabled/fail-only tombstone,新 safe publisher 使用独立路径/身份。

验证

  • exact branch head: 52a86cdf554243d987cdf1a14b5c4cfca66ac0d9,tree: 989cb301cf264d134a600496f77c0b2da9689df6。
  • root: 314 pass / 8 intentional skip / 0 fail / 6462 expect;typecheck/build/brand/validate/actionlint/diff-check 通过。
  • version release contract: 20 pass / 0 fail / 39 expect;覆盖 successor contract 缺失、add/remove、baseline ancestry 与合同链。
  • html-video: 46 pass;media-ops macOS/Linux: 111 pass、QA 8/8;media-publisher macOS/Linux: 25 unit + 39 browser。
  • crabcopyright 与 security 的 macOS/Linux × Python 3.9/3.13 全矩阵通过;CrabCode host plugin/MCP suites 57 pass。

P1-REL-02 已关闭

删除前已导出三条历史 run 文本日志并记录 size/SHA-256。经用户明确授权,runs 32579374255、32579303978、32050757636 已永久删除;old workflow runs API 返回 total_count=0/workflow_runs=[],三个 endpoint 均为 404。publisher/auditor 仍会运行时复核零记录。

自动 CI 未触发;mirror 尚未发布;remote profile 保持 0。合并后按固定顺序执行 exact-main 18-cell 本机签名证据 → API manual CI → safe publisher → mirror audit → 公网逐字节复核。Draft PR #23 必须在本 PR 完成上述安全发布后再 rebase/复验。

@acosmi-fushihua
acosmi-fushihua marked this pull request as ready for review August 23, 2026 15:27
@acosmi-fushihua

Copy link
Copy Markdown
Contributor Author

管理员合并交接(exact head):

  • head: ef627a3b538492b571eb8286f3ce7cfafac9f2a1
  • base: c1c5dd9cd3494af783ce98f49a58e9ba361638aa
  • GitHub: MERGEABLE;BLOCKED 仅剩管理员更新规则
  • 自动 Actions:0
  • 旧 publisher workflow 已 disabled_manually,三条历史 run 已永久删除并逐一验证 404;旧 workflow run 列表为 0
  • 本机最终门:312 pass / 8 intentional skip / 0 fail;validate、typecheck、actionlint 通过;专项插件/宿主矩阵全部通过
  • remote profile:0(有意 fail-closed)

请管理员先合并本 PR,再处理 Draft PR #23。合并后必须在 exact-main 重跑本机矩阵、通过 API 手动调度 CI、使用安全发布器发布镜像并执行公网逐字节审计;这些步骤不应在本 PR 合并前冒充完成。

@acosmi-fushihua

Copy link
Copy Markdown
Contributor Author

前一条管理员交接中的 ef627a3… 已由多窗口集成预演发现的版本合同生命周期修复取代,请勿合并旧 SHA。

新的唯一可合并 head:52a86cdf554243d987cdf1a14b5c4cfca66ac0d9(tree 989cb301cf264d134a600496f77c0b2da9689df6)。

新 HEAD 本机门:314 pass / 8 intentional skip / 0 fail / 6462 expect;version-contract 专项 20 pass / 39 expect;validate、typecheck、build、brand、actionlint、diff-check 通过。自动 Actions 仍为 0。

@acosmi-fushihua

Copy link
Copy Markdown
Contributor Author

关闭:本 PR 与 #25(三仓根因修复 D-0(c) / P-M1-a)在 plugins/crabcode-media-ops(版本号、QA 平台化)与 src/policy/* 上正面冲突,230 个文件 20 天未评审,主控裁决不盲合、由 #25 按方案 v2.1 重做对应范围;其余范围(mcp-server-dev / plugin-dev / lsp 等)如仍需要,请基于合并后的 main 拆成可评审的小 PR 重开。

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