v0.2.0
基于 v0.1.0 的质量闭环 + 工具链治理(协议语义零改动,PHPDoc 除外)。
质量指标(本地实测:PHPUnit 12.5 / xdebug 3.5.3 path-coverage / behat 3.32)
- 行覆盖 467/467 = 100%,分支覆盖 395/395 = 100%
- PHPUnit 187 tests / 523 assertions 全绿
- 变异测试 MSI 90.69%(15 类算子、494 变异体;46 存活全部归档等价证明,见
docs/mutation-report.mdE1–E18) - Behat Gherkin 4 feature / 18 场景 / 65 步全绿(入向场景消费 interop 冻结样本,D5 纪律)
新增
- 场景矩阵:UC1–UC11 商户使用场景 × spec F1–F9/D1–D5(
docs/wop-sdk-scenario-matrix.md) - 变异框架
.ci/mutation-run.php+ 等价锚点漂移检测(scripts/check-equivalent-anchors.py) - 可移植性门禁
.ci/portability-gate.sh、PHPDoc 门禁scripts/docstring_gate.py(本地+CI 同脚本) - Behat 场景套件(
features/,behat 3.32) - src PHPDoc 全量补齐(71 对外 + 26 内部)
修复
- README Coverage badge 括号闭合
- TransportTest server 就绪竞争(TCP 探测+端口重试)/ 11MB 组内存 / router 临时文件治理
- Codeup 适配器:标记评论 best-effort 读取、add 幂等、remove 投影屏蔽、pr_list marker-only 过滤
- 质量脚本去机器特定路径(cron/launchd PATH 动态探测注入)
治理
- .factory 调度/反馈/守卫/变异执行重构(可诊断性、Python 跨版本兼容)
- Sourcery gate 全量清零(豁免项见
.sourcery.yaml)
详见 docs/wop-sdk-report-quality-gate.md。