You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ DSH_OPS_WORKER_BIN=$PWD/runtime/linux-x64/dsh-ops-worker node test/run.mjs settings
settings-rows.test.mjs: SyntaxError: ... row-schema.js does not provide an export named 'disclosureDiffers'
settings-ui.test.mjs: FAIL the disclosure card picks the tier...
AssertionError: the disclosure card renders (2 of 26 checks failed)
$ node test/run.mjs ptc-disclosure-policy
FAIL input class 2 (legal value): on-demand and full parse and ride the settings path
false !== true ('disclosurePolicy' in Config.dict['ops-ptc'].dict)
Activity
Thatgfsj commentedon Nov 19, 2026
认领:989 / main@58f6e28 / 分支 card/d5-settings-entry(基于 card/d4-integration-diagnostics @ 27af626)
目标文件(优先范围):src/client/row-schema.ts、src/client/locales.ts、test/settings-rows.test.mjs
扩大写域(原因):
第一个失败样例(改前):
settings 过滤共 4/6 套件红,均为设置项缺失所致;settings-client / settings-runtime 保持绿。
Thatgfsj commentedon Nov 19, 2026
D5 完成,PR #1022(card/d5-settings-entry @ e916d4e,基于 card/d4-integration-diagnostics @ 27af626)。
设置页新增「PTC 披露档位」卡片:一次选择统一 ptc 与 ops-ptc 两行,随页面同一次版本校验的保存写入;旧档案默认按需且不被写入,选回按需把两行还原为键缺失(与从未见过卡片的档案逐字一致),两行不一致点名 mixed 由下一次选择统一,取消编辑零写入;动态工具总开关关闭期间点名暂停并保留已存选择。
断点定位记录(先红后绿):
验证(全绿):npm run build ✅;settings 全套 69 项(client 3 / host 11 / runtime 14 / rows 15 / ui 26,e2e 无 worker 时按规则跳过);ptc-disclosure-policy 8 项;DSH_OPS_WORKER_BIN=runtime/linux-x64/dsh-ops-worker 下 settings-disclosure e2e 3 项;npm run check:size ✅(826 文件均 ≤1000 行)。无新增依赖,lib//runtime/ 未动,发布语义/教学正文/诊断未改。
Thatgfsj commentedon Nov 20, 2026
已由 #1033 合入 main 交付(18 张卡并集,见 PR 描述与 docs/CHANGELOG.md 的 Unreleased 条目)。
feat(settings): let the user pick the PTC disclosure tier