@pennyfarthing/core 7.4.1 → 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{packages/core/dist → dist}/cli/utils/files.d.ts +0 -1
- package/dist/cli/utils/files.js +179 -0
- package/{packages/core/dist → dist}/cli/utils/manifest.d.ts +0 -1
- package/dist/cli/utils/manifest.js +93 -0
- package/{packages/core/dist → dist}/cli/utils/version.d.ts +0 -1
- package/dist/cli/utils/version.js +70 -0
- package/{packages/core/dist → dist}/index.d.ts +0 -1
- package/dist/index.js +48 -0
- package/{packages/core/dist → dist}/permissions/index.d.ts +0 -1
- package/dist/permissions/index.js +16 -0
- package/{packages/core/dist → dist}/permissions/permission-schema.d.ts +0 -1
- package/{packages/core/dist → dist}/permissions/permission-schema.js +13 -9
- package/{packages/core/dist → dist}/scripts/job-fair-aggregator.d.ts +0 -1
- package/dist/scripts/job-fair-aggregator.js +690 -0
- package/{packages/core/dist → dist}/workflow/index.d.ts +0 -1
- package/dist/workflow/index.js +31 -0
- package/{packages/core/dist → dist}/workflow/workflow-loader.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-loader.js +40 -34
- package/{packages/core/dist → dist}/workflow/workflow-permissions.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-permissions.js +14 -8
- package/{packages/core/dist → dist}/workflow/workflow-router.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-router.js +70 -51
- package/{packages/core/dist → dist}/workflow/workflow-schema.d.ts +0 -1
- package/{packages/core/dist → dist}/workflow/workflow-schema.js +62 -59
- package/package.json +36 -31
- package/LICENSE +0 -14
- package/README.md +0 -301
- package/packages/core/dist/bmad/context-reader.d.ts +0 -71
- package/packages/core/dist/bmad/context-reader.d.ts.map +0 -1
- package/packages/core/dist/bmad/context-reader.js +0 -369
- package/packages/core/dist/bmad/context-reader.js.map +0 -1
- package/packages/core/dist/bmad/context-reader.test.d.ts +0 -71
- package/packages/core/dist/bmad/context-reader.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/context-reader.test.js +0 -878
- package/packages/core/dist/bmad/context-reader.test.js.map +0 -1
- package/packages/core/dist/bmad/epics-parser.d.ts +0 -61
- package/packages/core/dist/bmad/epics-parser.d.ts.map +0 -1
- package/packages/core/dist/bmad/epics-parser.js +0 -331
- package/packages/core/dist/bmad/epics-parser.js.map +0 -1
- package/packages/core/dist/bmad/epics-parser.test.d.ts +0 -7
- package/packages/core/dist/bmad/epics-parser.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/epics-parser.test.js +0 -449
- package/packages/core/dist/bmad/epics-parser.test.js.map +0 -1
- package/packages/core/dist/bmad/index.d.ts +0 -11
- package/packages/core/dist/bmad/index.d.ts.map +0 -1
- package/packages/core/dist/bmad/index.js +0 -24
- package/packages/core/dist/bmad/index.js.map +0 -1
- package/packages/core/dist/bmad/status-sync.d.ts +0 -173
- package/packages/core/dist/bmad/status-sync.d.ts.map +0 -1
- package/packages/core/dist/bmad/status-sync.js +0 -463
- package/packages/core/dist/bmad/status-sync.js.map +0 -1
- package/packages/core/dist/bmad/status-sync.test.d.ts +0 -7
- package/packages/core/dist/bmad/status-sync.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/status-sync.test.js +0 -702
- package/packages/core/dist/bmad/status-sync.test.js.map +0 -1
- package/packages/core/dist/bmad/story-exporter.d.ts +0 -55
- package/packages/core/dist/bmad/story-exporter.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-exporter.js +0 -170
- package/packages/core/dist/bmad/story-exporter.js.map +0 -1
- package/packages/core/dist/bmad/story-exporter.test.d.ts +0 -51
- package/packages/core/dist/bmad/story-exporter.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-exporter.test.js +0 -603
- package/packages/core/dist/bmad/story-exporter.test.js.map +0 -1
- package/packages/core/dist/bmad/story-parser.d.ts +0 -44
- package/packages/core/dist/bmad/story-parser.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-parser.js +0 -307
- package/packages/core/dist/bmad/story-parser.js.map +0 -1
- package/packages/core/dist/bmad/story-parser.test.d.ts +0 -44
- package/packages/core/dist/bmad/story-parser.test.d.ts.map +0 -1
- package/packages/core/dist/bmad/story-parser.test.js +0 -693
- package/packages/core/dist/bmad/story-parser.test.js.map +0 -1
- package/packages/core/dist/cli/commands/command.d.ts +0 -28
- package/packages/core/dist/cli/commands/command.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/command.js +0 -399
- package/packages/core/dist/cli/commands/command.js.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.d.ts +0 -46
- package/packages/core/dist/cli/commands/cyclist.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.js +0 -196
- package/packages/core/dist/cli/commands/cyclist.js.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.test.d.ts +0 -13
- package/packages/core/dist/cli/commands/cyclist.test.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/cyclist.test.js +0 -245
- package/packages/core/dist/cli/commands/cyclist.test.js.map +0 -1
- package/packages/core/dist/cli/commands/doctor.d.ts +0 -9
- package/packages/core/dist/cli/commands/doctor.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/doctor.js +0 -652
- package/packages/core/dist/cli/commands/doctor.js.map +0 -1
- package/packages/core/dist/cli/commands/init.d.ts +0 -8
- package/packages/core/dist/cli/commands/init.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/init.js +0 -525
- package/packages/core/dist/cli/commands/init.js.map +0 -1
- package/packages/core/dist/cli/commands/skill.d.ts +0 -28
- package/packages/core/dist/cli/commands/skill.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/skill.js +0 -416
- package/packages/core/dist/cli/commands/skill.js.map +0 -1
- package/packages/core/dist/cli/commands/theme.d.ts +0 -21
- package/packages/core/dist/cli/commands/theme.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/theme.js +0 -201
- package/packages/core/dist/cli/commands/theme.js.map +0 -1
- package/packages/core/dist/cli/commands/uninstall.d.ts +0 -8
- package/packages/core/dist/cli/commands/uninstall.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/uninstall.js +0 -237
- package/packages/core/dist/cli/commands/uninstall.js.map +0 -1
- package/packages/core/dist/cli/commands/update.d.ts +0 -9
- package/packages/core/dist/cli/commands/update.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/update.js +0 -421
- package/packages/core/dist/cli/commands/update.js.map +0 -1
- package/packages/core/dist/cli/commands/version.d.ts +0 -2
- package/packages/core/dist/cli/commands/version.d.ts.map +0 -1
- package/packages/core/dist/cli/commands/version.js +0 -28
- package/packages/core/dist/cli/commands/version.js.map +0 -1
- package/packages/core/dist/cli/customization.test.d.ts +0 -12
- package/packages/core/dist/cli/customization.test.d.ts.map +0 -1
- package/packages/core/dist/cli/customization.test.js +0 -84
- package/packages/core/dist/cli/customization.test.js.map +0 -1
- package/packages/core/dist/cli/cyclist-migration.test.d.ts +0 -16
- package/packages/core/dist/cli/cyclist-migration.test.d.ts.map +0 -1
- package/packages/core/dist/cli/cyclist-migration.test.js +0 -225
- package/packages/core/dist/cli/cyclist-migration.test.js.map +0 -1
- package/packages/core/dist/cli/index.d.ts +0 -3
- package/packages/core/dist/cli/index.d.ts.map +0 -1
- package/packages/core/dist/cli/index.js +0 -174
- package/packages/core/dist/cli/index.js.map +0 -1
- package/packages/core/dist/cli/ocean-profiles.test.d.ts +0 -13
- package/packages/core/dist/cli/ocean-profiles.test.d.ts.map +0 -1
- package/packages/core/dist/cli/ocean-profiles.test.js +0 -134
- package/packages/core/dist/cli/ocean-profiles.test.js.map +0 -1
- package/packages/core/dist/cli/theme-maker.test.d.ts +0 -11
- package/packages/core/dist/cli/theme-maker.test.d.ts.map +0 -1
- package/packages/core/dist/cli/theme-maker.test.js +0 -356
- package/packages/core/dist/cli/theme-maker.test.js.map +0 -1
- package/packages/core/dist/cli/utils/constants.d.ts +0 -66
- package/packages/core/dist/cli/utils/constants.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/constants.js +0 -54
- package/packages/core/dist/cli/utils/constants.js.map +0 -1
- package/packages/core/dist/cli/utils/files.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/files.js +0 -162
- package/packages/core/dist/cli/utils/files.js.map +0 -1
- package/packages/core/dist/cli/utils/logger.d.ts +0 -26
- package/packages/core/dist/cli/utils/logger.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/logger.js +0 -88
- package/packages/core/dist/cli/utils/logger.js.map +0 -1
- package/packages/core/dist/cli/utils/manifest.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/manifest.js +0 -90
- package/packages/core/dist/cli/utils/manifest.js.map +0 -1
- package/packages/core/dist/cli/utils/node-modules.d.ts +0 -6
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/node-modules.js +0 -32
- package/packages/core/dist/cli/utils/node-modules.js.map +0 -1
- package/packages/core/dist/cli/utils/prompts.d.ts +0 -34
- package/packages/core/dist/cli/utils/prompts.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/prompts.js +0 -93
- package/packages/core/dist/cli/utils/prompts.js.map +0 -1
- package/packages/core/dist/cli/utils/symlinks.d.ts +0 -29
- package/packages/core/dist/cli/utils/symlinks.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/symlinks.js +0 -181
- package/packages/core/dist/cli/utils/symlinks.js.map +0 -1
- package/packages/core/dist/cli/utils/themes.d.ts +0 -101
- package/packages/core/dist/cli/utils/themes.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/themes.js +0 -373
- package/packages/core/dist/cli/utils/themes.js.map +0 -1
- package/packages/core/dist/cli/utils/themes.test.d.ts +0 -12
- package/packages/core/dist/cli/utils/themes.test.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/themes.test.js +0 -147
- package/packages/core/dist/cli/utils/themes.test.js.map +0 -1
- package/packages/core/dist/cli/utils/version.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/version.js +0 -64
- package/packages/core/dist/cli/utils/version.js.map +0 -1
- package/packages/core/dist/cli/workspace.test.d.ts +0 -8
- package/packages/core/dist/cli/workspace.test.d.ts.map +0 -1
- package/packages/core/dist/cli/workspace.test.js +0 -156
- package/packages/core/dist/cli/workspace.test.js.map +0 -1
- package/packages/core/dist/index.d.ts.map +0 -1
- package/packages/core/dist/index.js +0 -20
- package/packages/core/dist/index.js.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.d.ts +0 -109
- package/packages/core/dist/jira/jira-epic-creation.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.js +0 -253
- package/packages/core/dist/jira/jira-epic-creation.js.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts +0 -16
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-epic-creation.test.js +0 -387
- package/packages/core/dist/jira/jira-epic-creation.test.js.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.d.ts +0 -247
- package/packages/core/dist/jira/jira-sprint-sync.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.js +0 -670
- package/packages/core/dist/jira/jira-sprint-sync.js.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts +0 -16
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts.map +0 -1
- package/packages/core/dist/jira/jira-sprint-sync.test.js +0 -845
- package/packages/core/dist/jira/jira-sprint-sync.test.js.map +0 -1
- package/packages/core/dist/permissions/index.d.ts.map +0 -1
- package/packages/core/dist/permissions/index.js +0 -13
- package/packages/core/dist/permissions/index.js.map +0 -1
- package/packages/core/dist/permissions/permission-schema.d.ts.map +0 -1
- package/packages/core/dist/permissions/permission-schema.js.map +0 -1
- package/packages/core/dist/permissions/permission-schema.test.d.ts +0 -40
- package/packages/core/dist/permissions/permission-schema.test.d.ts.map +0 -1
- package/packages/core/dist/permissions/permission-schema.test.js +0 -367
- package/packages/core/dist/permissions/permission-schema.test.js.map +0 -1
- package/packages/core/dist/scripts/add-ocean-profiles.d.ts +0 -9
- package/packages/core/dist/scripts/add-ocean-profiles.d.ts.map +0 -1
- package/packages/core/dist/scripts/add-ocean-profiles.js +0 -695
- package/packages/core/dist/scripts/add-ocean-profiles.js.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.d.ts +0 -182
- package/packages/core/dist/scripts/benchmark-integration.d.ts.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.js +0 -691
- package/packages/core/dist/scripts/benchmark-integration.js.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.test.d.ts +0 -13
- package/packages/core/dist/scripts/benchmark-integration.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/benchmark-integration.test.js +0 -680
- package/packages/core/dist/scripts/benchmark-integration.test.js.map +0 -1
- package/packages/core/dist/scripts/debugging-scenarios.test.d.ts +0 -18
- package/packages/core/dist/scripts/debugging-scenarios.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/debugging-scenarios.test.js +0 -317
- package/packages/core/dist/scripts/debugging-scenarios.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-all-spiders.d.ts +0 -10
- package/packages/core/dist/scripts/generate-all-spiders.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-all-spiders.js +0 -306
- package/packages/core/dist/scripts/generate-all-spiders.js.map +0 -1
- package/packages/core/dist/scripts/generate-report.d.ts +0 -65
- package/packages/core/dist/scripts/generate-report.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-report.js +0 -378
- package/packages/core/dist/scripts/generate-report.js.map +0 -1
- package/packages/core/dist/scripts/generate-report.test.d.ts +0 -13
- package/packages/core/dist/scripts/generate-report.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-report.test.js +0 -363
- package/packages/core/dist/scripts/generate-report.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.d.ts +0 -65
- package/packages/core/dist/scripts/generate-spider-report.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.js +0 -366
- package/packages/core/dist/scripts/generate-spider-report.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.test.d.ts +0 -13
- package/packages/core/dist/scripts/generate-spider-report.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider-report.test.js +0 -367
- package/packages/core/dist/scripts/generate-spider-report.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider.d.ts +0 -47
- package/packages/core/dist/scripts/generate-spider.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider.js +0 -338
- package/packages/core/dist/scripts/generate-spider.js.map +0 -1
- package/packages/core/dist/scripts/generate-spider.test.d.ts +0 -14
- package/packages/core/dist/scripts/generate-spider.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-spider.test.js +0 -271
- package/packages/core/dist/scripts/generate-spider.test.js.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.js +0 -547
- package/packages/core/dist/scripts/job-fair-aggregator.js.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.test.d.ts +0 -14
- package/packages/core/dist/scripts/job-fair-aggregator.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/job-fair-aggregator.test.js +0 -616
- package/packages/core/dist/scripts/job-fair-aggregator.test.js.map +0 -1
- package/packages/core/dist/scripts/run-ci.test.d.ts +0 -20
- package/packages/core/dist/scripts/run-ci.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/run-ci.test.js +0 -127
- package/packages/core/dist/scripts/run-ci.test.js.map +0 -1
- package/packages/core/dist/scripts/theme-detail.test.d.ts +0 -10
- package/packages/core/dist/scripts/theme-detail.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/theme-detail.test.js +0 -199
- package/packages/core/dist/scripts/theme-detail.test.js.map +0 -1
- package/packages/core/dist/scripts/validate-ocean-profiles.d.ts +0 -9
- package/packages/core/dist/scripts/validate-ocean-profiles.d.ts.map +0 -1
- package/packages/core/dist/scripts/validate-ocean-profiles.js +0 -130
- package/packages/core/dist/scripts/validate-ocean-profiles.js.map +0 -1
- package/packages/core/dist/workflow/gate-handler.d.ts +0 -94
- package/packages/core/dist/workflow/gate-handler.d.ts.map +0 -1
- package/packages/core/dist/workflow/gate-handler.js +0 -189
- package/packages/core/dist/workflow/gate-handler.js.map +0 -1
- package/packages/core/dist/workflow/gate-handler.test.d.ts +0 -14
- package/packages/core/dist/workflow/gate-handler.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/gate-handler.test.js +0 -543
- package/packages/core/dist/workflow/gate-handler.test.js.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.d.ts +0 -281
- package/packages/core/dist/workflow/generic-handoff.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.js +0 -411
- package/packages/core/dist/workflow/generic-handoff.js.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.test.d.ts +0 -21
- package/packages/core/dist/workflow/generic-handoff.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-handoff.test.js +0 -499
- package/packages/core/dist/workflow/generic-handoff.test.js.map +0 -1
- package/packages/core/dist/workflow/generic-sm-finish.d.ts +0 -89
- package/packages/core/dist/workflow/generic-sm-finish.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-sm-finish.js +0 -157
- package/packages/core/dist/workflow/generic-sm-finish.js.map +0 -1
- package/packages/core/dist/workflow/generic-sm-setup.d.ts +0 -138
- package/packages/core/dist/workflow/generic-sm-setup.d.ts.map +0 -1
- package/packages/core/dist/workflow/generic-sm-setup.js +0 -382
- package/packages/core/dist/workflow/generic-sm-setup.js.map +0 -1
- package/packages/core/dist/workflow/handoff.d.ts +0 -281
- package/packages/core/dist/workflow/handoff.d.ts.map +0 -1
- package/packages/core/dist/workflow/handoff.js +0 -411
- package/packages/core/dist/workflow/handoff.js.map +0 -1
- package/packages/core/dist/workflow/handoff.test.d.ts +0 -21
- package/packages/core/dist/workflow/handoff.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/handoff.test.js +0 -499
- package/packages/core/dist/workflow/handoff.test.js.map +0 -1
- package/packages/core/dist/workflow/index.d.ts.map +0 -1
- package/packages/core/dist/workflow/index.js +0 -24
- package/packages/core/dist/workflow/index.js.map +0 -1
- package/packages/core/dist/workflow/session-state.d.ts +0 -92
- package/packages/core/dist/workflow/session-state.d.ts.map +0 -1
- package/packages/core/dist/workflow/session-state.js +0 -198
- package/packages/core/dist/workflow/session-state.js.map +0 -1
- package/packages/core/dist/workflow/session-state.test.d.ts +0 -8
- package/packages/core/dist/workflow/session-state.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/session-state.test.js +0 -551
- package/packages/core/dist/workflow/session-state.test.js.map +0 -1
- package/packages/core/dist/workflow/sm-subagents.test.d.ts +0 -23
- package/packages/core/dist/workflow/sm-subagents.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/sm-subagents.test.js +0 -727
- package/packages/core/dist/workflow/sm-subagents.test.js.map +0 -1
- package/packages/core/dist/workflow/step-parser.d.ts +0 -45
- package/packages/core/dist/workflow/step-parser.d.ts.map +0 -1
- package/packages/core/dist/workflow/step-parser.js +0 -147
- package/packages/core/dist/workflow/step-parser.js.map +0 -1
- package/packages/core/dist/workflow/step-parser.test.d.ts +0 -14
- package/packages/core/dist/workflow/step-parser.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/step-parser.test.js +0 -470
- package/packages/core/dist/workflow/step-parser.test.js.map +0 -1
- package/packages/core/dist/workflow/story-workflow-routing.test.d.ts +0 -17
- package/packages/core/dist/workflow/story-workflow-routing.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/story-workflow-routing.test.js +0 -559
- package/packages/core/dist/workflow/story-workflow-routing.test.js.map +0 -1
- package/packages/core/dist/workflow/test-cache.d.ts +0 -131
- package/packages/core/dist/workflow/test-cache.d.ts.map +0 -1
- package/packages/core/dist/workflow/test-cache.js +0 -226
- package/packages/core/dist/workflow/test-cache.js.map +0 -1
- package/packages/core/dist/workflow/test-cache.test.d.ts +0 -17
- package/packages/core/dist/workflow/test-cache.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/test-cache.test.js +0 -438
- package/packages/core/dist/workflow/test-cache.test.js.map +0 -1
- package/packages/core/dist/workflow/trimodal.d.ts +0 -86
- package/packages/core/dist/workflow/trimodal.d.ts.map +0 -1
- package/packages/core/dist/workflow/trimodal.js +0 -118
- package/packages/core/dist/workflow/trimodal.js.map +0 -1
- package/packages/core/dist/workflow/trimodal.test.d.ts +0 -11
- package/packages/core/dist/workflow/trimodal.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/trimodal.test.js +0 -395
- package/packages/core/dist/workflow/trimodal.test.js.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.d.ts +0 -67
- package/packages/core/dist/workflow/variable-resolver.d.ts.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.js +0 -156
- package/packages/core/dist/workflow/variable-resolver.js.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.test.d.ts +0 -14
- package/packages/core/dist/workflow/variable-resolver.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/variable-resolver.test.js +0 -400
- package/packages/core/dist/workflow/variable-resolver.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.d.ts +0 -163
- package/packages/core/dist/workflow/workflow-executor.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.js +0 -197
- package/packages/core/dist/workflow/workflow-executor.js.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.test.d.ts +0 -8
- package/packages/core/dist/workflow/workflow-executor.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-executor.test.js +0 -444
- package/packages/core/dist/workflow/workflow-executor.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.js.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.test.d.ts +0 -15
- package/packages/core/dist/workflow/workflow-loader.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-loader.test.js +0 -354
- package/packages/core/dist/workflow/workflow-loader.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-migration.test.d.ts +0 -17
- package/packages/core/dist/workflow/workflow-migration.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-migration.test.js +0 -371
- package/packages/core/dist/workflow/workflow-migration.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.js.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts +0 -15
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-permissions.test.js +0 -301
- package/packages/core/dist/workflow/workflow-permissions.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-router.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-router.js.map +0 -1
- package/packages/core/dist/workflow/workflow-router.test.d.ts +0 -20
- package/packages/core/dist/workflow/workflow-router.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-router.test.js +0 -607
- package/packages/core/dist/workflow/workflow-router.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.js.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.test.d.ts +0 -45
- package/packages/core/dist/workflow/workflow-schema.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-schema.test.js +0 -512
- package/packages/core/dist/workflow/workflow-schema.test.js.map +0 -1
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts +0 -18
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js +0 -608
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js.map +0 -1
- package/pennyfarthing-dist/agents/README.md +0 -340
- package/pennyfarthing-dist/agents/architect.md +0 -193
- package/pennyfarthing-dist/agents/dev.md +0 -254
- package/pennyfarthing-dist/agents/devops.md +0 -206
- package/pennyfarthing-dist/agents/handoff.md +0 -289
- package/pennyfarthing-dist/agents/orchestrator.md +0 -355
- package/pennyfarthing-dist/agents/pm.md +0 -169
- package/pennyfarthing-dist/agents/reviewer-preflight.md +0 -96
- package/pennyfarthing-dist/agents/reviewer.md +0 -382
- package/pennyfarthing-dist/agents/sm-file-summary.md +0 -58
- package/pennyfarthing-dist/agents/sm-finish.md +0 -61
- package/pennyfarthing-dist/agents/sm-handoff.md +0 -145
- package/pennyfarthing-dist/agents/sm-setup.md +0 -174
- package/pennyfarthing-dist/agents/sm.md +0 -632
- package/pennyfarthing-dist/agents/tea.md +0 -213
- package/pennyfarthing-dist/agents/tech-writer.md +0 -216
- package/pennyfarthing-dist/agents/testing-runner.md +0 -141
- package/pennyfarthing-dist/agents/ux-designer.md +0 -231
- package/pennyfarthing-dist/agents/workflow-status-check.md +0 -68
- package/pennyfarthing-dist/commands/architect.md +0 -62
- package/pennyfarthing-dist/commands/benchmark-control.md +0 -69
- package/pennyfarthing-dist/commands/benchmark.md +0 -467
- package/pennyfarthing-dist/commands/brainstorming.md +0 -91
- package/pennyfarthing-dist/commands/check.md +0 -156
- package/pennyfarthing-dist/commands/chore.md +0 -178
- package/pennyfarthing-dist/commands/close-epic.md +0 -139
- package/pennyfarthing-dist/commands/continue-session.md +0 -184
- package/pennyfarthing-dist/commands/create-branches-from-story.md +0 -358
- package/pennyfarthing-dist/commands/create-theme.md +0 -29
- package/pennyfarthing-dist/commands/dev.md +0 -60
- package/pennyfarthing-dist/commands/devops.md +0 -59
- package/pennyfarthing-dist/commands/git-cleanup.md +0 -340
- package/pennyfarthing-dist/commands/health-check.md +0 -108
- package/pennyfarthing-dist/commands/help.md +0 -264
- package/pennyfarthing-dist/commands/job-fair.md +0 -102
- package/pennyfarthing-dist/commands/list-themes.md +0 -21
- package/pennyfarthing-dist/commands/orchestrator.md +0 -56
- package/pennyfarthing-dist/commands/parallel-work.md +0 -71
- package/pennyfarthing-dist/commands/party-mode.md +0 -67
- package/pennyfarthing-dist/commands/permissions.md +0 -193
- package/pennyfarthing-dist/commands/pm.md +0 -60
- package/pennyfarthing-dist/commands/prime.md +0 -140
- package/pennyfarthing-dist/commands/release.md +0 -58
- package/pennyfarthing-dist/commands/repo-status.md +0 -49
- package/pennyfarthing-dist/commands/retro.md +0 -200
- package/pennyfarthing-dist/commands/reviewer.md +0 -64
- package/pennyfarthing-dist/commands/run-ci.md +0 -116
- package/pennyfarthing-dist/commands/set-theme.md +0 -56
- package/pennyfarthing-dist/commands/show-theme.md +0 -21
- package/pennyfarthing-dist/commands/sm.md +0 -70
- package/pennyfarthing-dist/commands/solo.md +0 -411
- package/pennyfarthing-dist/commands/sprint-planning.md +0 -109
- package/pennyfarthing-dist/commands/start-epic.md +0 -168
- package/pennyfarthing-dist/commands/sync-epic-to-jira.md +0 -184
- package/pennyfarthing-dist/commands/sync-work-with-sprint.md +0 -373
- package/pennyfarthing-dist/commands/tea.md +0 -63
- package/pennyfarthing-dist/commands/tech-writer.md +0 -53
- package/pennyfarthing-dist/commands/theme-maker.md +0 -671
- package/pennyfarthing-dist/commands/update-domain-docs.md +0 -83
- package/pennyfarthing-dist/commands/ux-designer.md +0 -62
- package/pennyfarthing-dist/commands/work.md +0 -122
- package/pennyfarthing-dist/commands/workflow.md +0 -21
- package/pennyfarthing-dist/guides/AGENT-COORDINATION.md +0 -480
- package/pennyfarthing-dist/guides/HOOKS.md +0 -230
- package/pennyfarthing-dist/guides/PROMPT-PATTERNS.md +0 -338
- package/pennyfarthing-dist/guides/SESSION-ARTIFACTS.md +0 -193
- package/pennyfarthing-dist/guides/agent-behavior.md +0 -238
- package/pennyfarthing-dist/guides/agent-template-strategic.md +0 -148
- package/pennyfarthing-dist/guides/agent-template-tactical.md +0 -162
- package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +0 -746
- package/pennyfarthing-dist/guides/patterns/fan-out-fan-in-pattern.md +0 -574
- package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +0 -488
- package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +0 -402
- package/pennyfarthing-dist/guides/permission-protocol.md +0 -188
- package/pennyfarthing-dist/guides/persona-loading.md +0 -46
- package/pennyfarthing-dist/guides/workflow-schema.md +0 -257
- package/pennyfarthing-dist/guides/worktree-mode.md +0 -113
- package/pennyfarthing-dist/output-styles/teaching.md +0 -33
- package/pennyfarthing-dist/output-styles/terse.md +0 -20
- package/pennyfarthing-dist/output-styles/verbose.md +0 -28
- package/pennyfarthing-dist/personas/themes/1984.yaml +0 -312
- package/pennyfarthing-dist/personas/themes/a-team.yaml +0 -207
- package/pennyfarthing-dist/personas/themes/agatha-christie.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/all-stars.yaml +0 -332
- package/pennyfarthing-dist/personas/themes/ancient-philosophers.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/ancient-strategists.yaml +0 -306
- package/pennyfarthing-dist/personas/themes/arcane.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/arthurian-mythos.yaml +0 -331
- package/pennyfarthing-dist/personas/themes/avatar-the-last-airbender.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/babylon-5.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/better-call-saul.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/big-lebowski.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/black-sails.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/blade-runner.yaml +0 -295
- package/pennyfarthing-dist/personas/themes/bobiverse.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/breaking-bad.yaml +0 -327
- package/pennyfarthing-dist/personas/themes/catch-22.yaml +0 -316
- package/pennyfarthing-dist/personas/themes/classical-composers.yaml +0 -310
- package/pennyfarthing-dist/personas/themes/control.yaml +0 -197
- package/pennyfarthing-dist/personas/themes/count-of-monte-cristo.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +0 -323
- package/pennyfarthing-dist/personas/themes/deadwood.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/dickens.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/discworld.yaml +0 -332
- package/pennyfarthing-dist/personas/themes/doctor-who.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/don-quixote.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/dune.yaml +0 -307
- package/pennyfarthing-dist/personas/themes/enlightenment-thinkers.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/expeditionary-force.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/fargo.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/film-auteurs.yaml +0 -312
- package/pennyfarthing-dist/personas/themes/firefly.yaml +0 -328
- package/pennyfarthing-dist/personas/themes/foundation.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/futurama.yaml +0 -321
- package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/gilligans-island.yaml +0 -243
- package/pennyfarthing-dist/personas/themes/gothic-literature.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/great-gatsby.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/greek-mythology.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/hannibal.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/harry-potter.yaml +0 -324
- package/pennyfarthing-dist/personas/themes/his-dark-materials.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/historical-figures.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +0 -331
- package/pennyfarthing-dist/personas/themes/house-md.yaml +0 -321
- package/pennyfarthing-dist/personas/themes/imperial-radch.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/inspector-morse.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/jane-austen.yaml +0 -287
- package/pennyfarthing-dist/personas/themes/jazz-legends.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/justified.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/legion-of-doom.yaml +0 -219
- package/pennyfarthing-dist/personas/themes/les-miserables.yaml +0 -299
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +0 -334
- package/pennyfarthing-dist/personas/themes/lovecraft-mythos.yaml +0 -334
- package/pennyfarthing-dist/personas/themes/mad-max.yaml +0 -355
- package/pennyfarthing-dist/personas/themes/mad-men.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/marvel-mcu.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/mash.yaml +0 -337
- package/pennyfarthing-dist/personas/themes/mass-effect.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/military-commanders.yaml +0 -306
- package/pennyfarthing-dist/personas/themes/moby-dick.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/monty-python.yaml +0 -303
- package/pennyfarthing-dist/personas/themes/neuromancer.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/norse-mythology.yaml +0 -329
- package/pennyfarthing-dist/personas/themes/parks-and-rec.yaml +0 -242
- package/pennyfarthing-dist/personas/themes/peaky-blinders.yaml +0 -298
- package/pennyfarthing-dist/personas/themes/princess-bride.yaml +0 -220
- package/pennyfarthing-dist/personas/themes/renaissance-masters.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/rome.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/russian-masters.yaml +0 -318
- package/pennyfarthing-dist/personas/themes/sandman.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/scientific-revolutionaries.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/shakespeare.yaml +0 -301
- package/pennyfarthing-dist/personas/themes/sherlock-holmes.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/snow-crash.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/software-pioneers.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +0 -230
- package/pennyfarthing-dist/personas/themes/star-trek-tos.yaml +0 -210
- package/pennyfarthing-dist/personas/themes/star-wars.yaml +0 -303
- package/pennyfarthing-dist/personas/themes/succession.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/superfriends.yaml +0 -208
- package/pennyfarthing-dist/personas/themes/ted-lasso.yaml +0 -236
- package/pennyfarthing-dist/personas/themes/the-americans.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-crown.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-expanse.yaml +0 -213
- package/pennyfarthing-dist/personas/themes/the-good-place.yaml +0 -322
- package/pennyfarthing-dist/personas/themes/the-matrix.yaml +0 -353
- package/pennyfarthing-dist/personas/themes/the-odyssey.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-office.yaml +0 -330
- package/pennyfarthing-dist/personas/themes/the-simpsons.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/the-sopranos.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/the-wire.yaml +0 -311
- package/pennyfarthing-dist/personas/themes/the-witcher.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/twin-peaks.yaml +0 -302
- package/pennyfarthing-dist/personas/themes/vorkosigan-saga.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/watchmen.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/west-wing.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/world-explorers.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/wwii-leaders.yaml +0 -307
- package/pennyfarthing-dist/personas/themes/x-files.yaml +0 -302
- package/pennyfarthing-dist/scripts/README.md +0 -68
- package/pennyfarthing-dist/scripts/core/README.md +0 -26
- package/pennyfarthing-dist/scripts/core/agent-session.sh +0 -378
- package/pennyfarthing-dist/scripts/core/check-context.sh +0 -243
- package/pennyfarthing-dist/scripts/core/handoff-marker.sh +0 -90
- package/pennyfarthing-dist/scripts/core/prime.sh +0 -136
- package/pennyfarthing-dist/scripts/core/run.sh +0 -75
- package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +0 -21
- package/pennyfarthing-dist/scripts/git/README.md +0 -25
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +0 -226
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +0 -127
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +0 -91
- package/pennyfarthing-dist/scripts/git/release.sh +0 -198
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +0 -494
- package/pennyfarthing-dist/scripts/hooks/README.md +0 -32
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +0 -60
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +0 -65
- package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +0 -35
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +0 -166
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +0 -50
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +0 -71
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +0 -54
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +0 -97
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +0 -58
- package/pennyfarthing-dist/scripts/jira/README.md +0 -33
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +0 -101
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +0 -97
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.mjs +0 -327
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.test.mjs +0 -503
- package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +0 -164
- package/pennyfarthing-dist/scripts/jira/jira-lib.mjs +0 -443
- package/pennyfarthing-dist/scripts/jira/jira-lib.sh +0 -464
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +0 -266
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.mjs +0 -208
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +0 -8
- package/pennyfarthing-dist/scripts/jira/jira-sync.mjs +0 -198
- package/pennyfarthing-dist/scripts/jira/jira-sync.sh +0 -8
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +0 -104
- package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +0 -16
- package/pennyfarthing-dist/scripts/lib/README.md +0 -29
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -177
- package/pennyfarthing-dist/scripts/lib/checkpoint.sh +0 -136
- package/pennyfarthing-dist/scripts/lib/common.sh +0 -157
- package/pennyfarthing-dist/scripts/lib/file-lock.sh +0 -269
- package/pennyfarthing-dist/scripts/lib/find-root.sh +0 -35
- package/pennyfarthing-dist/scripts/lib/logging.sh +0 -186
- package/pennyfarthing-dist/scripts/lib/retry.sh +0 -76
- package/pennyfarthing-dist/scripts/misc/README.md +0 -44
- package/pennyfarthing-dist/scripts/misc/add-short-names.mjs +0 -264
- package/pennyfarthing-dist/scripts/misc/backlog.sh +0 -91
- package/pennyfarthing-dist/scripts/misc/check-status.sh +0 -247
- package/pennyfarthing-dist/scripts/misc/deploy.sh +0 -284
- package/pennyfarthing-dist/scripts/misc/doctor-dogfood.sh +0 -392
- package/pennyfarthing-dist/scripts/misc/find-related-work.sh +0 -231
- package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +0 -110
- package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +0 -74
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.mjs +0 -474
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +0 -9
- package/pennyfarthing-dist/scripts/misc/repo-scan.sh +0 -141
- package/pennyfarthing-dist/scripts/misc/repo-utils.sh +0 -778
- package/pennyfarthing-dist/scripts/misc/run-ci.sh +0 -219
- package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +0 -7
- package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +0 -319
- package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +0 -193
- package/pennyfarthing-dist/scripts/misc/statusline.sh +0 -259
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +0 -270
- package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +0 -160
- package/pennyfarthing-dist/scripts/sprint/README.md +0 -29
- package/pennyfarthing-dist/scripts/sprint/archive-story.sh +0 -135
- package/pennyfarthing-dist/scripts/sprint/available-stories.sh +0 -97
- package/pennyfarthing-dist/scripts/sprint/check-story.sh +0 -164
- package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +0 -58
- package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +0 -69
- package/pennyfarthing-dist/scripts/sprint/list-future.sh +0 -151
- package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +0 -116
- package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +0 -164
- package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +0 -421
- package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +0 -39
- package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +0 -241
- package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +0 -134
- package/pennyfarthing-dist/scripts/story/README.md +0 -23
- package/pennyfarthing-dist/scripts/story/create-story.sh +0 -159
- package/pennyfarthing-dist/scripts/story/size-story.sh +0 -198
- package/pennyfarthing-dist/scripts/story/story-template.sh +0 -162
- package/pennyfarthing-dist/scripts/test/README.md +0 -23
- package/pennyfarthing-dist/scripts/test/ground-truth-judge.py +0 -289
- package/pennyfarthing-dist/scripts/test/swebench-judge.py +0 -400
- package/pennyfarthing-dist/scripts/test/test-cache.sh +0 -165
- package/pennyfarthing-dist/scripts/test/test-setup.sh +0 -337
- package/pennyfarthing-dist/scripts/tests/check.test.sh +0 -582
- package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +0 -515
- package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +0 -599
- package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +0 -332
- package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +0 -573
- package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +0 -859
- package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +0 -662
- package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +0 -589
- package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +0 -105
- package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +0 -597
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +0 -514
- package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +0 -517
- package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +0 -331
- package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +0 -647
- package/pennyfarthing-dist/scripts/theme/README.md +0 -22
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +0 -203
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +0 -73
- package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +0 -97
- package/pennyfarthing-dist/scripts/workflow/README.md +0 -28
- package/pennyfarthing-dist/scripts/workflow/check.sh +0 -497
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +0 -159
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +0 -228
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +0 -91
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +0 -163
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +0 -138
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +0 -256
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +0 -167
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +0 -242
- package/pennyfarthing-dist/skills/changelog/SKILL.md +0 -367
- package/pennyfarthing-dist/skills/code-review/SKILL.md +0 -168
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +0 -274
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +0 -88
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +0 -437
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +0 -258
- package/pennyfarthing-dist/skills/jira/SKILL.md +0 -484
- package/pennyfarthing-dist/skills/judge/SKILL.md +0 -579
- package/pennyfarthing-dist/skills/just/SKILL.md +0 -403
- package/pennyfarthing-dist/skills/mermaid/SKILL.md +0 -240
- package/pennyfarthing-dist/skills/otel/skill.md +0 -223
- package/pennyfarthing-dist/skills/permissions/skill.md +0 -172
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +0 -178
- package/pennyfarthing-dist/skills/skill-registry.schema.json +0 -107
- package/pennyfarthing-dist/skills/skill-registry.yaml +0 -357
- package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +0 -101
- package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +0 -97
- package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +0 -164
- package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +0 -101
- package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +0 -116
- package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +0 -164
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +0 -39
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +0 -147
- package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +0 -104
- package/pennyfarthing-dist/skills/sprint/skill.md +0 -465
- package/pennyfarthing-dist/skills/story/scripts/create-story.sh +0 -159
- package/pennyfarthing-dist/skills/story/scripts/size-story.sh +0 -198
- package/pennyfarthing-dist/skills/story/scripts/story-template.sh +0 -162
- package/pennyfarthing-dist/skills/story/skill.md +0 -219
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +0 -390
- package/pennyfarthing-dist/skills/testing/SKILL.md +0 -99
- package/pennyfarthing-dist/skills/testing/references/troubleshooting.md +0 -124
- package/pennyfarthing-dist/skills/theme/skill.md +0 -129
- package/pennyfarthing-dist/skills/theme-creation/SKILL.md +0 -169
- package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +0 -91
- package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +0 -163
- package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +0 -138
- package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +0 -273
- package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +0 -167
- package/pennyfarthing-dist/skills/workflow/skill.md +0 -337
- package/pennyfarthing-dist/skills/yq/SKILL.md +0 -264
- package/pennyfarthing-dist/templates/LEADERBOARD.schema.yaml +0 -187
- package/pennyfarthing-dist/templates/LEADERBOARD.template.md +0 -59
- package/pennyfarthing-dist/templates/agent-scopes.yaml.template +0 -276
- package/pennyfarthing-dist/templates/pennyfarthing-settings.yaml.template +0 -61
- package/pennyfarthing-dist/templates/persona-config.yaml.template +0 -22
- package/pennyfarthing-dist/templates/preferences.yaml.template +0 -15
- package/pennyfarthing-dist/templates/settings.local.json.template +0 -90
- package/pennyfarthing-dist/templates/setup-env.sh.template +0 -18
- package/pennyfarthing-dist/templates/shared-context.md.template +0 -70
- package/pennyfarthing-dist/templates/sidecar/decisions.md.template +0 -40
- package/pennyfarthing-dist/templates/sidecar/gotchas.md.template +0 -37
- package/pennyfarthing-dist/templates/sidecar/patterns.md.template +0 -34
- package/pennyfarthing-dist/workflows/agent-docs.yaml +0 -70
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +0 -101
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +0 -93
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +0 -115
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +0 -133
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +0 -138
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +0 -133
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +0 -142
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +0 -160
- package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +0 -102
- package/pennyfarthing-dist/workflows/architecture.yaml +0 -65
- package/pennyfarthing-dist/workflows/bdd.yaml +0 -60
- package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +0 -62
- package/pennyfarthing-dist/workflows/brainstorming/checklist.md +0 -44
- package/pennyfarthing-dist/workflows/brainstorming/instructions.md +0 -736
- package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +0 -49
- package/pennyfarthing-dist/workflows/code-review/checklist.md +0 -23
- package/pennyfarthing-dist/workflows/code-review/instructions.md +0 -234
- package/pennyfarthing-dist/workflows/code-review/workflow.yaml +0 -51
- package/pennyfarthing-dist/workflows/dev-story/checklist.md +0 -80
- package/pennyfarthing-dist/workflows/dev-story/instructions.xml +0 -410
- package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +0 -50
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +0 -256
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +0 -233
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +0 -272
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +0 -145
- package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +0 -57
- package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +0 -190
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +0 -178
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +0 -139
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +0 -133
- package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +0 -4
- package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +0 -40
- package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +0 -13
- package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +0 -197
- package/pennyfarthing-dist/workflows/prd/data/project-types.csv +0 -11
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +0 -191
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +0 -153
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +0 -224
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +0 -226
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +0 -213
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +0 -207
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +0 -226
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +0 -237
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +0 -228
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +0 -231
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +0 -242
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +0 -217
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +0 -180
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +0 -247
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +0 -249
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +0 -253
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +0 -168
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +0 -218
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +0 -191
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +0 -209
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +0 -174
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +0 -228
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +0 -217
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +0 -263
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +0 -209
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +0 -242
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +0 -232
- package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +0 -10
- package/pennyfarthing-dist/workflows/prd/workflow.yaml +0 -42
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +0 -177
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +0 -161
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +0 -199
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +0 -202
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +0 -205
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +0 -219
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +0 -194
- package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +0 -10
- package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +0 -31
- package/pennyfarthing-dist/workflows/project-context/project-context-template.md +0 -21
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +0 -184
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +0 -318
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +0 -278
- package/pennyfarthing-dist/workflows/project-context/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +0 -156
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +0 -120
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +0 -113
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +0 -113
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +0 -106
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +0 -140
- package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +0 -189
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +0 -144
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +0 -128
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +0 -191
- package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +0 -74
- package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +0 -137
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +0 -229
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +0 -238
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +0 -206
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +0 -234
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +0 -443
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +0 -182
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +0 -237
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +0 -200
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +0 -249
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +0 -259
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +0 -177
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +0 -475
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +0 -137
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +0 -239
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +0 -248
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +0 -202
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +0 -239
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +0 -486
- package/pennyfarthing-dist/workflows/research/templates/research.template.md +0 -29
- package/pennyfarthing-dist/workflows/research/workflow.yaml +0 -45
- package/pennyfarthing-dist/workflows/retrospective/checklist.md +0 -31
- package/pennyfarthing-dist/workflows/retrospective/instructions.md +0 -1443
- package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +0 -50
- package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +0 -33
- package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +0 -55
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +0 -54
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +0 -44
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +0 -64
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +0 -73
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +0 -56
- package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +0 -34
- package/pennyfarthing-dist/workflows/tdd.yaml +0 -50
- package/pennyfarthing-dist/workflows/trivial.yaml +0 -40
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +0 -135
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +0 -127
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +0 -190
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +0 -216
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +0 -219
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +0 -234
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +0 -252
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +0 -254
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +0 -224
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +0 -224
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +0 -241
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +0 -248
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +0 -237
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +0 -264
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +0 -228
- package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +0 -13
- package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +0 -41
- /package/{packages/core/bin → bin}/pennyfarthing.js +0 -0
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Story 11-3: Cyclist Migration Tests
|
|
3
|
-
*
|
|
4
|
-
* These tests verify the Cyclist Electron GUI is correctly migrated
|
|
5
|
-
* into the pnpm workspace as @pennyfarthing/cyclist.
|
|
6
|
-
* Tests are designed to FAIL until the migration is complete.
|
|
7
|
-
*
|
|
8
|
-
* Acceptance Criteria:
|
|
9
|
-
* 1. packages/cyclist/ contains Cyclist source
|
|
10
|
-
* 2. Dependencies use workspace:* for internal packages
|
|
11
|
-
* 3. Portrait resolution uses @pennyfarthing/shared
|
|
12
|
-
* 4. Electron app starts and shows portraits
|
|
13
|
-
* 5. Dogfooding scenario works (portraits load from pennyfarthing-dist/)
|
|
14
|
-
*/
|
|
15
|
-
import { describe, it } from 'node:test';
|
|
16
|
-
import assert from 'node:assert';
|
|
17
|
-
import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
|
18
|
-
import { join } from 'node:path';
|
|
19
|
-
import { findMonorepoRoot } from './utils/files.js';
|
|
20
|
-
const __dirname = import.meta.dirname;
|
|
21
|
-
const PROJECT_ROOT = findMonorepoRoot(__dirname);
|
|
22
|
-
describe('Story 11-3: Cyclist Migration into Monorepo', () => {
|
|
23
|
-
describe('AC1: packages/cyclist/ contains Cyclist source', () => {
|
|
24
|
-
it('should have packages/cyclist directory', () => {
|
|
25
|
-
const cyclistDir = join(PROJECT_ROOT, 'packages', 'cyclist');
|
|
26
|
-
assert.ok(existsSync(cyclistDir), 'packages/cyclist/ directory must exist');
|
|
27
|
-
});
|
|
28
|
-
it('should have packages/cyclist/src directory', () => {
|
|
29
|
-
const srcDir = join(PROJECT_ROOT, 'packages', 'cyclist', 'src');
|
|
30
|
-
assert.ok(existsSync(srcDir), 'packages/cyclist/src/ directory must exist');
|
|
31
|
-
});
|
|
32
|
-
it('should have packages/cyclist/src/main.ts (Electron main process)', () => {
|
|
33
|
-
const mainTs = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'main.ts');
|
|
34
|
-
assert.ok(existsSync(mainTs), 'packages/cyclist/src/main.ts must exist');
|
|
35
|
-
});
|
|
36
|
-
it('should have packages/cyclist/src/paths.ts (path resolution)', () => {
|
|
37
|
-
const pathsTs = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'paths.ts');
|
|
38
|
-
assert.ok(existsSync(pathsTs), 'packages/cyclist/src/paths.ts must exist');
|
|
39
|
-
});
|
|
40
|
-
it('should have packages/cyclist/src/public directory', () => {
|
|
41
|
-
const publicDir = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'public');
|
|
42
|
-
assert.ok(existsSync(publicDir), 'packages/cyclist/src/public/ directory must exist');
|
|
43
|
-
});
|
|
44
|
-
it('should have packages/cyclist/package.json', () => {
|
|
45
|
-
const packageJson = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
46
|
-
assert.ok(existsSync(packageJson), 'packages/cyclist/package.json must exist');
|
|
47
|
-
});
|
|
48
|
-
it('should have @pennyfarthing/cyclist as package name', () => {
|
|
49
|
-
const packageJsonPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
50
|
-
if (!existsSync(packageJsonPath)) {
|
|
51
|
-
assert.fail('packages/cyclist/package.json must exist first');
|
|
52
|
-
}
|
|
53
|
-
const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
|
54
|
-
assert.strictEqual(pkg.name, '@pennyfarthing/cyclist', 'Package name must be @pennyfarthing/cyclist');
|
|
55
|
-
});
|
|
56
|
-
it('should have packages/cyclist/tsconfig.json', () => {
|
|
57
|
-
const tsconfig = join(PROJECT_ROOT, 'packages', 'cyclist', 'tsconfig.json');
|
|
58
|
-
assert.ok(existsSync(tsconfig), 'packages/cyclist/tsconfig.json must exist');
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
describe('AC2: Dependencies use workspace:* for internal packages', () => {
|
|
62
|
-
it('should have @pennyfarthing/shared as workspace dependency', () => {
|
|
63
|
-
const packageJsonPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
64
|
-
if (!existsSync(packageJsonPath)) {
|
|
65
|
-
assert.fail('packages/cyclist/package.json must exist first');
|
|
66
|
-
}
|
|
67
|
-
const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
|
68
|
-
const deps = pkg.dependencies || {};
|
|
69
|
-
assert.ok(deps['@pennyfarthing/shared'], 'packages/cyclist should depend on @pennyfarthing/shared');
|
|
70
|
-
assert.ok(deps['@pennyfarthing/shared'].includes('workspace'), '@pennyfarthing/shared dependency should use workspace protocol (workspace:*)');
|
|
71
|
-
});
|
|
72
|
-
it('should NOT have pennyfarthing GitHub dependency', () => {
|
|
73
|
-
const packageJsonPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
74
|
-
if (!existsSync(packageJsonPath)) {
|
|
75
|
-
assert.fail('packages/cyclist/package.json must exist first');
|
|
76
|
-
}
|
|
77
|
-
const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
|
78
|
-
const deps = pkg.dependencies || {};
|
|
79
|
-
assert.ok(!deps['pennyfarthing'] || !deps['pennyfarthing'].includes('github'), 'packages/cyclist should NOT have GitHub pennyfarthing dependency (use workspace instead)');
|
|
80
|
-
});
|
|
81
|
-
it('should be listed in pnpm-workspace.yaml packages', () => {
|
|
82
|
-
const workspaceYamlPath = join(PROJECT_ROOT, 'pnpm-workspace.yaml');
|
|
83
|
-
const content = readFileSync(workspaceYamlPath, 'utf-8');
|
|
84
|
-
// packages/* pattern should include packages/cyclist
|
|
85
|
-
assert.ok(content.includes('packages/*') || content.includes('packages/cyclist'), 'pnpm-workspace.yaml should include packages/cyclist (via packages/* pattern)');
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
describe('AC3: Portrait resolution uses @pennyfarthing/shared', () => {
|
|
89
|
-
it('should import from @pennyfarthing/shared in paths.ts', () => {
|
|
90
|
-
const pathsPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'paths.ts');
|
|
91
|
-
if (!existsSync(pathsPath)) {
|
|
92
|
-
assert.fail('packages/cyclist/src/paths.ts must exist first');
|
|
93
|
-
}
|
|
94
|
-
const content = readFileSync(pathsPath, 'utf-8');
|
|
95
|
-
assert.ok(content.includes('@pennyfarthing/shared'), 'paths.ts should import from @pennyfarthing/shared');
|
|
96
|
-
});
|
|
97
|
-
it('should use resolvePennyfarthingDist from shared package', () => {
|
|
98
|
-
const pathsPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'paths.ts');
|
|
99
|
-
if (!existsSync(pathsPath)) {
|
|
100
|
-
assert.fail('packages/cyclist/src/paths.ts must exist first');
|
|
101
|
-
}
|
|
102
|
-
const content = readFileSync(pathsPath, 'utf-8');
|
|
103
|
-
assert.ok(content.includes('resolvePennyfarthingDist'), 'paths.ts should use resolvePennyfarthingDist from @pennyfarthing/shared');
|
|
104
|
-
});
|
|
105
|
-
it('should use getPortraitPaths from shared package', () => {
|
|
106
|
-
const pathsPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'paths.ts');
|
|
107
|
-
if (!existsSync(pathsPath)) {
|
|
108
|
-
assert.fail('packages/cyclist/src/paths.ts must exist first');
|
|
109
|
-
}
|
|
110
|
-
const content = readFileSync(pathsPath, 'utf-8');
|
|
111
|
-
assert.ok(content.includes('getPortraitPaths'), 'paths.ts should use getPortraitPaths from @pennyfarthing/shared');
|
|
112
|
-
});
|
|
113
|
-
it('should NOT have hardcoded pennyfarthing path in getPortraitsDir', () => {
|
|
114
|
-
const pathsPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'paths.ts');
|
|
115
|
-
if (!existsSync(pathsPath)) {
|
|
116
|
-
assert.fail('packages/cyclist/src/paths.ts must exist first');
|
|
117
|
-
}
|
|
118
|
-
const content = readFileSync(pathsPath, 'utf-8');
|
|
119
|
-
// Should not contain the old hardcoded path logic (join calls, not comments)
|
|
120
|
-
// Old pattern was: join(..., 'pennyfarthing', 'pennyfarthing-dist')
|
|
121
|
-
const hasOldPattern = content.includes("join(__dirname, 'pennyfarthing', 'pennyfarthing-dist')") ||
|
|
122
|
-
content.includes('join(__dirname, "pennyfarthing", "pennyfarthing-dist")');
|
|
123
|
-
assert.ok(!hasOldPattern, 'paths.ts should NOT have hardcoded pennyfarthing path - use shared resolver instead');
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
describe('AC4: Electron app starts and shows portraits', () => {
|
|
127
|
-
// Note: Full build verification requires pnpm install which needs workspace resolution
|
|
128
|
-
// These tests verify the package configuration is correct for building
|
|
129
|
-
it('should have Electron dependency', () => {
|
|
130
|
-
const packageJsonPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
131
|
-
if (!existsSync(packageJsonPath)) {
|
|
132
|
-
assert.fail('packages/cyclist/package.json must exist first');
|
|
133
|
-
}
|
|
134
|
-
const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
|
135
|
-
const devDeps = pkg.devDependencies || {};
|
|
136
|
-
assert.ok(devDeps['electron'], 'packages/cyclist should have electron as devDependency');
|
|
137
|
-
});
|
|
138
|
-
it('should have build script in package.json', () => {
|
|
139
|
-
const packageJsonPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
140
|
-
if (!existsSync(packageJsonPath)) {
|
|
141
|
-
assert.fail('packages/cyclist/package.json must exist first');
|
|
142
|
-
}
|
|
143
|
-
const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
|
144
|
-
assert.ok(pkg.scripts?.build, 'packages/cyclist should have a build script');
|
|
145
|
-
});
|
|
146
|
-
it('should have main entry point configured', () => {
|
|
147
|
-
const packageJsonPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'package.json');
|
|
148
|
-
if (!existsSync(packageJsonPath)) {
|
|
149
|
-
assert.fail('packages/cyclist/package.json must exist first');
|
|
150
|
-
}
|
|
151
|
-
const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
|
152
|
-
assert.ok(pkg.main, 'packages/cyclist should have a main entry point');
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
describe('AC5: Dogfooding scenario works', () => {
|
|
156
|
-
it('should resolve portraits from pennyfarthing-dist in monorepo', () => {
|
|
157
|
-
// This test validates that portrait resolution works in the monorepo context
|
|
158
|
-
const pennyfarthingDist = join(PROJECT_ROOT, 'pennyfarthing-dist');
|
|
159
|
-
assert.ok(existsSync(pennyfarthingDist), 'pennyfarthing-dist/ should exist at monorepo root for dogfooding');
|
|
160
|
-
});
|
|
161
|
-
it('should have portraits directory in pennyfarthing-dist', () => {
|
|
162
|
-
const portraitsDir = join(PROJECT_ROOT, 'pennyfarthing-dist', 'personas', 'portraits');
|
|
163
|
-
assert.ok(existsSync(portraitsDir), 'pennyfarthing-dist/personas/portraits/ should exist');
|
|
164
|
-
});
|
|
165
|
-
it('should have at least one theme with portraits', () => {
|
|
166
|
-
const portraitsDir = join(PROJECT_ROOT, 'pennyfarthing-dist', 'personas', 'portraits');
|
|
167
|
-
if (!existsSync(portraitsDir)) {
|
|
168
|
-
assert.fail('portraits directory must exist first');
|
|
169
|
-
}
|
|
170
|
-
const themes = readdirSync(portraitsDir);
|
|
171
|
-
assert.ok(themes.length > 0, 'Should have at least one theme directory in portraits');
|
|
172
|
-
});
|
|
173
|
-
it('should have paths.ts configured to use shared resolver', () => {
|
|
174
|
-
// Verify paths.ts source code uses the shared resolver
|
|
175
|
-
// Runtime verification requires pnpm install + build
|
|
176
|
-
const pathsPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'paths.ts');
|
|
177
|
-
if (!existsSync(pathsPath)) {
|
|
178
|
-
assert.fail('packages/cyclist/src/paths.ts must exist');
|
|
179
|
-
}
|
|
180
|
-
const content = readFileSync(pathsPath, 'utf-8');
|
|
181
|
-
assert.ok(content.includes('resolvePennyfarthingDist') && content.includes('getPortraitPaths'), 'paths.ts should use resolvePennyfarthingDist and getPortraitPaths from shared');
|
|
182
|
-
});
|
|
183
|
-
});
|
|
184
|
-
describe('Build Integration', () => {
|
|
185
|
-
// Note: Full TypeScript compilation requires pnpm install to resolve workspace dependencies
|
|
186
|
-
// These tests verify the build configuration is correct
|
|
187
|
-
it('should have valid tsconfig.json extending base', () => {
|
|
188
|
-
const tsconfigPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'tsconfig.json');
|
|
189
|
-
if (!existsSync(tsconfigPath)) {
|
|
190
|
-
assert.fail('packages/cyclist/tsconfig.json must exist');
|
|
191
|
-
}
|
|
192
|
-
const content = readFileSync(tsconfigPath, 'utf-8');
|
|
193
|
-
const tsconfig = JSON.parse(content);
|
|
194
|
-
assert.ok(tsconfig.extends?.includes('tsconfig.base.json'), 'tsconfig.json should extend ../../tsconfig.base.json');
|
|
195
|
-
});
|
|
196
|
-
it('should have outDir configured for dist', () => {
|
|
197
|
-
const tsconfigPath = join(PROJECT_ROOT, 'packages', 'cyclist', 'tsconfig.json');
|
|
198
|
-
if (!existsSync(tsconfigPath)) {
|
|
199
|
-
assert.fail('packages/cyclist/tsconfig.json must exist');
|
|
200
|
-
}
|
|
201
|
-
const content = readFileSync(tsconfigPath, 'utf-8');
|
|
202
|
-
const tsconfig = JSON.parse(content);
|
|
203
|
-
assert.strictEqual(tsconfig.compilerOptions?.outDir, 'dist', 'tsconfig.json should output to dist directory');
|
|
204
|
-
});
|
|
205
|
-
});
|
|
206
|
-
describe('Source File Completeness', () => {
|
|
207
|
-
it('should have pennyfarthing.ts (persona/theme loading)', () => {
|
|
208
|
-
const pennyfarthingTs = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'pennyfarthing.ts');
|
|
209
|
-
assert.ok(existsSync(pennyfarthingTs), 'packages/cyclist/src/pennyfarthing.ts must exist');
|
|
210
|
-
});
|
|
211
|
-
it('should have server.ts (Express server)', () => {
|
|
212
|
-
const serverTs = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'server.ts');
|
|
213
|
-
assert.ok(existsSync(serverTs), 'packages/cyclist/src/server.ts must exist');
|
|
214
|
-
});
|
|
215
|
-
it('should have api/ directory', () => {
|
|
216
|
-
const apiDir = join(PROJECT_ROOT, 'packages', 'cyclist', 'src', 'api');
|
|
217
|
-
assert.ok(existsSync(apiDir), 'packages/cyclist/src/api/ directory must exist');
|
|
218
|
-
});
|
|
219
|
-
it('should have tests/ directory', () => {
|
|
220
|
-
const testsDir = join(PROJECT_ROOT, 'packages', 'cyclist', 'tests');
|
|
221
|
-
assert.ok(existsSync(testsDir), 'packages/cyclist/tests/ directory must exist');
|
|
222
|
-
});
|
|
223
|
-
});
|
|
224
|
-
});
|
|
225
|
-
//# sourceMappingURL=cyclist-migration.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cyclist-migration.test.js","sourceRoot":"","sources":["../../src/cli/cyclist-migration.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;AACtC,MAAM,YAAY,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAEjD,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IAE3D,QAAQ,CAAC,gDAAgD,EAAE,GAAG,EAAE;QAC9D,EAAE,CAAC,wCAAwC,EAAE,GAAG,EAAE;YAChD,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;YAC7D,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,wCAAwC,CAAC,CAAC;QAC9E,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,4CAA4C,EAAE,GAAG,EAAE;YACpD,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;YAChE,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,4CAA4C,CAAC,CAAC;QAC9E,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,kEAAkE,EAAE,GAAG,EAAE;YAC1E,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,EAAE,UA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AAE,WAAW,CAAC,CAAC;YAC/E,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,2CAA2C,CAAC,CAAC;QAC/E,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;YACpC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;YACvE,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gDAAgD,CAAC,CAAC;QAClF,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YACtC,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;YACpE,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,8CAA8C,CAAC,CAAC;QAClF,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { Command } from 'commander';
|
|
3
|
-
import { readFileSync } from 'fs';
|
|
4
|
-
import { fileURLToPath } from 'url';
|
|
5
|
-
import { dirname, join } from 'path';
|
|
6
|
-
import { initCommand } from './commands/init.js';
|
|
7
|
-
import { updateCommand } from './commands/update.js';
|
|
8
|
-
import { doctorCommand } from './commands/doctor.js';
|
|
9
|
-
import { uninstallCommand } from './commands/uninstall.js';
|
|
10
|
-
import { versionCommand } from './commands/version.js';
|
|
11
|
-
import { listCommand as themeListCommand, setCommand as themeSetCommand, showCommand as themeShowCommand, createCommand as themeCreateCommand } from './commands/theme.js';
|
|
12
|
-
import { listCommand as cmdListCommand, addCommand as cmdAddCommand, removeCommand as cmdRemoveCommand, linkCommand as cmdLinkCommand, syncCommand as cmdSyncCommand } from './commands/command.js';
|
|
13
|
-
import { listSkill as skillListCommand, addSkill as skillAddCommand, removeSkill as skillRemoveCommand, linkSkill as skillLinkCommand, syncSkill as skillSyncCommand } from './commands/skill.js';
|
|
14
|
-
import { cyclistCommand } from './commands/cyclist.js';
|
|
15
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
16
|
-
const __dirname = dirname(__filename);
|
|
17
|
-
// Read version from VERSION file
|
|
18
|
-
const versionFile = join(__dirname, '../../VERSION');
|
|
19
|
-
let version = '2.0.0';
|
|
20
|
-
try {
|
|
21
|
-
version = readFileSync(versionFile, 'utf8').trim();
|
|
22
|
-
}
|
|
23
|
-
catch {
|
|
24
|
-
// Fallback to package.json version
|
|
25
|
-
try {
|
|
26
|
-
const pkg = JSON.parse(readFileSync(join(__dirname, '../../package.json'), 'utf8'));
|
|
27
|
-
version = pkg.version;
|
|
28
|
-
}
|
|
29
|
-
catch {
|
|
30
|
-
// Use default
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
const program = new Command();
|
|
34
|
-
program
|
|
35
|
-
.name('pennyfarthing')
|
|
36
|
-
.description('Claude Code agent framework with TDD workflow and persona system')
|
|
37
|
-
.version(version);
|
|
38
|
-
program
|
|
39
|
-
.command('init')
|
|
40
|
-
.description('Initialize Pennyfarthing in a project')
|
|
41
|
-
.argument('[project-name]', 'Name of the project')
|
|
42
|
-
.option('-f, --force', 'Skip prompts, overwrite existing files')
|
|
43
|
-
.option('--skip-templates', 'Skip generating template files')
|
|
44
|
-
.option('--dry-run', 'Show what would be done without doing it')
|
|
45
|
-
.action(initCommand);
|
|
46
|
-
program
|
|
47
|
-
.command('update')
|
|
48
|
-
.description('Update Pennyfarthing to the latest version')
|
|
49
|
-
.option('-f, --force', 'Overwrite locally modified files')
|
|
50
|
-
.option('-b, --backup', 'Backup modified files before replacing')
|
|
51
|
-
.option('-c, --check', 'Just check if update is available')
|
|
52
|
-
.option('--dry-run', 'Show what would be updated')
|
|
53
|
-
.action(updateCommand);
|
|
54
|
-
program
|
|
55
|
-
.command('doctor')
|
|
56
|
-
.description('Check installation health and diagnose issues')
|
|
57
|
-
.option('--fix', 'Auto-apply recommended fixes')
|
|
58
|
-
.option('--json', 'Output in JSON format')
|
|
59
|
-
.option('-q, --quiet', 'Only show errors')
|
|
60
|
-
.option('--dogfood', 'Run dogfooding checks (for pennyfarthing repo development)')
|
|
61
|
-
.action(doctorCommand);
|
|
62
|
-
program
|
|
63
|
-
.command('uninstall')
|
|
64
|
-
.description('Remove Pennyfarthing from the project')
|
|
65
|
-
.option('-f, --force', 'Skip confirmation prompts')
|
|
66
|
-
.option('-a, --all', 'Also remove project-specific files (.claude/project, .session)')
|
|
67
|
-
.option('--dry-run', 'Show what would be removed without removing')
|
|
68
|
-
.action(uninstallCommand);
|
|
69
|
-
program
|
|
70
|
-
.command('version')
|
|
71
|
-
.description('Show version information')
|
|
72
|
-
.action(versionCommand);
|
|
73
|
-
program
|
|
74
|
-
.command('cyclist')
|
|
75
|
-
.description('Launch Cyclist with Pennyfarthing context')
|
|
76
|
-
.option('-p, --port <port>', 'Server port', '3000')
|
|
77
|
-
.option('--no-open', "Don't open browser automatically")
|
|
78
|
-
.option('--cyclist-path <path>', 'Path to cyclist installation')
|
|
79
|
-
.action(async (options) => {
|
|
80
|
-
await cyclistCommand({
|
|
81
|
-
port: options.port ? parseInt(options.port, 10) : undefined,
|
|
82
|
-
noOpen: options.open === false,
|
|
83
|
-
cyclistPath: options.cyclistPath,
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
// Theme management commands
|
|
87
|
-
const themeCmd = program
|
|
88
|
-
.command('theme')
|
|
89
|
-
.description('Manage persona themes');
|
|
90
|
-
themeCmd
|
|
91
|
-
.command('list')
|
|
92
|
-
.description('List available themes')
|
|
93
|
-
.action(themeListCommand);
|
|
94
|
-
themeCmd
|
|
95
|
-
.command('set')
|
|
96
|
-
.description('Set the active theme')
|
|
97
|
-
.argument('<name>', 'Theme name to activate')
|
|
98
|
-
.action(themeSetCommand);
|
|
99
|
-
themeCmd
|
|
100
|
-
.command('show')
|
|
101
|
-
.description('Show details of a theme')
|
|
102
|
-
.argument('[name]', 'Theme name (defaults to current theme)')
|
|
103
|
-
.action(themeShowCommand);
|
|
104
|
-
themeCmd
|
|
105
|
-
.command('create')
|
|
106
|
-
.description('Create a new custom theme')
|
|
107
|
-
.argument('<name>', 'Name for the new theme (lowercase, hyphens allowed)')
|
|
108
|
-
.option('-b, --base <theme>', 'Base theme to copy from', 'minimalist')
|
|
109
|
-
.option('-u, --user', 'Create as user-level theme (available across projects)')
|
|
110
|
-
.action(themeCreateCommand);
|
|
111
|
-
// Command management commands
|
|
112
|
-
const cmdCmd = program
|
|
113
|
-
.command('command')
|
|
114
|
-
.description('Manage custom slash commands');
|
|
115
|
-
cmdCmd
|
|
116
|
-
.command('list')
|
|
117
|
-
.description('List all available commands')
|
|
118
|
-
.action(cmdListCommand);
|
|
119
|
-
cmdCmd
|
|
120
|
-
.command('add')
|
|
121
|
-
.description('Create a new custom command')
|
|
122
|
-
.argument('<name>', 'Command name (lowercase, hyphens allowed)')
|
|
123
|
-
.option('-t, --template <type>', 'Template type: default, agent, task', 'default')
|
|
124
|
-
.option('-e, --edit', 'Open in editor after creation')
|
|
125
|
-
.action(cmdAddCommand);
|
|
126
|
-
cmdCmd
|
|
127
|
-
.command('remove')
|
|
128
|
-
.description('Remove a custom command')
|
|
129
|
-
.argument('<name>', 'Command name to remove')
|
|
130
|
-
.option('-f, --force', 'Skip confirmation prompts')
|
|
131
|
-
.action(cmdRemoveCommand);
|
|
132
|
-
cmdCmd
|
|
133
|
-
.command('link')
|
|
134
|
-
.description('Link an existing command file from project/commands/')
|
|
135
|
-
.argument('<name>', 'Command name to link')
|
|
136
|
-
.action(cmdLinkCommand);
|
|
137
|
-
cmdCmd
|
|
138
|
-
.command('sync')
|
|
139
|
-
.description('Sync all user commands from project/commands/')
|
|
140
|
-
.option('--dry-run', 'Show what would be done without doing it')
|
|
141
|
-
.action(cmdSyncCommand);
|
|
142
|
-
// Skill management commands
|
|
143
|
-
const skillCmd = program
|
|
144
|
-
.command('skill')
|
|
145
|
-
.description('Manage custom skills');
|
|
146
|
-
skillCmd
|
|
147
|
-
.command('list')
|
|
148
|
-
.description('List all available skills')
|
|
149
|
-
.action(skillListCommand);
|
|
150
|
-
skillCmd
|
|
151
|
-
.command('add')
|
|
152
|
-
.description('Create a new custom skill')
|
|
153
|
-
.argument('<name>', 'Skill name (lowercase, hyphens allowed)')
|
|
154
|
-
.option('-t, --template <type>', 'Template type: default, knowledge, workflow', 'default')
|
|
155
|
-
.option('-e, --edit', 'Open in editor after creation')
|
|
156
|
-
.action(skillAddCommand);
|
|
157
|
-
skillCmd
|
|
158
|
-
.command('remove')
|
|
159
|
-
.description('Remove a custom skill')
|
|
160
|
-
.argument('<name>', 'Skill name to remove')
|
|
161
|
-
.option('-f, --force', 'Skip confirmation prompts')
|
|
162
|
-
.action(skillRemoveCommand);
|
|
163
|
-
skillCmd
|
|
164
|
-
.command('link')
|
|
165
|
-
.description('Link an existing skill file from project/skills/')
|
|
166
|
-
.argument('<name>', 'Skill name to link')
|
|
167
|
-
.action(skillLinkCommand);
|
|
168
|
-
skillCmd
|
|
169
|
-
.command('sync')
|
|
170
|
-
.description('Sync all user skills from project/skills/')
|
|
171
|
-
.option('--dry-run', 'Show what would be done without doing it')
|
|
172
|
-
.action(skillSyncCommand);
|
|
173
|
-
program.parse();
|
|
174
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,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ACL,OAAO,CAAC,MAAM,CAAC;KACf,WAAW,CAAC,2CAA2C,CAAC;KACxD,MAAM,CAAC,WAAW,EAAE,0CAA0C,CAAC;KAC/D,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAE5B,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for Story 11-2: Add OCEAN Profiles to 10 Anchor Themes
|
|
3
|
-
*
|
|
4
|
-
* These tests verify:
|
|
5
|
-
* - 10 anchor theme YAMLs have ocean blocks
|
|
6
|
-
* - All 10 agents in each theme have OCEAN scores
|
|
7
|
-
* - Each OCEAN score uses the 1-5 integer scale
|
|
8
|
-
* - 100 character profiles defined (10 themes × 10 agents)
|
|
9
|
-
*
|
|
10
|
-
* Run with: npm test
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=ocean-profiles.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ocean-profiles.test.d.ts","sourceRoot":"","sources":["../../src/cli/ocean-profiles.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for Story 11-2: Add OCEAN Profiles to 10 Anchor Themes
|
|
3
|
-
*
|
|
4
|
-
* These tests verify:
|
|
5
|
-
* - 10 anchor theme YAMLs have ocean blocks
|
|
6
|
-
* - All 10 agents in each theme have OCEAN scores
|
|
7
|
-
* - Each OCEAN score uses the 1-5 integer scale
|
|
8
|
-
* - 100 character profiles defined (10 themes × 10 agents)
|
|
9
|
-
*
|
|
10
|
-
* Run with: npm test
|
|
11
|
-
*/
|
|
12
|
-
import { describe, it } from 'node:test';
|
|
13
|
-
import assert from 'node:assert';
|
|
14
|
-
import { existsSync, readFileSync } from 'fs';
|
|
15
|
-
import { join, dirname } from 'path';
|
|
16
|
-
import { fileURLToPath } from 'url';
|
|
17
|
-
import { parse as parseYaml } from 'yaml';
|
|
18
|
-
import { findMonorepoRoot } from './utils/files.js';
|
|
19
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
20
|
-
const __dirname = dirname(__filename);
|
|
21
|
-
// Find monorepo root by walking up from current directory
|
|
22
|
-
const projectRoot = findMonorepoRoot(__dirname);
|
|
23
|
-
const themesDir = join(projectRoot, 'pennyfarthing-dist', 'personas', 'themes');
|
|
24
|
-
// 10 anchor themes for Phase 1
|
|
25
|
-
const ANCHOR_THEMES = [
|
|
26
|
-
'deadwood',
|
|
27
|
-
'firefly',
|
|
28
|
-
'breaking-bad',
|
|
29
|
-
'the-good-place',
|
|
30
|
-
'star-trek-tng',
|
|
31
|
-
'discworld',
|
|
32
|
-
'fargo',
|
|
33
|
-
'succession',
|
|
34
|
-
'mass-effect',
|
|
35
|
-
'software-pioneers',
|
|
36
|
-
];
|
|
37
|
-
// 10 agent roles
|
|
38
|
-
const AGENT_ROLES = [
|
|
39
|
-
'orchestrator',
|
|
40
|
-
'sm',
|
|
41
|
-
'tea',
|
|
42
|
-
'dev',
|
|
43
|
-
'reviewer',
|
|
44
|
-
'architect',
|
|
45
|
-
'pm',
|
|
46
|
-
'tech-writer',
|
|
47
|
-
'ux-designer',
|
|
48
|
-
'devops',
|
|
49
|
-
];
|
|
50
|
-
// OCEAN dimensions
|
|
51
|
-
const OCEAN_KEYS = ['O', 'C', 'E', 'A', 'N'];
|
|
52
|
-
// Helper to load and parse theme YAML
|
|
53
|
-
function loadTheme(themeName) {
|
|
54
|
-
const filePath = join(themesDir, `${themeName}.yaml`);
|
|
55
|
-
if (!existsSync(filePath)) {
|
|
56
|
-
throw new Error(`Theme file not found: ${filePath}`);
|
|
57
|
-
}
|
|
58
|
-
const content = readFileSync(filePath, 'utf-8');
|
|
59
|
-
return parseYaml(content);
|
|
60
|
-
}
|
|
61
|
-
describe('OCEAN Profiles - Anchor Themes', () => {
|
|
62
|
-
it('should have all 10 anchor theme files', () => {
|
|
63
|
-
for (const theme of ANCHOR_THEMES) {
|
|
64
|
-
const filePath = join(themesDir, `${theme}.yaml`);
|
|
65
|
-
assert.ok(existsSync(filePath), `Missing anchor theme: ${theme}.yaml`);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
describe('OCEAN Profiles - Structure Validation', () => {
|
|
70
|
-
for (const themeName of ANCHOR_THEMES) {
|
|
71
|
-
describe(`Theme: ${themeName}`, () => {
|
|
72
|
-
it('should have agents section', () => {
|
|
73
|
-
const theme = loadTheme(themeName);
|
|
74
|
-
assert.ok('agents' in theme && typeof theme.agents === 'object', `${themeName} should have agents section`);
|
|
75
|
-
});
|
|
76
|
-
it('should have all 10 agent roles', () => {
|
|
77
|
-
const theme = loadTheme(themeName);
|
|
78
|
-
const agents = theme.agents;
|
|
79
|
-
for (const role of AGENT_ROLES) {
|
|
80
|
-
assert.ok(role in agents, `${themeName} missing agent role: ${role}`);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
for (const role of AGENT_ROLES) {
|
|
84
|
-
it(`agent ${role} should have ocean block`, () => {
|
|
85
|
-
const theme = loadTheme(themeName);
|
|
86
|
-
const agents = theme.agents;
|
|
87
|
-
const agent = agents[role];
|
|
88
|
-
assert.ok(agent && 'ocean' in agent, `${themeName}/${role} missing ocean block`);
|
|
89
|
-
});
|
|
90
|
-
it(`agent ${role} ocean block should have all 5 OCEAN keys`, () => {
|
|
91
|
-
const theme = loadTheme(themeName);
|
|
92
|
-
const agents = theme.agents;
|
|
93
|
-
const agent = agents[role];
|
|
94
|
-
const ocean = agent?.ocean;
|
|
95
|
-
assert.ok(ocean, `${themeName}/${role} missing ocean block`);
|
|
96
|
-
for (const key of OCEAN_KEYS) {
|
|
97
|
-
assert.ok(key in ocean, `${themeName}/${role}/ocean missing key: ${key}`);
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
it(`agent ${role} OCEAN values should be integers 1-5`, () => {
|
|
101
|
-
const theme = loadTheme(themeName);
|
|
102
|
-
const agents = theme.agents;
|
|
103
|
-
const agent = agents[role];
|
|
104
|
-
const ocean = agent?.ocean;
|
|
105
|
-
assert.ok(ocean, `${themeName}/${role} missing ocean block`);
|
|
106
|
-
for (const key of OCEAN_KEYS) {
|
|
107
|
-
const value = ocean[key];
|
|
108
|
-
assert.ok(typeof value === 'number' &&
|
|
109
|
-
Number.isInteger(value) &&
|
|
110
|
-
value >= 1 &&
|
|
111
|
-
value <= 5, `${themeName}/${role}/ocean/${key} should be integer 1-5, got: ${value}`);
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
describe('OCEAN Profiles - Completeness', () => {
|
|
119
|
-
it('should have exactly 100 character profiles (10 themes × 10 agents)', () => {
|
|
120
|
-
let profileCount = 0;
|
|
121
|
-
for (const themeName of ANCHOR_THEMES) {
|
|
122
|
-
const theme = loadTheme(themeName);
|
|
123
|
-
const agents = theme.agents;
|
|
124
|
-
for (const role of AGENT_ROLES) {
|
|
125
|
-
const agent = agents[role];
|
|
126
|
-
if (agent && 'ocean' in agent) {
|
|
127
|
-
profileCount++;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
assert.strictEqual(profileCount, 100, `Expected 100 character profiles, found ${profileCount}`);
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
//# sourceMappingURL=ocean-profiles.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ocean-profiles.test.js","sourceRoot":"","sources":["../../src/cli/ocean-profiles.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI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-
* Story 6-1: Command skeleton - basic structure and validation
|
|
5
|
-
* Story 6-2: AI-Driven mode - universe input, agent generation, preview
|
|
6
|
-
* Story 6-3: Guided mode - character options per agent, user picks
|
|
7
|
-
*
|
|
8
|
-
* Run with: npm test
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=theme-maker.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme-maker.test.d.ts","sourceRoot":"","sources":["../../src/cli/theme-maker.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|