openfeel 1.5.23 โ†’ 1.5.24

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.
Files changed (48) hide show
  1. package/dist/commands/dev.d.ts.map +1 -1
  2. package/dist/commands/dev.js +34 -3
  3. package/dist/commands/dev.js.map +1 -1
  4. package/dist/commands/flow.d.ts.map +1 -1
  5. package/dist/commands/flow.js +21 -1
  6. package/dist/commands/flow.js.map +1 -1
  7. package/dist/commands/req.d.ts.map +1 -1
  8. package/dist/commands/req.js +41 -9
  9. package/dist/commands/req.js.map +1 -1
  10. package/dist/commands/stage.d.ts.map +1 -1
  11. package/dist/commands/stage.js +4 -3
  12. package/dist/commands/stage.js.map +1 -1
  13. package/dist/core/dev-status.d.ts +17 -1
  14. package/dist/core/dev-status.d.ts.map +1 -1
  15. package/dist/core/dev-status.js +124 -44
  16. package/dist/core/dev-status.js.map +1 -1
  17. package/dist/core/flow-manager.d.ts +33 -1
  18. package/dist/core/flow-manager.d.ts.map +1 -1
  19. package/dist/core/flow-manager.js +112 -25
  20. package/dist/core/flow-manager.js.map +1 -1
  21. package/dist/core/i18n-data/en.d.ts.map +1 -1
  22. package/dist/core/i18n-data/en.js +16 -2
  23. package/dist/core/i18n-data/en.js.map +1 -1
  24. package/dist/core/i18n-data/zh-CN.d.ts.map +1 -1
  25. package/dist/core/i18n-data/zh-CN.js +17 -2
  26. package/dist/core/i18n-data/zh-CN.js.map +1 -1
  27. package/dist/core/repo-hygiene.d.ts +24 -0
  28. package/dist/core/repo-hygiene.d.ts.map +1 -1
  29. package/dist/core/repo-hygiene.js +55 -2
  30. package/dist/core/repo-hygiene.js.map +1 -1
  31. package/dist/core/req/requirement-ops.d.ts +4 -0
  32. package/dist/core/req/requirement-ops.d.ts.map +1 -1
  33. package/dist/core/req/requirement-ops.js +7 -1
  34. package/dist/core/req/requirement-ops.js.map +1 -1
  35. package/dist/core/req/types.d.ts +4 -0
  36. package/dist/core/req/types.d.ts.map +1 -1
  37. package/dist/core/session.d.ts +7 -4
  38. package/dist/core/session.d.ts.map +1 -1
  39. package/dist/core/session.js +19 -8
  40. package/dist/core/session.js.map +1 -1
  41. package/dist/core/templates.d.ts +1 -1
  42. package/dist/core/templates.d.ts.map +1 -1
  43. package/dist/core/templates.js +11 -9
  44. package/dist/core/templates.js.map +1 -1
  45. package/dsh/lib/adapters/recovery.js +28 -1
  46. package/dsh/lib/tools/index.js +5 -5
  47. package/dsh/package.json +2 -2
  48. 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,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;AA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K,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,UA4HjB,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"}
@@ -79,7 +79,7 @@ export const flow = {
79
79
  'next.guardTierDiffTmpl': { key: 'flow.next.guardTierDiffTmpl', zh: '', en: 'Display tier {display} โ‰  effective tier {effective} (flow advance defaults to {effective})' },
80
80
  'next.guardConfigComboTmpl': { key: 'flow.next.guardConfigComboTmpl', zh: '', en: 'Silently ineffective config: execution_mode={mode} with auto_advance={auto} (auto-advance will not apply; the dependency is documented only in comments)' },
81
81
  'next.guardArchivingVerifyTmpl': { key: 'flow.next.guardArchivingVerifyTmpl', zh: '', en: 'Before closing the archiving phase, run `openfeel stage verify {stage} --result pass --kind <test|manual|build> --by <agent> --note <summary> --evidence <evidence>` (the stage ID is positional); otherwise the done gate rejects' },
82
- 'next.guardRequirementAllDoneTmpl': { key: 'flow.next.guardRequirementAllDoneTmpl', zh: '', en: 'All linked requirements are complete ({n}, all terminal): consider closing / archiving the stage (openfeel flow advance --stage {stage} --to done, or archive this version)' },
82
+ 'next.guardRequirementAllDoneTmpl': { key: 'flow.next.guardRequirementAllDoneTmpl', zh: '', en: 'All linked requirements are complete ({n}): a stage is a version container, so **you can keep adding requirements to it**; only close it (openfeel flow advance --stage {stage} --to done) or archive the version once you are sure this is the release and no more work goes in' },
83
83
  'overview.title': { key: 'flow.overview.title', zh: '', en: 'OpenFeel Pipeline Overview' },
84
84
  'overview.currentStatus': { key: 'flow.overview.currentStatus', zh: '', en: '๐Ÿ“ Current Status' },
85
85
  'overview.stagesOverview': { key: 'flow.overview.stagesOverview', zh: '', en: '๐Ÿ“‹ Stages Overview' },
@@ -122,6 +122,11 @@ export const flow = {
122
122
  'mode.lineTmpl': { key: 'flow.mode.lineTmpl', zh: '', en: 'Workflow mode: {mode} [source: {source}]' },
123
123
  'mode.targetsLabel': { key: 'flow.mode.targetsLabel', zh: '', en: 'Reachable targets ({stage} ยท {phase}): {targets}' },
124
124
  'archive.doneTmpl': { key: 'flow.archive.doneTmpl', zh: '', en: 'Archived {version}: stages {stages} / reviews {reviews} / log {log}' },
125
+ 'archive.gitCommitOkTmpl': { key: 'flow.archive.gitCommitOkTmpl', zh: '', en: 'โœ“ Archive output committed automatically: {version}' },
126
+ 'archive.gitCommitSkipTmpl': { key: 'flow.archive.gitCommitSkipTmpl', zh: '', en: '(skipped auto-commit: not a git repo or nothing to commit) {version}' },
127
+ 'archive.gitCommitNoRepoWarnTmpl': { key: 'flow.archive.gitCommitNoRepoWarnTmpl', zh: '', en: 'โš  Not a git repository: archive output for {version} was not committed; commit it manually later.' },
128
+ 'archive.gitCommitConcurrentSessionsWarnTmpl': { key: 'flow.archive.gitCommitConcurrentSessionsWarnTmpl', zh: '', en: 'โš  Concurrent sessions detected ({sessions}): skipped auto-commit to avoid mixing other sessions\' changes into the {version} archive commit; please run a scoped commit manually.' },
129
+ 'archive.gitCommitFailedWarnTmpl': { key: 'flow.archive.gitCommitFailedWarnTmpl', zh: '', en: 'โš  Auto-commit failed (git commit rejected / index locked / missing user.email): archive output for {version} may be staged but not committed; check `git status` and commit manually.' },
125
130
  'archive.rearchivedTmpl': { key: 'flow.archive.rearchivedTmpl', zh: '', en: '{version} re-archived (overwrite; index already contains it, idempotent convergence)' },
126
131
  'archive.previewTmpl': { key: 'flow.archive.previewTmpl', zh: '', en: '[dry-run] will archive {version}: stages {stages} / reviews {reviews} / log {log}' },
127
132
  'archive.previewNoWrite': { key: 'flow.archive.previewNoWrite', zh: '', en: '(preview mode: no file was written)' },
@@ -395,6 +400,9 @@ export const flow = {
395
400
  'dev.cleanDryRunTmpl': { key: 'flow.dev.cleanDryRunTmpl', zh: '', en: '(dry-run: .gitignore and index untouched)' },
396
401
  'dev.cleanNotGitWarnTmpl': { key: 'flow.dev.cleanNotGitWarnTmpl', zh: '', en: 'โš  Not a git repository: only .gitignore is ensured, index check skipped.' },
397
402
  'dev.cleanNone': { key: 'flow.dev.cleanNone', zh: '', en: '(none)' },
403
+ 'dev.cleanLegacyTmpl': { key: 'flow.dev.cleanLegacyTmpl', zh: '', en: 'ยท Legacy files: {files}' },
404
+ 'dev.cleanLegacyConfirmTmpl': { key: 'flow.dev.cleanLegacyConfirmTmpl', zh: '', en: 'These legacy files will be deleted (unrecoverable; git history still keeps them): {files}\nRe-run with --yes to confirm; use --dry-run to only list them.' },
405
+ 'dev.cleanIncludeRequiresLegacyTmpl': { key: 'flow.dev.cleanIncludeRequiresLegacyTmpl', zh: '', en: '`--include-archive` must be used together with `--legacy`.' },
398
406
  'preflightRequiredTmpl': { key: 'flow.preflightRequiredTmpl', zh: '', en: 'Run `openfeel flow next` (or `flow status`) before a write operation (preflight missing or expired).' },
399
407
  };
400
408
  /* ==================== init ==================== */
@@ -721,6 +729,7 @@ export const help = {
721
729
  'flow.archive.dryRun': { key: 'help.flow.archive.dryRun', zh: '', en: 'Preview only (the gate is still checked; zero writes)' },
722
730
  'flow.archive.json': { key: 'help.flow.archive.json', zh: '', en: 'Output { schemaVersion, version, stages, reviews, log, dryRun, eligible, unfinishedStages, blockingReviews, requirements } as JSON' },
723
731
  'flow.archive.allowUnfinished': { key: 'help.flow.archive.allowUnfinished', zh: '', en: 'Explicitly allow "this version still has unfinished requirements" (release soft gate; default refuses with zero writes)' },
732
+ 'flow.archive.commit': { key: 'help.flow.archive.commit', zh: '', en: 'Do not auto-commit archive output (v1.5.24: auto-commit is the default)' },
724
733
  'flow.archive.list': { key: 'help.flow.archive.list', zh: '', en: 'List archived versions and their counts (read-only; engine lexicographic order)' },
725
734
  'flow.archive.list.json': { key: 'help.flow.archive.list.json', zh: '', en: 'Output { schemaVersion, versions: [{version, counts}] } as JSON' },
726
735
  'flow.archive.show': { key: 'help.flow.archive.show', zh: '', en: 'Show a given archived version (read-only; human output = counts + stage overview)' },
@@ -859,7 +868,7 @@ export const help = {
859
868
  'stage.status.json': { key: 'help.stage.status.json', zh: '', en: 'Output as JSON (single JSON document with schemaVersion)' },
860
869
  'stage.set': { key: 'help.stage.set', zh: '', en: 'Set stage status field (atomic update, preserve rest)' },
861
870
  'stage.set.argstageId': { key: 'help.stage.set.argstageId', zh: '', en: 'Stage ID (e.g. v4-stage-04)' },
862
- 'stage.set.status': { key: 'help.stage.set.status', zh: '', en: 'Status value (coarse-grained: planned/review_failed/review_passed/testing/archiving/done)' },
871
+ 'stage.set.status': { key: 'help.stage.set.status', zh: '', en: 'Status value (coarse: planned/coding/review_failed/review_passed/testing/archiving/done; plan_* โ†’ planned, scheme_*/exec_running โ†’ coding)' },
863
872
  'stage.set.execMode': { key: 'help.stage.set.execMode', zh: '', en: 'Execution mode (manual | auto)' },
864
873
  'stage.set.autoAdvance': { key: 'help.stage.set.autoAdvance', zh: '', en: 'Auto advance (enabled | disabled)' },
865
874
  'stage.set.workflowMode': { key: 'help.stage.set.workflowMode', zh: '', en: 'Workflow mode (full | fast | general)' },
@@ -962,6 +971,10 @@ export const help = {
962
971
  'dev.status': { key: 'help.dev.status', zh: '', en: 'Show status sync state (read-only; default 30-minute window)' },
963
972
  '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
973
  'dev.clean.dryRun': { key: 'help.dev.clean.dryRun', zh: '', en: 'Show what would be done (no writes, no index change)' },
974
+ 'dev.clean.legacy': { key: 'help.dev.clean.legacy', zh: '', en: 'Also remove legacy files (task_claim.md / todo-current.md; v1.5.24)' },
975
+ 'dev.clean.includeArchive': { key: 'help.dev.clean.includeArchive', zh: '', en: 'With --legacy: also remove stale current_archive/*.md files' },
976
+ 'dev.clean.json': { key: 'help.dev.clean.json', zh: '', en: 'JSON output (includes legacy cleanup result)' },
977
+ 'dev.clean.yes': { key: 'help.dev.clean.yes', zh: '', en: 'Confirm the --legacy deletion (without it only a list is printed)' },
965
978
  'req.add': { key: 'help.req.add', zh: '', en: 'Create a requirement (auto ID; body skeleton under .openfeel/requirements/)' },
966
979
  'req.add.argtitle': { key: 'help.req.add.argtitle', zh: '', en: 'Requirement title' },
967
980
  'req.add.targetVersion': { key: 'help.req.add.targetVersion', zh: '', en: 'Target version (e.g. v1.3.0)' },
@@ -1213,6 +1226,7 @@ export const req = {
1213
1226
  'trivial.noMarkTmpl': { key: 'req.trivial.noMarkTmpl', zh: '', en: '{id} has no trivial mark; nothing to revoke' },
1214
1227
  'trivial.alreadyDoneTmpl': { key: 'req.trivial.alreadyDoneTmpl', zh: '', en: '{id} is already done; cannot mark it trivial' },
1215
1228
  'complete.doneTmpl': { key: 'req.complete.doneTmpl', zh: '', en: 'โœ“ {id} completed: review {result} / verify {kind} โ†’ done' },
1229
+ 'complete.statusTmpl': { key: 'req.complete.statusTmpl', zh: '', en: '{id} is in status {status}: `req complete` only accepts draft / scheduled / in_progress (handle blocked or terminal states first)' },
1216
1230
  'add.bodyTmpl': { key: 'req.add.bodyTmpl', zh: '', en: 'Body skeleton: {path}' },
1217
1231
  // shared validation messages
1218
1232
  'invalidIdTmpl': { key: 'req.invalidIdTmpl', zh: '', en: '{input} -> invalid requirement ID (expected REQ-NNN, e.g. REQ-001)' },