@pennyfarthing/core 11.4.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/package.json +3 -9
- package/packages/core/dist/cli/commands/command.js +9 -9
- package/packages/core/dist/cli/commands/command.js.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.js +1 -1
- package/packages/core/dist/cli/commands/cyclist.js.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.test.js +4 -4
- package/packages/core/dist/cli/commands/cyclist.test.js.map +1 -1
- package/packages/core/dist/cli/commands/doctor-legacy.test.js +2 -1
- package/packages/core/dist/cli/commands/doctor-legacy.test.js.map +1 -1
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.d.ts +22 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.js +161 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.js.map +1 -0
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/doctor.js +190 -34
- package/packages/core/dist/cli/commands/doctor.js.map +1 -1
- package/packages/core/dist/cli/commands/e2e-upgrade.test.js +1 -1
- package/packages/core/dist/cli/commands/e2e-upgrade.test.js.map +1 -1
- package/packages/core/dist/cli/commands/hook-chaining.test.js +1 -1
- package/packages/core/dist/cli/commands/hook-chaining.test.js.map +1 -1
- package/packages/core/dist/cli/commands/init.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/init.js +47 -18
- package/packages/core/dist/cli/commands/init.js.map +1 -1
- package/packages/core/dist/cli/commands/pyproject-install.test.js +1 -1
- package/packages/core/dist/cli/commands/pyproject-install.test.js.map +1 -1
- package/packages/core/dist/cli/commands/skill.js +9 -9
- package/packages/core/dist/cli/commands/skill.js.map +1 -1
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.d.ts +17 -0
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.js +470 -0
- package/packages/core/dist/cli/commands/stale-artifacts-cleanup.test.js.map +1 -0
- package/packages/core/dist/cli/commands/theme.js +3 -3
- package/packages/core/dist/cli/commands/theme.js.map +1 -1
- package/packages/core/dist/cli/commands/uninstall.js +1 -1
- package/packages/core/dist/cli/commands/uninstall.js.map +1 -1
- package/packages/core/dist/cli/commands/update.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/update.js +71 -20
- package/packages/core/dist/cli/commands/update.js.map +1 -1
- package/packages/core/dist/cli/commands/version.js +1 -1
- package/packages/core/dist/cli/commands/version.js.map +1 -1
- package/packages/core/dist/cli/index.js +2 -30
- package/packages/core/dist/cli/index.js.map +1 -1
- package/packages/core/dist/cli/utils/constants.d.ts +2 -2
- package/packages/core/dist/cli/utils/constants.js +1 -1
- package/packages/core/dist/cli/utils/constants.js.map +1 -1
- package/packages/core/dist/cli/utils/files.d.ts +1 -1
- package/packages/core/dist/cli/utils/files.js +1 -1
- package/packages/core/dist/cli/utils/install-helpers.d.ts +25 -0
- package/packages/core/dist/cli/utils/install-helpers.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/install-helpers.js +162 -0
- package/packages/core/dist/cli/utils/install-helpers.js.map +1 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts +7 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/node-modules.js +39 -0
- package/packages/core/dist/cli/utils/node-modules.js.map +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/settings.js +40 -21
- package/packages/core/dist/cli/utils/settings.js.map +1 -1
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts +59 -0
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js +163 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js.map +1 -0
- package/packages/core/dist/cli/utils/symlinks.d.ts +4 -0
- package/packages/core/dist/cli/utils/symlinks.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/symlinks.js +25 -2
- package/packages/core/dist/cli/utils/symlinks.js.map +1 -1
- package/packages/core/dist/cli/workspace.test.js +4 -37
- package/packages/core/dist/cli/workspace.test.js.map +1 -1
- package/packages/core/dist/data-source.d.ts +42 -0
- package/packages/core/dist/data-source.d.ts.map +1 -0
- package/packages/core/dist/data-source.js +12 -0
- package/packages/core/dist/data-source.js.map +1 -0
- package/packages/core/dist/data-source.test.d.ts +16 -0
- package/packages/core/dist/data-source.test.d.ts.map +1 -0
- package/packages/core/dist/data-source.test.js +206 -0
- package/packages/core/dist/data-source.test.js.map +1 -0
- package/packages/core/dist/index.d.ts +1 -0
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/public/css/react.css +1 -1
- package/packages/core/dist/public/js/react/react.js +39 -39
- package/packages/core/dist/scripts/benchmark-integration.d.ts +182 -0
- package/packages/core/dist/scripts/benchmark-integration.d.ts.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.js +691 -0
- package/packages/core/dist/scripts/benchmark-integration.js.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts +150 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js +547 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.js.map +1 -0
- package/packages/core/dist/server/api/context.d.ts.map +1 -1
- package/packages/core/dist/server/api/context.js +23 -5
- package/packages/core/dist/server/api/context.js.map +1 -1
- package/packages/core/dist/server/api/index.d.ts +0 -1
- package/packages/core/dist/server/api/index.d.ts.map +1 -1
- package/packages/core/dist/server/api/index.js +0 -2
- package/packages/core/dist/server/api/index.js.map +1 -1
- package/packages/core/dist/server/api/settings.d.ts.map +1 -1
- package/packages/core/dist/server/api/settings.js +6 -0
- package/packages/core/dist/server/api/settings.js.map +1 -1
- package/packages/core/dist/server/otlp-receiver.d.ts +2 -4
- package/packages/core/dist/server/otlp-receiver.d.ts.map +1 -1
- package/packages/core/dist/server/otlp-receiver.js +7 -18
- package/packages/core/dist/server/otlp-receiver.js.map +1 -1
- package/packages/core/dist/server/otlp-receiver.test.js +0 -27
- package/packages/core/dist/server/otlp-receiver.test.js.map +1 -1
- package/packages/core/dist/server/server.d.ts +2 -2
- package/packages/core/dist/server/server.d.ts.map +1 -1
- package/packages/core/dist/server/server.js +20 -5
- package/packages/core/dist/server/server.js.map +1 -1
- package/packages/core/dist/server/server.test.js +1 -1
- package/packages/core/dist/server/server.test.js.map +1 -1
- package/packages/core/dist/shared/generate-skill-docs.test.js +2 -2
- package/packages/core/dist/shared/skill-search.test.js +2 -2
- package/packages/core/dist/workflow/cross-entity-validation.d.ts.map +1 -1
- package/packages/core/dist/workflow/cross-entity-validation.js.map +1 -1
- package/packages/core/dist/workflow/tandem-workflow-templates.test.js +3 -3
- package/packages/core/dist/workflow/tandem-workflow-templates.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-migration.test.js +8 -8
- package/packages/core/dist/workflow/workflow-migration.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-schema.js +1 -1
- package/packages/core/dist/workflow/workflow-schema.js.map +1 -1
- package/packages/core/src/public/App.tsx +1 -4
- package/packages/core/src/public/components/DockviewWorkspace.tsx +0 -4
- package/packages/core/src/public/components/panels/SettingsPanel.tsx +83 -283
- package/packages/core/src/public/components/panels/SprintPanel.tsx +11 -1
- package/packages/core/src/public/components/panels/index.ts +0 -1
- package/packages/core/src/public/data-source.ts +117 -0
- package/packages/core/src/public/hooks/index.ts +0 -3
- package/packages/core/src/public/hooks/useAgentLoad.ts +1 -0
- package/packages/core/src/public/hooks/useCodeMarkers.ts +1 -0
- package/packages/core/src/public/hooks/useComplexity.ts +1 -0
- package/packages/core/src/public/hooks/useDataSource.ts +273 -0
- package/packages/core/src/public/hooks/useDeadCode.ts +1 -0
- package/packages/core/src/public/hooks/useDependencies.ts +1 -0
- package/packages/core/src/public/hooks/useDiffs.ts +46 -91
- package/packages/core/src/public/hooks/useGitStatus.ts +16 -77
- package/packages/core/src/public/hooks/useHealthScore.ts +1 -0
- package/packages/core/src/public/hooks/useHotspots.ts +1 -0
- package/packages/core/src/public/hooks/usePersona.ts +32 -67
- package/packages/core/src/public/hooks/useSprint.ts +23 -75
- package/packages/core/src/public/hooks/useStatsStrip.ts +47 -117
- package/packages/core/src/public/hooks/useStory.ts +11 -60
- package/packages/core/src/public/hooks/useTodos.ts +8 -61
- package/packages/core/src/public/images/cyclist-tandem-source.png +0 -0
- package/packages/core/src/public/index.ts +5 -0
- package/packages/core/src/public/styles/tailwind.css +15 -101
- package/packages/core/src/public/utils/slash-commands.ts +0 -4
- package/pennyfarthing-dist/agents/architect.md +8 -0
- package/pennyfarthing-dist/agents/ba.md +8 -0
- package/pennyfarthing-dist/agents/dev.md +10 -2
- package/pennyfarthing-dist/agents/devops.md +8 -0
- package/pennyfarthing-dist/agents/orchestrator.md +8 -0
- package/pennyfarthing-dist/agents/pm.md +8 -0
- package/pennyfarthing-dist/agents/reviewer.md +12 -4
- package/pennyfarthing-dist/agents/sm-setup.md +7 -7
- package/pennyfarthing-dist/agents/sm.md +20 -12
- package/pennyfarthing-dist/agents/tea.md +10 -2
- package/pennyfarthing-dist/agents/tech-writer.md +8 -0
- package/pennyfarthing-dist/agents/ux-designer.md +8 -0
- package/pennyfarthing-dist/commands/pf-architect.md +1 -1
- package/pennyfarthing-dist/commands/pf-ba.md +1 -1
- package/pennyfarthing-dist/commands/pf-dev.md +1 -1
- package/pennyfarthing-dist/commands/pf-devops.md +1 -1
- package/pennyfarthing-dist/commands/pf-health-check.md +1 -1
- package/pennyfarthing-dist/commands/pf-help.md +3 -2
- package/pennyfarthing-dist/commands/pf-orchestrator.md +1 -1
- package/pennyfarthing-dist/commands/pf-pm.md +1 -1
- package/pennyfarthing-dist/commands/pf-reviewer.md +1 -1
- package/pennyfarthing-dist/commands/pf-setup.md +4 -4
- package/pennyfarthing-dist/commands/pf-sm.md +1 -1
- package/pennyfarthing-dist/commands/pf-standalone.md +60 -0
- package/pennyfarthing-dist/commands/pf-tea.md +1 -1
- package/pennyfarthing-dist/commands/pf-tech-writer.md +1 -1
- package/pennyfarthing-dist/commands/pf-ux-designer.md +1 -1
- package/pennyfarthing-dist/commands/pf-work.md +1 -1
- package/pennyfarthing-dist/guides/agent-behavior.md +11 -11
- package/pennyfarthing-dist/guides/agent-tag-taxonomy.md +2 -2
- package/pennyfarthing-dist/guides/bikelane.md +1 -8
- package/pennyfarthing-dist/guides/bikerack.md +94 -0
- package/pennyfarthing-dist/guides/hooks.md +1 -1
- package/pennyfarthing-dist/guides/what-is-pennyfarthing.md +91 -0
- package/pennyfarthing-dist/guides/xml-tags.md +2 -2
- package/pennyfarthing-dist/personas/themes/discworld.yaml +14 -12
- package/pennyfarthing-dist/personas/themes/firefly.yaml +12 -12
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +14 -12
- package/pennyfarthing-dist/pyproject.toml +6 -2
- package/pennyfarthing-dist/scripts/core/agent-session.sh +4 -5
- package/pennyfarthing-dist/scripts/core/check-context.sh +10 -5
- package/pennyfarthing-dist/scripts/core/phase-check-start.sh +1 -2
- package/pennyfarthing-dist/scripts/core/prime.sh +1 -2
- package/pennyfarthing-dist/scripts/git/changelog-links.sh +216 -0
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +1 -2
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +1 -2
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +1 -2
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +1 -2
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/hooks/bell-mode-hook.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/cyclist-pretooluse-hook.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +31 -1
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +6 -4
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +1 -1
- package/pennyfarthing-dist/scripts/hooks/question-reflector-check.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/schema-validation.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/sprint-yaml-validation.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/welcome-hook.sh +2 -3
- package/pennyfarthing-dist/scripts/lib/README.md +0 -1
- package/pennyfarthing-dist/scripts/misc/statusline.sh +2 -3
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +1 -1
- package/pennyfarthing-dist/scripts/portraits/generate-portraits.py +84 -8
- package/pennyfarthing-dist/scripts/portraits/generate-tandem-portraits.sh +7 -3
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +2 -2
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +2 -18
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/get-workflow-type.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/phase-owner.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +1 -2
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +1 -2
- package/pennyfarthing-dist/skills/pf-jira/usage.md +87 -145
- package/pennyfarthing-dist/skills/pf-settings/skill.md +41 -3
- package/pennyfarthing-dist/skills/pf-settings/usage.md +25 -0
- package/pennyfarthing-dist/skills/pf-sprint/skill.md +4 -0
- package/pennyfarthing-dist/skills/pf-sprint/usage.md +167 -173
- package/pennyfarthing-dist/skills/pf-theme/usage.md +17 -129
- package/pennyfarthing-dist/skills/pf-ux-tandem/SKILL.md +194 -0
- package/pennyfarthing-dist/skills/pf-workflow/usage.md +51 -128
- package/pennyfarthing-dist/skills/skill-registry.yaml +17 -21
- package/pennyfarthing-dist/src/pf/CLAUDE.md +213 -0
- package/pennyfarthing-dist/src/pf/__init__.py +17 -0
- package/pennyfarthing-dist/src/pf/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/bellmode_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/config_migration.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/context.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/context.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_bidirectional_sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_epic_creation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/jira_sync_story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/patch_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/pretooluse_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/schema_validation_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/session_start_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/workflow.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/focus.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/focus.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/__pycache__/split.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bc/cli.py +240 -0
- package/pennyfarthing-dist/src/pf/bc/focus.py +332 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/audit_log_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/background_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/base_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/changed_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/context_meter_footer.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/debug_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/diffs_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/events.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/git_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/launcher.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/launcher.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/layout_order.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/portrait_resolver.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/progress_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/sprint_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/story_detail_data.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/story_detail_screen.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/story_detail_widget.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/tui.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/__pycache__/ws_client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bikerack/audit_log_panel.py +631 -0
- package/pennyfarthing-dist/src/pf/bikerack/base_panel.py +186 -0
- package/pennyfarthing-dist/src/pf/bikerack/context_meter_footer.py +266 -0
- package/pennyfarthing-dist/src/pf/bikerack/debug_panel.py +451 -0
- package/pennyfarthing-dist/src/pf/bikerack/launcher.py +239 -0
- package/pennyfarthing-dist/src/pf/bikerack/layout_order.py +84 -0
- package/pennyfarthing-dist/src/pf/bikerack/portrait_resolver.py +191 -0
- package/pennyfarthing-dist/src/pf/bikerack/progress_panel.py +564 -0
- package/pennyfarthing-dist/src/pf/bikerack/sprint_panel.py +645 -0
- package/pennyfarthing-dist/src/pf/bikerack/story_detail_data.py +329 -0
- package/pennyfarthing-dist/src/pf/bikerack/story_detail_screen.py +283 -0
- package/pennyfarthing-dist/src/pf/bikerack/story_detail_widget.py +167 -0
- package/pennyfarthing-dist/src/pf/bikerack/tui.py +1170 -0
- package/pennyfarthing-dist/src/pf/bikerack/ws_client.py +203 -0
- package/pennyfarthing-dist/src/pf/bmad/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bmad/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/bmad/cli.py +196 -0
- package/pennyfarthing-dist/src/pf/bmad/importer.py +199 -0
- package/pennyfarthing-dist/src/pf/bmad/parser.py +238 -0
- package/pennyfarthing-dist/src/pf/bmad/sync.py +462 -0
- package/pennyfarthing-dist/src/pf/bmad/test_parser.py +249 -0
- package/pennyfarthing-dist/src/pf/bmad/test_sync.py +220 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/brownfield/cli.py +130 -0
- package/pennyfarthing-dist/src/pf/cli.py +393 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/codemarkers/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__init__.py +50 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/config.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/output.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/pr_config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/__pycache__/themes.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/common/config.py +162 -0
- package/pennyfarthing-dist/src/pf/common/hooks.py +31 -0
- package/pennyfarthing-dist/src/pf/common/themes.py +354 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/complexity/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/config_migration.py +102 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/consultation/__pycache__/dialogue_manager.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/context.py +413 -0
- package/pennyfarthing-dist/src/pf/core/__init__.py +6 -0
- package/pennyfarthing-dist/src/pf/core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/core/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/core/__pycache__/resolver.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/core/models.py +30 -0
- package/pennyfarthing-dist/src/pf/core/resolver.py +137 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/deadcode/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/dependencies/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/__init__.py +1 -0
- package/pennyfarthing-dist/src/pf/docs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/__pycache__/sync_skills.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/docs/cli.py +51 -0
- package/pennyfarthing-dist/src/pf/docs/sync_skills.py +489 -0
- package/pennyfarthing-dist/src/pf/doctor/__init__.py +6 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/checks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/core.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/doctor/checks.py +180 -0
- package/pennyfarthing-dist/src/pf/doctor/cli.py +52 -0
- package/pennyfarthing-dist/src/pf/doctor/core.py +63 -0
- package/pennyfarthing-dist/src/pf/doctor/models.py +29 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/epic/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/create_branches.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/hooks_installer.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/repos.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/__pycache__/status_all.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git/hooks_installer.py +152 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/complete_phase.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/gate_file.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/gate_runner.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/marker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/phase_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/__pycache__/resolve_gate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/handoff/gate_file.py +109 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/analyze.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/models.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__init__.py +447 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/bell_mode.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_breaker.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_breaker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_warning.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/context_warning.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cyclist_pretooluse.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/cyclist_pretooluse.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/pre_edit_check.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/pre_edit_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/reflector_check.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/schema_validation.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/session_start.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/session_start.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/session_stop.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/sprint_yaml_validation.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/sprint_yaml_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/statusline.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hooks/cyclist_pretooluse.py +161 -0
- package/pennyfarthing-dist/src/pf/hooks/frontmatter.py +257 -0
- package/pennyfarthing-dist/src/pf/hooks/session_start.py +379 -0
- package/pennyfarthing-dist/src/pf/hooks/statusline.py +436 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/analyze.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/models.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__init__.py +1 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/core.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/__pycache__/setup.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/init/cli.py +63 -0
- package/pennyfarthing-dist/src/pf/init/core.py +281 -0
- package/pennyfarthing-dist/src/pf/init/setup.py +474 -0
- package/pennyfarthing-dist/src/pf/jira/__init__.py +91 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/bidirectional.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/claim.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/client.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/compat.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/create.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/epic.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/mappings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/operations.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/reconcile.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/story.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/sync.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/jira/claim.py +232 -0
- package/pennyfarthing-dist/src/pf/jira/cli.py +472 -0
- package/pennyfarthing-dist/src/pf/jira/client.py +766 -0
- package/pennyfarthing-dist/src/pf/jira/reconcile.py +260 -0
- package/pennyfarthing-dist/src/pf/jira/story.py +223 -0
- package/pennyfarthing-dist/src/pf/jira/sync.py +350 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__init__.py +39 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/skill.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/step.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/__pycache__/validate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/migration/cli.py +303 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/discovery.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/__pycache__/portraits.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/package/cli.py +186 -0
- package/pennyfarthing-dist/src/pf/package/discovery.py +130 -0
- package/pennyfarthing-dist/src/pf/package/portraits.py +243 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/preflight/__pycache__/finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/persona.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/tiers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/version_sentinel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/prime/cli.py +721 -0
- package/pennyfarthing-dist/src/pf/prime/loader.py +322 -0
- package/pennyfarthing-dist/src/pf/prime/persona.py +305 -0
- package/pennyfarthing-dist/src/pf/prime/workflow.py +325 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/deprecate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/__pycache__/dry_run.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/release/cli.py +112 -0
- package/pennyfarthing-dist/src/pf/release/deprecate.py +187 -0
- package/pennyfarthing-dist/src/pf/release/dry_run.py +187 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/__init__.py +0 -0
- package/pennyfarthing-dist/src/pf/settings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/__pycache__/settings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/settings/settings.py +135 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/archive.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_add.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_update.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/epic_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/import_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/loader.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/shard_merge.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/standalone_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/status.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_add.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_transition.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_update.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validate_cmd.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validator.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/work.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/yaml_io.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/sprint/archive.py +164 -0
- package/pennyfarthing-dist/src/pf/sprint/cli.py +2206 -0
- package/pennyfarthing-dist/src/pf/sprint/loader.py +361 -0
- package/pennyfarthing-dist/src/pf/sprint/shard_merge.py +205 -0
- package/pennyfarthing-dist/src/pf/sprint/standalone_add.py +143 -0
- package/pennyfarthing-dist/src/pf/sprint/status.py +187 -0
- package/pennyfarthing-dist/src/pf/sprint/story_finish.py +229 -0
- package/pennyfarthing-dist/src/pf/sprint/story_transition.py +183 -0
- package/pennyfarthing-dist/src/pf/sprint/story_update.py +240 -0
- package/pennyfarthing-dist/src/pf/sprint/yaml_io.py +407 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/size.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/story/__pycache__/template.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_108_1_gate_migration.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_108_2_remove_handoff_fallback.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_archive_epic.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_bc.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_bikerack.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_brownfield.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_cli_modules.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_cli_normalization.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_codemarkers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_common.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_confidence_sm_evaluation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_confidence_sm_gate.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_config_consolidation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_dialogue_manager.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_dist_root.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_doctor.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_e2e_install_lifecycle.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_epic_shard_validation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_event_driven_jira_sync.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_gate_file_resolution.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_gate_runner.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_git_utils.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_handoff_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_handoff_e2e.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_healthscore.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_init_auto_setup.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_init_auto_setup.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_init_command.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_jira_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_package_structure.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_patch_mode.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_prime.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_pypi_packaging.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_resolve_gate_file_field.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_panel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_panel_provenance.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_add.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_transition.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_story_update.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_tiers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_token_counting.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_topology_loader.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_tui_focus.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_tui_panel_persistence.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_upgrade_cleanup.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_validate_cmd.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_version_sentinel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_workflow_check.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_workflow_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_workflow_list_team.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_wrapper_removal.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/__pycache__/test_yaml_io.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/src/pf/tests/conftest.py +109 -0
- package/pennyfarthing-dist/src/pf/tests/test_108_1_gate_migration.py +541 -0
- package/pennyfarthing-dist/src/pf/tests/test_108_2_remove_handoff_fallback.py +340 -0
- package/pennyfarthing-dist/src/pf/tests/test_cli_modules.py +137 -0
- package/pennyfarthing-dist/src/pf/tests/test_codemarkers.py +672 -0
- package/pennyfarthing-dist/src/pf/tests/test_confidence_sm_evaluation.py +252 -0
- package/pennyfarthing-dist/src/pf/tests/test_confidence_sm_gate.py +318 -0
- package/pennyfarthing-dist/src/pf/tests/test_config_consolidation.py +513 -0
- package/pennyfarthing-dist/src/pf/tests/test_dist_root.py +720 -0
- package/pennyfarthing-dist/src/pf/tests/test_doctor.py +457 -0
- package/pennyfarthing-dist/src/pf/tests/test_event_driven_jira_sync.py +588 -0
- package/pennyfarthing-dist/src/pf/tests/test_init_auto_setup.py +893 -0
- package/pennyfarthing-dist/src/pf/tests/test_init_command.py +814 -0
- package/pennyfarthing-dist/src/pf/tests/test_jira_package.py +331 -0
- package/pennyfarthing-dist/src/pf/tests/test_package_structure.py +314 -0
- package/pennyfarthing-dist/src/pf/tests/test_pypi_packaging.py +329 -0
- package/pennyfarthing-dist/src/pf/tests/test_resolve_gate_file_field.py +460 -0
- package/pennyfarthing-dist/src/pf/tests/test_sprint_panel.py +610 -0
- package/pennyfarthing-dist/src/pf/tests/test_sprint_panel_provenance.py +485 -0
- package/pennyfarthing-dist/src/pf/tests/test_story_transition.py +502 -0
- package/pennyfarthing-dist/src/pf/tests/test_upgrade_cleanup.py +251 -0
- package/pennyfarthing-dist/src/pf/tests/test_wrapper_removal.py +373 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/theme/cli.py +321 -0
- package/pennyfarthing-dist/src/pf/upgrade/__init__.py +1 -0
- package/pennyfarthing-dist/src/pf/upgrade/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/upgrade/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/upgrade/__pycache__/core.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/upgrade/cli.py +62 -0
- package/pennyfarthing-dist/src/pf/upgrade/core.py +483 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__init__.py +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/agent.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/schema.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/skill_command.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/tandem_awareness.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/team_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/agent.py +261 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/skill_command.py +502 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/tandem_awareness.py +260 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/team_mode.py +329 -0
- package/pennyfarthing-dist/src/pf/validate/adapters/workflow.py +413 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/helpers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/scale.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/state.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/__pycache__/team_lifecycle.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/src/pf/workflow/cli.py +1109 -0
- package/pennyfarthing-dist/templates/justfile.template +71 -0
- package/pennyfarthing-dist/templates/preferences.yaml.template +5 -8
- package/pennyfarthing-dist/templates/pyproject.toml +9 -1
- package/pennyfarthing-dist/templates/settings.local.json.template +20 -11
- package/pennyfarthing-dist/templates/tmux-dev.template +45 -0
- package/pennyfarthing-dist/templates/tmux.conf.template +91 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-01-foundation.md +2 -2
- package/pennyfarthing-dist/workflows/installation-check/steps/step-05-layout.md +1 -1
- package/pennyfarthing-dist/workflows/installation-check/steps/step-07-tools.md +6 -5
- package/pennyfarthing-dist/workflows/patch.yaml +5 -6
- package/pennyfarthing-dist/workflows/project-setup/steps/step-04-claude-md.md +59 -1
- package/pennyfarthing-dist/workflows/release/steps/step-01-preflight.md +4 -0
- package/pennyfarthing-dist/workflows/release/steps/step-02-bump.md +19 -9
- package/pennyfarthing-dist/workflows/release/steps/step-10-publish.md +67 -21
- package/pennyfarthing-dist/workflows/release/steps/step-11-finalize.md +41 -30
- package/pennyfarthing-dist/workflows/tdd-tandem.yaml +28 -8
- package/packages/core/bin/pennyfarthing.js +0 -14
- package/packages/core/dist/workflow/team-lifecycle.d.ts +0 -169
- package/packages/core/dist/workflow/team-lifecycle.d.ts.map +0 -1
- package/packages/core/dist/workflow/team-lifecycle.js +0 -217
- package/packages/core/dist/workflow/team-lifecycle.js.map +0 -1
- package/packages/core/dist/workflow/team-lifecycle.test.d.ts +0 -20
- package/packages/core/dist/workflow/team-lifecycle.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/team-lifecycle.test.js +0 -966
- package/packages/core/dist/workflow/team-lifecycle.test.js.map +0 -1
- package/packages/core/src/public/components/BikeRackIndex.tsx +0 -53
- package/packages/core/src/public/components/BikeRackWorkspace.tsx +0 -217
- package/packages/core/src/public/components/FontPicker/FontPicker.css +0 -276
- package/packages/core/src/public/components/FontPicker/index.tsx +0 -430
- package/packages/core/src/public/components/StandalonePanel.tsx +0 -82
- package/packages/core/src/public/components/ThemePalette/ThemePalette.css +0 -179
- package/packages/core/src/public/components/ThemePalette/index.tsx +0 -326
- package/packages/core/src/public/components/panels/BackgroundPanel.tsx +0 -115
- package/packages/core/src/public/components/ui/switch.tsx +0 -27
- package/packages/core/src/public/hooks/useBackgroundTasks.ts +0 -131
- package/pennyfarthing-dist/commands/pf-permissions.md +0 -193
- package/pennyfarthing-dist/guides/permission-protocol.md +0 -188
- package/pennyfarthing-dist/pf/CLAUDE.md +0 -213
- package/pennyfarthing-dist/pf/__init__.py +0 -17
- package/pennyfarthing-dist/pf/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/context.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/focus.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/split.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/cli.py +0 -241
- package/pennyfarthing-dist/pf/bc/focus.py +0 -333
- package/pennyfarthing-dist/pf/bikerack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/audit_log_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/background_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/base_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/changed_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/context_meter_footer.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/debug_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/diffs_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/events.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/git_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/launcher.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/portrait_resolver.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/progress_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/sprint_panel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/story_detail_data.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/story_detail_screen.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/tui.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/ws_client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/audit_log_panel.py +0 -161
- package/pennyfarthing-dist/pf/bikerack/background_panel.py +0 -162
- package/pennyfarthing-dist/pf/bikerack/base_panel.py +0 -184
- package/pennyfarthing-dist/pf/bikerack/context_meter_footer.py +0 -138
- package/pennyfarthing-dist/pf/bikerack/debug_panel.py +0 -248
- package/pennyfarthing-dist/pf/bikerack/launcher.py +0 -240
- package/pennyfarthing-dist/pf/bikerack/portrait_resolver.py +0 -160
- package/pennyfarthing-dist/pf/bikerack/progress_panel.py +0 -314
- package/pennyfarthing-dist/pf/bikerack/sprint_panel.py +0 -492
- package/pennyfarthing-dist/pf/bikerack/story_detail_data.py +0 -247
- package/pennyfarthing-dist/pf/bikerack/story_detail_screen.py +0 -177
- package/pennyfarthing-dist/pf/bikerack/tui.py +0 -920
- package/pennyfarthing-dist/pf/bikerack/ws_client.py +0 -176
- package/pennyfarthing-dist/pf/bmad/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bmad/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bmad/__pycache__/parser.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bmad/cli.py +0 -197
- package/pennyfarthing-dist/pf/bmad/importer.py +0 -200
- package/pennyfarthing-dist/pf/bmad/parser.py +0 -239
- package/pennyfarthing-dist/pf/bmad/sync.py +0 -464
- package/pennyfarthing-dist/pf/bmad/test_parser.py +0 -253
- package/pennyfarthing-dist/pf/bmad/test_sync.py +0 -223
- package/pennyfarthing-dist/pf/brownfield/__main__.py +0 -8
- package/pennyfarthing-dist/pf/brownfield/cli.py +0 -130
- package/pennyfarthing-dist/pf/cli.py +0 -354
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__init__.py +0 -48
- package/pennyfarthing-dist/pf/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/pr_config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/themes.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/config.py +0 -119
- package/pennyfarthing-dist/pf/common/themes.py +0 -253
- package/pennyfarthing-dist/pf/complexity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/config.py +0 -21
- package/pennyfarthing-dist/pf/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/context.py +0 -413
- package/pennyfarthing-dist/pf/deadcode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git/hooks_installer.py +0 -151
- package/pennyfarthing-dist/pf/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/complete_phase.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/marker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/phase_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/resolve_gate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/gate_file.py +0 -105
- package/pennyfarthing-dist/pf/healthscore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__init__.py +0 -442
- package/pennyfarthing-dist/pf/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/context_breaker.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/context_warning.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/cyclist_pretooluse.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/pre_edit_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/session_start.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/session_stop.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/sprint_yaml_validation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/cyclist_pretooluse.py +0 -129
- package/pennyfarthing-dist/pf/hooks/session_start.py +0 -294
- package/pennyfarthing-dist/pf/hooks/statusline.py +0 -429
- package/pennyfarthing-dist/pf/hooks.py +0 -32
- package/pennyfarthing-dist/pf/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__init__.py +0 -97
- package/pennyfarthing-dist/pf/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/claim.py +0 -232
- package/pennyfarthing-dist/pf/jira/cli.py +0 -362
- package/pennyfarthing-dist/pf/jira/client.py +0 -802
- package/pennyfarthing-dist/pf/jira/reconcile.py +0 -276
- package/pennyfarthing-dist/pf/jira/story.py +0 -221
- package/pennyfarthing-dist/pf/jira/sync.py +0 -350
- package/pennyfarthing-dist/pf/jira_bidirectional_sync.py +0 -37
- package/pennyfarthing-dist/pf/jira_epic_creation.py +0 -30
- package/pennyfarthing-dist/pf/jira_sync.py +0 -36
- package/pennyfarthing-dist/pf/jira_sync_story.py +0 -30
- package/pennyfarthing-dist/pf/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__init__.py +0 -39
- package/pennyfarthing-dist/pf/migration/__main__.py +0 -10
- package/pennyfarthing-dist/pf/migration/cli.py +0 -304
- package/pennyfarthing-dist/pf/output.py +0 -37
- package/pennyfarthing-dist/pf/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/persona.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/tiers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/cli.py +0 -662
- package/pennyfarthing-dist/pf/prime/loader.py +0 -308
- package/pennyfarthing-dist/pf/prime/persona.py +0 -311
- package/pennyfarthing-dist/pf/prime/workflow.py +0 -317
- package/pennyfarthing-dist/pf/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/settings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/settings.py +0 -134
- package/pennyfarthing-dist/pf/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/epic_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/epic_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_add.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/archive.py +0 -164
- package/pennyfarthing-dist/pf/sprint/cli.py +0 -2021
- package/pennyfarthing-dist/pf/sprint/loader.py +0 -441
- package/pennyfarthing-dist/pf/sprint/status.py +0 -121
- package/pennyfarthing-dist/pf/sprint/story_finish.py +0 -239
- package/pennyfarthing-dist/pf/sprint/story_update.py +0 -222
- package/pennyfarthing-dist/pf/sprint/yaml_io.py +0 -433
- package/pennyfarthing-dist/pf/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/conftest.py +0 -105
- package/pennyfarthing-dist/pf/tests/test_108_1_gate_migration.py +0 -540
- package/pennyfarthing-dist/pf/tests/test_108_2_remove_handoff_fallback.py +0 -339
- package/pennyfarthing-dist/pf/tests/test_cli_modules.py +0 -241
- package/pennyfarthing-dist/pf/tests/test_codemarkers.py +0 -687
- package/pennyfarthing-dist/pf/tests/test_confidence_sm_evaluation.py +0 -253
- package/pennyfarthing-dist/pf/tests/test_confidence_sm_gate.py +0 -316
- package/pennyfarthing-dist/pf/tests/test_jira_package.py +0 -331
- package/pennyfarthing-dist/pf/tests/test_package_structure.py +0 -359
- package/pennyfarthing-dist/pf/tests/test_resolve_gate_file_field.py +0 -460
- package/pennyfarthing-dist/pf/tests/test_sprint_panel.py +0 -610
- package/pennyfarthing-dist/pf/theme/__main__.py +0 -6
- package/pennyfarthing-dist/pf/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/cli.py +0 -310
- package/pennyfarthing-dist/pf/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/agent.py +0 -239
- package/pennyfarthing-dist/pf/validate/adapters/skill_command.py +0 -491
- package/pennyfarthing-dist/pf/validate/adapters/tandem_awareness.py +0 -254
- package/pennyfarthing-dist/pf/validate/adapters/team_mode.py +0 -323
- package/pennyfarthing-dist/pf/validate/adapters/workflow.py +0 -403
- package/pennyfarthing-dist/pf/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/helpers.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/cli.py +0 -1101
- package/pennyfarthing-dist/scripts/core/pf.sh +0 -5
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -177
- package/pennyfarthing-dist/scripts/lib/run-pf.sh +0 -44
- package/pennyfarthing-dist/skills/pf-permissions/skill.md +0 -157
- package/pennyfarthing-dist/templates/persona-config.yaml.template +0 -22
- package/scripts/postinstall.cjs +0 -34
- /package/pennyfarthing-dist/{pf → src/pf}/README.md +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bc/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bc/split.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bellmode_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/diffs_panel.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/events.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bikerack/git_panel.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/bmad/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/brownfield/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/brownfield/discover.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/codemarkers/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/common/output.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/common/pr_config.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/complexity/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/consultation/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/consultation/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/consultation/dialogue_manager.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/deadcode/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/dependencies/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/epic/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/epic/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/gate/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/gate/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/gate/validate.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/create_branches.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/repos.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/status_all.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git/worktree.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git_group/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/git_group/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/complete_phase.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/gate_runner.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/marker.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/phase_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/handoff/resolve_gate.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/healthscore/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/bell_mode.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/context_breaker.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/context_warning.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/cyclist-pretooluse-hook.sh +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/pre_edit_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/reflector_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/schema_validation.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/session_stop.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hooks/sprint_yaml_validation.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/analyze.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/formatters.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/hotspots/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/bidirectional.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/create.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/jira/operations.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/launch/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/launch/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/session.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/skill.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/step.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/migration/validate.py +0 -0
- /package/pennyfarthing-dist/{pf/session → src/pf/package}/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/patch_mode.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/preflight/finish.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/pretooluse_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/heatmap.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/models.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/session.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/tiers.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/prime/version_sentinel.py +0 -0
- /package/pennyfarthing-dist/{pf/settings → src/pf/release}/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/schema_validation_hook.py +0 -0
- /package/pennyfarthing-dist/{pf/validate/adapters → src/pf/session}/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/session/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/session_start_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/settings/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/archive_epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/epic_add.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/epic_update.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/import_epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/story_add.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/validate_cmd.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/validator.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/sprint/work.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/__main__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/create.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/size.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/story/template.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/swebench.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_archive_epic.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_bc.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_bikerack.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_brownfield.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_cli_normalization.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_common.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_dialogue_manager.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_epic_shard_validation.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_gate_file_resolution.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_gate_runner.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_git_utils.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_handoff_cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_handoff_e2e.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_healthscore.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_patch_mode.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_prime.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_sprint_package.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_sprint_validator.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_story_add.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_story_package.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_story_update.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_tiers.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_token_counting.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_topology_loader.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_tui_focus.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_tui_panel_persistence.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_validate_cmd.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_version_sentinel.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_workflow_check.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_workflow_list_team.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/tests/test_yaml_io.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/theme/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/adapters/schema.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/adapters/sprint.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/validate/cli.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/welcome_hook.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/__init__.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/helpers.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/scale.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/state.py +0 -0
- /package/pennyfarthing-dist/{pf → src/pf}/workflow/team_lifecycle.py +0 -0
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
"""BC CLI — Panel focus management for Cyclist.
|
|
2
|
-
|
|
3
|
-
Usage:
|
|
4
|
-
pf bc <panel> Set focus to a panel
|
|
5
|
-
pf bc reset Clear focus setting
|
|
6
|
-
pf bc save Save a named layout
|
|
7
|
-
pf bc load Load a named layout
|
|
8
|
-
pf bc list List saved layouts
|
|
9
|
-
pf bc clear Delete a named layout
|
|
10
|
-
pf bc clear-all Delete all named layouts
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
from __future__ import annotations
|
|
14
|
-
|
|
15
|
-
import json
|
|
16
|
-
import sys
|
|
17
|
-
import urllib.error
|
|
18
|
-
import urllib.request
|
|
19
|
-
|
|
20
|
-
import click
|
|
21
|
-
|
|
22
|
-
from pf.bc.focus import (
|
|
23
|
-
VALID_PANELS,
|
|
24
|
-
clear_all_named_layouts,
|
|
25
|
-
clear_named_layout,
|
|
26
|
-
clear_panel_focus,
|
|
27
|
-
list_named_layouts,
|
|
28
|
-
load_named_layout,
|
|
29
|
-
save_named_layout,
|
|
30
|
-
set_panel_focus,
|
|
31
|
-
)
|
|
32
|
-
from pf.bc.split import set_split_layout
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
def _get_current_layout() -> dict | None:
|
|
36
|
-
"""Fetch the current layout from a running Cyclist or BikeRack server.
|
|
37
|
-
|
|
38
|
-
Reads .bikerack-port (shared by both Cyclist and BikeRack) and fetches
|
|
39
|
-
the layout endpoint.
|
|
40
|
-
|
|
41
|
-
Returns:
|
|
42
|
-
Layout dict, or None if no server is running or fetch fails.
|
|
43
|
-
"""
|
|
44
|
-
from pf.bc.focus import _get_root
|
|
45
|
-
|
|
46
|
-
root = _get_root()
|
|
47
|
-
|
|
48
|
-
candidates = [
|
|
49
|
-
(root / ".bikerack-port", "/api/settings/bikerack-layout"),
|
|
50
|
-
]
|
|
51
|
-
|
|
52
|
-
for port_file, endpoint in candidates:
|
|
53
|
-
if not port_file.exists():
|
|
54
|
-
continue
|
|
55
|
-
try:
|
|
56
|
-
port = int(port_file.read_text().strip())
|
|
57
|
-
except (ValueError, OSError):
|
|
58
|
-
continue
|
|
59
|
-
|
|
60
|
-
url = f"http://localhost:{port}{endpoint}"
|
|
61
|
-
try:
|
|
62
|
-
req = urllib.request.Request(url, headers={"Accept": "application/json"})
|
|
63
|
-
with urllib.request.urlopen(req, timeout=3) as resp:
|
|
64
|
-
data = json.loads(resp.read().decode())
|
|
65
|
-
layout = data.get("layout")
|
|
66
|
-
if layout and isinstance(layout, dict) and layout.get("panels"):
|
|
67
|
-
return layout
|
|
68
|
-
except (urllib.error.URLError, OSError, json.JSONDecodeError):
|
|
69
|
-
continue
|
|
70
|
-
|
|
71
|
-
return None
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
@click.group()
|
|
75
|
-
def bc():
|
|
76
|
-
"""Panel focus management.
|
|
77
|
-
|
|
78
|
-
\b
|
|
79
|
-
Commands:
|
|
80
|
-
sprint - Focus on Sprint panel
|
|
81
|
-
git - Focus on Git panel
|
|
82
|
-
diffs - Focus on Diffs panel
|
|
83
|
-
todo - Focus on Todo panel
|
|
84
|
-
workflow - Focus on Workflow panel
|
|
85
|
-
background - Focus on Background panel
|
|
86
|
-
audit-log - Focus on Audit Log panel
|
|
87
|
-
ac - Focus on Acceptance Criteria panel
|
|
88
|
-
debug - Focus on Debug panel
|
|
89
|
-
settings - Focus on Settings panel
|
|
90
|
-
tty - Focus on TTY panel
|
|
91
|
-
reset - Clear focus setting
|
|
92
|
-
"""
|
|
93
|
-
pass
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
def _make_focus_command(panel_name: str):
|
|
97
|
-
"""Create a Click command for a panel."""
|
|
98
|
-
|
|
99
|
-
@click.command(panel_name, help=f"Focus on {panel_name} panel.")
|
|
100
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
101
|
-
def focus_cmd(dry_run):
|
|
102
|
-
if dry_run:
|
|
103
|
-
click.echo(json.dumps({"dry_run": True, "action": "set_focus", "panel": panel_name}))
|
|
104
|
-
return
|
|
105
|
-
result = set_panel_focus(panel_name)
|
|
106
|
-
if result["success"]:
|
|
107
|
-
click.echo(json.dumps({"success": True, "panel": result["data"]}))
|
|
108
|
-
else:
|
|
109
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
110
|
-
sys.exit(1)
|
|
111
|
-
|
|
112
|
-
return focus_cmd
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
for _panel in VALID_PANELS:
|
|
116
|
-
bc.add_command(_make_focus_command(_panel))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
@bc.command("reset")
|
|
120
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
121
|
-
def reset_focus(dry_run):
|
|
122
|
-
"""Clear focus setting."""
|
|
123
|
-
if dry_run:
|
|
124
|
-
click.echo(json.dumps({"dry_run": True, "action": "clear_focus"}))
|
|
125
|
-
return
|
|
126
|
-
result = clear_panel_focus()
|
|
127
|
-
if result["success"]:
|
|
128
|
-
click.echo(json.dumps({"success": True, "message": result.get("message", "focus cleared")}))
|
|
129
|
-
else:
|
|
130
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
131
|
-
sys.exit(1)
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
# --- Story 104-4: Named layout commands ---
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
@bc.command("save")
|
|
138
|
-
@click.argument("name")
|
|
139
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
140
|
-
def save_layout(name: str, dry_run: bool):
|
|
141
|
-
"""Save current layout under a name.
|
|
142
|
-
|
|
143
|
-
Fetches the active layout from the running Cyclist/BikeRack server
|
|
144
|
-
and stores it in config.local.yaml under the given name.
|
|
145
|
-
"""
|
|
146
|
-
layout_data = _get_current_layout()
|
|
147
|
-
if not layout_data:
|
|
148
|
-
click.echo(
|
|
149
|
-
json.dumps({"success": False, "error": "No running Cyclist/BikeRack server found, or layout is empty"}),
|
|
150
|
-
err=True,
|
|
151
|
-
)
|
|
152
|
-
sys.exit(1)
|
|
153
|
-
if dry_run:
|
|
154
|
-
panel_count = len(layout_data.get("panels", {}))
|
|
155
|
-
click.echo(json.dumps({"dry_run": True, "action": "save_layout", "name": name, "panels": panel_count}))
|
|
156
|
-
return
|
|
157
|
-
result = save_named_layout(name, layout_data)
|
|
158
|
-
if result["success"]:
|
|
159
|
-
panel_count = len(layout_data.get("panels", {}))
|
|
160
|
-
click.echo(json.dumps({"success": True, "name": result["data"], "panels": panel_count}))
|
|
161
|
-
else:
|
|
162
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
163
|
-
sys.exit(1)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
@bc.command("load")
|
|
167
|
-
@click.argument("name")
|
|
168
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
169
|
-
def load_layout(name: str, dry_run: bool):
|
|
170
|
-
"""Load a previously saved named layout."""
|
|
171
|
-
if dry_run:
|
|
172
|
-
click.echo(json.dumps({"dry_run": True, "action": "load_layout", "name": name}))
|
|
173
|
-
return
|
|
174
|
-
result = load_named_layout(name)
|
|
175
|
-
if result["success"]:
|
|
176
|
-
click.echo(json.dumps({"success": True, "name": name, "layout": result["data"]}))
|
|
177
|
-
else:
|
|
178
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
179
|
-
sys.exit(1)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
@bc.command("list")
|
|
183
|
-
def list_layouts():
|
|
184
|
-
"""List all saved named layouts."""
|
|
185
|
-
result = list_named_layouts()
|
|
186
|
-
if result["success"]:
|
|
187
|
-
click.echo(json.dumps({"success": True, "layouts": result["data"]}))
|
|
188
|
-
else:
|
|
189
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
190
|
-
sys.exit(1)
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
@bc.command("clear")
|
|
194
|
-
@click.argument("name")
|
|
195
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
196
|
-
def clear_layout(name: str, dry_run: bool):
|
|
197
|
-
"""Delete a specific named layout."""
|
|
198
|
-
if dry_run:
|
|
199
|
-
click.echo(json.dumps({"dry_run": True, "action": "clear_layout", "name": name}))
|
|
200
|
-
return
|
|
201
|
-
result = clear_named_layout(name)
|
|
202
|
-
if result["success"]:
|
|
203
|
-
click.echo(json.dumps({"success": True, "message": result.get("message", "layout cleared")}))
|
|
204
|
-
else:
|
|
205
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
206
|
-
sys.exit(1)
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
@bc.command("split")
|
|
210
|
-
@click.argument("left")
|
|
211
|
-
@click.argument("right")
|
|
212
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
213
|
-
def split_layout(left: str, right: str, dry_run: bool):
|
|
214
|
-
"""Set split-pane layout with LEFT and RIGHT panels.
|
|
215
|
-
|
|
216
|
-
Example: pf bc split sprint diffs
|
|
217
|
-
"""
|
|
218
|
-
if dry_run:
|
|
219
|
-
click.echo(json.dumps({"dry_run": True, "action": "split", "left": left, "right": right}))
|
|
220
|
-
return
|
|
221
|
-
result = set_split_layout(left, right)
|
|
222
|
-
if result["success"]:
|
|
223
|
-
click.echo(json.dumps({"success": True, "split": result["data"]}))
|
|
224
|
-
else:
|
|
225
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
226
|
-
sys.exit(1)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
@bc.command("clear-all")
|
|
230
|
-
@click.option("--dry-run", is_flag=True, help="Show what would be done without making changes")
|
|
231
|
-
def clear_all_layouts(dry_run: bool):
|
|
232
|
-
"""Delete all named layouts."""
|
|
233
|
-
if dry_run:
|
|
234
|
-
click.echo(json.dumps({"dry_run": True, "action": "clear_all_layouts"}))
|
|
235
|
-
return
|
|
236
|
-
result = clear_all_named_layouts()
|
|
237
|
-
if result["success"]:
|
|
238
|
-
click.echo(json.dumps({"success": True, "message": result.get("message", "all layouts cleared")}))
|
|
239
|
-
else:
|
|
240
|
-
click.echo(json.dumps({"success": False, "error": result["error"]}), err=True)
|
|
241
|
-
sys.exit(1)
|
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
"""Panel focus management — read/write focus key in config.local.yaml.
|
|
2
|
-
|
|
3
|
-
Story 104-1: pf bc CLI command + /bc user skill
|
|
4
|
-
Story 104-4: Save and clear named layouts via /bc
|
|
5
|
-
Epic: 104 — /bc CLI Panel Focus
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
from __future__ import annotations
|
|
9
|
-
|
|
10
|
-
import io
|
|
11
|
-
import re
|
|
12
|
-
from pathlib import Path
|
|
13
|
-
|
|
14
|
-
from ruamel.yaml import YAML
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
def _get_root() -> Path:
|
|
18
|
-
"""Get project root, falling back to cwd."""
|
|
19
|
-
try:
|
|
20
|
-
from pf.common.config import get_project_root
|
|
21
|
-
|
|
22
|
-
return get_project_root()
|
|
23
|
-
except Exception:
|
|
24
|
-
return Path.cwd()
|
|
25
|
-
|
|
26
|
-
VALID_PANELS = [
|
|
27
|
-
"sprint",
|
|
28
|
-
"git",
|
|
29
|
-
"diffs",
|
|
30
|
-
"todo",
|
|
31
|
-
"workflow",
|
|
32
|
-
"background",
|
|
33
|
-
"audit-log",
|
|
34
|
-
"ac",
|
|
35
|
-
"debug",
|
|
36
|
-
"progress",
|
|
37
|
-
"settings",
|
|
38
|
-
"tty",
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
def set_panel_focus(panel_name: str, project_dir: Path | None = None) -> dict:
|
|
43
|
-
"""Set focus panel in config.local.yaml.
|
|
44
|
-
|
|
45
|
-
Args:
|
|
46
|
-
panel_name: Panel to focus on (must be in VALID_PANELS)
|
|
47
|
-
project_dir: Override project root (for testing)
|
|
48
|
-
|
|
49
|
-
Returns:
|
|
50
|
-
{success: bool, data?: str, error?: str}
|
|
51
|
-
"""
|
|
52
|
-
if panel_name not in VALID_PANELS:
|
|
53
|
-
return {
|
|
54
|
-
"success": False,
|
|
55
|
-
"error": f"Invalid panel '{panel_name}'. Valid panels: {', '.join(VALID_PANELS)}",
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
try:
|
|
59
|
-
config_path, config = _read_config(project_dir)
|
|
60
|
-
if config is None:
|
|
61
|
-
return {"success": False, "error": "Config is not a YAML mapping"}
|
|
62
|
-
config["focus"] = panel_name
|
|
63
|
-
_write_config(config_path, config)
|
|
64
|
-
return {"success": True, "data": panel_name}
|
|
65
|
-
except Exception as exc:
|
|
66
|
-
return {"success": False, "error": str(exc)}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
def clear_panel_focus(project_dir: Path | None = None) -> dict:
|
|
70
|
-
"""Clear focus setting from config.local.yaml.
|
|
71
|
-
|
|
72
|
-
Args:
|
|
73
|
-
project_dir: Override project root (for testing)
|
|
74
|
-
|
|
75
|
-
Returns:
|
|
76
|
-
{success: bool, message?: str, error?: str}
|
|
77
|
-
"""
|
|
78
|
-
try:
|
|
79
|
-
root = project_dir or _get_root()
|
|
80
|
-
config_path = root / ".pennyfarthing" / "config.local.yaml"
|
|
81
|
-
|
|
82
|
-
if not config_path.exists():
|
|
83
|
-
return {"success": True, "message": "No focus setting to clear"}
|
|
84
|
-
|
|
85
|
-
config_path, config = _read_config(project_dir)
|
|
86
|
-
if config is None:
|
|
87
|
-
config = _make_yaml().load("{}")
|
|
88
|
-
if "focus" in config:
|
|
89
|
-
del config["focus"]
|
|
90
|
-
_write_config(config_path, config)
|
|
91
|
-
|
|
92
|
-
return {"success": True, "message": "focus cleared"}
|
|
93
|
-
except Exception as exc:
|
|
94
|
-
return {"success": False, "error": str(exc)}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
LAYOUT_NAME_PATTERN = re.compile(r"^[a-zA-Z0-9_]+$")
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
def _make_yaml() -> YAML:
|
|
101
|
-
"""Create a configured ruamel.yaml instance that preserves formatting."""
|
|
102
|
-
yml = YAML()
|
|
103
|
-
yml.preserve_quotes = True
|
|
104
|
-
yml.default_flow_style = False
|
|
105
|
-
yml.width = 4096
|
|
106
|
-
yml.indent(mapping=2, sequence=4, offset=2)
|
|
107
|
-
return yml
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
def _read_config(project_dir: Path | None = None):
|
|
111
|
-
"""Read config.local.yaml using ruamel.yaml to preserve formatting.
|
|
112
|
-
|
|
113
|
-
Returns:
|
|
114
|
-
(config_path, config) where config is a CommentedMap or None if invalid.
|
|
115
|
-
"""
|
|
116
|
-
root = project_dir or _get_root()
|
|
117
|
-
config_path = root / ".pennyfarthing" / "config.local.yaml"
|
|
118
|
-
yml = _make_yaml()
|
|
119
|
-
if config_path.exists():
|
|
120
|
-
config = yml.load(config_path.read_text())
|
|
121
|
-
if config is None:
|
|
122
|
-
config = yml.load("{}")
|
|
123
|
-
return config_path, config
|
|
124
|
-
return config_path, yml.load("{}")
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
def _write_config(config_path: Path, config) -> None:
|
|
128
|
-
"""Write config to YAML file, preserving formatting via ruamel.yaml."""
|
|
129
|
-
config_path.parent.mkdir(parents=True, exist_ok=True)
|
|
130
|
-
yml = _make_yaml()
|
|
131
|
-
stream = io.StringIO()
|
|
132
|
-
yml.dump(config, stream)
|
|
133
|
-
config_path.write_text(stream.getvalue())
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
def validate_layout_name(name: str) -> bool:
|
|
137
|
-
"""Validate a layout name (alphanumeric + underscore only).
|
|
138
|
-
|
|
139
|
-
Args:
|
|
140
|
-
name: Layout name to validate
|
|
141
|
-
|
|
142
|
-
Returns:
|
|
143
|
-
True if valid, False otherwise
|
|
144
|
-
"""
|
|
145
|
-
return bool(LAYOUT_NAME_PATTERN.match(name))
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
def save_named_layout(
|
|
149
|
-
name: str, layout_data: dict, project_dir: Path | None = None
|
|
150
|
-
) -> dict:
|
|
151
|
-
"""Save a named layout to config.local.yaml.
|
|
152
|
-
|
|
153
|
-
Args:
|
|
154
|
-
name: Layout name (must match LAYOUT_NAME_PATTERN)
|
|
155
|
-
layout_data: Serialized dockview layout
|
|
156
|
-
project_dir: Override project root (for testing)
|
|
157
|
-
|
|
158
|
-
Returns:
|
|
159
|
-
{success: bool, data?: str, error?: str}
|
|
160
|
-
"""
|
|
161
|
-
if not validate_layout_name(name):
|
|
162
|
-
return {"success": False, "error": f"Invalid layout name '{name}'"}
|
|
163
|
-
try:
|
|
164
|
-
config_path, config = _read_config(project_dir)
|
|
165
|
-
if "layouts" not in config or not isinstance(config.get("layouts"), dict):
|
|
166
|
-
config["layouts"] = {}
|
|
167
|
-
config["layouts"][name] = layout_data
|
|
168
|
-
_write_config(config_path, config)
|
|
169
|
-
return {"success": True, "data": name}
|
|
170
|
-
except Exception as exc:
|
|
171
|
-
return {"success": False, "error": str(exc)}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
def load_named_layout(name: str, project_dir: Path | None = None) -> dict:
|
|
175
|
-
"""Load a named layout from config.local.yaml.
|
|
176
|
-
|
|
177
|
-
Args:
|
|
178
|
-
name: Layout name to load
|
|
179
|
-
project_dir: Override project root (for testing)
|
|
180
|
-
|
|
181
|
-
Returns:
|
|
182
|
-
{success: bool, data?: dict, error?: str}
|
|
183
|
-
"""
|
|
184
|
-
if not validate_layout_name(name):
|
|
185
|
-
return {"success": False, "error": f"Invalid layout name '{name}'"}
|
|
186
|
-
try:
|
|
187
|
-
_, config = _read_config(project_dir)
|
|
188
|
-
layouts = config.get("layouts")
|
|
189
|
-
if not isinstance(layouts, dict) or name not in layouts:
|
|
190
|
-
return {"success": False, "error": f"Layout '{name}' not found"}
|
|
191
|
-
return {"success": True, "data": layouts[name]}
|
|
192
|
-
except Exception as exc:
|
|
193
|
-
return {"success": False, "error": str(exc)}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
def list_named_layouts(project_dir: Path | None = None) -> dict:
|
|
197
|
-
"""List all saved named layouts.
|
|
198
|
-
|
|
199
|
-
Args:
|
|
200
|
-
project_dir: Override project root (for testing)
|
|
201
|
-
|
|
202
|
-
Returns:
|
|
203
|
-
{success: bool, data?: list[str], error?: str}
|
|
204
|
-
"""
|
|
205
|
-
try:
|
|
206
|
-
_, config = _read_config(project_dir)
|
|
207
|
-
layouts = config.get("layouts")
|
|
208
|
-
if not isinstance(layouts, dict):
|
|
209
|
-
return {"success": True, "data": []}
|
|
210
|
-
return {"success": True, "data": list(layouts.keys())}
|
|
211
|
-
except Exception as exc:
|
|
212
|
-
return {"success": False, "error": str(exc)}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
def clear_named_layout(name: str, project_dir: Path | None = None) -> dict:
|
|
216
|
-
"""Delete a specific named layout from config.local.yaml.
|
|
217
|
-
|
|
218
|
-
Args:
|
|
219
|
-
name: Layout name to delete
|
|
220
|
-
project_dir: Override project root (for testing)
|
|
221
|
-
|
|
222
|
-
Returns:
|
|
223
|
-
{success: bool, message?: str, error?: str}
|
|
224
|
-
"""
|
|
225
|
-
if not validate_layout_name(name):
|
|
226
|
-
return {"success": False, "error": f"Invalid layout name '{name}'"}
|
|
227
|
-
try:
|
|
228
|
-
config_path, config = _read_config(project_dir)
|
|
229
|
-
layouts = config.get("layouts")
|
|
230
|
-
if not isinstance(layouts, dict) or name not in layouts:
|
|
231
|
-
return {"success": False, "error": f"Layout '{name}' not found"}
|
|
232
|
-
del config["layouts"][name]
|
|
233
|
-
_write_config(config_path, config)
|
|
234
|
-
return {"success": True, "message": f"Layout '{name}' cleared"}
|
|
235
|
-
except Exception as exc:
|
|
236
|
-
return {"success": False, "error": str(exc)}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
def clear_all_named_layouts(project_dir: Path | None = None) -> dict:
|
|
240
|
-
"""Delete all named layouts from config.local.yaml.
|
|
241
|
-
|
|
242
|
-
Args:
|
|
243
|
-
project_dir: Override project root (for testing)
|
|
244
|
-
|
|
245
|
-
Returns:
|
|
246
|
-
{success: bool, message?: str, error?: str}
|
|
247
|
-
"""
|
|
248
|
-
try:
|
|
249
|
-
config_path, config = _read_config(project_dir)
|
|
250
|
-
config.pop("layouts", None)
|
|
251
|
-
_write_config(config_path, config)
|
|
252
|
-
return {"success": True, "message": "All layouts cleared"}
|
|
253
|
-
except Exception as exc:
|
|
254
|
-
return {"success": False, "error": str(exc)}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
def get_last_panel(project_dir: Path | None = None) -> dict:
|
|
258
|
-
"""Read last_panel from config.local.yaml.
|
|
259
|
-
|
|
260
|
-
Story 103-8: Panel persistence — single source of truth for last-viewed
|
|
261
|
-
panel, shared between ERB and TUI.
|
|
262
|
-
|
|
263
|
-
Args:
|
|
264
|
-
project_dir: Override project root (for testing)
|
|
265
|
-
|
|
266
|
-
Returns:
|
|
267
|
-
{success: bool, last_panel?: str|None, error?: str}
|
|
268
|
-
"""
|
|
269
|
-
try:
|
|
270
|
-
_, config = _read_config(project_dir)
|
|
271
|
-
last_panel = config.get("last_panel") if config else None
|
|
272
|
-
if last_panel is not None and last_panel not in VALID_PANELS:
|
|
273
|
-
return {"success": True, "last_panel": None}
|
|
274
|
-
return {"success": True, "last_panel": last_panel}
|
|
275
|
-
except Exception:
|
|
276
|
-
return {"success": True, "last_panel": None}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
def save_last_panel(panel_name: str, project_dir: Path | None = None) -> dict:
|
|
280
|
-
"""Save last_panel to config.local.yaml.
|
|
281
|
-
|
|
282
|
-
Story 103-8: Panel persistence — persists the active panel so it can
|
|
283
|
-
be restored on next launch. Shared between ERB and TUI.
|
|
284
|
-
|
|
285
|
-
Args:
|
|
286
|
-
panel_name: Panel ID to persist (must be in VALID_PANELS)
|
|
287
|
-
project_dir: Override project root (for testing)
|
|
288
|
-
|
|
289
|
-
Returns:
|
|
290
|
-
{success: bool, data?: str, error?: str}
|
|
291
|
-
"""
|
|
292
|
-
if panel_name not in VALID_PANELS:
|
|
293
|
-
return {
|
|
294
|
-
"success": False,
|
|
295
|
-
"error": f"Invalid panel '{panel_name}'. Valid panels: {', '.join(VALID_PANELS)}",
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
try:
|
|
299
|
-
config_path, config = _read_config(project_dir)
|
|
300
|
-
if config is None:
|
|
301
|
-
config = _make_yaml().load("{}")
|
|
302
|
-
config["last_panel"] = panel_name
|
|
303
|
-
_write_config(config_path, config)
|
|
304
|
-
return {"success": True, "data": panel_name}
|
|
305
|
-
except Exception as exc:
|
|
306
|
-
return {"success": False, "error": str(exc)}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
def get_panel_focus(project_dir: Path | None = None) -> dict:
|
|
310
|
-
"""Read current focus setting from config.local.yaml.
|
|
311
|
-
|
|
312
|
-
Args:
|
|
313
|
-
project_dir: Override project root (for testing)
|
|
314
|
-
|
|
315
|
-
Returns:
|
|
316
|
-
{success: bool, focus?: str|None, error?: str}
|
|
317
|
-
"""
|
|
318
|
-
try:
|
|
319
|
-
root = project_dir or _get_root()
|
|
320
|
-
config_path = root / ".pennyfarthing" / "config.local.yaml"
|
|
321
|
-
|
|
322
|
-
if not config_path.exists():
|
|
323
|
-
return {"success": True, "focus": None}
|
|
324
|
-
|
|
325
|
-
try:
|
|
326
|
-
_, config = _read_config(project_dir)
|
|
327
|
-
if config is not None:
|
|
328
|
-
return {"success": True, "focus": config.get("focus")}
|
|
329
|
-
return {"success": True, "focus": None}
|
|
330
|
-
except Exception:
|
|
331
|
-
return {"success": True, "focus": None}
|
|
332
|
-
except Exception as exc:
|
|
333
|
-
return {"success": False, "error": str(exc)}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|