Skip to content

输出命名规范复刻(M10) #87

Closed

Description

@FeatherHunter

任务

复刻旧版输出目录与命名规范:calorie_html/<中文command>_<YYYYMMDD>_<HHMMSS>[_N].html,跟随 SKILLS_DB_PATH,同秒冲突自动加后缀。

验收

  • 新架构产物路径与命名逐条对齐(含冲突后缀与 --output 覆盖)。

进度:100%

已验收,关闭。结论:旧版输出目录与命名规范逐条复刻——默认落盘 <SKILLS_DB_PATH>/calorie_html/<中文command>_<YYYYMMDD>_<HHMMSS>[_N].html(同秒冲突 N=同秒同名数+1,首个 _2);<中文command> 真值取注册表 title(77/77 与 combos.yaml 同值);--output 显式覆盖(--html 为 legacy 别名),落点经 envelope data.output 回传;清洗规则逐字复刻(非法字符→_、trim、按码点截 32)。

交付:9afe0d1(实现+11 条单测)、b0c6df9/253c669/803981d(证据)、bb1f2d9(F1截断码点/F2大小写/F4失败码)/05d870e(记账+补丁+符号锚)/0de2a5f/5cdf771(复跑)。
证据:docs/research/t87-output-naming.md、t87-mutation-evidence.{md,mjs};门禁四门 exit 0;本票 14/14 绿;变异 8/8;全量失败集 delta 新增 0。
两路审查:A1 PASS 85 / A2 FAIL 67 → 返修后 F3 独立复核 PASS(自写探针 26 断言+变异 6 项)。
残留(已记账,不阻塞):动态内容段/suffix 段未复刻 → 另开 #119(阻塞 #100/#102/#103);data.output 无下游消费方;同秒计数非原子(旧版同)。

Activity

  1. self-assigned this
    on Sep 8, 2026
  2. FeatherHunter commented on Sep 9, 2026

    @FeatherHunter
    OwnerAuthor

    验收通过:M10 命名规范逐条复刻(默认落盘/同秒_N/title 真值/--output 覆盖/清洗),四门与 14 用例全绿,变异 8/8,F3 独立复核 PASS。残留动态段已另开 #119。关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

wayfinder:task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions