Skip to content

Superflow v0.5.18

Choose a tag to compare

@github-actions github-actions released this 09 Oct 06:55
· 20 commits to main since this release

Superflow 0.5.18:数据库测试分层与旧Git入口修复

升级内容:0.5.17 → 0.5.18

升级摘要

让数据库改动的验收按层级、生产SQL与真实引擎落实,并把旧项目Git提交接到当前校验链。

主要更新

  • 保留Mock单测的逻辑隔离价值;分别冻结SQL生成/绑定、真实DB集成、HTTP入口,必要MySQL不能由Mock/H2/SQLite替代。
  • 既有coverage/receipt扩展引擎版本、schema、生产statement、mock边界与行快照;严格区分JSON布尔和数字,历史证据绑定其已验证源码版本。
  • 已知旧SDD脚本备份后仅委托当前规范门禁;未知/自定义/符号链接保留,skip-existing保持。doctor核对当前包内容、执行位、实际Git Hook与core.hooksPath。
  • 根报告假PASS不再降为warning;tracked receipt/raw/build/source/schema依赖对账实际Git index,暂存删除不能冒充私有新证据。私有未跟踪日志不强制入Git。

验证结果

  • 103个测试文件,746项通过;Lint、构建、设计门禁及strict Skill审计16/16、0英文缺口通过。
  • 原创匿名MyBatis/MySQL8.0.36:Mock绿但漏字段XML更新1行后仍NULL,原始断言失败;正式Git两宿主均拒绝伪PASS,完整SQL写入证据允许提交。
  • 定向与整分支独立复审发现并关闭快照、JSON类型、index依赖、暂存删除、悬空文件/注册、标准路由识别问题。
  • 包内资产检查及安装回放覆盖双宿主、中英文、重复更新、自定义保留及旧入口实际执行。

升级方式

npm install -g @chenmk/superflow@0.5.18 --registry https://registry.npmjs.org
superflow update --scope global --agent both
superflow doctor <项目目录>

升级后重启宿主。未知自定义入口保留并交owner核验;若项目实际引用未知旧脚本,doctor会诊断,不能只以同名/日期声称已自动接入。SQL/测试充分性仍由独立Agent语义审查,结构/hash不是防伪或业务正确性保证。

Upgrade Summary

Changes since 0.5.17: layered database evidence and current Git gate integration in 0.5.18.

Highlights

  • Keep Mock logic tests; freeze SQL binding, same-engine database and HTTP obligations separately. Required MySQL proof cannot use substitute Mock/H2/SQLite.
  • Extend existing coverage/receipts with engine/schema/statement/mock boundaries and keyed row observations. Historical evidence retains its verified source/build scope.
  • Back up known legacy scripts and delegate to canonical gates. Preserve unknown/custom/symlink entries; diagnose effective Git routing, execution and package-content drift.
  • Reject root false PASS and index/dependency mismatch, including staged deletion. Private untracked evidence remains local.

Validation

  • 746 tests in 103 files, lint/build/design gates and 16/16 strict Skill contracts passed.
  • Actual anonymous MyBatis/MySQL and Git positive/negative replay covered both hosts; independent findings were fixed and re-reviewed.
  • Package closure and repeated bilingual host installation preserve custom entries.

Upgrade

Install @chenmk/superflow@0.5.18 from the official registry, run superflow update for installed hosts and doctor for projects, then restart the host. Unknown entries require owner review. CLI facts and hashes do not replace semantic review.