Skip to content

feat(statechart): sync upstream to 076f4b2f and make --cover explicit - #43

Merged
jiangkoumo merged 1 commit into
mainfrom
fix/40-statechart-sync
Oct 26, 2026
Merged

jiangkoumo merged 1 commit into
mainfrom
fix/40-statechart-sync

Conversation

@jiangkoumo

Copy link
Copy Markdown
Owner

完成

  • 仅把 upstream/pstack/skills/statechart/** 同步到 cursor/plugins@076f4b2f57844ff9eb4ada914d4763884d40146e;其余技能保持 eb4db2b5。
  • skills/statechart/scripts/** 与上游逐字节一致;27 个 Git blob 全部匹配。
  • --cover 改为显式开关,打印裁掉的状态/迁移数;CoverGap 默认 4/4 含 s3 --> s0,--cover 为 3/4 并报告 waiting --> done。
  • 删除 OutputFolder 模型和相关当前文档引用;旧验收页标为历史记录。
  • Pi 运行入口 adapters/pi/statechart/entry.mjs:不自动安装 mise/TLC/Java;PNG 不可用时保留 .mmd。Pele/resvg 按上游方式放在用户缓存,不进 npm 包。
  • 新增真实 PNG smoke 和 Node 22/24 × Ubuntu/macOS 工作流(未 dispatch)。

验证

  • npm test:退出码 0,38/38 检查通过(71.0 秒)。
  • npm run check:generate:退出码 0,146 项资源,0 unmanaged。
  • npm run check:fidelity:退出码 0,overall 94.04%,0 errors。
  • npm run check:statechart:png:macOS / Node 22.22.2 / TLC 1.8.0 退出码 0,PNG 70887 字节 666×1182。
  • 旧 raw CLI 修前复现:0 pass / 2 fail。

未完成

  • Node 24 和 Linux 的真实 PNG 未在本机运行;新增 CI 矩阵尚未 dispatch,不能算已验证。
  • 详情和限制见 docs/validation-statechart-sync.md。

Closes #40, #41, #42.

Update only pstack/skills/statechart to cursor/plugins@076f4b2f,
including the explicit --cover switch, upstream TLC 1.8.0 fixes, the
Pele/resvg renderer, and removal of the OutputFolder model. Scripts and
tests remain byte-identical; Pi host behavior lives in adapters/pi.

Add the CoverGap regression for explicit cover only, a real PNG smoke
check, and a Node 22/24 x Linux/macOS compatibility workflow.

Fixes #40
Fixes #41
Fixes #42
Copilot AI balanced review requested due to automatic review settings October 26, 2026 05:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@jiangkoumo
jiangkoumo merged commit 918427f into main Oct 26, 2026
9 checks passed
@jiangkoumo
jiangkoumo deleted the fix/40-statechart-sync branch October 26, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

from-spec 在导出 readerActions 时自动加 --cover,没有关闭方式

2 participants