rafcode 1.3.2 → 2.0.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/CLAUDE.md +118 -22
- package/RAF/aaaacu-worktree-weaver/decisions.md +88 -0
- package/RAF/aaaacu-worktree-weaver/input.md +27 -0
- package/RAF/aaaacu-worktree-weaver/outcomes/01-git-worktree-utilities.md +41 -0
- package/RAF/aaaacu-worktree-weaver/outcomes/02-worktree-plan-command.md +44 -0
- package/RAF/aaaacu-worktree-weaver/outcomes/03-worktree-do-command.md +58 -0
- package/RAF/aaaacu-worktree-weaver/outcomes/04-auto-merge-and-cleanup.md +40 -0
- package/RAF/aaaacu-worktree-weaver/outcomes/05-worktree-tests.md +43 -0
- package/RAF/aaaacu-worktree-weaver/outcomes/06-update-documentation.md +33 -0
- package/RAF/aaaacu-worktree-weaver/plans/01-git-worktree-utilities.md +51 -0
- package/RAF/aaaacu-worktree-weaver/plans/02-worktree-plan-command.md +93 -0
- package/RAF/aaaacu-worktree-weaver/plans/03-worktree-do-command.md +81 -0
- package/RAF/aaaacu-worktree-weaver/plans/04-auto-merge-and-cleanup.md +51 -0
- package/RAF/aaaacu-worktree-weaver/plans/05-worktree-tests.md +52 -0
- package/RAF/aaaacu-worktree-weaver/plans/06-update-documentation.md +55 -0
- package/RAF/aaaacv-trim-the-fat/decisions.md +34 -0
- package/RAF/aaaacv-trim-the-fat/input.md +5 -0
- package/RAF/aaaacv-trim-the-fat/outcomes/01-add-worktree-support-to-status.md +43 -0
- package/RAF/aaaacv-trim-the-fat/outcomes/02-remove-multi-project-from-do.md +50 -0
- package/RAF/aaaacv-trim-the-fat/outcomes/03-commit-artifacts-on-amend.md +35 -0
- package/RAF/aaaacv-trim-the-fat/outcomes/04-worktree-aware-exit-messages.md +36 -0
- package/RAF/aaaacv-trim-the-fat/plans/01-add-worktree-support-to-status.md +43 -0
- package/RAF/aaaacv-trim-the-fat/plans/02-remove-multi-project-from-do.md +44 -0
- package/RAF/aaaacv-trim-the-fat/plans/03-commit-artifacts-on-amend.md +38 -0
- package/RAF/aaaacv-trim-the-fat/plans/04-worktree-aware-exit-messages.md +38 -0
- package/RAF/aaaacw-prune-cycle/decisions.md +25 -0
- package/RAF/aaaacw-prune-cycle/input.md +5 -0
- package/RAF/aaaacw-prune-cycle/outcomes/01-create-worktree-from-branch.md +32 -0
- package/RAF/aaaacw-prune-cycle/outcomes/02-cleanup-worktree-on-success.md +33 -0
- package/RAF/aaaacw-prune-cycle/outcomes/03-amend-recreate-worktree.md +40 -0
- package/RAF/aaaacw-prune-cycle/plans/01-create-worktree-from-branch.md +31 -0
- package/RAF/aaaacw-prune-cycle/plans/02-cleanup-worktree-on-success.md +38 -0
- package/RAF/aaaacw-prune-cycle/plans/03-amend-recreate-worktree.md +50 -0
- package/RAF/aaaacx-epoch-shift/decisions.md +25 -0
- package/RAF/aaaacx-epoch-shift/input.md +1 -0
- package/RAF/aaaacx-epoch-shift/outcomes/01-epoch-id-generation.md +34 -0
- package/RAF/aaaacx-epoch-shift/outcomes/02-update-pattern-matching.md +32 -0
- package/RAF/aaaacx-epoch-shift/outcomes/03-update-tests.md +59 -0
- package/RAF/aaaacx-epoch-shift/outcomes/04-update-documentation.md +30 -0
- package/RAF/aaaacx-epoch-shift/plans/01-epoch-id-generation.md +40 -0
- package/RAF/aaaacx-epoch-shift/plans/02-update-pattern-matching.md +60 -0
- package/RAF/aaaacx-epoch-shift/plans/03-update-tests.md +48 -0
- package/RAF/aaaacx-epoch-shift/plans/04-update-documentation.md +44 -0
- package/RAF/ahmpro-merge-guardian/decisions.md +25 -0
- package/RAF/ahmpro-merge-guardian/input.md +4 -0
- package/RAF/ahmpro-merge-guardian/outcomes/001-fix-amend-worktree-commit.md +45 -0
- package/RAF/ahmpro-merge-guardian/outcomes/002-base36-task-ids.md +55 -0
- package/RAF/ahmpro-merge-guardian/outcomes/003-worktree-pr-creation.md +41 -0
- package/RAF/ahmpro-merge-guardian/outcomes/004-post-execution-picker.md +53 -0
- package/RAF/ahmpro-merge-guardian/plans/001-fix-amend-worktree-commit.md +39 -0
- package/RAF/ahmpro-merge-guardian/plans/002-base36-task-ids.md +43 -0
- package/RAF/ahmpro-merge-guardian/plans/003-worktree-pr-creation.md +43 -0
- package/RAF/ahmpro-merge-guardian/plans/004-post-execution-picker.md +51 -0
- package/RAF/ahnbcu-letterjam/decisions.md +13 -0
- package/RAF/ahnbcu-letterjam/input.md +3 -0
- package/RAF/ahnbcu-letterjam/outcomes/01-base26-encoding.md +42 -0
- package/RAF/ahnbcu-letterjam/outcomes/02-update-tests.md +38 -0
- package/RAF/ahnbcu-letterjam/outcomes/03-migrate-command.md +51 -0
- package/RAF/ahnbcu-letterjam/outcomes/04-update-documentation.md +29 -0
- package/RAF/ahnbcu-letterjam/plans/01-base26-encoding.md +36 -0
- package/RAF/ahnbcu-letterjam/plans/02-update-tests.md +37 -0
- package/RAF/ahnbcu-letterjam/plans/03-migrate-command.md +49 -0
- package/RAF/ahnbcu-letterjam/plans/04-update-documentation.md +39 -0
- package/RAF/ahnwrk-worktree-weaver/decisions.md +19 -0
- package/RAF/ahnwrk-worktree-weaver/input.md +4 -0
- package/RAF/ahnwrk-worktree-weaver/outcomes/01-remove-co-authored-by.md +20 -0
- package/RAF/ahnwrk-worktree-weaver/outcomes/02-update-task-status-format.md +21 -0
- package/RAF/ahnwrk-worktree-weaver/outcomes/03-worktree-auto-discovery.md +34 -0
- package/RAF/ahnwrk-worktree-weaver/outcomes/04-fix-pr-description.md +30 -0
- package/RAF/ahnwrk-worktree-weaver/plans/01-remove-co-authored-by.md +26 -0
- package/RAF/ahnwrk-worktree-weaver/plans/02-update-task-status-format.md +27 -0
- package/RAF/ahnwrk-worktree-weaver/plans/03-worktree-auto-discovery.md +37 -0
- package/RAF/ahnwrk-worktree-weaver/plans/04-fix-pr-description.md +50 -0
- package/README.md +56 -10
- package/dist/commands/do.d.ts +15 -0
- package/dist/commands/do.d.ts.map +1 -1
- package/dist/commands/do.js +384 -123
- package/dist/commands/do.js.map +1 -1
- package/dist/commands/migrate.d.ts +14 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +228 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/plan.d.ts.map +1 -1
- package/dist/commands/plan.js +237 -40
- package/dist/commands/plan.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +221 -47
- package/dist/commands/status.js.map +1 -1
- package/dist/core/claude-runner.d.ts +2 -2
- package/dist/core/claude-runner.d.ts.map +1 -1
- package/dist/core/git.d.ts +15 -6
- package/dist/core/git.d.ts.map +1 -1
- package/dist/core/git.js +53 -20
- package/dist/core/git.js.map +1 -1
- package/dist/core/project-manager.d.ts.map +1 -1
- package/dist/core/project-manager.js +2 -2
- package/dist/core/project-manager.js.map +1 -1
- package/dist/core/pull-request.d.ts +84 -0
- package/dist/core/pull-request.d.ts.map +1 -0
- package/dist/core/pull-request.js +414 -0
- package/dist/core/pull-request.js.map +1 -0
- package/dist/core/state-derivation.d.ts +3 -3
- package/dist/core/state-derivation.d.ts.map +1 -1
- package/dist/core/state-derivation.js +18 -14
- package/dist/core/state-derivation.js.map +1 -1
- package/dist/core/worktree.d.ts +120 -0
- package/dist/core/worktree.d.ts.map +1 -0
- package/dist/core/worktree.js +322 -0
- package/dist/core/worktree.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/prompts/amend.d.ts +1 -0
- package/dist/prompts/amend.d.ts.map +1 -1
- package/dist/prompts/amend.js +14 -10
- package/dist/prompts/amend.js.map +1 -1
- package/dist/prompts/execution.d.ts.map +1 -1
- package/dist/prompts/execution.js +4 -2
- package/dist/prompts/execution.js.map +1 -1
- package/dist/prompts/planning.d.ts +1 -0
- package/dist/prompts/planning.d.ts.map +1 -1
- package/dist/prompts/planning.js +9 -8
- package/dist/prompts/planning.js.map +1 -1
- package/dist/types/config.d.ts +5 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/ui/project-picker.d.ts +34 -3
- package/dist/ui/project-picker.d.ts.map +1 -1
- package/dist/ui/project-picker.js +78 -10
- package/dist/ui/project-picker.js.map +1 -1
- package/dist/utils/paths.d.ts +38 -43
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +123 -193
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/terminal-symbols.d.ts +2 -2
- package/dist/utils/terminal-symbols.js +3 -3
- package/dist/utils/terminal-symbols.js.map +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +2 -8
- package/dist/utils/validation.js.map +1 -1
- package/package.json +1 -1
- package/src/commands/do.ts +454 -134
- package/src/commands/migrate.ts +269 -0
- package/src/commands/plan.ts +264 -40
- package/src/commands/status.ts +252 -45
- package/src/core/claude-runner.ts +2 -2
- package/src/core/git.ts +57 -21
- package/src/core/project-manager.ts +2 -1
- package/src/core/pull-request.ts +480 -0
- package/src/core/state-derivation.ts +18 -14
- package/src/core/worktree.ts +357 -0
- package/src/index.ts +2 -0
- package/src/prompts/amend.ts +15 -9
- package/src/prompts/execution.ts +4 -2
- package/src/prompts/planning.ts +10 -8
- package/src/types/config.ts +6 -0
- package/src/ui/project-picker.ts +110 -10
- package/src/utils/paths.ts +129 -214
- package/src/utils/terminal-symbols.ts +3 -3
- package/src/utils/validation.ts +2 -9
- package/tests/unit/amend-prompt.test.ts +85 -0
- package/tests/unit/claude-runner.test.ts +9 -9
- package/tests/unit/commit-planning-artifacts-worktree.test.ts +327 -0
- package/tests/unit/commit-planning-artifacts.test.ts +303 -35
- package/tests/unit/dependency-integration.test.ts +95 -95
- package/tests/unit/do-blocked-tasks.test.ts +53 -53
- package/tests/unit/do-command.test.ts +39 -132
- package/tests/unit/do-rerun.test.ts +65 -65
- package/tests/unit/do-worktree-cleanup.test.ts +151 -0
- package/tests/unit/execution-prompt.test.ts +71 -60
- package/tests/unit/failure-history.test.ts +19 -19
- package/tests/unit/git-commit-helpers.test.ts +5 -5
- package/tests/unit/git-stash.test.ts +4 -4
- package/tests/unit/migrate-command.test.ts +197 -0
- package/tests/unit/outcome-content.test.ts +20 -20
- package/tests/unit/paths.test.ts +269 -467
- package/tests/unit/plan-amend-worktree-recreate.test.ts +246 -0
- package/tests/unit/plan-command.test.ts +103 -103
- package/tests/unit/planning-prompt.test.ts +41 -4
- package/tests/unit/post-execution-picker.test.ts +251 -0
- package/tests/unit/project-manager.test.ts +20 -8
- package/tests/unit/project-picker.test.ts +425 -42
- package/tests/unit/pull-request.test.ts +852 -0
- package/tests/unit/state-derivation.test.ts +138 -137
- package/tests/unit/status-command.test.ts +344 -76
- package/tests/unit/terminal-symbols.test.ts +4 -4
- package/tests/unit/worktree-integration.test.ts +405 -0
- package/tests/unit/worktree.test.ts +523 -0
- package/tests/unit/do-multiproject.test.ts +0 -270
- /package/RAF/{001-raf-task-improvements → aaaaab-raf-task-improvements}/input.md +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/001-add-decisions-folder.md → aaaaab-raf-task-improvements/outcomes/01-add-decisions-folder.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/002-fix-write-error-on-shutdown.md → aaaaab-raf-task-improvements/outcomes/02-fix-write-error-on-shutdown.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/003-stash-changes-on-failure.md → aaaaab-raf-task-improvements/outcomes/03-stash-changes-on-failure.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/004-add-project-name-to-commits.md → aaaaab-raf-task-improvements/outcomes/04-add-project-name-to-commits.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/005-add-running-time-display.md → aaaaab-raf-task-improvements/outcomes/05-add-running-time-display.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/006-add-task-name-to-logs.md → aaaaab-raf-task-improvements/outcomes/06-add-task-name-to-logs.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/007-show-model-at-task-start.md → aaaaab-raf-task-improvements/outcomes/07-show-model-at-task-start.md} +0 -0
- /package/RAF/{001-raf-task-improvements/outcomes/009-remove-editor-placeholder-text.md → aaaaab-raf-task-improvements/outcomes/09-remove-editor-placeholder-text.md} +0 -0
- /package/RAF/{001-raf-task-improvements → aaaaab-raf-task-improvements}/outcomes/SUMMARY.md +0 -0
- /package/RAF/{001-raf-task-improvements/plans/001-add-decisions-folder.md → aaaaab-raf-task-improvements/plans/01-add-decisions-folder.md} +0 -0
- /package/RAF/{001-raf-task-improvements/plans/002-fix-write-error-on-shutdown.md → aaaaab-raf-task-improvements/plans/02-fix-write-error-on-shutdown.md} +0 -0
- /package/RAF/{001-raf-task-improvements/plans/003-stash-changes-on-failure.md → aaaaab-raf-task-improvements/plans/03-stash-changes-on-failure.md} +0 -0
- /package/RAF/{001-raf-task-improvements/plans/004-add-project-name-to-commits.md → aaaaab-raf-task-improvements/plans/04-add-project-name-to-commits.md} +0 -0
- /package/RAF/{001-raf-task-improvements/plans/005-add-running-time-display.md → aaaaab-raf-task-improvements/plans/05-add-running-time-display.md} +0 -0
- /package/RAF/{001-raf-task-improvements/plans/006-add-task-name-to-logs.md → aaaaab-raf-task-improvements/plans/06-add-task-name-to-logs.md} +0 -0
- /package/RAF/{001-raf-task-improvements/plans/009-remove-editor-placeholder-text.md → aaaaab-raf-task-improvements/plans/09-remove-editor-placeholder-text.md} +0 -0
- /package/RAF/{002-raf-task-improvements-execution → aaaaac-raf-task-improvements-execution}/decisions/DECISIONS.md +0 -0
- /package/RAF/{002-raf-task-improvements-execution → aaaaac-raf-task-improvements-execution}/input.md +0 -0
- /package/RAF/{002-raf-task-improvements-execution/outcomes/001-commit-show-model-at-task-start.md → aaaaac-raf-task-improvements-execution/outcomes/01-commit-show-model-at-task-start.md} +0 -0
- /package/RAF/{002-raf-task-improvements-execution/outcomes/002-delete-skipped-plan.md → aaaaac-raf-task-improvements-execution/outcomes/02-delete-skipped-plan.md} +0 -0
- /package/RAF/{002-raf-task-improvements-execution → aaaaac-raf-task-improvements-execution}/outcomes/SUMMARY.md +0 -0
- /package/RAF/{002-raf-task-improvements-execution/plans/001-commit-show-model-at-task-start.md → aaaaac-raf-task-improvements-execution/plans/01-commit-show-model-at-task-start.md} +0 -0
- /package/RAF/{002-raf-task-improvements-execution/plans/002-delete-skipped-plan.md → aaaaac-raf-task-improvements-execution/plans/02-delete-skipped-plan.md} +0 -0
- /package/RAF/{003-multi-project-execution → aaaaad-multi-project-execution}/decisions/DECISIONS.md +0 -0
- /package/RAF/{003-multi-project-execution → aaaaad-multi-project-execution}/input.md +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/001-remove-state-json.md → aaaaad-multi-project-execution/outcomes/01-remove-state-json.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/002-update-raf-status.md → aaaaad-multi-project-execution/outcomes/02-update-raf-status.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/003-simplify-git-logic.md → aaaaad-multi-project-execution/outcomes/03-simplify-git-logic.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/004-auto-commit-planning.md → aaaaad-multi-project-execution/outcomes/04-auto-commit-planning.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/005-rerun-failed-tasks.md → aaaaad-multi-project-execution/outcomes/05-rerun-failed-tasks.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/006-multi-project-execution.md → aaaaad-multi-project-execution/outcomes/06-multi-project-execution.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/007-verify-timeout.md → aaaaad-multi-project-execution/outcomes/07-verify-timeout.md} +0 -0
- /package/RAF/{003-multi-project-execution/outcomes/008-move-decisions-file.md → aaaaad-multi-project-execution/outcomes/08-move-decisions-file.md} +0 -0
- /package/RAF/{003-multi-project-execution → aaaaad-multi-project-execution}/outcomes/SUMMARY.md +0 -0
- /package/RAF/{003-multi-project-execution/plans/001-remove-state-json.md → aaaaad-multi-project-execution/plans/01-remove-state-json.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/002-update-raf-status.md → aaaaad-multi-project-execution/plans/02-update-raf-status.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/003-simplify-git-logic.md → aaaaad-multi-project-execution/plans/03-simplify-git-logic.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/004-auto-commit-planning.md → aaaaad-multi-project-execution/plans/04-auto-commit-planning.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/005-rerun-failed-tasks.md → aaaaad-multi-project-execution/plans/05-rerun-failed-tasks.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/006-multi-project-execution.md → aaaaad-multi-project-execution/plans/06-multi-project-execution.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/007-verify-timeout.md → aaaaad-multi-project-execution/plans/07-verify-timeout.md} +0 -0
- /package/RAF/{003-multi-project-execution/plans/008-move-decisions-file.md → aaaaad-multi-project-execution/plans/08-move-decisions-file.md} +0 -0
- /package/RAF/{004-task-naming-optimization → aaaaae-task-naming-optimization}/decisions.md +0 -0
- /package/RAF/{004-task-naming-optimization → aaaaae-task-naming-optimization}/input.md +0 -0
- /package/RAF/{004-task-naming-optimization/outcomes/001-remove-summary-file.md → aaaaae-task-naming-optimization/outcomes/01-remove-summary-file.md} +0 -0
- /package/RAF/{004-task-naming-optimization/outcomes/002-base36-project-numbering.md → aaaaae-task-naming-optimization/outcomes/02-base36-project-numbering.md} +0 -0
- /package/RAF/{004-task-naming-optimization/outcomes/003-improve-haiku-prompt.md → aaaaae-task-naming-optimization/outcomes/03-improve-haiku-prompt.md} +0 -0
- /package/RAF/{004-task-naming-optimization → aaaaae-task-naming-optimization}/outcomes/SUMMARY.md +0 -0
- /package/RAF/{004-task-naming-optimization/plans/001-remove-summary-file.md → aaaaae-task-naming-optimization/plans/01-remove-summary-file.md} +0 -0
- /package/RAF/{004-task-naming-optimization/plans/002-base36-project-numbering.md → aaaaae-task-naming-optimization/plans/02-base36-project-numbering.md} +0 -0
- /package/RAF/{004-task-naming-optimization/plans/003-improve-haiku-prompt.md → aaaaae-task-naming-optimization/plans/03-improve-haiku-prompt.md} +0 -0
- /package/RAF/{005-task-naming-improvements → aaaaaf-task-naming-improvements}/decisions.md +0 -0
- /package/RAF/{005-task-naming-improvements → aaaaaf-task-naming-improvements}/input.md +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/001-enhance-identifier-resolution.md → aaaaaf-task-naming-improvements/outcomes/01-enhance-identifier-resolution.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/002-add-identifier-support-to-status.md → aaaaaf-task-naming-improvements/outcomes/02-add-identifier-support-to-status.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/003-update-do-for-full-folder-names.md → aaaaaf-task-naming-improvements/outcomes/03-update-do-for-full-folder-names.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/004-implement-amend-flag-for-plan.md → aaaaaf-task-naming-improvements/outcomes/04-implement-amend-flag-for-plan.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/005-commit-outcomes-on-complete.md → aaaaaf-task-naming-improvements/outcomes/05-commit-outcomes-on-complete.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/006-update-execution-prompt-commit-schema.md → aaaaaf-task-naming-improvements/outcomes/06-update-execution-prompt-commit-schema.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/007-allow-pending-task-amendments.md → aaaaaf-task-naming-improvements/outcomes/07-allow-pending-task-amendments.md} +0 -0
- /package/RAF/{005-task-naming-improvements/outcomes/008-fix-timeout-label.md → aaaaaf-task-naming-improvements/outcomes/08-fix-timeout-label.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/001-enhance-identifier-resolution.md → aaaaaf-task-naming-improvements/plans/01-enhance-identifier-resolution.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/002-add-identifier-support-to-status.md → aaaaaf-task-naming-improvements/plans/02-add-identifier-support-to-status.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/003-update-do-for-full-folder-names.md → aaaaaf-task-naming-improvements/plans/03-update-do-for-full-folder-names.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/004-implement-amend-flag-for-plan.md → aaaaaf-task-naming-improvements/plans/04-implement-amend-flag-for-plan.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/005-commit-outcomes-on-complete.md → aaaaaf-task-naming-improvements/plans/05-commit-outcomes-on-complete.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/006-update-execution-prompt-commit-schema.md → aaaaaf-task-naming-improvements/plans/06-update-execution-prompt-commit-schema.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/007-allow-pending-task-amendments.md → aaaaaf-task-naming-improvements/plans/07-allow-pending-task-amendments.md} +0 -0
- /package/RAF/{005-task-naming-improvements/plans/008-fix-timeout-label.md → aaaaaf-task-naming-improvements/plans/08-fix-timeout-label.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers → aaaaag-fix-double-summary-headers}/decisions.md +0 -0
- /package/RAF/{006-fix-double-summary-headers → aaaaag-fix-double-summary-headers}/input.md +0 -0
- /package/RAF/{006-fix-double-summary-headers/outcomes/001-fix-double-summary-headers.md → aaaaag-fix-double-summary-headers/outcomes/01-fix-double-summary-headers.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/outcomes/002-update-readme-for-npm.md → aaaaag-fix-double-summary-headers/outcomes/02-update-readme-for-npm.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/outcomes/003-npm-publish-instructions.md → aaaaag-fix-double-summary-headers/outcomes/03-npm-publish-instructions.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/outcomes/004-flexible-project-lookup.md → aaaaag-fix-double-summary-headers/outcomes/04-flexible-project-lookup.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/plans/001-fix-double-summary-headers.md → aaaaag-fix-double-summary-headers/plans/01-fix-double-summary-headers.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/plans/002-update-readme-for-npm.md → aaaaag-fix-double-summary-headers/plans/02-update-readme-for-npm.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/plans/003-npm-publish-instructions.md → aaaaag-fix-double-summary-headers/plans/03-npm-publish-instructions.md} +0 -0
- /package/RAF/{006-fix-double-summary-headers/plans/004-flexible-project-lookup.md → aaaaag-fix-double-summary-headers/plans/04-flexible-project-lookup.md} +0 -0
- /package/RAF/{007-improve-outcome-format → aaaaah-improve-outcome-format}/decisions.md +0 -0
- /package/RAF/{007-improve-outcome-format → aaaaah-improve-outcome-format}/input.md +0 -0
- /package/RAF/{007-improve-outcome-format/outcomes/001-update-execution-prompt.md → aaaaah-improve-outcome-format/outcomes/01-update-execution-prompt.md} +0 -0
- /package/RAF/{007-improve-outcome-format/outcomes/002-update-state-derivation.md → aaaaah-improve-outcome-format/outcomes/02-update-state-derivation.md} +0 -0
- /package/RAF/{007-improve-outcome-format/outcomes/003-update-do-command-outcome-handling.md → aaaaah-improve-outcome-format/outcomes/03-update-do-command-outcome-handling.md} +0 -0
- /package/RAF/{007-improve-outcome-format/outcomes/004-implement-failure-analysis.md → aaaaah-improve-outcome-format/outcomes/04-implement-failure-analysis.md} +0 -0
- /package/RAF/{007-improve-outcome-format/outcomes/005-update-documentation.md → aaaaah-improve-outcome-format/outcomes/05-update-documentation.md} +0 -0
- /package/RAF/{007-improve-outcome-format/plans/001-update-execution-prompt.md → aaaaah-improve-outcome-format/plans/01-update-execution-prompt.md} +0 -0
- /package/RAF/{007-improve-outcome-format/plans/002-update-state-derivation.md → aaaaah-improve-outcome-format/plans/02-update-state-derivation.md} +0 -0
- /package/RAF/{007-improve-outcome-format/plans/003-update-do-command-outcome-handling.md → aaaaah-improve-outcome-format/plans/03-update-do-command-outcome-handling.md} +0 -0
- /package/RAF/{007-improve-outcome-format/plans/004-implement-failure-analysis.md → aaaaah-improve-outcome-format/plans/04-implement-failure-analysis.md} +0 -0
- /package/RAF/{007-improve-outcome-format/plans/005-update-documentation.md → aaaaah-improve-outcome-format/plans/05-update-documentation.md} +0 -0
- /package/RAF/{008-beautiful-do → aaaaai-beautiful-do}/decisions.md +0 -0
- /package/RAF/{008-beautiful-do → aaaaai-beautiful-do}/input.md +0 -0
- /package/RAF/{008-beautiful-do/outcomes/001-terminal-symbols.md → aaaaai-beautiful-do/outcomes/01-terminal-symbols.md} +0 -0
- /package/RAF/{008-beautiful-do/outcomes/002-refactor-do-output.md → aaaaai-beautiful-do/outcomes/02-refactor-do-output.md} +0 -0
- /package/RAF/{008-beautiful-do/outcomes/003-refactor-status-output.md → aaaaai-beautiful-do/outcomes/03-refactor-status-output.md} +0 -0
- /package/RAF/{008-beautiful-do/outcomes/004-simplify-logger.md → aaaaai-beautiful-do/outcomes/04-simplify-logger.md} +0 -0
- /package/RAF/{008-beautiful-do/outcomes/005-add-tests.md → aaaaai-beautiful-do/outcomes/05-add-tests.md} +0 -0
- /package/RAF/{008-beautiful-do/plans/001-terminal-symbols.md → aaaaai-beautiful-do/plans/01-terminal-symbols.md} +0 -0
- /package/RAF/{008-beautiful-do/plans/002-refactor-do-output.md → aaaaai-beautiful-do/plans/02-refactor-do-output.md} +0 -0
- /package/RAF/{008-beautiful-do/plans/003-refactor-status-output.md → aaaaai-beautiful-do/plans/03-refactor-status-output.md} +0 -0
- /package/RAF/{008-beautiful-do/plans/004-simplify-logger.md → aaaaai-beautiful-do/plans/04-simplify-logger.md} +0 -0
- /package/RAF/{008-beautiful-do/plans/005-add-tests.md → aaaaai-beautiful-do/plans/05-add-tests.md} +0 -0
- /package/RAF/{009-system-promt-ammend → aaaaaj-system-promt-ammend}/decisions.md +0 -0
- /package/RAF/{009-system-promt-ammend → aaaaaj-system-promt-ammend}/input.md +0 -0
- /package/RAF/{009-system-promt-ammend/outcomes/001-model-override.md → aaaaaj-system-promt-ammend/outcomes/01-model-override.md} +0 -0
- /package/RAF/{009-system-promt-ammend/outcomes/002-system-prompt-append.md → aaaaaj-system-promt-ammend/outcomes/02-system-prompt-append.md} +0 -0
- /package/RAF/{009-system-promt-ammend/outcomes/003-retry-context.md → aaaaaj-system-promt-ammend/outcomes/03-retry-context.md} +0 -0
- /package/RAF/{009-system-promt-ammend/plans/001-model-override.md → aaaaaj-system-promt-ammend/plans/01-model-override.md} +0 -0
- /package/RAF/{009-system-promt-ammend/plans/002-system-prompt-append.md → aaaaaj-system-promt-ammend/plans/02-system-prompt-append.md} +0 -0
- /package/RAF/{009-system-promt-ammend/plans/003-retry-context.md → aaaaaj-system-promt-ammend/plans/03-retry-context.md} +0 -0
- /package/RAF/{010-outcome-marker-fallback → aaaabk-outcome-marker-fallback}/decisions.md +0 -0
- /package/RAF/{010-outcome-marker-fallback → aaaabk-outcome-marker-fallback}/input.md +0 -0
- /package/RAF/{010-outcome-marker-fallback/outcomes/001-outcome-file-marker-fallback.md → aaaabk-outcome-marker-fallback/outcomes/01-outcome-file-marker-fallback.md} +0 -0
- /package/RAF/{010-outcome-marker-fallback/outcomes/002-creative-project-naming.md → aaaabk-outcome-marker-fallback/outcomes/02-creative-project-naming.md} +0 -0
- /package/RAF/{010-outcome-marker-fallback/plans/001-outcome-file-marker-fallback.md → aaaabk-outcome-marker-fallback/plans/01-outcome-file-marker-fallback.md} +0 -0
- /package/RAF/{010-outcome-marker-fallback/plans/002-creative-project-naming.md → aaaabk-outcome-marker-fallback/plans/02-creative-project-naming.md} +0 -0
- /package/RAF/{011-do-task-in-commit → aaaabl-do-task-in-commit}/decisions.md +0 -0
- /package/RAF/{011-do-task-in-commit → aaaabl-do-task-in-commit}/input.md +0 -0
- /package/RAF/{011-do-task-in-commit/outcomes/001-update-execution-prompt.md → aaaabl-do-task-in-commit/outcomes/01-update-execution-prompt.md} +0 -0
- /package/RAF/{011-do-task-in-commit/outcomes/002-update-tests.md → aaaabl-do-task-in-commit/outcomes/02-update-tests.md} +0 -0
- /package/RAF/{011-do-task-in-commit/outcomes/003-update-documentation.md → aaaabl-do-task-in-commit/outcomes/03-update-documentation.md} +0 -0
- /package/RAF/{011-do-task-in-commit/plans/001-update-execution-prompt.md → aaaabl-do-task-in-commit/plans/01-update-execution-prompt.md} +0 -0
- /package/RAF/{011-do-task-in-commit/plans/002-update-tests.md → aaaabl-do-task-in-commit/plans/02-update-tests.md} +0 -0
- /package/RAF/{011-do-task-in-commit/plans/003-update-documentation.md → aaaabl-do-task-in-commit/plans/03-update-documentation.md} +0 -0
- /package/RAF/{012-name-picker-buffet → aaaabm-name-picker-buffet}/decisions.md +0 -0
- /package/RAF/{012-name-picker-buffet → aaaabm-name-picker-buffet}/input.md +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/001-name-picker-for-raf-plan.md → aaaabm-name-picker-buffet/outcomes/01-name-picker-for-raf-plan.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/002-interactive-project-picker-for-raf-do.md → aaaabm-name-picker-buffet/outcomes/02-interactive-project-picker-for-raf-do.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/003-raf-status-truncation.md → aaaabm-name-picker-buffet/outcomes/03-raf-status-truncation.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/004-failure-reason-details.md → aaaabm-name-picker-buffet/outcomes/04-failure-reason-details.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/005-remove-raf-commits.md → aaaabm-name-picker-buffet/outcomes/05-remove-raf-commits.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/006-update-execution-prompt-for-commits.md → aaaabm-name-picker-buffet/outcomes/06-update-execution-prompt-for-commits.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/007-fix-plan-mode-user-prompt.md → aaaabm-name-picker-buffet/outcomes/07-fix-plan-mode-user-prompt.md} +0 -0
- /package/RAF/{012-name-picker-buffet/outcomes/008-add-auto-flag-for-plan-mode.md → aaaabm-name-picker-buffet/outcomes/08-add-auto-flag-for-plan-mode.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/001-name-picker-for-raf-plan.md → aaaabm-name-picker-buffet/plans/01-name-picker-for-raf-plan.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/002-interactive-project-picker-for-raf-do.md → aaaabm-name-picker-buffet/plans/02-interactive-project-picker-for-raf-do.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/003-raf-status-truncation.md → aaaabm-name-picker-buffet/plans/03-raf-status-truncation.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/004-failure-reason-details.md → aaaabm-name-picker-buffet/plans/04-failure-reason-details.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/005-remove-raf-commits.md → aaaabm-name-picker-buffet/plans/05-remove-raf-commits.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/006-update-execution-prompt-for-commits.md → aaaabm-name-picker-buffet/plans/06-update-execution-prompt-for-commits.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/007-fix-plan-mode-user-prompt.md → aaaabm-name-picker-buffet/plans/07-fix-plan-mode-user-prompt.md} +0 -0
- /package/RAF/{012-name-picker-buffet/plans/008-add-auto-flag-for-plan-mode.md → aaaabm-name-picker-buffet/plans/08-add-auto-flag-for-plan-mode.md} +0 -0
- /package/RAF/{013-dependencies-watchdog → aaaabn-dependencies-watchdog}/decisions.md +0 -0
- /package/RAF/{013-dependencies-watchdog → aaaabn-dependencies-watchdog}/input.md +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/001-define-dependency-syntax.md → aaaabn-dependencies-watchdog/outcomes/01-define-dependency-syntax.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/002-update-planning-prompts.md → aaaabn-dependencies-watchdog/outcomes/02-update-planning-prompts.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/003-parse-dependencies-update-state.md → aaaabn-dependencies-watchdog/outcomes/03-parse-dependencies-update-state.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/004-implement-dependency-checking-in-do.md → aaaabn-dependencies-watchdog/outcomes/04-implement-dependency-checking-in-do.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/005-update-execution-prompts.md → aaaabn-dependencies-watchdog/outcomes/05-update-execution-prompts.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/006-add-tests.md → aaaabn-dependencies-watchdog/outcomes/06-add-tests.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/007-add-act-alias.md → aaaabn-dependencies-watchdog/outcomes/07-add-act-alias.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/outcomes/008-add-exit-message.md → aaaabn-dependencies-watchdog/outcomes/08-add-exit-message.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/001-define-dependency-syntax.md → aaaabn-dependencies-watchdog/plans/01-define-dependency-syntax.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/002-update-planning-prompts.md → aaaabn-dependencies-watchdog/plans/02-update-planning-prompts.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/003-parse-dependencies-update-state.md → aaaabn-dependencies-watchdog/plans/03-parse-dependencies-update-state.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/004-implement-dependency-checking-in-do.md → aaaabn-dependencies-watchdog/plans/04-implement-dependency-checking-in-do.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/005-update-execution-prompts.md → aaaabn-dependencies-watchdog/plans/05-update-execution-prompts.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/006-add-tests.md → aaaabn-dependencies-watchdog/plans/06-add-tests.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/007-add-act-alias.md → aaaabn-dependencies-watchdog/plans/07-add-act-alias.md} +0 -0
- /package/RAF/{013-dependencies-watchdog/plans/008-add-exit-message.md → aaaabn-dependencies-watchdog/plans/08-add-exit-message.md} +0 -0
- /package/RAF/{014-watchdog → aaaabo-watchdog}/decisions.md +0 -0
- /package/RAF/{014-watchdog → aaaabo-watchdog}/input.md +0 -0
- /package/RAF/{014-watchdog/outcomes/001-amend-flag-position.md → aaaabo-watchdog/outcomes/01-amend-flag-position.md} +0 -0
- /package/RAF/{014-watchdog/outcomes/002-details-only-on-failure.md → aaaabo-watchdog/outcomes/02-details-only-on-failure.md} +0 -0
- /package/RAF/{014-watchdog/plans/001-amend-flag-position.md → aaaabo-watchdog/plans/01-amend-flag-position.md} +0 -0
- /package/RAF/{014-watchdog/plans/002-details-only-on-failure.md → aaaabo-watchdog/plans/02-details-only-on-failure.md} +0 -0
- /package/RAF/{015-name-lottery → aaaabp-name-lottery}/decisions.md +0 -0
- /package/RAF/{015-name-lottery → aaaabp-name-lottery}/input.md +0 -0
- /package/RAF/{015-name-lottery/outcomes/001-auto-pick-project-name.md → aaaabp-name-lottery/outcomes/01-auto-pick-project-name.md} +0 -0
- /package/RAF/{015-name-lottery/outcomes/002-mention-plan-files-in-commit.md → aaaabp-name-lottery/outcomes/02-mention-plan-files-in-commit.md} +0 -0
- /package/RAF/{015-name-lottery/outcomes/003-fix-input-md-in-amend-flow.md → aaaabp-name-lottery/outcomes/03-fix-input-md-in-amend-flow.md} +0 -0
- /package/RAF/{015-name-lottery/plans/001-auto-pick-project-name.md → aaaabp-name-lottery/plans/01-auto-pick-project-name.md} +0 -0
- /package/RAF/{015-name-lottery/plans/002-mention-plan-files-in-commit.md → aaaabp-name-lottery/plans/02-mention-plan-files-in-commit.md} +0 -0
- /package/RAF/{015-name-lottery/plans/003-fix-input-md-in-amend-flow.md → aaaabp-name-lottery/plans/03-fix-input-md-in-amend-flow.md} +0 -0
- /package/RAF/{016-planning-scalpel → aaaabq-planning-scalpel}/decisions.md +0 -0
- /package/RAF/{016-planning-scalpel → aaaabq-planning-scalpel}/input.md +0 -0
- /package/RAF/{016-planning-scalpel/outcomes/001-update-git-commit-instructions.md → aaaabq-planning-scalpel/outcomes/01-update-git-commit-instructions.md} +0 -0
- /package/RAF/{016-planning-scalpel/plans/001-update-git-commit-instructions.md → aaaabq-planning-scalpel/plans/01-update-git-commit-instructions.md} +0 -0
- /package/RAF/{017-decision-vault → aaaabr-decision-vault}/decisions.md +0 -0
- /package/RAF/{017-decision-vault → aaaabr-decision-vault}/input.md +0 -0
- /package/RAF/{017-decision-vault/outcomes/001-create-git-commit-utility.md → aaaabr-decision-vault/outcomes/01-create-git-commit-utility.md} +0 -0
- /package/RAF/{017-decision-vault/outcomes/002-integrate-commit-into-plan.md → aaaabr-decision-vault/outcomes/02-integrate-commit-into-plan.md} +0 -0
- /package/RAF/{017-decision-vault/outcomes/003-add-tests-for-planning-commit.md → aaaabr-decision-vault/outcomes/03-add-tests-for-planning-commit.md} +0 -0
- /package/RAF/{017-decision-vault/plans/001-create-git-commit-utility.md → aaaabr-decision-vault/plans/01-create-git-commit-utility.md} +0 -0
- /package/RAF/{017-decision-vault/plans/002-integrate-commit-into-plan.md → aaaabr-decision-vault/plans/02-integrate-commit-into-plan.md} +0 -0
- /package/RAF/{017-decision-vault/plans/003-add-tests-for-planning-commit.md → aaaabr-decision-vault/plans/03-add-tests-for-planning-commit.md} +0 -0
- /package/RAF/{018-workflow-forge → aaaabs-workflow-forge}/decisions.md +0 -0
- /package/RAF/{018-workflow-forge → aaaabs-workflow-forge}/input.md +0 -0
- /package/RAF/{018-workflow-forge/outcomes/001-add-task-number-progress.md → aaaabs-workflow-forge/outcomes/01-add-task-number-progress.md} +0 -0
- /package/RAF/{018-workflow-forge/outcomes/002-update-plan-do-prompts.md → aaaabs-workflow-forge/outcomes/02-update-plan-do-prompts.md} +0 -0
- /package/RAF/{018-workflow-forge/plans/001-add-task-number-progress.md → aaaabs-workflow-forge/plans/01-add-task-number-progress.md} +0 -0
- /package/RAF/{018-workflow-forge/plans/002-update-plan-do-prompts.md → aaaabs-workflow-forge/plans/02-update-plan-do-prompts.md} +0 -0
- /package/RAF/{019-verbose-chronicle → aaaabt-verbose-chronicle}/decisions.md +0 -0
- /package/RAF/{019-verbose-chronicle → aaaabt-verbose-chronicle}/input.md +0 -0
- /package/RAF/{019-verbose-chronicle/outcomes/001-amend-iteration-references.md → aaaabt-verbose-chronicle/outcomes/01-amend-iteration-references.md} +0 -0
- /package/RAF/{019-verbose-chronicle/outcomes/002-verbose-task-name-display.md → aaaabt-verbose-chronicle/outcomes/02-verbose-task-name-display.md} +0 -0
- /package/RAF/{019-verbose-chronicle/outcomes/003-verbose-streaming-fix.md → aaaabt-verbose-chronicle/outcomes/03-verbose-streaming-fix.md} +0 -0
- /package/RAF/{019-verbose-chronicle/outcomes/004-commit-verification-before-halt.md → aaaabt-verbose-chronicle/outcomes/04-commit-verification-before-halt.md} +0 -0
- /package/RAF/{019-verbose-chronicle/plans/001-amend-iteration-references.md → aaaabt-verbose-chronicle/plans/01-amend-iteration-references.md} +0 -0
- /package/RAF/{019-verbose-chronicle/plans/002-verbose-task-name-display.md → aaaabt-verbose-chronicle/plans/02-verbose-task-name-display.md} +0 -0
- /package/RAF/{019-verbose-chronicle/plans/003-verbose-streaming-fix.md → aaaabt-verbose-chronicle/plans/03-verbose-streaming-fix.md} +0 -0
- /package/RAF/{019-verbose-chronicle/plans/004-commit-verification-before-halt.md → aaaabt-verbose-chronicle/plans/04-commit-verification-before-halt.md} +0 -0
|
@@ -18,7 +18,7 @@ describe('do command rerun functionality', () => {
|
|
|
18
18
|
|
|
19
19
|
beforeEach(() => {
|
|
20
20
|
tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'raf-do-rerun-test-'));
|
|
21
|
-
projectPath = path.join(tempDir, '
|
|
21
|
+
projectPath = path.join(tempDir, 'aaaaab-test-project');
|
|
22
22
|
fs.mkdirSync(projectPath, { recursive: true });
|
|
23
23
|
fs.mkdirSync(path.join(projectPath, 'plans'), { recursive: true });
|
|
24
24
|
fs.mkdirSync(path.join(projectPath, 'outcomes'), { recursive: true });
|
|
@@ -32,102 +32,102 @@ describe('do command rerun functionality', () => {
|
|
|
32
32
|
describe('skip completed tasks', () => {
|
|
33
33
|
it('should skip tasks with SUCCESS outcome', () => {
|
|
34
34
|
// Set up plans
|
|
35
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
36
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
37
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
35
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
36
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
37
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '03-task.md'), '# Task 3');
|
|
38
38
|
|
|
39
39
|
// Mark first task as complete
|
|
40
40
|
fs.writeFileSync(
|
|
41
|
-
path.join(projectPath, 'outcomes', '
|
|
42
|
-
'# Task
|
|
41
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
42
|
+
'# Task 01 - Completed\n\n<promise>COMPLETE</promise>'
|
|
43
43
|
);
|
|
44
44
|
|
|
45
45
|
const state = deriveProjectState(projectPath);
|
|
46
46
|
const nextTask = getNextExecutableTask(state);
|
|
47
47
|
|
|
48
|
-
expect(nextTask?.id).toBe('
|
|
48
|
+
expect(nextTask?.id).toBe('02');
|
|
49
49
|
expect(nextTask?.status).toBe('pending');
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
it('should skip multiple completed tasks', () => {
|
|
53
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
54
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
55
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
53
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
54
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
55
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '03-task.md'), '# Task 3');
|
|
56
56
|
|
|
57
57
|
// Mark first two tasks as complete
|
|
58
58
|
fs.writeFileSync(
|
|
59
|
-
path.join(projectPath, 'outcomes', '
|
|
60
|
-
'# Task
|
|
59
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
60
|
+
'# Task 01 - Completed\n\n<promise>COMPLETE</promise>'
|
|
61
61
|
);
|
|
62
62
|
fs.writeFileSync(
|
|
63
|
-
path.join(projectPath, 'outcomes', '
|
|
64
|
-
'# Task
|
|
63
|
+
path.join(projectPath, 'outcomes', '02-task.md'),
|
|
64
|
+
'# Task 02 - Completed\n\n<promise>COMPLETE</promise>'
|
|
65
65
|
);
|
|
66
66
|
|
|
67
67
|
const state = deriveProjectState(projectPath);
|
|
68
68
|
const nextTask = getNextExecutableTask(state);
|
|
69
69
|
|
|
70
|
-
expect(nextTask?.id).toBe('
|
|
70
|
+
expect(nextTask?.id).toBe('03');
|
|
71
71
|
});
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
describe('retry failed tasks', () => {
|
|
75
75
|
it('should retry tasks with FAILED outcome', () => {
|
|
76
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
77
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
76
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
77
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
78
78
|
|
|
79
79
|
// Mark first task as failed
|
|
80
80
|
fs.writeFileSync(
|
|
81
|
-
path.join(projectPath, 'outcomes', '
|
|
82
|
-
'# Task
|
|
81
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
82
|
+
'# Task 01 - Failed\n\n<promise>FAILED</promise>'
|
|
83
83
|
);
|
|
84
84
|
|
|
85
85
|
const state = deriveProjectState(projectPath);
|
|
86
86
|
const nextTask = getNextExecutableTask(state);
|
|
87
87
|
|
|
88
88
|
// Should return the pending task first, then failed
|
|
89
|
-
expect(nextTask?.id).toBe('
|
|
89
|
+
expect(nextTask?.id).toBe('02');
|
|
90
90
|
expect(nextTask?.status).toBe('pending');
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
it('should retry failed task when no pending tasks remain', () => {
|
|
94
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
95
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
94
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
95
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
96
96
|
|
|
97
97
|
// Mark first as complete, second as failed
|
|
98
98
|
fs.writeFileSync(
|
|
99
|
-
path.join(projectPath, 'outcomes', '
|
|
100
|
-
'# Task
|
|
99
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
100
|
+
'# Task 01 - Completed\n\n<promise>COMPLETE</promise>'
|
|
101
101
|
);
|
|
102
102
|
fs.writeFileSync(
|
|
103
|
-
path.join(projectPath, 'outcomes', '
|
|
104
|
-
'# Task
|
|
103
|
+
path.join(projectPath, 'outcomes', '02-task.md'),
|
|
104
|
+
'# Task 02 - Failed\n\n<promise>FAILED</promise>'
|
|
105
105
|
);
|
|
106
106
|
|
|
107
107
|
const state = deriveProjectState(projectPath);
|
|
108
108
|
const nextTask = getNextExecutableTask(state);
|
|
109
109
|
|
|
110
|
-
expect(nextTask?.id).toBe('
|
|
110
|
+
expect(nextTask?.id).toBe('02');
|
|
111
111
|
expect(nextTask?.status).toBe('failed');
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
|
|
115
115
|
describe('run pending tasks', () => {
|
|
116
116
|
it('should run tasks without outcome files', () => {
|
|
117
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
118
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
117
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
118
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
119
119
|
|
|
120
120
|
const state = deriveProjectState(projectPath);
|
|
121
121
|
const nextTask = getNextExecutableTask(state);
|
|
122
122
|
|
|
123
|
-
expect(nextTask?.id).toBe('
|
|
123
|
+
expect(nextTask?.id).toBe('01');
|
|
124
124
|
expect(nextTask?.status).toBe('pending');
|
|
125
125
|
});
|
|
126
126
|
|
|
127
127
|
it('should handle outcome file without status marker as pending', () => {
|
|
128
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
128
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
129
129
|
fs.writeFileSync(
|
|
130
|
-
path.join(projectPath, 'outcomes', '
|
|
130
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
131
131
|
'# Old format without status marker'
|
|
132
132
|
);
|
|
133
133
|
|
|
@@ -137,8 +137,8 @@ describe('do command rerun functionality', () => {
|
|
|
137
137
|
});
|
|
138
138
|
|
|
139
139
|
it('should handle empty outcome file as pending', () => {
|
|
140
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
141
|
-
fs.writeFileSync(path.join(projectPath, 'outcomes', '
|
|
140
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
141
|
+
fs.writeFileSync(path.join(projectPath, 'outcomes', '01-task.md'), '');
|
|
142
142
|
|
|
143
143
|
const state = deriveProjectState(projectPath);
|
|
144
144
|
|
|
@@ -148,16 +148,16 @@ describe('do command rerun functionality', () => {
|
|
|
148
148
|
|
|
149
149
|
describe('all complete detection', () => {
|
|
150
150
|
it('should detect all tasks completed', () => {
|
|
151
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
152
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
151
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
152
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
153
153
|
|
|
154
154
|
fs.writeFileSync(
|
|
155
|
-
path.join(projectPath, 'outcomes', '
|
|
156
|
-
'# Task
|
|
155
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
156
|
+
'# Task 01 - Completed\n\n<promise>COMPLETE</promise>'
|
|
157
157
|
);
|
|
158
158
|
fs.writeFileSync(
|
|
159
|
-
path.join(projectPath, 'outcomes', '
|
|
160
|
-
'# Task
|
|
159
|
+
path.join(projectPath, 'outcomes', '02-task.md'),
|
|
160
|
+
'# Task 02 - Completed\n\n<promise>COMPLETE</promise>'
|
|
161
161
|
);
|
|
162
162
|
|
|
163
163
|
const state = deriveProjectState(projectPath);
|
|
@@ -167,10 +167,10 @@ describe('do command rerun functionality', () => {
|
|
|
167
167
|
});
|
|
168
168
|
|
|
169
169
|
it('should not report complete when failed tasks exist', () => {
|
|
170
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
170
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
171
171
|
fs.writeFileSync(
|
|
172
|
-
path.join(projectPath, 'outcomes', '
|
|
173
|
-
'# Task
|
|
172
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
173
|
+
'# Task 01 - Failed\n\n<promise>FAILED</promise>'
|
|
174
174
|
);
|
|
175
175
|
|
|
176
176
|
const state = deriveProjectState(projectPath);
|
|
@@ -186,22 +186,22 @@ describe('do command rerun functionality', () => {
|
|
|
186
186
|
* and returns tasks that haven't been completed in this session.
|
|
187
187
|
*/
|
|
188
188
|
it('should identify all tasks for force mode execution', () => {
|
|
189
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
190
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
191
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
189
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
190
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
191
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '03-task.md'), '# Task 3');
|
|
192
192
|
|
|
193
193
|
// All tasks completed
|
|
194
194
|
fs.writeFileSync(
|
|
195
|
-
path.join(projectPath, 'outcomes', '
|
|
196
|
-
'# Task
|
|
195
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
196
|
+
'# Task 01 - Completed\n\n<promise>COMPLETE</promise>'
|
|
197
197
|
);
|
|
198
198
|
fs.writeFileSync(
|
|
199
|
-
path.join(projectPath, 'outcomes', '
|
|
200
|
-
'# Task
|
|
199
|
+
path.join(projectPath, 'outcomes', '02-task.md'),
|
|
200
|
+
'# Task 02 - Completed\n\n<promise>COMPLETE</promise>'
|
|
201
201
|
);
|
|
202
202
|
fs.writeFileSync(
|
|
203
|
-
path.join(projectPath, 'outcomes', '
|
|
204
|
-
'# Task
|
|
203
|
+
path.join(projectPath, 'outcomes', '03-task.md'),
|
|
204
|
+
'# Task 03 - Completed\n\n<promise>COMPLETE</promise>'
|
|
205
205
|
);
|
|
206
206
|
|
|
207
207
|
const state = deriveProjectState(projectPath);
|
|
@@ -224,19 +224,19 @@ describe('do command rerun functionality', () => {
|
|
|
224
224
|
return null;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
// First iteration - should get task
|
|
227
|
+
// First iteration - should get task 01
|
|
228
228
|
let task = getNextForceTask(state, completedInSession);
|
|
229
|
-
expect(task?.id).toBe('
|
|
229
|
+
expect(task?.id).toBe('01');
|
|
230
230
|
completedInSession.add(task!.id);
|
|
231
231
|
|
|
232
|
-
// Second iteration - should get task
|
|
232
|
+
// Second iteration - should get task 02
|
|
233
233
|
task = getNextForceTask(state, completedInSession);
|
|
234
|
-
expect(task?.id).toBe('
|
|
234
|
+
expect(task?.id).toBe('02');
|
|
235
235
|
completedInSession.add(task!.id);
|
|
236
236
|
|
|
237
|
-
// Third iteration - should get task
|
|
237
|
+
// Third iteration - should get task 03
|
|
238
238
|
task = getNextForceTask(state, completedInSession);
|
|
239
|
-
expect(task?.id).toBe('
|
|
239
|
+
expect(task?.id).toBe('03');
|
|
240
240
|
completedInSession.add(task!.id);
|
|
241
241
|
|
|
242
242
|
// Fourth iteration - no more tasks
|
|
@@ -247,23 +247,23 @@ describe('do command rerun functionality', () => {
|
|
|
247
247
|
|
|
248
248
|
describe('task status logging', () => {
|
|
249
249
|
it('should identify failed tasks for retry logging', () => {
|
|
250
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
251
|
-
fs.writeFileSync(path.join(projectPath, 'plans', '
|
|
250
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '01-task.md'), '# Task 1');
|
|
251
|
+
fs.writeFileSync(path.join(projectPath, 'plans', '02-task.md'), '# Task 2');
|
|
252
252
|
|
|
253
253
|
fs.writeFileSync(
|
|
254
|
-
path.join(projectPath, 'outcomes', '
|
|
255
|
-
'# Task
|
|
254
|
+
path.join(projectPath, 'outcomes', '01-task.md'),
|
|
255
|
+
'# Task 01 - Completed\n\n<promise>COMPLETE</promise>'
|
|
256
256
|
);
|
|
257
257
|
fs.writeFileSync(
|
|
258
|
-
path.join(projectPath, 'outcomes', '
|
|
259
|
-
'# Task
|
|
258
|
+
path.join(projectPath, 'outcomes', '02-task.md'),
|
|
259
|
+
'# Task 02 - Failed\n\n<promise>FAILED</promise>'
|
|
260
260
|
);
|
|
261
261
|
|
|
262
262
|
const state = deriveProjectState(projectPath);
|
|
263
263
|
const nextTask = getNextExecutableTask(state);
|
|
264
264
|
|
|
265
265
|
// The task being retried should have failed status
|
|
266
|
-
expect(nextTask?.id).toBe('
|
|
266
|
+
expect(nextTask?.id).toBe('02');
|
|
267
267
|
expect(nextTask?.status).toBe('failed');
|
|
268
268
|
});
|
|
269
269
|
});
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { jest } from '@jest/globals';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Tests for worktree cleanup logic in the do command.
|
|
5
|
+
*
|
|
6
|
+
* The cleanup flow in runDoCommand:
|
|
7
|
+
* 1. After executeSingleProject() returns
|
|
8
|
+
* 2. Post-execution action (merge/pr/leave) is executed via executePostAction()
|
|
9
|
+
* 3. Cleanup happens as part of the post-action: merge and leave clean up, PR does not
|
|
10
|
+
* 4. If cleanup fails, warn but don't error
|
|
11
|
+
*
|
|
12
|
+
* Since runDoCommand is not exported, we test the logic indirectly by
|
|
13
|
+
* verifying removeWorktree behavior and the conditions under which
|
|
14
|
+
* cleanup should/should not occur.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// Mock execSync before importing the module
|
|
18
|
+
const mockExecSync = jest.fn();
|
|
19
|
+
jest.unstable_mockModule('node:child_process', () => ({
|
|
20
|
+
execSync: mockExecSync,
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
// Mock fs
|
|
24
|
+
const mockExistsSync = jest.fn();
|
|
25
|
+
const mockMkdirSync = jest.fn();
|
|
26
|
+
const mockReaddirSync = jest.fn();
|
|
27
|
+
jest.unstable_mockModule('node:fs', () => ({
|
|
28
|
+
existsSync: mockExistsSync,
|
|
29
|
+
mkdirSync: mockMkdirSync,
|
|
30
|
+
readdirSync: mockReaddirSync,
|
|
31
|
+
}));
|
|
32
|
+
|
|
33
|
+
// Mock logger
|
|
34
|
+
const mockLoggerInfo = jest.fn();
|
|
35
|
+
const mockLoggerWarn = jest.fn();
|
|
36
|
+
jest.unstable_mockModule('../../src/utils/logger.js', () => ({
|
|
37
|
+
logger: {
|
|
38
|
+
debug: jest.fn(),
|
|
39
|
+
info: mockLoggerInfo,
|
|
40
|
+
warn: mockLoggerWarn,
|
|
41
|
+
error: jest.fn(),
|
|
42
|
+
},
|
|
43
|
+
}));
|
|
44
|
+
|
|
45
|
+
const { removeWorktree, mergeWorktreeBranch } = await import('../../src/core/worktree.js');
|
|
46
|
+
|
|
47
|
+
describe('worktree cleanup after successful execution', () => {
|
|
48
|
+
beforeEach(() => {
|
|
49
|
+
jest.clearAllMocks();
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
describe('removeWorktree preserves branch', () => {
|
|
53
|
+
it('should only call git worktree remove, not git branch delete', () => {
|
|
54
|
+
mockExecSync.mockReturnValue('');
|
|
55
|
+
|
|
56
|
+
removeWorktree('/path/to/worktree');
|
|
57
|
+
|
|
58
|
+
// Should call git worktree remove
|
|
59
|
+
expect(mockExecSync).toHaveBeenCalledTimes(1);
|
|
60
|
+
expect(mockExecSync).toHaveBeenCalledWith(
|
|
61
|
+
'git worktree remove "/path/to/worktree"',
|
|
62
|
+
expect.any(Object)
|
|
63
|
+
);
|
|
64
|
+
// Should NOT call git branch -d or -D
|
|
65
|
+
const calls = mockExecSync.mock.calls.map((c: unknown[]) => c[0] as string);
|
|
66
|
+
expect(calls.every((cmd: string) => !cmd.includes('branch -d') && !cmd.includes('branch -D'))).toBe(true);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
describe('cleanup decision logic', () => {
|
|
71
|
+
/**
|
|
72
|
+
* Simulate the cleanup decision from runDoCommand:
|
|
73
|
+
* if (worktreeMode && worktreeRoot && result.success) { removeWorktree(...) }
|
|
74
|
+
*/
|
|
75
|
+
function shouldCleanup(worktreeMode: boolean, worktreeRoot: string | undefined, resultSuccess: boolean): boolean {
|
|
76
|
+
return worktreeMode && !!worktreeRoot && resultSuccess;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
it('should clean up when worktree mode is active and execution succeeds', () => {
|
|
80
|
+
expect(shouldCleanup(true, '/path/to/worktree', true)).toBe(true);
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
it('should NOT clean up when execution fails', () => {
|
|
84
|
+
expect(shouldCleanup(true, '/path/to/worktree', false)).toBe(false);
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
it('should NOT clean up when not in worktree mode', () => {
|
|
88
|
+
expect(shouldCleanup(false, '/path/to/worktree', true)).toBe(false);
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
it('should NOT clean up when worktreeRoot is undefined', () => {
|
|
92
|
+
expect(shouldCleanup(true, undefined, true)).toBe(false);
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
describe('cleanup failure handling', () => {
|
|
97
|
+
it('should return success:false with error message when removal fails', () => {
|
|
98
|
+
mockExecSync.mockImplementation(() => {
|
|
99
|
+
throw new Error('worktree is dirty');
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
const result = removeWorktree('/path/to/dirty/worktree');
|
|
103
|
+
|
|
104
|
+
expect(result.success).toBe(false);
|
|
105
|
+
expect(result.error).toContain('Failed to remove worktree');
|
|
106
|
+
expect(result.error).toContain('worktree is dirty');
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
it('should return success:true when removal succeeds', () => {
|
|
110
|
+
mockExecSync.mockReturnValue('');
|
|
111
|
+
|
|
112
|
+
const result = removeWorktree('/path/to/clean/worktree');
|
|
113
|
+
|
|
114
|
+
expect(result.success).toBe(true);
|
|
115
|
+
expect(result.error).toBeUndefined();
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
describe('merge after cleanup', () => {
|
|
120
|
+
/**
|
|
121
|
+
* The merge step uses the branch name (path.basename(worktreeRoot)),
|
|
122
|
+
* not the worktree directory itself. This verifies that merge can
|
|
123
|
+
* work independently of the worktree directory existing.
|
|
124
|
+
*/
|
|
125
|
+
it('should use branch name for merge, not worktree directory', () => {
|
|
126
|
+
// Simulate: worktreeRoot = '/home/user/.raf/worktrees/myapp/abcabc-prune-cycle'
|
|
127
|
+
// mergeWorktreeBranch uses: path.basename(worktreeRoot) = 'abcabc-prune-cycle'
|
|
128
|
+
|
|
129
|
+
// Mock successful checkout and ff merge
|
|
130
|
+
mockExecSync.mockImplementation((cmd: unknown) => {
|
|
131
|
+
const cmdStr = cmd as string;
|
|
132
|
+
if (cmdStr.includes('checkout')) return '';
|
|
133
|
+
if (cmdStr.includes('--ff-only')) return '';
|
|
134
|
+
return '';
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
const result = mergeWorktreeBranch('abcabc-prune-cycle', 'main');
|
|
138
|
+
|
|
139
|
+
expect(result.success).toBe(true);
|
|
140
|
+
// Verify git checkout was called with the branch name, not a path
|
|
141
|
+
expect(mockExecSync).toHaveBeenCalledWith(
|
|
142
|
+
'git checkout "main"',
|
|
143
|
+
expect.any(Object)
|
|
144
|
+
);
|
|
145
|
+
expect(mockExecSync).toHaveBeenCalledWith(
|
|
146
|
+
'git merge --ff-only "abcabc-prune-cycle"',
|
|
147
|
+
expect.any(Object)
|
|
148
|
+
);
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
});
|