@pennyfarthing/core 11.4.0 → 12.0.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/README.md +9 -9
- package/package.json +3 -9
- package/packages/core/dist/cli/commands/command.js +9 -9
- package/packages/core/dist/cli/commands/command.js.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.js +1 -1
- package/packages/core/dist/cli/commands/cyclist.js.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.test.js +4 -4
- package/packages/core/dist/cli/commands/cyclist.test.js.map +1 -1
- package/packages/core/dist/cli/commands/doctor-legacy.test.js +2 -1
- package/packages/core/dist/cli/commands/doctor-legacy.test.js.map +1 -1
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.d.ts +22 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.js +161 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.js.map +1 -0
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/doctor.js +190 -34
- package/packages/core/dist/cli/commands/doctor.js.map +1 -1
- package/packages/core/dist/cli/commands/e2e-upgrade.test.js +1 -1
- package/packages/core/dist/cli/commands/e2e-upgrade.test.js.map +1 -1
- package/packages/core/dist/cli/commands/hook-chaining.test.js +1 -1
- package/packages/core/dist/cli/commands/hook-chaining.test.js.map +1 -1
- package/packages/core/dist/cli/commands/init.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/init.js +47 -18
- package/packages/core/dist/cli/commands/init.js.map +1 -1
- package/packages/core/dist/cli/commands/pyproject-install.test.js +1 -1
- package/packages/core/dist/cli/commands/pyproject-install.test.js.map +1 -1
- package/packages/core/dist/cli/commands/skill.js +9 -9
- package/packages/core/dist/cli/commands/skill.js.map +1 -1
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.d.ts +17 -0
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.js +470 -0
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.js.map +1 -0
- package/packages/core/dist/cli/commands/theme.js +3 -3
- package/packages/core/dist/cli/commands/theme.js.map +1 -1
- package/packages/core/dist/cli/commands/uninstall.js +1 -1
- package/packages/core/dist/cli/commands/uninstall.js.map +1 -1
- package/packages/core/dist/cli/commands/update.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/update.js +71 -20
- package/packages/core/dist/cli/commands/update.js.map +1 -1
- package/packages/core/dist/cli/commands/version.js +1 -1
- package/packages/core/dist/cli/commands/version.js.map +1 -1
- package/packages/core/dist/cli/index.js +2 -30
- package/packages/core/dist/cli/index.js.map +1 -1
- package/packages/core/dist/cli/utils/constants.d.ts +2 -2
- package/packages/core/dist/cli/utils/constants.js +1 -1
- package/packages/core/dist/cli/utils/constants.js.map +1 -1
- package/packages/core/dist/cli/utils/files.d.ts +1 -1
- package/packages/core/dist/cli/utils/files.js +1 -1
- package/packages/core/dist/cli/utils/install-helpers.d.ts +25 -0
- package/packages/core/dist/cli/utils/install-helpers.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/install-helpers.js +162 -0
- package/packages/core/dist/cli/utils/install-helpers.js.map +1 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts +7 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/node-modules.js +39 -0
- package/packages/core/dist/cli/utils/node-modules.js.map +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/settings.js +40 -21
- package/packages/core/dist/cli/utils/settings.js.map +1 -1
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts +59 -0
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js +163 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js.map +1 -0
- package/packages/core/dist/cli/utils/symlinks.d.ts +4 -0
- package/packages/core/dist/cli/utils/symlinks.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/symlinks.js +25 -2
- package/packages/core/dist/cli/utils/symlinks.js.map +1 -1
- package/packages/core/dist/cli/workspace.test.js +4 -37
- package/packages/core/dist/cli/workspace.test.js.map +1 -1
- package/packages/core/dist/data-source.d.ts +42 -0
- package/packages/core/dist/data-source.d.ts.map +1 -0
- package/packages/core/dist/data-source.js +12 -0
- package/packages/core/dist/data-source.js.map +1 -0
- package/packages/core/dist/data-source.test.d.ts +16 -0
- package/packages/core/dist/data-source.test.d.ts.map +1 -0
- package/packages/core/dist/data-source.test.js +206 -0
- package/packages/core/dist/data-source.test.js.map +1 -0
- package/packages/core/dist/index.d.ts +1 -0
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/public/css/react.css +1 -1
- package/packages/core/dist/public/js/react/react.js +39 -39
- package/packages/core/dist/scripts/benchmark-integration.d.ts +182 -0
- package/packages/core/dist/scripts/benchmark-integration.d.ts.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.js +691 -0
- package/packages/core/dist/scripts/benchmark-integration.js.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts +150 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js +547 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.js.map +1 -0
- package/packages/core/dist/server/api/context.d.ts.map +1 -1
- package/packages/core/dist/server/api/context.js +23 -5
- package/packages/core/dist/server/api/context.js.map +1 -1
- package/packages/core/dist/server/api/index.d.ts +0 -1
- package/packages/core/dist/server/api/index.d.ts.map +1 -1
- package/packages/core/dist/server/api/index.js +0 -2
- package/packages/core/dist/server/api/index.js.map +1 -1
- package/packages/core/dist/server/api/settings.d.ts.map +1 -1
- package/packages/core/dist/server/api/settings.js +6 -0
- package/packages/core/dist/server/api/settings.js.map +1 -1
- package/packages/core/dist/server/otlp-receiver.d.ts +2 -4
- package/packages/core/dist/server/otlp-receiver.d.ts.map +1 -1
- package/packages/core/dist/server/otlp-receiver.js +7 -18
- package/packages/core/dist/server/otlp-receiver.js.map +1 -1
- package/packages/core/dist/server/otlp-receiver.test.js +0 -27
- package/packages/core/dist/server/otlp-receiver.test.js.map +1 -1
- package/packages/core/dist/server/server.d.ts +2 -2
- package/packages/core/dist/server/server.d.ts.map +1 -1
- package/packages/core/dist/server/server.js +20 -5
- package/packages/core/dist/server/server.js.map +1 -1
- package/packages/core/dist/server/server.test.js +1 -1
- package/packages/core/dist/server/server.test.js.map +1 -1
- package/packages/core/dist/shared/generate-skill-docs.test.js +2 -2
- package/packages/core/dist/shared/skill-search.test.js +2 -2
- package/packages/core/dist/workflow/cross-entity-validation.d.ts.map +1 -1
- package/packages/core/dist/workflow/cross-entity-validation.js.map +1 -1
- package/packages/core/dist/workflow/tandem-workflow-templates.test.js +3 -3
- package/packages/core/dist/workflow/tandem-workflow-templates.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-migration.test.js +8 -8
- package/packages/core/dist/workflow/workflow-migration.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-schema.js +1 -1
- package/packages/core/dist/workflow/workflow-schema.js.map +1 -1
- package/packages/core/src/public/App.tsx +1 -4
- package/packages/core/src/public/components/DockviewWorkspace.tsx +0 -4
- package/packages/core/src/public/components/panels/SettingsPanel.tsx +83 -283
- package/packages/core/src/public/components/panels/SprintPanel.tsx +11 -1
- package/packages/core/src/public/components/panels/index.ts +0 -1
- package/packages/core/src/public/data-source.ts +117 -0
- package/packages/core/src/public/hooks/index.ts +0 -3
- package/packages/core/src/public/hooks/useAgentLoad.ts +1 -0
- package/packages/core/src/public/hooks/useCodeMarkers.ts +1 -0
- package/packages/core/src/public/hooks/useComplexity.ts +1 -0
- package/packages/core/src/public/hooks/useDataSource.ts +273 -0
- package/packages/core/src/public/hooks/useDeadCode.ts +1 -0
- package/packages/core/src/public/hooks/useDependencies.ts +1 -0
- package/packages/core/src/public/hooks/useDiffs.ts +46 -91
- package/packages/core/src/public/hooks/useGitStatus.ts +16 -77
- package/packages/core/src/public/hooks/useHealthScore.ts +1 -0
- package/packages/core/src/public/hooks/useHotspots.ts +1 -0
- package/packages/core/src/public/hooks/usePersona.ts +32 -67
- package/packages/core/src/public/hooks/useSprint.ts +23 -75
- package/packages/core/src/public/hooks/useStatsStrip.ts +47 -117
- package/packages/core/src/public/hooks/useStory.ts +11 -60
- package/packages/core/src/public/hooks/useTodos.ts +8 -61
- package/packages/core/src/public/images/cyclist-tandem-source.png +0 -0
- package/packages/core/src/public/index.ts +5 -0
- package/packages/core/src/public/styles/tailwind.css +15 -101
- package/packages/core/src/public/utils/slash-commands.ts +0 -4
- package/pennyfarthing-dist/agents/architect.md +8 -0
- package/pennyfarthing-dist/agents/ba.md +8 -0
- package/pennyfarthing-dist/agents/dev.md +10 -2
- package/pennyfarthing-dist/agents/devops.md +8 -0
- package/pennyfarthing-dist/agents/orchestrator.md +8 -0
- package/pennyfarthing-dist/agents/pm.md +8 -0
- package/pennyfarthing-dist/agents/reviewer.md +12 -4
- package/pennyfarthing-dist/agents/sm-setup.md +7 -7
- package/pennyfarthing-dist/agents/sm.md +20 -12
- package/pennyfarthing-dist/agents/tea.md +10 -2
- package/pennyfarthing-dist/agents/tech-writer.md +8 -0
- package/pennyfarthing-dist/agents/ux-designer.md +8 -0
- package/pennyfarthing-dist/commands/pf-architect.md +1 -1
- package/pennyfarthing-dist/commands/pf-ba.md +1 -1
- package/pennyfarthing-dist/commands/pf-dev.md +1 -1
- package/pennyfarthing-dist/commands/pf-devops.md +1 -1
- package/pennyfarthing-dist/commands/pf-health-check.md +1 -1
- package/pennyfarthing-dist/commands/pf-help.md +3 -2
- package/pennyfarthing-dist/commands/pf-orchestrator.md +1 -1
- package/pennyfarthing-dist/commands/pf-pm.md +1 -1
- package/pennyfarthing-dist/commands/pf-reviewer.md +1 -1
- package/pennyfarthing-dist/commands/pf-setup.md +4 -4
- package/pennyfarthing-dist/commands/pf-sm.md +1 -1
- package/pennyfarthing-dist/commands/pf-standalone.md +60 -0
- package/pennyfarthing-dist/commands/pf-tea.md +1 -1
- package/pennyfarthing-dist/commands/pf-tech-writer.md +1 -1
- package/pennyfarthing-dist/commands/pf-ux-designer.md +1 -1
- package/pennyfarthing-dist/commands/pf-work.md +1 -1
- package/pennyfarthing-dist/guides/agent-behavior.md +11 -11
- package/pennyfarthing-dist/guides/agent-tag-taxonomy.md +2 -2
- package/pennyfarthing-dist/guides/bikelane.md +1 -8
- package/pennyfarthing-dist/guides/bikerack.md +94 -0
- package/pennyfarthing-dist/guides/hooks.md +1 -1
- package/pennyfarthing-dist/guides/what-is-pennyfarthing.md +91 -0
- package/pennyfarthing-dist/guides/xml-tags.md +2 -2
- package/pennyfarthing-dist/personas/themes/discworld.yaml +14 -12
- package/pennyfarthing-dist/personas/themes/firefly.yaml +12 -12
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +14 -12
- package/pennyfarthing-dist/pyproject.toml +6 -2
- package/pennyfarthing-dist/scripts/core/agent-session.sh +4 -5
- package/pennyfarthing-dist/scripts/core/check-context.sh +10 -5
- package/pennyfarthing-dist/scripts/core/phase-check-start.sh +1 -2
- package/pennyfarthing-dist/scripts/core/prime.sh +1 -2
- package/pennyfarthing-dist/scripts/git/changelog-links.sh +216 -0
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +1 -2
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +1 -2
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +1 -2
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +1 -2
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/hooks/bell-mode-hook.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/cyclist-pretooluse-hook.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +31 -1
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +6 -4
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +1 -1
- package/pennyfarthing-dist/scripts/hooks/question-reflector-check.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/schema-validation.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/sprint-yaml-validation.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/welcome-hook.sh +2 -3
- package/pennyfarthing-dist/scripts/lib/README.md +0 -1
- package/pennyfarthing-dist/scripts/misc/statusline.sh +2 -3
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +1 -1
- package/pennyfarthing-dist/scripts/portraits/generate-portraits.py +84 -8
- package/pennyfarthing-dist/scripts/portraits/generate-tandem-portraits.sh +7 -3
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +2 -2
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +2 -18
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/get-workflow-type.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/phase-owner.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +1 -2
- package/pennyfarthing-dist/skills/pf-jira/usage.md +87 -145
- package/pennyfarthing-dist/skills/pf-settings/skill.md +41 -3
- package/pennyfarthing-dist/skills/pf-settings/usage.md +25 -0
- package/pennyfarthing-dist/skills/pf-sprint/skill.md +4 -0
- package/pennyfarthing-dist/skills/pf-sprint/usage.md +167 -173
- package/pennyfarthing-dist/skills/pf-theme/usage.md +17 -129
- package/pennyfarthing-dist/skills/pf-ux-tandem/SKILL.md +194 -0
- package/pennyfarthing-dist/skills/pf-workflow/usage.md +51 -128
- package/pennyfarthing-dist/skills/skill-registry.yaml +17 -21
- package/pennyfarthing-dist/src/pf/CLAUDE.md +213 -0
- package/pennyfarthing-dist/src/pf/__init__.py +17 -0
- package/pennyfarthing-dist/src/pf/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/bellmode_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/config_migration.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/context.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/context.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_bidirectional_sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_epic_creation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_sync_story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/patch_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/pretooluse_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/schema_validation_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/session_start_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/workflow.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/focus.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/focus.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/split.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/cli.py +240 -0
- package/pennyfarthing-dist/src/pf/bc/focus.py +332 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/audit_log_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/background_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/base_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/changed_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/context_meter_footer.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/debug_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/diffs_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/events.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/git_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/launcher.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/launcher.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/layout_order.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/portrait_resolver.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/progress_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/sprint_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/story_detail_data.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/story_detail_screen.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/story_detail_widget.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/tui.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/ws_client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/audit_log_panel.py +631 -0
- package/pennyfarthing-dist/src/pf/bikerack/base_panel.py +186 -0
- package/pennyfarthing-dist/src/pf/bikerack/context_meter_footer.py +266 -0
- package/pennyfarthing-dist/src/pf/bikerack/debug_panel.py +451 -0
- package/pennyfarthing-dist/src/pf/bikerack/launcher.py +239 -0
- package/pennyfarthing-dist/src/pf/bikerack/layout_order.py +84 -0
- package/pennyfarthing-dist/src/pf/bikerack/portrait_resolver.py +191 -0
- package/pennyfarthing-dist/src/pf/bikerack/progress_panel.py +564 -0
- package/pennyfarthing-dist/src/pf/bikerack/sprint_panel.py +645 -0
- package/pennyfarthing-dist/src/pf/bikerack/story_detail_data.py +329 -0
- package/pennyfarthing-dist/src/pf/bikerack/story_detail_screen.py +283 -0
- package/pennyfarthing-dist/src/pf/bikerack/story_detail_widget.py +167 -0
- package/pennyfarthing-dist/src/pf/bikerack/tui.py +1170 -0
- package/pennyfarthing-dist/src/pf/bikerack/ws_client.py +203 -0
- package/pennyfarthing-dist/src/pf/bmad/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bmad/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bmad/cli.py +196 -0
- package/pennyfarthing-dist/src/pf/bmad/importer.py +199 -0
- package/pennyfarthing-dist/src/pf/bmad/parser.py +238 -0
- package/pennyfarthing-dist/src/pf/bmad/sync.py +462 -0
- package/pennyfarthing-dist/src/pf/bmad/test_parser.py +249 -0
- package/pennyfarthing-dist/src/pf/bmad/test_sync.py +220 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/cli.py +130 -0
- package/pennyfarthing-dist/src/pf/cli.py +393 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__init__.py +50 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/config.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/output.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/pr_config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/themes.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/config.py +162 -0
- package/pennyfarthing-dist/src/pf/common/hooks.py +31 -0
- package/pennyfarthing-dist/src/pf/common/themes.py +354 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/config_migration.py +102 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/dialogue_manager.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/context.py +413 -0
- package/pennyfarthing-dist/src/pf/core/__init__.py +6 -0
- package/pennyfarthing-dist/src/pf/core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/core/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/core/__pycache__/resolver.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/core/models.py +30 -0
- package/pennyfarthing-dist/src/pf/core/resolver.py +137 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/__init__.py +1 -0
- package/pennyfarthing-dist/src/pf/docs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/__pycache__/sync_skills.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/cli.py +51 -0
- package/pennyfarthing-dist/src/pf/docs/sync_skills.py +489 -0
- package/pennyfarthing-dist/src/pf/doctor/__init__.py +6 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/checks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/core.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/checks.py +180 -0
- package/pennyfarthing-dist/src/pf/doctor/cli.py +52 -0
- package/pennyfarthing-dist/src/pf/doctor/core.py +63 -0
- package/pennyfarthing-dist/src/pf/doctor/models.py +29 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/create_branches.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/hooks_installer.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/repos.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/status_all.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/hooks_installer.py +152 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/complete_phase.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/gate_file.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/gate_runner.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/marker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/phase_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/resolve_gate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/gate_file.py +109 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/analyze.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/models.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__init__.py +447 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/bell_mode.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_breaker.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_breaker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_warning.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_warning.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cyclist_pretooluse.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cyclist_pretooluse.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/pre_edit_check.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/pre_edit_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/reflector_check.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/schema_validation.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/session_start.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/session_start.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/session_stop.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/sprint_yaml_validation.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/sprint_yaml_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/statusline.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/cyclist_pretooluse.py +161 -0
- package/pennyfarthing-dist/src/pf/hooks/frontmatter.py +257 -0
- package/pennyfarthing-dist/src/pf/hooks/session_start.py +379 -0
- package/pennyfarthing-dist/src/pf/hooks/statusline.py +436 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/analyze.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/models.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__init__.py +1 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/core.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/setup.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/cli.py +63 -0
- package/pennyfarthing-dist/src/pf/init/core.py +281 -0
- package/pennyfarthing-dist/src/pf/init/setup.py +474 -0
- package/pennyfarthing-dist/src/pf/jira/__init__.py +91 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/bidirectional.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/claim.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/client.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/compat.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/create.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/epic.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/mappings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/operations.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/reconcile.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/story.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/sync.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/claim.py +232 -0
- package/pennyfarthing-dist/src/pf/jira/cli.py +472 -0
- package/pennyfarthing-dist/src/pf/jira/client.py +766 -0
- package/pennyfarthing-dist/src/pf/jira/reconcile.py +260 -0
- package/pennyfarthing-dist/src/pf/jira/story.py +223 -0
- package/pennyfarthing-dist/src/pf/jira/sync.py +350 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__init__.py +39 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/skill.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/step.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/validate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/cli.py +303 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/discovery.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/portraits.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/cli.py +186 -0
- package/pennyfarthing-dist/src/pf/package/discovery.py +130 -0
- package/pennyfarthing-dist/src/pf/package/portraits.py +243 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/persona.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/tiers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/version_sentinel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/cli.py +721 -0
- package/pennyfarthing-dist/src/pf/prime/loader.py +322 -0
- package/pennyfarthing-dist/src/pf/prime/persona.py +305 -0
- package/pennyfarthing-dist/src/pf/prime/workflow.py +325 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/deprecate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/dry_run.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/cli.py +112 -0
- package/pennyfarthing-dist/src/pf/release/deprecate.py +187 -0
- package/pennyfarthing-dist/src/pf/release/dry_run.py +187 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/__init__.py +0 -0
- package/pennyfarthing-dist/src/pf/settings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/__pycache__/settings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/settings.py +135 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/archive.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_add.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_update.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/import_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/loader.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/shard_merge.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/standalone_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/status.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_add.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_transition.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_update.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validate_cmd.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validator.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/work.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/yaml_io.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/archive.py +164 -0
- package/pennyfarthing-dist/src/pf/sprint/cli.py +2206 -0
- package/pennyfarthing-dist/src/pf/sprint/loader.py +361 -0
- package/pennyfarthing-dist/src/pf/sprint/shard_merge.py +205 -0
- package/pennyfarthing-dist/src/pf/sprint/standalone_add.py +143 -0
- package/pennyfarthing-dist/src/pf/sprint/status.py +187 -0
- package/pennyfarthing-dist/src/pf/sprint/story_finish.py +229 -0
- package/pennyfarthing-dist/src/pf/sprint/story_transition.py +183 -0
- package/pennyfarthing-dist/src/pf/sprint/story_update.py +240 -0
- package/pennyfarthing-dist/src/pf/sprint/yaml_io.py +407 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/size.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/template.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_108_1_gate_migration.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_108_2_remove_handoff_fallback.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_archive_epic.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_bc.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_bikerack.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_brownfield.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_cli_modules.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_cli_normalization.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_codemarkers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_common.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_confidence_sm_evaluation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_confidence_sm_gate.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_config_consolidation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_dialogue_manager.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_dist_root.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_doctor.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_e2e_install_lifecycle.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_epic_shard_validation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_event_driven_jira_sync.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_gate_file_resolution.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_gate_runner.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_git_utils.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_handoff_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_handoff_e2e.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_healthscore.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_init_auto_setup.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_init_auto_setup.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_init_command.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_jira_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_package_structure.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_patch_mode.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_prime.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_pypi_packaging.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_resolve_gate_file_field.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_panel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_panel_provenance.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_add.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_transition.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_update.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_tiers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_token_counting.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_topology_loader.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_tui_focus.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_tui_panel_persistence.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_upgrade_cleanup.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_validate_cmd.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_version_sentinel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_workflow_check.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_workflow_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_workflow_list_team.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_wrapper_removal.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_yaml_io.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/conftest.py +109 -0
- package/pennyfarthing-dist/src/pf/tests/test_108_1_gate_migration.py +541 -0
- package/pennyfarthing-dist/src/pf/tests/test_108_2_remove_handoff_fallback.py +340 -0
- package/pennyfarthing-dist/src/pf/tests/test_cli_modules.py +137 -0
- package/pennyfarthing-dist/src/pf/tests/test_codemarkers.py +672 -0
- package/pennyfarthing-dist/src/pf/tests/test_confidence_sm_evaluation.py +252 -0
- package/pennyfarthing-dist/src/pf/tests/test_confidence_sm_gate.py +318 -0
- package/pennyfarthing-dist/src/pf/tests/test_config_consolidation.py +513 -0
- package/pennyfarthing-dist/src/pf/tests/test_dist_root.py +720 -0
- package/pennyfarthing-dist/src/pf/tests/test_doctor.py +457 -0
- package/pennyfarthing-dist/src/pf/tests/test_event_driven_jira_sync.py +588 -0
- package/pennyfarthing-dist/src/pf/tests/test_init_auto_setup.py +893 -0
- package/pennyfarthing-dist/src/pf/tests/test_init_command.py +814 -0
- package/pennyfarthing-dist/src/pf/tests/test_jira_package.py +331 -0
- package/pennyfarthing-dist/src/pf/tests/test_package_structure.py +314 -0
- package/pennyfarthing-dist/src/pf/tests/test_pypi_packaging.py +329 -0
- package/pennyfarthing-dist/src/pf/tests/test_resolve_gate_file_field.py +460 -0
- package/pennyfarthing-dist/src/pf/tests/test_sprint_panel.py +610 -0
- package/pennyfarthing-dist/src/pf/tests/test_sprint_panel_provenance.py +485 -0
- package/pennyfarthing-dist/src/pf/tests/test_story_transition.py +502 -0
- package/pennyfarthing-dist/src/pf/tests/test_upgrade_cleanup.py +251 -0
- package/pennyfarthing-dist/src/pf/tests/test_wrapper_removal.py +373 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/cli.py +321 -0
- package/pennyfarthing-dist/src/pf/upgrade/__init__.py +1 -0
- package/pennyfarthing-dist/src/pf/upgrade/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/upgrade/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/upgrade/__pycache__/core.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/upgrade/cli.py +62 -0
- package/pennyfarthing-dist/src/pf/upgrade/core.py +483 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__init__.py +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/agent.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/schema.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/skill_command.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/tandem_awareness.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/team_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/agent.py +261 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/skill_command.py +502 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/tandem_awareness.py +260 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/team_mode.py +329 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/workflow.py +413 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/helpers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/scale.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/state.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/team_lifecycle.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/cli.py +1109 -0
- package/pennyfarthing-dist/templates/justfile.template +71 -0
- package/pennyfarthing-dist/templates/preferences.yaml.template +5 -8
- package/pennyfarthing-dist/templates/pyproject.toml +9 -1
- package/pennyfarthing-dist/templates/settings.local.json.template +20 -11
- package/pennyfarthing-dist/templates/tmux-dev.template +45 -0
- package/pennyfarthing-dist/templates/tmux.conf.template +91 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-01-foundation.md +2 -2
- package/pennyfarthing-dist/workflows/installation-check/steps/step-05-layout.md +1 -1
- package/pennyfarthing-dist/workflows/installation-check/steps/step-07-tools.md +6 -5
- package/pennyfarthing-dist/workflows/patch.yaml +5 -6
- package/pennyfarthing-dist/workflows/project-setup/steps/step-04-claude-md.md +59 -1
- package/pennyfarthing-dist/workflows/release/steps/step-01-preflight.md +4 -0
- package/pennyfarthing-dist/workflows/release/steps/step-02-bump.md +19 -9
- package/pennyfarthing-dist/workflows/release/steps/step-10-publish.md +67 -21
- package/pennyfarthing-dist/workflows/release/steps/step-11-finalize.md +41 -30
- package/pennyfarthing-dist/workflows/tdd-tandem.yaml +28 -8
- package/packages/core/bin/pennyfarthing.js +0 -14
- package/packages/core/dist/workflow/team-lifecycle.d.ts +0 -169
- package/packages/core/dist/workflow/team-lifecycle.d.ts.map +0 -1
- package/packages/core/dist/workflow/team-lifecycle.js +0 -217
- package/packages/core/dist/workflow/team-lifecycle.js.map +0 -1
- package/packages/core/dist/workflow/team-lifecycle.test.d.ts +0 -20
- package/packages/core/dist/workflow/team-lifecycle.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/team-lifecycle.test.js +0 -966
- package/packages/core/dist/workflow/team-lifecycle.test.js.map +0 -1
- package/packages/core/src/public/components/BikeRackIndex.tsx +0 -53
- package/packages/core/src/public/components/BikeRackWorkspace.tsx +0 -217
- package/packages/core/src/public/components/FontPicker/FontPicker.css +0 -276
- package/packages/core/src/public/components/FontPicker/index.tsx +0 -430
- package/packages/core/src/public/components/StandalonePanel.tsx +0 -82
- package/packages/core/src/public/components/ThemePalette/ThemePalette.css +0 -179
- package/packages/core/src/public/components/ThemePalette/index.tsx +0 -326
- package/packages/core/src/public/components/panels/BackgroundPanel.tsx +0 -115
- package/packages/core/src/public/components/ui/switch.tsx +0 -27
- package/packages/core/src/public/hooks/useBackgroundTasks.ts +0 -131
- package/pennyfarthing-dist/commands/pf-permissions.md +0 -193
- package/pennyfarthing-dist/guides/permission-protocol.md +0 -188
- package/pennyfarthing-dist/pf/CLAUDE.md +0 -213
- package/pennyfarthing-dist/pf/__init__.py +0 -17
- package/pennyfarthing-dist/pf/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/context.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/focus.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/split.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/cli.py +0 -241
- package/pennyfarthing-dist/pf/bc/focus.py +0 -333
- package/pennyfarthing-dist/pf/bikerack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/audit_log_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/background_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/base_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/changed_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/context_meter_footer.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/debug_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/diffs_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/events.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/git_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/launcher.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/portrait_resolver.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/progress_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/sprint_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/story_detail_data.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/story_detail_screen.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/tui.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/ws_client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/audit_log_panel.py +0 -161
- package/pennyfarthing-dist/pf/bikerack/background_panel.py +0 -162
- package/pennyfarthing-dist/pf/bikerack/base_panel.py +0 -184
- package/pennyfarthing-dist/pf/bikerack/context_meter_footer.py +0 -138
- package/pennyfarthing-dist/pf/bikerack/debug_panel.py +0 -248
- package/pennyfarthing-dist/pf/bikerack/launcher.py +0 -240
- package/pennyfarthing-dist/pf/bikerack/portrait_resolver.py +0 -160
- package/pennyfarthing-dist/pf/bikerack/progress_panel.py +0 -314
- package/pennyfarthing-dist/pf/bikerack/sprint_panel.py +0 -492
- package/pennyfarthing-dist/pf/bikerack/story_detail_data.py +0 -247
- package/pennyfarthing-dist/pf/bikerack/story_detail_screen.py +0 -177
- package/pennyfarthing-dist/pf/bikerack/tui.py +0 -920
- package/pennyfarthing-dist/pf/bikerack/ws_client.py +0 -176
- package/pennyfarthing-dist/pf/bmad/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bmad/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bmad/__pycache__/parser.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bmad/cli.py +0 -197
- package/pennyfarthing-dist/pf/bmad/importer.py +0 -200
- package/pennyfarthing-dist/pf/bmad/parser.py +0 -239
- package/pennyfarthing-dist/pf/bmad/sync.py +0 -464
- package/pennyfarthing-dist/pf/bmad/test_parser.py +0 -253
- package/pennyfarthing-dist/pf/bmad/test_sync.py +0 -223
- package/pennyfarthing-dist/pf/brownfield/__main__.py +0 -8
- package/pennyfarthing-dist/pf/brownfield/cli.py +0 -130
- package/pennyfarthing-dist/pf/cli.py +0 -354
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__init__.py +0 -48
- package/pennyfarthing-dist/pf/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/pr_config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/themes.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/config.py +0 -119
- package/pennyfarthing-dist/pf/common/themes.py +0 -253
- package/pennyfarthing-dist/pf/complexity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/config.py +0 -21
- package/pennyfarthing-dist/pf/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/context.py +0 -413
- package/pennyfarthing-dist/pf/deadcode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git/hooks_installer.py +0 -151
- package/pennyfarthing-dist/pf/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/complete_phase.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/marker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/phase_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/resolve_gate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/gate_file.py +0 -105
- package/pennyfarthing-dist/pf/healthscore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__init__.py +0 -442
- package/pennyfarthing-dist/pf/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/context_breaker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/context_warning.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/cyclist_pretooluse.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/pre_edit_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/session_start.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/session_stop.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/sprint_yaml_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/cyclist_pretooluse.py +0 -129
- package/pennyfarthing-dist/pf/hooks/session_start.py +0 -294
- package/pennyfarthing-dist/pf/hooks/statusline.py +0 -429
- package/pennyfarthing-dist/pf/hooks.py +0 -32
- package/pennyfarthing-dist/pf/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__init__.py +0 -97
- package/pennyfarthing-dist/pf/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/claim.py +0 -232
- package/pennyfarthing-dist/pf/jira/cli.py +0 -362
- package/pennyfarthing-dist/pf/jira/client.py +0 -802
- package/pennyfarthing-dist/pf/jira/reconcile.py +0 -276
- package/pennyfarthing-dist/pf/jira/story.py +0 -221
- package/pennyfarthing-dist/pf/jira/sync.py +0 -350
- package/pennyfarthing-dist/pf/jira_bidirectional_sync.py +0 -37
- package/pennyfarthing-dist/pf/jira_epic_creation.py +0 -30
- package/pennyfarthing-dist/pf/jira_sync.py +0 -36
- package/pennyfarthing-dist/pf/jira_sync_story.py +0 -30
- package/pennyfarthing-dist/pf/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__init__.py +0 -39
- package/pennyfarthing-dist/pf/migration/__main__.py +0 -10
- package/pennyfarthing-dist/pf/migration/cli.py +0 -304
- package/pennyfarthing-dist/pf/output.py +0 -37
- package/pennyfarthing-dist/pf/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/persona.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/tiers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/cli.py +0 -662
- package/pennyfarthing-dist/pf/prime/loader.py +0 -308
- package/pennyfarthing-dist/pf/prime/persona.py +0 -311
- package/pennyfarthing-dist/pf/prime/workflow.py +0 -317
- package/pennyfarthing-dist/pf/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/settings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/settings.py +0 -134
- package/pennyfarthing-dist/pf/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/epic_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/epic_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/archive.py +0 -164
- package/pennyfarthing-dist/pf/sprint/cli.py +0 -2021
- package/pennyfarthing-dist/pf/sprint/loader.py +0 -441
- package/pennyfarthing-dist/pf/sprint/status.py +0 -121
- package/pennyfarthing-dist/pf/sprint/story_finish.py +0 -239
- package/pennyfarthing-dist/pf/sprint/story_update.py +0 -222
- package/pennyfarthing-dist/pf/sprint/yaml_io.py +0 -433
- package/pennyfarthing-dist/pf/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/conftest.py +0 -105
- package/pennyfarthing-dist/pf/tests/test_108_1_gate_migration.py +0 -540
- package/pennyfarthing-dist/pf/tests/test_108_2_remove_handoff_fallback.py +0 -339
- package/pennyfarthing-dist/pf/tests/test_cli_modules.py +0 -241
- package/pennyfarthing-dist/pf/tests/test_codemarkers.py +0 -687
- package/pennyfarthing-dist/pf/tests/test_confidence_sm_evaluation.py +0 -253
- package/pennyfarthing-dist/pf/tests/test_confidence_sm_gate.py +0 -316
- package/pennyfarthing-dist/pf/tests/test_jira_package.py +0 -331
- package/pennyfarthing-dist/pf/tests/test_package_structure.py +0 -359
- package/pennyfarthing-dist/pf/tests/test_resolve_gate_file_field.py +0 -460
- package/pennyfarthing-dist/pf/tests/test_sprint_panel.py +0 -610
- package/pennyfarthing-dist/pf/theme/__main__.py +0 -6
- package/pennyfarthing-dist/pf/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/cli.py +0 -310
- package/pennyfarthing-dist/pf/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/agent.py +0 -239
- package/pennyfarthing-dist/pf/validate/adapters/skill_command.py +0 -491
- package/pennyfarthing-dist/pf/validate/adapters/tandem_awareness.py +0 -254
- package/pennyfarthing-dist/pf/validate/adapters/team_mode.py +0 -323
- package/pennyfarthing-dist/pf/validate/adapters/workflow.py +0 -403
- package/pennyfarthing-dist/pf/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/helpers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/cli.py +0 -1101
- package/pennyfarthing-dist/scripts/core/pf.sh +0 -5
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -177
- package/pennyfarthing-dist/scripts/lib/run-pf.sh +0 -44
- package/pennyfarthing-dist/skills/pf-permissions/skill.md +0 -157
- package/pennyfarthing-dist/templates/persona-config.yaml.template +0 -22
- package/scripts/postinstall.cjs +0 -34
- /package/pennyfarthing-dist/{pf → src/pf}/README.md +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bc/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bc/split.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bellmode_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/diffs_panel.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/events.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/git_panel.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bmad/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/brownfield/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/brownfield/discover.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/common/output.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/common/pr_config.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/consultation/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/consultation/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/consultation/dialogue_manager.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/epic/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/epic/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/gate/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/gate/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/gate/validate.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/create_branches.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/repos.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/status_all.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/worktree.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git_group/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git_group/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/complete_phase.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/gate_runner.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/marker.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/phase_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/resolve_gate.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/bell_mode.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/context_breaker.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/context_warning.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/cyclist-pretooluse-hook.sh +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/pre_edit_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/reflector_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/schema_validation.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/session_stop.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/sprint_yaml_validation.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/bidirectional.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/create.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/operations.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/launch/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/launch/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/session.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/skill.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/step.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/validate.py +0 -0
- /package/pennyfarthing-dist/{pf/session → src/pf/package}/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/patch_mode.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/finish.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/pretooluse_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/heatmap.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/session.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/tiers.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/version_sentinel.py +0 -0
- /package/pennyfarthing-dist/{pf/settings → src/pf/release}/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/schema_validation_hook.py +0 -0
- /package/pennyfarthing-dist/{pf/validate/adapters → src/pf/session}/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/session/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/session_start_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/settings/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/archive_epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/epic_add.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/epic_update.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/import_epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/story_add.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/validate_cmd.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/validator.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/work.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/create.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/size.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/template.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/swebench.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_archive_epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_bc.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_bikerack.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_brownfield.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_cli_normalization.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_common.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_dialogue_manager.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_epic_shard_validation.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_gate_file_resolution.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_gate_runner.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_git_utils.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_handoff_cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_handoff_e2e.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_healthscore.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_patch_mode.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_prime.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_sprint_package.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_sprint_validator.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_story_add.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_story_package.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_story_update.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_tiers.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_token_counting.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_topology_loader.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_tui_focus.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_tui_panel_persistence.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_validate_cmd.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_version_sentinel.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_workflow_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_workflow_list_team.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_yaml_io.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/theme/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/adapters/schema.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/adapters/sprint.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/welcome_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/helpers.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/scale.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/state.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/team_lifecycle.py +0 -0
|
@@ -1,1101 +0,0 @@
|
|
|
1
|
-
"""Workflow CLI — phase management, stepped workflow control, and state queries.
|
|
2
|
-
|
|
3
|
-
Usage:
|
|
4
|
-
pf workflow check [--json]
|
|
5
|
-
pf workflow phase-check WORKFLOW PHASE
|
|
6
|
-
pf workflow handoff NEXT_AGENT
|
|
7
|
-
pf workflow type WORKFLOW
|
|
8
|
-
pf workflow list
|
|
9
|
-
pf workflow show [NAME]
|
|
10
|
-
pf workflow start NAME [--mode MODE]
|
|
11
|
-
pf workflow resume [NAME]
|
|
12
|
-
pf workflow status [NAME]
|
|
13
|
-
pf workflow fix-phase STORY_ID PHASE [--dry-run]
|
|
14
|
-
pf workflow complete-step [NAME] [--step N]
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
from __future__ import annotations
|
|
18
|
-
|
|
19
|
-
from datetime import UTC
|
|
20
|
-
|
|
21
|
-
import click
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
@click.group()
|
|
25
|
-
def workflow():
|
|
26
|
-
"""Workflow state and phase management.
|
|
27
|
-
|
|
28
|
-
\b
|
|
29
|
-
Commands:
|
|
30
|
-
check - Check current workflow state
|
|
31
|
-
phase-check - Verify phase ownership
|
|
32
|
-
handoff - Emit handoff marker
|
|
33
|
-
type - Get workflow type (phased/stepped/procedural)
|
|
34
|
-
list - List all available workflows
|
|
35
|
-
show - Show workflow details
|
|
36
|
-
start - Start a stepped workflow
|
|
37
|
-
resume - Resume an interrupted workflow
|
|
38
|
-
status - Show stepped workflow progress
|
|
39
|
-
fix-phase - Repair session phase tracking
|
|
40
|
-
complete-step - Complete current step in stepped workflow
|
|
41
|
-
"""
|
|
42
|
-
pass
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
# ---------------------------------------------------------------------------
|
|
46
|
-
# Existing commands (migrated from inline cli.py)
|
|
47
|
-
# ---------------------------------------------------------------------------
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
@workflow.command("check")
|
|
51
|
-
@click.option("--json", "output_json", is_flag=True, help="Output as JSON")
|
|
52
|
-
def workflow_check(output_json: bool):
|
|
53
|
-
"""Check current workflow state.
|
|
54
|
-
|
|
55
|
-
Returns the current story ID, phase, and workflow state.
|
|
56
|
-
"""
|
|
57
|
-
from pf.workflow.state import get_workflow_state
|
|
58
|
-
|
|
59
|
-
state = get_workflow_state()
|
|
60
|
-
|
|
61
|
-
if output_json:
|
|
62
|
-
import json
|
|
63
|
-
|
|
64
|
-
click.echo(json.dumps(state, indent=2))
|
|
65
|
-
else:
|
|
66
|
-
click.echo(f"State: {state.get('state', 'unknown')}")
|
|
67
|
-
if state.get("story_id"):
|
|
68
|
-
click.echo(f"Story: {state['story_id']}")
|
|
69
|
-
if state.get("workflow"):
|
|
70
|
-
click.echo(f"Workflow: {state['workflow']}")
|
|
71
|
-
if state.get("phase"):
|
|
72
|
-
click.echo(f"Phase: {state['phase']}")
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
@workflow.command("phase-check")
|
|
76
|
-
@click.argument("workflow_name")
|
|
77
|
-
@click.argument("phase")
|
|
78
|
-
def workflow_phase_check(workflow_name: str, phase: str):
|
|
79
|
-
"""Check which agent owns a workflow phase.
|
|
80
|
-
|
|
81
|
-
\b
|
|
82
|
-
Arguments:
|
|
83
|
-
WORKFLOW_NAME - The workflow type (tdd, trivial, etc.)
|
|
84
|
-
PHASE - The phase to check (red, implement, review, etc.)
|
|
85
|
-
"""
|
|
86
|
-
from pf.workflow.state import get_phase_owner
|
|
87
|
-
|
|
88
|
-
owner = get_phase_owner(workflow_name, phase)
|
|
89
|
-
click.echo(owner)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
@workflow.command("handoff")
|
|
93
|
-
@click.argument("next_agent")
|
|
94
|
-
def workflow_handoff(next_agent: str):
|
|
95
|
-
"""Emit an environment-aware handoff marker.
|
|
96
|
-
|
|
97
|
-
Delegates to generate_marker() which detects Cyclist, relay mode,
|
|
98
|
-
and context usage to choose the appropriate marker type.
|
|
99
|
-
|
|
100
|
-
\b
|
|
101
|
-
Arguments:
|
|
102
|
-
NEXT_AGENT - The agent to hand off to (tea, dev, reviewer, etc.)
|
|
103
|
-
"""
|
|
104
|
-
from pf.handoff.marker import generate_marker
|
|
105
|
-
|
|
106
|
-
click.echo(generate_marker(next_agent))
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
# ---------------------------------------------------------------------------
|
|
110
|
-
# New commands (migrated from bash scripts)
|
|
111
|
-
# ---------------------------------------------------------------------------
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
@workflow.command("type")
|
|
115
|
-
@click.argument("workflow_name")
|
|
116
|
-
def workflow_type_cmd(workflow_name: str):
|
|
117
|
-
"""Get workflow type (phased, stepped, or procedural).
|
|
118
|
-
|
|
119
|
-
\b
|
|
120
|
-
Arguments:
|
|
121
|
-
WORKFLOW_NAME - Workflow name (e.g., tdd, architecture)
|
|
122
|
-
"""
|
|
123
|
-
from pf.workflow.helpers import (
|
|
124
|
-
find_workflow_file,
|
|
125
|
-
get_workflow_type,
|
|
126
|
-
get_workflows_dir,
|
|
127
|
-
load_workflow_data,
|
|
128
|
-
)
|
|
129
|
-
|
|
130
|
-
workflows_dir = get_workflows_dir()
|
|
131
|
-
wf_file = find_workflow_file(workflows_dir, workflow_name)
|
|
132
|
-
if not wf_file:
|
|
133
|
-
click.echo(f"Error: Workflow '{workflow_name}' not found", err=True)
|
|
134
|
-
raise SystemExit(1)
|
|
135
|
-
|
|
136
|
-
data = load_workflow_data(wf_file)
|
|
137
|
-
click.echo(get_workflow_type(data))
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
@workflow.command("list")
|
|
141
|
-
def workflow_list_cmd():
|
|
142
|
-
"""List all available workflows.
|
|
143
|
-
|
|
144
|
-
Shows a markdown table with type, phases/steps, modes, and descriptions.
|
|
145
|
-
"""
|
|
146
|
-
|
|
147
|
-
from pf.workflow.helpers import (
|
|
148
|
-
count_steps,
|
|
149
|
-
get_workflows_dir,
|
|
150
|
-
load_workflow_data,
|
|
151
|
-
resolve_steps_path,
|
|
152
|
-
)
|
|
153
|
-
|
|
154
|
-
workflows_dir = get_workflows_dir()
|
|
155
|
-
|
|
156
|
-
if not workflows_dir.is_dir():
|
|
157
|
-
click.echo(f"Error: Workflows directory not found at {workflows_dir}", err=True)
|
|
158
|
-
raise SystemExit(1)
|
|
159
|
-
|
|
160
|
-
# Collect workflow files: top-level *.yaml and nested workflow.yaml
|
|
161
|
-
workflow_files = sorted(workflows_dir.glob("*.yaml"))
|
|
162
|
-
for subdir in sorted(workflows_dir.iterdir()):
|
|
163
|
-
if subdir.is_dir():
|
|
164
|
-
nested = subdir / "workflow.yaml"
|
|
165
|
-
if nested.exists():
|
|
166
|
-
workflow_files.append(nested)
|
|
167
|
-
|
|
168
|
-
if not workflow_files:
|
|
169
|
-
click.echo("No workflows found.")
|
|
170
|
-
return
|
|
171
|
-
|
|
172
|
-
click.echo("# Available Workflows")
|
|
173
|
-
click.echo("")
|
|
174
|
-
click.echo("| Workflow | Type | Default | Steps/Phases | Modes | Description |")
|
|
175
|
-
click.echo("|----------|------|---------|--------------|-------|-------------|")
|
|
176
|
-
|
|
177
|
-
from pf.common.config import get_project_root
|
|
178
|
-
|
|
179
|
-
project_root = get_project_root()
|
|
180
|
-
|
|
181
|
-
for wf_file in workflow_files:
|
|
182
|
-
data = load_workflow_data(wf_file)
|
|
183
|
-
wf = data.get("workflow", {})
|
|
184
|
-
|
|
185
|
-
name = wf.get("name", wf_file.stem)
|
|
186
|
-
desc = (wf.get("description") or "-")
|
|
187
|
-
if isinstance(desc, str):
|
|
188
|
-
desc = desc.split("\n")[0][:80]
|
|
189
|
-
is_default = wf.get("triggers", {}).get("default", False)
|
|
190
|
-
|
|
191
|
-
# Detect type
|
|
192
|
-
wf_type_raw = wf.get("type", "phased")
|
|
193
|
-
has_steps = wf.get("steps") is not None
|
|
194
|
-
|
|
195
|
-
if has_steps or wf_type_raw == "stepped":
|
|
196
|
-
type_col = "stepped"
|
|
197
|
-
try:
|
|
198
|
-
steps_path = resolve_steps_path(data, wf_file.parent, None, project_root)
|
|
199
|
-
step_count = count_steps(steps_path)
|
|
200
|
-
steps_col = f"{step_count} steps" if step_count > 0 else "-"
|
|
201
|
-
except Exception:
|
|
202
|
-
steps_col = "-"
|
|
203
|
-
elif wf_type_raw == "procedural":
|
|
204
|
-
type_col = "procedural"
|
|
205
|
-
steps_col = "instructions"
|
|
206
|
-
else:
|
|
207
|
-
type_col = "phased"
|
|
208
|
-
phases = wf.get("phases", [])
|
|
209
|
-
steps_col = f"{len(phases)} phases"
|
|
210
|
-
|
|
211
|
-
default_col = "yes" if is_default else "no"
|
|
212
|
-
|
|
213
|
-
# Modes
|
|
214
|
-
modes_available = wf.get("modes", {}).get("available", [])
|
|
215
|
-
if modes_available:
|
|
216
|
-
modes_col = ",".join(modes_available)
|
|
217
|
-
else:
|
|
218
|
-
modes_col = "-"
|
|
219
|
-
|
|
220
|
-
click.echo(f"| {name} | {type_col} | {default_col} | {steps_col} | {modes_col} | {desc} |")
|
|
221
|
-
|
|
222
|
-
click.echo("")
|
|
223
|
-
click.echo("**Legend:**")
|
|
224
|
-
click.echo("- **phased**: Agent-driven workflow (SM > TEA > Dev > Reviewer)")
|
|
225
|
-
click.echo("- **stepped**: Step-by-step guided workflow with progressive disclosure")
|
|
226
|
-
click.echo("- **procedural**: BMAD reference workflow with instructions file")
|
|
227
|
-
click.echo("")
|
|
228
|
-
click.echo("Use `pf workflow show <name>` for workflow details.")
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
@workflow.command("show")
|
|
232
|
-
@click.argument("name", required=False, default=None)
|
|
233
|
-
def workflow_show_cmd(name: str | None):
|
|
234
|
-
"""Show workflow details including phase flow, triggers, and gates.
|
|
235
|
-
|
|
236
|
-
\b
|
|
237
|
-
Arguments:
|
|
238
|
-
NAME - Workflow name (defaults to current session's workflow or tdd)
|
|
239
|
-
"""
|
|
240
|
-
from pf.common.config import get_project_root
|
|
241
|
-
from pf.workflow.helpers import (
|
|
242
|
-
find_workflow_file,
|
|
243
|
-
get_session_dir,
|
|
244
|
-
get_workflows_dir,
|
|
245
|
-
load_workflow_data,
|
|
246
|
-
)
|
|
247
|
-
|
|
248
|
-
project_root = get_project_root()
|
|
249
|
-
workflows_dir = get_workflows_dir(project_root)
|
|
250
|
-
session_dir = get_session_dir(project_root)
|
|
251
|
-
|
|
252
|
-
workflow_name = name
|
|
253
|
-
|
|
254
|
-
if not workflow_name:
|
|
255
|
-
# Try to detect from current session
|
|
256
|
-
if session_dir.is_dir():
|
|
257
|
-
for sf in session_dir.glob("*-session.md"):
|
|
258
|
-
content = sf.read_text()
|
|
259
|
-
import re
|
|
260
|
-
|
|
261
|
-
match = re.search(r"\*\*Workflow:\*\*\s*(\S+)", content)
|
|
262
|
-
if match:
|
|
263
|
-
workflow_name = match.group(1)
|
|
264
|
-
break
|
|
265
|
-
|
|
266
|
-
if not workflow_name:
|
|
267
|
-
click.echo("# Current Workflow")
|
|
268
|
-
click.echo("")
|
|
269
|
-
click.echo("No active session found. Showing default workflow (tdd).")
|
|
270
|
-
click.echo("")
|
|
271
|
-
workflow_name = "tdd"
|
|
272
|
-
else:
|
|
273
|
-
click.echo(f"# Current Session Workflow: {workflow_name}")
|
|
274
|
-
click.echo("")
|
|
275
|
-
else:
|
|
276
|
-
click.echo(f"# Workflow: {workflow_name}")
|
|
277
|
-
click.echo("")
|
|
278
|
-
|
|
279
|
-
wf_file = find_workflow_file(workflows_dir, workflow_name)
|
|
280
|
-
if not wf_file:
|
|
281
|
-
click.echo(f"Error: Workflow '{workflow_name}' not found", err=True)
|
|
282
|
-
click.echo("", err=True)
|
|
283
|
-
click.echo("Available workflows:", err=True)
|
|
284
|
-
for f in sorted(workflows_dir.glob("*.yaml")):
|
|
285
|
-
click.echo(f" {f.stem}", err=True)
|
|
286
|
-
raise SystemExit(1)
|
|
287
|
-
|
|
288
|
-
data = load_workflow_data(wf_file)
|
|
289
|
-
wf = data.get("workflow", {})
|
|
290
|
-
|
|
291
|
-
desc = wf.get("description", "-")
|
|
292
|
-
version = wf.get("version", "-")
|
|
293
|
-
|
|
294
|
-
click.echo(f"**Description:** {desc}")
|
|
295
|
-
click.echo(f"**Version:** {version}")
|
|
296
|
-
click.echo("")
|
|
297
|
-
|
|
298
|
-
# Phase flow diagram
|
|
299
|
-
phases = wf.get("phases", [])
|
|
300
|
-
if phases:
|
|
301
|
-
click.echo("## Phase Flow")
|
|
302
|
-
click.echo("")
|
|
303
|
-
phase_names = [p.get("name", "?") for p in phases]
|
|
304
|
-
click.echo("```")
|
|
305
|
-
click.echo(" -> ".join(phase_names))
|
|
306
|
-
click.echo("```")
|
|
307
|
-
click.echo("")
|
|
308
|
-
|
|
309
|
-
# Phases table
|
|
310
|
-
click.echo("## Phases")
|
|
311
|
-
click.echo("")
|
|
312
|
-
click.echo("| Phase | Agent | Gate |")
|
|
313
|
-
click.echo("|-------|-------|------|")
|
|
314
|
-
for p in phases:
|
|
315
|
-
pname = p.get("name", "?")
|
|
316
|
-
pagent = p.get("agent", "?")
|
|
317
|
-
pgate = p.get("gate", {}).get("type", "none") if isinstance(p.get("gate"), dict) else "none"
|
|
318
|
-
click.echo(f"| {pname} | {pagent} | {pgate} |")
|
|
319
|
-
click.echo("")
|
|
320
|
-
|
|
321
|
-
# Triggers
|
|
322
|
-
triggers = wf.get("triggers", {})
|
|
323
|
-
if triggers:
|
|
324
|
-
click.echo("## Triggers")
|
|
325
|
-
click.echo("")
|
|
326
|
-
|
|
327
|
-
types = triggers.get("types", [])
|
|
328
|
-
if types:
|
|
329
|
-
click.echo(f"**Types:** {', '.join(types)}")
|
|
330
|
-
|
|
331
|
-
points = triggers.get("points", {})
|
|
332
|
-
if points.get("min") is not None:
|
|
333
|
-
click.echo(f"**Points Min:** {points['min']}")
|
|
334
|
-
if points.get("max") is not None:
|
|
335
|
-
click.echo(f"**Points Max:** {points['max']}")
|
|
336
|
-
|
|
337
|
-
if triggers.get("default"):
|
|
338
|
-
click.echo("**Default:** yes (used when no other workflow matches)")
|
|
339
|
-
|
|
340
|
-
tags = triggers.get("tags", [])
|
|
341
|
-
if tags:
|
|
342
|
-
click.echo(f"**Tags:** {', '.join(tags)}")
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
@workflow.command("start")
|
|
346
|
-
@click.argument("name")
|
|
347
|
-
@click.option("--mode", "-m", default=None, help="Mode: create, validate, or edit")
|
|
348
|
-
def workflow_start_cmd(name: str, mode: str | None):
|
|
349
|
-
"""Start a stepped workflow from step 1.
|
|
350
|
-
|
|
351
|
-
Creates a new workflow session and loads the first step.
|
|
352
|
-
|
|
353
|
-
\b
|
|
354
|
-
Arguments:
|
|
355
|
-
NAME - Workflow name (e.g., architecture, release)
|
|
356
|
-
"""
|
|
357
|
-
from datetime import datetime
|
|
358
|
-
|
|
359
|
-
from pf.common.config import get_project_root
|
|
360
|
-
from pf.workflow.helpers import (
|
|
361
|
-
count_steps,
|
|
362
|
-
find_step_file,
|
|
363
|
-
find_workflow_file,
|
|
364
|
-
get_session_dir,
|
|
365
|
-
get_workflows_dir,
|
|
366
|
-
load_workflow_data,
|
|
367
|
-
resolve_steps_path,
|
|
368
|
-
strip_frontmatter,
|
|
369
|
-
)
|
|
370
|
-
|
|
371
|
-
project_root = get_project_root()
|
|
372
|
-
workflows_dir = get_workflows_dir(project_root)
|
|
373
|
-
session_dir = get_session_dir(project_root)
|
|
374
|
-
|
|
375
|
-
# Find workflow file
|
|
376
|
-
wf_file = find_workflow_file(workflows_dir, name)
|
|
377
|
-
if not wf_file:
|
|
378
|
-
click.echo(f"Error: Workflow '{name}' not found", err=True)
|
|
379
|
-
raise SystemExit(1)
|
|
380
|
-
|
|
381
|
-
data = load_workflow_data(wf_file)
|
|
382
|
-
wf = data.get("workflow", {})
|
|
383
|
-
|
|
384
|
-
# Validate it's a stepped workflow
|
|
385
|
-
wf_type = wf.get("type", "phased")
|
|
386
|
-
has_steps = wf.get("steps") is not None
|
|
387
|
-
if wf_type != "stepped" and not has_steps:
|
|
388
|
-
click.echo(f"Error: '{name}' is a phased workflow, not stepped", err=True)
|
|
389
|
-
click.echo("Use TDD workflow commands (/sm, /tea, /dev, /reviewer) for phased workflows", err=True)
|
|
390
|
-
raise SystemExit(1)
|
|
391
|
-
|
|
392
|
-
# Validate mode
|
|
393
|
-
if mode:
|
|
394
|
-
valid_modes = {"create", "validate", "edit"}
|
|
395
|
-
if mode not in valid_modes:
|
|
396
|
-
click.echo(f"Error: Invalid mode '{mode}'. Must be one of: {', '.join(sorted(valid_modes))}", err=True)
|
|
397
|
-
raise SystemExit(1)
|
|
398
|
-
|
|
399
|
-
# Resolve mode
|
|
400
|
-
effective_mode = mode
|
|
401
|
-
if not effective_mode:
|
|
402
|
-
default_mode = wf.get("modes", {}).get("default")
|
|
403
|
-
if default_mode:
|
|
404
|
-
effective_mode = default_mode
|
|
405
|
-
else:
|
|
406
|
-
effective_mode = "create"
|
|
407
|
-
|
|
408
|
-
# If explicit mode, validate it exists for this workflow
|
|
409
|
-
if mode:
|
|
410
|
-
modes = wf.get("modes", {})
|
|
411
|
-
mode_path = modes.get(mode)
|
|
412
|
-
if not mode_path or mode_path == "null":
|
|
413
|
-
available = [k for k in modes if k not in ("default", "available")]
|
|
414
|
-
click.echo(f"Error: Mode '{mode}' not available for workflow '{name}'", err=True)
|
|
415
|
-
if available:
|
|
416
|
-
click.echo(f"Available modes: {', '.join(available)}", err=True)
|
|
417
|
-
raise SystemExit(1)
|
|
418
|
-
|
|
419
|
-
# Resolve steps path
|
|
420
|
-
steps_path = resolve_steps_path(data, wf_file.parent, effective_mode, project_root)
|
|
421
|
-
step_count = count_steps(steps_path)
|
|
422
|
-
|
|
423
|
-
if step_count == 0:
|
|
424
|
-
click.echo(f"Error: No step files found in {steps_path}", err=True)
|
|
425
|
-
raise SystemExit(1)
|
|
426
|
-
|
|
427
|
-
# Create session directory
|
|
428
|
-
session_dir.mkdir(parents=True, exist_ok=True)
|
|
429
|
-
|
|
430
|
-
# Check for existing session
|
|
431
|
-
session_file = session_dir / f"{name}-workflow-session.md"
|
|
432
|
-
if session_file.exists():
|
|
433
|
-
click.echo("**Warning:** Existing session found")
|
|
434
|
-
click.echo("")
|
|
435
|
-
click.echo(f"Session: {session_file}")
|
|
436
|
-
click.echo("")
|
|
437
|
-
click.echo("Options:")
|
|
438
|
-
click.echo(f"1. Use `pf workflow resume {name}` to continue")
|
|
439
|
-
click.echo("2. Delete the session file to start fresh")
|
|
440
|
-
click.echo("")
|
|
441
|
-
click.echo("To start fresh, run:")
|
|
442
|
-
click.echo("```bash")
|
|
443
|
-
click.echo(f'rm "{session_file}"')
|
|
444
|
-
click.echo("```")
|
|
445
|
-
return
|
|
446
|
-
|
|
447
|
-
# Create session file
|
|
448
|
-
now = datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
|
|
449
|
-
wf_agent = wf.get("agent", "pm")
|
|
450
|
-
wf_desc = wf.get("description", "-")
|
|
451
|
-
|
|
452
|
-
session_content = f"""# Workflow Session: {name}
|
|
453
|
-
|
|
454
|
-
**Workflow:** {name}
|
|
455
|
-
**Type:** stepped
|
|
456
|
-
**Agent:** {wf_agent}
|
|
457
|
-
**Started:** {now}
|
|
458
|
-
|
|
459
|
-
## Workflow State
|
|
460
|
-
- **Workflow Name:** {name}
|
|
461
|
-
- **Type:** stepped
|
|
462
|
-
- **Mode:** {effective_mode}
|
|
463
|
-
- **Started:** {now}
|
|
464
|
-
- **Last Updated:** {now}
|
|
465
|
-
- **Current Step:** 1
|
|
466
|
-
- **Steps Completed:** []
|
|
467
|
-
- **Status:** in_progress
|
|
468
|
-
- **Notes:** Session created via pf workflow start
|
|
469
|
-
|
|
470
|
-
## Progress
|
|
471
|
-
- Total Steps: {step_count}
|
|
472
|
-
- Completion: 0%
|
|
473
|
-
|
|
474
|
-
---
|
|
475
|
-
|
|
476
|
-
"""
|
|
477
|
-
session_file.write_text(session_content)
|
|
478
|
-
|
|
479
|
-
# Find step 1
|
|
480
|
-
step_file = find_step_file(steps_path, 1)
|
|
481
|
-
if not step_file:
|
|
482
|
-
click.echo(f"Error: Could not find step 1 file in {steps_path}", err=True)
|
|
483
|
-
raise SystemExit(1)
|
|
484
|
-
|
|
485
|
-
# Output
|
|
486
|
-
click.echo(f"# Starting Workflow: {name}")
|
|
487
|
-
click.echo("")
|
|
488
|
-
click.echo(f"**Description:** {wf_desc}")
|
|
489
|
-
click.echo(f"**Mode:** {effective_mode}")
|
|
490
|
-
click.echo(f"**Steps:** {step_count}")
|
|
491
|
-
click.echo(f"**Agent:** {wf_agent}")
|
|
492
|
-
click.echo(f"**Session:** {session_file}")
|
|
493
|
-
click.echo("")
|
|
494
|
-
click.echo("---")
|
|
495
|
-
click.echo("")
|
|
496
|
-
click.echo(f"## Step 1 of {step_count}")
|
|
497
|
-
click.echo("")
|
|
498
|
-
|
|
499
|
-
step_content = step_file.read_text()
|
|
500
|
-
click.echo(strip_frontmatter(step_content))
|
|
501
|
-
|
|
502
|
-
click.echo("")
|
|
503
|
-
click.echo("---")
|
|
504
|
-
click.echo("")
|
|
505
|
-
click.echo("**Controls:**")
|
|
506
|
-
click.echo("- `C` - Continue to next step")
|
|
507
|
-
click.echo("- `pf workflow status` - Check progress")
|
|
508
|
-
click.echo("- `pf workflow resume` - Resume after break")
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
@workflow.command("resume")
|
|
512
|
-
@click.argument("name", required=False, default=None)
|
|
513
|
-
def workflow_resume_cmd(name: str | None):
|
|
514
|
-
"""Resume a stepped workflow from the current step.
|
|
515
|
-
|
|
516
|
-
\b
|
|
517
|
-
Arguments:
|
|
518
|
-
NAME - Workflow name (auto-detects from active session if omitted)
|
|
519
|
-
"""
|
|
520
|
-
from datetime import datetime
|
|
521
|
-
|
|
522
|
-
from pf.common.config import get_project_root
|
|
523
|
-
from pf.workflow.helpers import (
|
|
524
|
-
count_steps,
|
|
525
|
-
find_step_file,
|
|
526
|
-
find_workflow_file,
|
|
527
|
-
find_workflow_session,
|
|
528
|
-
get_session_dir,
|
|
529
|
-
get_workflows_dir,
|
|
530
|
-
load_workflow_data,
|
|
531
|
-
parse_session_field,
|
|
532
|
-
parse_steps_completed,
|
|
533
|
-
resolve_steps_path,
|
|
534
|
-
strip_frontmatter,
|
|
535
|
-
)
|
|
536
|
-
|
|
537
|
-
project_root = get_project_root()
|
|
538
|
-
workflows_dir = get_workflows_dir(project_root)
|
|
539
|
-
session_dir = get_session_dir(project_root)
|
|
540
|
-
|
|
541
|
-
if not session_dir.is_dir():
|
|
542
|
-
click.echo("# Resume Stepped Workflow")
|
|
543
|
-
click.echo("")
|
|
544
|
-
click.echo("No active workflow session found.")
|
|
545
|
-
click.echo("")
|
|
546
|
-
click.echo("Use `pf workflow start <name>` to begin a new workflow.")
|
|
547
|
-
raise SystemExit(1)
|
|
548
|
-
|
|
549
|
-
result = find_workflow_session(session_dir, name)
|
|
550
|
-
if not result:
|
|
551
|
-
if name:
|
|
552
|
-
click.echo(f"Error: No session found for workflow '{name}'", err=True)
|
|
553
|
-
click.echo(f"\nUse `pf workflow start {name}` to begin.", err=True)
|
|
554
|
-
else:
|
|
555
|
-
click.echo("# Resume Stepped Workflow")
|
|
556
|
-
click.echo("")
|
|
557
|
-
click.echo("No active workflow session found.")
|
|
558
|
-
click.echo("")
|
|
559
|
-
click.echo("Use `pf workflow start <name>` to begin a new workflow.")
|
|
560
|
-
raise SystemExit(1)
|
|
561
|
-
|
|
562
|
-
session_file, workflow_name = result
|
|
563
|
-
content = session_file.read_text()
|
|
564
|
-
|
|
565
|
-
# Parse session state
|
|
566
|
-
current_step_str = parse_session_field(content, "Current Step") or "1"
|
|
567
|
-
current_step = int(current_step_str)
|
|
568
|
-
mode_val = parse_session_field(content, "Mode") or "create"
|
|
569
|
-
status = parse_session_field(content, "Status") or "in_progress"
|
|
570
|
-
steps_completed_str = parse_session_field(content, "Steps Completed") or "[]"
|
|
571
|
-
|
|
572
|
-
# Check if complete
|
|
573
|
-
if status == "completed":
|
|
574
|
-
click.echo(f"# Workflow Complete: {workflow_name}")
|
|
575
|
-
click.echo("")
|
|
576
|
-
click.echo("This workflow has already been completed.")
|
|
577
|
-
click.echo("")
|
|
578
|
-
click.echo("To start a new session, delete the session file:")
|
|
579
|
-
click.echo("```bash")
|
|
580
|
-
click.echo(f'rm "{session_file}"')
|
|
581
|
-
click.echo("```")
|
|
582
|
-
click.echo("")
|
|
583
|
-
click.echo(f"Then run `pf workflow start {workflow_name}`")
|
|
584
|
-
return
|
|
585
|
-
|
|
586
|
-
# Find workflow definition
|
|
587
|
-
wf_file = find_workflow_file(workflows_dir, workflow_name)
|
|
588
|
-
if not wf_file:
|
|
589
|
-
click.echo(f"Error: Workflow definition '{workflow_name}' not found", err=True)
|
|
590
|
-
raise SystemExit(1)
|
|
591
|
-
|
|
592
|
-
data = load_workflow_data(wf_file)
|
|
593
|
-
|
|
594
|
-
# Resolve steps path
|
|
595
|
-
steps_path = resolve_steps_path(data, wf_file.parent, mode_val, project_root)
|
|
596
|
-
step_count = count_steps(steps_path)
|
|
597
|
-
|
|
598
|
-
# Find current step file
|
|
599
|
-
step_file = find_step_file(steps_path, current_step)
|
|
600
|
-
if not step_file:
|
|
601
|
-
click.echo(f"Error: Could not find step {current_step} file in {steps_path}", err=True)
|
|
602
|
-
raise SystemExit(1)
|
|
603
|
-
|
|
604
|
-
# Update last updated timestamp
|
|
605
|
-
now = datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
|
|
606
|
-
import re
|
|
607
|
-
|
|
608
|
-
updated_content = re.sub(
|
|
609
|
-
r"^- \*\*Last Updated:\*\*.*$",
|
|
610
|
-
f"- **Last Updated:** {now}",
|
|
611
|
-
content, flags=re.MULTILINE
|
|
612
|
-
)
|
|
613
|
-
session_file.write_text(updated_content)
|
|
614
|
-
|
|
615
|
-
# Calculate completion
|
|
616
|
-
steps_completed = parse_steps_completed(steps_completed_str)
|
|
617
|
-
completed_count = len(steps_completed)
|
|
618
|
-
completion_pct = (completed_count * 100 // step_count) if step_count > 0 else 0
|
|
619
|
-
|
|
620
|
-
# Output
|
|
621
|
-
click.echo(f"# Resuming Workflow: {workflow_name}")
|
|
622
|
-
click.echo("")
|
|
623
|
-
click.echo(f"**Mode:** {mode_val}")
|
|
624
|
-
click.echo(f"**Progress:** Step {current_step} of {step_count} ({completion_pct}% complete)")
|
|
625
|
-
click.echo(f"**Steps Completed:** {steps_completed_str}")
|
|
626
|
-
click.echo(f"**Session:** {session_file}")
|
|
627
|
-
click.echo("")
|
|
628
|
-
click.echo("---")
|
|
629
|
-
click.echo("")
|
|
630
|
-
click.echo(f"## Step {current_step} of {step_count}")
|
|
631
|
-
click.echo("")
|
|
632
|
-
|
|
633
|
-
step_content = step_file.read_text()
|
|
634
|
-
click.echo(strip_frontmatter(step_content))
|
|
635
|
-
|
|
636
|
-
click.echo("")
|
|
637
|
-
click.echo("---")
|
|
638
|
-
click.echo("")
|
|
639
|
-
click.echo("**Controls:**")
|
|
640
|
-
click.echo("- `C` - Continue to next step")
|
|
641
|
-
click.echo("- `pf workflow status` - Check progress")
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
@workflow.command("status")
|
|
645
|
-
@click.argument("name", required=False, default=None)
|
|
646
|
-
def workflow_status_cmd(name: str | None):
|
|
647
|
-
"""Show current stepped workflow progress.
|
|
648
|
-
|
|
649
|
-
\b
|
|
650
|
-
Arguments:
|
|
651
|
-
NAME - Workflow name (auto-detects from active session if omitted)
|
|
652
|
-
"""
|
|
653
|
-
from pf.common.config import get_project_root
|
|
654
|
-
from pf.workflow.helpers import (
|
|
655
|
-
count_steps,
|
|
656
|
-
find_workflow_file,
|
|
657
|
-
find_workflow_session,
|
|
658
|
-
get_session_dir,
|
|
659
|
-
get_workflows_dir,
|
|
660
|
-
load_workflow_data,
|
|
661
|
-
parse_session_field,
|
|
662
|
-
parse_steps_completed,
|
|
663
|
-
resolve_steps_path,
|
|
664
|
-
)
|
|
665
|
-
|
|
666
|
-
project_root = get_project_root()
|
|
667
|
-
workflows_dir = get_workflows_dir(project_root)
|
|
668
|
-
session_dir = get_session_dir(project_root)
|
|
669
|
-
|
|
670
|
-
if not session_dir.is_dir():
|
|
671
|
-
click.echo("# Workflow Status")
|
|
672
|
-
click.echo("")
|
|
673
|
-
click.echo("No active workflow session found.")
|
|
674
|
-
click.echo("")
|
|
675
|
-
click.echo("Use `pf workflow start <name>` to begin a new workflow.")
|
|
676
|
-
return
|
|
677
|
-
|
|
678
|
-
result = find_workflow_session(session_dir, name)
|
|
679
|
-
if not result:
|
|
680
|
-
if name:
|
|
681
|
-
click.echo(f"# Workflow Status: {name}")
|
|
682
|
-
click.echo("")
|
|
683
|
-
click.echo(f"No session found for workflow '{name}'")
|
|
684
|
-
click.echo("")
|
|
685
|
-
click.echo(f"Use `pf workflow start {name}` to begin.")
|
|
686
|
-
else:
|
|
687
|
-
click.echo("# Workflow Status")
|
|
688
|
-
click.echo("")
|
|
689
|
-
click.echo("No active workflow session found.")
|
|
690
|
-
click.echo("")
|
|
691
|
-
click.echo("Use `pf workflow start <name>` to begin a new workflow.")
|
|
692
|
-
return
|
|
693
|
-
|
|
694
|
-
session_file, workflow_name = result
|
|
695
|
-
content = session_file.read_text()
|
|
696
|
-
|
|
697
|
-
# Parse session state
|
|
698
|
-
current_step_str = parse_session_field(content, "Current Step") or "1"
|
|
699
|
-
current_step = int(current_step_str)
|
|
700
|
-
mode_val = parse_session_field(content, "Mode") or "create"
|
|
701
|
-
status = parse_session_field(content, "Status") or "in_progress"
|
|
702
|
-
started = parse_session_field(content, "Started") or "-"
|
|
703
|
-
last_updated = parse_session_field(content, "Last Updated") or "-"
|
|
704
|
-
steps_completed_str = parse_session_field(content, "Steps Completed") or "[]"
|
|
705
|
-
notes = parse_session_field(content, "Notes") or "-"
|
|
706
|
-
|
|
707
|
-
# Get step count from workflow file
|
|
708
|
-
step_count_str = "?"
|
|
709
|
-
wf_desc = "-"
|
|
710
|
-
wf_file = find_workflow_file(workflows_dir, workflow_name)
|
|
711
|
-
if wf_file:
|
|
712
|
-
data = load_workflow_data(wf_file)
|
|
713
|
-
wf_desc = data.get("workflow", {}).get("description", "-")
|
|
714
|
-
if isinstance(wf_desc, str):
|
|
715
|
-
wf_desc = wf_desc.split("\n")[0]
|
|
716
|
-
try:
|
|
717
|
-
steps_path = resolve_steps_path(data, wf_file.parent, mode_val, project_root)
|
|
718
|
-
step_count = count_steps(steps_path)
|
|
719
|
-
step_count_str = str(step_count)
|
|
720
|
-
except Exception:
|
|
721
|
-
step_count = 0
|
|
722
|
-
else:
|
|
723
|
-
step_count = 0
|
|
724
|
-
|
|
725
|
-
# Calculate completion
|
|
726
|
-
steps_completed = parse_steps_completed(steps_completed_str)
|
|
727
|
-
completed_count = len(steps_completed)
|
|
728
|
-
if step_count > 0:
|
|
729
|
-
completion_pct = completed_count * 100 // step_count
|
|
730
|
-
else:
|
|
731
|
-
completion_pct = 0
|
|
732
|
-
|
|
733
|
-
# Progress bar
|
|
734
|
-
bar_width = 20
|
|
735
|
-
if step_count > 0:
|
|
736
|
-
filled = completion_pct * bar_width // 100
|
|
737
|
-
empty = bar_width - filled
|
|
738
|
-
progress_bar = "#" * filled + "-" * empty
|
|
739
|
-
else:
|
|
740
|
-
progress_bar = "?" * bar_width
|
|
741
|
-
|
|
742
|
-
# Status indicator
|
|
743
|
-
status_icons = {
|
|
744
|
-
"completed": "[COMPLETE]",
|
|
745
|
-
"paused": "[PAUSED]",
|
|
746
|
-
}
|
|
747
|
-
status_icon = status_icons.get(status, "[IN PROGRESS]")
|
|
748
|
-
|
|
749
|
-
# Output
|
|
750
|
-
click.echo(f"# Workflow Status: {workflow_name}")
|
|
751
|
-
click.echo("")
|
|
752
|
-
click.echo(f"**Description:** {wf_desc}")
|
|
753
|
-
click.echo("")
|
|
754
|
-
click.echo("## Progress")
|
|
755
|
-
click.echo("")
|
|
756
|
-
click.echo("```")
|
|
757
|
-
click.echo(f"[{progress_bar}] {completion_pct}%")
|
|
758
|
-
click.echo("```")
|
|
759
|
-
click.echo("")
|
|
760
|
-
click.echo("| Field | Value |")
|
|
761
|
-
click.echo("|-------|-------|")
|
|
762
|
-
click.echo(f"| Status | {status_icon} |")
|
|
763
|
-
click.echo(f"| Mode | {mode_val} |")
|
|
764
|
-
click.echo(f"| Current Step | {current_step} of {step_count_str} |")
|
|
765
|
-
click.echo(f"| Completed | {completed_count} steps |")
|
|
766
|
-
click.echo(f"| Steps Done | {steps_completed_str} |")
|
|
767
|
-
click.echo(f"| Started | {started} |")
|
|
768
|
-
click.echo(f"| Last Updated | {last_updated} |")
|
|
769
|
-
if notes != "-":
|
|
770
|
-
click.echo(f"| Notes | {notes} |")
|
|
771
|
-
click.echo("")
|
|
772
|
-
click.echo(f"**Session:** {session_file}")
|
|
773
|
-
click.echo("")
|
|
774
|
-
|
|
775
|
-
if status != "completed":
|
|
776
|
-
click.echo(f"**Next:** Use `pf workflow resume` to continue from step {current_step}")
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
@workflow.command("fix-phase")
|
|
780
|
-
@click.argument("story_id")
|
|
781
|
-
@click.argument("target_phase")
|
|
782
|
-
@click.option("--dry-run", is_flag=True, help="Preview without making changes")
|
|
783
|
-
def workflow_fix_phase_cmd(story_id: str, target_phase: str, dry_run: bool):
|
|
784
|
-
"""Repair session phase tracking when handoffs didn't update properly.
|
|
785
|
-
|
|
786
|
-
\b
|
|
787
|
-
Arguments:
|
|
788
|
-
STORY_ID - Story ID (e.g., 56-1 or MSSCI-12190)
|
|
789
|
-
TARGET_PHASE - Target phase to set (e.g., review, approved, finish)
|
|
790
|
-
"""
|
|
791
|
-
import re
|
|
792
|
-
from datetime import datetime
|
|
793
|
-
|
|
794
|
-
from pf.common.config import get_project_root
|
|
795
|
-
from pf.workflow.helpers import (
|
|
796
|
-
find_story_session,
|
|
797
|
-
get_session_dir,
|
|
798
|
-
)
|
|
799
|
-
|
|
800
|
-
project_root = get_project_root()
|
|
801
|
-
session_dir = get_session_dir(project_root)
|
|
802
|
-
|
|
803
|
-
if not session_dir.is_dir():
|
|
804
|
-
click.echo(f"Error: Session directory not found at {session_dir}", err=True)
|
|
805
|
-
raise SystemExit(1)
|
|
806
|
-
|
|
807
|
-
session_file = find_story_session(session_dir, story_id)
|
|
808
|
-
if not session_file:
|
|
809
|
-
click.echo(f"Error: Session file not found for story {story_id}", err=True)
|
|
810
|
-
click.echo(f"Searched in: {session_dir}", err=True)
|
|
811
|
-
raise SystemExit(1)
|
|
812
|
-
|
|
813
|
-
click.echo(f"Session file: {session_file}")
|
|
814
|
-
|
|
815
|
-
content = session_file.read_text()
|
|
816
|
-
|
|
817
|
-
# Extract current state
|
|
818
|
-
current_phase_match = re.search(r"\*\*Phase:\*\*\s*(\S+)", content)
|
|
819
|
-
current_phase = current_phase_match.group(1) if current_phase_match else "unknown"
|
|
820
|
-
|
|
821
|
-
workflow_match = re.search(r"\*\*Workflow:\*\*\s*(\S+)", content)
|
|
822
|
-
workflow_name = workflow_match.group(1) if workflow_match else "tdd"
|
|
823
|
-
|
|
824
|
-
click.echo(f"Current phase: {current_phase}")
|
|
825
|
-
click.echo(f"Target phase: {target_phase}")
|
|
826
|
-
click.echo(f"Workflow: {workflow_name}")
|
|
827
|
-
|
|
828
|
-
# Define valid phase sequences
|
|
829
|
-
phase_defs: dict[str, tuple[list[str], list[str], list[str]]] = {
|
|
830
|
-
"tdd": (
|
|
831
|
-
["setup", "red", "green", "review", "approved", "finish"],
|
|
832
|
-
["sm", "tea", "dev", "reviewer", "sm", "sm"],
|
|
833
|
-
["manual", "tests_fail", "tests_pass", "approval", "complete", ""],
|
|
834
|
-
),
|
|
835
|
-
"trivial": (
|
|
836
|
-
["setup", "implement", "review", "approved", "finish"],
|
|
837
|
-
["sm", "dev", "reviewer", "sm", "sm"],
|
|
838
|
-
["manual", "tests_pass", "approval", "complete", ""],
|
|
839
|
-
),
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
phases, agents, gates = phase_defs.get(
|
|
843
|
-
workflow_name,
|
|
844
|
-
phase_defs["tdd"], # Default to TDD
|
|
845
|
-
)
|
|
846
|
-
|
|
847
|
-
if workflow_name not in phase_defs:
|
|
848
|
-
click.echo(f"Warning: Unknown workflow '{workflow_name}', assuming TDD")
|
|
849
|
-
|
|
850
|
-
# Find indices
|
|
851
|
-
try:
|
|
852
|
-
current_idx = phases.index(current_phase)
|
|
853
|
-
except ValueError as err:
|
|
854
|
-
click.echo(f"Error: Current phase '{current_phase}' not found in {workflow_name} workflow", err=True)
|
|
855
|
-
click.echo(f"Valid phases: {', '.join(phases)}", err=True)
|
|
856
|
-
raise SystemExit(1) from err
|
|
857
|
-
|
|
858
|
-
try:
|
|
859
|
-
target_idx = phases.index(target_phase)
|
|
860
|
-
except ValueError as err:
|
|
861
|
-
click.echo(f"Error: Target phase '{target_phase}' not found in {workflow_name} workflow", err=True)
|
|
862
|
-
click.echo(f"Valid phases: {', '.join(phases)}", err=True)
|
|
863
|
-
raise SystemExit(1) from err
|
|
864
|
-
|
|
865
|
-
if target_idx <= current_idx:
|
|
866
|
-
click.echo(f"Error: Target phase '{target_phase}' is not ahead of current phase '{current_phase}'", err=True)
|
|
867
|
-
click.echo(f"Phase sequence: {', '.join(phases)}", err=True)
|
|
868
|
-
raise SystemExit(1)
|
|
869
|
-
|
|
870
|
-
# Calculate transitions
|
|
871
|
-
now = datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
|
|
872
|
-
click.echo("")
|
|
873
|
-
click.echo("Transitions needed:")
|
|
874
|
-
|
|
875
|
-
transitions: list[tuple[str, str, str, str, str]] = []
|
|
876
|
-
for i in range(current_idx, target_idx):
|
|
877
|
-
from_phase = phases[i]
|
|
878
|
-
to_phase = phases[i + 1]
|
|
879
|
-
from_agent = agents[i]
|
|
880
|
-
to_agent = agents[i + 1]
|
|
881
|
-
gate = gates[i + 1]
|
|
882
|
-
click.echo(f" {from_phase} ({from_agent}) -> {to_phase} ({to_agent}) [gate: {gate}]")
|
|
883
|
-
transitions.append((from_phase, to_phase, from_agent, to_agent, gate))
|
|
884
|
-
|
|
885
|
-
if dry_run:
|
|
886
|
-
click.echo("")
|
|
887
|
-
click.echo("[DRY RUN] Would update session file with:")
|
|
888
|
-
click.echo(f" - **Phase:** {target_phase}")
|
|
889
|
-
click.echo(f" - **Phase Started:** {now}")
|
|
890
|
-
click.echo(f" - Phase History: close out {current_phase}, add intermediate phases")
|
|
891
|
-
click.echo(f" - Handoff History: add {len(transitions)} handoff(s)")
|
|
892
|
-
return
|
|
893
|
-
|
|
894
|
-
click.echo("")
|
|
895
|
-
click.echo("Updating session file...")
|
|
896
|
-
|
|
897
|
-
# Update Phase line
|
|
898
|
-
content = re.sub(
|
|
899
|
-
r"\*\*Phase:\*\*\s*\S+",
|
|
900
|
-
f"**Phase:** {target_phase}",
|
|
901
|
-
content,
|
|
902
|
-
)
|
|
903
|
-
|
|
904
|
-
# Update Phase Started line
|
|
905
|
-
content = re.sub(
|
|
906
|
-
r"\*\*Phase Started:\*\*\s*\S+",
|
|
907
|
-
f"**Phase Started:** {now}",
|
|
908
|
-
content,
|
|
909
|
-
)
|
|
910
|
-
|
|
911
|
-
# Build handoff history additions
|
|
912
|
-
handoff_lines = []
|
|
913
|
-
for _from_phase, _to_phase, from_agent, to_agent, gate in transitions:
|
|
914
|
-
handoff_lines.append(f"| {from_agent} | {to_agent} | {gate} | PASSED | {now} |")
|
|
915
|
-
|
|
916
|
-
# Insert handoff rows after the last PASSED/FAILED row
|
|
917
|
-
if handoff_lines:
|
|
918
|
-
lines = content.split("\n")
|
|
919
|
-
insert_idx = None
|
|
920
|
-
for i, line in enumerate(lines):
|
|
921
|
-
if ("PASSED" in line or "FAILED" in line) and line.strip().startswith("|"):
|
|
922
|
-
insert_idx = i
|
|
923
|
-
|
|
924
|
-
if insert_idx is not None:
|
|
925
|
-
for j, hl in enumerate(handoff_lines):
|
|
926
|
-
lines.insert(insert_idx + 1 + j, hl)
|
|
927
|
-
content = "\n".join(lines)
|
|
928
|
-
|
|
929
|
-
session_file.write_text(content)
|
|
930
|
-
|
|
931
|
-
click.echo("")
|
|
932
|
-
click.echo("Session file updated")
|
|
933
|
-
click.echo(f" Phase: {current_phase} -> {target_phase}")
|
|
934
|
-
click.echo(f" Handoffs added: {len(transitions)}")
|
|
935
|
-
click.echo("")
|
|
936
|
-
click.echo("Note: Phase History end times set to now. Review and adjust if needed.")
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
@workflow.command("complete-step")
|
|
940
|
-
@click.argument("name", required=False, default=None)
|
|
941
|
-
@click.option("--step", "step_override", type=int, default=None,
|
|
942
|
-
help="Complete a specific step number instead of current step")
|
|
943
|
-
def workflow_complete_step_cmd(name: str | None, step_override: int | None):
|
|
944
|
-
"""Complete the current step of a stepped workflow.
|
|
945
|
-
|
|
946
|
-
Advances session state: increments current step, updates steps completed,
|
|
947
|
-
recalculates completion percentage. Marks workflow as completed when
|
|
948
|
-
all steps are done.
|
|
949
|
-
|
|
950
|
-
\b
|
|
951
|
-
Arguments:
|
|
952
|
-
NAME - Workflow name (auto-detects from session if omitted)
|
|
953
|
-
"""
|
|
954
|
-
import re
|
|
955
|
-
from datetime import datetime
|
|
956
|
-
|
|
957
|
-
from pf.common.config import get_project_root
|
|
958
|
-
from pf.workflow.helpers import (
|
|
959
|
-
count_steps,
|
|
960
|
-
find_step_file,
|
|
961
|
-
find_workflow_file,
|
|
962
|
-
find_workflow_session,
|
|
963
|
-
format_steps_completed,
|
|
964
|
-
get_session_dir,
|
|
965
|
-
get_workflows_dir,
|
|
966
|
-
load_workflow_data,
|
|
967
|
-
parse_session_field,
|
|
968
|
-
parse_steps_completed,
|
|
969
|
-
resolve_steps_path,
|
|
970
|
-
strip_frontmatter,
|
|
971
|
-
)
|
|
972
|
-
|
|
973
|
-
project_root = get_project_root()
|
|
974
|
-
workflows_dir = get_workflows_dir(project_root)
|
|
975
|
-
session_dir = get_session_dir(project_root)
|
|
976
|
-
|
|
977
|
-
if not session_dir.is_dir():
|
|
978
|
-
click.echo("Error: No active workflow session found.", err=True)
|
|
979
|
-
raise SystemExit(1)
|
|
980
|
-
|
|
981
|
-
result = find_workflow_session(session_dir, name)
|
|
982
|
-
if not result:
|
|
983
|
-
if name:
|
|
984
|
-
click.echo(f"Error: No session found for workflow '{name}'", err=True)
|
|
985
|
-
click.echo(f"\nUse `pf workflow start {name}` to begin.", err=True)
|
|
986
|
-
else:
|
|
987
|
-
click.echo("Error: No active workflow session found.", err=True)
|
|
988
|
-
raise SystemExit(1)
|
|
989
|
-
|
|
990
|
-
session_file, workflow_name = result
|
|
991
|
-
content = session_file.read_text()
|
|
992
|
-
|
|
993
|
-
# Parse session state
|
|
994
|
-
current_step_str = parse_session_field(content, "Current Step") or "1"
|
|
995
|
-
current_step = int(current_step_str)
|
|
996
|
-
mode_val = parse_session_field(content, "Mode") or "create"
|
|
997
|
-
status = parse_session_field(content, "Status") or "in_progress"
|
|
998
|
-
steps_completed_str = parse_session_field(content, "Steps Completed") or "[]"
|
|
999
|
-
|
|
1000
|
-
# Check if already completed
|
|
1001
|
-
if status == "completed":
|
|
1002
|
-
click.echo(f"# Workflow Already Completed: {workflow_name}")
|
|
1003
|
-
click.echo("")
|
|
1004
|
-
click.echo("This workflow has already been completed.")
|
|
1005
|
-
click.echo("")
|
|
1006
|
-
click.echo("To start a new session, delete the session file:")
|
|
1007
|
-
click.echo("```bash")
|
|
1008
|
-
click.echo(f'rm "{session_file}"')
|
|
1009
|
-
click.echo("```")
|
|
1010
|
-
click.echo("")
|
|
1011
|
-
click.echo(f"Then run `pf workflow start {workflow_name}`")
|
|
1012
|
-
return
|
|
1013
|
-
|
|
1014
|
-
# Determine which step to complete
|
|
1015
|
-
completing_step = step_override if step_override is not None else current_step
|
|
1016
|
-
|
|
1017
|
-
# Find workflow file and resolve steps path
|
|
1018
|
-
wf_file = find_workflow_file(workflows_dir, workflow_name)
|
|
1019
|
-
if not wf_file:
|
|
1020
|
-
click.echo(f"Error: Workflow definition '{workflow_name}' not found", err=True)
|
|
1021
|
-
raise SystemExit(1)
|
|
1022
|
-
|
|
1023
|
-
data = load_workflow_data(wf_file)
|
|
1024
|
-
steps_path = resolve_steps_path(data, wf_file.parent, mode_val, project_root)
|
|
1025
|
-
step_count = count_steps(steps_path)
|
|
1026
|
-
|
|
1027
|
-
# Update steps completed
|
|
1028
|
-
steps_completed = parse_steps_completed(steps_completed_str)
|
|
1029
|
-
if completing_step not in steps_completed:
|
|
1030
|
-
steps_completed.append(completing_step)
|
|
1031
|
-
new_steps_completed = format_steps_completed(steps_completed)
|
|
1032
|
-
|
|
1033
|
-
# Calculate
|
|
1034
|
-
next_step = completing_step + 1
|
|
1035
|
-
completed_count = len(steps_completed)
|
|
1036
|
-
completion_pct = (completed_count * 100 // step_count) if step_count > 0 else 0
|
|
1037
|
-
new_status = "completed" if completed_count >= step_count else "in_progress"
|
|
1038
|
-
|
|
1039
|
-
# Update session file
|
|
1040
|
-
now = datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
|
|
1041
|
-
|
|
1042
|
-
content = re.sub(
|
|
1043
|
-
r"^- \*\*Current Step:\*\*.*$",
|
|
1044
|
-
f"- **Current Step:** {next_step}",
|
|
1045
|
-
content, flags=re.MULTILINE
|
|
1046
|
-
)
|
|
1047
|
-
content = re.sub(
|
|
1048
|
-
r"^- \*\*Steps Completed:\*\*.*$",
|
|
1049
|
-
f"- **Steps Completed:** {new_steps_completed}",
|
|
1050
|
-
content, flags=re.MULTILINE
|
|
1051
|
-
)
|
|
1052
|
-
content = re.sub(
|
|
1053
|
-
r"^- \*\*Last Updated:\*\*.*$",
|
|
1054
|
-
f"- **Last Updated:** {now}",
|
|
1055
|
-
content, flags=re.MULTILINE
|
|
1056
|
-
)
|
|
1057
|
-
content = re.sub(
|
|
1058
|
-
r"^- \*\*Status:\*\*.*$",
|
|
1059
|
-
f"- **Status:** {new_status}",
|
|
1060
|
-
content, flags=re.MULTILINE
|
|
1061
|
-
)
|
|
1062
|
-
content = re.sub(
|
|
1063
|
-
r"^- Completion:.*$",
|
|
1064
|
-
f"- Completion: {completion_pct}%",
|
|
1065
|
-
content, flags=re.MULTILINE
|
|
1066
|
-
)
|
|
1067
|
-
|
|
1068
|
-
session_file.write_text(content)
|
|
1069
|
-
|
|
1070
|
-
# Output
|
|
1071
|
-
if new_status == "completed":
|
|
1072
|
-
click.echo(f"# Workflow Complete: {workflow_name}")
|
|
1073
|
-
click.echo("")
|
|
1074
|
-
click.echo(f"All {step_count} steps completed!")
|
|
1075
|
-
click.echo("")
|
|
1076
|
-
click.echo(f"**Final Progress:** {completion_pct}%")
|
|
1077
|
-
click.echo(f"**Steps Completed:** {new_steps_completed}")
|
|
1078
|
-
click.echo("")
|
|
1079
|
-
click.echo(f"Session updated: {session_file}")
|
|
1080
|
-
else:
|
|
1081
|
-
click.echo(f"# Step {completing_step} Complete")
|
|
1082
|
-
click.echo("")
|
|
1083
|
-
click.echo(f"**Progress:** Step {next_step} of {step_count} ({completion_pct}% complete)")
|
|
1084
|
-
click.echo(f"**Steps Completed:** {new_steps_completed}")
|
|
1085
|
-
click.echo("")
|
|
1086
|
-
click.echo("---")
|
|
1087
|
-
click.echo("")
|
|
1088
|
-
click.echo(f"## Step {next_step} of {step_count}")
|
|
1089
|
-
click.echo("")
|
|
1090
|
-
|
|
1091
|
-
next_step_file = find_step_file(steps_path, next_step)
|
|
1092
|
-
if next_step_file:
|
|
1093
|
-
step_content = next_step_file.read_text()
|
|
1094
|
-
click.echo(strip_frontmatter(step_content))
|
|
1095
|
-
|
|
1096
|
-
click.echo("")
|
|
1097
|
-
click.echo("---")
|
|
1098
|
-
click.echo("")
|
|
1099
|
-
click.echo("**Controls:**")
|
|
1100
|
-
click.echo("- `C` - Continue to next step")
|
|
1101
|
-
click.echo("- `pf workflow status` - Check progress")
|