v1.5.0|新鲜证据完成门与最小实验
v1.5.0|新鲜证据完成门与最小实验
发布范围
这是 production-delivery-orchestrator 的交付可信度小版本。它把已有的风险验证和候选根因流程收敛为两个可迁移、按需加载的明确规则:L1/L2/L3 新鲜证据完成门,以及“单一假设、最小实验、保留反证”的调试循环。v1.4.1 保留为直接回滚版本;不移动任何历史 tag。
主要更新
- 在
validation-contract.md明确 L1/L2/L3 的比例化完成门:低风险 L1 只需当前差异对应的定向新鲜证据;L2/L3 再按实际风险增加接缝、兼容、权限、数据、并发、恢复和审查证据; - 所有计入完成门的证据必须关联验收标准、操作/命令、结果、当前变更标识和失效条件;共享 Schema、测试、迁移或生产路径变化会使受影响旧证据失效;
- 在
discovery-contract.md补充单一假设与最小实验:每次诊断记录支持/反证、候选集合、支持观察、证伪观察和停止条件;不具区分性的结果保留竞争候选; - 新增三类离线案例和两项关键门禁。弱化验证或侦察契约后,
fresh-evidence-completion-gate或single-hypothesis-minimal-experiment必须失败。
验证
PYTHONUTF8=1 python -m unittest discover \
-s skills/production-delivery-orchestrator/tests -p "test_*.py" -v
PYTHONUTF8=1 python -m unittest discover \
-s evals/production-delivery-orchestrator/tests -p "test_*.py" -v
python evals/production-delivery-orchestrator/run_evals.py --self-test
python evals/production-delivery-orchestrator/run_evals.py --report-prefix latest
python release/build_release.py --output-dir dist
python release/build_release.py --output-dir dist --verify \
--expected-commit "$(git rev-parse 'v1.5.0^{}')"
git diff --check本地发布前证据:技能安装/扫描器测试 25 项、离线评测与 forward 安全测试 39 项、Release 构建器 5 项通过;candidate 100.0,critical failures 为空。离线评测和合成 harness 不调用真实模型,不是 Claude Code、Gemini 或 Codex CLI 行为证明。
安装与回滚
npx skills add https://github.com/lza6/Agent-skills-code-op/tree/v1.5.0 \
--skill production-delivery-orchestrator \
--global \
--agent codex claude-code回滚到 v1.4.1:
npx skills remove production-delivery-orchestrator --global --yes
npx skills add https://github.com/lza6/Agent-skills-code-op/tree/v1.4.1 \
--skill production-delivery-orchestrator \
--global \
--agent codex claude-code \
--yes发布核验(待 tag workflow 完成后回填)
- 将记录 annotated tag、双平台 CI、Release workflow、附件 checksum/provenance 离线复验、GitHub attestation 和 tagged
npx skills --list的实际结果; - 未获得这些远程证据前,不将本地构建或 checksum 描述为已发布、已证明或已签名。