Skip to content

v1.1.0|跨 CLI 行为证据矩阵与交付闭环加固

Choose a tag to compare

@lza6 lza6 released this 17 Jul 14:14
· 29 commits to main since this release

v1.1.0|跨 CLI 行为证据矩阵与交付闭环加固

发布范围

这是 production-delivery-orchestrator 的功能性小版本。技能名称、目录结构、安装器参数和既有 v1.0.1 安装路径保持兼容;默认安装地址升级到 v1.1.0v1.0.1 是直接回滚版本。

主要更新

  • 项目规则桥接明确:面对模糊修复请求先侦察仓库和用户旅程;本地验证失败时在当前授权范围内继续诊断、修复和复验,不把可解决的失败交回用户。
  • 新增 Codex CLI、Claude Code、Gemini CLI 的跨平台 forward-test profile 与矩阵 runner。Windows 使用 .cmd,Linux/macOS 使用无后缀命令,并以完整三段版本精确核对;预发布和构建后缀不会被当作已验证版本放行。
  • 新增“用户可见重试策略存在实质歧义”场景,检查智能体能给出带推荐的结果选项,而不是先要求用户指定技术细节。
  • 真实 Agent CLI 执行改为显式双确认:--execute --allow-unsafe-host-execution。runner 不把临时 fixture 伪装成 OS/容器沙箱,正式样本应在专用 VM、容器或测试账号中执行。
  • Agent 子进程改用临时 HOME/TMP 和最小环境,不继承宿主 API Key、云凭据或用户 HOME;需要凭据时只能通过 --agent-env-file 显式提供,报告会脱敏其值。
  • 完整技能会复制到临时 Git fixture 中并纳入基线;任何 Agent 对副本的改写都会让行为样本失败。报告同时检查执行前后技能 artifact hash、临时路径和常见凭据脱敏。
  • CI 验证新的脚本语法、profile、probe-only 端到端路径和安全回归,但不会在 GitHub Actions 消耗模型额度。

兼容性与边界

  • 没有数据迁移、公共 API 变更或技能目录重命名。
  • npx skills add、Python 安装器和项目桥接保持现有参数与行为;安装器只增加更清晰的侦察和失败续修路由说明。
  • 静态评测、synthetic self-test 和本机 CLI 探测都不等价于真实模型行为通过。当前未创建新的真实 Claude Code、Gemini CLI 或 Codex CLI 样本。
  • 历史 reports/forward-tests.json 绑定 v1.0.1 的技能 artifact;本版本会将该历史记录判为陈旧,而不是把它冒充为 v1.1.0 证据。

本地验证

在发布提交上实际执行:

python -c "from pathlib import Path; assert (Path('skills/production-delivery-orchestrator') / 'SKILL.md').is_file()"
python -m unittest discover -s skills\production-delivery-orchestrator\tests -p "test_*.py" -v
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_forward_tests.py --self-test
git diff --check

结果:技能结构校验通过;安装器 11/11;eval/forward 35/35;离线 eval self-test 通过;forward synthetic self-test 通过;未调用真实模型。

发布核验

  • Annotated tag:v1.1.0866655588eb82fd0e1991d67d660a014181e319e
  • Tag CI:29586872151;Ubuntu / Windows、Python 3.11 均为 success
  • GitHub Release:v1.1.0,非 Draft、非 Prerelease;Release 是否 immutable 由 GitHub 仓库设置决定,本版本不将其描述为数字签名。
  • production-delivery-orchestrator-v1.1.0.zip SHA-256:9e4fd5bdf49bf1e43a2bdcbfd436090e8fd1fc710ebcff007ed72ab39b7b9628
  • Canonical skill artifact SHA-256:fea2b78cdf112d1dc32cc37b4400cca99e63af0d6ebf4dab6853a47e28847ff7;包含 12 个普通文件。
  • 已从 Release 下载 ZIP、provenance.jsonSHA256SUMS.txt 后复算校验和;npx.cmd skills add .../tree/v1.1.0 --list 可发现该技能。

安装与回滚

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

回滚到 v1.0.1

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

Release 页面会附带版本化 ZIP、provenance.jsonSHA256SUMS.txt。这些文件提供完整性核验和构建来源,不构成数字签名。