Repository navigation
feat(package): 定稿插件信任根并收口构建期判定 - #127
Merged
Merged
Conversation
统一 PackageOps 生产/编译判定到构建清单,防止环境变量放宽安装面;信任根文档定稿但 HR1-c 内嵌公钥/kid/吊销仍未实现。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
7 tasks done
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.
背景与关系
变更内容
server/docs/plugin-signing-keys.md:明确插件等于完全信任、私钥持有、公钥分发、kid/白名单/轮换/吊销等信任根约束;HR1-c 仍未实现。server/build-manifest.json与BuildKind;PackageGate/PackageExecutor统一按构建清单判定,缺失、坏 JSON 或未知值均 fail-closed,环境变量不能放宽判定。signature_verified只有在真实验签成功时才为 true。tools/build-release.sh会在发布副本写入 compiled 并自检;本 PR 未运行 build-release,也未产出生产包。验证
vendor/bin/phpunit --testsuite unit:OK(745 tests, 6968 assertions)。vendor/bin/phpstan analyse --no-progress:OK。bash tools/pre-merge.sh --fast:全部门禁通过。git diff --check:exit 0。范围说明
composer.lock。已知 CI 状态
dependency-audit失败是本 PR 基线main已存在的依赖审计问题:main基线提交f1e7c5c8bca4229e00e696d828ead2ab80d49520在同一工作流已失败;失败原因是既有锁定twig/twig命中 2026-11-23/24/25 新公开 advisories。本 PR 未改server/composer.lock,也不合并既有修复单 fix(deps): upgrade http-kernel and twig for audit #125;该问题需要在 fix(deps): upgrade http-kernel and twig for audit #125 或后续依赖单处理。bash tools/pre-merge.sh --fast已完整通过;GitHub 上各 check 的实时状态以页面为准,不把远端“全部通过”写成既成事实。