Skip to content

v1.4.0|自适应侦察、审查与测试证据

Choose a tag to compare

@github-actions github-actions released this 17 Jul 16:16
· 16 commits to main since this release

v1.4.0|自适应侦察、审查与测试证据

发布范围

这是 production-delivery-orchestrator 的能力增量版本:把可迁移但不能硬套的代码库扫描、两阶段规格/质量审查、核心逻辑测试先行与歧义路由做成按需契约。v1.3.0 保留为直接回滚版本;不移动任何历史 tag。

主要更新

  • 新增 references/adaptive-delivery-contract.md:将代码库盘点、审查强度、测试证据和歧义处理收敛到一份按需契约;
  • 新增可选 scripts/repository_inventory.py:只扫描受限数量的文件名,输出相对路径、语言/构建信号、入口/测试候选;不读取源码、不执行项目、不可作为硬依赖或完成门;
  • Deep 与高风险 Standard 在实现前执行规格审查、验证后执行质量审查;Quick 和普通 Standard 不生成空 Spec;
  • 对核心业务逻辑优先测试先行;遗留、集成、迁移和文档任务允许 fixture、对账、受控运行或静态检查等可追溯的等价复现证据;
  • 用可见结果、兼容/数据、外部影响、范围/证据四类定性风险维度路由歧义,不使用固定公式、伪精确分数或阈值;
  • 新增离线门禁和四类案例;弱化自适应契约后 adaptive-rigor-routing 会失败,防止规则只停留在入口关键词。

验证

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.4.0^{}')"
git diff --check

本地发布前证据:技能安装/扫描器测试 23 项、离线评测与 forward 安全测试 37 项、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.4.0 \
  --skill production-delivery-orchestrator \
  --global \
  --agent codex claude-code

回滚到 v1.3.0

npx skills remove production-delivery-orchestrator --global --yes
npx skills add https://github.com/lza6/Agent-skills-code-op/tree/v1.3.0 \
  --skill production-delivery-orchestrator \
  --global \
  --agent codex claude-code \
  --yes

发布核验(待 tag workflow 完成后回填)

  • 将记录 annotated tag、双平台 CI、Release workflow、附件 SHA-256、离线制品复验、gh attestation verify 与 tagged npx skills --list 的实际结果;
  • 未获得这些远程证据前,不将本地构建或 checksum 描述为已发布、已证明或已签名。