@pennyfarthing/core 7.4.1 → 7.5.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/{packages/core/dist → dist}/cli/utils/files.d.ts +0 -1
- package/dist/cli/utils/files.js +179 -0
- package/{packages/core/dist → dist}/cli/utils/manifest.d.ts +0 -1
- package/dist/cli/utils/manifest.js +93 -0
- package/{packages/core/dist → dist}/cli/utils/version.d.ts +0 -1
- package/dist/cli/utils/version.js +70 -0
- package/{packages/core/dist → dist}/index.d.ts +0 -1
- package/dist/index.js +48 -0
- package/{packages/core/dist → dist}/permissions/index.d.ts +0 -1
- package/dist/permissions/index.js +16 -0
- package/{packages/core/dist → dist}/permissions/permission-schema.d.ts +0 -1
- package/{packages/core/dist → dist}/permissions/permission-schema.js +13 -9
- package/{packages/core/dist → dist}/scripts/job-fair-aggregator.d.ts +0 -1
- package/dist/scripts/job-fair-aggregator.js +690 -0
- package/{packages/core/dist → dist}/workflow/index.d.ts +0 -1
- package/dist/workflow/index.js +31 -0
- package/{packages/core/dist → dist}/workflow/workflow-loader.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-loader.js +40 -34
- package/{packages/core/dist → dist}/workflow/workflow-permissions.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-permissions.js +14 -8
- package/{packages/core/dist → dist}/workflow/workflow-router.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-router.js +70 -51
- package/{packages/core/dist → dist}/workflow/workflow-schema.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-schema.js +62 -59
- package/package.json +36 -31
- package/LICENSE +0 -14
- package/README.md +0 -301
- package/packages/core/dist/bmad/context-reader.d.ts +0 -71
- package/packages/core/dist/bmad/context-reader.d.ts.map +0 -1
- package/packages/core/dist/bmad/context-reader.js +0 -369
- package/packages/core/dist/bmad/context-reader.js.map +0 -1
- package/packages/core/dist/bmad/context-reader.test.d.ts +0 -71
- package/packages/core/dist/bmad/context-reader.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/context-reader.test.js +0 -878
- package/packages/core/dist/bmad/context-reader.test.js.map +0 -1
- package/packages/core/dist/bmad/epics-parser.d.ts +0 -61
- package/packages/core/dist/bmad/epics-parser.d.ts.map +0 -1
- package/packages/core/dist/bmad/epics-parser.js +0 -331
- package/packages/core/dist/bmad/epics-parser.js.map +0 -1
- package/packages/core/dist/bmad/epics-parser.test.d.ts +0 -7
- package/packages/core/dist/bmad/epics-parser.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/epics-parser.test.js +0 -449
- package/packages/core/dist/bmad/epics-parser.test.js.map +0 -1
- package/packages/core/dist/bmad/index.d.ts +0 -11
- package/packages/core/dist/bmad/index.d.ts.map +0 -1
- package/packages/core/dist/bmad/index.js +0 -24
- package/packages/core/dist/bmad/index.js.map +0 -1
- package/packages/core/dist/bmad/status-sync.d.ts +0 -173
- package/packages/core/dist/bmad/status-sync.d.ts.map +0 -1
- package/packages/core/dist/bmad/status-sync.js +0 -463
- package/packages/core/dist/bmad/status-sync.js.map +0 -1
- package/packages/core/dist/bmad/status-sync.test.d.ts +0 -7
- package/packages/core/dist/bmad/status-sync.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/status-sync.test.js +0 -702
- package/packages/core/dist/bmad/status-sync.test.js.map +0 -1
- package/packages/core/dist/bmad/story-exporter.d.ts +0 -55
- package/packages/core/dist/bmad/story-exporter.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-exporter.js +0 -170
- package/packages/core/dist/bmad/story-exporter.js.map +0 -1
- package/packages/core/dist/bmad/story-exporter.test.d.ts +0 -51
- package/packages/core/dist/bmad/story-exporter.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-exporter.test.js +0 -603
- package/packages/core/dist/bmad/story-exporter.test.js.map +0 -1
- package/packages/core/dist/bmad/story-parser.d.ts +0 -44
- package/packages/core/dist/bmad/story-parser.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-parser.js +0 -307
- package/packages/core/dist/bmad/story-parser.js.map +0 -1
- package/packages/core/dist/bmad/story-parser.test.d.ts +0 -44
- package/packages/core/dist/bmad/story-parser.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-parser.test.js +0 -693
- package/packages/core/dist/bmad/story-parser.test.js.map +0 -1
- package/packages/core/dist/cli/commands/command.d.ts +0 -28
- package/packages/core/dist/cli/commands/command.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/command.js +0 -399
- package/packages/core/dist/cli/commands/command.js.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.d.ts +0 -46
- package/packages/core/dist/cli/commands/cyclist.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.js +0 -196
- package/packages/core/dist/cli/commands/cyclist.js.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.test.d.ts +0 -13
- package/packages/core/dist/cli/commands/cyclist.test.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.test.js +0 -245
- package/packages/core/dist/cli/commands/cyclist.test.js.map +0 -1
- package/packages/core/dist/cli/commands/doctor.d.ts +0 -9
- package/packages/core/dist/cli/commands/doctor.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/doctor.js +0 -652
- package/packages/core/dist/cli/commands/doctor.js.map +0 -1
- package/packages/core/dist/cli/commands/init.d.ts +0 -8
- package/packages/core/dist/cli/commands/init.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/init.js +0 -525
- package/packages/core/dist/cli/commands/init.js.map +0 -1
- package/packages/core/dist/cli/commands/skill.d.ts +0 -28
- package/packages/core/dist/cli/commands/skill.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/skill.js +0 -416
- package/packages/core/dist/cli/commands/skill.js.map +0 -1
- package/packages/core/dist/cli/commands/theme.d.ts +0 -21
- package/packages/core/dist/cli/commands/theme.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/theme.js +0 -201
- package/packages/core/dist/cli/commands/theme.js.map +0 -1
- package/packages/core/dist/cli/commands/uninstall.d.ts +0 -8
- package/packages/core/dist/cli/commands/uninstall.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/uninstall.js +0 -237
- package/packages/core/dist/cli/commands/uninstall.js.map +0 -1
- package/packages/core/dist/cli/commands/update.d.ts +0 -9
- package/packages/core/dist/cli/commands/update.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/update.js +0 -421
- package/packages/core/dist/cli/commands/update.js.map +0 -1
- package/packages/core/dist/cli/commands/version.d.ts +0 -2
- package/packages/core/dist/cli/commands/version.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/version.js +0 -28
- package/packages/core/dist/cli/commands/version.js.map +0 -1
- package/packages/core/dist/cli/customization.test.d.ts +0 -12
- package/packages/core/dist/cli/customization.test.d.ts.map +0 -1
- package/packages/core/dist/cli/customization.test.js +0 -84
- package/packages/core/dist/cli/customization.test.js.map +0 -1
- package/packages/core/dist/cli/cyclist-migration.test.d.ts +0 -16
- package/packages/core/dist/cli/cyclist-migration.test.d.ts.map +0 -1
- package/packages/core/dist/cli/cyclist-migration.test.js +0 -225
- package/packages/core/dist/cli/cyclist-migration.test.js.map +0 -1
- package/packages/core/dist/cli/index.d.ts +0 -3
- package/packages/core/dist/cli/index.d.ts.map +0 -1
- package/packages/core/dist/cli/index.js +0 -174
- package/packages/core/dist/cli/index.js.map +0 -1
- package/packages/core/dist/cli/ocean-profiles.test.d.ts +0 -13
- package/packages/core/dist/cli/ocean-profiles.test.d.ts.map +0 -1
- package/packages/core/dist/cli/ocean-profiles.test.js +0 -134
- package/packages/core/dist/cli/ocean-profiles.test.js.map +0 -1
- package/packages/core/dist/cli/theme-maker.test.d.ts +0 -11
- package/packages/core/dist/cli/theme-maker.test.d.ts.map +0 -1
- package/packages/core/dist/cli/theme-maker.test.js +0 -356
- package/packages/core/dist/cli/theme-maker.test.js.map +0 -1
- package/packages/core/dist/cli/utils/constants.d.ts +0 -66
- package/packages/core/dist/cli/utils/constants.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/constants.js +0 -54
- package/packages/core/dist/cli/utils/constants.js.map +0 -1
- package/packages/core/dist/cli/utils/files.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/files.js +0 -162
- package/packages/core/dist/cli/utils/files.js.map +0 -1
- package/packages/core/dist/cli/utils/logger.d.ts +0 -26
- package/packages/core/dist/cli/utils/logger.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/logger.js +0 -88
- package/packages/core/dist/cli/utils/logger.js.map +0 -1
- package/packages/core/dist/cli/utils/manifest.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/manifest.js +0 -90
- package/packages/core/dist/cli/utils/manifest.js.map +0 -1
- package/packages/core/dist/cli/utils/node-modules.d.ts +0 -6
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/node-modules.js +0 -32
- package/packages/core/dist/cli/utils/node-modules.js.map +0 -1
- package/packages/core/dist/cli/utils/prompts.d.ts +0 -34
- package/packages/core/dist/cli/utils/prompts.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/prompts.js +0 -93
- package/packages/core/dist/cli/utils/prompts.js.map +0 -1
- package/packages/core/dist/cli/utils/symlinks.d.ts +0 -29
- package/packages/core/dist/cli/utils/symlinks.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/symlinks.js +0 -181
- package/packages/core/dist/cli/utils/symlinks.js.map +0 -1
- package/packages/core/dist/cli/utils/themes.d.ts +0 -101
- package/packages/core/dist/cli/utils/themes.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/themes.js +0 -373
- package/packages/core/dist/cli/utils/themes.js.map +0 -1
- package/packages/core/dist/cli/utils/themes.test.d.ts +0 -12
- package/packages/core/dist/cli/utils/themes.test.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/themes.test.js +0 -147
- package/packages/core/dist/cli/utils/themes.test.js.map +0 -1
- package/packages/core/dist/cli/utils/version.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/version.js +0 -64
- package/packages/core/dist/cli/utils/version.js.map +0 -1
- package/packages/core/dist/cli/workspace.test.d.ts +0 -8
- package/packages/core/dist/cli/workspace.test.d.ts.map +0 -1
- package/packages/core/dist/cli/workspace.test.js +0 -156
- package/packages/core/dist/cli/workspace.test.js.map +0 -1
- package/packages/core/dist/index.d.ts.map +0 -1
- package/packages/core/dist/index.js +0 -20
- package/packages/core/dist/index.js.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.d.ts +0 -109
- package/packages/core/dist/jira/jira-epic-creation.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.js +0 -253
- package/packages/core/dist/jira/jira-epic-creation.js.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts +0 -16
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.test.js +0 -387
- package/packages/core/dist/jira/jira-epic-creation.test.js.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.d.ts +0 -247
- package/packages/core/dist/jira/jira-sprint-sync.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.js +0 -670
- package/packages/core/dist/jira/jira-sprint-sync.js.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts +0 -16
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.test.js +0 -845
- package/packages/core/dist/jira/jira-sprint-sync.test.js.map +0 -1
- package/packages/core/dist/permissions/index.d.ts.map +0 -1
- package/packages/core/dist/permissions/index.js +0 -13
- package/packages/core/dist/permissions/index.js.map +0 -1
- package/packages/core/dist/permissions/permission-schema.d.ts.map +0 -1
- package/packages/core/dist/permissions/permission-schema.js.map +0 -1
- package/packages/core/dist/permissions/permission-schema.test.d.ts +0 -40
- package/packages/core/dist/permissions/permission-schema.test.d.ts.map +0 -1
- package/packages/core/dist/permissions/permission-schema.test.js +0 -367
- package/packages/core/dist/permissions/permission-schema.test.js.map +0 -1
- package/packages/core/dist/scripts/add-ocean-profiles.d.ts +0 -9
- package/packages/core/dist/scripts/add-ocean-profiles.d.ts.map +0 -1
- package/packages/core/dist/scripts/add-ocean-profiles.js +0 -695
- package/packages/core/dist/scripts/add-ocean-profiles.js.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.d.ts +0 -182
- package/packages/core/dist/scripts/benchmark-integration.d.ts.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.js +0 -691
- package/packages/core/dist/scripts/benchmark-integration.js.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.test.d.ts +0 -13
- package/packages/core/dist/scripts/benchmark-integration.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.test.js +0 -680
- package/packages/core/dist/scripts/benchmark-integration.test.js.map +0 -1
- package/packages/core/dist/scripts/debugging-scenarios.test.d.ts +0 -18
- package/packages/core/dist/scripts/debugging-scenarios.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/debugging-scenarios.test.js +0 -317
- package/packages/core/dist/scripts/debugging-scenarios.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-all-spiders.d.ts +0 -10
- package/packages/core/dist/scripts/generate-all-spiders.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-all-spiders.js +0 -306
- package/packages/core/dist/scripts/generate-all-spiders.js.map +0 -1
- package/packages/core/dist/scripts/generate-report.d.ts +0 -65
- package/packages/core/dist/scripts/generate-report.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-report.js +0 -378
- package/packages/core/dist/scripts/generate-report.js.map +0 -1
- package/packages/core/dist/scripts/generate-report.test.d.ts +0 -13
- package/packages/core/dist/scripts/generate-report.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-report.test.js +0 -363
- package/packages/core/dist/scripts/generate-report.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.d.ts +0 -65
- package/packages/core/dist/scripts/generate-spider-report.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.js +0 -366
- package/packages/core/dist/scripts/generate-spider-report.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.test.d.ts +0 -13
- package/packages/core/dist/scripts/generate-spider-report.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.test.js +0 -367
- package/packages/core/dist/scripts/generate-spider-report.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider.d.ts +0 -47
- package/packages/core/dist/scripts/generate-spider.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider.js +0 -338
- package/packages/core/dist/scripts/generate-spider.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider.test.d.ts +0 -14
- package/packages/core/dist/scripts/generate-spider.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider.test.js +0 -271
- package/packages/core/dist/scripts/generate-spider.test.js.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.js +0 -547
- package/packages/core/dist/scripts/job-fair-aggregator.js.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.test.d.ts +0 -14
- package/packages/core/dist/scripts/job-fair-aggregator.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.test.js +0 -616
- package/packages/core/dist/scripts/job-fair-aggregator.test.js.map +0 -1
- package/packages/core/dist/scripts/run-ci.test.d.ts +0 -20
- package/packages/core/dist/scripts/run-ci.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/run-ci.test.js +0 -127
- package/packages/core/dist/scripts/run-ci.test.js.map +0 -1
- package/packages/core/dist/scripts/theme-detail.test.d.ts +0 -10
- package/packages/core/dist/scripts/theme-detail.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/theme-detail.test.js +0 -199
- package/packages/core/dist/scripts/theme-detail.test.js.map +0 -1
- package/packages/core/dist/scripts/validate-ocean-profiles.d.ts +0 -9
- package/packages/core/dist/scripts/validate-ocean-profiles.d.ts.map +0 -1
- package/packages/core/dist/scripts/validate-ocean-profiles.js +0 -130
- package/packages/core/dist/scripts/validate-ocean-profiles.js.map +0 -1
- package/packages/core/dist/workflow/gate-handler.d.ts +0 -94
- package/packages/core/dist/workflow/gate-handler.d.ts.map +0 -1
- package/packages/core/dist/workflow/gate-handler.js +0 -189
- package/packages/core/dist/workflow/gate-handler.js.map +0 -1
- package/packages/core/dist/workflow/gate-handler.test.d.ts +0 -14
- package/packages/core/dist/workflow/gate-handler.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/gate-handler.test.js +0 -543
- package/packages/core/dist/workflow/gate-handler.test.js.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.d.ts +0 -281
- package/packages/core/dist/workflow/generic-handoff.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.js +0 -411
- package/packages/core/dist/workflow/generic-handoff.js.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.test.d.ts +0 -21
- package/packages/core/dist/workflow/generic-handoff.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.test.js +0 -499
- package/packages/core/dist/workflow/generic-handoff.test.js.map +0 -1
- package/packages/core/dist/workflow/generic-sm-finish.d.ts +0 -89
- package/packages/core/dist/workflow/generic-sm-finish.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-sm-finish.js +0 -157
- package/packages/core/dist/workflow/generic-sm-finish.js.map +0 -1
- package/packages/core/dist/workflow/generic-sm-setup.d.ts +0 -138
- package/packages/core/dist/workflow/generic-sm-setup.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-sm-setup.js +0 -382
- package/packages/core/dist/workflow/generic-sm-setup.js.map +0 -1
- package/packages/core/dist/workflow/handoff.d.ts +0 -281
- package/packages/core/dist/workflow/handoff.d.ts.map +0 -1
- package/packages/core/dist/workflow/handoff.js +0 -411
- package/packages/core/dist/workflow/handoff.js.map +0 -1
- package/packages/core/dist/workflow/handoff.test.d.ts +0 -21
- package/packages/core/dist/workflow/handoff.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/handoff.test.js +0 -499
- package/packages/core/dist/workflow/handoff.test.js.map +0 -1
- package/packages/core/dist/workflow/index.d.ts.map +0 -1
- package/packages/core/dist/workflow/index.js +0 -24
- package/packages/core/dist/workflow/index.js.map +0 -1
- package/packages/core/dist/workflow/session-state.d.ts +0 -92
- package/packages/core/dist/workflow/session-state.d.ts.map +0 -1
- package/packages/core/dist/workflow/session-state.js +0 -198
- package/packages/core/dist/workflow/session-state.js.map +0 -1
- package/packages/core/dist/workflow/session-state.test.d.ts +0 -8
- package/packages/core/dist/workflow/session-state.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/session-state.test.js +0 -551
- package/packages/core/dist/workflow/session-state.test.js.map +0 -1
- package/packages/core/dist/workflow/sm-subagents.test.d.ts +0 -23
- package/packages/core/dist/workflow/sm-subagents.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/sm-subagents.test.js +0 -727
- package/packages/core/dist/workflow/sm-subagents.test.js.map +0 -1
- package/packages/core/dist/workflow/step-parser.d.ts +0 -45
- package/packages/core/dist/workflow/step-parser.d.ts.map +0 -1
- package/packages/core/dist/workflow/step-parser.js +0 -147
- package/packages/core/dist/workflow/step-parser.js.map +0 -1
- package/packages/core/dist/workflow/step-parser.test.d.ts +0 -14
- package/packages/core/dist/workflow/step-parser.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/step-parser.test.js +0 -470
- package/packages/core/dist/workflow/step-parser.test.js.map +0 -1
- package/packages/core/dist/workflow/story-workflow-routing.test.d.ts +0 -17
- package/packages/core/dist/workflow/story-workflow-routing.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/story-workflow-routing.test.js +0 -559
- package/packages/core/dist/workflow/story-workflow-routing.test.js.map +0 -1
- package/packages/core/dist/workflow/test-cache.d.ts +0 -131
- package/packages/core/dist/workflow/test-cache.d.ts.map +0 -1
- package/packages/core/dist/workflow/test-cache.js +0 -226
- package/packages/core/dist/workflow/test-cache.js.map +0 -1
- package/packages/core/dist/workflow/test-cache.test.d.ts +0 -17
- package/packages/core/dist/workflow/test-cache.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/test-cache.test.js +0 -438
- package/packages/core/dist/workflow/test-cache.test.js.map +0 -1
- package/packages/core/dist/workflow/trimodal.d.ts +0 -86
- package/packages/core/dist/workflow/trimodal.d.ts.map +0 -1
- package/packages/core/dist/workflow/trimodal.js +0 -118
- package/packages/core/dist/workflow/trimodal.js.map +0 -1
- package/packages/core/dist/workflow/trimodal.test.d.ts +0 -11
- package/packages/core/dist/workflow/trimodal.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/trimodal.test.js +0 -395
- package/packages/core/dist/workflow/trimodal.test.js.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.d.ts +0 -67
- package/packages/core/dist/workflow/variable-resolver.d.ts.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.js +0 -156
- package/packages/core/dist/workflow/variable-resolver.js.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.test.d.ts +0 -14
- package/packages/core/dist/workflow/variable-resolver.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.test.js +0 -400
- package/packages/core/dist/workflow/variable-resolver.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.d.ts +0 -163
- package/packages/core/dist/workflow/workflow-executor.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.js +0 -197
- package/packages/core/dist/workflow/workflow-executor.js.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.test.d.ts +0 -8
- package/packages/core/dist/workflow/workflow-executor.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.test.js +0 -444
- package/packages/core/dist/workflow/workflow-executor.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.js.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.test.d.ts +0 -15
- package/packages/core/dist/workflow/workflow-loader.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.test.js +0 -354
- package/packages/core/dist/workflow/workflow-loader.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-migration.test.d.ts +0 -17
- package/packages/core/dist/workflow/workflow-migration.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-migration.test.js +0 -371
- package/packages/core/dist/workflow/workflow-migration.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.js.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts +0 -15
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.test.js +0 -301
- package/packages/core/dist/workflow/workflow-permissions.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-router.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-router.js.map +0 -1
- package/packages/core/dist/workflow/workflow-router.test.d.ts +0 -20
- package/packages/core/dist/workflow/workflow-router.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-router.test.js +0 -607
- package/packages/core/dist/workflow/workflow-router.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.js.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.test.d.ts +0 -45
- package/packages/core/dist/workflow/workflow-schema.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.test.js +0 -512
- package/packages/core/dist/workflow/workflow-schema.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts +0 -18
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js +0 -608
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js.map +0 -1
- package/pennyfarthing-dist/agents/README.md +0 -340
- package/pennyfarthing-dist/agents/architect.md +0 -193
- package/pennyfarthing-dist/agents/dev.md +0 -254
- package/pennyfarthing-dist/agents/devops.md +0 -206
- package/pennyfarthing-dist/agents/handoff.md +0 -289
- package/pennyfarthing-dist/agents/orchestrator.md +0 -355
- package/pennyfarthing-dist/agents/pm.md +0 -169
- package/pennyfarthing-dist/agents/reviewer-preflight.md +0 -96
- package/pennyfarthing-dist/agents/reviewer.md +0 -382
- package/pennyfarthing-dist/agents/sm-file-summary.md +0 -58
- package/pennyfarthing-dist/agents/sm-finish.md +0 -61
- package/pennyfarthing-dist/agents/sm-handoff.md +0 -145
- package/pennyfarthing-dist/agents/sm-setup.md +0 -174
- package/pennyfarthing-dist/agents/sm.md +0 -632
- package/pennyfarthing-dist/agents/tea.md +0 -213
- package/pennyfarthing-dist/agents/tech-writer.md +0 -216
- package/pennyfarthing-dist/agents/testing-runner.md +0 -141
- package/pennyfarthing-dist/agents/ux-designer.md +0 -231
- package/pennyfarthing-dist/agents/workflow-status-check.md +0 -68
- package/pennyfarthing-dist/commands/architect.md +0 -62
- package/pennyfarthing-dist/commands/benchmark-control.md +0 -69
- package/pennyfarthing-dist/commands/benchmark.md +0 -467
- package/pennyfarthing-dist/commands/brainstorming.md +0 -91
- package/pennyfarthing-dist/commands/check.md +0 -156
- package/pennyfarthing-dist/commands/chore.md +0 -178
- package/pennyfarthing-dist/commands/close-epic.md +0 -139
- package/pennyfarthing-dist/commands/continue-session.md +0 -184
- package/pennyfarthing-dist/commands/create-branches-from-story.md +0 -358
- package/pennyfarthing-dist/commands/create-theme.md +0 -29
- package/pennyfarthing-dist/commands/dev.md +0 -60
- package/pennyfarthing-dist/commands/devops.md +0 -59
- package/pennyfarthing-dist/commands/git-cleanup.md +0 -340
- package/pennyfarthing-dist/commands/health-check.md +0 -108
- package/pennyfarthing-dist/commands/help.md +0 -264
- package/pennyfarthing-dist/commands/job-fair.md +0 -102
- package/pennyfarthing-dist/commands/list-themes.md +0 -21
- package/pennyfarthing-dist/commands/orchestrator.md +0 -56
- package/pennyfarthing-dist/commands/parallel-work.md +0 -71
- package/pennyfarthing-dist/commands/party-mode.md +0 -67
- package/pennyfarthing-dist/commands/permissions.md +0 -193
- package/pennyfarthing-dist/commands/pm.md +0 -60
- package/pennyfarthing-dist/commands/prime.md +0 -140
- package/pennyfarthing-dist/commands/release.md +0 -58
- package/pennyfarthing-dist/commands/repo-status.md +0 -49
- package/pennyfarthing-dist/commands/retro.md +0 -200
- package/pennyfarthing-dist/commands/reviewer.md +0 -64
- package/pennyfarthing-dist/commands/run-ci.md +0 -116
- package/pennyfarthing-dist/commands/set-theme.md +0 -56
- package/pennyfarthing-dist/commands/show-theme.md +0 -21
- package/pennyfarthing-dist/commands/sm.md +0 -70
- package/pennyfarthing-dist/commands/solo.md +0 -411
- package/pennyfarthing-dist/commands/sprint-planning.md +0 -109
- package/pennyfarthing-dist/commands/start-epic.md +0 -168
- package/pennyfarthing-dist/commands/sync-epic-to-jira.md +0 -184
- package/pennyfarthing-dist/commands/sync-work-with-sprint.md +0 -373
- package/pennyfarthing-dist/commands/tea.md +0 -63
- package/pennyfarthing-dist/commands/tech-writer.md +0 -53
- package/pennyfarthing-dist/commands/theme-maker.md +0 -671
- package/pennyfarthing-dist/commands/update-domain-docs.md +0 -83
- package/pennyfarthing-dist/commands/ux-designer.md +0 -62
- package/pennyfarthing-dist/commands/work.md +0 -122
- package/pennyfarthing-dist/commands/workflow.md +0 -21
- package/pennyfarthing-dist/guides/AGENT-COORDINATION.md +0 -480
- package/pennyfarthing-dist/guides/HOOKS.md +0 -230
- package/pennyfarthing-dist/guides/PROMPT-PATTERNS.md +0 -338
- package/pennyfarthing-dist/guides/SESSION-ARTIFACTS.md +0 -193
- package/pennyfarthing-dist/guides/agent-behavior.md +0 -238
- package/pennyfarthing-dist/guides/agent-template-strategic.md +0 -148
- package/pennyfarthing-dist/guides/agent-template-tactical.md +0 -162
- package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +0 -746
- package/pennyfarthing-dist/guides/patterns/fan-out-fan-in-pattern.md +0 -574
- package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +0 -488
- package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +0 -402
- package/pennyfarthing-dist/guides/permission-protocol.md +0 -188
- package/pennyfarthing-dist/guides/persona-loading.md +0 -46
- package/pennyfarthing-dist/guides/workflow-schema.md +0 -257
- package/pennyfarthing-dist/guides/worktree-mode.md +0 -113
- package/pennyfarthing-dist/output-styles/teaching.md +0 -33
- package/pennyfarthing-dist/output-styles/terse.md +0 -20
- package/pennyfarthing-dist/output-styles/verbose.md +0 -28
- package/pennyfarthing-dist/personas/themes/1984.yaml +0 -312
- package/pennyfarthing-dist/personas/themes/a-team.yaml +0 -207
- package/pennyfarthing-dist/personas/themes/agatha-christie.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/all-stars.yaml +0 -332
- package/pennyfarthing-dist/personas/themes/ancient-philosophers.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/ancient-strategists.yaml +0 -306
- package/pennyfarthing-dist/personas/themes/arcane.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/arthurian-mythos.yaml +0 -331
- package/pennyfarthing-dist/personas/themes/avatar-the-last-airbender.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/babylon-5.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/better-call-saul.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/big-lebowski.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/black-sails.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/blade-runner.yaml +0 -295
- package/pennyfarthing-dist/personas/themes/bobiverse.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/breaking-bad.yaml +0 -327
- package/pennyfarthing-dist/personas/themes/catch-22.yaml +0 -316
- package/pennyfarthing-dist/personas/themes/classical-composers.yaml +0 -310
- package/pennyfarthing-dist/personas/themes/control.yaml +0 -197
- package/pennyfarthing-dist/personas/themes/count-of-monte-cristo.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +0 -323
- package/pennyfarthing-dist/personas/themes/deadwood.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/dickens.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/discworld.yaml +0 -332
- package/pennyfarthing-dist/personas/themes/doctor-who.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/don-quixote.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/dune.yaml +0 -307
- package/pennyfarthing-dist/personas/themes/enlightenment-thinkers.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/expeditionary-force.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/fargo.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/film-auteurs.yaml +0 -312
- package/pennyfarthing-dist/personas/themes/firefly.yaml +0 -328
- package/pennyfarthing-dist/personas/themes/foundation.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/futurama.yaml +0 -321
- package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/gilligans-island.yaml +0 -243
- package/pennyfarthing-dist/personas/themes/gothic-literature.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/great-gatsby.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/greek-mythology.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/hannibal.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/harry-potter.yaml +0 -324
- package/pennyfarthing-dist/personas/themes/his-dark-materials.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/historical-figures.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +0 -331
- package/pennyfarthing-dist/personas/themes/house-md.yaml +0 -321
- package/pennyfarthing-dist/personas/themes/imperial-radch.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/inspector-morse.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/jane-austen.yaml +0 -287
- package/pennyfarthing-dist/personas/themes/jazz-legends.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/justified.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/legion-of-doom.yaml +0 -219
- package/pennyfarthing-dist/personas/themes/les-miserables.yaml +0 -299
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +0 -334
- package/pennyfarthing-dist/personas/themes/lovecraft-mythos.yaml +0 -334
- package/pennyfarthing-dist/personas/themes/mad-max.yaml +0 -355
- package/pennyfarthing-dist/personas/themes/mad-men.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/marvel-mcu.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/mash.yaml +0 -337
- package/pennyfarthing-dist/personas/themes/mass-effect.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/military-commanders.yaml +0 -306
- package/pennyfarthing-dist/personas/themes/moby-dick.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/monty-python.yaml +0 -303
- package/pennyfarthing-dist/personas/themes/neuromancer.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/norse-mythology.yaml +0 -329
- package/pennyfarthing-dist/personas/themes/parks-and-rec.yaml +0 -242
- package/pennyfarthing-dist/personas/themes/peaky-blinders.yaml +0 -298
- package/pennyfarthing-dist/personas/themes/princess-bride.yaml +0 -220
- package/pennyfarthing-dist/personas/themes/renaissance-masters.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/rome.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/russian-masters.yaml +0 -318
- package/pennyfarthing-dist/personas/themes/sandman.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/scientific-revolutionaries.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/shakespeare.yaml +0 -301
- package/pennyfarthing-dist/personas/themes/sherlock-holmes.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/snow-crash.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/software-pioneers.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +0 -230
- package/pennyfarthing-dist/personas/themes/star-trek-tos.yaml +0 -210
- package/pennyfarthing-dist/personas/themes/star-wars.yaml +0 -303
- package/pennyfarthing-dist/personas/themes/succession.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/superfriends.yaml +0 -208
- package/pennyfarthing-dist/personas/themes/ted-lasso.yaml +0 -236
- package/pennyfarthing-dist/personas/themes/the-americans.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-crown.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-expanse.yaml +0 -213
- package/pennyfarthing-dist/personas/themes/the-good-place.yaml +0 -322
- package/pennyfarthing-dist/personas/themes/the-matrix.yaml +0 -353
- package/pennyfarthing-dist/personas/themes/the-odyssey.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-office.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/the-simpsons.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/the-sopranos.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-wire.yaml +0 -311
- package/pennyfarthing-dist/personas/themes/the-witcher.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/twin-peaks.yaml +0 -302
- package/pennyfarthing-dist/personas/themes/vorkosigan-saga.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/watchmen.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/west-wing.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/world-explorers.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/wwii-leaders.yaml +0 -307
- package/pennyfarthing-dist/personas/themes/x-files.yaml +0 -302
- package/pennyfarthing-dist/scripts/README.md +0 -68
- package/pennyfarthing-dist/scripts/core/README.md +0 -26
- package/pennyfarthing-dist/scripts/core/agent-session.sh +0 -378
- package/pennyfarthing-dist/scripts/core/check-context.sh +0 -243
- package/pennyfarthing-dist/scripts/core/handoff-marker.sh +0 -90
- package/pennyfarthing-dist/scripts/core/prime.sh +0 -136
- package/pennyfarthing-dist/scripts/core/run.sh +0 -75
- package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +0 -21
- package/pennyfarthing-dist/scripts/git/README.md +0 -25
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +0 -226
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +0 -127
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +0 -91
- package/pennyfarthing-dist/scripts/git/release.sh +0 -198
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +0 -494
- package/pennyfarthing-dist/scripts/hooks/README.md +0 -32
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +0 -60
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +0 -65
- package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +0 -35
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +0 -166
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +0 -50
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +0 -71
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +0 -54
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +0 -97
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +0 -58
- package/pennyfarthing-dist/scripts/jira/README.md +0 -33
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +0 -101
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +0 -97
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.mjs +0 -327
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.test.mjs +0 -503
- package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +0 -164
- package/pennyfarthing-dist/scripts/jira/jira-lib.mjs +0 -443
- package/pennyfarthing-dist/scripts/jira/jira-lib.sh +0 -464
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +0 -266
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.mjs +0 -208
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +0 -8
- package/pennyfarthing-dist/scripts/jira/jira-sync.mjs +0 -198
- package/pennyfarthing-dist/scripts/jira/jira-sync.sh +0 -8
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +0 -104
- package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +0 -16
- package/pennyfarthing-dist/scripts/lib/README.md +0 -29
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -177
- package/pennyfarthing-dist/scripts/lib/checkpoint.sh +0 -136
- package/pennyfarthing-dist/scripts/lib/common.sh +0 -157
- package/pennyfarthing-dist/scripts/lib/file-lock.sh +0 -269
- package/pennyfarthing-dist/scripts/lib/find-root.sh +0 -35
- package/pennyfarthing-dist/scripts/lib/logging.sh +0 -186
- package/pennyfarthing-dist/scripts/lib/retry.sh +0 -76
- package/pennyfarthing-dist/scripts/misc/README.md +0 -44
- package/pennyfarthing-dist/scripts/misc/add-short-names.mjs +0 -264
- package/pennyfarthing-dist/scripts/misc/backlog.sh +0 -91
- package/pennyfarthing-dist/scripts/misc/check-status.sh +0 -247
- package/pennyfarthing-dist/scripts/misc/deploy.sh +0 -284
- package/pennyfarthing-dist/scripts/misc/doctor-dogfood.sh +0 -392
- package/pennyfarthing-dist/scripts/misc/find-related-work.sh +0 -231
- package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +0 -110
- package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +0 -74
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.mjs +0 -474
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +0 -9
- package/pennyfarthing-dist/scripts/misc/repo-scan.sh +0 -141
- package/pennyfarthing-dist/scripts/misc/repo-utils.sh +0 -778
- package/pennyfarthing-dist/scripts/misc/run-ci.sh +0 -219
- package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +0 -7
- package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +0 -319
- package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +0 -193
- package/pennyfarthing-dist/scripts/misc/statusline.sh +0 -259
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +0 -270
- package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +0 -160
- package/pennyfarthing-dist/scripts/sprint/README.md +0 -29
- package/pennyfarthing-dist/scripts/sprint/archive-story.sh +0 -135
- package/pennyfarthing-dist/scripts/sprint/available-stories.sh +0 -97
- package/pennyfarthing-dist/scripts/sprint/check-story.sh +0 -164
- package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +0 -58
- package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +0 -69
- package/pennyfarthing-dist/scripts/sprint/list-future.sh +0 -151
- package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +0 -116
- package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +0 -164
- package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +0 -421
- package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +0 -39
- package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +0 -241
- package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +0 -134
- package/pennyfarthing-dist/scripts/story/README.md +0 -23
- package/pennyfarthing-dist/scripts/story/create-story.sh +0 -159
- package/pennyfarthing-dist/scripts/story/size-story.sh +0 -198
- package/pennyfarthing-dist/scripts/story/story-template.sh +0 -162
- package/pennyfarthing-dist/scripts/test/README.md +0 -23
- package/pennyfarthing-dist/scripts/test/ground-truth-judge.py +0 -289
- package/pennyfarthing-dist/scripts/test/swebench-judge.py +0 -400
- package/pennyfarthing-dist/scripts/test/test-cache.sh +0 -165
- package/pennyfarthing-dist/scripts/test/test-setup.sh +0 -337
- package/pennyfarthing-dist/scripts/tests/check.test.sh +0 -582
- package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +0 -515
- package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +0 -599
- package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +0 -332
- package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +0 -573
- package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +0 -859
- package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +0 -662
- package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +0 -589
- package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +0 -105
- package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +0 -597
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +0 -514
- package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +0 -517
- package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +0 -331
- package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +0 -647
- package/pennyfarthing-dist/scripts/theme/README.md +0 -22
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +0 -203
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +0 -73
- package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +0 -97
- package/pennyfarthing-dist/scripts/workflow/README.md +0 -28
- package/pennyfarthing-dist/scripts/workflow/check.sh +0 -497
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +0 -159
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +0 -228
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +0 -91
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +0 -163
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +0 -138
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +0 -256
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +0 -167
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +0 -242
- package/pennyfarthing-dist/skills/changelog/SKILL.md +0 -367
- package/pennyfarthing-dist/skills/code-review/SKILL.md +0 -168
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +0 -274
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +0 -88
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +0 -437
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +0 -258
- package/pennyfarthing-dist/skills/jira/SKILL.md +0 -484
- package/pennyfarthing-dist/skills/judge/SKILL.md +0 -579
- package/pennyfarthing-dist/skills/just/SKILL.md +0 -403
- package/pennyfarthing-dist/skills/mermaid/SKILL.md +0 -240
- package/pennyfarthing-dist/skills/otel/skill.md +0 -223
- package/pennyfarthing-dist/skills/permissions/skill.md +0 -172
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +0 -178
- package/pennyfarthing-dist/skills/skill-registry.schema.json +0 -107
- package/pennyfarthing-dist/skills/skill-registry.yaml +0 -357
- package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +0 -101
- package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +0 -97
- package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +0 -164
- package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +0 -101
- package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +0 -116
- package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +0 -164
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +0 -39
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +0 -147
- package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +0 -104
- package/pennyfarthing-dist/skills/sprint/skill.md +0 -465
- package/pennyfarthing-dist/skills/story/scripts/create-story.sh +0 -159
- package/pennyfarthing-dist/skills/story/scripts/size-story.sh +0 -198
- package/pennyfarthing-dist/skills/story/scripts/story-template.sh +0 -162
- package/pennyfarthing-dist/skills/story/skill.md +0 -219
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +0 -390
- package/pennyfarthing-dist/skills/testing/SKILL.md +0 -99
- package/pennyfarthing-dist/skills/testing/references/troubleshooting.md +0 -124
- package/pennyfarthing-dist/skills/theme/skill.md +0 -129
- package/pennyfarthing-dist/skills/theme-creation/SKILL.md +0 -169
- package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +0 -91
- package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +0 -163
- package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +0 -138
- package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +0 -273
- package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +0 -167
- package/pennyfarthing-dist/skills/workflow/skill.md +0 -337
- package/pennyfarthing-dist/skills/yq/SKILL.md +0 -264
- package/pennyfarthing-dist/templates/LEADERBOARD.schema.yaml +0 -187
- package/pennyfarthing-dist/templates/LEADERBOARD.template.md +0 -59
- package/pennyfarthing-dist/templates/agent-scopes.yaml.template +0 -276
- package/pennyfarthing-dist/templates/pennyfarthing-settings.yaml.template +0 -61
- package/pennyfarthing-dist/templates/persona-config.yaml.template +0 -22
- package/pennyfarthing-dist/templates/preferences.yaml.template +0 -15
- package/pennyfarthing-dist/templates/settings.local.json.template +0 -90
- package/pennyfarthing-dist/templates/setup-env.sh.template +0 -18
- package/pennyfarthing-dist/templates/shared-context.md.template +0 -70
- package/pennyfarthing-dist/templates/sidecar/decisions.md.template +0 -40
- package/pennyfarthing-dist/templates/sidecar/gotchas.md.template +0 -37
- package/pennyfarthing-dist/templates/sidecar/patterns.md.template +0 -34
- package/pennyfarthing-dist/workflows/agent-docs.yaml +0 -70
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +0 -101
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +0 -93
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +0 -115
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +0 -133
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +0 -138
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +0 -133
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +0 -142
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +0 -160
- package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +0 -102
- package/pennyfarthing-dist/workflows/architecture.yaml +0 -65
- package/pennyfarthing-dist/workflows/bdd.yaml +0 -60
- package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +0 -62
- package/pennyfarthing-dist/workflows/brainstorming/checklist.md +0 -44
- package/pennyfarthing-dist/workflows/brainstorming/instructions.md +0 -736
- package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +0 -49
- package/pennyfarthing-dist/workflows/code-review/checklist.md +0 -23
- package/pennyfarthing-dist/workflows/code-review/instructions.md +0 -234
- package/pennyfarthing-dist/workflows/code-review/workflow.yaml +0 -51
- package/pennyfarthing-dist/workflows/dev-story/checklist.md +0 -80
- package/pennyfarthing-dist/workflows/dev-story/instructions.xml +0 -410
- package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +0 -50
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +0 -256
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +0 -233
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +0 -272
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +0 -145
- package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +0 -57
- package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +0 -190
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +0 -178
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +0 -139
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +0 -133
- package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +0 -4
- package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +0 -40
- package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +0 -13
- package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +0 -197
- package/pennyfarthing-dist/workflows/prd/data/project-types.csv +0 -11
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +0 -191
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +0 -153
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +0 -224
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +0 -226
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +0 -213
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +0 -207
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +0 -226
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +0 -237
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +0 -228
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +0 -231
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +0 -242
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +0 -217
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +0 -180
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +0 -247
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +0 -249
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +0 -253
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +0 -168
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +0 -218
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +0 -191
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +0 -209
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +0 -174
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +0 -228
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +0 -217
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +0 -263
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +0 -209
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +0 -242
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +0 -232
- package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +0 -10
- package/pennyfarthing-dist/workflows/prd/workflow.yaml +0 -42
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +0 -177
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +0 -161
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +0 -199
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +0 -202
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +0 -205
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +0 -219
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +0 -194
- package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +0 -10
- package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +0 -31
- package/pennyfarthing-dist/workflows/project-context/project-context-template.md +0 -21
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +0 -184
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +0 -318
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +0 -278
- package/pennyfarthing-dist/workflows/project-context/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +0 -156
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +0 -120
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +0 -113
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +0 -113
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +0 -106
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +0 -140
- package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +0 -189
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +0 -144
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +0 -128
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +0 -191
- package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +0 -74
- package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +0 -137
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +0 -229
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +0 -238
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +0 -206
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +0 -234
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +0 -443
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +0 -182
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +0 -237
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +0 -200
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +0 -249
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +0 -259
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +0 -177
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +0 -475
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +0 -137
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +0 -239
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +0 -248
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +0 -202
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +0 -239
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +0 -486
- package/pennyfarthing-dist/workflows/research/templates/research.template.md +0 -29
- package/pennyfarthing-dist/workflows/research/workflow.yaml +0 -45
- package/pennyfarthing-dist/workflows/retrospective/checklist.md +0 -31
- package/pennyfarthing-dist/workflows/retrospective/instructions.md +0 -1443
- package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +0 -50
- package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +0 -33
- package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +0 -55
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +0 -54
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +0 -44
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +0 -64
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +0 -73
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +0 -56
- package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +0 -34
- package/pennyfarthing-dist/workflows/tdd.yaml +0 -50
- package/pennyfarthing-dist/workflows/trivial.yaml +0 -40
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +0 -135
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +0 -127
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +0 -190
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +0 -216
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +0 -219
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +0 -234
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +0 -252
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +0 -254
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +0 -224
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +0 -224
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +0 -241
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +0 -248
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +0 -237
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +0 -264
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +0 -228
- package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +0 -13
- package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +0 -41
- /package/{packages/core/bin → bin}/pennyfarthing.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-executor.test.js","sourceRoot":"","sources":["../../src/workflow/workflow-executor.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAEL,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAEhC,gFAAgF;AAChF,gBAAgB;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AAqD;IACrD,IAAI,KAAe,CAAC;IACpB,IAAI,CAAC;QACH,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IAC/B,CAAC;IAED,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CACjC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC1C,CAAC;IAEF,sCAAsC;IACtC,KAAK,MAAM,IAAI,IAAI,SAAS,EAAE,CAAC;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACrC,MAAM,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAE1C,uBAAuB;QACvB,IAAI,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACtC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAClC,CAAC;aAAM,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YACzB,MAAM,CAAC,IAAI,CAAC;gBACV,QAAQ;gBACR,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for Story 31-2: Workflow Loader and Validator
|
|
3
|
-
*
|
|
4
|
-
* These tests define the contract for loading workflow YAML files from disk.
|
|
5
|
-
* The loader (workflow-loader.ts) will implement these functions to pass these tests.
|
|
6
|
-
*
|
|
7
|
-
* Test categories:
|
|
8
|
-
* 1. loadWorkflowFile() - Single file loading
|
|
9
|
-
* 2. loadWorkflowsFromDir() - Directory traversal
|
|
10
|
-
* 3. Integration - Real workflow files from pennyfarthing-dist/
|
|
11
|
-
*
|
|
12
|
-
* Run with: npm test
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=workflow-loader.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-loader.test.d.ts","sourceRoot":"","sources":["../../src/workflow/workflow-loader.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG"}
|
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for Story 31-2: Workflow Loader and Validator
|
|
3
|
-
*
|
|
4
|
-
* These tests define the contract for loading workflow YAML files from disk.
|
|
5
|
-
* The loader (workflow-loader.ts) will implement these functions to pass these tests.
|
|
6
|
-
*
|
|
7
|
-
* Test categories:
|
|
8
|
-
* 1. loadWorkflowFile() - Single file loading
|
|
9
|
-
* 2. loadWorkflowsFromDir() - Directory traversal
|
|
10
|
-
* 3. Integration - Real workflow files from pennyfarthing-dist/
|
|
11
|
-
*
|
|
12
|
-
* Run with: npm test
|
|
13
|
-
*/
|
|
14
|
-
import { describe, it, beforeEach, afterEach } from 'node:test';
|
|
15
|
-
import assert from 'node:assert';
|
|
16
|
-
import { mkdirSync, writeFileSync, rmSync, existsSync } from 'node:fs';
|
|
17
|
-
import { join, dirname } from 'node:path';
|
|
18
|
-
import { fileURLToPath } from 'node:url';
|
|
19
|
-
// Import the loader functions
|
|
20
|
-
import { loadWorkflowFile, loadWorkflowsFromDir } from './workflow-loader.js';
|
|
21
|
-
// Get directory for test fixtures
|
|
22
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
23
|
-
const TEST_DIR = join(__dirname, '__test_workflows__');
|
|
24
|
-
// Helper to find monorepo root for integration tests
|
|
25
|
-
function findMonorepoRoot(startDir) {
|
|
26
|
-
let dir = startDir;
|
|
27
|
-
for (let i = 0; i < 10; i++) {
|
|
28
|
-
if (existsSync(join(dir, 'pennyfarthing-dist'))) {
|
|
29
|
-
return dir;
|
|
30
|
-
}
|
|
31
|
-
const parent = dirname(dir);
|
|
32
|
-
if (parent === dir)
|
|
33
|
-
break;
|
|
34
|
-
dir = parent;
|
|
35
|
-
}
|
|
36
|
-
throw new Error(`Could not find monorepo root from ${startDir}`);
|
|
37
|
-
}
|
|
38
|
-
describe('Workflow Loader (31-2)', () => {
|
|
39
|
-
// Setup/teardown for test fixtures
|
|
40
|
-
beforeEach(() => {
|
|
41
|
-
if (existsSync(TEST_DIR)) {
|
|
42
|
-
rmSync(TEST_DIR, { recursive: true });
|
|
43
|
-
}
|
|
44
|
-
mkdirSync(TEST_DIR, { recursive: true });
|
|
45
|
-
});
|
|
46
|
-
afterEach(() => {
|
|
47
|
-
if (existsSync(TEST_DIR)) {
|
|
48
|
-
rmSync(TEST_DIR, { recursive: true });
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
describe('loadWorkflowFile() - Single file loading', () => {
|
|
52
|
-
it('should load a valid workflow file and return workflow object', () => {
|
|
53
|
-
// AC1: Loads YAML files
|
|
54
|
-
// AC4: Returns structured workflow objects
|
|
55
|
-
const validYaml = `
|
|
56
|
-
workflow:
|
|
57
|
-
name: test-workflow
|
|
58
|
-
phases:
|
|
59
|
-
- name: work
|
|
60
|
-
agent: dev
|
|
61
|
-
`;
|
|
62
|
-
const filePath = join(TEST_DIR, 'valid.yaml');
|
|
63
|
-
writeFileSync(filePath, validYaml);
|
|
64
|
-
const result = loadWorkflowFile(filePath);
|
|
65
|
-
assert.strictEqual(result.success, true, 'Should succeed for valid workflow');
|
|
66
|
-
assert.strictEqual(result.filePath, filePath, 'Should include file path');
|
|
67
|
-
assert.ok(result.workflow, 'Should return workflow object');
|
|
68
|
-
assert.strictEqual(result.workflow?.name, 'test-workflow');
|
|
69
|
-
assert.strictEqual(result.workflow?.phases?.length, 1);
|
|
70
|
-
assert.strictEqual(result.errors, undefined, 'Should not have errors');
|
|
71
|
-
});
|
|
72
|
-
it('should return error for file not found', () => {
|
|
73
|
-
// AC3: Clear error messages for invalid workflows
|
|
74
|
-
const nonExistentPath = join(TEST_DIR, 'does-not-exist.yaml');
|
|
75
|
-
const result = loadWorkflowFile(nonExistentPath);
|
|
76
|
-
assert.strictEqual(result.success, false, 'Should fail for missing file');
|
|
77
|
-
assert.strictEqual(result.filePath, nonExistentPath, 'Should include file path');
|
|
78
|
-
assert.ok(result.errors, 'Should have errors');
|
|
79
|
-
assert.ok(result.errors.length > 0, 'Should have at least one error');
|
|
80
|
-
assert.ok(result.errors[0].message.toLowerCase().includes('not found') ||
|
|
81
|
-
result.errors[0].message.toLowerCase().includes('enoent'), 'Error should indicate file not found');
|
|
82
|
-
});
|
|
83
|
-
it('should return error for malformed YAML with line info', () => {
|
|
84
|
-
// AC3: Clear error messages
|
|
85
|
-
const malformedYaml = `
|
|
86
|
-
workflow:
|
|
87
|
-
name: bad-yaml
|
|
88
|
-
phases:
|
|
89
|
-
- name: work
|
|
90
|
-
agent: dev
|
|
91
|
-
invalid indentation here
|
|
92
|
-
`;
|
|
93
|
-
const filePath = join(TEST_DIR, 'malformed.yaml');
|
|
94
|
-
writeFileSync(filePath, malformedYaml);
|
|
95
|
-
const result = loadWorkflowFile(filePath);
|
|
96
|
-
assert.strictEqual(result.success, false, 'Should fail for malformed YAML');
|
|
97
|
-
assert.ok(result.errors, 'Should have errors');
|
|
98
|
-
assert.ok(result.errors.length > 0, 'Should have at least one error');
|
|
99
|
-
// YAML parse errors should include line info when available
|
|
100
|
-
const errorMessage = result.errors[0].message;
|
|
101
|
-
assert.ok(errorMessage.length > 0, 'Should have error message');
|
|
102
|
-
});
|
|
103
|
-
it('should return validation errors for valid YAML but invalid schema', () => {
|
|
104
|
-
// AC2: Validates each against schema
|
|
105
|
-
// AC3: Clear error messages with field paths
|
|
106
|
-
const invalidSchemaYaml = `
|
|
107
|
-
workflow:
|
|
108
|
-
name: missing-phases
|
|
109
|
-
`;
|
|
110
|
-
const filePath = join(TEST_DIR, 'invalid-schema.yaml');
|
|
111
|
-
writeFileSync(filePath, invalidSchemaYaml);
|
|
112
|
-
const result = loadWorkflowFile(filePath);
|
|
113
|
-
assert.strictEqual(result.success, false, 'Should fail for invalid schema');
|
|
114
|
-
assert.ok(result.errors, 'Should have errors');
|
|
115
|
-
assert.ok(result.errors.some(e => e.field?.includes('phases')), 'Should report missing phases field');
|
|
116
|
-
});
|
|
117
|
-
it('should return validation errors for phase without agent', () => {
|
|
118
|
-
// AC2: Validates against schema (uses existing validateWorkflow)
|
|
119
|
-
const missingAgentYaml = `
|
|
120
|
-
workflow:
|
|
121
|
-
name: bad-phase
|
|
122
|
-
phases:
|
|
123
|
-
- name: incomplete
|
|
124
|
-
`;
|
|
125
|
-
const filePath = join(TEST_DIR, 'missing-agent.yaml');
|
|
126
|
-
writeFileSync(filePath, missingAgentYaml);
|
|
127
|
-
const result = loadWorkflowFile(filePath);
|
|
128
|
-
assert.strictEqual(result.success, false, 'Should fail for phase without agent');
|
|
129
|
-
assert.ok(result.errors, 'Should have errors');
|
|
130
|
-
assert.ok(result.errors.some(e => e.field?.includes('agent')), 'Should report missing agent');
|
|
131
|
-
});
|
|
132
|
-
it('should handle .yml extension', () => {
|
|
133
|
-
// AC1: Loads YAML files (both .yaml and .yml)
|
|
134
|
-
const validYaml = `
|
|
135
|
-
workflow:
|
|
136
|
-
name: yml-extension
|
|
137
|
-
phases:
|
|
138
|
-
- name: work
|
|
139
|
-
agent: dev
|
|
140
|
-
`;
|
|
141
|
-
const filePath = join(TEST_DIR, 'valid.yml');
|
|
142
|
-
writeFileSync(filePath, validYaml);
|
|
143
|
-
const result = loadWorkflowFile(filePath);
|
|
144
|
-
assert.strictEqual(result.success, true, 'Should handle .yml extension');
|
|
145
|
-
assert.strictEqual(result.workflow?.name, 'yml-extension');
|
|
146
|
-
});
|
|
147
|
-
it('should preserve all workflow fields', () => {
|
|
148
|
-
// AC4: Returns structured workflow objects
|
|
149
|
-
const fullYaml = `
|
|
150
|
-
workflow:
|
|
151
|
-
name: full-workflow
|
|
152
|
-
description: A complete workflow
|
|
153
|
-
version: "1.0.0"
|
|
154
|
-
phases:
|
|
155
|
-
- name: setup
|
|
156
|
-
agent: sm
|
|
157
|
-
output: [session]
|
|
158
|
-
- name: work
|
|
159
|
-
agent: dev
|
|
160
|
-
input: [session]
|
|
161
|
-
gate:
|
|
162
|
-
type: tests_pass
|
|
163
|
-
condition: All tests green
|
|
164
|
-
triggers:
|
|
165
|
-
types: [feature]
|
|
166
|
-
points:
|
|
167
|
-
min: 3
|
|
168
|
-
default: true
|
|
169
|
-
`;
|
|
170
|
-
const filePath = join(TEST_DIR, 'full.yaml');
|
|
171
|
-
writeFileSync(filePath, fullYaml);
|
|
172
|
-
const result = loadWorkflowFile(filePath);
|
|
173
|
-
assert.strictEqual(result.success, true);
|
|
174
|
-
assert.strictEqual(result.workflow?.description, 'A complete workflow');
|
|
175
|
-
assert.strictEqual(result.workflow?.version, '1.0.0');
|
|
176
|
-
assert.strictEqual(result.workflow?.phases?.length, 2);
|
|
177
|
-
assert.deepStrictEqual(result.workflow?.phases?.[0].output, ['session']);
|
|
178
|
-
assert.strictEqual(result.workflow?.phases?.[1].gate?.type, 'tests_pass');
|
|
179
|
-
assert.strictEqual(result.workflow?.triggers?.default, true);
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
describe('loadWorkflowsFromDir() - Directory loading', () => {
|
|
183
|
-
it('should return empty results for empty directory', () => {
|
|
184
|
-
// Edge case: empty directory
|
|
185
|
-
const result = loadWorkflowsFromDir(TEST_DIR);
|
|
186
|
-
assert.ok(Array.isArray(result.workflows), 'Should have workflows array');
|
|
187
|
-
assert.strictEqual(result.workflows.length, 0, 'Should be empty');
|
|
188
|
-
assert.ok(Array.isArray(result.errors), 'Should have errors array');
|
|
189
|
-
assert.strictEqual(result.errors.length, 0, 'Should have no errors');
|
|
190
|
-
});
|
|
191
|
-
it('should return empty results for non-existent directory', () => {
|
|
192
|
-
// AC3: Clear error handling
|
|
193
|
-
const nonExistentDir = join(TEST_DIR, 'does-not-exist');
|
|
194
|
-
const result = loadWorkflowsFromDir(nonExistentDir);
|
|
195
|
-
assert.strictEqual(result.workflows.length, 0, 'Should have no workflows');
|
|
196
|
-
// Either empty errors or an error about directory not found
|
|
197
|
-
// Implementation choice: return empty or include directory error
|
|
198
|
-
});
|
|
199
|
-
it('should load all valid workflows from directory', () => {
|
|
200
|
-
// AC1: Loads all YAML files from directory
|
|
201
|
-
// AC4: Returns structured workflow objects
|
|
202
|
-
writeFileSync(join(TEST_DIR, 'first.yaml'), `
|
|
203
|
-
workflow:
|
|
204
|
-
name: first
|
|
205
|
-
phases:
|
|
206
|
-
- name: work
|
|
207
|
-
agent: dev
|
|
208
|
-
`);
|
|
209
|
-
writeFileSync(join(TEST_DIR, 'second.yaml'), `
|
|
210
|
-
workflow:
|
|
211
|
-
name: second
|
|
212
|
-
phases:
|
|
213
|
-
- name: work
|
|
214
|
-
agent: tea
|
|
215
|
-
`);
|
|
216
|
-
const result = loadWorkflowsFromDir(TEST_DIR);
|
|
217
|
-
assert.strictEqual(result.workflows.length, 2, 'Should load both workflows');
|
|
218
|
-
const names = result.workflows.map(w => w.name).sort();
|
|
219
|
-
assert.deepStrictEqual(names, ['first', 'second']);
|
|
220
|
-
assert.strictEqual(result.errors.length, 0, 'Should have no errors');
|
|
221
|
-
});
|
|
222
|
-
it('should return partial results with errors for mixed directory', () => {
|
|
223
|
-
// AC3: Clear error messages for invalid workflows
|
|
224
|
-
writeFileSync(join(TEST_DIR, 'valid.yaml'), `
|
|
225
|
-
workflow:
|
|
226
|
-
name: valid-one
|
|
227
|
-
phases:
|
|
228
|
-
- name: work
|
|
229
|
-
agent: dev
|
|
230
|
-
`);
|
|
231
|
-
writeFileSync(join(TEST_DIR, 'invalid.yaml'), `
|
|
232
|
-
workflow:
|
|
233
|
-
name: missing-phases
|
|
234
|
-
`);
|
|
235
|
-
const result = loadWorkflowsFromDir(TEST_DIR);
|
|
236
|
-
assert.strictEqual(result.workflows.length, 1, 'Should load valid workflow');
|
|
237
|
-
assert.strictEqual(result.workflows[0].name, 'valid-one');
|
|
238
|
-
assert.strictEqual(result.errors.length, 1, 'Should have one error');
|
|
239
|
-
assert.ok(result.errors[0].filePath.includes('invalid.yaml'), 'Error should reference invalid file');
|
|
240
|
-
});
|
|
241
|
-
it('should ignore non-YAML files', () => {
|
|
242
|
-
// AC1: Only loads YAML files
|
|
243
|
-
writeFileSync(join(TEST_DIR, 'workflow.yaml'), `
|
|
244
|
-
workflow:
|
|
245
|
-
name: yaml-file
|
|
246
|
-
phases:
|
|
247
|
-
- name: work
|
|
248
|
-
agent: dev
|
|
249
|
-
`);
|
|
250
|
-
writeFileSync(join(TEST_DIR, 'readme.md'), '# Not a workflow');
|
|
251
|
-
writeFileSync(join(TEST_DIR, 'config.json'), '{"not": "yaml"}');
|
|
252
|
-
writeFileSync(join(TEST_DIR, '.hidden'), 'hidden file');
|
|
253
|
-
const result = loadWorkflowsFromDir(TEST_DIR);
|
|
254
|
-
assert.strictEqual(result.workflows.length, 1, 'Should only load .yaml file');
|
|
255
|
-
assert.strictEqual(result.workflows[0].name, 'yaml-file');
|
|
256
|
-
});
|
|
257
|
-
it('should handle both .yaml and .yml extensions', () => {
|
|
258
|
-
// AC1: Loads all YAML files
|
|
259
|
-
writeFileSync(join(TEST_DIR, 'first.yaml'), `
|
|
260
|
-
workflow:
|
|
261
|
-
name: yaml-ext
|
|
262
|
-
phases:
|
|
263
|
-
- name: work
|
|
264
|
-
agent: dev
|
|
265
|
-
`);
|
|
266
|
-
writeFileSync(join(TEST_DIR, 'second.yml'), `
|
|
267
|
-
workflow:
|
|
268
|
-
name: yml-ext
|
|
269
|
-
phases:
|
|
270
|
-
- name: work
|
|
271
|
-
agent: dev
|
|
272
|
-
`);
|
|
273
|
-
const result = loadWorkflowsFromDir(TEST_DIR);
|
|
274
|
-
assert.strictEqual(result.workflows.length, 2, 'Should load both extensions');
|
|
275
|
-
});
|
|
276
|
-
it('should include file paths in error results', () => {
|
|
277
|
-
// AC3: Clear error messages include file path
|
|
278
|
-
writeFileSync(join(TEST_DIR, 'broken.yaml'), `
|
|
279
|
-
workflow:
|
|
280
|
-
phases:
|
|
281
|
-
- name: no-agent
|
|
282
|
-
`);
|
|
283
|
-
const result = loadWorkflowsFromDir(TEST_DIR);
|
|
284
|
-
assert.strictEqual(result.errors.length, 1);
|
|
285
|
-
assert.ok(result.errors[0].filePath, 'Error should have filePath');
|
|
286
|
-
assert.ok(result.errors[0].filePath.endsWith('broken.yaml'), 'filePath should be the file that failed');
|
|
287
|
-
assert.ok(Array.isArray(result.errors[0].errors), 'Should have validation errors array');
|
|
288
|
-
});
|
|
289
|
-
});
|
|
290
|
-
describe('Integration with real workflow files', () => {
|
|
291
|
-
it('should successfully load tdd.yaml from pennyfarthing-dist', () => {
|
|
292
|
-
// AC2: Validates against schema
|
|
293
|
-
// AC4: Returns structured workflow objects
|
|
294
|
-
const root = findMonorepoRoot(__dirname);
|
|
295
|
-
const tddPath = join(root, 'pennyfarthing-dist', 'workflows', 'tdd.yaml');
|
|
296
|
-
const result = loadWorkflowFile(tddPath);
|
|
297
|
-
assert.strictEqual(result.success, true, 'tdd.yaml should be valid');
|
|
298
|
-
assert.strictEqual(result.workflow?.name, 'tdd');
|
|
299
|
-
assert.ok((result.workflow?.phases?.length ?? 0) >= 4, 'TDD has multiple phases');
|
|
300
|
-
});
|
|
301
|
-
it('should successfully load trivial.yaml from pennyfarthing-dist', () => {
|
|
302
|
-
// AC2: Validates against schema
|
|
303
|
-
const root = findMonorepoRoot(__dirname);
|
|
304
|
-
const trivialPath = join(root, 'pennyfarthing-dist', 'workflows', 'trivial.yaml');
|
|
305
|
-
const result = loadWorkflowFile(trivialPath);
|
|
306
|
-
assert.strictEqual(result.success, true, 'trivial.yaml should be valid');
|
|
307
|
-
assert.strictEqual(result.workflow?.name, 'trivial');
|
|
308
|
-
});
|
|
309
|
-
it('should load all workflows from pennyfarthing-dist/workflows/', () => {
|
|
310
|
-
// AC1: Loads all YAML files from directory
|
|
311
|
-
const root = findMonorepoRoot(__dirname);
|
|
312
|
-
const workflowsDir = join(root, 'pennyfarthing-dist', 'workflows');
|
|
313
|
-
const result = loadWorkflowsFromDir(workflowsDir);
|
|
314
|
-
assert.ok(result.workflows.length >= 2, 'Should load at least tdd and trivial');
|
|
315
|
-
assert.strictEqual(result.errors.length, 0, 'Built-in workflows should be valid');
|
|
316
|
-
const names = result.workflows.map(w => w.name);
|
|
317
|
-
assert.ok(names.includes('tdd'), 'Should include tdd workflow');
|
|
318
|
-
assert.ok(names.includes('trivial'), 'Should include trivial workflow');
|
|
319
|
-
});
|
|
320
|
-
});
|
|
321
|
-
describe('Error message quality', () => {
|
|
322
|
-
it('should provide clear message for missing workflow root key', () => {
|
|
323
|
-
// AC3: Clear error messages
|
|
324
|
-
const noRootYaml = `
|
|
325
|
-
name: wrong-structure
|
|
326
|
-
phases:
|
|
327
|
-
- name: work
|
|
328
|
-
agent: dev
|
|
329
|
-
`;
|
|
330
|
-
const filePath = join(TEST_DIR, 'no-root.yaml');
|
|
331
|
-
writeFileSync(filePath, noRootYaml);
|
|
332
|
-
const result = loadWorkflowFile(filePath);
|
|
333
|
-
assert.strictEqual(result.success, false);
|
|
334
|
-
assert.ok(result.errors?.some(e => e.message.toLowerCase().includes('workflow') &&
|
|
335
|
-
(e.message.toLowerCase().includes('missing') || e.message.toLowerCase().includes('root'))), 'Should mention missing workflow root key');
|
|
336
|
-
});
|
|
337
|
-
it('should report multiple validation errors', () => {
|
|
338
|
-
// AC3: Clear error messages (accumulate all errors)
|
|
339
|
-
const multipleErrorsYaml = `
|
|
340
|
-
workflow:
|
|
341
|
-
phases:
|
|
342
|
-
- agent: dev
|
|
343
|
-
`;
|
|
344
|
-
const filePath = join(TEST_DIR, 'multiple-errors.yaml');
|
|
345
|
-
writeFileSync(filePath, multipleErrorsYaml);
|
|
346
|
-
const result = loadWorkflowFile(filePath);
|
|
347
|
-
assert.strictEqual(result.success, false);
|
|
348
|
-
assert.ok(result.errors, 'Should have errors');
|
|
349
|
-
// Should have errors for: missing name, phase missing name
|
|
350
|
-
assert.ok(result.errors.length >= 2, 'Should report multiple errors');
|
|
351
|
-
});
|
|
352
|
-
});
|
|
353
|
-
});
|
|
354
|
-
//# sourceMappingURL=workflow-loader.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-loader.test.js","sourceRoot":"","sources":["../../src/workflow/workflow-loader.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAChE,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,8BAA8B;AAC9B,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EAGrB,MAAM,sBAAsB,CAAC;AAE9B,kCAAkC;AAClC,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAEvD,qDAAqD;AACrD,SAAS,gBAAgB,CAAC,QAAgB;IACxC,IAAI,GAAG,GAAG,QAAQ,CAAC;IACnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5B,IAAI,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC;YAChD,OAAO,GAAG,CAAC;QACb,CAAC;QACD,MAAM,MAAM,G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AC,CAAC,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for Story 31-4: Migrate TDD Flow to Workflow Definition
|
|
3
|
-
*
|
|
4
|
-
* These tests verify that the workflow YAML files correctly capture
|
|
5
|
-
* the hardcoded TDD flow from the SM agent. This is a migration verification
|
|
6
|
-
* test suite - it ensures the YAML definitions match expected behavior.
|
|
7
|
-
*
|
|
8
|
-
* Acceptance Criteria:
|
|
9
|
-
* - AC1: tdd.yaml workflow exists in pennyfarthing-dist/workflows/
|
|
10
|
-
* - AC2: Defines SM → TEA → Dev → Reviewer → SM phases
|
|
11
|
-
* - AC3: Scale routing (1-2 pts skip TEA) preserved via trivial.yaml
|
|
12
|
-
* - AC4: Existing /new-work behavior unchanged (regression tested)
|
|
13
|
-
*
|
|
14
|
-
* Run with: npm test
|
|
15
|
-
*/
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=workflow-migration.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-migration.test.d.ts","sourceRoot":"","sources":["../../src/workflow/workflow-migration.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
|