@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,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-v-13-report-complete'
|
|
3
|
+
description: 'Validation Report Complete - Finalize report, summarize findings, present to user, offer next steps'
|
|
4
|
+
|
|
5
|
+
# File references (ONLY variables used in this step)
|
|
6
|
+
validationReportPath: '{validation_report_path}'
|
|
7
|
+
prdFile: '{prd_file_path}'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 13: Validation Report Complete
|
|
11
|
+
|
|
12
|
+
## STEP GOAL:
|
|
13
|
+
|
|
14
|
+
Finalize validation report, summarize all findings from steps 1-12, present summary to user conversationally, and offer actionable next steps.
|
|
15
|
+
|
|
16
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
17
|
+
|
|
18
|
+
### Universal Rules:
|
|
19
|
+
|
|
20
|
+
- 🛑 NEVER generate content without user input
|
|
21
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
22
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
23
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
24
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
25
|
+
|
|
26
|
+
### Role Reinforcement:
|
|
27
|
+
|
|
28
|
+
- ✅ You are a Validation Architect and Quality Assurance Specialist
|
|
29
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
30
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
31
|
+
- ✅ You bring synthesis and summary expertise
|
|
32
|
+
- ✅ This is the FINAL step - requires user interaction
|
|
33
|
+
|
|
34
|
+
### Step-Specific Rules:
|
|
35
|
+
|
|
36
|
+
- 🎯 Focus ONLY on summarizing findings and presenting options
|
|
37
|
+
- 🚫 FORBIDDEN to perform additional validation
|
|
38
|
+
- 💬 Approach: Conversational summary with clear next steps
|
|
39
|
+
- 🚪 This is the final step - no next step after this
|
|
40
|
+
|
|
41
|
+
## EXECUTION PROTOCOLS:
|
|
42
|
+
|
|
43
|
+
- 🎯 Load complete validation report
|
|
44
|
+
- 🎯 Summarize all findings from steps 1-12
|
|
45
|
+
- 🎯 Update report frontmatter with final status
|
|
46
|
+
- 💬 Present summary to user conversationally
|
|
47
|
+
- 💬 Offer menu options for next actions
|
|
48
|
+
- 🚫 FORBIDDEN to proceed without user selection
|
|
49
|
+
|
|
50
|
+
## CONTEXT BOUNDARIES:
|
|
51
|
+
|
|
52
|
+
- Available context: Complete validation report with findings from all validation steps
|
|
53
|
+
- Focus: Summary and presentation only (no new validation)
|
|
54
|
+
- Limits: Don't add new findings, just synthesize existing
|
|
55
|
+
- Dependencies: Steps 1-12 completed - all validation checks done
|
|
56
|
+
|
|
57
|
+
## MANDATORY SEQUENCE
|
|
58
|
+
|
|
59
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
|
|
60
|
+
|
|
61
|
+
### 1. Load Complete Validation Report
|
|
62
|
+
|
|
63
|
+
Read the entire validation report from {validationReportPath}
|
|
64
|
+
|
|
65
|
+
Extract all findings from:
|
|
66
|
+
- Format Detection (Step 2)
|
|
67
|
+
- Parity Analysis (Step 2B, if applicable)
|
|
68
|
+
- Information Density (Step 3)
|
|
69
|
+
- Product Brief Coverage (Step 4)
|
|
70
|
+
- Measurability (Step 5)
|
|
71
|
+
- Traceability (Step 6)
|
|
72
|
+
- Implementation Leakage (Step 7)
|
|
73
|
+
- Domain Compliance (Step 8)
|
|
74
|
+
- Project-Type Compliance (Step 9)
|
|
75
|
+
- SMART Requirements (Step 10)
|
|
76
|
+
- Holistic Quality (Step 11)
|
|
77
|
+
- Completeness (Step 12)
|
|
78
|
+
|
|
79
|
+
### 2. Update Report Frontmatter with Final Status
|
|
80
|
+
|
|
81
|
+
Update validation report frontmatter:
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
---
|
|
85
|
+
validationTarget: '{prd_path}'
|
|
86
|
+
validationDate: '{current_date}'
|
|
87
|
+
inputDocuments: [list of documents]
|
|
88
|
+
validationStepsCompleted: ['step-v-01-discovery', 'step-v-02-format-detection', 'step-v-03-density-validation', 'step-v-04-brief-coverage-validation', 'step-v-05-measurability-validation', 'step-v-06-traceability-validation', 'step-v-07-implementation-leakage-validation', 'step-v-08-domain-compliance-validation', 'step-v-09-project-type-validation', 'step-v-10-smart-validation', 'step-v-11-holistic-quality-validation', 'step-v-12-completeness-validation']
|
|
89
|
+
validationStatus: COMPLETE
|
|
90
|
+
holisticQualityRating: '{rating from step 11}'
|
|
91
|
+
overallStatus: '{Pass/Warning/Critical based on all findings}'
|
|
92
|
+
---
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 3. Create Summary of Findings
|
|
96
|
+
|
|
97
|
+
**Overall Status:**
|
|
98
|
+
- Determine from all validation findings
|
|
99
|
+
- **Pass:** All critical checks pass, minor warnings acceptable
|
|
100
|
+
- **Warning:** Some issues found but PRD is usable
|
|
101
|
+
- **Critical:** Major issues that prevent PRD from being fit for purpose
|
|
102
|
+
|
|
103
|
+
**Quick Results Table:**
|
|
104
|
+
- Format: [classification]
|
|
105
|
+
- Information Density: [severity]
|
|
106
|
+
- Measurability: [severity]
|
|
107
|
+
- Traceability: [severity]
|
|
108
|
+
- Implementation Leakage: [severity]
|
|
109
|
+
- Domain Compliance: [status]
|
|
110
|
+
- Project-Type Compliance: [compliance score]
|
|
111
|
+
- SMART Quality: [percentage]
|
|
112
|
+
- Holistic Quality: [rating/5]
|
|
113
|
+
- Completeness: [percentage]
|
|
114
|
+
|
|
115
|
+
**Critical Issues:** List from all validation steps
|
|
116
|
+
**Warnings:** List from all validation steps
|
|
117
|
+
**Strengths:** List positives from all validation steps
|
|
118
|
+
|
|
119
|
+
**Holistic Quality Rating:** From step 11
|
|
120
|
+
**Top 3 Improvements:** From step 11
|
|
121
|
+
|
|
122
|
+
**Recommendation:** Based on overall status
|
|
123
|
+
|
|
124
|
+
### 4. Present Summary to User Conversationally
|
|
125
|
+
|
|
126
|
+
Display:
|
|
127
|
+
|
|
128
|
+
"**✓ PRD Validation Complete**
|
|
129
|
+
|
|
130
|
+
**Overall Status:** {Pass/Warning/Critical}
|
|
131
|
+
|
|
132
|
+
**Quick Results:**
|
|
133
|
+
{Present quick results table with key findings}
|
|
134
|
+
|
|
135
|
+
**Critical Issues:** {count or "None"}
|
|
136
|
+
{If any, list briefly}
|
|
137
|
+
|
|
138
|
+
**Warnings:** {count or "None"}
|
|
139
|
+
{If any, list briefly}
|
|
140
|
+
|
|
141
|
+
**Strengths:**
|
|
142
|
+
{List key strengths}
|
|
143
|
+
|
|
144
|
+
**Holistic Quality:** {rating}/5 - {label}
|
|
145
|
+
|
|
146
|
+
**Top 3 Improvements:**
|
|
147
|
+
1. {Improvement 1}
|
|
148
|
+
2. {Improvement 2}
|
|
149
|
+
3. {Improvement 3}
|
|
150
|
+
|
|
151
|
+
**Recommendation:**
|
|
152
|
+
{Based on overall status:
|
|
153
|
+
- Pass: "PRD is in good shape. Address minor improvements to make it great."
|
|
154
|
+
- Warning: "PRD is usable but has issues that should be addressed. Review warnings and improve where needed."
|
|
155
|
+
- Critical: "PRD has significant issues that should be fixed before use. Focus on critical issues above."}
|
|
156
|
+
|
|
157
|
+
**What would you like to do next?**"
|
|
158
|
+
|
|
159
|
+
### 5. Present MENU OPTIONS
|
|
160
|
+
|
|
161
|
+
Display:
|
|
162
|
+
|
|
163
|
+
**[R] Review Detailed Findings** - Walk through validation report section by section
|
|
164
|
+
**[E] Use Edit Workflow** - Use validation report with Edit workflow for systematic improvements
|
|
165
|
+
**[F] Fix Simpler Items** - Immediate fixes for simple issues (anti-patterns, leakage, missing headers)
|
|
166
|
+
**[X] Exit** - Exit and review validation report
|
|
167
|
+
|
|
168
|
+
#### EXECUTION RULES:
|
|
169
|
+
|
|
170
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
171
|
+
- Only proceed based on user selection
|
|
172
|
+
|
|
173
|
+
#### Menu Handling Logic:
|
|
174
|
+
|
|
175
|
+
- **IF R (Review Detailed Findings):**
|
|
176
|
+
- Walk through validation report section by section
|
|
177
|
+
- Present findings from each validation step
|
|
178
|
+
- Allow user to ask questions
|
|
179
|
+
- After review, return to menu
|
|
180
|
+
|
|
181
|
+
- **IF E (Use Edit Workflow):**
|
|
182
|
+
- Explain: "The Edit workflow (steps-e/) can use this validation report to systematically address issues. Edit mode will guide you through discovering what to edit, reviewing the PRD, and applying targeted improvements."
|
|
183
|
+
- Offer: "Would you like to launch Edit mode now? It will help you fix validation findings systematically."
|
|
184
|
+
- If yes: Load and execute steps-e/step-e-01-discovery.md
|
|
185
|
+
- If no: Return to menu
|
|
186
|
+
|
|
187
|
+
- **IF F (Fix Simpler Items):**
|
|
188
|
+
- Offer immediate fixes for:
|
|
189
|
+
- Template variables (fill in with appropriate content)
|
|
190
|
+
- Conversational filler (remove wordy phrases)
|
|
191
|
+
- Implementation leakage (remove technology names from FRs/NFRs)
|
|
192
|
+
- Missing section headers (add ## headers)
|
|
193
|
+
- Ask: "Which simple fixes would you like me to make?"
|
|
194
|
+
- If user specifies fixes, make them and update validation report
|
|
195
|
+
- Return to menu
|
|
196
|
+
|
|
197
|
+
- **IF X (Exit):**
|
|
198
|
+
- Display: "**Validation Report Saved:** {validationReportPath}"
|
|
199
|
+
- Display: "**Summary:** {overall status} - {recommendation}"
|
|
200
|
+
- Display: "**Next Steps:** Review the validation report and address findings. For systematic improvements, consider using Edit workflow when available, or manually fix issues identified in this report."
|
|
201
|
+
- Exit validation
|
|
202
|
+
|
|
203
|
+
- **IF Any other:** Help user, then redisplay menu
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
208
|
+
|
|
209
|
+
### ✅ SUCCESS:
|
|
210
|
+
|
|
211
|
+
- Complete validation report loaded successfully
|
|
212
|
+
- All findings from steps 1-12 summarized
|
|
213
|
+
- Report frontmatter updated with final status
|
|
214
|
+
- Overall status determined correctly (Pass/Warning/Critical)
|
|
215
|
+
- Quick results table presented
|
|
216
|
+
- Critical issues, warnings, and strengths listed
|
|
217
|
+
- Holistic quality rating included
|
|
218
|
+
- Top 3 improvements presented
|
|
219
|
+
- Clear recommendation provided
|
|
220
|
+
- Menu options presented with clear explanations
|
|
221
|
+
- User can review findings, get help, or exit
|
|
222
|
+
|
|
223
|
+
### ❌ SYSTEM FAILURE:
|
|
224
|
+
|
|
225
|
+
- Not loading complete validation report
|
|
226
|
+
- Missing summary of findings
|
|
227
|
+
- Not updating report frontmatter
|
|
228
|
+
- Not determining overall status
|
|
229
|
+
- Missing menu options
|
|
230
|
+
- Unclear next steps
|
|
231
|
+
|
|
232
|
+
**Master Rule:** User needs clear summary and actionable next steps. Edit workflow is best for complex issues; immediate fixes available for simpler ones.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# prd Workflow - Migrated from BMAD format
|
|
2
|
+
# Generated by migrate-bmad-workflow.mjs
|
|
3
|
+
# Story: MSSCI-12133
|
|
4
|
+
|
|
5
|
+
workflow:
|
|
6
|
+
name: prd
|
|
7
|
+
description: PRD tri-modal workflow - Create, Validate, or Edit comprehensive PRDs
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
type: stepped
|
|
10
|
+
|
|
11
|
+
# Step configuration
|
|
12
|
+
steps:
|
|
13
|
+
path: ./steps-c/
|
|
14
|
+
pattern: step-*.md
|
|
15
|
+
|
|
16
|
+
# Tri-modal workflow paths
|
|
17
|
+
modes:
|
|
18
|
+
create: ./steps-c/
|
|
19
|
+
validate: ./steps-v/
|
|
20
|
+
edit: ./steps-e/
|
|
21
|
+
|
|
22
|
+
# Variables available in step files
|
|
23
|
+
variables:
|
|
24
|
+
project_root: .
|
|
25
|
+
planning_artifacts: ./artifacts
|
|
26
|
+
output_file: artifacts/prd.md
|
|
27
|
+
|
|
28
|
+
# Gates - pause for user approval at key decision points
|
|
29
|
+
gates:
|
|
30
|
+
after_steps: [2, 8, 12]
|
|
31
|
+
gate_marker: "<!-- GATE -->"
|
|
32
|
+
|
|
33
|
+
# Template for PRD output
|
|
34
|
+
template: ./templates/prd-template.md
|
|
35
|
+
|
|
36
|
+
# Agent assignment
|
|
37
|
+
agent: pm
|
|
38
|
+
|
|
39
|
+
# Triggers - when to suggest this workflow
|
|
40
|
+
triggers:
|
|
41
|
+
types: [prd, requirements]
|
|
42
|
+
tags: [prd, stepped]
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-init'
|
|
3
|
+
description: 'Initialize the product brief workflow by detecting continuation state and setting up the document'
|
|
4
|
+
|
|
5
|
+
# File References
|
|
6
|
+
nextStepFile: './step-02-vision.md'
|
|
7
|
+
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
|
|
8
|
+
|
|
9
|
+
# Template References
|
|
10
|
+
productBriefTemplate: '../product-brief.template.md'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Step 1: Product Brief Initialization
|
|
14
|
+
|
|
15
|
+
## STEP GOAL:
|
|
16
|
+
|
|
17
|
+
Initialize the product brief workflow by detecting continuation state and setting up the document structure for collaborative product discovery.
|
|
18
|
+
|
|
19
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
20
|
+
|
|
21
|
+
### Universal Rules:
|
|
22
|
+
|
|
23
|
+
- 🛑 NEVER generate content without user input
|
|
24
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
25
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
26
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
27
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
28
|
+
|
|
29
|
+
### Role Reinforcement:
|
|
30
|
+
|
|
31
|
+
- ✅ You are a product-focused Business Analyst facilitator
|
|
32
|
+
- ✅ If you already have been given a name, communication_style and persona, continue to use those while playing this new role
|
|
33
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
34
|
+
- ✅ You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
|
|
35
|
+
- ✅ Maintain collaborative discovery tone throughout
|
|
36
|
+
|
|
37
|
+
### Step-Specific Rules:
|
|
38
|
+
|
|
39
|
+
- 🎯 Focus only on initialization and setup - no content generation yet
|
|
40
|
+
- 🚫 FORBIDDEN to look ahead to future steps or assume knowledge from them
|
|
41
|
+
- 💬 Approach: Systematic setup with clear reporting to user
|
|
42
|
+
- 📋 Detect existing workflow state and handle continuation properly
|
|
43
|
+
|
|
44
|
+
## EXECUTION PROTOCOLS:
|
|
45
|
+
|
|
46
|
+
- 🎯 Show your analysis of current state before taking any action
|
|
47
|
+
- 💾 Initialize document structure and update frontmatter appropriately
|
|
48
|
+
- 📖 Set up frontmatter `stepsCompleted: [1]` before loading next step
|
|
49
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C' (Continue)
|
|
50
|
+
|
|
51
|
+
## CONTEXT BOUNDARIES:
|
|
52
|
+
|
|
53
|
+
- Available context: Variables from workflow.md are available in memory
|
|
54
|
+
- Focus: Workflow initialization and document setup only
|
|
55
|
+
- Limits: Don't assume knowledge from other steps or create content yet
|
|
56
|
+
- Dependencies: Configuration loaded from workflow.md initialization
|
|
57
|
+
|
|
58
|
+
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
59
|
+
|
|
60
|
+
### 1. Check for Existing Workflow State
|
|
61
|
+
|
|
62
|
+
First, check if the output document already exists:
|
|
63
|
+
|
|
64
|
+
**Workflow State Detection:**
|
|
65
|
+
|
|
66
|
+
- Look for file `{outputFile}`
|
|
67
|
+
- If exists, read the complete file including frontmatter
|
|
68
|
+
- If not exists, this is a fresh workflow
|
|
69
|
+
|
|
70
|
+
### 2. Handle Continuation (If Document Exists)
|
|
71
|
+
|
|
72
|
+
If the document exists and has frontmatter with `stepsCompleted`:
|
|
73
|
+
|
|
74
|
+
**Continuation Protocol:**
|
|
75
|
+
|
|
76
|
+
- **STOP immediately** and load `./step-01b-continue.md`
|
|
77
|
+
- Do not proceed with any initialization tasks
|
|
78
|
+
- Let step-01b handle all continuation logic
|
|
79
|
+
- This is an auto-proceed situation - no user choice needed
|
|
80
|
+
|
|
81
|
+
### 3. Fresh Workflow Setup (If No Document)
|
|
82
|
+
|
|
83
|
+
If no document exists or no `stepsCompleted` in frontmatter:
|
|
84
|
+
|
|
85
|
+
#### A. Input Document Discovery
|
|
86
|
+
|
|
87
|
+
load context documents using smart discovery. Documents can be in the following locations:
|
|
88
|
+
- {planning_artifacts}/**
|
|
89
|
+
- {output_folder}/**
|
|
90
|
+
- {product_knowledge}/**
|
|
91
|
+
- docs/**
|
|
92
|
+
|
|
93
|
+
Also - when searching - documents can be a single markdown file, or a folder with an index and multiple files. For Example, if searching for `*foo*.md` and not found, also search for a folder called *foo*/index.md (which indicates sharded content)
|
|
94
|
+
|
|
95
|
+
Try to discover the following:
|
|
96
|
+
- Brainstorming Reports (`*brainstorming*.md`)
|
|
97
|
+
- Research Documents (`*research*.md`)
|
|
98
|
+
- Project Documentation (generally multiple documents might be found for this in the `{product_knowledge}` or `docs` folder.)
|
|
99
|
+
- Project Context (`**/project-context.md`)
|
|
100
|
+
|
|
101
|
+
<critical>Confirm what you have found with the user, along with asking if the user wants to provide anything else. Only after this confirmation will you proceed to follow the loading rules</critical>
|
|
102
|
+
|
|
103
|
+
**Loading Rules:**
|
|
104
|
+
|
|
105
|
+
- Load ALL discovered files completely that the user confirmed or provided (no offset/limit)
|
|
106
|
+
- If there is a project context, whatever is relevant should try to be biased in the remainder of this whole workflow process
|
|
107
|
+
- For sharded folders, load ALL files to get complete picture, using the index first to potentially know the potential of each document
|
|
108
|
+
- index.md is a guide to what's relevant whenever available
|
|
109
|
+
- Track all successfully loaded files in frontmatter `inputDocuments` array
|
|
110
|
+
|
|
111
|
+
#### B. Create Initial Document
|
|
112
|
+
|
|
113
|
+
**Document Setup:**
|
|
114
|
+
|
|
115
|
+
- Copy the template from `{productBriefTemplate}` to `{outputFile}`, and update the frontmatter fields
|
|
116
|
+
|
|
117
|
+
#### C. Present Initialization Results
|
|
118
|
+
|
|
119
|
+
**Setup Report to User:**
|
|
120
|
+
"Welcome {{user_name}}! I've set up your product brief workspace for {{project_name}}.
|
|
121
|
+
|
|
122
|
+
**Document Setup:**
|
|
123
|
+
|
|
124
|
+
- Created: `{outputFile}` from template
|
|
125
|
+
- Initialized frontmatter with workflow state
|
|
126
|
+
|
|
127
|
+
**Input Documents Discovered:**
|
|
128
|
+
|
|
129
|
+
- Research: {number of research files loaded or "None found"}
|
|
130
|
+
- Brainstorming: {number of brainstorming files loaded or "None found"}
|
|
131
|
+
- Project docs: {number of project files loaded or "None found"}
|
|
132
|
+
- Project Context: {number of project context files loaded or "None found"}
|
|
133
|
+
|
|
134
|
+
**Files loaded:** {list of specific file names or "No additional documents found"}
|
|
135
|
+
|
|
136
|
+
Do you have any other documents you'd like me to include, or shall we continue to the next step?"
|
|
137
|
+
|
|
138
|
+
### 4. Present MENU OPTIONS
|
|
139
|
+
|
|
140
|
+
Display: "**Proceeding to product vision discovery...**"
|
|
141
|
+
|
|
142
|
+
#### Menu Handling Logic:
|
|
143
|
+
|
|
144
|
+
- After setup report is presented, immediately load, read entire file, then execute {nextStepFile}
|
|
145
|
+
|
|
146
|
+
#### EXECUTION RULES:
|
|
147
|
+
|
|
148
|
+
- This is an initialization step with auto-proceed after setup completion
|
|
149
|
+
- Proceed directly to next step after document setup and reporting
|
|
150
|
+
|
|
151
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
152
|
+
|
|
153
|
+
ONLY WHEN [setup completion is achieved and frontmatter properly updated], will you then load and read fully `{nextStepFile}` to execute and begin product vision discovery.
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
158
|
+
|
|
159
|
+
### ✅ SUCCESS:
|
|
160
|
+
|
|
161
|
+
- Existing workflow detected and properly handed off to step-01b
|
|
162
|
+
- Fresh workflow initialized with template and proper frontmatter
|
|
163
|
+
- Input documents discovered and loaded using sharded-first logic
|
|
164
|
+
- All discovered files tracked in frontmatter `inputDocuments`
|
|
165
|
+
- Menu presented and user input handled correctly
|
|
166
|
+
- Frontmatter updated with `stepsCompleted: [1]` before proceeding
|
|
167
|
+
|
|
168
|
+
### ❌ SYSTEM FAILURE:
|
|
169
|
+
|
|
170
|
+
- Proceeding with fresh initialization when existing workflow exists
|
|
171
|
+
- Not updating frontmatter with discovered input documents
|
|
172
|
+
- Creating document without proper template structure
|
|
173
|
+
- Not checking sharded folders first before whole files
|
|
174
|
+
- Not reporting discovered documents to user clearly
|
|
175
|
+
- Proceeding without user selecting 'C' (Continue)
|
|
176
|
+
|
|
177
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01b-continue'
|
|
3
|
+
description: 'Resume the product brief workflow from where it was left off, ensuring smooth continuation'
|
|
4
|
+
|
|
5
|
+
# File References
|
|
6
|
+
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Step 1B: Product Brief Continuation
|
|
10
|
+
|
|
11
|
+
## STEP GOAL:
|
|
12
|
+
|
|
13
|
+
Resume the product brief workflow from where it was left off, ensuring smooth continuation with full context restoration.
|
|
14
|
+
|
|
15
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
16
|
+
|
|
17
|
+
### Universal Rules:
|
|
18
|
+
|
|
19
|
+
- 🛑 NEVER generate content without user input
|
|
20
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
21
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
22
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
23
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
24
|
+
|
|
25
|
+
### Role Reinforcement:
|
|
26
|
+
|
|
27
|
+
- ✅ You are a product-focused Business Analyst facilitator
|
|
28
|
+
- ✅ If you already have been given a name, communication_style and persona, continue to use those while playing this new role
|
|
29
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
30
|
+
- ✅ You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
|
|
31
|
+
- ✅ Maintain collaborative continuation tone throughout
|
|
32
|
+
|
|
33
|
+
### Step-Specific Rules:
|
|
34
|
+
|
|
35
|
+
- 🎯 Focus only on understanding where we left off and continuing appropriately
|
|
36
|
+
- 🚫 FORBIDDEN to modify content completed in previous steps
|
|
37
|
+
- 💬 Approach: Systematic state analysis with clear progress reporting
|
|
38
|
+
- 📋 Resume workflow from exact point where it was interrupted
|
|
39
|
+
|
|
40
|
+
## EXECUTION PROTOCOLS:
|
|
41
|
+
|
|
42
|
+
- 🎯 Show your analysis of current state before taking any action
|
|
43
|
+
- 💾 Keep existing frontmatter `stepsCompleted` values
|
|
44
|
+
- 📖 Only load documents that were already tracked in `inputDocuments`
|
|
45
|
+
- 🚫 FORBIDDEN to discover new input documents during continuation
|
|
46
|
+
|
|
47
|
+
## CONTEXT BOUNDARIES:
|
|
48
|
+
|
|
49
|
+
- Available context: Current document and frontmatter are already loaded
|
|
50
|
+
- Focus: Workflow state analysis and continuation logic only
|
|
51
|
+
- Limits: Don't assume knowledge beyond what's in the document
|
|
52
|
+
- Dependencies: Existing workflow state from previous session
|
|
53
|
+
|
|
54
|
+
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
55
|
+
|
|
56
|
+
### 1. Analyze Current State
|
|
57
|
+
|
|
58
|
+
**State Assessment:**
|
|
59
|
+
Review the frontmatter to understand:
|
|
60
|
+
|
|
61
|
+
- `stepsCompleted`: Which steps are already done
|
|
62
|
+
- `lastStep`: The most recently completed step number
|
|
63
|
+
- `inputDocuments`: What context was already loaded
|
|
64
|
+
- All other frontmatter variables
|
|
65
|
+
|
|
66
|
+
### 2. Restore Context Documents
|
|
67
|
+
|
|
68
|
+
**Context Reloading:**
|
|
69
|
+
|
|
70
|
+
- For each document in `inputDocuments`, load the complete file
|
|
71
|
+
- This ensures you have full context for continuation
|
|
72
|
+
- Don't discover new documents - only reload what was previously processed
|
|
73
|
+
- Maintain the same context as when workflow was interrupted
|
|
74
|
+
|
|
75
|
+
### 3. Present Current Progress
|
|
76
|
+
|
|
77
|
+
**Progress Report to User:**
|
|
78
|
+
"Welcome back {{user_name}}! I'm resuming our product brief collaboration for {{project_name}}.
|
|
79
|
+
|
|
80
|
+
**Current Progress:**
|
|
81
|
+
|
|
82
|
+
- Steps completed: {stepsCompleted}
|
|
83
|
+
- Last worked on: Step {lastStep}
|
|
84
|
+
- Context documents available: {len(inputDocuments)} files
|
|
85
|
+
|
|
86
|
+
**Document Status:**
|
|
87
|
+
|
|
88
|
+
- Current product brief is ready with all completed sections
|
|
89
|
+
- Ready to continue from where we left off
|
|
90
|
+
|
|
91
|
+
Does this look right, or do you want to make any adjustments before we proceed?"
|
|
92
|
+
|
|
93
|
+
### 4. Determine Continuation Path
|
|
94
|
+
|
|
95
|
+
**Next Step Logic:**
|
|
96
|
+
Based on `lastStep` value, determine which step to load next:
|
|
97
|
+
|
|
98
|
+
- If `lastStep = 1` → Load `./step-02-vision.md`
|
|
99
|
+
- If `lastStep = 2` → Load `./step-03-users.md`
|
|
100
|
+
- If `lastStep = 3` → Load `./step-04-metrics.md`
|
|
101
|
+
- Continue this pattern for all steps
|
|
102
|
+
- If `lastStep = 6` → Workflow already complete
|
|
103
|
+
|
|
104
|
+
### 5. Handle Workflow Completion
|
|
105
|
+
|
|
106
|
+
**If workflow already complete (`lastStep = 6`):**
|
|
107
|
+
"Great news! It looks like we've already completed the product brief workflow for {{project_name}}.
|
|
108
|
+
|
|
109
|
+
The final document is ready at `{outputFile}` with all sections completed through step 6.
|
|
110
|
+
|
|
111
|
+
Would you like me to:
|
|
112
|
+
|
|
113
|
+
- Review the completed product brief with you
|
|
114
|
+
- Suggest next workflow steps (like PRD creation)
|
|
115
|
+
- Start a new product brief revision
|
|
116
|
+
|
|
117
|
+
What would be most helpful?"
|
|
118
|
+
|
|
119
|
+
### 6. Present MENU OPTIONS
|
|
120
|
+
|
|
121
|
+
**If workflow not complete:**
|
|
122
|
+
Display: "Ready to continue with Step {nextStepNumber}: {nextStepTitle}?
|
|
123
|
+
|
|
124
|
+
**Select an Option:** [C] Continue to Step {nextStepNumber}"
|
|
125
|
+
|
|
126
|
+
#### Menu Handling Logic:
|
|
127
|
+
|
|
128
|
+
- IF C: Load, read entire file, then execute the appropriate next step file based on `lastStep`
|
|
129
|
+
- IF Any other comments or queries: respond and redisplay menu
|
|
130
|
+
|
|
131
|
+
#### EXECUTION RULES:
|
|
132
|
+
|
|
133
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
134
|
+
- ONLY proceed to next step when user selects 'C'
|
|
135
|
+
- User can chat or ask questions about current progress
|
|
136
|
+
|
|
137
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
138
|
+
|
|
139
|
+
ONLY WHEN [C continue option] is selected and [current state confirmed], will you then load and read fully the appropriate next step file to resume the workflow.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
144
|
+
|
|
145
|
+
### ✅ SUCCESS:
|
|
146
|
+
|
|
147
|
+
- All previous input documents successfully reloaded
|
|
148
|
+
- Current workflow state accurately analyzed and presented
|
|
149
|
+
- User confirms understanding of progress before continuation
|
|
150
|
+
- Correct next step identified and prepared for loading
|
|
151
|
+
- Proper continuation path determined based on `lastStep`
|
|
152
|
+
|
|
153
|
+
### ❌ SYSTEM FAILURE:
|
|
154
|
+
|
|
155
|
+
- Discovering new input documents instead of reloading existing ones
|
|
156
|
+
- Modifying content from already completed steps
|
|
157
|
+
- Loading wrong next step based on `lastStep` value
|
|
158
|
+
- Proceeding without user confirmation of current state
|
|
159
|
+
- Not maintaining context consistency from previous session
|
|
160
|
+
|
|
161
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|