@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,564 @@
|
|
|
1
|
+
"""ProgressPanel — Unified story progress view for BikeRack TUI.
|
|
2
|
+
|
|
3
|
+
Combines sprint-level metrics (burndown, epic progress, velocity, recently
|
|
4
|
+
completed) with story context, workflow phase, acceptance criteria, todos,
|
|
5
|
+
and git status into a single at-a-glance panel. Subscribes to 4 WS channels:
|
|
6
|
+
/ws/story, /ws/todos, /ws/git, /ws/sprint.
|
|
7
|
+
|
|
8
|
+
Story 120-8: Added Enter keybinding for story detail drill-through.
|
|
9
|
+
Story 120-3: Added sprint burndown, epic progress, velocity/timeline,
|
|
10
|
+
and recently completed sections.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
from datetime import date, datetime
|
|
16
|
+
from typing import Any
|
|
17
|
+
|
|
18
|
+
from rich.console import Group
|
|
19
|
+
from rich.text import Text
|
|
20
|
+
from textual.binding import Binding
|
|
21
|
+
|
|
22
|
+
from pf.bikerack.base_panel import (
|
|
23
|
+
PANEL_ICONS,
|
|
24
|
+
BasePanel,
|
|
25
|
+
render_progress_bar,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class ProgressPanel(BasePanel):
|
|
30
|
+
"""Unified story progress panel.
|
|
31
|
+
|
|
32
|
+
Subscribes to ``story``, ``todos``, ``git``, and ``sprint`` channels.
|
|
33
|
+
Renders a compact overview combining story header, workflow phase,
|
|
34
|
+
AC progress, todo progress, and git summary.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
channel: str = "story" # primary channel
|
|
38
|
+
panel_name: str = "Progress"
|
|
39
|
+
icon: str = PANEL_ICONS.get("progress", ("\uf200", "P"))[0]
|
|
40
|
+
|
|
41
|
+
BINDINGS = [
|
|
42
|
+
Binding("enter", "drill_detail", "Story Details", show=False),
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
def __init__(self, client: Any = None, **kwargs: Any) -> None:
|
|
46
|
+
super().__init__(client=client, **kwargs)
|
|
47
|
+
self._story_data: dict[str, Any] | None = None
|
|
48
|
+
self._todos_data: dict[str, Any] | None = None
|
|
49
|
+
self._git_data: dict[str, Any] | None = None
|
|
50
|
+
self._sprint_data: dict[str, Any] | None = None
|
|
51
|
+
self._sprint_dates: dict[str, str] = {}
|
|
52
|
+
|
|
53
|
+
def on_mount(self) -> None:
|
|
54
|
+
"""Subscribe to all 4 channels and load sprint dates."""
|
|
55
|
+
self._mounted = True
|
|
56
|
+
self._sprint_dates = self._load_sprint_dates()
|
|
57
|
+
if self._client is not None:
|
|
58
|
+
self._client.subscribe("story", self._handle_story)
|
|
59
|
+
self._client.subscribe("todos", self._handle_todos)
|
|
60
|
+
self._client.subscribe("git", self._handle_git)
|
|
61
|
+
self._client.subscribe("sprint", self._handle_sprint)
|
|
62
|
+
|
|
63
|
+
def _load_sprint_dates(self) -> dict[str, str]:
|
|
64
|
+
"""Load start/end dates from sprint YAML (once at mount)."""
|
|
65
|
+
try:
|
|
66
|
+
from pf.sprint.loader import get_sprint_info
|
|
67
|
+
|
|
68
|
+
info = get_sprint_info()
|
|
69
|
+
return {
|
|
70
|
+
"start_date": info.get("start_date", ""),
|
|
71
|
+
"end_date": info.get("end_date", ""),
|
|
72
|
+
}
|
|
73
|
+
except Exception:
|
|
74
|
+
return {}
|
|
75
|
+
|
|
76
|
+
def _handle_story(self, message: dict[str, Any] | None) -> None:
|
|
77
|
+
if message is None:
|
|
78
|
+
return
|
|
79
|
+
self._story_data = message
|
|
80
|
+
self._rerender()
|
|
81
|
+
|
|
82
|
+
def _handle_todos(self, message: dict[str, Any] | None) -> None:
|
|
83
|
+
if message is None:
|
|
84
|
+
return
|
|
85
|
+
self._todos_data = message
|
|
86
|
+
self._rerender()
|
|
87
|
+
|
|
88
|
+
def _handle_git(self, message: dict[str, Any] | None) -> None:
|
|
89
|
+
if message is None:
|
|
90
|
+
return
|
|
91
|
+
self._git_data = message
|
|
92
|
+
self._rerender()
|
|
93
|
+
|
|
94
|
+
def _handle_sprint(self, message: dict[str, Any] | None) -> None:
|
|
95
|
+
if message is None:
|
|
96
|
+
return
|
|
97
|
+
self._sprint_data = message
|
|
98
|
+
self._rerender()
|
|
99
|
+
|
|
100
|
+
def _rerender(self) -> None:
|
|
101
|
+
"""Re-render with latest data from all channels."""
|
|
102
|
+
rendered = self.render_panel({})
|
|
103
|
+
try:
|
|
104
|
+
self.update(rendered)
|
|
105
|
+
except Exception:
|
|
106
|
+
pass
|
|
107
|
+
|
|
108
|
+
def drill_into_story(self) -> None:
|
|
109
|
+
"""Push StoryDetailScreen for the current story."""
|
|
110
|
+
story_data = self._build_story_detail_data()
|
|
111
|
+
if story_data is None:
|
|
112
|
+
return
|
|
113
|
+
from pf.bikerack.story_detail_screen import StoryDetailScreen
|
|
114
|
+
|
|
115
|
+
try:
|
|
116
|
+
self.app.push_screen(StoryDetailScreen(story_data=story_data))
|
|
117
|
+
except Exception:
|
|
118
|
+
pass
|
|
119
|
+
|
|
120
|
+
def action_drill_detail(self) -> None:
|
|
121
|
+
"""Action handler for Enter keybinding — drill into story details."""
|
|
122
|
+
self.drill_into_story()
|
|
123
|
+
|
|
124
|
+
def _build_story_detail_data(self) -> dict[str, Any] | None:
|
|
125
|
+
"""Build story_data dict suitable for StoryDetailScreen."""
|
|
126
|
+
story = self._story_data or {}
|
|
127
|
+
sprint = self._sprint_data or {}
|
|
128
|
+
|
|
129
|
+
current = sprint.get("sprint", {}).get("currentStory")
|
|
130
|
+
if isinstance(current, str) and current:
|
|
131
|
+
story_id = current
|
|
132
|
+
else:
|
|
133
|
+
story_id = story.get("id", "")
|
|
134
|
+
|
|
135
|
+
if not story_id and not story.get("title"):
|
|
136
|
+
return None
|
|
137
|
+
|
|
138
|
+
return {
|
|
139
|
+
"id": story_id,
|
|
140
|
+
"title": story.get("title", ""),
|
|
141
|
+
"points": story.get("points", ""),
|
|
142
|
+
"status": story.get("status", ""),
|
|
143
|
+
"assignee": story.get("assignee", ""),
|
|
144
|
+
"workflow": story.get("workflow", ""),
|
|
145
|
+
"workflow_phase": story.get("phase", ""),
|
|
146
|
+
**{k: v for k, v in story.items() if k not in (
|
|
147
|
+
"id", "title", "points", "status", "assignee", "workflow", "phase",
|
|
148
|
+
)},
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
def _separator(self) -> Text:
|
|
152
|
+
"""Return a width-aware horizontal separator."""
|
|
153
|
+
w = self.size.width - 2 if self.size.width > 4 else 35
|
|
154
|
+
return Text("\u2500" * w, style="dim")
|
|
155
|
+
|
|
156
|
+
def render_panel(self, payload: dict[str, Any]) -> Any:
|
|
157
|
+
"""Render unified progress view."""
|
|
158
|
+
parts: list[Any] = []
|
|
159
|
+
|
|
160
|
+
# --- Story Header ---
|
|
161
|
+
story_header = self._render_story_header()
|
|
162
|
+
if story_header is None:
|
|
163
|
+
return Text(
|
|
164
|
+
"No active story \u2014 start with /sprint work",
|
|
165
|
+
style="dim italic",
|
|
166
|
+
)
|
|
167
|
+
parts.append(story_header)
|
|
168
|
+
parts.append(self._separator())
|
|
169
|
+
|
|
170
|
+
# --- Sprint Burndown ---
|
|
171
|
+
burndown = self._render_burndown()
|
|
172
|
+
if burndown is not None:
|
|
173
|
+
parts.append(burndown)
|
|
174
|
+
parts.append(self._separator())
|
|
175
|
+
|
|
176
|
+
# --- Per-Epic Progress ---
|
|
177
|
+
epics = self._render_epics_progress()
|
|
178
|
+
if epics is not None:
|
|
179
|
+
parts.append(epics)
|
|
180
|
+
parts.append(self._separator())
|
|
181
|
+
|
|
182
|
+
# --- Velocity & Timeline ---
|
|
183
|
+
velocity = self._render_velocity_timeline()
|
|
184
|
+
if velocity is not None:
|
|
185
|
+
parts.append(velocity)
|
|
186
|
+
parts.append(self._separator())
|
|
187
|
+
|
|
188
|
+
# --- Recently Completed ---
|
|
189
|
+
recent = self._render_recently_completed()
|
|
190
|
+
if recent is not None:
|
|
191
|
+
parts.append(recent)
|
|
192
|
+
parts.append(self._separator())
|
|
193
|
+
|
|
194
|
+
# --- Workflow Phase ---
|
|
195
|
+
workflow = self._render_workflow()
|
|
196
|
+
if workflow is not None:
|
|
197
|
+
parts.append(workflow)
|
|
198
|
+
parts.append(self._separator())
|
|
199
|
+
|
|
200
|
+
# --- Acceptance Criteria ---
|
|
201
|
+
ac = self._render_ac()
|
|
202
|
+
if ac is not None:
|
|
203
|
+
parts.append(ac)
|
|
204
|
+
parts.append(self._separator())
|
|
205
|
+
|
|
206
|
+
# --- Todos ---
|
|
207
|
+
todos = self._render_todos()
|
|
208
|
+
if todos is not None:
|
|
209
|
+
parts.append(todos)
|
|
210
|
+
parts.append(self._separator())
|
|
211
|
+
|
|
212
|
+
# --- Git Summary ---
|
|
213
|
+
git = self._render_git()
|
|
214
|
+
if git is not None:
|
|
215
|
+
parts.append(git)
|
|
216
|
+
|
|
217
|
+
# --- Drill-through hint ---
|
|
218
|
+
parts.append(Text(""))
|
|
219
|
+
parts.append(Text("[Enter] Story Details", style="dim"))
|
|
220
|
+
|
|
221
|
+
return Group(*parts)
|
|
222
|
+
|
|
223
|
+
def _render_story_header(self) -> Text | None:
|
|
224
|
+
"""Render story ID, title, points, epic, assignee."""
|
|
225
|
+
story = self._story_data or {}
|
|
226
|
+
sprint = self._sprint_data or {}
|
|
227
|
+
|
|
228
|
+
# Try sprint data for current story context
|
|
229
|
+
current = sprint.get("sprint", {}).get("currentStory")
|
|
230
|
+
if isinstance(current, str) and current:
|
|
231
|
+
story_id = current
|
|
232
|
+
else:
|
|
233
|
+
story_id = story.get("id", "")
|
|
234
|
+
|
|
235
|
+
title = story.get("title", "")
|
|
236
|
+
points = story.get("points", "")
|
|
237
|
+
epic = story.get("epic", "")
|
|
238
|
+
assignee = story.get("assignee", "")
|
|
239
|
+
|
|
240
|
+
# Also try to extract from sprint epics
|
|
241
|
+
if not title and sprint:
|
|
242
|
+
for ep in sprint.get("epics", []):
|
|
243
|
+
for s in ep.get("stories", []):
|
|
244
|
+
if s.get("id") == story_id:
|
|
245
|
+
title = s.get("title", "")
|
|
246
|
+
points = s.get("points", "")
|
|
247
|
+
epic = ep.get("id", "")
|
|
248
|
+
break
|
|
249
|
+
|
|
250
|
+
if not story_id and not title:
|
|
251
|
+
return None
|
|
252
|
+
|
|
253
|
+
header = Text()
|
|
254
|
+
if story_id:
|
|
255
|
+
header.append(story_id, style="bold cyan")
|
|
256
|
+
header.append(" ")
|
|
257
|
+
if title:
|
|
258
|
+
header.append(title, style="bold")
|
|
259
|
+
if points:
|
|
260
|
+
header.append(f" {points}pt", style="dim")
|
|
261
|
+
|
|
262
|
+
# Second line: epic + assignee
|
|
263
|
+
meta_parts: list[str] = []
|
|
264
|
+
if epic:
|
|
265
|
+
meta_parts.append(f"Epic {epic}")
|
|
266
|
+
if assignee:
|
|
267
|
+
meta_parts.append(assignee)
|
|
268
|
+
if meta_parts:
|
|
269
|
+
header.append("\n")
|
|
270
|
+
header.append(" \u00b7 ".join(meta_parts), style="dim")
|
|
271
|
+
|
|
272
|
+
return header
|
|
273
|
+
|
|
274
|
+
def _render_burndown(self) -> Text | None:
|
|
275
|
+
"""Render sprint burndown bar with done/remaining/WIP counts."""
|
|
276
|
+
sprint = (self._sprint_data or {}).get("sprint", {})
|
|
277
|
+
if not sprint:
|
|
278
|
+
return None
|
|
279
|
+
|
|
280
|
+
done = sprint.get("done", 0)
|
|
281
|
+
remaining = sprint.get("remaining", 0)
|
|
282
|
+
in_progress = sprint.get("inProgress", 0)
|
|
283
|
+
total = done + remaining + in_progress
|
|
284
|
+
if total == 0:
|
|
285
|
+
return None
|
|
286
|
+
|
|
287
|
+
pct = int(done / total * 100)
|
|
288
|
+
sprint_num = sprint.get("number", "")
|
|
289
|
+
|
|
290
|
+
line = Text()
|
|
291
|
+
if sprint_num:
|
|
292
|
+
line.append(f"Sprint {sprint_num} ", style="bold")
|
|
293
|
+
line.append_text(render_progress_bar(pct, width=20, fill_style="green"))
|
|
294
|
+
line.append(f" {done}d", style="green")
|
|
295
|
+
line.append(f" \u00b7 {remaining}r", style="dim")
|
|
296
|
+
line.append(f" \u00b7 {in_progress}w", style="yellow" if in_progress else "dim")
|
|
297
|
+
return line
|
|
298
|
+
|
|
299
|
+
def _render_epics_progress(self) -> Text | None:
|
|
300
|
+
"""Render per-epic progress bars (max 5 active epics)."""
|
|
301
|
+
epics = (self._sprint_data or {}).get("epics", [])
|
|
302
|
+
if not epics:
|
|
303
|
+
return None
|
|
304
|
+
|
|
305
|
+
# Filter to epics with at least one non-done story
|
|
306
|
+
active: list[tuple[dict[str, Any], int, int]] = []
|
|
307
|
+
for ep in epics:
|
|
308
|
+
if not isinstance(ep, dict):
|
|
309
|
+
continue
|
|
310
|
+
done_s, total_s, _dp, _tp = _epic_stats(ep)
|
|
311
|
+
if total_s > 0 and done_s < total_s:
|
|
312
|
+
active.append((ep, done_s, total_s))
|
|
313
|
+
if not active:
|
|
314
|
+
return None
|
|
315
|
+
|
|
316
|
+
lines = Text()
|
|
317
|
+
lines.append("Epics\n", style="bold")
|
|
318
|
+
for ep, done_s, total_s in active[:5]:
|
|
319
|
+
epic_id = str(ep.get("id", ""))
|
|
320
|
+
title = ep.get("title", "")
|
|
321
|
+
pct = int(done_s / total_s * 100)
|
|
322
|
+
lines.append(f" {epic_id:<5}", style="dim")
|
|
323
|
+
lines.append_text(render_progress_bar(pct, width=10, fill_style="dim green"))
|
|
324
|
+
lines.append(f" {done_s}/{total_s} {title}\n")
|
|
325
|
+
return lines
|
|
326
|
+
|
|
327
|
+
def _render_velocity_timeline(self) -> Text | None:
|
|
328
|
+
"""Render days remaining, velocity, and projected completion."""
|
|
329
|
+
sprint = (self._sprint_data or {}).get("sprint", {})
|
|
330
|
+
if not sprint:
|
|
331
|
+
return None
|
|
332
|
+
|
|
333
|
+
# Parse dates — prefer YAML-loaded start, WS end, then fallback
|
|
334
|
+
start_str = self._sprint_dates.get("start_date", "") or sprint.get("startDate", "")
|
|
335
|
+
end_str = sprint.get("endDate", "") or self._sprint_dates.get("end_date", "")
|
|
336
|
+
if not start_str or not end_str:
|
|
337
|
+
return None
|
|
338
|
+
|
|
339
|
+
try:
|
|
340
|
+
start = datetime.strptime(start_str[:10], "%Y-%m-%d").date()
|
|
341
|
+
end = datetime.strptime(end_str[:10], "%Y-%m-%d").date()
|
|
342
|
+
except (ValueError, TypeError):
|
|
343
|
+
return None
|
|
344
|
+
|
|
345
|
+
today = date.today()
|
|
346
|
+
total_days = max((end - start).days, 1)
|
|
347
|
+
elapsed = max((today - start).days, 0)
|
|
348
|
+
days_left = max((end - today).days, 0)
|
|
349
|
+
|
|
350
|
+
done = sprint.get("done", 0)
|
|
351
|
+
remaining = sprint.get("remaining", 0) + sprint.get("inProgress", 0)
|
|
352
|
+
|
|
353
|
+
pts_per_day = round(done / max(elapsed, 1), 1)
|
|
354
|
+
on_track = pts_per_day * days_left >= remaining if days_left > 0 else done >= remaining + done
|
|
355
|
+
|
|
356
|
+
line = Text()
|
|
357
|
+
line.append(f"Day {elapsed}/{total_days} ", style="bold")
|
|
358
|
+
line.append(f"{days_left}d left ", style="dim")
|
|
359
|
+
line.append(f"{pts_per_day} pts/day ")
|
|
360
|
+
if on_track:
|
|
361
|
+
line.append("on track \u2713", style="green")
|
|
362
|
+
else:
|
|
363
|
+
line.append("at risk \u2717", style="red")
|
|
364
|
+
return line
|
|
365
|
+
|
|
366
|
+
def _render_recently_completed(self) -> Text | None:
|
|
367
|
+
"""Render last 3 completed stories."""
|
|
368
|
+
epics = (self._sprint_data or {}).get("epics", [])
|
|
369
|
+
if not epics:
|
|
370
|
+
return None
|
|
371
|
+
|
|
372
|
+
done_stories: list[dict[str, Any]] = []
|
|
373
|
+
for ep in epics:
|
|
374
|
+
if not isinstance(ep, dict):
|
|
375
|
+
continue
|
|
376
|
+
for s in ep.get("stories", []):
|
|
377
|
+
if isinstance(s, dict) and s.get("status") == "done":
|
|
378
|
+
done_stories.append(s)
|
|
379
|
+
|
|
380
|
+
if not done_stories:
|
|
381
|
+
return None
|
|
382
|
+
|
|
383
|
+
# Sort by completed date descending, take last 3
|
|
384
|
+
done_stories.sort(
|
|
385
|
+
key=lambda s: s.get("completed", "") or "",
|
|
386
|
+
reverse=True,
|
|
387
|
+
)
|
|
388
|
+
|
|
389
|
+
lines = Text()
|
|
390
|
+
lines.append("Done\n", style="bold")
|
|
391
|
+
for s in done_stories[:3]:
|
|
392
|
+
sid = s.get("id", "")
|
|
393
|
+
title = s.get("title", "")
|
|
394
|
+
pts = s.get("points", "")
|
|
395
|
+
lines.append(f" \u2713 {sid:<8}", style="green")
|
|
396
|
+
lines.append(f"{title}")
|
|
397
|
+
if pts:
|
|
398
|
+
lines.append(f" {pts}pt", style="dim")
|
|
399
|
+
lines.append("\n")
|
|
400
|
+
return lines
|
|
401
|
+
|
|
402
|
+
def _render_workflow(self) -> Text | None:
|
|
403
|
+
"""Render workflow type badge and phase dots."""
|
|
404
|
+
story = self._story_data or {}
|
|
405
|
+
workflow = story.get("workflow", "")
|
|
406
|
+
phases = story.get("workflowPhases", [])
|
|
407
|
+
current_phase = story.get("phase", "")
|
|
408
|
+
|
|
409
|
+
if not phases:
|
|
410
|
+
return None
|
|
411
|
+
|
|
412
|
+
line = Text()
|
|
413
|
+
|
|
414
|
+
# Workflow type badge
|
|
415
|
+
if workflow:
|
|
416
|
+
line.append(f"[{workflow}]", style="bold")
|
|
417
|
+
line.append(" ")
|
|
418
|
+
|
|
419
|
+
# Phase dots
|
|
420
|
+
for i, phase in enumerate(phases):
|
|
421
|
+
phase_name = phase if isinstance(phase, str) else phase.get("name", "")
|
|
422
|
+
phase_status = ""
|
|
423
|
+
if isinstance(phase, dict):
|
|
424
|
+
phase_status = phase.get("status", "")
|
|
425
|
+
|
|
426
|
+
# Determine phase state
|
|
427
|
+
if phase_status == "done" or (current_phase and phase_name != current_phase and _phase_before(phase_name, current_phase, phases)):
|
|
428
|
+
line.append("\u2713", style="green")
|
|
429
|
+
elif phase_name == current_phase:
|
|
430
|
+
line.append("\u25cf", style="bold yellow")
|
|
431
|
+
else:
|
|
432
|
+
line.append("\u25cb", style="dim")
|
|
433
|
+
|
|
434
|
+
line.append(f" {phase_name}", style="bold" if phase_name == current_phase else "dim")
|
|
435
|
+
|
|
436
|
+
if i < len(phases) - 1:
|
|
437
|
+
line.append(" \u2192 ", style="dim")
|
|
438
|
+
|
|
439
|
+
return line
|
|
440
|
+
|
|
441
|
+
def _render_ac(self) -> Text | None:
|
|
442
|
+
"""Render acceptance criteria progress bar."""
|
|
443
|
+
story = self._story_data or {}
|
|
444
|
+
criteria = story.get("criteria", [])
|
|
445
|
+
if not criteria:
|
|
446
|
+
return None
|
|
447
|
+
|
|
448
|
+
total = len(criteria)
|
|
449
|
+
done = sum(1 for c in criteria if isinstance(c, dict) and c.get("met"))
|
|
450
|
+
|
|
451
|
+
if total == 0:
|
|
452
|
+
return None
|
|
453
|
+
|
|
454
|
+
pct = int(done / total * 100)
|
|
455
|
+
line = Text()
|
|
456
|
+
line.append("AC ", style="bold")
|
|
457
|
+
line.append_text(render_progress_bar(pct, width=10))
|
|
458
|
+
line.append(f" {done}/{total}")
|
|
459
|
+
return line
|
|
460
|
+
|
|
461
|
+
def _render_todos(self) -> Text | None:
|
|
462
|
+
"""Render todo progress bar with active task."""
|
|
463
|
+
data = self._todos_data or {}
|
|
464
|
+
todos = data.get("todos", [])
|
|
465
|
+
if not todos:
|
|
466
|
+
return None
|
|
467
|
+
|
|
468
|
+
total = len(todos)
|
|
469
|
+
done = sum(1 for t in todos if isinstance(t, dict) and t.get("status") == "done")
|
|
470
|
+
active = None
|
|
471
|
+
for t in todos:
|
|
472
|
+
if isinstance(t, dict) and t.get("status") in ("in-progress", "active", "running"):
|
|
473
|
+
active = t.get("description", t.get("title", ""))
|
|
474
|
+
break
|
|
475
|
+
|
|
476
|
+
if total == 0:
|
|
477
|
+
return None
|
|
478
|
+
|
|
479
|
+
pct = int(done / total * 100)
|
|
480
|
+
line = Text()
|
|
481
|
+
line.append("Todo ", style="bold")
|
|
482
|
+
line.append_text(render_progress_bar(pct, width=10))
|
|
483
|
+
line.append(f" {done}/{total}")
|
|
484
|
+
if active:
|
|
485
|
+
line.append(f" \u25cf {active}", style="yellow")
|
|
486
|
+
return line
|
|
487
|
+
|
|
488
|
+
def _render_git(self) -> Text | None:
|
|
489
|
+
"""Render git summary: branch, dirty counts, ahead/behind."""
|
|
490
|
+
data = self._git_data or {}
|
|
491
|
+
repos = data.get("repos", [])
|
|
492
|
+
if not repos:
|
|
493
|
+
return None
|
|
494
|
+
|
|
495
|
+
line = Text()
|
|
496
|
+
line.append("Git ", style="bold")
|
|
497
|
+
|
|
498
|
+
for repo in repos:
|
|
499
|
+
if not isinstance(repo, dict):
|
|
500
|
+
continue
|
|
501
|
+
branch = repo.get("branch", "")
|
|
502
|
+
dirty_files = repo.get("dirtyFiles", [])
|
|
503
|
+
ahead = repo.get("ahead", 0)
|
|
504
|
+
behind = repo.get("behind", 0)
|
|
505
|
+
|
|
506
|
+
# Count file types
|
|
507
|
+
modified = 0
|
|
508
|
+
untracked = 0
|
|
509
|
+
for f in dirty_files:
|
|
510
|
+
if not isinstance(f, dict):
|
|
511
|
+
continue
|
|
512
|
+
status = f.get("status", " ")
|
|
513
|
+
if status.startswith("?"):
|
|
514
|
+
untracked += 1
|
|
515
|
+
else:
|
|
516
|
+
modified += 1
|
|
517
|
+
|
|
518
|
+
part = Text()
|
|
519
|
+
if branch:
|
|
520
|
+
part.append(branch, style="cyan")
|
|
521
|
+
part.append(f" {modified}M", style="yellow" if modified else "dim")
|
|
522
|
+
part.append(f" {untracked}U", style="dim")
|
|
523
|
+
part.append(f" \u2191{ahead}", style="green" if ahead else "dim")
|
|
524
|
+
part.append(f" \u2193{behind}", style="red" if behind else "dim")
|
|
525
|
+
|
|
526
|
+
line.append_text(part)
|
|
527
|
+
|
|
528
|
+
# Only show first repo on main line, rest on separate lines
|
|
529
|
+
break
|
|
530
|
+
|
|
531
|
+
return line
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
def _epic_stats(epic: dict[str, Any]) -> tuple[int, int, int, int]:
|
|
535
|
+
"""Return (done_stories, total_stories, done_points, total_points) for an epic."""
|
|
536
|
+
stories = epic.get("stories", [])
|
|
537
|
+
total_stories = len(stories)
|
|
538
|
+
done_stories = 0
|
|
539
|
+
total_points = 0
|
|
540
|
+
done_points = 0
|
|
541
|
+
for s in stories:
|
|
542
|
+
if not isinstance(s, dict):
|
|
543
|
+
continue
|
|
544
|
+
pts = s.get("points", 0)
|
|
545
|
+
if not isinstance(pts, (int, float)):
|
|
546
|
+
pts = 0
|
|
547
|
+
total_points += pts
|
|
548
|
+
if s.get("status") == "done":
|
|
549
|
+
done_stories += 1
|
|
550
|
+
done_points += pts
|
|
551
|
+
return done_stories, total_stories, done_points, total_points
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
def _phase_before(phase: str, current: str, phases: list) -> bool:
|
|
555
|
+
"""Check if phase comes before current in the phases list."""
|
|
556
|
+
phase_idx = -1
|
|
557
|
+
current_idx = -1
|
|
558
|
+
for i, p in enumerate(phases):
|
|
559
|
+
name = p if isinstance(p, str) else p.get("name", "")
|
|
560
|
+
if name == phase:
|
|
561
|
+
phase_idx = i
|
|
562
|
+
if name == current:
|
|
563
|
+
current_idx = i
|
|
564
|
+
return phase_idx >= 0 and current_idx >= 0 and phase_idx < current_idx
|