Repository navigation
feat(mirror): 镜像 zip 瘦身排除清单 —— 三方同源,审计器同 SHA 读取 - #14
Merged
Merged
Conversation
40 个浏览器视觉回归 PNG 快照(6.76MB,客户端运行时零消费)不再进 CN 镜像 zip, 包体约 15.1MB → 约 8.3MB,对未修 30s 外墙的老版本客户端是立即生效的缓解。 - .crabcode-plugin/mirror-distribution.json: excludePrefixes 唯一真源 - notify-mirror.yml: 从被审 SHA 的 checkout 读同一份清单过滤期望集; 安全栅(前缀必须含 /tests/)与发布器同款,清单构造上裁不掉运行时内容 - 发布器半边落在 acosmi/crabcode-source sync-plugins-to-mirror.yml(先行合入, 清单不存在 = 不裁剪,故本 PR 与 sync 的任意先后顺序都安全) 为什么是清单而不是两份排除表:上一轮三缺陷全是「审计器加严、发布器没跟」的 契约单边升级同形三连;排除表写两份 = 给下一次单边升级留门。本地验证矩阵六箭头 全过,含负向对照(旧审计器 × 裁剪包必须红,证明审计器改动承重)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…sed,不加守卫不改测试 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.crabcode-plugin/mirror-distribution.json,只写一份:发布器(acosmi/crabcode-sourcesync-plugins-to-mirror.yml)与本仓审计器都从同一个被审 SHA 的 checkout 读它推导文件集 —— 上一轮三个镜像缺陷全是「审计器加严、发布器没跟」的契约单边升级,清单同源让分叉在构造上不可能。/tests/,清单构造上裁不掉运行时内容。docs/audit/2026-08-16-镜像瘦身清单与摘要校验闭环-处置实况.md;附 Windows 本机 12 条安全套件红的根因定案(最大族 = 工具显式 POSIX-only fail-closed,不改测试)。跑 sync 之前,本 PR 与 crabcode-source #73 必须都已合并(两 PR 合并顺序任意):
与 PR #12 顺序无关。
schedule 已于 07-27 因额度移除、dispatch token 因公仓→私仓提权红线故意不配;不跑则镜像 latest 停在旧 SHA。sync 后可
gh workflow run notify-mirror.yml -R acosmi/CrabCode-Plugin立即复核。按本仓政策,合并由管理员执行;本 PR 仅交付分支。
🤖 Generated with Claude Code