@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
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
"""Tests for event-driven Jira sync on story transitions.
|
|
2
|
+
|
|
3
|
+
Story: MSSCI-15429 - Event-driven Jira sync on story transitions
|
|
4
|
+
|
|
5
|
+
TDD RED phase: All tests should FAIL until implementation.
|
|
6
|
+
|
|
7
|
+
Every story transition via the state machine immediately syncs to Jira.
|
|
8
|
+
Batch reconcile/sync commands become audit tools that report drift,
|
|
9
|
+
not primary sync mechanism.
|
|
10
|
+
|
|
11
|
+
Acceptance Criteria:
|
|
12
|
+
1. AC1 - Story transitions sync to Jira in real-time
|
|
13
|
+
2. AC2 - pf sprint reconcile becomes audit-only (reports drift, doesn't fix)
|
|
14
|
+
3. AC3 - Transition failures are reported clearly, no silent drift
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from pathlib import Path
|
|
18
|
+
from unittest.mock import MagicMock, patch
|
|
19
|
+
|
|
20
|
+
import pytest
|
|
21
|
+
|
|
22
|
+
from pf.sprint.story_transition import transition_story
|
|
23
|
+
|
|
24
|
+
# =============================================================================
|
|
25
|
+
# Test Fixtures
|
|
26
|
+
# =============================================================================
|
|
27
|
+
|
|
28
|
+
SPRINT_YAML = """\
|
|
29
|
+
sprint:
|
|
30
|
+
name: "TO Sprint 2608"
|
|
31
|
+
jira_sprint_id: 280
|
|
32
|
+
jira_sprint_name: "TO Sprint 2608"
|
|
33
|
+
goal: Event-driven Jira sync
|
|
34
|
+
start_date: 2026-02-10
|
|
35
|
+
end_date: 2026-02-23
|
|
36
|
+
status: active
|
|
37
|
+
epics:
|
|
38
|
+
- id: "125"
|
|
39
|
+
type: epic
|
|
40
|
+
title: "Sprint State Engine Consolidation"
|
|
41
|
+
priority: p1
|
|
42
|
+
status: in_progress
|
|
43
|
+
jira: MSSCI-15421
|
|
44
|
+
stories:
|
|
45
|
+
- id: 125-7
|
|
46
|
+
title: Story lifecycle state machine
|
|
47
|
+
points: 3
|
|
48
|
+
priority: p2
|
|
49
|
+
status: backlog
|
|
50
|
+
jira: MSSCI-15428
|
|
51
|
+
workflow: tdd
|
|
52
|
+
- id: 125-8
|
|
53
|
+
title: Event-driven Jira sync
|
|
54
|
+
points: 3
|
|
55
|
+
priority: p2
|
|
56
|
+
status: in_progress
|
|
57
|
+
jira: MSSCI-15429
|
|
58
|
+
started: "2026-02-15"
|
|
59
|
+
assigned_to: kavery
|
|
60
|
+
workflow: tdd
|
|
61
|
+
- id: 125-9
|
|
62
|
+
title: Focus commands
|
|
63
|
+
points: 2
|
|
64
|
+
priority: p3
|
|
65
|
+
status: in_review
|
|
66
|
+
jira: MSSCI-15430
|
|
67
|
+
workflow: trivial
|
|
68
|
+
- id: 125-10
|
|
69
|
+
title: Already done story
|
|
70
|
+
points: 2
|
|
71
|
+
priority: p3
|
|
72
|
+
status: done
|
|
73
|
+
jira: MSSCI-15431
|
|
74
|
+
completed: "2026-02-20"
|
|
75
|
+
workflow: trivial
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@pytest.fixture
|
|
80
|
+
def project(tmp_path: Path) -> Path:
|
|
81
|
+
"""Create a project directory with sprint YAML and session dir."""
|
|
82
|
+
sprint_dir = tmp_path / "sprint"
|
|
83
|
+
sprint_dir.mkdir()
|
|
84
|
+
(sprint_dir / "current-sprint.yaml").write_text(SPRINT_YAML)
|
|
85
|
+
(sprint_dir / "archive").mkdir()
|
|
86
|
+
(tmp_path / ".session").mkdir()
|
|
87
|
+
return tmp_path
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
@pytest.fixture
|
|
91
|
+
def session_for_finish(project: Path) -> Path:
|
|
92
|
+
"""Create a session file for the finish story tests."""
|
|
93
|
+
session_path = project / ".session" / "125-9-session.md"
|
|
94
|
+
session_path.write_text(
|
|
95
|
+
"# Story 125-9: Focus commands\n\n"
|
|
96
|
+
"- **Jira Key:** MSSCI-15430\n"
|
|
97
|
+
"- **Workflow:** trivial\n"
|
|
98
|
+
"- **Phase:** approved\n"
|
|
99
|
+
"- **Repos:** pennyfarthing\n"
|
|
100
|
+
"- **PR:** #999 - Focus commands\n"
|
|
101
|
+
"- **Branch:** feature/125-9-focus-commands\n"
|
|
102
|
+
)
|
|
103
|
+
return session_path
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# =============================================================================
|
|
107
|
+
# AC1: Story transitions sync to Jira in real-time
|
|
108
|
+
# =============================================================================
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class TestClaimUsesStateMachine:
|
|
112
|
+
"""AC1: claim_story delegates Jira transition to the state machine."""
|
|
113
|
+
|
|
114
|
+
@patch("pf.jira.client.get_current_user_email", return_value="test@example.com")
|
|
115
|
+
@patch("pf.jira.claim.get_client")
|
|
116
|
+
def test_claim_does_not_call_transition_sync_directly(
|
|
117
|
+
self,
|
|
118
|
+
mock_get_client: MagicMock,
|
|
119
|
+
mock_email: MagicMock,
|
|
120
|
+
) -> None:
|
|
121
|
+
"""claim_story should NOT call client.transition_sync directly.
|
|
122
|
+
|
|
123
|
+
Currently claim_story calls client.transition_sync("In Progress")
|
|
124
|
+
directly (line 121 of claim.py). After implementation, it should
|
|
125
|
+
delegate to transition_story so all transitions flow through the
|
|
126
|
+
state machine. This test verifies the direct call is removed.
|
|
127
|
+
"""
|
|
128
|
+
from pf.jira.claim import claim_story
|
|
129
|
+
|
|
130
|
+
mock_client = MagicMock()
|
|
131
|
+
mock_client.get_issue_sync.return_value = {
|
|
132
|
+
"key": "MSSCI-15428",
|
|
133
|
+
"fields": {
|
|
134
|
+
"summary": "Test",
|
|
135
|
+
"status": {"name": "To Do"},
|
|
136
|
+
"assignee": None,
|
|
137
|
+
},
|
|
138
|
+
}
|
|
139
|
+
mock_client.assign_issue_sync.return_value = {"success": True}
|
|
140
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
141
|
+
mock_get_client.return_value = mock_client
|
|
142
|
+
|
|
143
|
+
claim_story("MSSCI-15428")
|
|
144
|
+
|
|
145
|
+
# Should NOT call transition_sync directly — the state machine handles it
|
|
146
|
+
mock_client.transition_sync.assert_not_called()
|
|
147
|
+
|
|
148
|
+
def test_claim_module_imports_transition_story(self) -> None:
|
|
149
|
+
"""claim.py should import transition_story from the state machine.
|
|
150
|
+
|
|
151
|
+
This verifies the wiring: claim delegates to the state machine
|
|
152
|
+
rather than calling Jira directly.
|
|
153
|
+
"""
|
|
154
|
+
import pf.jira.claim as claim_module
|
|
155
|
+
|
|
156
|
+
assert hasattr(claim_module, "transition_story"), (
|
|
157
|
+
"claim.py should import transition_story from pf.sprint.story_transition"
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
class TestFinishUsesStateMachine:
|
|
162
|
+
"""AC1: finish_story delegates Jira transition to the state machine."""
|
|
163
|
+
|
|
164
|
+
def test_finish_module_imports_transition_story(self) -> None:
|
|
165
|
+
"""story_finish.py should import transition_story from the state machine.
|
|
166
|
+
|
|
167
|
+
This verifies the wiring: finish delegates to the state machine
|
|
168
|
+
rather than calling Jira directly and updating YAML itself.
|
|
169
|
+
"""
|
|
170
|
+
import pf.sprint.story_finish as finish_module
|
|
171
|
+
|
|
172
|
+
assert hasattr(finish_module, "transition_story"), (
|
|
173
|
+
"story_finish.py should import transition_story from "
|
|
174
|
+
"pf.sprint.story_transition"
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
@patch("pf.common.pr_config.get_pr_merge_mode", return_value="auto")
|
|
178
|
+
@patch("pf.sprint.story_finish._run")
|
|
179
|
+
@patch("pf.jira.client.get_client")
|
|
180
|
+
def test_finish_does_not_call_jira_transition_directly(
|
|
181
|
+
self,
|
|
182
|
+
mock_get_client: MagicMock,
|
|
183
|
+
mock_run: MagicMock,
|
|
184
|
+
mock_pr_mode: MagicMock,
|
|
185
|
+
project: Path,
|
|
186
|
+
session_for_finish: Path,
|
|
187
|
+
) -> None:
|
|
188
|
+
"""finish_story should NOT call client.transition_sync directly.
|
|
189
|
+
|
|
190
|
+
Currently finish_story calls get_client().transition_sync(jira_key, "Done")
|
|
191
|
+
directly (line 190 of story_finish.py). After implementation, it should
|
|
192
|
+
delegate to transition_story which handles both YAML + Jira atomically.
|
|
193
|
+
"""
|
|
194
|
+
from pf.sprint.story_finish import finish_story
|
|
195
|
+
|
|
196
|
+
mock_client = MagicMock()
|
|
197
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
198
|
+
mock_get_client.return_value = mock_client
|
|
199
|
+
mock_run.return_value = MagicMock(returncode=0, stdout="", stderr="")
|
|
200
|
+
|
|
201
|
+
finish_story(project, "125-9")
|
|
202
|
+
|
|
203
|
+
# Should NOT call transition_sync directly — the state machine does it
|
|
204
|
+
mock_client.transition_sync.assert_not_called()
|
|
205
|
+
|
|
206
|
+
@patch("pf.common.pr_config.get_pr_merge_mode", return_value="auto")
|
|
207
|
+
@patch("pf.sprint.story_finish._run")
|
|
208
|
+
@patch("pf.jira.client.get_client")
|
|
209
|
+
def test_finish_does_not_update_yaml_status_directly(
|
|
210
|
+
self,
|
|
211
|
+
mock_get_client: MagicMock,
|
|
212
|
+
mock_run: MagicMock,
|
|
213
|
+
mock_pr_mode: MagicMock,
|
|
214
|
+
project: Path,
|
|
215
|
+
session_for_finish: Path,
|
|
216
|
+
) -> None:
|
|
217
|
+
"""finish_story should NOT directly set story['status'] = 'done' in YAML.
|
|
218
|
+
|
|
219
|
+
The state machine handles YAML updates atomically with Jira sync.
|
|
220
|
+
finish_story should delegate this to transition_story, not duplicate
|
|
221
|
+
the logic with its own read_sprint/find_story/write_sprint cycle.
|
|
222
|
+
"""
|
|
223
|
+
import pf.sprint.story_finish as story_finish_mod
|
|
224
|
+
|
|
225
|
+
# write_sprint should not even be imported — transition_story handles
|
|
226
|
+
# all YAML writes. Not having the import is a stronger guarantee than
|
|
227
|
+
# mocking it and asserting not-called.
|
|
228
|
+
assert not hasattr(story_finish_mod, "write_sprint"), (
|
|
229
|
+
"story_finish should not import write_sprint — "
|
|
230
|
+
"transition_story handles YAML updates"
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class TestAllTransitionsFireJiraSync:
|
|
235
|
+
"""AC1: Every valid transition through the state machine triggers Jira sync."""
|
|
236
|
+
|
|
237
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
238
|
+
def test_backlog_to_in_progress_syncs_jira(
|
|
239
|
+
self, mock_get_client: MagicMock, project: Path
|
|
240
|
+
) -> None:
|
|
241
|
+
"""backlog → in_progress should sync to Jira."""
|
|
242
|
+
mock_client = MagicMock()
|
|
243
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
244
|
+
mock_get_client.return_value = mock_client
|
|
245
|
+
|
|
246
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
247
|
+
|
|
248
|
+
assert result["success"] is True
|
|
249
|
+
mock_client.transition_sync.assert_called_once_with("MSSCI-15428", "In Progress")
|
|
250
|
+
|
|
251
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
252
|
+
def test_in_progress_to_in_review_syncs_jira(
|
|
253
|
+
self, mock_get_client: MagicMock, project: Path
|
|
254
|
+
) -> None:
|
|
255
|
+
"""in_progress → in_review should sync to Jira."""
|
|
256
|
+
mock_client = MagicMock()
|
|
257
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
258
|
+
mock_get_client.return_value = mock_client
|
|
259
|
+
|
|
260
|
+
result = transition_story(project, "125-8", "in_review")
|
|
261
|
+
|
|
262
|
+
assert result["success"] is True
|
|
263
|
+
mock_client.transition_sync.assert_called_once_with("MSSCI-15429", "In Review")
|
|
264
|
+
|
|
265
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
266
|
+
def test_in_review_to_done_syncs_jira(
|
|
267
|
+
self, mock_get_client: MagicMock, project: Path
|
|
268
|
+
) -> None:
|
|
269
|
+
"""in_review → done should sync to Jira."""
|
|
270
|
+
mock_client = MagicMock()
|
|
271
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
272
|
+
mock_get_client.return_value = mock_client
|
|
273
|
+
|
|
274
|
+
result = transition_story(project, "125-9", "done")
|
|
275
|
+
|
|
276
|
+
assert result["success"] is True
|
|
277
|
+
mock_client.transition_sync.assert_called_once_with("MSSCI-15430", "Done")
|
|
278
|
+
|
|
279
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
280
|
+
def test_any_to_canceled_syncs_jira(
|
|
281
|
+
self, mock_get_client: MagicMock, project: Path
|
|
282
|
+
) -> None:
|
|
283
|
+
"""any → canceled should sync to Jira."""
|
|
284
|
+
mock_client = MagicMock()
|
|
285
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
286
|
+
mock_get_client.return_value = mock_client
|
|
287
|
+
|
|
288
|
+
result = transition_story(project, "125-7", "canceled")
|
|
289
|
+
|
|
290
|
+
assert result["success"] is True
|
|
291
|
+
mock_client.transition_sync.assert_called_once_with("MSSCI-15428", "Canceled")
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
# =============================================================================
|
|
295
|
+
# AC2: pf sprint reconcile becomes audit-only
|
|
296
|
+
# =============================================================================
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
class TestReconcileAuditOnly:
|
|
300
|
+
"""AC2: reconcile reports drift but never fixes it."""
|
|
301
|
+
|
|
302
|
+
@patch("pf.jira.reconcile.get_client")
|
|
303
|
+
@patch("pf.jira.reconcile.load_sprint")
|
|
304
|
+
def test_reconcile_fix_flag_is_deprecated(
|
|
305
|
+
self,
|
|
306
|
+
mock_load: MagicMock,
|
|
307
|
+
mock_get_client: MagicMock,
|
|
308
|
+
) -> None:
|
|
309
|
+
"""reconcile(fix=True) should indicate that fix mode is deprecated.
|
|
310
|
+
|
|
311
|
+
With event-driven sync, reconcile is audit-only. The result should
|
|
312
|
+
include fix_deprecated=True so callers know fix mode no longer applies.
|
|
313
|
+
"""
|
|
314
|
+
from pf.jira.reconcile import reconcile
|
|
315
|
+
|
|
316
|
+
mock_load.return_value = {
|
|
317
|
+
"sprint": {"name": "Test", "jira_sprint_id": 280},
|
|
318
|
+
"epics": [
|
|
319
|
+
{
|
|
320
|
+
"id": "125",
|
|
321
|
+
"jira": "MSSCI-15421",
|
|
322
|
+
"title": "Test Epic",
|
|
323
|
+
"stories": [
|
|
324
|
+
{
|
|
325
|
+
"id": "125-1",
|
|
326
|
+
"jira": "MSSCI-15428",
|
|
327
|
+
"status": "in_progress",
|
|
328
|
+
"title": "Test Story",
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
mock_client = MagicMock()
|
|
336
|
+
mock_client.get_issue_sync.return_value = {
|
|
337
|
+
"key": "MSSCI-15428",
|
|
338
|
+
"fields": {"status": {"name": "In Progress"}},
|
|
339
|
+
}
|
|
340
|
+
mock_client.search_issues_sync.return_value = []
|
|
341
|
+
mock_get_client.return_value = mock_client
|
|
342
|
+
|
|
343
|
+
result = reconcile(fix=True)
|
|
344
|
+
|
|
345
|
+
# Result must explicitly flag that fix mode is deprecated
|
|
346
|
+
assert result.get("fix_deprecated") is True, (
|
|
347
|
+
"reconcile(fix=True) should return fix_deprecated=True"
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
@patch("pf.jira.reconcile.get_client")
|
|
351
|
+
@patch("pf.jira.reconcile.load_sprint")
|
|
352
|
+
def test_reconcile_never_calls_add_to_sprint(
|
|
353
|
+
self,
|
|
354
|
+
mock_load: MagicMock,
|
|
355
|
+
mock_get_client: MagicMock,
|
|
356
|
+
) -> None:
|
|
357
|
+
"""reconcile should never call add_to_sprint_sync, even with fix=True.
|
|
358
|
+
|
|
359
|
+
Reconcile is now audit-only. All mutations go through the state machine.
|
|
360
|
+
"""
|
|
361
|
+
from pf.jira.reconcile import reconcile
|
|
362
|
+
|
|
363
|
+
mock_load.return_value = {
|
|
364
|
+
"sprint": {"name": "Test", "jira_sprint_id": 280},
|
|
365
|
+
"epics": [
|
|
366
|
+
{
|
|
367
|
+
"id": "125",
|
|
368
|
+
"jira": "MSSCI-15421",
|
|
369
|
+
"title": "Test Epic",
|
|
370
|
+
"stories": [
|
|
371
|
+
{
|
|
372
|
+
"id": "125-1",
|
|
373
|
+
"jira": "MSSCI-15428",
|
|
374
|
+
"status": "backlog",
|
|
375
|
+
"title": "Test Story",
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
mock_client = MagicMock()
|
|
383
|
+
mock_client.get_issue_sync.return_value = {
|
|
384
|
+
"key": "MSSCI-15428",
|
|
385
|
+
"fields": {"status": {"name": "To Do"}},
|
|
386
|
+
}
|
|
387
|
+
# Simulate a story that's in YAML but not in Jira sprint
|
|
388
|
+
mock_client.search_issues_sync.side_effect = [
|
|
389
|
+
[], # sprint issues (no orphans)
|
|
390
|
+
[{"key": "MSSCI-15428", "fields": {"summary": "Test"}}], # not in sprint
|
|
391
|
+
]
|
|
392
|
+
mock_get_client.return_value = mock_client
|
|
393
|
+
|
|
394
|
+
reconcile(fix=True)
|
|
395
|
+
|
|
396
|
+
# Should NEVER call add_to_sprint_sync — that's a mutation
|
|
397
|
+
mock_client.add_to_sprint_sync.assert_not_called()
|
|
398
|
+
|
|
399
|
+
@patch("pf.jira.reconcile.get_client")
|
|
400
|
+
@patch("pf.jira.reconcile.load_sprint")
|
|
401
|
+
def test_reconcile_reports_drift_categories(
|
|
402
|
+
self,
|
|
403
|
+
mock_load: MagicMock,
|
|
404
|
+
mock_get_client: MagicMock,
|
|
405
|
+
) -> None:
|
|
406
|
+
"""reconcile should report drift in clear categories."""
|
|
407
|
+
from pf.jira.reconcile import reconcile
|
|
408
|
+
|
|
409
|
+
mock_load.return_value = {
|
|
410
|
+
"sprint": {"name": "Test", "jira_sprint_id": 280},
|
|
411
|
+
"epics": [
|
|
412
|
+
{
|
|
413
|
+
"id": "125",
|
|
414
|
+
"jira": "MSSCI-15421",
|
|
415
|
+
"title": "Test Epic",
|
|
416
|
+
"stories": [
|
|
417
|
+
{
|
|
418
|
+
"id": "125-1",
|
|
419
|
+
"jira": "MSSCI-15428",
|
|
420
|
+
"status": "in_progress",
|
|
421
|
+
"title": "Drifted Story",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
mock_client = MagicMock()
|
|
429
|
+
# Jira says "To Do" but YAML says "in_progress" — status drift
|
|
430
|
+
mock_client.get_issue_sync.return_value = {
|
|
431
|
+
"key": "MSSCI-15428",
|
|
432
|
+
"fields": {"status": {"name": "To Do"}},
|
|
433
|
+
}
|
|
434
|
+
mock_client.search_issues_sync.return_value = []
|
|
435
|
+
mock_get_client.return_value = mock_client
|
|
436
|
+
|
|
437
|
+
result = reconcile()
|
|
438
|
+
|
|
439
|
+
assert result["success"] is True
|
|
440
|
+
assert len(result["mismatches"]) > 0
|
|
441
|
+
assert "report" in result
|
|
442
|
+
assert "audit" in result["report"].lower() or "drift" in result["report"].lower(), (
|
|
443
|
+
"Report should use audit/drift language, not fix language"
|
|
444
|
+
)
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
# =============================================================================
|
|
448
|
+
# AC3: Transition failures are reported clearly, no silent drift
|
|
449
|
+
# =============================================================================
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
class TestClearFailureReporting:
|
|
453
|
+
"""AC3: Failures produce clear, actionable error messages."""
|
|
454
|
+
|
|
455
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
456
|
+
def test_jira_failure_includes_drift_warning(
|
|
457
|
+
self, mock_get_client: MagicMock, project: Path
|
|
458
|
+
) -> None:
|
|
459
|
+
"""When Jira sync fails, result should flag drift state.
|
|
460
|
+
|
|
461
|
+
YAML was updated but Jira was not — this is drift. The result
|
|
462
|
+
should make this explicit so callers can act on it.
|
|
463
|
+
"""
|
|
464
|
+
mock_client = MagicMock()
|
|
465
|
+
mock_client.transition_sync.return_value = {
|
|
466
|
+
"success": False,
|
|
467
|
+
"error": "Transition 'In Progress' not available",
|
|
468
|
+
}
|
|
469
|
+
mock_get_client.return_value = mock_client
|
|
470
|
+
|
|
471
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
472
|
+
|
|
473
|
+
assert result["success"] is False
|
|
474
|
+
# Should explicitly flag that drift now exists
|
|
475
|
+
assert result.get("drift") is True, (
|
|
476
|
+
"Result should include drift=True when YAML updated but Jira failed"
|
|
477
|
+
)
|
|
478
|
+
|
|
479
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
480
|
+
def test_jira_failure_includes_remediation(
|
|
481
|
+
self, mock_get_client: MagicMock, project: Path
|
|
482
|
+
) -> None:
|
|
483
|
+
"""Jira failure should include a remediation suggestion.
|
|
484
|
+
|
|
485
|
+
The user needs to know HOW to fix the drift — e.g., run
|
|
486
|
+
`pf jira move MSSCI-XXXXX "In Progress"` manually.
|
|
487
|
+
"""
|
|
488
|
+
mock_client = MagicMock()
|
|
489
|
+
mock_client.transition_sync.return_value = {
|
|
490
|
+
"success": False,
|
|
491
|
+
"error": "No transition available",
|
|
492
|
+
}
|
|
493
|
+
mock_get_client.return_value = mock_client
|
|
494
|
+
|
|
495
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
496
|
+
|
|
497
|
+
assert result["success"] is False
|
|
498
|
+
assert "remediation" in result, (
|
|
499
|
+
"Result should include a remediation field with fix instructions"
|
|
500
|
+
)
|
|
501
|
+
assert "MSSCI-15428" in result["remediation"], (
|
|
502
|
+
"Remediation should reference the specific Jira key"
|
|
503
|
+
)
|
|
504
|
+
|
|
505
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
506
|
+
def test_jira_exception_includes_drift_warning(
|
|
507
|
+
self, mock_get_client: MagicMock, project: Path
|
|
508
|
+
) -> None:
|
|
509
|
+
"""Jira exception (network error etc.) should also flag drift."""
|
|
510
|
+
mock_client = MagicMock()
|
|
511
|
+
mock_client.transition_sync.side_effect = ConnectionError("Network timeout")
|
|
512
|
+
mock_get_client.return_value = mock_client
|
|
513
|
+
|
|
514
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
515
|
+
|
|
516
|
+
assert result["success"] is False
|
|
517
|
+
assert result.get("drift") is True, (
|
|
518
|
+
"Network errors should also flag drift state"
|
|
519
|
+
)
|
|
520
|
+
|
|
521
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
522
|
+
def test_partial_failure_error_includes_step_details(
|
|
523
|
+
self, mock_get_client: MagicMock, project: Path
|
|
524
|
+
) -> None:
|
|
525
|
+
"""Partial failure error message should specify which steps failed."""
|
|
526
|
+
mock_client = MagicMock()
|
|
527
|
+
mock_client.transition_sync.return_value = {
|
|
528
|
+
"success": False,
|
|
529
|
+
"error": "Invalid transition",
|
|
530
|
+
}
|
|
531
|
+
mock_get_client.return_value = mock_client
|
|
532
|
+
|
|
533
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
534
|
+
|
|
535
|
+
assert result["success"] is False
|
|
536
|
+
# Error should name the specific failed step
|
|
537
|
+
jira_step = next(
|
|
538
|
+
s for s in result["steps"] if s["action"] == "jira_transition"
|
|
539
|
+
)
|
|
540
|
+
assert jira_step["success"] is False
|
|
541
|
+
assert "error" in jira_step
|
|
542
|
+
|
|
543
|
+
# The top-level error should be more descriptive than just "Partial failure"
|
|
544
|
+
assert "jira" in result["error"].lower() or "drift" in result["error"].lower(), (
|
|
545
|
+
"Top-level error should mention Jira or drift, not just 'Partial failure'"
|
|
546
|
+
)
|
|
547
|
+
|
|
548
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
549
|
+
def test_successful_transition_no_drift_flag(
|
|
550
|
+
self, mock_get_client: MagicMock, project: Path
|
|
551
|
+
) -> None:
|
|
552
|
+
"""Successful transition should not have drift flag."""
|
|
553
|
+
mock_client = MagicMock()
|
|
554
|
+
mock_client.transition_sync.return_value = {"success": True}
|
|
555
|
+
mock_get_client.return_value = mock_client
|
|
556
|
+
|
|
557
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
558
|
+
|
|
559
|
+
assert result["success"] is True
|
|
560
|
+
assert result.get("drift") is not True, (
|
|
561
|
+
"Successful transition should not flag drift"
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
@patch("pf.sprint.story_transition.get_client")
|
|
565
|
+
def test_no_silent_swallowed_errors(
|
|
566
|
+
self, mock_get_client: MagicMock, project: Path
|
|
567
|
+
) -> None:
|
|
568
|
+
"""Every Jira error should surface in the result — no silent failures.
|
|
569
|
+
|
|
570
|
+
The result should contain ALL error information, not swallow any
|
|
571
|
+
exception details.
|
|
572
|
+
"""
|
|
573
|
+
mock_client = MagicMock()
|
|
574
|
+
mock_client.transition_sync.side_effect = RuntimeError(
|
|
575
|
+
"Jira API returned 403: Forbidden"
|
|
576
|
+
)
|
|
577
|
+
mock_get_client.return_value = mock_client
|
|
578
|
+
|
|
579
|
+
result = transition_story(project, "125-7", "in_progress")
|
|
580
|
+
|
|
581
|
+
assert result["success"] is False
|
|
582
|
+
# The specific error message should be preserved, not genericized
|
|
583
|
+
jira_step = next(
|
|
584
|
+
s for s in result["steps"] if s["action"] == "jira_transition"
|
|
585
|
+
)
|
|
586
|
+
assert "403" in jira_step["error"] or "Forbidden" in jira_step["error"], (
|
|
587
|
+
"Original error details should be preserved in step error"
|
|
588
|
+
)
|