openfeel 1.5.22 → 1.5.23
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/dist/commands/dev.d.ts +2 -0
- package/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/dev.js +47 -0
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/flow.d.ts.map +1 -1
- package/dist/commands/flow.js +21 -2
- package/dist/commands/flow.js.map +1 -1
- package/dist/commands/req.d.ts.map +1 -1
- package/dist/commands/req.js +218 -8
- package/dist/commands/req.js.map +1 -1
- package/dist/commands/stage.d.ts +22 -0
- package/dist/commands/stage.d.ts.map +1 -1
- package/dist/commands/stage.js +76 -5
- package/dist/commands/stage.js.map +1 -1
- package/dist/core/flow-archive/grouping.js +2 -2
- package/dist/core/flow-archive/grouping.js.map +1 -1
- package/dist/core/flow-manager.d.ts +2 -1
- package/dist/core/flow-manager.d.ts.map +1 -1
- package/dist/core/flow-manager.js +19 -3
- 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 +50 -0
- 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 +53 -1
- package/dist/core/i18n-data/zh-CN.js.map +1 -1
- package/dist/core/init.d.ts.map +1 -1
- package/dist/core/init.js +13 -0
- package/dist/core/init.js.map +1 -1
- package/dist/core/metrics.d.ts +16 -1
- package/dist/core/metrics.d.ts.map +1 -1
- package/dist/core/metrics.js +44 -10
- package/dist/core/metrics.js.map +1 -1
- package/dist/core/repo-hygiene.d.ts +41 -0
- package/dist/core/repo-hygiene.d.ts.map +1 -0
- package/dist/core/repo-hygiene.js +109 -0
- package/dist/core/repo-hygiene.js.map +1 -0
- package/dist/core/req/aggregate.d.ts.map +1 -1
- package/dist/core/req/aggregate.js +8 -1
- package/dist/core/req/aggregate.js.map +1 -1
- package/dist/core/req/requirement-ops.d.ts +32 -0
- package/dist/core/req/requirement-ops.d.ts.map +1 -1
- package/dist/core/req/requirement-ops.js +105 -1
- package/dist/core/req/requirement-ops.js.map +1 -1
- package/dist/core/req/types.d.ts +39 -0
- package/dist/core/req/types.d.ts.map +1 -1
- package/dist/core/session.d.ts +8 -0
- package/dist/core/session.d.ts.map +1 -1
- package/dist/core/session.js +16 -0
- package/dist/core/session.js.map +1 -1
- package/dist/core/template-loader.js +1 -1
- package/dist/core/templates.d.ts +1 -1
- package/dist/core/templates.d.ts.map +1 -1
- package/dist/core/templates.js +6 -3
- package/dist/core/templates.js.map +1 -1
- package/dist/core/update.js +1 -1
- package/dsh/lib/adapters/dashboard.js +29 -2
- package/dsh/lib/adapters/recovery.js +38 -3
- package/dsh/lib/guard.js +13 -0
- package/dsh/lib/surface/prompt.js +1 -1
- package/dsh/lib/tools/index.js +47 -8
- package/dsh/lib/tools/shared.js +14 -0
- package/dsh/package.json +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/core/i18n-data/en.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,MAAM,EAAE,UAgCpB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/core/i18n-data/en.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,MAAM,EAAE,UAgCpB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAgYlB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAyBlB,CAAC;AAGF,eAAO,MAAM,MAAM,EAAE,UAmCpB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UA8CrB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,UAyCnB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAsClB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,UAiCvB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UAcrB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UAAe,CAAC;AAGtC,eAAO,MAAM,IAAI,EAAE,UAMlB,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,UAAe,CAAC;AAG3C,eAAO,MAAM,IAAI,EAAE,UAoBlB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UA8YlB,CAAC;AAGF,eAAO,MAAM,MAAM,EAAE,UA+BpB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UA4BrB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,UAqBnB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,UAkCnB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UAUrB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAMlB,CAAC;AAGF,eAAO,MAAM,GAAG,EAAE,UA2HjB,CAAC;AAGF;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,UA4CvB,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,UAAU,CAAA;CAAE,CAuBlE,CAAC"}
|
|
@@ -388,6 +388,13 @@ export const flow = {
|
|
|
388
388
|
'dev.statusLastSyncTmpl': { key: 'flow.dev.statusLastSyncTmpl', zh: '', en: 'Last sync: {lastSync} (interval {interval} min)' },
|
|
389
389
|
'dev.statusDueTmpl': { key: 'flow.dev.statusDueTmpl', zh: '', en: 'Status is stale (>= {interval} min): update the handoff summary, then run `openfeel dev sync`.' },
|
|
390
390
|
'dev.statusOkTmpl': { key: 'flow.dev.statusOkTmpl', zh: '', en: 'Status is fresh ({interval} min window); no update needed.' },
|
|
391
|
+
// dev clean (v1.5.23 / REQ-041: keep runtime state out of git)
|
|
392
|
+
'dev.cleanOkTmpl': { key: 'flow.dev.cleanOkTmpl', zh: '', en: '✓ Repository hygiene check complete.' },
|
|
393
|
+
'dev.cleanGitignoreTmpl': { key: 'flow.dev.cleanGitignoreTmpl', zh: '', en: '· .gitignore ({file}): {entries}' },
|
|
394
|
+
'dev.cleanUntrackedTmpl': { key: 'flow.dev.cleanUntrackedTmpl', zh: '', en: '· Removed from the git index: {files} (working-tree files kept)' },
|
|
395
|
+
'dev.cleanDryRunTmpl': { key: 'flow.dev.cleanDryRunTmpl', zh: '', en: '(dry-run: .gitignore and index untouched)' },
|
|
396
|
+
'dev.cleanNotGitWarnTmpl': { key: 'flow.dev.cleanNotGitWarnTmpl', zh: '', en: '⚠ Not a git repository: only .gitignore is ensured, index check skipped.' },
|
|
397
|
+
'dev.cleanNone': { key: 'flow.dev.cleanNone', zh: '', en: '(none)' },
|
|
391
398
|
'preflightRequiredTmpl': { key: 'flow.preflightRequiredTmpl', zh: '', en: 'Run `openfeel flow next` (or `flow status`) before a write operation (preflight missing or expired).' },
|
|
392
399
|
};
|
|
393
400
|
/* ==================== init ==================== */
|
|
@@ -503,6 +510,10 @@ export const stage = {
|
|
|
503
510
|
'status.noStages': { key: 'stage.status.noStages', zh: '', en: 'No stages found (no status.md in .openfeel/plan/)' },
|
|
504
511
|
'status.foundTmpl': { key: 'stage.status.foundTmpl', zh: '', en: 'Found {n} stage(s)' },
|
|
505
512
|
'status.hint': { key: 'stage.status.hint', zh: '', en: 'Use openfeel stage status <stageId> to view detailed status' },
|
|
513
|
+
'status.progressTmpl': { key: 'stage.status.progressTmpl', zh: '', en: 'Requirements: {done}/{total} done ({inProgress} in progress, {other} other)' },
|
|
514
|
+
'status.oldestInProgressTmpl': { key: 'stage.status.oldestInProgressTmpl', zh: '', en: 'Oldest in progress: {id} (since {since})' },
|
|
515
|
+
'status.phaseEnteredTmpl': { key: 'stage.status.phaseEnteredTmpl', zh: '', en: 'Current phase entered at: {at}' },
|
|
516
|
+
'status.progressEmptyTmpl': { key: 'stage.status.progressEmptyTmpl', zh: '', en: 'Requirements: none linked (version container without work items)' },
|
|
506
517
|
'errorStageNotFoundTmpl': { key: 'stage.errorStageNotFoundTmpl', zh: '', en: 'Error: status.md not found for stage "{stageId}"' },
|
|
507
518
|
'errorCheckStageId': { key: 'stage.errorCheckStageId', zh: '', en: 'Please verify the stage ID is correct (e.g. v4-stage-04)' },
|
|
508
519
|
'set.errorFieldNotFoundTmpl': { key: 'stage.set.errorFieldNotFoundTmpl', zh: '', en: 'Error: "{field}" field not found in {stageId} status.md' },
|
|
@@ -868,6 +879,7 @@ export const help = {
|
|
|
868
879
|
'stage.verify.by': { key: 'help.stage.verify.by', zh: '', en: 'Verifier' },
|
|
869
880
|
'stage.verify.note': { key: 'help.stage.verify.note', zh: '', en: 'Conclusion note (included in the archive summary)' },
|
|
870
881
|
'stage.verify.evidence': { key: 'help.stage.verify.evidence', zh: '', en: 'Evidence (command / report path)' },
|
|
882
|
+
'stage.verify.criteria': { key: 'help.stage.verify.criteria', zh: '', en: 'Related acceptance criteria ids (comma-separated; read-only reference, gate unchanged)' },
|
|
871
883
|
'view': { key: 'help.view', zh: '', en: 'Review entry management' },
|
|
872
884
|
'view.list': { key: 'help.view.list', zh: '', en: 'List review entries' },
|
|
873
885
|
'view.list.op': { key: 'help.view.list.op', zh: '', en: 'Filter by operation ID' },
|
|
@@ -948,11 +960,34 @@ export const help = {
|
|
|
948
960
|
'dev': { key: 'help.dev', zh: '', en: 'Dev status records (v1.5.0: Feel-only; CLI maintains the brief status block)' },
|
|
949
961
|
'dev.sync': { key: 'help.dev.sync', zh: '', en: 'Write the brief status block now (dev_last AUTO block + .sync.json)' },
|
|
950
962
|
'dev.status': { key: 'help.dev.status', zh: '', en: 'Show status sync state (read-only; default 30-minute window)' },
|
|
963
|
+
'dev.clean': { key: 'help.dev.clean', zh: '', en: 'Keep runtime state out of git: complete .gitignore + remove tracked runtime files from the git index (working-tree files kept)' },
|
|
964
|
+
'dev.clean.dryRun': { key: 'help.dev.clean.dryRun', zh: '', en: 'Show what would be done (no writes, no index change)' },
|
|
951
965
|
'req.add': { key: 'help.req.add', zh: '', en: 'Create a requirement (auto ID; body skeleton under .openfeel/requirements/)' },
|
|
952
966
|
'req.add.argtitle': { key: 'help.req.add.argtitle', zh: '', en: 'Requirement title' },
|
|
953
967
|
'req.add.targetVersion': { key: 'help.req.add.targetVersion', zh: '', en: 'Target version (e.g. v1.3.0)' },
|
|
954
968
|
'req.add.priority': { key: 'help.req.add.priority', zh: '', en: 'Priority (P0/P1/P2)' },
|
|
955
969
|
'req.add.workflowMode': { key: 'help.req.add.workflowMode', zh: '', en: 'Workflow mode (full / fast / general; unset by default)' },
|
|
970
|
+
'req.add.claim': { key: 'help.req.add.claim', zh: '', en: 'Claim immediately after creating (v1.5.23)' },
|
|
971
|
+
'req.add.stage': { key: 'help.req.add.stage', zh: '', en: 'Link to this stage immediately after creating (v1.5.23)' },
|
|
972
|
+
'req.waive': { key: 'help.req.waive', zh: '', en: 'Explicit waiver: drop it from the stage done gate and record why (distinct from cancelled)' },
|
|
973
|
+
'req.waive.argid': { key: 'help.req.waive.argid', zh: '', en: 'Requirement ID' },
|
|
974
|
+
'req.waive.reason': { key: 'help.req.waive.reason', zh: '', en: 'Why it is waived (required)' },
|
|
975
|
+
'req.waive.by': { key: 'help.req.waive.by', zh: '', en: 'Who decided (default: session id)' },
|
|
976
|
+
'req.waive.revoke': { key: 'help.req.waive.revoke', zh: '', en: 'Revoke the waiver' },
|
|
977
|
+
'req.trivial': { key: 'help.req.trivial', zh: '', en: 'Mark trivial (skip review/verification: docs/copy/test comments)' },
|
|
978
|
+
'req.trivial.argid': { key: 'help.req.trivial.argid', zh: '', en: 'Requirement ID' },
|
|
979
|
+
'req.trivial.reason': { key: 'help.req.trivial.reason', zh: '', en: 'Why it counts as trivial (required)' },
|
|
980
|
+
'req.trivial.by': { key: 'help.req.trivial.by', zh: '', en: 'Who marked it (default: session id)' },
|
|
981
|
+
'req.trivial.revoke': { key: 'help.req.trivial.revoke', zh: '', en: 'Revoke the mark' },
|
|
982
|
+
'req.complete': { key: 'help.req.complete', zh: '', en: 'One-shot completion: record review + verify and advance to done (reuses the existing done gate)' },
|
|
983
|
+
'req.complete.argid': { key: 'help.req.complete.argid', zh: '', en: 'Requirement ID' },
|
|
984
|
+
'req.complete.result': { key: 'help.req.complete.result', zh: '', en: 'Review/verification result (pass / fail; pass is required)' },
|
|
985
|
+
'req.complete.kind': { key: 'help.req.complete.kind', zh: '', en: 'Verification kind (test / manual / build; default manual)' },
|
|
986
|
+
'req.complete.note': { key: 'help.req.complete.note', zh: '', en: 'Summary (goes into the archive summary)' },
|
|
987
|
+
'req.complete.by': { key: 'help.req.complete.by', zh: '', en: 'Reviewer / verifier (default: session id)' },
|
|
988
|
+
'req.complete.evidence': { key: 'help.req.complete.evidence', zh: '', en: 'Evidence (test command / report path / summary)' },
|
|
989
|
+
'req.complete.independent': { key: 'help.req.complete.independent', zh: '', en: 'Independent review (recommended)' },
|
|
990
|
+
'req.complete.self': { key: 'help.req.complete.self', zh: '', en: 'Self review (non-independent; marked in the archive summary)' },
|
|
956
991
|
'req.list': { key: 'help.req.list', zh: '', en: 'List requirements (filter by status/version/owner; --include-archived merges archived ones)' },
|
|
957
992
|
'req.list.status': { key: 'help.req.list.status', zh: '', en: 'Filter by status (draft/scheduled/in_progress/done/blocked/cancelled/rejected)' },
|
|
958
993
|
'req.list.targetVersion': { key: 'help.req.list.targetVersion', zh: '', en: 'Filter by target version' },
|
|
@@ -1163,6 +1198,21 @@ export const repl = {
|
|
|
1163
1198
|
export const req = {
|
|
1164
1199
|
// req add
|
|
1165
1200
|
'add.doneTmpl': { key: 'req.add.doneTmpl', zh: '', en: 'Created {id}: {title} (status: draft)' },
|
|
1201
|
+
'add.claimedTmpl': { key: 'req.add.claimedTmpl', zh: '', en: '· Claimed by: {owner}' },
|
|
1202
|
+
'add.linkedTmpl': { key: 'req.add.linkedTmpl', zh: '', en: '· Linked to stage: {stage}' },
|
|
1203
|
+
'add.claimFailedTmpl': { key: 'req.add.claimFailedTmpl', zh: '', en: 'Cannot claim {id} (occupancy check failed)' },
|
|
1204
|
+
'add.linkFailedTmpl': { key: 'req.add.linkFailedTmpl', zh: '', en: 'Cannot link {id} to stage {stage} (stage not found or carrier conflict)' },
|
|
1205
|
+
'waive.doneTmpl': { key: 'req.waive.doneTmpl', zh: '', en: '✓ {id} waived ({reason}); excluded from the stage done gate' },
|
|
1206
|
+
'waive.revokedTmpl': { key: 'req.waive.revokedTmpl', zh: '', en: '✓ Waiver revoked for {id}' },
|
|
1207
|
+
'waive.reasonTmpl': { key: 'req.waive.reasonTmpl', zh: '', en: '`--reason <text>` is required to record why it is waived' },
|
|
1208
|
+
'waive.noWaiverTmpl': { key: 'req.waive.noWaiverTmpl', zh: '', en: '{id} has no waiver record; nothing to revoke' },
|
|
1209
|
+
'waive.alreadyDoneTmpl': { key: 'req.waive.alreadyDoneTmpl', zh: '', en: '{id} is already done; no waiver needed' },
|
|
1210
|
+
'trivial.doneTmpl': { key: 'req.trivial.doneTmpl', zh: '', en: '✓ {id} marked trivial ({reason}): the done gate skips review/verification' },
|
|
1211
|
+
'trivial.revokedTmpl': { key: 'req.trivial.revokedTmpl', zh: '', en: '✓ Trivial mark revoked for {id}' },
|
|
1212
|
+
'trivial.reasonTmpl': { key: 'req.trivial.reasonTmpl', zh: '', en: '`--reason <text>` is required to explain why it is trivial' },
|
|
1213
|
+
'trivial.noMarkTmpl': { key: 'req.trivial.noMarkTmpl', zh: '', en: '{id} has no trivial mark; nothing to revoke' },
|
|
1214
|
+
'trivial.alreadyDoneTmpl': { key: 'req.trivial.alreadyDoneTmpl', zh: '', en: '{id} is already done; cannot mark it trivial' },
|
|
1215
|
+
'complete.doneTmpl': { key: 'req.complete.doneTmpl', zh: '', en: '✓ {id} completed: review {result} / verify {kind} → done' },
|
|
1166
1216
|
'add.bodyTmpl': { key: 'req.add.bodyTmpl', zh: '', en: 'Body skeleton: {path}' },
|
|
1167
1217
|
// shared validation messages
|
|
1168
1218
|
'invalidIdTmpl': { key: 'req.invalidIdTmpl', zh: '', en: '{input} -> invalid requirement ID (expected REQ-NNN, e.g. REQ-001)' },
|