@pennyfarthing/core 9.0.0 → 9.1.2
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/README.md +16 -7
- package/package.json +1 -1
- package/packages/core/dist/cli/commands/doctor.d.ts +5 -2
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/doctor.js +327 -17
- package/packages/core/dist/cli/commands/doctor.js.map +1 -1
- package/packages/core/dist/cli/commands/init.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/init.js +3 -246
- package/packages/core/dist/cli/commands/init.js.map +1 -1
- package/packages/core/dist/cli/commands/update.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/update.js +4 -140
- package/packages/core/dist/cli/commands/update.js.map +1 -1
- package/packages/core/dist/cli/utils/constants.d.ts +7 -1
- package/packages/core/dist/cli/utils/constants.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/constants.js +2 -0
- package/packages/core/dist/cli/utils/constants.js.map +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts +22 -0
- package/packages/core/dist/cli/utils/settings.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/settings.js +300 -0
- package/packages/core/dist/cli/utils/settings.js.map +1 -0
- package/pennyfarthing-dist/commands/chore.md +18 -17
- package/pennyfarthing-dist/commands/continue-session.md +41 -7
- package/pennyfarthing-dist/commands/fix-blocker.md +22 -0
- package/pennyfarthing-dist/commands/git-cleanup.md +25 -19
- package/pennyfarthing-dist/commands/patch.md +210 -0
- package/pennyfarthing-dist/commands/setup.md +65 -0
- package/pennyfarthing-dist/guides/session-schema.md +346 -0
- package/pennyfarthing-dist/guides/skill-schema.md +412 -0
- package/pennyfarthing-dist/guides/workflow-step-schema.md +512 -0
- package/pennyfarthing-dist/guides/xml-tags.md +292 -0
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +43 -8
- package/pennyfarthing-dist/scripts/hooks/schema-validation.sh +30 -0
- package/pennyfarthing-dist/scripts/hooks/sprint-yaml-validation.sh +78 -0
- package/pennyfarthing-dist/scripts/lib/find-root.sh +32 -7
- package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +13 -2
- package/pennyfarthing-dist/scripts/sprint/validate-sprint-yaml.sh +139 -0
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +4 -0
- package/pennyfarthing-dist/skills/changelog/SKILL.md +18 -0
- package/pennyfarthing-dist/skills/code-review/SKILL.md +5 -1
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +3 -0
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +2 -2
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +24 -0
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +3 -0
- package/pennyfarthing-dist/skills/judge/SKILL.md +8 -0
- package/pennyfarthing-dist/skills/just/SKILL.md +11 -0
- package/pennyfarthing-dist/skills/mermaid/SKILL.md +16 -0
- package/pennyfarthing-dist/skills/otel/skill.md +4 -0
- package/pennyfarthing-dist/skills/permissions/skill.md +3 -0
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +9 -0
- package/pennyfarthing-dist/skills/story/skill.md +16 -16
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +56 -0
- package/pennyfarthing-dist/skills/testing/SKILL.md +22 -0
- package/pennyfarthing-dist/skills/theme/skill.md +12 -0
- package/pennyfarthing-dist/skills/theme-creation/SKILL.md +4 -0
- package/pennyfarthing-dist/skills/workflow/skill.md +22 -14
- package/pennyfarthing-dist/skills/yq/SKILL.md +8 -0
- package/pennyfarthing-dist/templates/settings.local.json.template +9 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +12 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +12 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +25 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +23 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +26 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +24 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-05-import-to-future.md +23 -0
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-01-analyze.md +43 -41
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-02-categorize.md +50 -19
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-03-execute.md +102 -111
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-04-verify.md +48 -39
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-05-complete.md +30 -31
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +21 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +21 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +23 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +23 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +28 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +25 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-01-connect.md +257 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-02-explore.md +107 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-03-fix.md +127 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-04-commit.md +122 -0
- package/pennyfarthing-dist/workflows/interactive-debug/workflow.yaml +51 -0
- package/pennyfarthing-dist/workflows/patch.yaml +2 -3
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +6 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +6 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +18 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +19 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +22 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +22 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +23 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +24 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +22 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +22 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +31 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +28 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-01-discover.md +157 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-02-clone-repos.md +217 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-03-repos-yaml.md +159 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-04-claude-md.md +186 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-05-shared-context.md +185 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-06-task-runner.md +279 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-07-theme.md +200 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-08-cyclist.md +245 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-09-complete.md +203 -0
- package/pennyfarthing-dist/workflows/project-setup/workflow.yaml +41 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +21 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +23 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +25 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +22 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +23 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +23 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +12 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +12 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +12 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +12 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +22 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +24 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +25 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +26 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +26 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +34 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +23 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +25 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +27 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +26 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +27 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +26 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +35 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +22 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +25 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +26 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +26 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +29 -1
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +37 -1
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +15 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +17 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +16 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +17 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +22 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +6 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +6 -0
- package/pennyfarthing_scripts/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_bidirectional_sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_epic_creation.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_sync_story.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/patch_mode.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/schema_validation_hook.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/workflow.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/create_branches.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/status_all.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/compat.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/mappings.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__init__.py +39 -0
- package/pennyfarthing_scripts/migration/__main__.py +10 -0
- package/pennyfarthing_scripts/migration/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/skill.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/step.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/validate.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/cli.py +304 -0
- package/pennyfarthing_scripts/migration/session.py +384 -0
- package/pennyfarthing_scripts/migration/skill.py +188 -0
- package/pennyfarthing_scripts/migration/step.py +229 -0
- package/pennyfarthing_scripts/migration/validate.py +282 -0
- package/pennyfarthing_scripts/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/finish.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/persona.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/tiers.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/schema_validation_hook.py +306 -0
- package/pennyfarthing_scripts/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/archive_epic.py +399 -0
- package/pennyfarthing_scripts/sprint/cli.py +100 -0
- package/pennyfarthing_scripts/sprint/import_epic.py +431 -0
- package/pennyfarthing_scripts/story/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/size.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/template.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_brownfield.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_cli_modules.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_common.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_git_utils.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_jira_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_package_structure.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_patch_mode.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_prime.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_sprint_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_story_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_tiers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_token_counting.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_workflow_check.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_workflow_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/scripts/sprint/import-epic-to-future.sh +0 -10
- package/pennyfarthing-dist/scripts/sprint/import_epic_to_future.py +0 -270
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Step 4: Commit Changes
|
|
2
|
+
|
|
3
|
+
<step-meta>
|
|
4
|
+
number: 4
|
|
5
|
+
name: commit
|
|
6
|
+
gate: false
|
|
7
|
+
</step-meta>
|
|
8
|
+
|
|
9
|
+
<purpose>
|
|
10
|
+
Roll up all fixes into a single chore commit using the `/chore` skill.
|
|
11
|
+
</purpose>
|
|
12
|
+
|
|
13
|
+
<instructions>
|
|
14
|
+
1. REVIEW all changes before committing
|
|
15
|
+
2. Present summary of all changes (issues fixed, files changed)
|
|
16
|
+
3. Show git status output to verify no unintended changes
|
|
17
|
+
4. Ask user to confirm ready to commit
|
|
18
|
+
5. USE `/chore` skill to execute the commit
|
|
19
|
+
6. VERIFY no unintended changes are staged
|
|
20
|
+
7. Confirm commit succeeded with hash and message
|
|
21
|
+
8. Offer options to push, debug more, or exit
|
|
22
|
+
</instructions>
|
|
23
|
+
|
|
24
|
+
<output>
|
|
25
|
+
Provide:
|
|
26
|
+
- Summary: Issues fixed count, files changed count
|
|
27
|
+
- Changes table: File path and what was changed
|
|
28
|
+
- Git status before commit
|
|
29
|
+
- Commit hash
|
|
30
|
+
- Commit message used
|
|
31
|
+
- Post-commit status
|
|
32
|
+
- Next steps offered to user
|
|
33
|
+
</output>
|
|
34
|
+
|
|
35
|
+
## Purpose
|
|
36
|
+
|
|
37
|
+
Roll up all fixes into a single chore commit using the `/chore` skill.
|
|
38
|
+
|
|
39
|
+
## Mandatory Execution Rules
|
|
40
|
+
|
|
41
|
+
- REVIEW all changes before committing
|
|
42
|
+
- USE `/chore` skill for the commit
|
|
43
|
+
- VERIFY no unintended changes are staged
|
|
44
|
+
|
|
45
|
+
## Pre-Commit Review
|
|
46
|
+
|
|
47
|
+
Present summary of all changes:
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
## Debug Session Summary
|
|
51
|
+
|
|
52
|
+
**Issues Fixed:** [count]
|
|
53
|
+
**Files Changed:** [count]
|
|
54
|
+
|
|
55
|
+
### Changes
|
|
56
|
+
|
|
57
|
+
| File | Change |
|
|
58
|
+
|------|--------|
|
|
59
|
+
| `path/to/file.css` | Fixed overflow on main panel |
|
|
60
|
+
| `path/to/file.tsx` | Added missing click handler |
|
|
61
|
+
...
|
|
62
|
+
|
|
63
|
+
### Git Status
|
|
64
|
+
[show git status output]
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Ask user to confirm:
|
|
68
|
+
|
|
69
|
+
> Ready to commit these changes as a chore fix?
|
|
70
|
+
>
|
|
71
|
+
> - **[C] Commit** - Bundle into chore commit
|
|
72
|
+
> - **[R] Review** - Show me the diffs first
|
|
73
|
+
> - **[S] Split** - These should be separate commits
|
|
74
|
+
> - **[X] Cancel** - Don't commit yet
|
|
75
|
+
|
|
76
|
+
## Commit Execution
|
|
77
|
+
|
|
78
|
+
**Use the `/chore` skill to create the commit.**
|
|
79
|
+
|
|
80
|
+
The chore skill will:
|
|
81
|
+
1. Stage the relevant files
|
|
82
|
+
2. Create a commit with appropriate message format
|
|
83
|
+
3. Handle the Co-Authored-By trailer
|
|
84
|
+
|
|
85
|
+
Suggested commit message format:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
fix(ui): resolve visual bugs from debug session
|
|
89
|
+
|
|
90
|
+
- Fixed [issue 1 brief description]
|
|
91
|
+
- Fixed [issue 2 brief description]
|
|
92
|
+
...
|
|
93
|
+
|
|
94
|
+
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Post-Commit
|
|
98
|
+
|
|
99
|
+
After successful commit:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
## Debug Session Complete
|
|
103
|
+
|
|
104
|
+
**Commit:** [hash]
|
|
105
|
+
**Message:** [commit message]
|
|
106
|
+
**Files:** [count] files changed
|
|
107
|
+
|
|
108
|
+
The fixes have been committed. You can:
|
|
109
|
+
- Push to remote when ready
|
|
110
|
+
- Continue with another debug session
|
|
111
|
+
- Exit the workflow
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Collaboration Menu
|
|
115
|
+
|
|
116
|
+
- **[P] Push** - Push to remote branch
|
|
117
|
+
- **[D] Debug more** - Start another debug session (back to step 1)
|
|
118
|
+
- **[X] Exit** - End workflow
|
|
119
|
+
|
|
120
|
+
## Workflow Complete
|
|
121
|
+
|
|
122
|
+
This concludes the interactive-debug workflow.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Interactive Debug Workflow - BikeLane Stepped Workflow
|
|
2
|
+
#
|
|
3
|
+
# Connect to a running frontend (web server or Electron app), use Playwright MCP
|
|
4
|
+
# for browser automation, hunt bugs collaboratively with UX Designer, fix them,
|
|
5
|
+
# and roll up into a chore commit.
|
|
6
|
+
#
|
|
7
|
+
# Supports two connection modes:
|
|
8
|
+
# - Web Mode: Standard web servers (React, Vue, Next.js, Express, etc.)
|
|
9
|
+
# - Electron Mode: Desktop apps via Chrome DevTools Protocol (CDP)
|
|
10
|
+
#
|
|
11
|
+
# Prerequisites:
|
|
12
|
+
# - Playwright MCP configured in Claude settings
|
|
13
|
+
# - For web: A running dev server or command to start one
|
|
14
|
+
# - For Electron: App started with --remote-debugging-port=9222
|
|
15
|
+
#
|
|
16
|
+
# Purpose: Interactive visual debugging session that produces committed fixes
|
|
17
|
+
# Role: UX Designer leads visual inspection, Dev fixes issues
|
|
18
|
+
# Output: Chore commit with all bug fixes rolled up
|
|
19
|
+
|
|
20
|
+
workflow:
|
|
21
|
+
name: interactive-debug
|
|
22
|
+
description: |
|
|
23
|
+
Interactive debugging workflow that connects to your frontend via Playwright MCP.
|
|
24
|
+
Supports both web servers and Electron apps (via CDP). Collaboratively identifies
|
|
25
|
+
bugs with UX Designer, fixes them, and commits as a chore.
|
|
26
|
+
version: "1.0.0"
|
|
27
|
+
type: stepped
|
|
28
|
+
|
|
29
|
+
# Step configuration
|
|
30
|
+
steps:
|
|
31
|
+
path: ./steps/
|
|
32
|
+
pattern: step-*.md
|
|
33
|
+
|
|
34
|
+
# Variables available in step files
|
|
35
|
+
variables:
|
|
36
|
+
project_root: .
|
|
37
|
+
dev_command: npm run dev
|
|
38
|
+
dev_port: 3000
|
|
39
|
+
dev_url: http://localhost:3000
|
|
40
|
+
# Electron/CDP configuration (for Electron apps)
|
|
41
|
+
cdp_port: 9222
|
|
42
|
+
cdp_url: http://localhost:9222
|
|
43
|
+
app_name: app # Used in `just {app_name} cdp` suggestion
|
|
44
|
+
|
|
45
|
+
# Agent assignment - UX Designer leads visual debugging
|
|
46
|
+
agent: ux-designer
|
|
47
|
+
|
|
48
|
+
# Triggers - when to suggest this workflow
|
|
49
|
+
triggers:
|
|
50
|
+
types: [interactive-debug, debug-ui, visual-debug, bug-hunt]
|
|
51
|
+
tags: [debug, visual, playwright, ux, bug-fix]
|
|
@@ -18,9 +18,8 @@ workflow:
|
|
|
18
18
|
description: Interrupt-driven bug fix during active story work
|
|
19
19
|
version: "1.0.0"
|
|
20
20
|
|
|
21
|
-
# Patch mode is
|
|
22
|
-
|
|
23
|
-
type: interrupt
|
|
21
|
+
# Patch mode is a simple single-phase workflow for interrupts
|
|
22
|
+
type: phased
|
|
24
23
|
|
|
25
24
|
phases:
|
|
26
25
|
- name: fix
|
|
@@ -13,6 +13,12 @@ prdTemplate: '../templates/prd-template.md'
|
|
|
13
13
|
|
|
14
14
|
# Step 1: Workflow Initialization
|
|
15
15
|
|
|
16
|
+
<purpose>Initialize the PRD workflow by detecting continuation state, discovering input documents, and setting up the document structure for collaborative product requirement discovery.</purpose>
|
|
17
|
+
|
|
18
|
+
<instructions>Check for existing workflow state; if continuing, hand off to step-01b. Otherwise, discover input documents, create initial document from template, track loaded files in frontmatter, and present initialization report with confirmation menu.</instructions>
|
|
19
|
+
|
|
20
|
+
<output>Initialized PRD document with proper frontmatter structure (inputDocuments array, documentCounts, stepsCompleted), discovered input documents loaded and tracked, user confirmation to proceed to next step.</output>
|
|
21
|
+
|
|
16
22
|
**Progress: Step 1 of 11** - Next: Project Discovery
|
|
17
23
|
|
|
18
24
|
## STEP GOAL:
|
|
@@ -8,6 +8,12 @@ outputFile: '{planning_artifacts}/prd.md'
|
|
|
8
8
|
|
|
9
9
|
# Step 1B: Workflow Continuation
|
|
10
10
|
|
|
11
|
+
<purpose>Resume the PRD workflow from where it was left off, ensuring smooth continuation with full context restoration and accurate next-step determination.</purpose>
|
|
12
|
+
|
|
13
|
+
<instructions>Analyze current workflow state from frontmatter; restore all previously loaded context documents; determine the correct next step from the last completed step's frontmatter; present progress summary with continuation option.</instructions>
|
|
14
|
+
|
|
15
|
+
<output>Fully restored context with all previous input documents reloaded, accurate determination of next workflow step, user confirmation to proceed to the next step in the workflow.</output>
|
|
16
|
+
|
|
11
17
|
## STEP GOAL:
|
|
12
18
|
|
|
13
19
|
Resume the PRD workflow from where it was left off, ensuring smooth continuation with full context restoration.
|
|
@@ -17,6 +17,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
17
17
|
|
|
18
18
|
# Step 2: Project Discovery
|
|
19
19
|
|
|
20
|
+
<purpose>Discover and classify the project through collaborative dialogue to understand product type, domain, complexity, and project context (greenfield vs brownfield).</purpose>
|
|
21
|
+
|
|
22
|
+
<instructions>Check document state and loaded input documents; load classification data from CSV files; conduct discovery conversation to identify project type, domain, and complexity signals; confirm classification with user; optionally execute advanced elicitation or party mode workflows; save classification to frontmatter.</instructions>
|
|
23
|
+
|
|
24
|
+
<output>Confirmed project classification with projectType, domain, complexity level, and projectContext saved to document frontmatter; stepsCompleted updated with this step; ready to proceed to product vision step.</output>
|
|
25
|
+
|
|
20
26
|
**Progress: Step 2 of 13** - Next: Product Vision
|
|
21
27
|
|
|
22
28
|
## STEP GOAL:
|
|
@@ -13,6 +13,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
13
13
|
|
|
14
14
|
# Step 3: Success Criteria Definition
|
|
15
15
|
|
|
16
|
+
<purpose>Define comprehensive success criteria covering user, business, and technical success dimensions for the product.</purpose>
|
|
17
|
+
|
|
18
|
+
<instructions>Collaborate with user to identify specific, measurable success criteria; cover user satisfaction, business metrics, and technical quality; capture acceptance thresholds for each criterion; optionally use advanced elicitation or party mode for deeper insight; save criteria to document.</instructions>
|
|
19
|
+
|
|
20
|
+
<output>Comprehensive success criteria document with user success metrics, business success metrics, and technical success metrics, each with specific acceptance thresholds and measurability criteria.</output>
|
|
21
|
+
|
|
16
22
|
**Progress: Step 3 of 11** - Next: User Journey Mapping
|
|
17
23
|
|
|
18
24
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -13,6 +13,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
13
13
|
|
|
14
14
|
# Step 4: User Journey Mapping
|
|
15
15
|
|
|
16
|
+
<purpose>Map all user types that interact with the system with narrative story-based journeys that capture interactions, touchpoints, and emotional states.</purpose>
|
|
17
|
+
|
|
18
|
+
<instructions>Identify all user personas and archetypes; for each user type, collaboratively craft narrative journey stories; capture decision points, pain points, and desired outcomes; ensure journey completeness from initial interaction through goal completion; save journeys to document.</instructions>
|
|
19
|
+
|
|
20
|
+
<output>Comprehensive user journey narratives for all identified user types, each with clear story flow, decision points, pain points, and desired outcomes documented in the PRD.</output>
|
|
21
|
+
|
|
16
22
|
**Progress: Step 4 of 11** - Next: Domain Requirements
|
|
17
23
|
|
|
18
24
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -14,6 +14,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
14
14
|
|
|
15
15
|
# Step 5: Domain-Specific Requirements (Optional)
|
|
16
16
|
|
|
17
|
+
<purpose>Explore domain-specific constraints, compliance requirements, and technical considerations for complex domains that shape product requirements.</purpose>
|
|
18
|
+
|
|
19
|
+
<instructions>Check if domain is marked as high-complexity; if simple domain, skip this step; for complex domains, explore regulatory constraints, industry standards, and technical domain considerations through collaborative dialogue; document domain-specific requirements.</instructions>
|
|
20
|
+
|
|
21
|
+
<output>Domain-specific requirements documentation including applicable regulatory constraints, industry standards, technical domain considerations, and compliance requirements relevant to the project domain.</output>
|
|
22
|
+
|
|
17
23
|
**Progress: Step 5 of 13** - Next: Innovation Focus
|
|
18
24
|
|
|
19
25
|
## STEP GOAL:
|
|
@@ -16,6 +16,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
16
16
|
|
|
17
17
|
# Step 6: Innovation Discovery
|
|
18
18
|
|
|
19
|
+
<purpose>Detect and explore innovative aspects of the product including novel technology, unique approaches, or differentiated features.</purpose>
|
|
20
|
+
|
|
21
|
+
<instructions>Analyze product classification for innovation signals; conduct collaborative dialogue to identify innovative elements; explore novel aspects, technical differentiation, and competitive advantages; document innovation aspects in the PRD.</instructions>
|
|
22
|
+
|
|
23
|
+
<output>Innovation documentation capturing novel elements, unique technical approaches, competitive differentiation, and innovative features of the product.</output>
|
|
24
|
+
|
|
19
25
|
**Progress: Step 6 of 11** - Next: Project Type Analysis
|
|
20
26
|
|
|
21
27
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -16,6 +16,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
16
16
|
|
|
17
17
|
# Step 7: Project-Type Deep Dive
|
|
18
18
|
|
|
19
|
+
<purpose>Conduct project-type specific discovery using CSV-driven guidance to explore key considerations unique to the product type.</purpose>
|
|
20
|
+
|
|
21
|
+
<instructions>Load project-type guidance from CSV file matching the detected project type; use guidance framework to conduct type-specific discovery dialogue; explore type-specific features, architecture patterns, and considerations; document project-type insights.</instructions>
|
|
22
|
+
|
|
23
|
+
<output>Project-type specific discovery documentation capturing type-specific features, architectural considerations, and key discovery insights for the product type.</output>
|
|
24
|
+
|
|
19
25
|
**Progress: Step 7 of 11** - Next: Scoping
|
|
20
26
|
|
|
21
27
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -13,6 +13,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
13
13
|
|
|
14
14
|
# Step 8: Scoping Exercise - MVP & Future Features
|
|
15
15
|
|
|
16
|
+
<purpose>Define MVP boundaries and prioritize features across development phases to create a strategic delivery roadmap.</purpose>
|
|
17
|
+
|
|
18
|
+
<instructions>Collaborate with user to identify core MVP features and future feature sets; establish clear phase-based feature prioritization; capture dependencies and sequencing logic; document MVP scope and phased roadmap.</instructions>
|
|
19
|
+
|
|
20
|
+
<output>Documented MVP scope with prioritized core features, phased feature roadmap across development iterations, and feature dependency analysis.</output>
|
|
21
|
+
|
|
16
22
|
**Progress: Step 8 of 11** - Next: Functional Requirements
|
|
17
23
|
|
|
18
24
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -13,6 +13,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
13
13
|
|
|
14
14
|
# Step 9: Functional Requirements Synthesis
|
|
15
15
|
|
|
16
|
+
<purpose>Synthesize all discovery insights into comprehensive functional requirements that define feature specifications and user-facing capabilities.</purpose>
|
|
17
|
+
|
|
18
|
+
<instructions>Review all previous discovery documentation; synthesize insights into clear functional requirements; structure requirements with feature descriptions, acceptance criteria, and user story format; optionally use advanced elicitation; document comprehensive functional specification.</instructions>
|
|
19
|
+
|
|
20
|
+
<output>Comprehensive functional requirements document with feature specifications, acceptance criteria, user story mappings, and traceability to success criteria and user journeys.</output>
|
|
21
|
+
|
|
16
22
|
**Progress: Step 9 of 11** - Next: Non-Functional Requirements
|
|
17
23
|
|
|
18
24
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -13,6 +13,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
13
13
|
|
|
14
14
|
# Step 10: Non-Functional Requirements
|
|
15
15
|
|
|
16
|
+
<purpose>Define quality attributes including performance, security, scalability, reliability, and other non-functional requirements that matter for this product.</purpose>
|
|
17
|
+
|
|
18
|
+
<instructions>Collaborate with user to identify critical quality attributes; establish measurable targets for performance, security, scalability, reliability, and accessibility; determine quality thresholds and trade-off priorities; document comprehensive non-functional specification.</instructions>
|
|
19
|
+
|
|
20
|
+
<output>Comprehensive non-functional requirements documentation including performance targets, security requirements, scalability requirements, reliability targets, and quality attribute priorities.</output>
|
|
21
|
+
|
|
16
22
|
**Progress: Step 10 of 12** - Next: Polish Document
|
|
17
23
|
|
|
18
24
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -14,6 +14,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
14
14
|
|
|
15
15
|
# Step 11: Document Polish
|
|
16
16
|
|
|
17
|
+
<purpose>Optimize and polish the complete PRD document for flow, coherence, and readability while preserving all content and requirements.</purpose>
|
|
18
|
+
|
|
19
|
+
<instructions>Load the entire PRD document; review structure and organization; improve cross-section flow and coherence; enhance readability and clarity; verify all requirements are traceable; polish without removing or modifying core content; optionally gather feedback.</instructions>
|
|
20
|
+
|
|
21
|
+
<output>Polished PRD document with improved structure, enhanced flow and coherence, clearer writing, and verified completeness of all sections and requirements.</output>
|
|
22
|
+
|
|
17
23
|
**Progress: Step 11 of 12** - Next: Complete PRD
|
|
18
24
|
|
|
19
25
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -9,6 +9,12 @@ validationFlow: '../steps-v/step-v-01-discovery.md'
|
|
|
9
9
|
|
|
10
10
|
# Step 12: Workflow Completion
|
|
11
11
|
|
|
12
|
+
<purpose>Complete the PRD workflow, finalize document status, update completion metadata, and suggest next steps including validation and publication options.</purpose>
|
|
13
|
+
|
|
14
|
+
<instructions>Verify all sections of PRD are complete; update frontmatter with workflow completion status; finalize stepsCompleted array; generate completion summary; present options for validation workflow, stakeholder review, or publication; confirm user satisfaction with completed PRD.</instructions>
|
|
15
|
+
|
|
16
|
+
<output>Finalized PRD document with complete workflow metadata, completion confirmation, summary of deliverables, and options for next workflow steps.</output>
|
|
17
|
+
|
|
12
18
|
**Final Step - Complete the PRD**
|
|
13
19
|
|
|
14
20
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
@@ -11,6 +11,12 @@ partyModeWorkflow: '{project_root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
|
11
11
|
|
|
12
12
|
# Step E-1: Discovery & Understanding
|
|
13
13
|
|
|
14
|
+
<purpose>Understand what the user wants to edit in the PRD, detect PRD format/type, check for validation report guidance, and route to appropriate editing workflow.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Discover which PRD document user wants to edit; detect format and structure; identify specific sections or requirements to edit; check if validation report exists; route to format-specific editing (current format edit or legacy conversion); understand edit scope and objectives.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>Clear understanding of edit objectives, detected PRD format, identified sections to edit, and routing to appropriate editing workflow step.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Understand what the user wants to edit in the PRD, detect PRD format/type, check for validation report guidance, and route appropriately.
|
|
@@ -10,6 +10,12 @@ prdPurpose: '{project_root}/src/modules/bmm/workflows/2-plan-workflows/prd/data/
|
|
|
10
10
|
|
|
11
11
|
# Step E-1B: Legacy PRD Conversion Assessment
|
|
12
12
|
|
|
13
|
+
<purpose>Analyze legacy PRD against BMAD standards, identify gaps and improvement opportunities, propose conversion strategy, and let user choose conversion approach.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Load and analyze legacy PRD structure; compare against BMAD standard sections and formatting; identify missing sections, gaps, and improvement opportunities; propose conversion strategy options; present user with conversion choices (full conversion, incremental editing, hybrid approach).</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Comprehensive legacy PRD analysis with gap assessment, conversion strategy proposal, and user-selected approach for proceeding with edits.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Analyze legacy PRD against BMAD standards, identify gaps, propose conversion strategy, and let user choose how to proceed.
|
|
@@ -12,6 +12,12 @@ advancedElicitationTask: '{project_root}/_bmad/core/workflows/advanced-elicitati
|
|
|
12
12
|
|
|
13
13
|
# Step E-2: Deep Review & Analysis
|
|
14
14
|
|
|
15
|
+
<purpose>Thoroughly review the existing PRD, analyze validation report findings (if provided), and prepare a detailed change plan before editing.</purpose>
|
|
16
|
+
|
|
17
|
+
<instructions>Load and deeply analyze the PRD structure and content; if validation report exists, extract key findings and recommendations; identify sections requiring changes; conduct dialogue to understand user's edit priorities; prepare structured change plan with prioritized edits.</instructions>
|
|
18
|
+
|
|
19
|
+
<output>Detailed analysis of PRD strengths and gaps, prioritized change plan with specific sections and edit recommendations, validation findings summary (if applicable), and structured roadmap for editing steps.</output>
|
|
20
|
+
|
|
15
21
|
## STEP GOAL:
|
|
16
22
|
|
|
17
23
|
Thoroughly review the existing PRD, analyze validation report findings (if provided), and prepare a detailed change plan before editing.
|
|
@@ -10,6 +10,12 @@ prdPurpose: '{project_root}/src/modules/bmm/workflows/2-plan-workflows/prd/data/
|
|
|
10
10
|
|
|
11
11
|
# Step E-3: Edit & Update
|
|
12
12
|
|
|
13
|
+
<purpose>Apply changes to the PRD following the approved change plan, including content updates, structure improvements, and format conversion if needed.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Load PRD document and approved change plan; execute each prioritized edit with user input and approval; apply content updates, structural improvements, and format conversions; verify changes maintain PRD consistency; save updated PRD; prepare for next step.</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Updated PRD document with all approved changes applied, improved structure and content, consistent formatting, and ready for completion or further review.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Apply changes to the PRD following the approved change plan from step e-02, including content updates, structure improvements, and format conversion if needed.
|
|
@@ -9,6 +9,12 @@ validationWorkflow: './steps-v/step-v-01-discovery.md'
|
|
|
9
9
|
|
|
10
10
|
# Step E-4: Complete & Validate
|
|
11
11
|
|
|
12
|
+
<purpose>Present summary of completed edits and offer next steps including seamless integration with validation workflow or publication options.</purpose>
|
|
13
|
+
|
|
14
|
+
<instructions>Verify all approved edits have been applied; prepare comprehensive summary of changes made; present completion confirmation with user; offer options including full validation workflow, stakeholder review, or publication; route to next steps based on user choice.</instructions>
|
|
15
|
+
|
|
16
|
+
<output>Complete summary of edits applied, confirmation of PRD status, options for next workflow steps (validation, review, or publication), and routing to selected next step.</output>
|
|
17
|
+
|
|
12
18
|
## STEP GOAL:
|
|
13
19
|
|
|
14
20
|
Present summary of completed edits and offer next steps including seamless integration with validation workflow.
|
|
@@ -11,6 +11,12 @@ prdPurpose: '../data/prd-purpose.md'
|
|
|
11
11
|
|
|
12
12
|
# Step 1: Document Discovery & Confirmation
|
|
13
13
|
|
|
14
|
+
<purpose>Handle fresh context validation by confirming PRD path, discovering and loading input documents from frontmatter, and initializing the validation report.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Confirm PRD file path is valid; load complete PRD document and frontmatter; extract and reload input documents from inputDocuments array; create validation report with PRD metadata; confirm readiness to begin validation checks.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>Loaded PRD document with complete context, extracted and verified input documents, initialized validation report with PRD metadata, ready for format detection and validation checks.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Handle fresh context validation by confirming PRD path, discovering and loading input documents from frontmatter, and initializing the validation report.
|
|
@@ -11,6 +11,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
11
11
|
|
|
12
12
|
# Step 2: Format Detection & Structure Analysis
|
|
13
13
|
|
|
14
|
+
<purpose>Detect if PRD follows BMAD format and route appropriately - classify as BMAD Standard, BMAD Variant, or Non-Standard format.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Analyze PRD structure to detect format conformance; identify section presence and order; classify format type; for non-standard formats, offer optional parity check; update validation report with format classification; route to appropriate next validation step.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>PRD format classification (BMAD Standard/Variant/Non-Standard), structure analysis summary, validation report updated with format findings, ready for format-specific validation checks.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Detect if PRD follows BMAD format and route appropriately - classify as BMAD Standard / BMAD Variant / Non-Standard, with optional parity check for non-standard formats.
|
|
@@ -10,6 +10,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
10
10
|
|
|
11
11
|
# Step 2B: Document Parity Check
|
|
12
12
|
|
|
13
|
+
<purpose>Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presenting user with options for how to proceed.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Load and deeply analyze non-standard PRD structure; identify missing sections and gaps relative to BMAD standard; map existing content to BMAD sections; prepare parity analysis with specific recommendations; present user with conversion options (full conversion, selective upgrade, continue as-is).</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Detailed parity analysis documenting gaps between current format and BMAD standard, conversion recommendations with effort estimates, and user-selected approach for proceeding with validation.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presenting user with options for how to proceed.
|
|
@@ -10,6 +10,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
10
10
|
|
|
11
11
|
# Step 3: Information Density Validation
|
|
12
12
|
|
|
13
|
+
<purpose>Validate PRD meets BMAD information density standards by scanning for conversational filler, wordy phrases, and redundant expressions that violate conciseness principles.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Analyze PRD content for information density violations; scan for anti-patterns including conversational filler, wordiness, redundancy, and verbose phrasing; calculate density metrics; document violations with location and severity; update validation report with findings; optionally suggest improvements.</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Density validation report with identified violations, severity classification, specific locations, density metrics, and optional improvement suggestions.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Validate PRD meets BMAD information density standards by scanning for conversational filler, wordy phrases, and redundant expressions that violate conciseness principles.
|
|
@@ -11,6 +11,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
11
11
|
|
|
12
12
|
# Step 4: Product Brief Coverage Validation
|
|
13
13
|
|
|
14
|
+
<purpose>Validate that PRD covers all content from Product Brief (if brief was used as input), mapping brief content to PRD sections and identifying gaps.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Check if product brief exists in inputDocuments; if brief available, load it and analyze key content areas; map brief content to PRD sections; identify coverage gaps and unmapped content; calculate coverage percentage; update validation report with coverage findings.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>Coverage validation report with mapped brief content, identified coverage gaps, coverage percentage metric, and recommendations for addressing gaps.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Validate that PRD covers all content from Product Brief (if brief was used as input), mapping brief content to PRD sections and identifying gaps.
|
|
@@ -10,6 +10,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
10
10
|
|
|
11
11
|
# Step 5: Measurability Validation
|
|
12
12
|
|
|
13
|
+
<purpose>Validate that all Functional Requirements (FRs) and Non-Functional Requirements (NFRs) are measurable, testable, and follow proper format without implementation details.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Extract all FRs and NFRs from PRD; analyze each requirement for measurability indicators (numeric targets, acceptance criteria, pass/fail conditions); check for implementation leakage; identify non-measurable requirements; classify severity of measurability issues; update validation report.</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Measurability validation report with analysis of each requirement, identification of non-measurable requirements, severity classification, implementation leakage findings, and recommendations for improvement.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Validate that all Functional Requirements (FRs) and Non-Functional Requirements (NFRs) are measurable, testable, and follow proper format without implementation details.
|
|
@@ -10,6 +10,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
10
10
|
|
|
11
11
|
# Step 6: Traceability Validation
|
|
12
12
|
|
|
13
|
+
<purpose>Validate the traceability chain from Executive Summary → Success Criteria → User Journeys → Functional Requirements is intact, ensuring every requirement traces back to a user need or business objective.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Extract vision, success criteria, user journeys, and requirements from PRD; map traceability links from requirements back to journeys, success criteria, and vision; identify orphaned requirements without traceability; verify bidirectional traceability; calculate traceability completeness; update validation report.</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Traceability validation report with traceability chain visualization, identified gaps and orphaned requirements, bidirectional traceability verification, traceability coverage metrics.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Validate the traceability chain from Executive Summary → Success Criteria → User Journeys → Functional Requirements is intact, ensuring every requirement traces back to a user need or business objective.
|
package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md
CHANGED
|
@@ -10,6 +10,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
10
10
|
|
|
11
11
|
# Step 7: Implementation Leakage Validation
|
|
12
12
|
|
|
13
|
+
<purpose>Ensure Functional Requirements and Non-Functional Requirements don't include implementation details - they should specify WHAT, not HOW.</purpose>
|
|
14
|
+
|
|
15
|
+
<instructions>Extract all FRs and NFRs from PRD; scan each requirement for implementation keywords and patterns (specific technologies, frameworks, methodologies, HOW details); identify leakage violations; classify by severity; calculate leakage percentage; update validation report with findings and recommendations.</instructions>
|
|
16
|
+
|
|
17
|
+
<output>Implementation leakage validation report with identified violations, severity classification, specific examples of leakage, leakage metrics, and recommendations for abstraction improvements.</output>
|
|
18
|
+
|
|
13
19
|
## STEP GOAL:
|
|
14
20
|
|
|
15
21
|
Ensure Functional Requirements and Non-Functional Requirements don't include implementation details - they should specify WHAT, not HOW.
|
|
@@ -12,6 +12,12 @@ domainComplexityData: '../data/domain-complexity.csv'
|
|
|
12
12
|
|
|
13
13
|
# Step 8: Domain Compliance Validation
|
|
14
14
|
|
|
15
|
+
<purpose>Validate domain-specific requirements are present for high-complexity domains (Healthcare, Fintech, GovTech, etc.), ensuring regulatory and compliance requirements are properly documented.</purpose>
|
|
16
|
+
|
|
17
|
+
<instructions>Determine project domain from PRD frontmatter; check domain complexity level from CSV data; for high-complexity domains, verify domain-specific requirements section exists and covers applicable regulations; analyze compliance coverage; identify compliance gaps; update validation report.</instructions>
|
|
18
|
+
|
|
19
|
+
<output>Domain compliance validation report with complexity assessment, identified compliance requirements, coverage analysis, compliance gaps, and recommendations for domain-specific improvements.</output>
|
|
20
|
+
|
|
15
21
|
## STEP GOAL:
|
|
16
22
|
|
|
17
23
|
Validate domain-specific requirements are present for high-complexity domains (Healthcare, Fintech, GovTech, etc.), ensuring regulatory and compliance requirements are properly documented.
|
|
@@ -12,6 +12,12 @@ projectTypesData: '../data/project-types.csv'
|
|
|
12
12
|
|
|
13
13
|
# Step 9: Project-Type Compliance Validation
|
|
14
14
|
|
|
15
|
+
<purpose>Validate project-type specific requirements are properly documented - different project types (api_backend, web_app, mobile_app, etc.) have different required and excluded sections.</purpose>
|
|
16
|
+
|
|
17
|
+
<instructions>Determine project type from PRD frontmatter; load project-type requirements from CSV data; verify all required sections for project type are present; check for prohibited sections; analyze type-specific requirement coverage; identify gaps; update validation report.</instructions>
|
|
18
|
+
|
|
19
|
+
<output>Project-type compliance validation report with required/optional section verification, identified gaps, type-specific coverage analysis, and recommendations for project-type conformance.</output>
|
|
20
|
+
|
|
15
21
|
## STEP GOAL:
|
|
16
22
|
|
|
17
23
|
Validate project-type specific requirements are properly documented - different project types (api_backend, web_app, mobile_app, etc.) have different required and excluded sections.
|
|
@@ -11,6 +11,12 @@ advancedElicitationTask: '{project_root}/_bmad/core/workflows/advanced-elicitati
|
|
|
11
11
|
|
|
12
12
|
# Step 10: SMART Requirements Validation
|
|
13
13
|
|
|
14
|
+
<purpose>Validate Functional Requirements meet SMART quality criteria (Specific, Measurable, Attainable, Relevant, Traceable), ensuring high-quality requirements that can be implemented and tested.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Extract all functional requirements from PRD; evaluate each requirement against SMART criteria; assess specificity, measurability, attainability, relevance, and traceability; score each requirement on SMART completeness; identify low-scoring requirements; calculate overall quality metrics; update validation report.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>SMART validation report with individual requirement scores, identified low-quality requirements, SMART criteria assessment, quality metrics, and improvement recommendations for each criterion.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Validate Functional Requirements meet SMART quality criteria (Specific, Measurable, Attainable, Relevant, Traceable), ensuring high-quality requirements.
|
|
@@ -11,6 +11,12 @@ advancedElicitationTask: '{project_root}/_bmad/core/workflows/advanced-elicitati
|
|
|
11
11
|
|
|
12
12
|
# Step 11: Holistic Quality Assessment
|
|
13
13
|
|
|
14
|
+
<purpose>Assess the PRD as a cohesive, compelling document - evaluating document flow, dual audience effectiveness (humans and LLMs), BMAD PRD principles compliance, and overall quality rating.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Review PRD holistically for flow and coherence; assess readability and clarity for human audience; evaluate machine-readability and AI-assistant usefulness; evaluate alignment with BMAD principles; identify strengths and improvement opportunities; provide overall quality rating and recommendations; update validation report.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>Holistic quality assessment report with document flow analysis, audience effectiveness evaluation, BMAD principles alignment, identified strengths and weaknesses, overall quality rating, and strategic improvement recommendations.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Assess the PRD as a cohesive, compelling document - evaluating document flow, dual audience effectiveness (humans and LLMs), BMAD PRD principles compliance, and overall quality rating.
|
|
@@ -11,6 +11,12 @@ validationReportPath: '{validation_report_path}'
|
|
|
11
11
|
|
|
12
12
|
# Step 12: Completeness Validation
|
|
13
13
|
|
|
14
|
+
<purpose>Final comprehensive completeness check - validate no template variables remain, each section has required content, section-specific completeness requirements are met, and frontmatter is properly populated.</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>Scan PRD for remaining template variables and placeholders; verify all required sections have substantial content; check section-specific completeness requirements; validate frontmatter contains all required metadata; calculate completeness percentage; identify missing elements; update validation report with completeness findings.</instructions>
|
|
17
|
+
|
|
18
|
+
<output>Completeness validation report with template variable scan results, section-by-section completeness assessment, frontmatter validation, completeness percentage metric, and list of outstanding items.</output>
|
|
19
|
+
|
|
14
20
|
## STEP GOAL:
|
|
15
21
|
|
|
16
22
|
Final comprehensive completeness check - validate no template variables remain, each section has required content, section-specific completeness, and frontmatter is properly populated.
|