Repository navigation
v0.4.2
v0.4.2
新增
- 技能里写死的阈值现在由测试绑定。
SKILL.md说「标题最多 50 字符」、列 11 个 type、说 scope 可选,而这三项都能在面板里改——此前改完默认值,技能正文和守卫执行的规则就各说各话。现在测试读配置默认值并断言双语正文与之相符。 docs/DEVELOPMENT.md新增「会话状态与进度文件」:src/state.ts是内存状态、进程结束即忘,.dev-docs/PROGRESS.md是本机私有、不入库,两者不该混用。docs/CONFIGURATION.md说明三档策略加onFailure就是 major/minor 的落地方式。
修复
pnpm ci:checks全绿时不出声,一次全过的运行和一次某项压根没跑成的运行在输出上无法区分。现在每项都打印[ok] <名称>或失败行。docs/TOKEN-BUDGET.md的按需成本表写的是技能重写之前的文件大小。现在换成实测的正文长度,并写明它剥掉 frontmatter 之后计算,按文件字节数算会偏大。
升级
dsh plugin --profile <profile> add @melosic/dsh-dev-workflow@0.4.2本次没有任何运行期行为变更,配置字段与默认值不变。
已知问题
- 无
v0.4.2
Added
- The thresholds written into the skill are now bound by a test.
SKILL.mdsaid "at most 50 characters", listed 11 commit types, and said scope is optional — all three are configurable in the panel, so changing a default used to leave the shipped spec and the rule the guard actually enforces disagreeing. A test now reads the configured defaults and asserts both language versions match. docs/DEVELOPMENT.mdgained a section on session state versus progress files:src/state.tsis in memory and forgotten when the process exits, while.dev-docs/PROGRESS.mdis private to the machine and not committed.docs/CONFIGURATION.mdexplains how the three-tier policy plusonFailurecovers the major/minor distinction.
Fixed
pnpm ci:checkssaid nothing when everything passed, so a fully green run was indistinguishable from one where a check never executed. Every check now prints[ok] <name>or a failure line.- The on-demand cost table in
docs/TOKEN-BUDGET.mdquoted file sizes from before the skill rewrite. It now uses measured body lengths, and says they are measured after stripping the frontmatter — counting file bytes reads high.
Upgrade
dsh plugin --profile <profile> add @melosic/dsh-dev-workflow@0.4.2No runtime behaviour changed and no configuration field or default moved.
Known issues
- None
Full Changelog: v0.4.1...v0.4.2