openfeel 1.5.24 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +7 -0
- package/README.zh-CN.md +7 -0
- package/dist/commands/flow.d.ts.map +1 -1
- package/dist/commands/flow.js +117 -23
- package/dist/commands/flow.js.map +1 -1
- package/dist/commands/lint.d.ts +3 -1
- package/dist/commands/lint.d.ts.map +1 -1
- package/dist/commands/lint.js +96 -0
- package/dist/commands/lint.js.map +1 -1
- package/dist/commands/req.d.ts.map +1 -1
- package/dist/commands/req.js +392 -17
- package/dist/commands/req.js.map +1 -1
- package/dist/commands/stage.d.ts.map +1 -1
- package/dist/commands/stage.js +19 -0
- package/dist/commands/stage.js.map +1 -1
- package/dist/core/dev-status.d.ts +25 -0
- package/dist/core/dev-status.d.ts.map +1 -1
- package/dist/core/dev-status.js +35 -0
- package/dist/core/dev-status.js.map +1 -1
- package/dist/core/errors.d.ts +13 -3
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +9 -3
- package/dist/core/errors.js.map +1 -1
- package/dist/core/flow-manager.d.ts +109 -3
- package/dist/core/flow-manager.d.ts.map +1 -1
- package/dist/core/flow-manager.js +326 -14
- package/dist/core/flow-manager.js.map +1 -1
- package/dist/core/i18n-data/en.d.ts.map +1 -1
- package/dist/core/i18n-data/en.js +56 -2
- package/dist/core/i18n-data/en.js.map +1 -1
- package/dist/core/i18n-data/zh-CN.d.ts.map +1 -1
- package/dist/core/i18n-data/zh-CN.js +56 -2
- package/dist/core/i18n-data/zh-CN.js.map +1 -1
- package/dist/core/lint-req.d.ts +17 -1
- package/dist/core/lint-req.d.ts.map +1 -1
- package/dist/core/lint-req.js +14 -2
- package/dist/core/lint-req.js.map +1 -1
- package/dist/core/plan/body-lint.d.ts +58 -0
- package/dist/core/plan/body-lint.d.ts.map +1 -0
- package/dist/core/plan/body-lint.js +197 -0
- package/dist/core/plan/body-lint.js.map +1 -0
- package/dist/core/plan/filled.d.ts +143 -0
- package/dist/core/plan/filled.d.ts.map +1 -0
- package/dist/core/plan/filled.js +244 -0
- package/dist/core/plan/filled.js.map +1 -0
- package/dist/core/plan/path.d.ts +24 -0
- package/dist/core/plan/path.d.ts.map +1 -1
- package/dist/core/plan/path.js +56 -0
- package/dist/core/plan/path.js.map +1 -1
- package/dist/core/req/aggregate.d.ts.map +1 -1
- package/dist/core/req/aggregate.js +5 -0
- package/dist/core/req/aggregate.js.map +1 -1
- package/dist/core/req/body-file.d.ts +66 -0
- package/dist/core/req/body-file.d.ts.map +1 -1
- package/dist/core/req/body-file.js +184 -2
- package/dist/core/req/body-file.js.map +1 -1
- package/dist/core/req/requirement-ops.d.ts +128 -14
- package/dist/core/req/requirement-ops.d.ts.map +1 -1
- package/dist/core/req/requirement-ops.js +341 -16
- package/dist/core/req/requirement-ops.js.map +1 -1
- package/dist/core/req/types.d.ts +55 -0
- package/dist/core/req/types.d.ts.map +1 -1
- package/dist/core/template-loader.d.ts.map +1 -1
- package/dist/core/template-loader.js +75 -0
- package/dist/core/template-loader.js.map +1 -1
- package/dsh/ACTION-GUIDE.md +41 -8
- package/dsh/ADAPTER.md +58 -13
- package/dsh/README.md +45 -24
- package/dsh/docs/compat/persistence.md +13 -0
- package/dsh/docs/compat/pipeline.md +12 -0
- package/dsh/docs/compat/req.md +14 -0
- package/dsh/docs/compat/stage.md +13 -0
- package/dsh/lib/adapters/dashboard.js +10 -0
- package/dsh/lib/adapters/dispatch-ledger.js +293 -0
- package/dsh/lib/adapters/dispatch.js +54 -6
- package/dsh/lib/adapters/next-action.js +336 -0
- package/dsh/lib/guard.js +9 -2
- package/dsh/lib/index.js +37 -0
- package/dsh/lib/surface/prompt.js +62 -173
- package/dsh/lib/tools/index.js +435 -9
- package/dsh/package.json +2 -2
- package/package.json +1 -1
|
@@ -428,6 +428,16 @@ export const flow = {
|
|
|
428
428
|
'dev.cleanLegacyConfirmTmpl': { key: 'flow.dev.cleanLegacyConfirmTmpl', zh: '将删除以下历史遗留文件(不可恢复,git 历史仍可追溯):{files}\n确认请加 --yes 重跑;只想看清单用 --dry-run。', en: '' },
|
|
429
429
|
'dev.cleanIncludeRequiresLegacyTmpl': { key: 'flow.dev.cleanIncludeRequiresLegacyTmpl', zh: '`--include-archive` 必须与 `--legacy` 同时使用。', en: '' },
|
|
430
430
|
'preflightRequiredTmpl': { key: 'flow.preflightRequiredTmpl', zh: '请先运行 `openfeel flow next`(或 `flow status`)读取状态,再执行写操作(preflight 缺失或已过期)。', en: '' },
|
|
431
|
+
// flow 执行前有计划(v1.6.0 / REQ-056 T5):进入 exec_running 的阶段计划门
|
|
432
|
+
'manager.stagePlanMissingTmpl': { key: 'flow.manager.stagePlanMissingTmpl', zh: '无法进入执行阶段 {stage}:阶段计划 plan.md 缺失;先补写计划文件,或加 --force(留痕放行)', en: '' },
|
|
433
|
+
'manager.stagePlanUnfilledTmpl': { key: 'flow.manager.stagePlanUnfilledTmpl', zh: '无法进入执行阶段 {stage}:阶段计划 plan.md 未写实(占位行或信息量不足);补写实质内容,或加 --force(留痕放行)', en: '' },
|
|
434
|
+
'manager.requirementsMissingPlanTmpl': { key: 'flow.manager.requirementsMissingPlanTmpl', zh: '无法进入执行阶段 {stage}:以下在办需求缺少计划文件({items});逐条补写 .openfeel/plan/reqs/<REQ>.plan.md', en: '' },
|
|
435
|
+
'manager.requirementsUnfilledPlanTmpl': { key: 'flow.manager.requirementsUnfilledPlanTmpl', zh: '无法进入执行阶段 {stage}:以下在办需求的计划未写实({items});补齐「目标 / 任务拆解 / 验收判据」三节', en: '' },
|
|
436
|
+
'manager.stagePlanGateHint': { key: 'flow.manager.stagePlanGateHint', zh: '出路:① 补写计划文件(推荐);② 加 --force 留痕放行(flow.json.log 记录 gate_overrides / gate_missing)', en: '' },
|
|
437
|
+
// flow 账本陈旧(v1.6.0 / REQ-059 T8):done 前开发账本仍处于到期状态(同步失败 / 不可写)
|
|
438
|
+
'manager.devSyncStaleTmpl': { key: 'flow.manager.devSyncStaleTmpl', zh: '无法推进到 done:阶段 {stage} 的开发账本仍未同步(due=true){reason};先修复 .openfeel/dev 可写性后重试,或加 --force(留痕放行)', en: '' },
|
|
439
|
+
'manager.devSyncStaleHint': { key: 'flow.manager.devSyncStaleHint', zh: '出路:① 修复 .openfeel/dev 可写后重试(推荐);② 加 --force 留痕放行(flow.json.log 记录 gate_overrides=[dev_sync])', en: '' },
|
|
440
|
+
'dev.syncFailedTmpl': { key: 'flow.dev.syncFailedTmpl', zh: '[openfeel] 开发账本同步失败:{err}(本次未阻断写操作;done 前硬门会再检)', en: '' },
|
|
431
441
|
};
|
|
432
442
|
/* ==================== init 域:初始化命令 ==================== */
|
|
433
443
|
export const init = {
|
|
@@ -781,6 +791,7 @@ export const help = {
|
|
|
781
791
|
'flow.stage.reset.argstageId': { key: 'help.flow.stage.reset.argstageId', zh: '阶段 ID(如 stage-01 或 v1.0.0-stage-01)', en: '' },
|
|
782
792
|
'flow.stage.reset.to': { key: 'help.flow.stage.reset.to', zh: '目标 phase(如 review_pending / test_pending / done);合法值见 openfeel flow phases', en: '' },
|
|
783
793
|
'flow.stage.reset.dryRun': { key: 'help.flow.stage.reset.dryRun', zh: '仅预览,不写盘', en: '' },
|
|
794
|
+
'flow.stage.reset.force': { key: 'help.flow.stage.reset.force', zh: '越过进入 exec_running 的计划门(放行并在 flow.json.log 记录 gate_overrides/gate_missing)', en: '' },
|
|
784
795
|
'flow.advance': { key: 'help.flow.advance', zh: '推进流水线阶段', en: '' },
|
|
785
796
|
'flow.advance.op': { key: 'help.flow.advance.op', zh: '操作 ID(如 stage-01.op-001),仅用于日志/展示', en: '' },
|
|
786
797
|
'flow.advance.to': { key: 'help.flow.advance.to', zh: '目标阶段(如 exec_running)。合法 phase 与转移表:openfeel flow phases', en: '' },
|
|
@@ -975,13 +986,15 @@ export const help = {
|
|
|
975
986
|
'instructions.json': { key: 'help.instructions.json', zh: '输出 JSON 格式而非 XML', en: '' },
|
|
976
987
|
'instructions.schema': { key: 'help.instructions.schema', zh: 'Schema 名称(默认 spec-driven)', en: '' },
|
|
977
988
|
// lint
|
|
978
|
-
'lint': { key: 'help.lint', zh: '项目健康检查(i18n 键一致性、kb
|
|
989
|
+
'lint': { key: 'help.lint', zh: '项目健康检查(i18n 键一致性、kb 引用有效性、需求正文命令名、空壳清单)', en: '' },
|
|
979
990
|
'lint.i18n': { key: 'help.lint.i18n', zh: '校验 i18n 键一致性(空值/中英独有键)', en: '' },
|
|
980
991
|
'lint.i18n.json': { key: 'help.lint.i18n.json', zh: '以 JSON 输出 { schemaVersion, target, ok, issues: [{ path, message }] }', en: '' },
|
|
981
992
|
'lint.kb': { key: 'help.lint.kb', zh: '检测 .openfeel/kb/ 中的过期文件引用', en: '' },
|
|
982
993
|
'lint.kb.json': { key: 'help.lint.kb.json', zh: '以 JSON 输出 { schemaVersion, target, ok, issues: [{ path, message }] }', en: '' },
|
|
983
994
|
'lint.req': { key: 'help.lint.req', zh: '校验需求正文中的命令名(沿真实命令树解析)', en: '' },
|
|
984
|
-
'lint.req.json': { key: 'help.lint.req.json', zh: '以 JSON 输出 { schemaVersion, target, ok, issues, suspects, unknownCount, suspectCount }', en: '' },
|
|
995
|
+
'lint.req.json': { key: 'help.lint.req.json', zh: '以 JSON 输出 { schemaVersion, target, ok, issues, suspects, unknownCount, suspectCount, fill }', en: '' },
|
|
996
|
+
'lint.fill': { key: 'help.lint.fill', zh: '列出空壳需求正文 / 缺需求级计划 / 空阶段文档(advisory,不改退出码)', en: '' },
|
|
997
|
+
'lint.fill.json': { key: 'help.lint.fill.json', zh: '以 JSON 输出 { schemaVersion, target, ok, checked, empty, missingPlan, stageDocs }', en: '' },
|
|
985
998
|
// migrate(legacy 布局迁移)
|
|
986
999
|
'migrate': { key: 'help.migrate', zh: 'Legacy 布局迁移(检测/备份/迁移/回滚存量项目旧布局)', en: '' },
|
|
987
1000
|
'migrate.dryRun': { key: 'help.migrate.dryRun', zh: '仅检测预览,不写盘', en: '' },
|
|
@@ -1024,6 +1037,7 @@ export const help = {
|
|
|
1024
1037
|
'req.add.workflowMode': { key: 'help.req.add.workflowMode', zh: '工作流模式(full / fast / general;缺省不设置)', en: '' },
|
|
1025
1038
|
'req.add.claim': { key: 'help.req.add.claim', zh: '创建后立即认领(v1.5.23)', en: '' },
|
|
1026
1039
|
'req.add.stage': { key: 'help.req.add.stage', zh: '创建后立即关联到该阶段(v1.5.23)', en: '' },
|
|
1040
|
+
'req.add.start': { key: 'help.req.add.start', zh: '创建后直接进入 in_progress(自动 scheduled → in_progress;v1.5.25)', en: '' },
|
|
1027
1041
|
'req.waive': { key: 'help.req.waive', zh: '显式豁免:移出阶段 done 门并记录原因(与 cancelled 区分)', en: '' },
|
|
1028
1042
|
'req.waive.argid': { key: 'help.req.waive.argid', zh: '需求 ID', en: '' },
|
|
1029
1043
|
'req.waive.reason': { key: 'help.req.waive.reason', zh: '放弃原因(豁免时必需)', en: '' },
|
|
@@ -1043,6 +1057,7 @@ export const help = {
|
|
|
1043
1057
|
'req.complete.evidence': { key: 'help.req.complete.evidence', zh: '证据(测试命令 / 报告路径 / 摘要)', en: '' },
|
|
1044
1058
|
'req.complete.independent': { key: 'help.req.complete.independent', zh: '独立审查(推荐)', en: '' },
|
|
1045
1059
|
'req.complete.self': { key: 'help.req.complete.self', zh: '自我审查(非独立;归档摘要标注 self-review)', en: '' },
|
|
1060
|
+
'req.complete.force': { key: 'help.req.complete.force', zh: '门留痕放行(正文/计划门写 waiver + 审计;文件仍须补写)', en: '' },
|
|
1046
1061
|
'req.list': { key: 'help.req.list', zh: '列出需求(可按状态/版本/认领人过滤;--include-archived 合并已归档需求)', en: '' },
|
|
1047
1062
|
'req.list.status': { key: 'help.req.list.status', zh: '按状态过滤(draft/scheduled/in_progress/done/blocked/cancelled/rejected)', en: '' },
|
|
1048
1063
|
'req.list.targetVersion': { key: 'help.req.list.targetVersion', zh: '按预估版本过滤', en: '' },
|
|
@@ -1055,6 +1070,7 @@ export const help = {
|
|
|
1055
1070
|
'req.claim': { key: 'help.req.claim', zh: '认领需求(占用校验;已被他人认领则拒绝)', en: '' },
|
|
1056
1071
|
'req.claim.argid': { key: 'help.req.claim.argid', zh: '需求 ID(如 REQ-001)', en: '' },
|
|
1057
1072
|
'req.claim.owner': { key: 'help.req.claim.owner', zh: '认领人(缺省:.openfeel/.info.json user → git config user.name)', en: '' },
|
|
1073
|
+
'req.claim.force': { key: 'help.req.claim.force', zh: '兼容保留:认领不校验正文(正文门只在 →scheduled / →in_progress / →done 流转时触发),本选项当前无实际作用', en: '' },
|
|
1058
1074
|
'req.release': { key: 'help.req.release', zh: '释放认领(未认领为 no-op 成功)', en: '' },
|
|
1059
1075
|
'req.release.argid': { key: 'help.req.release.argid', zh: '需求 ID(如 REQ-001)', en: '' },
|
|
1060
1076
|
'req.set': { key: 'help.req.set', zh: '更新需求字段(白名单;状态流转合法性由引擎判定)', en: '' },
|
|
@@ -1071,6 +1087,7 @@ export const help = {
|
|
|
1071
1087
|
'req.advance': { key: 'help.req.advance', zh: '显式推进需求状态(合法目标由引擎流转表判定;done:零关联可直接完成,关联阶段进入 exec_running 及之后相位即可完成)', en: '' },
|
|
1072
1088
|
'req.advance.argid': { key: 'help.req.advance.argid', zh: '需求 ID(如 REQ-001)', en: '' },
|
|
1073
1089
|
'req.advance.to': { key: 'help.req.advance.to', zh: '目标状态(合法目标由引擎判定)', en: '' },
|
|
1090
|
+
'req.advance.force': { key: 'help.req.advance.force', zh: '门留痕放行(正文/计划门写 waiver、计划偏差 +1;均留审计,文件仍须补写)', en: '' },
|
|
1074
1091
|
'req.board': { key: 'help.req.board', zh: '需求看板(按状态分组;7 组固定顺序)', en: '' },
|
|
1075
1092
|
'req.board.targetVersion': { key: 'help.req.board.targetVersion', zh: '按预估版本过滤', en: '' },
|
|
1076
1093
|
'req.board.json': { key: 'help.req.board.json', zh: '以 JSON 输出 { schemaVersion, groups }', en: '' },
|
|
@@ -1106,6 +1123,20 @@ export const help = {
|
|
|
1106
1123
|
'req.rollover.to': { key: 'help.req.rollover.to', zh: '目标版本(如 v1.6.0)', en: '' },
|
|
1107
1124
|
'req.rollover.id': { key: 'help.req.rollover.id', zh: '只顺延该需求(与 --all 互斥)', en: '' },
|
|
1108
1125
|
'req.rollover.all': { key: 'help.req.rollover.all', zh: '顺延该版本全部未完成需求(与 --id 互斥)', en: '' },
|
|
1126
|
+
// v1.6.0-stage-132 / T2:需求正文写实(req body)与 req add 正文小节
|
|
1127
|
+
'req.body': { key: 'help.req.body', zh: '写入需求正文的业务小节(元信息小节受保护;每次写入追加变更记录)', en: '' },
|
|
1128
|
+
'req.body.argid': { key: 'help.req.body.argid', zh: '需求 ID(如 REQ-001)', en: '' },
|
|
1129
|
+
'req.body.section': { key: 'help.req.body.section', zh: '小节名(如 摘要 / 目标与验收 / 问题 / 初步规划;元信息小节不可写)', en: '' },
|
|
1130
|
+
'req.body.text': { key: 'help.req.body.text', zh: '小节正文(Markdown;与 --file 二选一)', en: '' },
|
|
1131
|
+
'req.body.file': { key: 'help.req.body.file', zh: '从文件读取小节正文(与 --text 二选一;相对路径按项目根解析)', en: '' },
|
|
1132
|
+
'req.body.append': { key: 'help.req.body.append', zh: '追加到该小节末尾(缺省替换整节)', en: '' },
|
|
1133
|
+
'req.body.replace': { key: 'help.req.body.replace', zh: '替换整节(缺省;与 --append 互斥)', en: '' },
|
|
1134
|
+
'req.body.json': { key: 'help.req.body.json', zh: '以 JSON 输出 { schemaVersion, id, section, path, lines, created }', en: '' },
|
|
1135
|
+
'req.add.problem': { key: 'help.req.add.problem', zh: '正文 ## 问题 小节(v1.6.0:正文写实)', en: '' },
|
|
1136
|
+
'req.add.goal': { key: 'help.req.add.goal', zh: '正文 ## 目标与验收 → 目标 子节(v1.6.0:正文写实)', en: '' },
|
|
1137
|
+
'req.add.acceptance': { key: 'help.req.add.acceptance', zh: '正文 ## 目标与验收 → 验收 子节(v1.6.0:正文写实)', en: '' },
|
|
1138
|
+
'req.add.plan': { key: 'help.req.add.plan', zh: '正文 ## 初步规划 小节(v1.6.0:正文写实)', en: '' },
|
|
1139
|
+
'req.add.summary': { key: 'help.req.add.summary', zh: '正文 ## 摘要 小节(v1.6.0:正文写实;与 --goal/--acceptance 配合即可一步写实)', en: '' },
|
|
1109
1140
|
};
|
|
1110
1141
|
/* ==================== config 域:配置管理命令 ==================== */
|
|
1111
1142
|
export const config = {
|
|
@@ -1256,6 +1287,7 @@ export const req = {
|
|
|
1256
1287
|
'add.doneTmpl': { key: 'req.add.doneTmpl', zh: '已创建 {id}:{title}(状态 draft)', en: '' },
|
|
1257
1288
|
'add.claimedTmpl': { key: 'req.add.claimedTmpl', zh: '· 已认领:{owner}', en: '' },
|
|
1258
1289
|
'add.linkedTmpl': { key: 'req.add.linkedTmpl', zh: '· 已关联阶段:{stage}', en: '' },
|
|
1290
|
+
'add.startedTmpl': { key: 'req.add.startedTmpl', zh: '· 已开始:{id} → {status}', en: '' },
|
|
1259
1291
|
'add.claimFailedTmpl': { key: 'req.add.claimFailedTmpl', zh: '无法认领 {id}(占用校验失败)', en: '' },
|
|
1260
1292
|
'add.linkFailedTmpl': { key: 'req.add.linkFailedTmpl', zh: '无法把 {id} 关联到阶段 {stage}(阶段不存在或载体制冲突)', en: '' },
|
|
1261
1293
|
// v1.5.23 / REQ-043:豁免 / trivial / 一次收口
|
|
@@ -1376,6 +1408,28 @@ export const req = {
|
|
|
1376
1408
|
'rollover.invalidVersionTmpl': { key: 'req.rollover.invalidVersionTmpl', zh: '--from {from} 与 --to {to} 必须非空且不同', en: '' },
|
|
1377
1409
|
'rollover.notInVersionTmpl': { key: 'req.rollover.notInVersionTmpl', zh: '{id} 的预估版本不是 {from}(当前 {current}),无法顺延', en: '' },
|
|
1378
1410
|
'rollover.terminalTmpl': { key: 'req.rollover.terminalTmpl', zh: '{id} 已是终态({status}),不可顺延', en: '' },
|
|
1411
|
+
// v1.6.0-stage-132 / T2:需求正文写实(req body)
|
|
1412
|
+
'body.doneTmpl': { key: 'req.body.doneTmpl', zh: '已更新 {id} 正文:## {section}({lines} 行,{action})→ {path}', en: '' },
|
|
1413
|
+
'body.actionCreated': { key: 'req.body.actionCreated', zh: '新建小节', en: '' },
|
|
1414
|
+
'body.actionReplaced': { key: 'req.body.actionReplaced', zh: '替换', en: '' },
|
|
1415
|
+
'body.actionAppended': { key: 'req.body.actionAppended', zh: '追加', en: '' },
|
|
1416
|
+
'body.noTextTmpl': { key: 'req.body.noTextTmpl', zh: '需要 --text <md> 或 --file <path> 之一(正文不能为空)', en: '' },
|
|
1417
|
+
'body.exclusiveTmpl': { key: 'req.body.exclusiveTmpl', zh: '--text 与 --file 必须且只能提供一个', en: '' },
|
|
1418
|
+
'body.flagExclusiveTmpl': { key: 'req.body.flagExclusiveTmpl', zh: '--append 与 --replace 不能同时使用', en: '' },
|
|
1419
|
+
'body.protectedTmpl': { key: 'req.body.protectedTmpl', zh: '{section} 是需求正文的元信息小节,不可通过 req body 修改(可写:摘要 / 目标与验收 / 问题 / 初步规划 及自定义业务小节)', en: '' },
|
|
1420
|
+
'body.emptyTmpl': { key: 'req.body.emptyTmpl', zh: '小节正文为空(--text / --file 内容不能为空白)', en: '' },
|
|
1421
|
+
'body.invalidFieldTmpl': { key: 'req.body.invalidFieldTmpl', zh: '{section} → 非法小节名或 --file 不可读(小节名不能为空、不能含换行或 #)', en: '' },
|
|
1422
|
+
// v1.6.0-stage-132 / T6:计划偏差回写(可校验证据)
|
|
1423
|
+
'err.planDeviationTmpl': { key: 'req.err.planDeviationTmpl', zh: '需求 {id} 未完成:执行后计划文件已被改动,但 `## 偏差与回写` 未写实(需 ≥40 非空白字符且至少一条 YYYY-MM-DD 记录);补写后重试,或 `openfeel req advance {id} --to done --force` 留痕放行(plan.deviations += 1)', en: '' },
|
|
1424
|
+
'warn.planUnstampedTmpl': { key: 'req.warn.planUnstampedTmpl', zh: '提示:需求 {id} 没有执行前计划指纹(plan 缺省,历史需求)——本次放行,审计记 plan_unstamped:true;后续经阶段计划门放行时会自动盖章', en: '' },
|
|
1425
|
+
'advance.forceRequiresStampTmpl': { key: 'req.advance.forceRequiresStampTmpl', zh: '需求 {id} 没有计划指纹(plan 缺省):--force 只用于计划偏差留痕放行;本次流转未写入', en: '' },
|
|
1426
|
+
'advance.planDeviationForcedSuffix': { key: 'req.advance.planDeviationForcedSuffix', zh: '[计划偏差已 force 留痕放行:plan.deviations += 1]', en: '' },
|
|
1427
|
+
// v1.6.0-stage-132 / T4 正文门 + T7 需求级计划门(硬门 + --force 留痕放行)
|
|
1428
|
+
'err.bodyEmptyTmpl': { key: 'req.err.bodyEmptyTmpl', zh: '需求 {id} 正文未写实,不能进入 scheduled / in_progress / done(未写实小节:{sections})。先补写正文再重试:`openfeel req body {id} --section 摘要 --text "<问题现状与结论,≥40 字>"` 与 `openfeel req body {id} --section 目标与验收 --text "- A1 …(≥1 条带命令的判据)"`;确需放行用 `--force`(req advance / req complete 支持,写 body_waiver + 审计 requirement_body_forced);认领(claim)不校验正文,`--force` 对 claim 无实际作用', en: '' },
|
|
1429
|
+
'err.planMissingTmpl': { key: 'req.err.planMissingTmpl', zh: '需求 {id} 进入 in_progress 前必须有写实的需求级计划(general 或零关联阶段需求没有阶段 exec 门兜底)。按模板创建 `.openfeel/plan/reqs/{id}.plan.md`,必备小节 `## 目标` / `## 任务拆解` / `## 验收判据`(各 ≥40 非空白字符,末节至少一条判据行);补写后重试,或 `openfeel req advance {id} --to in_progress --force` 留痕放行(写 plan_waiver + 审计 requirement_plan_forced)', en: '' },
|
|
1430
|
+
'claim.bodyForcedSuffix': { key: 'req.claim.bodyForcedSuffix', zh: '[正文门已 force 留痕放行:body_waiver + 审计 requirement_body_forced]', en: '' },
|
|
1431
|
+
'advance.gateForcedSuffix': { key: 'req.advance.gateForcedSuffix', zh: '[门已 force 留痕放行:body_waiver / plan_waiver + 审计]', en: '' },
|
|
1432
|
+
'complete.gateForcedSuffix': { key: 'req.complete.gateForcedSuffix', zh: '[门已 force 留痕放行:body_waiver / plan_waiver + 审计]', en: '' },
|
|
1379
1433
|
};
|
|
1380
1434
|
/* ==================== dashboard 域:看板 HTML 渲染文案(v1.5.10 / stage-125 op-002) ==================== */
|
|
1381
1435
|
/**
|