@pennyfarthing/core 7.5.0 → 7.6.1
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/LICENSE +14 -0
- package/README.md +301 -0
- package/package.json +31 -36
- package/packages/core/dist/bmad/context-reader.d.ts +71 -0
- package/packages/core/dist/bmad/context-reader.d.ts.map +1 -0
- package/packages/core/dist/bmad/context-reader.js +369 -0
- package/packages/core/dist/bmad/context-reader.js.map +1 -0
- package/packages/core/dist/bmad/context-reader.test.d.ts +71 -0
- package/packages/core/dist/bmad/context-reader.test.d.ts.map +1 -0
- package/packages/core/dist/bmad/context-reader.test.js +878 -0
- package/packages/core/dist/bmad/context-reader.test.js.map +1 -0
- package/packages/core/dist/bmad/epics-parser.d.ts +61 -0
- package/packages/core/dist/bmad/epics-parser.d.ts.map +1 -0
- package/packages/core/dist/bmad/epics-parser.js +331 -0
- package/packages/core/dist/bmad/epics-parser.js.map +1 -0
- package/packages/core/dist/bmad/epics-parser.test.d.ts +7 -0
- package/packages/core/dist/bmad/epics-parser.test.d.ts.map +1 -0
- package/packages/core/dist/bmad/epics-parser.test.js +449 -0
- package/packages/core/dist/bmad/epics-parser.test.js.map +1 -0
- package/packages/core/dist/bmad/index.d.ts +11 -0
- package/packages/core/dist/bmad/index.d.ts.map +1 -0
- package/packages/core/dist/bmad/index.js +24 -0
- package/packages/core/dist/bmad/index.js.map +1 -0
- package/packages/core/dist/bmad/status-sync.d.ts +173 -0
- package/packages/core/dist/bmad/status-sync.d.ts.map +1 -0
- package/packages/core/dist/bmad/status-sync.js +463 -0
- package/packages/core/dist/bmad/status-sync.js.map +1 -0
- package/packages/core/dist/bmad/status-sync.test.d.ts +7 -0
- package/packages/core/dist/bmad/status-sync.test.d.ts.map +1 -0
- package/packages/core/dist/bmad/status-sync.test.js +702 -0
- package/packages/core/dist/bmad/status-sync.test.js.map +1 -0
- package/packages/core/dist/bmad/story-exporter.d.ts +55 -0
- package/packages/core/dist/bmad/story-exporter.d.ts.map +1 -0
- package/packages/core/dist/bmad/story-exporter.js +170 -0
- package/packages/core/dist/bmad/story-exporter.js.map +1 -0
- package/packages/core/dist/bmad/story-exporter.test.d.ts +51 -0
- package/packages/core/dist/bmad/story-exporter.test.d.ts.map +1 -0
- package/packages/core/dist/bmad/story-exporter.test.js +603 -0
- package/packages/core/dist/bmad/story-exporter.test.js.map +1 -0
- package/packages/core/dist/bmad/story-parser.d.ts +44 -0
- package/packages/core/dist/bmad/story-parser.d.ts.map +1 -0
- package/packages/core/dist/bmad/story-parser.js +307 -0
- package/packages/core/dist/bmad/story-parser.js.map +1 -0
- package/packages/core/dist/bmad/story-parser.test.d.ts +44 -0
- package/packages/core/dist/bmad/story-parser.test.d.ts.map +1 -0
- package/packages/core/dist/bmad/story-parser.test.js +693 -0
- package/packages/core/dist/bmad/story-parser.test.js.map +1 -0
- package/packages/core/dist/cli/commands/command.d.ts +28 -0
- package/packages/core/dist/cli/commands/command.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/command.js +399 -0
- package/packages/core/dist/cli/commands/command.js.map +1 -0
- package/packages/core/dist/cli/commands/cyclist.d.ts +46 -0
- package/packages/core/dist/cli/commands/cyclist.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/cyclist.js +196 -0
- package/packages/core/dist/cli/commands/cyclist.js.map +1 -0
- package/packages/core/dist/cli/commands/cyclist.test.d.ts +13 -0
- package/packages/core/dist/cli/commands/cyclist.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/cyclist.test.js +245 -0
- package/packages/core/dist/cli/commands/cyclist.test.js.map +1 -0
- package/packages/core/dist/cli/commands/doctor-legacy.test.d.ts +13 -0
- package/packages/core/dist/cli/commands/doctor-legacy.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/doctor-legacy.test.js +207 -0
- package/packages/core/dist/cli/commands/doctor-legacy.test.js.map +1 -0
- package/packages/core/dist/cli/commands/doctor.d.ts +25 -0
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/doctor.js +780 -0
- package/packages/core/dist/cli/commands/doctor.js.map +1 -0
- package/packages/core/dist/cli/commands/init.d.ts +8 -0
- package/packages/core/dist/cli/commands/init.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/init.js +515 -0
- package/packages/core/dist/cli/commands/init.js.map +1 -0
- package/packages/core/dist/cli/commands/skill.d.ts +28 -0
- package/packages/core/dist/cli/commands/skill.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/skill.js +416 -0
- package/packages/core/dist/cli/commands/skill.js.map +1 -0
- package/packages/core/dist/cli/commands/theme.d.ts +21 -0
- package/packages/core/dist/cli/commands/theme.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/theme.js +201 -0
- package/packages/core/dist/cli/commands/theme.js.map +1 -0
- package/packages/core/dist/cli/commands/uninstall.d.ts +8 -0
- package/packages/core/dist/cli/commands/uninstall.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/uninstall.js +237 -0
- package/packages/core/dist/cli/commands/uninstall.js.map +1 -0
- package/packages/core/dist/cli/commands/update.d.ts +9 -0
- package/packages/core/dist/cli/commands/update.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/update.js +390 -0
- package/packages/core/dist/cli/commands/update.js.map +1 -0
- package/packages/core/dist/cli/commands/version.d.ts +2 -0
- package/packages/core/dist/cli/commands/version.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/version.js +28 -0
- package/packages/core/dist/cli/commands/version.js.map +1 -0
- package/packages/core/dist/cli/customization.test.d.ts +12 -0
- package/packages/core/dist/cli/customization.test.d.ts.map +1 -0
- package/packages/core/dist/cli/customization.test.js +84 -0
- package/packages/core/dist/cli/customization.test.js.map +1 -0
- package/packages/core/dist/cli/cyclist-migration.test.d.ts +16 -0
- package/packages/core/dist/cli/cyclist-migration.test.d.ts.map +1 -0
- package/packages/core/dist/cli/cyclist-migration.test.js +225 -0
- package/packages/core/dist/cli/cyclist-migration.test.js.map +1 -0
- package/packages/core/dist/cli/index.d.ts +3 -0
- package/packages/core/dist/cli/index.d.ts.map +1 -0
- package/packages/core/dist/cli/index.js +174 -0
- package/packages/core/dist/cli/index.js.map +1 -0
- package/packages/core/dist/cli/ocean-profiles.test.d.ts +13 -0
- package/packages/core/dist/cli/ocean-profiles.test.d.ts.map +1 -0
- package/packages/core/dist/cli/ocean-profiles.test.js +134 -0
- package/packages/core/dist/cli/ocean-profiles.test.js.map +1 -0
- package/packages/core/dist/cli/theme-maker.test.d.ts +11 -0
- package/packages/core/dist/cli/theme-maker.test.d.ts.map +1 -0
- package/packages/core/dist/cli/theme-maker.test.js +356 -0
- package/packages/core/dist/cli/theme-maker.test.js.map +1 -0
- package/packages/core/dist/cli/utils/constants.d.ts +66 -0
- package/packages/core/dist/cli/utils/constants.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/constants.js +54 -0
- package/packages/core/dist/cli/utils/constants.js.map +1 -0
- package/{dist → packages/core/dist}/cli/utils/files.d.ts +1 -0
- package/packages/core/dist/cli/utils/files.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/files.js +162 -0
- package/packages/core/dist/cli/utils/files.js.map +1 -0
- package/packages/core/dist/cli/utils/logger.d.ts +26 -0
- package/packages/core/dist/cli/utils/logger.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/logger.js +88 -0
- package/packages/core/dist/cli/utils/logger.js.map +1 -0
- package/{dist → packages/core/dist}/cli/utils/manifest.d.ts +1 -0
- package/packages/core/dist/cli/utils/manifest.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/manifest.js +90 -0
- package/packages/core/dist/cli/utils/manifest.js.map +1 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts +6 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/node-modules.js +32 -0
- package/packages/core/dist/cli/utils/node-modules.js.map +1 -0
- package/packages/core/dist/cli/utils/prompts.d.ts +34 -0
- package/packages/core/dist/cli/utils/prompts.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/prompts.js +93 -0
- package/packages/core/dist/cli/utils/prompts.js.map +1 -0
- package/packages/core/dist/cli/utils/symlinks.d.ts +44 -0
- package/packages/core/dist/cli/utils/symlinks.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/symlinks.js +327 -0
- package/packages/core/dist/cli/utils/symlinks.js.map +1 -0
- package/packages/core/dist/cli/utils/themes.d.ts +101 -0
- package/packages/core/dist/cli/utils/themes.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/themes.js +382 -0
- package/packages/core/dist/cli/utils/themes.js.map +1 -0
- package/packages/core/dist/cli/utils/themes.test.d.ts +12 -0
- package/packages/core/dist/cli/utils/themes.test.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/themes.test.js +147 -0
- package/packages/core/dist/cli/utils/themes.test.js.map +1 -0
- package/{dist → packages/core/dist}/cli/utils/version.d.ts +1 -0
- package/packages/core/dist/cli/utils/version.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/version.js +64 -0
- package/packages/core/dist/cli/utils/version.js.map +1 -0
- package/packages/core/dist/cli/workspace.test.d.ts +8 -0
- package/packages/core/dist/cli/workspace.test.d.ts.map +1 -0
- package/packages/core/dist/cli/workspace.test.js +156 -0
- package/packages/core/dist/cli/workspace.test.js.map +1 -0
- package/{dist → packages/core/dist}/index.d.ts +1 -0
- package/packages/core/dist/index.d.ts.map +1 -0
- package/packages/core/dist/index.js +20 -0
- package/packages/core/dist/index.js.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.d.ts +109 -0
- package/packages/core/dist/jira/jira-epic-creation.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.js +253 -0
- package/packages/core/dist/jira/jira-epic-creation.js.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts +16 -0
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.test.js +387 -0
- package/packages/core/dist/jira/jira-epic-creation.test.js.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.d.ts +247 -0
- package/packages/core/dist/jira/jira-sprint-sync.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.js +670 -0
- package/packages/core/dist/jira/jira-sprint-sync.js.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts +16 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.js +845 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.js.map +1 -0
- package/{dist → packages/core/dist}/permissions/index.d.ts +1 -0
- package/packages/core/dist/permissions/index.d.ts.map +1 -0
- package/packages/core/dist/permissions/index.js +13 -0
- package/packages/core/dist/permissions/index.js.map +1 -0
- package/{dist → packages/core/dist}/permissions/permission-schema.d.ts +1 -0
- package/packages/core/dist/permissions/permission-schema.d.ts.map +1 -0
- package/{dist → packages/core/dist}/permissions/permission-schema.js +9 -13
- package/packages/core/dist/permissions/permission-schema.js.map +1 -0
- package/packages/core/dist/permissions/permission-schema.test.d.ts +40 -0
- package/packages/core/dist/permissions/permission-schema.test.d.ts.map +1 -0
- package/packages/core/dist/permissions/permission-schema.test.js +367 -0
- package/packages/core/dist/permissions/permission-schema.test.js.map +1 -0
- package/packages/core/dist/scripts/add-ocean-profiles.d.ts +9 -0
- package/packages/core/dist/scripts/add-ocean-profiles.d.ts.map +1 -0
- package/packages/core/dist/scripts/add-ocean-profiles.js +695 -0
- package/packages/core/dist/scripts/add-ocean-profiles.js.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.d.ts +182 -0
- package/packages/core/dist/scripts/benchmark-integration.d.ts.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.js +691 -0
- package/packages/core/dist/scripts/benchmark-integration.js.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.test.d.ts +13 -0
- package/packages/core/dist/scripts/benchmark-integration.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.test.js +680 -0
- package/packages/core/dist/scripts/benchmark-integration.test.js.map +1 -0
- package/packages/core/dist/scripts/debugging-scenarios.test.d.ts +18 -0
- package/packages/core/dist/scripts/debugging-scenarios.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/debugging-scenarios.test.js +317 -0
- package/packages/core/dist/scripts/debugging-scenarios.test.js.map +1 -0
- package/packages/core/dist/scripts/generate-all-spiders.d.ts +10 -0
- package/packages/core/dist/scripts/generate-all-spiders.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-all-spiders.js +306 -0
- package/packages/core/dist/scripts/generate-all-spiders.js.map +1 -0
- package/packages/core/dist/scripts/generate-report.d.ts +65 -0
- package/packages/core/dist/scripts/generate-report.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-report.js +378 -0
- package/packages/core/dist/scripts/generate-report.js.map +1 -0
- package/packages/core/dist/scripts/generate-report.test.d.ts +13 -0
- package/packages/core/dist/scripts/generate-report.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-report.test.js +363 -0
- package/packages/core/dist/scripts/generate-report.test.js.map +1 -0
- package/packages/core/dist/scripts/generate-spider-report.d.ts +65 -0
- package/packages/core/dist/scripts/generate-spider-report.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-spider-report.js +366 -0
- package/packages/core/dist/scripts/generate-spider-report.js.map +1 -0
- package/packages/core/dist/scripts/generate-spider-report.test.d.ts +13 -0
- package/packages/core/dist/scripts/generate-spider-report.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-spider-report.test.js +367 -0
- package/packages/core/dist/scripts/generate-spider-report.test.js.map +1 -0
- package/packages/core/dist/scripts/generate-spider.d.ts +47 -0
- package/packages/core/dist/scripts/generate-spider.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-spider.js +338 -0
- package/packages/core/dist/scripts/generate-spider.js.map +1 -0
- package/packages/core/dist/scripts/generate-spider.test.d.ts +14 -0
- package/packages/core/dist/scripts/generate-spider.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/generate-spider.test.js +271 -0
- package/packages/core/dist/scripts/generate-spider.test.js.map +1 -0
- package/{dist → packages/core/dist}/scripts/job-fair-aggregator.d.ts +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js +547 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.test.d.ts +14 -0
- package/packages/core/dist/scripts/job-fair-aggregator.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.test.js +616 -0
- package/packages/core/dist/scripts/job-fair-aggregator.test.js.map +1 -0
- package/packages/core/dist/scripts/run-ci.test.d.ts +20 -0
- package/packages/core/dist/scripts/run-ci.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/run-ci.test.js +127 -0
- package/packages/core/dist/scripts/run-ci.test.js.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.d.ts +10 -0
- package/packages/core/dist/scripts/theme-detail.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.js +199 -0
- package/packages/core/dist/scripts/theme-detail.test.js.map +1 -0
- package/packages/core/dist/scripts/validate-ocean-profiles.d.ts +9 -0
- package/packages/core/dist/scripts/validate-ocean-profiles.d.ts.map +1 -0
- package/packages/core/dist/scripts/validate-ocean-profiles.js +130 -0
- package/packages/core/dist/scripts/validate-ocean-profiles.js.map +1 -0
- package/packages/core/dist/workflow/gate-handler.d.ts +94 -0
- package/packages/core/dist/workflow/gate-handler.d.ts.map +1 -0
- package/packages/core/dist/workflow/gate-handler.js +189 -0
- package/packages/core/dist/workflow/gate-handler.js.map +1 -0
- package/packages/core/dist/workflow/gate-handler.test.d.ts +14 -0
- package/packages/core/dist/workflow/gate-handler.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/gate-handler.test.js +543 -0
- package/packages/core/dist/workflow/gate-handler.test.js.map +1 -0
- package/packages/core/dist/workflow/generic-sm-finish.d.ts +89 -0
- package/packages/core/dist/workflow/generic-sm-finish.d.ts.map +1 -0
- package/packages/core/dist/workflow/generic-sm-finish.js +157 -0
- package/packages/core/dist/workflow/generic-sm-finish.js.map +1 -0
- package/packages/core/dist/workflow/generic-sm-setup.d.ts +138 -0
- package/packages/core/dist/workflow/generic-sm-setup.d.ts.map +1 -0
- package/packages/core/dist/workflow/generic-sm-setup.js +382 -0
- package/packages/core/dist/workflow/generic-sm-setup.js.map +1 -0
- package/packages/core/dist/workflow/handoff.d.ts +281 -0
- package/packages/core/dist/workflow/handoff.d.ts.map +1 -0
- package/packages/core/dist/workflow/handoff.js +411 -0
- package/packages/core/dist/workflow/handoff.js.map +1 -0
- package/packages/core/dist/workflow/handoff.test.d.ts +21 -0
- package/packages/core/dist/workflow/handoff.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/handoff.test.js +499 -0
- package/packages/core/dist/workflow/handoff.test.js.map +1 -0
- package/{dist → packages/core/dist}/workflow/index.d.ts +1 -0
- package/packages/core/dist/workflow/index.d.ts.map +1 -0
- package/packages/core/dist/workflow/index.js +24 -0
- package/packages/core/dist/workflow/index.js.map +1 -0
- package/packages/core/dist/workflow/session-state.d.ts +92 -0
- package/packages/core/dist/workflow/session-state.d.ts.map +1 -0
- package/packages/core/dist/workflow/session-state.js +198 -0
- package/packages/core/dist/workflow/session-state.js.map +1 -0
- package/packages/core/dist/workflow/session-state.test.d.ts +8 -0
- package/packages/core/dist/workflow/session-state.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/session-state.test.js +551 -0
- package/packages/core/dist/workflow/session-state.test.js.map +1 -0
- package/packages/core/dist/workflow/sm-subagents.test.d.ts +23 -0
- package/packages/core/dist/workflow/sm-subagents.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/sm-subagents.test.js +727 -0
- package/packages/core/dist/workflow/sm-subagents.test.js.map +1 -0
- package/packages/core/dist/workflow/step-parser.d.ts +45 -0
- package/packages/core/dist/workflow/step-parser.d.ts.map +1 -0
- package/packages/core/dist/workflow/step-parser.js +147 -0
- package/packages/core/dist/workflow/step-parser.js.map +1 -0
- package/packages/core/dist/workflow/step-parser.test.d.ts +14 -0
- package/packages/core/dist/workflow/step-parser.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/step-parser.test.js +470 -0
- package/packages/core/dist/workflow/step-parser.test.js.map +1 -0
- package/packages/core/dist/workflow/story-workflow-routing.test.d.ts +17 -0
- package/packages/core/dist/workflow/story-workflow-routing.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/story-workflow-routing.test.js +559 -0
- package/packages/core/dist/workflow/story-workflow-routing.test.js.map +1 -0
- package/packages/core/dist/workflow/test-cache.d.ts +131 -0
- package/packages/core/dist/workflow/test-cache.d.ts.map +1 -0
- package/packages/core/dist/workflow/test-cache.js +226 -0
- package/packages/core/dist/workflow/test-cache.js.map +1 -0
- package/packages/core/dist/workflow/test-cache.test.d.ts +17 -0
- package/packages/core/dist/workflow/test-cache.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/test-cache.test.js +438 -0
- package/packages/core/dist/workflow/test-cache.test.js.map +1 -0
- package/packages/core/dist/workflow/trimodal.d.ts +86 -0
- package/packages/core/dist/workflow/trimodal.d.ts.map +1 -0
- package/packages/core/dist/workflow/trimodal.js +118 -0
- package/packages/core/dist/workflow/trimodal.js.map +1 -0
- package/packages/core/dist/workflow/trimodal.test.d.ts +11 -0
- package/packages/core/dist/workflow/trimodal.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/trimodal.test.js +395 -0
- package/packages/core/dist/workflow/trimodal.test.js.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.d.ts +67 -0
- package/packages/core/dist/workflow/variable-resolver.d.ts.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.js +156 -0
- package/packages/core/dist/workflow/variable-resolver.js.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.test.d.ts +14 -0
- package/packages/core/dist/workflow/variable-resolver.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.test.js +400 -0
- package/packages/core/dist/workflow/variable-resolver.test.js.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.d.ts +163 -0
- package/packages/core/dist/workflow/workflow-executor.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.js +197 -0
- package/packages/core/dist/workflow/workflow-executor.js.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.test.d.ts +8 -0
- package/packages/core/dist/workflow/workflow-executor.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.test.js +444 -0
- package/packages/core/dist/workflow/workflow-executor.test.js.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-loader.d.ts +1 -0
- package/packages/core/dist/workflow/workflow-loader.d.ts.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-loader.js +34 -40
- package/packages/core/dist/workflow/workflow-loader.js.map +1 -0
- package/packages/core/dist/workflow/workflow-loader.test.d.ts +15 -0
- package/packages/core/dist/workflow/workflow-loader.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-loader.test.js +354 -0
- package/packages/core/dist/workflow/workflow-loader.test.js.map +1 -0
- package/packages/core/dist/workflow/workflow-migration.test.d.ts +17 -0
- package/packages/core/dist/workflow/workflow-migration.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-migration.test.js +371 -0
- package/packages/core/dist/workflow/workflow-migration.test.js.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-permissions.d.ts +1 -0
- package/packages/core/dist/workflow/workflow-permissions.d.ts.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-permissions.js +8 -14
- package/packages/core/dist/workflow/workflow-permissions.js.map +1 -0
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts +15 -0
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-permissions.test.js +301 -0
- package/packages/core/dist/workflow/workflow-permissions.test.js.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-router.d.ts +1 -0
- package/packages/core/dist/workflow/workflow-router.d.ts.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-router.js +51 -70
- package/packages/core/dist/workflow/workflow-router.js.map +1 -0
- package/packages/core/dist/workflow/workflow-router.test.d.ts +20 -0
- package/packages/core/dist/workflow/workflow-router.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-router.test.js +607 -0
- package/packages/core/dist/workflow/workflow-router.test.js.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-schema.d.ts +1 -0
- package/packages/core/dist/workflow/workflow-schema.d.ts.map +1 -0
- package/{dist → packages/core/dist}/workflow/workflow-schema.js +59 -62
- package/packages/core/dist/workflow/workflow-schema.js.map +1 -0
- package/packages/core/dist/workflow/workflow-schema.test.d.ts +45 -0
- package/packages/core/dist/workflow/workflow-schema.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-schema.test.js +512 -0
- package/packages/core/dist/workflow/workflow-schema.test.js.map +1 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts +18 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js +608 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js.map +1 -0
- package/pennyfarthing-dist/agents/README.md +340 -0
- package/pennyfarthing-dist/agents/architect.md +193 -0
- package/pennyfarthing-dist/agents/dev.md +259 -0
- package/pennyfarthing-dist/agents/devops.md +206 -0
- package/pennyfarthing-dist/agents/handoff.md +212 -0
- package/pennyfarthing-dist/agents/orchestrator.md +355 -0
- package/pennyfarthing-dist/agents/pm.md +169 -0
- package/pennyfarthing-dist/agents/reviewer-preflight.md +96 -0
- package/pennyfarthing-dist/agents/reviewer.md +377 -0
- package/pennyfarthing-dist/agents/sm-file-summary.md +58 -0
- package/pennyfarthing-dist/agents/sm-finish.md +61 -0
- package/pennyfarthing-dist/agents/sm-handoff.md +122 -0
- package/pennyfarthing-dist/agents/sm-setup.md +174 -0
- package/pennyfarthing-dist/agents/sm.md +649 -0
- package/pennyfarthing-dist/agents/tea.md +230 -0
- package/pennyfarthing-dist/agents/tech-writer.md +216 -0
- package/pennyfarthing-dist/agents/testing-runner.md +141 -0
- package/pennyfarthing-dist/agents/ux-designer.md +231 -0
- package/pennyfarthing-dist/agents/workflow-status-check.md +68 -0
- package/pennyfarthing-dist/commands/architect.md +7 -0
- package/pennyfarthing-dist/commands/benchmark-control.md +69 -0
- package/pennyfarthing-dist/commands/benchmark.md +467 -0
- package/pennyfarthing-dist/commands/brainstorming.md +91 -0
- package/pennyfarthing-dist/commands/check.md +156 -0
- package/pennyfarthing-dist/commands/chore.md +178 -0
- package/pennyfarthing-dist/commands/close-epic.md +139 -0
- package/pennyfarthing-dist/commands/continue-session.md +184 -0
- package/pennyfarthing-dist/commands/create-branches-from-story.md +358 -0
- package/pennyfarthing-dist/commands/create-theme.md +29 -0
- package/pennyfarthing-dist/commands/dev.md +7 -0
- package/pennyfarthing-dist/commands/devops.md +7 -0
- package/pennyfarthing-dist/commands/git-cleanup.md +340 -0
- package/pennyfarthing-dist/commands/health-check.md +141 -0
- package/pennyfarthing-dist/commands/help.md +264 -0
- package/pennyfarthing-dist/commands/job-fair.md +102 -0
- package/pennyfarthing-dist/commands/list-themes.md +21 -0
- package/pennyfarthing-dist/commands/orchestrator.md +7 -0
- package/pennyfarthing-dist/commands/parallel-work.md +71 -0
- package/pennyfarthing-dist/commands/party-mode.md +67 -0
- package/pennyfarthing-dist/commands/permissions.md +193 -0
- package/pennyfarthing-dist/commands/pm.md +7 -0
- package/pennyfarthing-dist/commands/prime.md +140 -0
- package/pennyfarthing-dist/commands/release.md +58 -0
- package/pennyfarthing-dist/commands/repo-status.md +49 -0
- package/pennyfarthing-dist/commands/retro.md +200 -0
- package/pennyfarthing-dist/commands/reviewer.md +7 -0
- package/pennyfarthing-dist/commands/run-ci.md +116 -0
- package/pennyfarthing-dist/commands/set-theme.md +56 -0
- package/pennyfarthing-dist/commands/show-theme.md +21 -0
- package/pennyfarthing-dist/commands/sm.md +7 -0
- package/pennyfarthing-dist/commands/solo.md +411 -0
- package/pennyfarthing-dist/commands/sprint-planning.md +109 -0
- package/pennyfarthing-dist/commands/sprint.md +133 -0
- package/pennyfarthing-dist/commands/standalone.md +194 -0
- package/pennyfarthing-dist/commands/start-epic.md +168 -0
- package/pennyfarthing-dist/commands/sync-epic-to-jira.md +184 -0
- package/pennyfarthing-dist/commands/sync-work-with-sprint.md +373 -0
- package/pennyfarthing-dist/commands/tea.md +7 -0
- package/pennyfarthing-dist/commands/tech-writer.md +7 -0
- package/pennyfarthing-dist/commands/theme-maker.md +676 -0
- package/pennyfarthing-dist/commands/update-domain-docs.md +83 -0
- package/pennyfarthing-dist/commands/ux-designer.md +7 -0
- package/pennyfarthing-dist/commands/work.md +122 -0
- package/pennyfarthing-dist/commands/workflow.md +21 -0
- package/pennyfarthing-dist/guides/AGENT-COORDINATION.md +480 -0
- package/pennyfarthing-dist/guides/HOOKS.md +230 -0
- package/pennyfarthing-dist/guides/PROMPT-PATTERNS.md +338 -0
- package/pennyfarthing-dist/guides/SESSION-ARTIFACTS.md +193 -0
- package/pennyfarthing-dist/guides/XML-TAGS.md +156 -0
- package/pennyfarthing-dist/guides/agent-behavior.md +286 -0
- package/pennyfarthing-dist/guides/agent-template-strategic.md +148 -0
- package/pennyfarthing-dist/guides/agent-template-tactical.md +162 -0
- package/pennyfarthing-dist/guides/measurement-framework.md +210 -0
- package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +746 -0
- package/pennyfarthing-dist/guides/patterns/fan-out-fan-in-pattern.md +574 -0
- package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +488 -0
- package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +402 -0
- package/pennyfarthing-dist/guides/permission-protocol.md +188 -0
- package/pennyfarthing-dist/guides/persona-loading.md +46 -0
- package/pennyfarthing-dist/guides/workflow-schema.md +257 -0
- package/pennyfarthing-dist/guides/worktree-mode.md +113 -0
- package/pennyfarthing-dist/output-styles/teaching.md +33 -0
- package/pennyfarthing-dist/output-styles/terse.md +20 -0
- package/pennyfarthing-dist/output-styles/verbose.md +28 -0
- package/pennyfarthing-dist/personas/themes/1984.yaml +312 -0
- package/pennyfarthing-dist/personas/themes/a-team.yaml +337 -0
- package/pennyfarthing-dist/personas/themes/agatha-christie.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +330 -0
- package/pennyfarthing-dist/personas/themes/all-stars.yaml +332 -0
- package/pennyfarthing-dist/personas/themes/ancient-philosophers.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/ancient-strategists.yaml +306 -0
- package/pennyfarthing-dist/personas/themes/arcane.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/arthurian-mythos.yaml +331 -0
- package/pennyfarthing-dist/personas/themes/avatar-the-last-airbender.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/babylon-5.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/better-call-saul.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/big-lebowski.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/black-sails.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/blade-runner.yaml +295 -0
- package/pennyfarthing-dist/personas/themes/bobiverse.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/breaking-bad.yaml +327 -0
- package/pennyfarthing-dist/personas/themes/catch-22.yaml +316 -0
- package/pennyfarthing-dist/personas/themes/classical-composers.yaml +310 -0
- package/pennyfarthing-dist/personas/themes/control.yaml +197 -0
- package/pennyfarthing-dist/personas/themes/count-of-monte-cristo.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +323 -0
- package/pennyfarthing-dist/personas/themes/deadwood.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/dickens.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/discworld.yaml +332 -0
- package/pennyfarthing-dist/personas/themes/doctor-who.yaml +290 -0
- package/pennyfarthing-dist/personas/themes/don-quixote.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/dune.yaml +307 -0
- package/pennyfarthing-dist/personas/themes/enlightenment-thinkers.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/expeditionary-force.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/fargo.yaml +330 -0
- package/pennyfarthing-dist/personas/themes/film-auteurs.yaml +312 -0
- package/pennyfarthing-dist/personas/themes/firefly.yaml +328 -0
- package/pennyfarthing-dist/personas/themes/foundation.yaml +290 -0
- package/pennyfarthing-dist/personas/themes/futurama.yaml +321 -0
- package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +290 -0
- package/pennyfarthing-dist/personas/themes/gilligans-island.yaml +373 -0
- package/pennyfarthing-dist/personas/themes/gothic-literature.yaml +308 -0
- package/pennyfarthing-dist/personas/themes/great-gatsby.yaml +308 -0
- package/pennyfarthing-dist/personas/themes/greek-mythology.yaml +330 -0
- package/pennyfarthing-dist/personas/themes/hannibal.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/harry-potter.yaml +324 -0
- package/pennyfarthing-dist/personas/themes/his-dark-materials.yaml +291 -0
- package/pennyfarthing-dist/personas/themes/historical-figures.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +331 -0
- package/pennyfarthing-dist/personas/themes/house-md.yaml +321 -0
- package/pennyfarthing-dist/personas/themes/imperial-radch.yaml +289 -0
- package/pennyfarthing-dist/personas/themes/inspector-morse.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/jane-austen.yaml +287 -0
- package/pennyfarthing-dist/personas/themes/jazz-legends.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/justified.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/legion-of-doom.yaml +349 -0
- package/pennyfarthing-dist/personas/themes/les-miserables.yaml +299 -0
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +334 -0
- package/pennyfarthing-dist/personas/themes/lovecraft-mythos.yaml +334 -0
- package/pennyfarthing-dist/personas/themes/mad-max.yaml +355 -0
- package/pennyfarthing-dist/personas/themes/mad-men.yaml +289 -0
- package/pennyfarthing-dist/personas/themes/marvel-mcu.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/mash.yaml +337 -0
- package/pennyfarthing-dist/personas/themes/mass-effect.yaml +289 -0
- package/pennyfarthing-dist/personas/themes/military-commanders.yaml +306 -0
- package/pennyfarthing-dist/personas/themes/moby-dick.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/monty-python.yaml +303 -0
- package/pennyfarthing-dist/personas/themes/neuromancer.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/norse-mythology.yaml +329 -0
- package/pennyfarthing-dist/personas/themes/parks-and-rec.yaml +372 -0
- package/pennyfarthing-dist/personas/themes/peaky-blinders.yaml +298 -0
- package/pennyfarthing-dist/personas/themes/princess-bride.yaml +350 -0
- package/pennyfarthing-dist/personas/themes/renaissance-masters.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/rome.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/russian-masters.yaml +318 -0
- package/pennyfarthing-dist/personas/themes/sandman.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/scientific-revolutionaries.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/shakespeare.yaml +301 -0
- package/pennyfarthing-dist/personas/themes/sherlock-holmes.yaml +289 -0
- package/pennyfarthing-dist/personas/themes/snow-crash.yaml +288 -0
- package/pennyfarthing-dist/personas/themes/software-pioneers.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +366 -0
- package/pennyfarthing-dist/personas/themes/star-trek-tos.yaml +334 -0
- package/pennyfarthing-dist/personas/themes/star-wars.yaml +303 -0
- package/pennyfarthing-dist/personas/themes/succession.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/superfriends.yaml +338 -0
- package/pennyfarthing-dist/personas/themes/ted-lasso.yaml +366 -0
- package/pennyfarthing-dist/personas/themes/the-americans.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/the-crown.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/the-expanse.yaml +343 -0
- package/pennyfarthing-dist/personas/themes/the-good-place.yaml +322 -0
- package/pennyfarthing-dist/personas/themes/the-matrix.yaml +353 -0
- package/pennyfarthing-dist/personas/themes/the-odyssey.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/the-office.yaml +330 -0
- package/pennyfarthing-dist/personas/themes/the-simpsons.yaml +308 -0
- package/pennyfarthing-dist/personas/themes/the-sopranos.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/the-wire.yaml +311 -0
- package/pennyfarthing-dist/personas/themes/the-witcher.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/twin-peaks.yaml +302 -0
- package/pennyfarthing-dist/personas/themes/vorkosigan-saga.yaml +300 -0
- package/pennyfarthing-dist/personas/themes/watchmen.yaml +291 -0
- package/pennyfarthing-dist/personas/themes/west-wing.yaml +291 -0
- package/pennyfarthing-dist/personas/themes/world-explorers.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/wwii-leaders.yaml +307 -0
- package/pennyfarthing-dist/personas/themes/x-files.yaml +302 -0
- package/pennyfarthing-dist/scripts/README.md +68 -0
- package/pennyfarthing-dist/scripts/core/README.md +26 -0
- package/pennyfarthing-dist/scripts/core/agent-session.sh +378 -0
- package/pennyfarthing-dist/scripts/core/check-context.sh +272 -0
- package/pennyfarthing-dist/scripts/core/handoff-marker.sh +90 -0
- package/pennyfarthing-dist/scripts/core/phase-check-start.sh +95 -0
- package/pennyfarthing-dist/scripts/core/prime.sh +136 -0
- package/pennyfarthing-dist/scripts/core/run.sh +75 -0
- package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +21 -0
- package/pennyfarthing-dist/scripts/git/README.md +25 -0
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +226 -0
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +127 -0
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +91 -0
- package/pennyfarthing-dist/scripts/git/release.sh +199 -0
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +494 -0
- package/pennyfarthing-dist/scripts/health/drift-detection.sh +162 -0
- package/pennyfarthing-dist/scripts/hooks/README.md +32 -0
- package/pennyfarthing-dist/scripts/hooks/bell-mode-hook.sh +87 -0
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +60 -0
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +65 -0
- package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +35 -0
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +166 -0
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +50 -0
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +71 -0
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +54 -0
- package/pennyfarthing-dist/scripts/hooks/question-reflector-check.mjs +380 -0
- package/pennyfarthing-dist/scripts/hooks/question-reflector-check.sh +20 -0
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +97 -0
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +58 -0
- package/pennyfarthing-dist/scripts/hooks/tests/question-reflector.test.mjs +545 -0
- package/pennyfarthing-dist/scripts/jira/README.md +33 -0
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +101 -0
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +97 -0
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.mjs +327 -0
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.test.mjs +503 -0
- package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +164 -0
- package/pennyfarthing-dist/scripts/jira/jira-lib.mjs +443 -0
- package/pennyfarthing-dist/scripts/jira/jira-lib.sh +464 -0
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +266 -0
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.mjs +208 -0
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +8 -0
- package/pennyfarthing-dist/scripts/jira/jira-sync.mjs +198 -0
- package/pennyfarthing-dist/scripts/jira/jira-sync.sh +8 -0
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +104 -0
- package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +16 -0
- package/pennyfarthing-dist/scripts/lib/README.md +29 -0
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +177 -0
- package/pennyfarthing-dist/scripts/lib/checkpoint.sh +136 -0
- package/pennyfarthing-dist/scripts/lib/common.sh +157 -0
- package/pennyfarthing-dist/scripts/lib/file-lock.sh +269 -0
- package/pennyfarthing-dist/scripts/lib/find-root.sh +35 -0
- package/pennyfarthing-dist/scripts/lib/logging.sh +186 -0
- package/pennyfarthing-dist/scripts/lib/retry.sh +76 -0
- package/pennyfarthing-dist/scripts/misc/README.md +44 -0
- package/pennyfarthing-dist/scripts/misc/add-short-names.mjs +264 -0
- package/pennyfarthing-dist/scripts/misc/backlog.sh +91 -0
- package/pennyfarthing-dist/scripts/misc/check-status.sh +247 -0
- package/pennyfarthing-dist/scripts/misc/deploy.sh +296 -0
- package/pennyfarthing-dist/scripts/misc/doctor-dogfood.sh +392 -0
- package/pennyfarthing-dist/scripts/misc/find-related-work.sh +231 -0
- package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +110 -0
- package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +74 -0
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.mjs +474 -0
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +9 -0
- package/pennyfarthing-dist/scripts/misc/repo-scan.sh +141 -0
- package/pennyfarthing-dist/scripts/misc/repo-utils.sh +778 -0
- package/pennyfarthing-dist/scripts/misc/run-ci.sh +219 -0
- package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +7 -0
- package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +319 -0
- package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +193 -0
- package/pennyfarthing-dist/scripts/misc/statusline.sh +252 -0
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +270 -0
- package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +160 -0
- package/pennyfarthing-dist/scripts/sprint/README.md +29 -0
- package/pennyfarthing-dist/scripts/sprint/archive-story.sh +135 -0
- package/pennyfarthing-dist/scripts/sprint/available-stories.sh +97 -0
- package/pennyfarthing-dist/scripts/sprint/check-story.sh +164 -0
- package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +58 -0
- package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +69 -0
- package/pennyfarthing-dist/scripts/sprint/import-epic-to-future.mjs +377 -0
- package/pennyfarthing-dist/scripts/sprint/import-epic-to-future.sh +9 -0
- package/pennyfarthing-dist/scripts/sprint/list-future.sh +151 -0
- package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +116 -0
- package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +164 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +421 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +39 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +241 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +134 -0
- package/pennyfarthing-dist/scripts/story/README.md +23 -0
- package/pennyfarthing-dist/scripts/story/create-story.sh +159 -0
- package/pennyfarthing-dist/scripts/story/size-story.sh +198 -0
- package/pennyfarthing-dist/scripts/story/story-template.sh +162 -0
- package/pennyfarthing-dist/scripts/test/README.md +23 -0
- package/pennyfarthing-dist/scripts/test/ground-truth-judge.py +289 -0
- package/pennyfarthing-dist/scripts/test/swebench-judge.py +400 -0
- package/pennyfarthing-dist/scripts/test/test-cache.sh +165 -0
- package/pennyfarthing-dist/scripts/test/test-setup.sh +337 -0
- package/pennyfarthing-dist/scripts/tests/check.test.sh +582 -0
- package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +515 -0
- package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +599 -0
- package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +332 -0
- package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +573 -0
- package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +859 -0
- package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +662 -0
- package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +589 -0
- package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +105 -0
- package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +597 -0
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +514 -0
- package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +517 -0
- package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +331 -0
- package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +647 -0
- package/pennyfarthing-dist/scripts/theme/README.md +22 -0
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.js +492 -0
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +11 -0
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +73 -0
- package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +97 -0
- package/pennyfarthing-dist/scripts/workflow/README.md +28 -0
- package/pennyfarthing-dist/scripts/workflow/check.sh +497 -0
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +159 -0
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +228 -0
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +124 -0
- package/pennyfarthing-dist/scripts/workflow/phase-owner.sh +40 -0
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +163 -0
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +138 -0
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +256 -0
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +167 -0
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +242 -0
- package/pennyfarthing-dist/skills/changelog/SKILL.md +367 -0
- package/pennyfarthing-dist/skills/code-review/SKILL.md +168 -0
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +274 -0
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +88 -0
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +437 -0
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +258 -0
- package/pennyfarthing-dist/skills/jira/SKILL.md +484 -0
- package/pennyfarthing-dist/skills/judge/SKILL.md +579 -0
- package/pennyfarthing-dist/skills/just/SKILL.md +403 -0
- package/pennyfarthing-dist/skills/mermaid/SKILL.md +240 -0
- package/pennyfarthing-dist/skills/otel/skill.md +223 -0
- package/pennyfarthing-dist/skills/permissions/skill.md +172 -0
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +178 -0
- package/pennyfarthing-dist/skills/skill-registry.schema.json +107 -0
- package/pennyfarthing-dist/skills/skill-registry.yaml +357 -0
- package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +101 -0
- package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +97 -0
- package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +164 -0
- package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +101 -0
- package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +116 -0
- package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +164 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +39 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +147 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +104 -0
- package/pennyfarthing-dist/skills/sprint/skill.md +465 -0
- package/pennyfarthing-dist/skills/story/scripts/create-story.sh +159 -0
- package/pennyfarthing-dist/skills/story/scripts/size-story.sh +198 -0
- package/pennyfarthing-dist/skills/story/scripts/story-template.sh +162 -0
- package/pennyfarthing-dist/skills/story/skill.md +219 -0
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +390 -0
- package/pennyfarthing-dist/skills/testing/SKILL.md +99 -0
- package/pennyfarthing-dist/skills/testing/references/troubleshooting.md +124 -0
- package/pennyfarthing-dist/skills/theme/skill.md +129 -0
- package/pennyfarthing-dist/skills/theme-creation/SKILL.md +174 -0
- package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +91 -0
- package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +163 -0
- package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +138 -0
- package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +273 -0
- package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +167 -0
- package/pennyfarthing-dist/skills/workflow/skill.md +337 -0
- package/pennyfarthing-dist/skills/yq/SKILL.md +264 -0
- package/pennyfarthing-dist/templates/LEADERBOARD.schema.yaml +187 -0
- package/pennyfarthing-dist/templates/LEADERBOARD.template.md +59 -0
- package/pennyfarthing-dist/templates/agent-scopes.yaml.template +276 -0
- package/pennyfarthing-dist/templates/pennyfarthing-settings.yaml.template +61 -0
- package/pennyfarthing-dist/templates/persona-config.yaml.template +22 -0
- package/pennyfarthing-dist/templates/preferences.yaml.template +15 -0
- package/pennyfarthing-dist/templates/settings.local.json.template +90 -0
- package/pennyfarthing-dist/templates/setup-env.sh.template +18 -0
- package/pennyfarthing-dist/templates/shared-context.md.template +70 -0
- package/pennyfarthing-dist/templates/sidecar/decisions.md.template +40 -0
- package/pennyfarthing-dist/templates/sidecar/gotchas.md.template +37 -0
- package/pennyfarthing-dist/templates/sidecar/patterns.md.template +34 -0
- package/pennyfarthing-dist/workflows/agent-docs.yaml +70 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +101 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +93 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +115 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +133 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +138 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +133 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +142 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +160 -0
- package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +102 -0
- package/pennyfarthing-dist/workflows/architecture.yaml +65 -0
- package/pennyfarthing-dist/workflows/bdd.yaml +60 -0
- package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +62 -0
- package/pennyfarthing-dist/workflows/brainstorming/checklist.md +44 -0
- package/pennyfarthing-dist/workflows/brainstorming/instructions.md +736 -0
- package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +49 -0
- package/pennyfarthing-dist/workflows/code-review/checklist.md +23 -0
- package/pennyfarthing-dist/workflows/code-review/instructions.md +234 -0
- package/pennyfarthing-dist/workflows/code-review/workflow.yaml +51 -0
- package/pennyfarthing-dist/workflows/dev-story/checklist.md +80 -0
- package/pennyfarthing-dist/workflows/dev-story/instructions.xml +410 -0
- package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +50 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +256 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +233 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +272 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +153 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-05-import-to-future.md +122 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +57 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +28 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +190 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +178 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +139 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +133 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +40 -0
- package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +13 -0
- package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +197 -0
- package/pennyfarthing-dist/workflows/prd/data/project-types.csv +11 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +191 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +153 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +224 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +226 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +213 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +207 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +226 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +237 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +228 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +231 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +242 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +217 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +180 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +247 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +208 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +249 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +253 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +168 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +218 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +191 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +209 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +174 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +228 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +217 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +263 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +209 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +242 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +232 -0
- package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +10 -0
- package/pennyfarthing-dist/workflows/prd/workflow.yaml +42 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +177 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +161 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +199 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +202 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +205 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +219 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +194 -0
- package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +10 -0
- package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +31 -0
- package/pennyfarthing-dist/workflows/project-context/project-context-template.md +21 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +184 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +318 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +278 -0
- package/pennyfarthing-dist/workflows/project-context/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +156 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +120 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +113 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +113 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +106 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +140 -0
- package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +189 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +144 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +128 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +191 -0
- package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +74 -0
- package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +137 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +229 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +238 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +206 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +234 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +443 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +182 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +237 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +200 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +249 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +259 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +177 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +475 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +137 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +239 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +248 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +202 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +239 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +486 -0
- package/pennyfarthing-dist/workflows/research/templates/research.template.md +29 -0
- package/pennyfarthing-dist/workflows/research/workflow.yaml +45 -0
- package/pennyfarthing-dist/workflows/retrospective/checklist.md +31 -0
- package/pennyfarthing-dist/workflows/retrospective/instructions.md +1443 -0
- package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +50 -0
- package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +33 -0
- package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +55 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +54 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +44 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +64 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +73 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +56 -0
- package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +34 -0
- package/pennyfarthing-dist/workflows/tdd.yaml +50 -0
- package/pennyfarthing-dist/workflows/trivial.yaml +40 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +135 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +127 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +190 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +216 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +219 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +234 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +252 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +254 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +224 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +224 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +241 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +248 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +237 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +264 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +228 -0
- package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +13 -0
- package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +41 -0
- package/dist/cli/utils/files.js +0 -179
- package/dist/cli/utils/manifest.js +0 -93
- package/dist/cli/utils/version.js +0 -70
- package/dist/index.js +0 -48
- package/dist/permissions/index.js +0 -16
- package/dist/scripts/job-fair-aggregator.js +0 -690
- package/dist/workflow/index.js +0 -31
- /package/{bin → packages/core/bin}/pennyfarthing.js +0 -0
|
@@ -0,0 +1,607 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for Story 31-3: Story-to-workflow Routing Engine
|
|
3
|
+
*
|
|
4
|
+
* These tests define the contract for routing stories to workflows based on:
|
|
5
|
+
* - Explicit workflow tags (highest priority)
|
|
6
|
+
* - Trigger matching (tags, types, points)
|
|
7
|
+
* - Default fallback workflow
|
|
8
|
+
*
|
|
9
|
+
* The router (workflow-router.ts) will implement these functions to pass these tests.
|
|
10
|
+
*
|
|
11
|
+
* Acceptance Criteria:
|
|
12
|
+
* - AC1: Stories with workflow tag use specified workflow
|
|
13
|
+
* - AC2: Story type mapping to workflows configurable
|
|
14
|
+
* - AC3: Default workflow when no match
|
|
15
|
+
* - AC4: Routing decision logged for debugging
|
|
16
|
+
*
|
|
17
|
+
* Run with: npm test
|
|
18
|
+
*/
|
|
19
|
+
import { describe, it } from 'node:test';
|
|
20
|
+
import assert from 'node:assert';
|
|
21
|
+
import { dirname, join } from 'node:path';
|
|
22
|
+
import { fileURLToPath } from 'node:url';
|
|
23
|
+
import { existsSync } from 'node:fs';
|
|
24
|
+
// Import the router function
|
|
25
|
+
import { routeStoryToWorkflow } from './workflow-router.js';
|
|
26
|
+
// =============================================================================
|
|
27
|
+
// Test Fixtures - Workflow definitions for testing
|
|
28
|
+
// =============================================================================
|
|
29
|
+
/**
|
|
30
|
+
* Creates a minimal valid workflow for testing
|
|
31
|
+
*/
|
|
32
|
+
function createWorkflow(name, triggers) {
|
|
33
|
+
return {
|
|
34
|
+
name,
|
|
35
|
+
phases: [{ name: 'work', agent: 'dev' }],
|
|
36
|
+
triggers
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
// Standard test workflows
|
|
40
|
+
const tddWorkflow = createWorkflow('tdd', {
|
|
41
|
+
types: ['feature'],
|
|
42
|
+
default: true
|
|
43
|
+
});
|
|
44
|
+
const trivialWorkflow = createWorkflow('trivial', {
|
|
45
|
+
types: ['chore', 'fix'],
|
|
46
|
+
points: { max: 2 }
|
|
47
|
+
});
|
|
48
|
+
const docsWorkflow = createWorkflow('docs', {
|
|
49
|
+
types: ['docs'],
|
|
50
|
+
tags: ['documentation']
|
|
51
|
+
});
|
|
52
|
+
const debugWorkflow = createWorkflow('debug', {
|
|
53
|
+
tags: ['debug', 'investigation']
|
|
54
|
+
});
|
|
55
|
+
const pointsWorkflow = createWorkflow('complex', {
|
|
56
|
+
points: { min: 8 }
|
|
57
|
+
});
|
|
58
|
+
const midRangeWorkflow = createWorkflow('mid-range', {
|
|
59
|
+
points: { min: 3, max: 5 }
|
|
60
|
+
});
|
|
61
|
+
// =============================================================================
|
|
62
|
+
// AC1: Stories with workflow tag use specified workflow
|
|
63
|
+
// =============================================================================
|
|
64
|
+
describe('AC1: Explicit workflow tag routing', () => {
|
|
65
|
+
it('should route story with workflow:tdd tag to tdd workflow', () => {
|
|
66
|
+
const story = {
|
|
67
|
+
id: '31-3',
|
|
68
|
+
tags: ['workflow:tdd', 'feature']
|
|
69
|
+
};
|
|
70
|
+
const workflows = [tddWorkflow, trivialWorkflow, docsWorkflow];
|
|
71
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
72
|
+
assert.ok(result, 'Should return a result');
|
|
73
|
+
assert.strictEqual(result.workflow.name, 'tdd', 'Should match tdd workflow');
|
|
74
|
+
assert.ok(result.reason.includes('tag'), 'Reason should mention tag match');
|
|
75
|
+
});
|
|
76
|
+
it('should route story with workflow:trivial tag to trivial workflow', () => {
|
|
77
|
+
const story = {
|
|
78
|
+
id: '31-3',
|
|
79
|
+
tags: ['workflow:trivial']
|
|
80
|
+
};
|
|
81
|
+
const workflows = [tddWorkflow, trivialWorkflow, docsWorkflow];
|
|
82
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
83
|
+
assert.ok(result, 'Should return a result');
|
|
84
|
+
assert.strictEqual(result.workflow.name, 'trivial', 'Should match trivial workflow');
|
|
85
|
+
});
|
|
86
|
+
it('should prioritize explicit tag over type match', () => {
|
|
87
|
+
// Story has type=feature (would match tdd) but explicit workflow:trivial tag
|
|
88
|
+
const story = {
|
|
89
|
+
id: '31-3',
|
|
90
|
+
type: 'feature',
|
|
91
|
+
tags: ['workflow:trivial']
|
|
92
|
+
};
|
|
93
|
+
const workflows = [tddWorkflow, trivialWorkflow];
|
|
94
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
95
|
+
assert.ok(result, 'Should return a result');
|
|
96
|
+
assert.strictEqual(result.workflow.name, 'trivial', 'Explicit tag should win over type');
|
|
97
|
+
});
|
|
98
|
+
it('should prioritize explicit tag over default workflow', () => {
|
|
99
|
+
const story = {
|
|
100
|
+
id: '31-3',
|
|
101
|
+
tags: ['workflow:docs']
|
|
102
|
+
};
|
|
103
|
+
const workflows = [tddWorkflow, docsWorkflow]; // tdd has default: true
|
|
104
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
105
|
+
assert.ok(result, 'Should return a result');
|
|
106
|
+
assert.strictEqual(result.workflow.name, 'docs', 'Explicit tag should win over default');
|
|
107
|
+
});
|
|
108
|
+
it('should return null if explicit tag references non-existent workflow', () => {
|
|
109
|
+
const story = {
|
|
110
|
+
id: '31-3',
|
|
111
|
+
tags: ['workflow:nonexistent']
|
|
112
|
+
};
|
|
113
|
+
const workflows = [tddWorkflow, trivialWorkflow];
|
|
114
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
115
|
+
// When explicit tag doesn't match, fall back to other rules
|
|
116
|
+
// If nothing matches, should return null or default
|
|
117
|
+
// This tests that we don't crash on bad tags
|
|
118
|
+
assert.ok(result === null || result.workflow.name === 'tdd', 'Should return null or fall back to default');
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
// =============================================================================
|
|
122
|
+
// AC2: Story type mapping to workflows configurable
|
|
123
|
+
// =============================================================================
|
|
124
|
+
describe('AC2: Type-based routing', () => {
|
|
125
|
+
it('should route feature type to workflow with types: [feature]', () => {
|
|
126
|
+
const story = {
|
|
127
|
+
id: '31-3',
|
|
128
|
+
type: 'feature'
|
|
129
|
+
};
|
|
130
|
+
const workflows = [tddWorkflow, trivialWorkflow, docsWorkflow];
|
|
131
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
132
|
+
assert.ok(result, 'Should return a result');
|
|
133
|
+
assert.strictEqual(result.workflow.name, 'tdd', 'Should match tdd workflow');
|
|
134
|
+
assert.ok(result.reason.includes('type'), 'Reason should mention type match');
|
|
135
|
+
});
|
|
136
|
+
it('should route chore type to workflow with types: [chore, fix]', () => {
|
|
137
|
+
const story = {
|
|
138
|
+
id: '31-3',
|
|
139
|
+
type: 'chore',
|
|
140
|
+
points: 1
|
|
141
|
+
};
|
|
142
|
+
const workflows = [tddWorkflow, trivialWorkflow, docsWorkflow];
|
|
143
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
144
|
+
assert.ok(result, 'Should return a result');
|
|
145
|
+
assert.strictEqual(result.workflow.name, 'trivial', 'Should match trivial workflow');
|
|
146
|
+
});
|
|
147
|
+
it('should route docs type to docs workflow', () => {
|
|
148
|
+
const story = {
|
|
149
|
+
id: '31-3',
|
|
150
|
+
type: 'docs'
|
|
151
|
+
};
|
|
152
|
+
const workflows = [tddWorkflow, trivialWorkflow, docsWorkflow];
|
|
153
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
154
|
+
assert.ok(result, 'Should return a result');
|
|
155
|
+
assert.strictEqual(result.workflow.name, 'docs', 'Should match docs workflow');
|
|
156
|
+
});
|
|
157
|
+
it('should handle story with type not matching any workflow triggers', () => {
|
|
158
|
+
const story = {
|
|
159
|
+
id: '31-3',
|
|
160
|
+
type: 'unknown-type'
|
|
161
|
+
};
|
|
162
|
+
const noDefaultWorkflows = [trivialWorkflow, docsWorkflow]; // No default
|
|
163
|
+
const result = routeStoryToWorkflow(story, noDefaultWorkflows);
|
|
164
|
+
assert.strictEqual(result, null, 'Should return null when no match and no default');
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
// =============================================================================
|
|
168
|
+
// AC2 Continued: Tag-based routing (from triggers.tags, not workflow: prefix)
|
|
169
|
+
// =============================================================================
|
|
170
|
+
describe('AC2: Tag-based routing (trigger tags)', () => {
|
|
171
|
+
it('should route story with matching trigger tag', () => {
|
|
172
|
+
const story = {
|
|
173
|
+
id: '31-3',
|
|
174
|
+
tags: ['debug', 'urgent']
|
|
175
|
+
};
|
|
176
|
+
const workflows = [tddWorkflow, debugWorkflow];
|
|
177
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
178
|
+
assert.ok(result, 'Should return a result');
|
|
179
|
+
assert.strictEqual(result.workflow.name, 'debug', 'Should match debug workflow via tag');
|
|
180
|
+
});
|
|
181
|
+
it('should match if any story tag matches any workflow trigger tag', () => {
|
|
182
|
+
const story = {
|
|
183
|
+
id: '31-3',
|
|
184
|
+
tags: ['other', 'investigation'] // investigation matches debugWorkflow
|
|
185
|
+
};
|
|
186
|
+
const workflows = [tddWorkflow, debugWorkflow];
|
|
187
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
188
|
+
assert.ok(result, 'Should return a result');
|
|
189
|
+
assert.strictEqual(result.workflow.name, 'debug', 'Should match via investigation tag');
|
|
190
|
+
});
|
|
191
|
+
it('should match documentation tag for docs workflow', () => {
|
|
192
|
+
const story = {
|
|
193
|
+
id: '31-3',
|
|
194
|
+
tags: ['documentation']
|
|
195
|
+
};
|
|
196
|
+
const workflows = [tddWorkflow, docsWorkflow];
|
|
197
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
198
|
+
assert.ok(result, 'Should return a result');
|
|
199
|
+
assert.strictEqual(result.workflow.name, 'docs', 'Should match docs via tag');
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
// =============================================================================
|
|
203
|
+
// AC2 Continued: Points-based routing
|
|
204
|
+
// =============================================================================
|
|
205
|
+
describe('AC2: Points-based routing', () => {
|
|
206
|
+
it('should route low-point story to workflow with points.max', () => {
|
|
207
|
+
const story = {
|
|
208
|
+
id: '31-3',
|
|
209
|
+
type: 'chore',
|
|
210
|
+
points: 1
|
|
211
|
+
};
|
|
212
|
+
const workflows = [tddWorkflow, trivialWorkflow];
|
|
213
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
214
|
+
assert.ok(result, 'Should return a result');
|
|
215
|
+
assert.strictEqual(result.workflow.name, 'trivial', 'Should match trivial (max: 2)');
|
|
216
|
+
});
|
|
217
|
+
it('should route high-point story to workflow with points.min', () => {
|
|
218
|
+
const story = {
|
|
219
|
+
id: '31-3',
|
|
220
|
+
points: 13
|
|
221
|
+
};
|
|
222
|
+
const workflows = [tddWorkflow, pointsWorkflow];
|
|
223
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
224
|
+
assert.ok(result, 'Should return a result');
|
|
225
|
+
assert.strictEqual(result.workflow.name, 'complex', 'Should match complex (min: 8)');
|
|
226
|
+
});
|
|
227
|
+
it('should route mid-point story to workflow with points range', () => {
|
|
228
|
+
const story = {
|
|
229
|
+
id: '31-3',
|
|
230
|
+
points: 4
|
|
231
|
+
};
|
|
232
|
+
const workflows = [tddWorkflow, midRangeWorkflow, pointsWorkflow];
|
|
233
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
234
|
+
assert.ok(result, 'Should return a result');
|
|
235
|
+
assert.strictEqual(result.workflow.name, 'mid-range', 'Should match mid-range (3-5)');
|
|
236
|
+
});
|
|
237
|
+
it('should not match points.max if story points exceed it', () => {
|
|
238
|
+
const story = {
|
|
239
|
+
id: '31-3',
|
|
240
|
+
type: 'chore',
|
|
241
|
+
points: 5 // exceeds trivialWorkflow max: 2
|
|
242
|
+
};
|
|
243
|
+
const workflows = [trivialWorkflow]; // Only trivial, no default
|
|
244
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
245
|
+
assert.strictEqual(result, null, 'Should not match trivial when points > max');
|
|
246
|
+
});
|
|
247
|
+
it('should not match points.min if story points below it', () => {
|
|
248
|
+
const story = {
|
|
249
|
+
id: '31-3',
|
|
250
|
+
points: 3 // below pointsWorkflow min: 8
|
|
251
|
+
};
|
|
252
|
+
const workflows = [pointsWorkflow]; // Only complex, no default
|
|
253
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
254
|
+
assert.strictEqual(result, null, 'Should not match complex when points < min');
|
|
255
|
+
});
|
|
256
|
+
it('should handle boundary case: points exactly at min', () => {
|
|
257
|
+
const story = {
|
|
258
|
+
id: '31-3',
|
|
259
|
+
points: 8 // exactly at pointsWorkflow min
|
|
260
|
+
};
|
|
261
|
+
const workflows = [pointsWorkflow];
|
|
262
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
263
|
+
assert.ok(result, 'Should return a result');
|
|
264
|
+
assert.strictEqual(result.workflow.name, 'complex', 'Should match at exact min boundary');
|
|
265
|
+
});
|
|
266
|
+
it('should handle boundary case: points exactly at max', () => {
|
|
267
|
+
const story = {
|
|
268
|
+
id: '31-3',
|
|
269
|
+
type: 'chore',
|
|
270
|
+
points: 2 // exactly at trivialWorkflow max
|
|
271
|
+
};
|
|
272
|
+
const workflows = [trivialWorkflow];
|
|
273
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
274
|
+
assert.ok(result, 'Should return a result');
|
|
275
|
+
assert.strictEqual(result.workflow.name, 'trivial', 'Should match at exact max boundary');
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
// =============================================================================
|
|
279
|
+
// AC3: Default workflow when no match
|
|
280
|
+
// =============================================================================
|
|
281
|
+
describe('AC3: Default workflow fallback', () => {
|
|
282
|
+
it('should use default workflow when no other triggers match', () => {
|
|
283
|
+
const story = {
|
|
284
|
+
id: '31-3',
|
|
285
|
+
type: 'random-type'
|
|
286
|
+
};
|
|
287
|
+
const workflows = [tddWorkflow, trivialWorkflow]; // tdd has default: true
|
|
288
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
289
|
+
assert.ok(result, 'Should return a result');
|
|
290
|
+
assert.strictEqual(result.workflow.name, 'tdd', 'Should fall back to default');
|
|
291
|
+
assert.ok(result.reason.includes('default'), 'Reason should mention default');
|
|
292
|
+
});
|
|
293
|
+
it('should use default workflow for story with no metadata', () => {
|
|
294
|
+
const story = {
|
|
295
|
+
id: '31-3'
|
|
296
|
+
// No type, tags, or points
|
|
297
|
+
};
|
|
298
|
+
const workflows = [tddWorkflow, trivialWorkflow];
|
|
299
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
300
|
+
assert.ok(result, 'Should return a result');
|
|
301
|
+
assert.strictEqual(result.workflow.name, 'tdd', 'Should use default for bare story');
|
|
302
|
+
});
|
|
303
|
+
it('should return null when no workflows loaded', () => {
|
|
304
|
+
const story = {
|
|
305
|
+
id: '31-3',
|
|
306
|
+
type: 'feature'
|
|
307
|
+
};
|
|
308
|
+
const workflows = [];
|
|
309
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
310
|
+
assert.strictEqual(result, null, 'Should return null for empty workflow list');
|
|
311
|
+
});
|
|
312
|
+
it('should return null when no match and no default workflow', () => {
|
|
313
|
+
const story = {
|
|
314
|
+
id: '31-3',
|
|
315
|
+
type: 'feature'
|
|
316
|
+
};
|
|
317
|
+
const noDefaultWorkflows = [docsWorkflow, debugWorkflow]; // Neither has default
|
|
318
|
+
const result = routeStoryToWorkflow(story, noDefaultWorkflows);
|
|
319
|
+
assert.strictEqual(result, null, 'Should return null when no match and no default');
|
|
320
|
+
});
|
|
321
|
+
it('should handle multiple workflows with default: true (first wins)', () => {
|
|
322
|
+
const defaultWorkflow1 = createWorkflow('default1', { default: true });
|
|
323
|
+
const defaultWorkflow2 = createWorkflow('default2', { default: true });
|
|
324
|
+
const story = { id: '31-3' };
|
|
325
|
+
const workflows = [defaultWorkflow1, defaultWorkflow2];
|
|
326
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
327
|
+
assert.ok(result, 'Should return a result');
|
|
328
|
+
assert.strictEqual(result.workflow.name, 'default1', 'First default should win');
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
// =============================================================================
|
|
332
|
+
// AC4: Routing decision logged for debugging
|
|
333
|
+
// =============================================================================
|
|
334
|
+
describe('AC4: Routing reason for debugging', () => {
|
|
335
|
+
it('should include reason mentioning explicit tag for tag match', () => {
|
|
336
|
+
const story = {
|
|
337
|
+
id: '31-3',
|
|
338
|
+
tags: ['workflow:trivial']
|
|
339
|
+
};
|
|
340
|
+
const workflows = [tddWorkflow, trivialWorkflow];
|
|
341
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
342
|
+
assert.ok(result, 'Should return a result');
|
|
343
|
+
assert.ok(result.reason, 'Should have a reason');
|
|
344
|
+
assert.ok(result.reason.toLowerCase().includes('tag') ||
|
|
345
|
+
result.reason.toLowerCase().includes('workflow:trivial'), `Reason should mention tag match: "${result.reason}"`);
|
|
346
|
+
});
|
|
347
|
+
it('should include reason mentioning type for type match', () => {
|
|
348
|
+
const story = {
|
|
349
|
+
id: '31-3',
|
|
350
|
+
type: 'feature'
|
|
351
|
+
};
|
|
352
|
+
const workflows = [tddWorkflow];
|
|
353
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
354
|
+
assert.ok(result, 'Should return a result');
|
|
355
|
+
assert.ok(result.reason, 'Should have a reason');
|
|
356
|
+
assert.ok(result.reason.toLowerCase().includes('type') ||
|
|
357
|
+
result.reason.toLowerCase().includes('feature'), `Reason should mention type match: "${result.reason}"`);
|
|
358
|
+
});
|
|
359
|
+
it('should include reason mentioning points for points match', () => {
|
|
360
|
+
const story = {
|
|
361
|
+
id: '31-3',
|
|
362
|
+
points: 10
|
|
363
|
+
};
|
|
364
|
+
const workflows = [pointsWorkflow];
|
|
365
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
366
|
+
assert.ok(result, 'Should return a result');
|
|
367
|
+
assert.ok(result.reason, 'Should have a reason');
|
|
368
|
+
assert.ok(result.reason.toLowerCase().includes('point'), `Reason should mention points match: "${result.reason}"`);
|
|
369
|
+
});
|
|
370
|
+
it('should include reason mentioning default for default fallback', () => {
|
|
371
|
+
const story = {
|
|
372
|
+
id: '31-3'
|
|
373
|
+
};
|
|
374
|
+
const workflows = [tddWorkflow];
|
|
375
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
376
|
+
assert.ok(result, 'Should return a result');
|
|
377
|
+
assert.ok(result.reason, 'Should have a reason');
|
|
378
|
+
assert.ok(result.reason.toLowerCase().includes('default'), `Reason should mention default: "${result.reason}"`);
|
|
379
|
+
});
|
|
380
|
+
it('should include workflow name in reason', () => {
|
|
381
|
+
const story = {
|
|
382
|
+
id: '31-3',
|
|
383
|
+
type: 'feature'
|
|
384
|
+
};
|
|
385
|
+
const workflows = [tddWorkflow];
|
|
386
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
387
|
+
assert.ok(result, 'Should return a result');
|
|
388
|
+
assert.ok(result.reason.includes('tdd'), `Reason should include workflow name: "${result.reason}"`);
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
// =============================================================================
|
|
392
|
+
// Priority Algorithm Tests
|
|
393
|
+
// =============================================================================
|
|
394
|
+
describe('Priority Algorithm', () => {
|
|
395
|
+
it('priority: explicit tag > trigger tag > type > points > default', () => {
|
|
396
|
+
// Workflow that matches by type, tag, AND has default
|
|
397
|
+
const multiMatchWorkflow = createWorkflow('multi', {
|
|
398
|
+
tags: ['special'],
|
|
399
|
+
types: ['feature'],
|
|
400
|
+
default: true
|
|
401
|
+
});
|
|
402
|
+
// Workflow that only matches by explicit tag
|
|
403
|
+
const explicitOnlyWorkflow = createWorkflow('explicit-only', {});
|
|
404
|
+
const story = {
|
|
405
|
+
id: '31-3',
|
|
406
|
+
type: 'feature',
|
|
407
|
+
tags: ['workflow:explicit-only', 'special'],
|
|
408
|
+
points: 3
|
|
409
|
+
};
|
|
410
|
+
const workflows = [multiMatchWorkflow, explicitOnlyWorkflow];
|
|
411
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
412
|
+
assert.ok(result, 'Should return a result');
|
|
413
|
+
assert.strictEqual(result.workflow.name, 'explicit-only', 'Explicit workflow: tag should have highest priority');
|
|
414
|
+
});
|
|
415
|
+
it('priority: trigger tag should beat type match', () => {
|
|
416
|
+
const tagWorkflow = createWorkflow('tag-match', {
|
|
417
|
+
tags: ['priority-test']
|
|
418
|
+
});
|
|
419
|
+
const typeWorkflow = createWorkflow('type-match', {
|
|
420
|
+
types: ['feature']
|
|
421
|
+
});
|
|
422
|
+
const story = {
|
|
423
|
+
id: '31-3',
|
|
424
|
+
type: 'feature',
|
|
425
|
+
tags: ['priority-test']
|
|
426
|
+
};
|
|
427
|
+
const workflows = [typeWorkflow, tagWorkflow];
|
|
428
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
429
|
+
assert.ok(result, 'Should return a result');
|
|
430
|
+
assert.strictEqual(result.workflow.name, 'tag-match', 'Tag match should beat type match');
|
|
431
|
+
});
|
|
432
|
+
it('priority: type match should beat points match', () => {
|
|
433
|
+
const typeWorkflow = createWorkflow('type-match', {
|
|
434
|
+
types: ['feature']
|
|
435
|
+
});
|
|
436
|
+
const pointsOnlyWorkflow = createWorkflow('points-match', {
|
|
437
|
+
points: { min: 1, max: 10 }
|
|
438
|
+
});
|
|
439
|
+
const story = {
|
|
440
|
+
id: '31-3',
|
|
441
|
+
type: 'feature',
|
|
442
|
+
points: 5
|
|
443
|
+
};
|
|
444
|
+
const workflows = [pointsOnlyWorkflow, typeWorkflow];
|
|
445
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
446
|
+
assert.ok(result, 'Should return a result');
|
|
447
|
+
assert.strictEqual(result.workflow.name, 'type-match', 'Type match should beat points-only match');
|
|
448
|
+
});
|
|
449
|
+
it('priority: any specific match should beat default', () => {
|
|
450
|
+
const defaultWorkflow = createWorkflow('default-wf', {
|
|
451
|
+
default: true
|
|
452
|
+
});
|
|
453
|
+
const pointsWorkflow = createWorkflow('points-wf', {
|
|
454
|
+
points: { min: 3 }
|
|
455
|
+
});
|
|
456
|
+
const story = {
|
|
457
|
+
id: '31-3',
|
|
458
|
+
points: 5
|
|
459
|
+
};
|
|
460
|
+
const workflows = [defaultWorkflow, pointsWorkflow];
|
|
461
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
462
|
+
assert.ok(result, 'Should return a result');
|
|
463
|
+
assert.strictEqual(result.workflow.name, 'points-wf', 'Points match should beat default');
|
|
464
|
+
});
|
|
465
|
+
});
|
|
466
|
+
// =============================================================================
|
|
467
|
+
// Edge Cases
|
|
468
|
+
// =============================================================================
|
|
469
|
+
describe('Edge Cases', () => {
|
|
470
|
+
it('should handle story with empty tags array', () => {
|
|
471
|
+
const story = {
|
|
472
|
+
id: '31-3',
|
|
473
|
+
tags: []
|
|
474
|
+
};
|
|
475
|
+
const workflows = [tddWorkflow];
|
|
476
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
477
|
+
assert.ok(result, 'Should return default workflow');
|
|
478
|
+
assert.strictEqual(result.workflow.name, 'tdd');
|
|
479
|
+
});
|
|
480
|
+
it('should handle workflow with empty triggers object', () => {
|
|
481
|
+
const emptyTriggersWorkflow = createWorkflow('empty-triggers', {});
|
|
482
|
+
const story = {
|
|
483
|
+
id: '31-3',
|
|
484
|
+
type: 'feature'
|
|
485
|
+
};
|
|
486
|
+
const workflows = [emptyTriggersWorkflow];
|
|
487
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
488
|
+
// Empty triggers shouldn't match anything specific
|
|
489
|
+
assert.strictEqual(result, null, 'Empty triggers should not match');
|
|
490
|
+
});
|
|
491
|
+
it('should handle workflow with undefined triggers', () => {
|
|
492
|
+
const noTriggersWorkflow = createWorkflow('no-triggers');
|
|
493
|
+
const story = {
|
|
494
|
+
id: '31-3',
|
|
495
|
+
type: 'feature'
|
|
496
|
+
};
|
|
497
|
+
const workflows = [noTriggersWorkflow];
|
|
498
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
499
|
+
assert.strictEqual(result, null, 'Undefined triggers should not match');
|
|
500
|
+
});
|
|
501
|
+
it('should handle story with undefined points for points-based workflow', () => {
|
|
502
|
+
const story = {
|
|
503
|
+
id: '31-3'
|
|
504
|
+
// No points defined
|
|
505
|
+
};
|
|
506
|
+
const workflows = [pointsWorkflow]; // Requires min: 8
|
|
507
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
508
|
+
assert.strictEqual(result, null, 'Should not match points trigger when story has no points');
|
|
509
|
+
});
|
|
510
|
+
it('should handle story with zero points', () => {
|
|
511
|
+
const story = {
|
|
512
|
+
id: '31-3',
|
|
513
|
+
type: 'chore',
|
|
514
|
+
points: 0
|
|
515
|
+
};
|
|
516
|
+
const workflows = [trivialWorkflow]; // max: 2
|
|
517
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
518
|
+
assert.ok(result, 'Should match (0 <= 2)');
|
|
519
|
+
assert.strictEqual(result.workflow.name, 'trivial');
|
|
520
|
+
});
|
|
521
|
+
it('should be case-sensitive for workflow names in tags', () => {
|
|
522
|
+
const story = {
|
|
523
|
+
id: '31-3',
|
|
524
|
+
tags: ['workflow:TDD'] // Uppercase
|
|
525
|
+
};
|
|
526
|
+
const workflows = [tddWorkflow]; // name is 'tdd' lowercase
|
|
527
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
528
|
+
// Should NOT match because TDD !== tdd
|
|
529
|
+
assert.ok(result === null || result.reason.includes('default'), 'Should not match case-mismatched workflow name (or fall to default)');
|
|
530
|
+
});
|
|
531
|
+
it('should handle multiple workflow: tags (first wins)', () => {
|
|
532
|
+
const story = {
|
|
533
|
+
id: '31-3',
|
|
534
|
+
tags: ['workflow:trivial', 'workflow:tdd']
|
|
535
|
+
};
|
|
536
|
+
const workflows = [tddWorkflow, trivialWorkflow];
|
|
537
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
538
|
+
assert.ok(result, 'Should return a result');
|
|
539
|
+
assert.strictEqual(result.workflow.name, 'trivial', 'First workflow: tag should win');
|
|
540
|
+
});
|
|
541
|
+
});
|
|
542
|
+
// =============================================================================
|
|
543
|
+
// Integration Tests with Real Workflows
|
|
544
|
+
// =============================================================================
|
|
545
|
+
describe('Integration: Real workflow files', () => {
|
|
546
|
+
// Helper to find monorepo root
|
|
547
|
+
function findMonorepoRoot(startDir) {
|
|
548
|
+
let dir = startDir;
|
|
549
|
+
for (let i = 0; i < 10; i++) {
|
|
550
|
+
if (existsSync(join(dir, 'pennyfarthing-dist'))) {
|
|
551
|
+
return dir;
|
|
552
|
+
}
|
|
553
|
+
const parent = dirname(dir);
|
|
554
|
+
if (parent === dir)
|
|
555
|
+
break;
|
|
556
|
+
dir = parent;
|
|
557
|
+
}
|
|
558
|
+
return null;
|
|
559
|
+
}
|
|
560
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
561
|
+
const monorepoRoot = findMonorepoRoot(__dirname);
|
|
562
|
+
it('should route feature story to tdd workflow from real files', async () => {
|
|
563
|
+
if (!monorepoRoot) {
|
|
564
|
+
console.log('Skipping: monorepo root not found');
|
|
565
|
+
return;
|
|
566
|
+
}
|
|
567
|
+
// Import loader to get real workflows
|
|
568
|
+
const { loadWorkflowsFromDir } = await import('./workflow-loader.js');
|
|
569
|
+
const workflowsDir = join(monorepoRoot, 'pennyfarthing-dist', 'workflows');
|
|
570
|
+
const { workflows } = loadWorkflowsFromDir(workflowsDir);
|
|
571
|
+
if (workflows.length === 0) {
|
|
572
|
+
console.log('Skipping: no workflows found');
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
const story = {
|
|
576
|
+
id: '31-3',
|
|
577
|
+
type: 'feature',
|
|
578
|
+
points: 3
|
|
579
|
+
};
|
|
580
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
581
|
+
assert.ok(result, 'Should route to a workflow');
|
|
582
|
+
// tdd.yaml should be the default for features
|
|
583
|
+
console.log(`Routed to: ${result.workflow.name} (${result.reason})`);
|
|
584
|
+
});
|
|
585
|
+
it('should route chore story to trivial workflow from real files', async () => {
|
|
586
|
+
if (!monorepoRoot) {
|
|
587
|
+
console.log('Skipping: monorepo root not found');
|
|
588
|
+
return;
|
|
589
|
+
}
|
|
590
|
+
const { loadWorkflowsFromDir } = await import('./workflow-loader.js');
|
|
591
|
+
const workflowsDir = join(monorepoRoot, 'pennyfarthing-dist', 'workflows');
|
|
592
|
+
const { workflows } = loadWorkflowsFromDir(workflowsDir);
|
|
593
|
+
if (workflows.length === 0) {
|
|
594
|
+
console.log('Skipping: no workflows found');
|
|
595
|
+
return;
|
|
596
|
+
}
|
|
597
|
+
const story = {
|
|
598
|
+
id: '31-3',
|
|
599
|
+
type: 'chore',
|
|
600
|
+
points: 1
|
|
601
|
+
};
|
|
602
|
+
const result = routeStoryToWorkflow(story, workflows);
|
|
603
|
+
assert.ok(result, 'Should route to a workflow');
|
|
604
|
+
console.log(`Routed to: ${result.workflow.name} (${result.reason})`);
|
|
605
|
+
});
|
|
606
|
+
});
|
|
607
|
+
//# sourceMappingURL=workflow-router.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-router.test.js","sourceRoot":"","sources":["../../src/workflow/workflow-router.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,6BAA6B;AAC7B,OAAO,EACL,oBAAoB,EAGrB,MAAM,sBAAsB,CAAC;AAK9B,gFAAgF;AAChF,mDAAmD;AACnD,gFAAgF;AAEhF;;GAEG;AACH,SAAS,cAAc,CACrB,IAAY,EACZ,QAAyC;IAEzC,OAAO;QACL,IAAI;QACJ,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,M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