@pennyfarthing/core 11.3.2 → 11.3.4
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 +1 -1
- package/package.json +3 -2
- package/packages/core/dist/cli/commands/doctor.d.ts +1 -9
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/doctor.js +51 -107
- package/packages/core/dist/cli/commands/doctor.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/update.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/update.js +26 -1
- package/packages/core/dist/cli/commands/update.js.map +1 -1
- package/packages/core/dist/cli/cyclist-migration.test.d.ts +16 -0
- package/packages/core/dist/cli/cyclist-migration.test.d.ts.map +1 -0
- package/packages/core/dist/cli/cyclist-migration.test.js +229 -0
- package/packages/core/dist/cli/cyclist-migration.test.js.map +1 -0
- package/packages/core/dist/cli/utils/python.d.ts +0 -1
- package/packages/core/dist/cli/utils/python.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/python.js +1 -11
- package/packages/core/dist/cli/utils/python.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/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/paths.d.ts.map +1 -1
- package/packages/core/dist/server/paths.js +0 -6
- package/packages/core/dist/server/paths.js.map +1 -1
- package/pennyfarthing-dist/agents/sm-finish.md +2 -2
- package/pennyfarthing-dist/agents/testing-runner.md +1 -1
- package/pennyfarthing-dist/commands/pf-prime.md +1 -1
- package/pennyfarthing-dist/commands/pf-setup.md +4 -2
- package/pennyfarthing-dist/guides/agent-behavior.md +1 -1
- package/pennyfarthing-dist/guides/bikerack.md +1 -1
- package/pennyfarthing-dist/guides/brownfield-tools.md +7 -7
- package/pennyfarthing-dist/guides/gates.md +3 -3
- package/pennyfarthing-dist/guides/handoff-cli.md +6 -6
- package/pennyfarthing-dist/guides/prime.md +6 -6
- package/pennyfarthing-dist/guides/scale-levels.md +1 -1
- package/pennyfarthing-dist/personas/themes/discworld.yaml +16 -24
- package/pennyfarthing-dist/personas/themes/firefly.yaml +4 -4
- package/pennyfarthing-dist/pf/CLAUDE.md +213 -0
- package/pennyfarthing-dist/pf/README.md +66 -0
- package/pennyfarthing-dist/pf/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/bellmode_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/context.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/context.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/jira.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/jira_bidirectional_sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/jira_epic_creation.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/jira_sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/jira_sync_story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/patch_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/pretooluse_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/schema_validation_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/session_start_hook.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/workflow.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bc/__pycache__/focus.cpython-311.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 +242 -0
- package/pennyfarthing-dist/pf/bc/focus.py +334 -0
- package/pennyfarthing-dist/pf/bc/split.py +52 -0
- package/pennyfarthing-dist/pf/bellmode_hook.py +22 -0
- package/pennyfarthing-dist/pf/bikerack/__init__.py +44 -0
- package/pennyfarthing-dist/pf/bikerack/__main__.py +5 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/bikerack/__pycache__/__main__.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-311.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-311.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 +161 -0
- package/pennyfarthing-dist/pf/bikerack/background_panel.py +162 -0
- package/pennyfarthing-dist/pf/bikerack/changed_panel.py +201 -0
- package/pennyfarthing-dist/pf/bikerack/cli.py +145 -0
- package/pennyfarthing-dist/pf/bikerack/context_meter_footer.py +138 -0
- package/pennyfarthing-dist/pf/bikerack/debug_panel.py +248 -0
- package/pennyfarthing-dist/pf/bikerack/diffs_panel.py +409 -0
- package/pennyfarthing-dist/pf/bikerack/git_panel.py +139 -0
- package/pennyfarthing-dist/pf/bikerack/launcher.py +240 -0
- package/pennyfarthing-dist/pf/bikerack/portrait_resolver.py +139 -0
- package/pennyfarthing-dist/pf/bikerack/progress_panel.py +314 -0
- package/pennyfarthing-dist/pf/bikerack/sprint_panel.py +435 -0
- package/pennyfarthing-dist/pf/bikerack/story_detail_data.py +247 -0
- package/pennyfarthing-dist/pf/bikerack/story_detail_screen.py +177 -0
- package/pennyfarthing-dist/pf/bikerack/tui.py +935 -0
- 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/cli.py +197 -0
- package/pennyfarthing-dist/pf/bmad/importer.py +200 -0
- package/pennyfarthing-dist/pf/bmad/sync.py +464 -0
- package/pennyfarthing-dist/pf/bmad/test_parser.py +253 -0
- package/pennyfarthing-dist/pf/bmad/test_sync.py +223 -0
- package/pennyfarthing-dist/pf/brownfield/__init__.py +35 -0
- package/pennyfarthing-dist/pf/brownfield/__main__.py +8 -0
- package/pennyfarthing-dist/pf/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/brownfield/cli.py +130 -0
- package/pennyfarthing-dist/pf/cli.py +354 -0
- package/pennyfarthing-dist/pf/codemarkers/__init__.py +23 -0
- package/pennyfarthing-dist/pf/codemarkers/__main__.py +6 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/codemarkers/analyze.py +501 -0
- package/pennyfarthing-dist/pf/codemarkers/cli.py +179 -0
- package/pennyfarthing-dist/pf/codemarkers/formatters.py +88 -0
- package/pennyfarthing-dist/pf/common/__init__.py +48 -0
- package/pennyfarthing-dist/pf/common/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/config.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/common/__pycache__/output.cpython-311.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/pr_config.py +38 -0
- package/pennyfarthing-dist/pf/common/themes.py +253 -0
- package/pennyfarthing-dist/pf/complexity/__init__.py +15 -0
- package/pennyfarthing-dist/pf/complexity/__main__.py +6 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/complexity/analyze.py +207 -0
- package/pennyfarthing-dist/pf/complexity/cli.py +82 -0
- package/pennyfarthing-dist/pf/complexity/formatters.py +64 -0
- package/pennyfarthing-dist/pf/config.py +21 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/__pycache__/dialogue_manager.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/consultation/cli.py +149 -0
- package/pennyfarthing-dist/pf/deadcode/__main__.py +6 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/__main__.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/deadcode/analyze.py +322 -0
- package/pennyfarthing-dist/pf/deadcode/cli.py +163 -0
- package/pennyfarthing-dist/pf/deadcode/formatters.py +106 -0
- package/pennyfarthing-dist/pf/dependencies/__init__.py +20 -0
- package/pennyfarthing-dist/pf/dependencies/__main__.py +5 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/dependencies/analyze.py +155 -0
- package/pennyfarthing-dist/pf/dependencies/cli.py +76 -0
- package/pennyfarthing-dist/pf/dependencies/formatters.py +63 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/epic/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/gate/cli.py +56 -0
- package/pennyfarthing-dist/pf/git/__init__.py +40 -0
- package/pennyfarthing-dist/pf/git/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git/__pycache__/create_branches.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git/__pycache__/status_all.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git/create_branches.py +439 -0
- package/pennyfarthing-dist/pf/git/hooks_installer.py +151 -0
- package/pennyfarthing-dist/pf/git/repos.py +196 -0
- package/pennyfarthing-dist/pf/git/status_all.py +326 -0
- package/pennyfarthing-dist/pf/git/worktree.py +302 -0
- package/pennyfarthing-dist/pf/git_group/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git_group/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/git_group/cli.py +203 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/cli.cpython-311.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__/gate_file.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/handoff/__pycache__/gate_runner.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/cli.py +152 -0
- package/pennyfarthing-dist/pf/handoff/marker.py +109 -0
- package/pennyfarthing-dist/pf/handoff/phase_check.py +96 -0
- package/pennyfarthing-dist/pf/healthscore/__init__.py +21 -0
- package/pennyfarthing-dist/pf/healthscore/__main__.py +14 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/cli.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/healthscore/analyze.py +606 -0
- package/pennyfarthing-dist/pf/healthscore/cli.py +80 -0
- package/pennyfarthing-dist/pf/healthscore/formatters.py +46 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/bell_mode.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/context_breaker.cpython-311.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-311.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-311.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-311.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-311.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-311.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-311.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-311.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hooks/bell_mode.py +214 -0
- package/pennyfarthing-dist/pf/hooks/cli.py +96 -0
- package/pennyfarthing-dist/pf/hooks/context_breaker.py +104 -0
- package/pennyfarthing-dist/pf/hooks/context_warning.py +66 -0
- package/pennyfarthing-dist/pf/hooks/cyclist_pretooluse.py +129 -0
- package/pennyfarthing-dist/pf/hooks/schema_validation.py +202 -0
- package/pennyfarthing-dist/pf/hooks/session_start.py +294 -0
- package/pennyfarthing-dist/pf/hooks/sprint_yaml_validation.py +97 -0
- package/pennyfarthing-dist/pf/hooks/statusline.py +429 -0
- package/pennyfarthing-dist/pf/hooks.py +32 -0
- package/pennyfarthing-dist/pf/hotspots/__init__.py +31 -0
- package/pennyfarthing-dist/pf/hotspots/__main__.py +6 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/analyze.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/models.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/hotspots/analyze.py +613 -0
- package/pennyfarthing-dist/pf/hotspots/cli.py +154 -0
- package/pennyfarthing-dist/pf/hotspots/formatters.py +109 -0
- package/pennyfarthing-dist/pf/jira/__init__.py +97 -0
- package/pennyfarthing-dist/pf/jira/__main__.py +10 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/bidirectional.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/claim.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/client.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/compat.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/create.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/epic.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/mappings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/operations.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/reconcile.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/story.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/sync.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/jira/bidirectional.py +587 -0
- package/pennyfarthing-dist/pf/jira/claim.py +232 -0
- package/pennyfarthing-dist/pf/jira/cli.py +362 -0
- package/pennyfarthing-dist/pf/jira/client.py +802 -0
- package/pennyfarthing-dist/pf/jira/create.py +311 -0
- package/pennyfarthing-dist/pf/jira/epic.py +177 -0
- package/pennyfarthing-dist/pf/jira/operations.py +124 -0
- package/pennyfarthing-dist/pf/jira/reconcile.py +276 -0
- package/pennyfarthing-dist/pf/jira/story.py +221 -0
- package/pennyfarthing-dist/pf/jira/sync.py +350 -0
- package/pennyfarthing-dist/pf/jira_bidirectional_sync.py +37 -0
- package/pennyfarthing-dist/pf/jira_epic_creation.py +30 -0
- package/pennyfarthing-dist/pf/jira_sync.py +36 -0
- package/pennyfarthing-dist/pf/jira_sync_story.py +30 -0
- package/pennyfarthing-dist/pf/launch/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/launch/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/launch/cli.py +231 -0
- package/pennyfarthing-dist/pf/migration/__init__.py +39 -0
- package/pennyfarthing-dist/pf/migration/__main__.py +10 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/skill.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/step.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/__pycache__/validate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/migration/cli.py +304 -0
- package/pennyfarthing-dist/pf/migration/validate.py +285 -0
- package/pennyfarthing-dist/pf/output.py +37 -0
- package/pennyfarthing-dist/pf/patch_mode.py +449 -0
- package/pennyfarthing-dist/pf/preflight/__init__.py +17 -0
- package/pennyfarthing-dist/pf/preflight/__main__.py +10 -0
- package/pennyfarthing-dist/pf/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/preflight/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/preflight/__pycache__/finish.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/preflight/cli.py +141 -0
- package/pennyfarthing-dist/pf/pretooluse_hook.py +10 -0
- package/pennyfarthing-dist/pf/prime/__init__.py +127 -0
- package/pennyfarthing-dist/pf/prime/__main__.py +8 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/__main__.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__/version_sentinel.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/prime/cli.py +662 -0
- package/pennyfarthing-dist/pf/prime/heatmap.py +643 -0
- package/pennyfarthing-dist/pf/prime/loader.py +308 -0
- package/pennyfarthing-dist/pf/prime/persona.py +311 -0
- package/pennyfarthing-dist/pf/prime/session.py +183 -0
- package/pennyfarthing-dist/pf/prime/tiers.py +214 -0
- package/pennyfarthing-dist/pf/prime/workflow.py +317 -0
- package/pennyfarthing-dist/pf/schema_validation_hook.py +10 -0
- package/pennyfarthing-dist/pf/session/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/session/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/session/cli.py +87 -0
- package/pennyfarthing-dist/pf/session_start_hook.py +10 -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/cli.py +55 -0
- package/pennyfarthing-dist/pf/settings/settings.py +98 -0
- package/pennyfarthing-dist/pf/sprint/__init__.py +64 -0
- package/pennyfarthing-dist/pf/sprint/__main__.py +10 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/archive.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/epic_add.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/epic_update.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/import_epic.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/loader.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/status.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/story_add.cpython-311.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-311.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validator.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/work.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/yaml_io.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/sprint/archive.py +164 -0
- package/pennyfarthing-dist/pf/sprint/archive_epic.py +625 -0
- package/pennyfarthing-dist/pf/sprint/cli.py +2021 -0
- package/pennyfarthing-dist/pf/sprint/epic_add.py +186 -0
- package/pennyfarthing-dist/pf/sprint/epic_update.py +148 -0
- package/pennyfarthing-dist/pf/sprint/import_epic.py +455 -0
- package/pennyfarthing-dist/pf/sprint/loader.py +441 -0
- package/pennyfarthing-dist/pf/sprint/status.py +121 -0
- package/pennyfarthing-dist/pf/sprint/story_add.py +372 -0
- package/pennyfarthing-dist/pf/sprint/story_finish.py +227 -0
- package/pennyfarthing-dist/pf/sprint/story_update.py +222 -0
- package/pennyfarthing-dist/pf/sprint/validate_cmd.py +307 -0
- package/pennyfarthing-dist/pf/sprint/validator.py +694 -0
- package/pennyfarthing-dist/pf/sprint/work.py +229 -0
- package/pennyfarthing-dist/pf/story/__init__.py +65 -0
- package/pennyfarthing-dist/pf/story/__main__.py +10 -0
- package/pennyfarthing-dist/pf/story/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/story/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/story/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/story/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/story/__pycache__/size.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/story/__pycache__/template.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/story/cli.py +105 -0
- package/pennyfarthing-dist/pf/story/create.py +167 -0
- package/pennyfarthing-dist/pf/tests/__init__.py +1 -0
- 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_108_1_gate_migration.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_archive_epic.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_bc.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_bikerack.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_brownfield.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_cli_modules.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_cli_normalization.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_codemarkers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_common.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_confidence_sm_evaluation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_confidence_sm_gate.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_dialogue_manager.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_epic_shard_validation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_git_utils.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_handoff_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_handoff_e2e.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_healthscore.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_jira_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_package_structure.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_patch_mode.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_prime.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_sprint_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_sprint_panel.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/__pycache__/test_story_add.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_story_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_story_update.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_tiers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_token_counting.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_topology_loader.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_tui_focus.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_tui_panel_persistence.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_validate_cmd.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_version_sentinel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_workflow_check.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_workflow_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/__pycache__/test_yaml_io.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing-dist/pf/tests/conftest.py +105 -0
- package/pennyfarthing-dist/pf/tests/test_108_1_gate_migration.py +540 -0
- package/pennyfarthing-dist/pf/tests/test_108_2_remove_handoff_fallback.py +339 -0
- package/pennyfarthing-dist/pf/tests/test_archive_epic.py +185 -0
- package/pennyfarthing-dist/pf/tests/test_bc.py +490 -0
- package/pennyfarthing-dist/pf/tests/test_bikerack.py +785 -0
- package/pennyfarthing-dist/pf/tests/test_brownfield.py +839 -0
- package/pennyfarthing-dist/pf/tests/test_cli_modules.py +241 -0
- package/pennyfarthing-dist/pf/tests/test_cli_normalization.py +295 -0
- package/pennyfarthing-dist/pf/tests/test_codemarkers.py +687 -0
- package/pennyfarthing-dist/pf/tests/test_common.py +185 -0
- package/pennyfarthing-dist/pf/tests/test_confidence_sm_evaluation.py +253 -0
- package/pennyfarthing-dist/pf/tests/test_confidence_sm_gate.py +316 -0
- package/pennyfarthing-dist/pf/tests/test_dialogue_manager.py +810 -0
- package/pennyfarthing-dist/pf/tests/test_epic_shard_validation.py +699 -0
- package/pennyfarthing-dist/pf/tests/test_gate_file_resolution.py +341 -0
- package/pennyfarthing-dist/pf/tests/test_gate_runner.py +620 -0
- package/pennyfarthing-dist/pf/tests/test_git_utils.py +863 -0
- package/pennyfarthing-dist/pf/tests/test_handoff_cli.py +934 -0
- package/pennyfarthing-dist/pf/tests/test_handoff_e2e.py +454 -0
- package/pennyfarthing-dist/pf/tests/test_healthscore.py +516 -0
- package/pennyfarthing-dist/pf/tests/test_jira_package.py +331 -0
- package/pennyfarthing-dist/pf/tests/test_package_structure.py +359 -0
- package/pennyfarthing-dist/pf/tests/test_patch_mode.py +826 -0
- package/pennyfarthing-dist/pf/tests/test_prime.py +1068 -0
- package/pennyfarthing-dist/pf/tests/test_resolve_gate_file_field.py +460 -0
- package/pennyfarthing-dist/pf/tests/test_sprint_package.py +397 -0
- package/pennyfarthing-dist/pf/tests/test_sprint_panel.py +610 -0
- package/pennyfarthing-dist/pf/tests/test_sprint_validator.py +779 -0
- package/pennyfarthing-dist/pf/tests/test_story_add.py +917 -0
- package/pennyfarthing-dist/pf/tests/test_story_package.py +153 -0
- package/pennyfarthing-dist/pf/tests/test_story_update.py +764 -0
- package/pennyfarthing-dist/pf/tests/test_tiers.py +1091 -0
- package/pennyfarthing-dist/pf/tests/test_token_counting.py +565 -0
- package/pennyfarthing-dist/pf/tests/test_topology_loader.py +620 -0
- package/pennyfarthing-dist/pf/tests/test_tui_focus.py +411 -0
- package/pennyfarthing-dist/pf/tests/test_tui_panel_persistence.py +411 -0
- package/pennyfarthing-dist/pf/tests/test_validate_cmd.py +495 -0
- package/pennyfarthing-dist/pf/tests/test_version_sentinel.py +122 -0
- package/pennyfarthing-dist/pf/tests/test_workflow_check.py +338 -0
- package/pennyfarthing-dist/pf/tests/test_workflow_list_team.py +143 -0
- package/pennyfarthing-dist/pf/tests/test_yaml_io.py +812 -0
- package/pennyfarthing-dist/pf/theme/__main__.py +6 -0
- package/pennyfarthing-dist/pf/theme/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/theme/cli.py +310 -0
- package/pennyfarthing-dist/pf/validate/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/agent.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/schema.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/skill_command.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/tandem_awareness.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/validate/adapters/agent.py +239 -0
- package/pennyfarthing-dist/pf/validate/adapters/schema.py +30 -0
- package/pennyfarthing-dist/pf/validate/adapters/skill_command.py +491 -0
- package/pennyfarthing-dist/pf/validate/adapters/sprint.py +69 -0
- package/pennyfarthing-dist/pf/validate/adapters/tandem_awareness.py +254 -0
- package/pennyfarthing-dist/pf/validate/adapters/team_mode.py +323 -0
- package/pennyfarthing-dist/pf/validate/adapters/workflow.py +403 -0
- package/pennyfarthing-dist/pf/validate/cli.py +164 -0
- package/pennyfarthing-dist/pf/welcome_hook.py +10 -0
- package/pennyfarthing-dist/pf/workflow/__init__.py +40 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/cli.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/state.cpython-311.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/workflow/cli.py +1101 -0
- package/pennyfarthing-dist/pf/workflow/helpers.py +241 -0
- package/pennyfarthing-dist/pyproject.toml +18 -0
- package/pennyfarthing-dist/scripts/core/agent-session.sh +3 -3
- package/pennyfarthing-dist/scripts/core/check-context.sh +8 -8
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +3 -3
- package/pennyfarthing-dist/scripts/jira/README.md +1 -1
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +1 -1
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +1 -1
- package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +1 -1
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +1 -1
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +1 -1
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +1 -1
- package/pennyfarthing-dist/scripts/lib/common.sh +3 -3
- package/pennyfarthing-dist/scripts/lib/run-pf.sh +11 -13
- package/pennyfarthing-dist/scripts/sprint/README.md +1 -1
- package/pennyfarthing-dist/scripts/story/create-story.sh +1 -1
- package/pennyfarthing-dist/scripts/story/size-story.sh +1 -1
- package/pennyfarthing-dist/scripts/story/story-template.sh +1 -1
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +3 -3
- package/pennyfarthing-dist/templates/pyproject.toml +3 -3
- package/pennyfarthing-dist/workflows/project-setup/steps/step-08-theme-packs.md +1 -1
- package/pennyfarthing-dist/workflows/project-setup/steps/step-09-jira.md +92 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-10-cyclist.md +245 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-11-complete.md +205 -0
- package/packages/core/dist/cli/utils/settings-pf-wrapper.test.d.ts +0 -16
- package/packages/core/dist/cli/utils/settings-pf-wrapper.test.d.ts.map +0 -1
- package/packages/core/dist/cli/utils/settings-pf-wrapper.test.js +0 -377
- package/packages/core/dist/cli/utils/settings-pf-wrapper.test.js.map +0 -1
- 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/dist/workflow/workflow-graph-validation.d.ts +0 -65
- package/packages/core/dist/workflow/workflow-graph-validation.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-graph-validation.js +0 -190
- package/packages/core/dist/workflow/workflow-graph-validation.js.map +0 -1
- package/packages/core/dist/workflow/workflow-graph-validation.test.d.ts +0 -18
- package/packages/core/dist/workflow/workflow-graph-validation.test.d.ts.map +0 -1
- package/packages/core/dist/workflow/workflow-graph-validation.test.js +0 -706
- package/packages/core/dist/workflow/workflow-graph-validation.test.js.map +0 -1
- package/pennyfarthing-dist/workflows/project-setup/steps/step-09-cyclist.md +0 -245
- package/pennyfarthing-dist/workflows/project-setup/steps/step-10-complete.md +0 -204
- package/pennyfarthing_scripts/CLAUDE.md +0 -213
- package/pennyfarthing_scripts/README.md +0 -66
- package/pennyfarthing_scripts/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/bellmode_hook.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/context.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/hooks.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_bidirectional_sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_epic_creation.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira_sync_story.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/patch_mode.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/pretooluse_hook.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/schema_validation_hook.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/session_start_hook.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/focus.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/split.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/cli.py +0 -242
- package/pennyfarthing_scripts/bc/focus.py +0 -334
- package/pennyfarthing_scripts/bc/split.py +0 -52
- package/pennyfarthing_scripts/bellmode_hook.py +0 -22
- package/pennyfarthing_scripts/bikerack/__init__.py +0 -44
- package/pennyfarthing_scripts/bikerack/__main__.py +0 -5
- package/pennyfarthing_scripts/bikerack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/audit_log_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/background_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/base_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/changed_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/context_meter_footer.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/debug_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/diffs_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/events.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/git_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/launcher.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/portrait.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/portrait_resolver.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/progress_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/sprint_panel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/story_detail_data.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/story_detail_screen.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/tui.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/ws_client.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/audit_log_panel.py +0 -161
- package/pennyfarthing_scripts/bikerack/background_panel.py +0 -162
- package/pennyfarthing_scripts/bikerack/changed_panel.py +0 -201
- package/pennyfarthing_scripts/bikerack/cli.py +0 -145
- package/pennyfarthing_scripts/bikerack/context_meter_footer.py +0 -138
- package/pennyfarthing_scripts/bikerack/debug_panel.py +0 -248
- package/pennyfarthing_scripts/bikerack/diffs_panel.py +0 -409
- package/pennyfarthing_scripts/bikerack/git_panel.py +0 -139
- package/pennyfarthing_scripts/bikerack/launcher.py +0 -240
- package/pennyfarthing_scripts/bikerack/portrait_resolver.py +0 -139
- package/pennyfarthing_scripts/bikerack/progress_panel.py +0 -314
- package/pennyfarthing_scripts/bikerack/sprint_panel.py +0 -435
- package/pennyfarthing_scripts/bikerack/story_detail_data.py +0 -247
- package/pennyfarthing_scripts/bikerack/story_detail_screen.py +0 -177
- package/pennyfarthing_scripts/bikerack/tui.py +0 -935
- package/pennyfarthing_scripts/bmad/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bmad/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bmad/__pycache__/parser.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bmad/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bmad/__pycache__/test_parser.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/bmad/__pycache__/test_sync.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/bmad/cli.py +0 -197
- package/pennyfarthing_scripts/bmad/importer.py +0 -200
- package/pennyfarthing_scripts/bmad/sync.py +0 -464
- package/pennyfarthing_scripts/bmad/test_parser.py +0 -253
- package/pennyfarthing_scripts/bmad/test_sync.py +0 -223
- package/pennyfarthing_scripts/brownfield/__init__.py +0 -35
- package/pennyfarthing_scripts/brownfield/__main__.py +0 -8
- package/pennyfarthing_scripts/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/cli.py +0 -130
- package/pennyfarthing_scripts/cli.py +0 -354
- package/pennyfarthing_scripts/codemarkers/__init__.py +0 -23
- package/pennyfarthing_scripts/codemarkers/__main__.py +0 -6
- package/pennyfarthing_scripts/codemarkers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/codemarkers/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/codemarkers/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/codemarkers/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/codemarkers/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/codemarkers/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/codemarkers/analyze.py +0 -501
- package/pennyfarthing_scripts/codemarkers/cli.py +0 -179
- package/pennyfarthing_scripts/codemarkers/formatters.py +0 -88
- package/pennyfarthing_scripts/common/__init__.py +0 -48
- package/pennyfarthing_scripts/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/themes.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/pr_config.py +0 -38
- package/pennyfarthing_scripts/common/themes.py +0 -253
- package/pennyfarthing_scripts/complexity/__init__.py +0 -15
- package/pennyfarthing_scripts/complexity/__main__.py +0 -6
- package/pennyfarthing_scripts/complexity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/complexity/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/complexity/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/complexity/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/complexity/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/complexity/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/complexity/analyze.py +0 -207
- package/pennyfarthing_scripts/complexity/cli.py +0 -82
- package/pennyfarthing_scripts/complexity/formatters.py +0 -64
- package/pennyfarthing_scripts/config.py +0 -21
- package/pennyfarthing_scripts/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/consultation/cli.py +0 -149
- package/pennyfarthing_scripts/deadcode/__main__.py +0 -6
- package/pennyfarthing_scripts/deadcode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/analyze.py +0 -322
- package/pennyfarthing_scripts/deadcode/cli.py +0 -163
- package/pennyfarthing_scripts/deadcode/formatters.py +0 -106
- package/pennyfarthing_scripts/dependencies/__init__.py +0 -20
- package/pennyfarthing_scripts/dependencies/__main__.py +0 -5
- package/pennyfarthing_scripts/dependencies/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/dependencies/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/dependencies/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/dependencies/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/dependencies/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/dependencies/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/dependencies/analyze.py +0 -155
- package/pennyfarthing_scripts/dependencies/cli.py +0 -76
- package/pennyfarthing_scripts/dependencies/formatters.py +0 -63
- package/pennyfarthing_scripts/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/epic/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/gate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/gate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/gate/__pycache__/validate.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/gate/cli.py +0 -56
- package/pennyfarthing_scripts/git/__init__.py +0 -40
- package/pennyfarthing_scripts/git/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/create_branches.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/hooks_installer.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/repos.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/status_all.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/__pycache__/worktree.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git/create_branches.py +0 -439
- package/pennyfarthing_scripts/git/hooks_installer.py +0 -151
- package/pennyfarthing_scripts/git/repos.py +0 -196
- package/pennyfarthing_scripts/git/status_all.py +0 -326
- package/pennyfarthing_scripts/git/worktree.py +0 -302
- package/pennyfarthing_scripts/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git_group/cli.py +0 -203
- package/pennyfarthing_scripts/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/complete_phase.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/gate_file.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/gate_runner.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/marker.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/phase_check.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/resolve_gate.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/cli.py +0 -152
- package/pennyfarthing_scripts/handoff/marker.py +0 -109
- package/pennyfarthing_scripts/handoff/phase_check.py +0 -96
- package/pennyfarthing_scripts/healthscore/__init__.py +0 -21
- package/pennyfarthing_scripts/healthscore/__main__.py +0 -14
- package/pennyfarthing_scripts/healthscore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/analyze.py +0 -606
- package/pennyfarthing_scripts/healthscore/cli.py +0 -80
- package/pennyfarthing_scripts/healthscore/formatters.py +0 -46
- package/pennyfarthing_scripts/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/context_breaker.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/context_warning.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/cyclist_pretooluse.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/pre_edit_check.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/session_start.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/session_stop.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/sprint_yaml_validation.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/bell_mode.py +0 -214
- package/pennyfarthing_scripts/hooks/cli.py +0 -96
- package/pennyfarthing_scripts/hooks/context_breaker.py +0 -104
- package/pennyfarthing_scripts/hooks/context_warning.py +0 -66
- package/pennyfarthing_scripts/hooks/cyclist_pretooluse.py +0 -129
- package/pennyfarthing_scripts/hooks/schema_validation.py +0 -202
- package/pennyfarthing_scripts/hooks/session_start.py +0 -294
- package/pennyfarthing_scripts/hooks/sprint_yaml_validation.py +0 -97
- package/pennyfarthing_scripts/hooks/statusline.py +0 -429
- package/pennyfarthing_scripts/hooks.py +0 -32
- package/pennyfarthing_scripts/hotspots/__init__.py +0 -31
- package/pennyfarthing_scripts/hotspots/__main__.py +0 -6
- package/pennyfarthing_scripts/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/formatters.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/analyze.py +0 -613
- package/pennyfarthing_scripts/hotspots/cli.py +0 -154
- package/pennyfarthing_scripts/hotspots/formatters.py +0 -109
- package/pennyfarthing_scripts/jira/__init__.py +0 -97
- package/pennyfarthing_scripts/jira/__main__.py +0 -10
- package/pennyfarthing_scripts/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/bidirectional.py +0 -587
- package/pennyfarthing_scripts/jira/claim.py +0 -232
- package/pennyfarthing_scripts/jira/cli.py +0 -362
- package/pennyfarthing_scripts/jira/client.py +0 -790
- package/pennyfarthing_scripts/jira/create.py +0 -311
- package/pennyfarthing_scripts/jira/epic.py +0 -177
- package/pennyfarthing_scripts/jira/operations.py +0 -124
- package/pennyfarthing_scripts/jira/reconcile.py +0 -276
- package/pennyfarthing_scripts/jira/story.py +0 -221
- package/pennyfarthing_scripts/jira/sync.py +0 -350
- package/pennyfarthing_scripts/jira_bidirectional_sync.py +0 -37
- package/pennyfarthing_scripts/jira_epic_creation.py +0 -30
- package/pennyfarthing_scripts/jira_sync.py +0 -36
- package/pennyfarthing_scripts/jira_sync_story.py +0 -30
- package/pennyfarthing_scripts/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/launch/cli.py +0 -231
- package/pennyfarthing_scripts/migration/__init__.py +0 -39
- package/pennyfarthing_scripts/migration/__main__.py +0 -10
- package/pennyfarthing_scripts/migration/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/skill.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/step.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/validate.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/cli.py +0 -304
- package/pennyfarthing_scripts/migration/validate.py +0 -285
- package/pennyfarthing_scripts/output.py +0 -37
- package/pennyfarthing_scripts/patch_mode.py +0 -449
- package/pennyfarthing_scripts/preflight/__init__.py +0 -17
- package/pennyfarthing_scripts/preflight/__main__.py +0 -10
- package/pennyfarthing_scripts/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/finish.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/cli.py +0 -141
- package/pennyfarthing_scripts/pretooluse_hook.py +0 -10
- package/pennyfarthing_scripts/prime/__init__.py +0 -127
- package/pennyfarthing_scripts/prime/__main__.py +0 -8
- package/pennyfarthing_scripts/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/heatmap.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/persona.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/session.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/tiers.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/version_sentinel.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/cli.py +0 -662
- package/pennyfarthing_scripts/prime/heatmap.py +0 -643
- package/pennyfarthing_scripts/prime/loader.py +0 -308
- package/pennyfarthing_scripts/prime/persona.py +0 -311
- package/pennyfarthing_scripts/prime/session.py +0 -183
- package/pennyfarthing_scripts/prime/tiers.py +0 -214
- package/pennyfarthing_scripts/prime/workflow.py +0 -317
- package/pennyfarthing_scripts/schema_validation_hook.py +0 -10
- package/pennyfarthing_scripts/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/session/cli.py +0 -87
- package/pennyfarthing_scripts/session_start_hook.py +0 -10
- package/pennyfarthing_scripts/settings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/settings/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/settings/__pycache__/settings.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/settings/cli.py +0 -55
- package/pennyfarthing_scripts/settings/settings.py +0 -98
- package/pennyfarthing_scripts/sprint/__init__.py +0 -64
- package/pennyfarthing_scripts/sprint/__main__.py +0 -10
- package/pennyfarthing_scripts/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/epic_add.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/epic_update.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/import_epic.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/story_add.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/story_finish.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/archive.py +0 -164
- package/pennyfarthing_scripts/sprint/archive_epic.py +0 -625
- package/pennyfarthing_scripts/sprint/cli.py +0 -2021
- package/pennyfarthing_scripts/sprint/epic_add.py +0 -186
- package/pennyfarthing_scripts/sprint/epic_update.py +0 -148
- package/pennyfarthing_scripts/sprint/import_epic.py +0 -455
- package/pennyfarthing_scripts/sprint/loader.py +0 -441
- package/pennyfarthing_scripts/sprint/status.py +0 -121
- package/pennyfarthing_scripts/sprint/story_add.py +0 -372
- package/pennyfarthing_scripts/sprint/story_finish.py +0 -227
- package/pennyfarthing_scripts/sprint/story_update.py +0 -222
- package/pennyfarthing_scripts/sprint/validate_cmd.py +0 -307
- package/pennyfarthing_scripts/sprint/validator.py +0 -694
- package/pennyfarthing_scripts/sprint/work.py +0 -229
- package/pennyfarthing_scripts/story/__init__.py +0 -65
- package/pennyfarthing_scripts/story/__main__.py +0 -10
- package/pennyfarthing_scripts/story/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/size.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/__pycache__/template.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/story/cli.py +0 -105
- package/pennyfarthing_scripts/story/create.py +0 -167
- package/pennyfarthing_scripts/tests/__init__.py +0 -1
- package/pennyfarthing_scripts/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_108_2_remove_handoff_fallback.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_archive_epic.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_bc.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_bikerack.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_brownfield.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_cli_modules.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_cli_normalization.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_codemarkers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_common.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_confidence_sm_evaluation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_confidence_sm_gate.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_epic_shard_validation.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_gate_file_resolution.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_gate_runner.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_git_utils.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_handoff_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_handoff_e2e.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_healthscore.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_jira_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_package_structure.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_patch_mode.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_prime.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_resolve_gate_file_field.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_sprint_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_sprint_panel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_story_add.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_story_package.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_story_update.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_tiers.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_token_counting.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_topology_loader.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_tui_focus.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_tui_panel_persistence.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_validate_cmd.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_version_sentinel.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_workflow_check.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_workflow_list_team.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_workflow_list_team.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_yaml_io.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/conftest.py +0 -105
- package/pennyfarthing_scripts/tests/test_108_1_gate_migration.py +0 -540
- package/pennyfarthing_scripts/tests/test_108_2_remove_handoff_fallback.py +0 -339
- package/pennyfarthing_scripts/tests/test_archive_epic.py +0 -185
- package/pennyfarthing_scripts/tests/test_bc.py +0 -490
- package/pennyfarthing_scripts/tests/test_bikerack.py +0 -785
- package/pennyfarthing_scripts/tests/test_brownfield.py +0 -839
- package/pennyfarthing_scripts/tests/test_cli_modules.py +0 -241
- package/pennyfarthing_scripts/tests/test_cli_normalization.py +0 -295
- package/pennyfarthing_scripts/tests/test_codemarkers.py +0 -687
- package/pennyfarthing_scripts/tests/test_common.py +0 -185
- package/pennyfarthing_scripts/tests/test_confidence_sm_evaluation.py +0 -253
- package/pennyfarthing_scripts/tests/test_confidence_sm_gate.py +0 -316
- package/pennyfarthing_scripts/tests/test_dialogue_manager.py +0 -810
- package/pennyfarthing_scripts/tests/test_epic_shard_validation.py +0 -699
- package/pennyfarthing_scripts/tests/test_gate_file_resolution.py +0 -341
- package/pennyfarthing_scripts/tests/test_gate_runner.py +0 -620
- package/pennyfarthing_scripts/tests/test_git_utils.py +0 -863
- package/pennyfarthing_scripts/tests/test_handoff_cli.py +0 -934
- package/pennyfarthing_scripts/tests/test_handoff_e2e.py +0 -454
- package/pennyfarthing_scripts/tests/test_healthscore.py +0 -516
- package/pennyfarthing_scripts/tests/test_jira_package.py +0 -331
- package/pennyfarthing_scripts/tests/test_package_structure.py +0 -359
- package/pennyfarthing_scripts/tests/test_patch_mode.py +0 -826
- package/pennyfarthing_scripts/tests/test_prime.py +0 -1068
- package/pennyfarthing_scripts/tests/test_resolve_gate_file_field.py +0 -462
- package/pennyfarthing_scripts/tests/test_sprint_package.py +0 -397
- package/pennyfarthing_scripts/tests/test_sprint_panel.py +0 -610
- package/pennyfarthing_scripts/tests/test_sprint_validator.py +0 -779
- package/pennyfarthing_scripts/tests/test_story_add.py +0 -917
- package/pennyfarthing_scripts/tests/test_story_package.py +0 -153
- package/pennyfarthing_scripts/tests/test_story_update.py +0 -764
- package/pennyfarthing_scripts/tests/test_tiers.py +0 -1091
- package/pennyfarthing_scripts/tests/test_token_counting.py +0 -565
- package/pennyfarthing_scripts/tests/test_topology_loader.py +0 -620
- package/pennyfarthing_scripts/tests/test_tui_focus.py +0 -411
- package/pennyfarthing_scripts/tests/test_tui_panel_persistence.py +0 -411
- package/pennyfarthing_scripts/tests/test_validate_cmd.py +0 -495
- package/pennyfarthing_scripts/tests/test_version_sentinel.py +0 -122
- package/pennyfarthing_scripts/tests/test_workflow_check.py +0 -338
- package/pennyfarthing_scripts/tests/test_workflow_list_team.py +0 -143
- package/pennyfarthing_scripts/tests/test_yaml_io.py +0 -812
- package/pennyfarthing_scripts/theme/__main__.py +0 -6
- package/pennyfarthing_scripts/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/theme/cli.py +0 -310
- package/pennyfarthing_scripts/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/agent.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/schema.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/skill_command.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/tandem_awareness.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/team_mode.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/adapters/agent.py +0 -239
- package/pennyfarthing_scripts/validate/adapters/schema.py +0 -30
- package/pennyfarthing_scripts/validate/adapters/skill_command.py +0 -491
- package/pennyfarthing_scripts/validate/adapters/sprint.py +0 -69
- package/pennyfarthing_scripts/validate/adapters/tandem_awareness.py +0 -254
- package/pennyfarthing_scripts/validate/adapters/team_mode.py +0 -323
- package/pennyfarthing_scripts/validate/adapters/workflow.py +0 -403
- package/pennyfarthing_scripts/validate/cli.py +0 -164
- package/pennyfarthing_scripts/welcome_hook.py +0 -10
- package/pennyfarthing_scripts/workflow/__init__.py +0 -40
- package/pennyfarthing_scripts/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/helpers.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/team_lifecycle.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/cli.py +0 -1101
- package/pennyfarthing_scripts/workflow/helpers.py +0 -241
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/bc/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/bikerack/base_panel.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/bikerack/events.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/bikerack/ws_client.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/bmad/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/bmad/parser.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/brownfield/discover.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/codemarkers/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/common/config.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/common/output.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/complexity/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/consultation/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/consultation/dialogue_manager.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/context.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/deadcode/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/deadcode/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/dependencies/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/epic/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/epic/cli.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/gate/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/gate/validate.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/git_group/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/handoff/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/handoff/complete_phase.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/handoff/gate_file.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/handoff/gate_runner.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/handoff/resolve_gate.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/healthscore/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/hooks/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/hooks/cyclist-pretooluse-hook.sh +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/hooks/pre_edit_check.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/hooks/reflector_check.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/hooks/session_stop.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/hotspots/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/launch/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/migration/session.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/migration/skill.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/migration/step.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/preflight/finish.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/prime/models.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/prime/version_sentinel.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/session/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/settings/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/sprint/yaml_io.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/story/size.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/story/template.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/swebench.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/theme/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/validate/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/validate/adapters/__init__.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/workflow/scale.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/workflow/state.py +0 -0
- /package/{pennyfarthing_scripts → pennyfarthing-dist/pf}/workflow/team_lifecycle.py +0 -0
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for Story 117-2: Generate hook commands with pf.sh wrapper path, not bare pf
|
|
3
|
-
*
|
|
4
|
-
* The pf CLI is only available via `uv run` or the pf.sh wrapper script.
|
|
5
|
-
* Consumer installs don't have `pf` on PATH. All generated hook commands
|
|
6
|
-
* must use the wrapper: "$CLAUDE_PROJECT_DIR"/.pennyfarthing/scripts/core/pf.sh
|
|
7
|
-
*
|
|
8
|
-
* Acceptance Criteria:
|
|
9
|
-
* AC1: Hook generation uses pf.sh wrapper path instead of bare `pf`
|
|
10
|
-
* AC2: Existing bare `pf` hooks in settings.local.json are migrated to wrapper path
|
|
11
|
-
* AC3: Tests validate the correct path is generated
|
|
12
|
-
*
|
|
13
|
-
* Run with: cd packages/core && pnpm build && node --test dist/cli/utils/settings-pf-wrapper.test.js
|
|
14
|
-
*/
|
|
15
|
-
import { describe, it, beforeEach, afterEach } from 'node:test';
|
|
16
|
-
import assert from 'node:assert';
|
|
17
|
-
import { existsSync, mkdirSync, writeFileSync, rmSync, readFileSync, } from 'fs';
|
|
18
|
-
import { join } from 'path';
|
|
19
|
-
import { tmpdir } from 'os';
|
|
20
|
-
import { fileURLToPath } from 'url';
|
|
21
|
-
import { dirname } from 'path';
|
|
22
|
-
import { mergeSettingsLocalJson, migrateHookPaths, LEGACY_HOOK_MIGRATIONS, } from './settings.js';
|
|
23
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
24
|
-
const __dirname = dirname(__filename);
|
|
25
|
-
/** The canonical wrapper path prefix that all hook commands must use */
|
|
26
|
-
const PF_SH_PREFIX = '"$CLAUDE_PROJECT_DIR"/.pennyfarthing/scripts/core/pf.sh';
|
|
27
|
-
describe('Story 117-2: Hook commands use pf.sh wrapper path', () => {
|
|
28
|
-
let testDir;
|
|
29
|
-
let pennyfarthingDir;
|
|
30
|
-
let assetsPath;
|
|
31
|
-
beforeEach(() => {
|
|
32
|
-
testDir = join(tmpdir(), `pf-wrapper-test-${Date.now()}-${Math.random().toString(36).slice(2)}`);
|
|
33
|
-
pennyfarthingDir = join(testDir, '.pennyfarthing');
|
|
34
|
-
assetsPath = join(testDir, 'assets');
|
|
35
|
-
mkdirSync(join(testDir, '.claude'), { recursive: true });
|
|
36
|
-
mkdirSync(pennyfarthingDir, { recursive: true });
|
|
37
|
-
mkdirSync(join(assetsPath, 'templates'), { recursive: true });
|
|
38
|
-
});
|
|
39
|
-
afterEach(() => {
|
|
40
|
-
if (existsSync(testDir)) {
|
|
41
|
-
rmSync(testDir, { recursive: true, force: true });
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
// ─── AC1: Generated hooks use pf.sh wrapper path ──────────────────
|
|
45
|
-
describe('AC1: LEGACY_HOOK_MIGRATIONS values use pf.sh wrapper', () => {
|
|
46
|
-
it('every migration target should start with the pf.sh wrapper prefix', () => {
|
|
47
|
-
for (const [legacyName, pfCommand] of Object.entries(LEGACY_HOOK_MIGRATIONS)) {
|
|
48
|
-
assert.ok(pfCommand.startsWith(PF_SH_PREFIX), `Migration for '${legacyName}' should use pf.sh wrapper, got: ${pfCommand}`);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
it('no migration target should use bare "pf hooks" without wrapper', () => {
|
|
52
|
-
for (const [legacyName, pfCommand] of Object.entries(LEGACY_HOOK_MIGRATIONS)) {
|
|
53
|
-
// Bare pf would look like: 'pf hooks ...' at the start of the command
|
|
54
|
-
const isBare = pfCommand.match(/^pf\s+hooks\s/);
|
|
55
|
-
assert.ok(!isBare, `Migration for '${legacyName}' uses bare 'pf hooks' — must use pf.sh wrapper: ${pfCommand}`);
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
describe('AC1: Template uses pf.sh wrapper path', () => {
|
|
60
|
-
it('settings template should not contain bare "pf hooks" commands', () => {
|
|
61
|
-
// Use the actual template from pennyfarthing-dist
|
|
62
|
-
const realTemplatePath = join(__dirname, '../../../../pennyfarthing-dist/templates/settings.local.json.template');
|
|
63
|
-
// Skip if running from dist/ where relative path may not resolve
|
|
64
|
-
if (!existsSync(realTemplatePath)) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
const templateContent = readFileSync(realTemplatePath, 'utf8');
|
|
68
|
-
const template = JSON.parse(templateContent);
|
|
69
|
-
// Walk all hook entries and check commands
|
|
70
|
-
for (const [hookType, hookArray] of Object.entries(template.hooks || {})) {
|
|
71
|
-
if (!Array.isArray(hookArray))
|
|
72
|
-
continue;
|
|
73
|
-
for (const entry of hookArray) {
|
|
74
|
-
const hookEntry = entry;
|
|
75
|
-
if (!hookEntry.hooks)
|
|
76
|
-
continue;
|
|
77
|
-
for (const h of hookEntry.hooks) {
|
|
78
|
-
if (h.command && h.command.includes('pf hooks') && !h.command.includes('pf.sh hooks')) {
|
|
79
|
-
assert.fail(`Template ${hookType} hook uses bare 'pf hooks': ${h.command} — must use pf.sh wrapper`);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
// Check statusLine too
|
|
85
|
-
if (template.statusLine?.command) {
|
|
86
|
-
const cmd = template.statusLine.command;
|
|
87
|
-
if (cmd.includes('pf hooks') && !cmd.includes('pf.sh hooks')) {
|
|
88
|
-
assert.fail(`Template statusLine uses bare 'pf hooks': ${cmd} — must use pf.sh wrapper`);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
it('mergeSettingsLocalJson should generate hooks with pf.sh wrapper on fresh install', async () => {
|
|
93
|
-
// Template using pf.sh wrapper (correct)
|
|
94
|
-
const template = {
|
|
95
|
-
hooks: {
|
|
96
|
-
SessionStart: [
|
|
97
|
-
{
|
|
98
|
-
hooks: [{
|
|
99
|
-
type: 'command',
|
|
100
|
-
command: `${PF_SH_PREFIX} hooks session-start`,
|
|
101
|
-
}],
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
Stop: [
|
|
105
|
-
{
|
|
106
|
-
hooks: [{
|
|
107
|
-
type: 'command',
|
|
108
|
-
command: `${PF_SH_PREFIX} hooks reflector-check`,
|
|
109
|
-
}],
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
permissions: { allow: [] },
|
|
114
|
-
};
|
|
115
|
-
writeFileSync(join(assetsPath, 'templates/settings.local.json.template'), JSON.stringify(template, null, 2));
|
|
116
|
-
await mergeSettingsLocalJson(testDir, assetsPath, {});
|
|
117
|
-
const settings = JSON.parse(readFileSync(join(pennyfarthingDir, 'settings.local.json'), 'utf8'));
|
|
118
|
-
// Every hook command should use the wrapper
|
|
119
|
-
for (const [hookType, hookArray] of Object.entries(settings.hooks || {})) {
|
|
120
|
-
if (!Array.isArray(hookArray))
|
|
121
|
-
continue;
|
|
122
|
-
for (const entry of hookArray) {
|
|
123
|
-
if (!entry.hooks)
|
|
124
|
-
continue;
|
|
125
|
-
for (const h of entry.hooks) {
|
|
126
|
-
if (h.command?.includes('pf hooks') || h.command?.includes('pf ')) {
|
|
127
|
-
assert.ok(h.command.includes('pf.sh'), `Generated ${hookType} hook should use pf.sh wrapper, got: ${h.command}`);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
// ─── AC2: Bare `pf` commands are migrated to wrapper path ─────────
|
|
135
|
-
describe('AC2: migrateHookPaths converts bare "pf hooks" to pf.sh wrapper', () => {
|
|
136
|
-
it('should migrate bare "pf hooks session-start" to pf.sh wrapper', () => {
|
|
137
|
-
const hookArray = [
|
|
138
|
-
{
|
|
139
|
-
hooks: [{
|
|
140
|
-
type: 'command',
|
|
141
|
-
command: 'pf hooks session-start',
|
|
142
|
-
}],
|
|
143
|
-
},
|
|
144
|
-
];
|
|
145
|
-
const migrated = migrateHookPaths(hookArray);
|
|
146
|
-
assert.ok(migrated, 'Should report migration occurred');
|
|
147
|
-
assert.ok(hookArray[0].hooks[0].command.includes('pf.sh'), `Should use pf.sh wrapper, got: ${hookArray[0].hooks[0].command}`);
|
|
148
|
-
assert.strictEqual(hookArray[0].hooks[0].command, `${PF_SH_PREFIX} hooks session-start`, 'Should use the canonical pf.sh wrapper path');
|
|
149
|
-
});
|
|
150
|
-
it('should migrate bare "pf hooks bell-mode" to pf.sh wrapper', () => {
|
|
151
|
-
const hookArray = [
|
|
152
|
-
{
|
|
153
|
-
hooks: [{
|
|
154
|
-
type: 'command',
|
|
155
|
-
command: 'pf hooks bell-mode',
|
|
156
|
-
}],
|
|
157
|
-
},
|
|
158
|
-
];
|
|
159
|
-
migrateHookPaths(hookArray);
|
|
160
|
-
assert.strictEqual(hookArray[0].hooks[0].command, `${PF_SH_PREFIX} hooks bell-mode`, 'Should migrate bare pf hooks bell-mode to wrapper path');
|
|
161
|
-
});
|
|
162
|
-
it('should migrate bare "pf hooks statusline" to pf.sh wrapper', () => {
|
|
163
|
-
const hookArray = [
|
|
164
|
-
{
|
|
165
|
-
hooks: [{
|
|
166
|
-
type: 'command',
|
|
167
|
-
command: 'pf hooks statusline',
|
|
168
|
-
}],
|
|
169
|
-
},
|
|
170
|
-
];
|
|
171
|
-
migrateHookPaths(hookArray);
|
|
172
|
-
assert.strictEqual(hookArray[0].hooks[0].command, `${PF_SH_PREFIX} hooks statusline`, 'Should migrate bare pf hooks statusline to wrapper path');
|
|
173
|
-
});
|
|
174
|
-
it('should migrate all known bare pf hook commands', () => {
|
|
175
|
-
const bareCommands = [
|
|
176
|
-
'pf hooks session-start',
|
|
177
|
-
'pf hooks session-stop',
|
|
178
|
-
'pf hooks reflector-check',
|
|
179
|
-
'pf hooks pre-edit-check',
|
|
180
|
-
'pf hooks context-warning',
|
|
181
|
-
'pf hooks context-breaker',
|
|
182
|
-
'pf hooks cyclist-pretooluse',
|
|
183
|
-
'pf hooks schema-validation',
|
|
184
|
-
'pf hooks bell-mode',
|
|
185
|
-
'pf hooks sprint-yaml',
|
|
186
|
-
'pf hooks statusline',
|
|
187
|
-
];
|
|
188
|
-
for (const bareCmd of bareCommands) {
|
|
189
|
-
const hookArray = [
|
|
190
|
-
{ hooks: [{ type: 'command', command: bareCmd }] },
|
|
191
|
-
];
|
|
192
|
-
const migrated = migrateHookPaths(hookArray);
|
|
193
|
-
assert.ok(migrated, `Should migrate '${bareCmd}'`);
|
|
194
|
-
assert.ok(hookArray[0].hooks[0].command.startsWith(PF_SH_PREFIX), `'${bareCmd}' should be migrated to wrapper path, got: ${hookArray[0].hooks[0].command}`);
|
|
195
|
-
assert.ok(!hookArray[0].hooks[0].command.match(/^pf\s/), `'${bareCmd}' should not start with bare 'pf' after migration`);
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
it('should NOT modify commands that already use pf.sh wrapper', () => {
|
|
199
|
-
const wrapperCommand = `${PF_SH_PREFIX} hooks session-start`;
|
|
200
|
-
const hookArray = [
|
|
201
|
-
{ hooks: [{ type: 'command', command: wrapperCommand }] },
|
|
202
|
-
];
|
|
203
|
-
const migrated = migrateHookPaths(hookArray);
|
|
204
|
-
assert.ok(!migrated, 'Should not report migration for already-correct commands');
|
|
205
|
-
assert.strictEqual(hookArray[0].hooks[0].command, wrapperCommand, 'Command should remain unchanged');
|
|
206
|
-
});
|
|
207
|
-
it('should NOT modify non-pf hook commands', () => {
|
|
208
|
-
const customCommand = '"$CLAUDE_PROJECT_DIR"/.pennyfarthing/project/hooks/setup-env.sh';
|
|
209
|
-
const hookArray = [
|
|
210
|
-
{ hooks: [{ type: 'command', command: customCommand }] },
|
|
211
|
-
];
|
|
212
|
-
migrateHookPaths(hookArray);
|
|
213
|
-
assert.strictEqual(hookArray[0].hooks[0].command, customCommand, 'Non-pf commands should not be modified');
|
|
214
|
-
});
|
|
215
|
-
});
|
|
216
|
-
describe('AC2: mergeSettingsLocalJson migrates existing bare pf commands', () => {
|
|
217
|
-
it('should migrate bare "pf hooks" in existing settings during merge', async () => {
|
|
218
|
-
// Existing settings with bare pf commands
|
|
219
|
-
const existingSettings = {
|
|
220
|
-
hooks: {
|
|
221
|
-
SessionStart: [
|
|
222
|
-
{
|
|
223
|
-
hooks: [{
|
|
224
|
-
type: 'command',
|
|
225
|
-
command: 'pf hooks session-start',
|
|
226
|
-
}],
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
PostToolUse: [
|
|
230
|
-
{
|
|
231
|
-
hooks: [{
|
|
232
|
-
type: 'command',
|
|
233
|
-
command: 'pf hooks bell-mode',
|
|
234
|
-
}],
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
},
|
|
238
|
-
};
|
|
239
|
-
writeFileSync(join(pennyfarthingDir, 'settings.local.json'), JSON.stringify(existingSettings, null, 2));
|
|
240
|
-
// Template with correct wrapper paths
|
|
241
|
-
const template = {
|
|
242
|
-
hooks: {
|
|
243
|
-
SessionStart: [
|
|
244
|
-
{
|
|
245
|
-
hooks: [{
|
|
246
|
-
type: 'command',
|
|
247
|
-
command: `${PF_SH_PREFIX} hooks session-start`,
|
|
248
|
-
}],
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
},
|
|
252
|
-
permissions: { allow: [] },
|
|
253
|
-
};
|
|
254
|
-
writeFileSync(join(assetsPath, 'templates/settings.local.json.template'), JSON.stringify(template, null, 2));
|
|
255
|
-
await mergeSettingsLocalJson(testDir, assetsPath, {});
|
|
256
|
-
const settings = JSON.parse(readFileSync(join(pennyfarthingDir, 'settings.local.json'), 'utf8'));
|
|
257
|
-
// Check all hook commands use wrapper path
|
|
258
|
-
for (const [hookType, hookArray] of Object.entries(settings.hooks || {})) {
|
|
259
|
-
if (!Array.isArray(hookArray))
|
|
260
|
-
continue;
|
|
261
|
-
for (const entry of hookArray) {
|
|
262
|
-
if (!entry.hooks)
|
|
263
|
-
continue;
|
|
264
|
-
for (const h of entry.hooks) {
|
|
265
|
-
if (h.command?.includes('pf hooks')) {
|
|
266
|
-
assert.ok(h.command.includes('pf.sh hooks'), `${hookType} hook should use pf.sh wrapper after merge, got: ${h.command}`);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
});
|
|
273
|
-
// ─── AC3: Validate the correct path is generated ──────────────────
|
|
274
|
-
describe('AC3: No bare "pf" commands leak through any code path', () => {
|
|
275
|
-
it('fresh install from template should have zero bare pf commands', async () => {
|
|
276
|
-
const template = {
|
|
277
|
-
hooks: {
|
|
278
|
-
SessionStart: [
|
|
279
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks session-start` }] },
|
|
280
|
-
],
|
|
281
|
-
Stop: [
|
|
282
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks reflector-check` }] },
|
|
283
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks session-stop` }] },
|
|
284
|
-
],
|
|
285
|
-
PostToolUse: [
|
|
286
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks bell-mode` }] },
|
|
287
|
-
],
|
|
288
|
-
PreToolUse: [
|
|
289
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks pre-edit-check` }] },
|
|
290
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks context-breaker` }] },
|
|
291
|
-
],
|
|
292
|
-
},
|
|
293
|
-
statusLine: {
|
|
294
|
-
type: 'command',
|
|
295
|
-
command: `${PF_SH_PREFIX} hooks statusline`,
|
|
296
|
-
},
|
|
297
|
-
permissions: { allow: [] },
|
|
298
|
-
};
|
|
299
|
-
writeFileSync(join(assetsPath, 'templates/settings.local.json.template'), JSON.stringify(template, null, 2));
|
|
300
|
-
await mergeSettingsLocalJson(testDir, assetsPath, {});
|
|
301
|
-
const settings = JSON.parse(readFileSync(join(pennyfarthingDir, 'settings.local.json'), 'utf8'));
|
|
302
|
-
// Walk every command in every hook type
|
|
303
|
-
const barePfCommands = [];
|
|
304
|
-
for (const hookArray of Object.values(settings.hooks || {})) {
|
|
305
|
-
if (!Array.isArray(hookArray))
|
|
306
|
-
continue;
|
|
307
|
-
for (const entry of hookArray) {
|
|
308
|
-
if (!entry.hooks)
|
|
309
|
-
continue;
|
|
310
|
-
for (const h of entry.hooks) {
|
|
311
|
-
if (h.command && /^pf\s/.test(h.command)) {
|
|
312
|
-
barePfCommands.push(h.command);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
// Check statusLine
|
|
318
|
-
if (settings.statusLine?.command && /^pf\s/.test(settings.statusLine.command)) {
|
|
319
|
-
barePfCommands.push(settings.statusLine.command);
|
|
320
|
-
}
|
|
321
|
-
assert.strictEqual(barePfCommands.length, 0, `Found bare 'pf' commands that should use pf.sh wrapper: ${barePfCommands.join(', ')}`);
|
|
322
|
-
});
|
|
323
|
-
it('merge on settings with mixed bare and wrapper commands should fix all', async () => {
|
|
324
|
-
// Settings with a mix of bare and wrapper commands
|
|
325
|
-
const existingSettings = {
|
|
326
|
-
hooks: {
|
|
327
|
-
SessionStart: [
|
|
328
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks session-start` }] },
|
|
329
|
-
],
|
|
330
|
-
Stop: [
|
|
331
|
-
{ hooks: [{ type: 'command', command: 'pf hooks reflector-check' }] },
|
|
332
|
-
],
|
|
333
|
-
PostToolUse: [
|
|
334
|
-
{ hooks: [{ type: 'command', command: 'pf hooks bell-mode' }] },
|
|
335
|
-
],
|
|
336
|
-
},
|
|
337
|
-
statusLine: {
|
|
338
|
-
type: 'command',
|
|
339
|
-
command: 'pf hooks statusline',
|
|
340
|
-
},
|
|
341
|
-
};
|
|
342
|
-
writeFileSync(join(pennyfarthingDir, 'settings.local.json'), JSON.stringify(existingSettings, null, 2));
|
|
343
|
-
const template = {
|
|
344
|
-
hooks: {
|
|
345
|
-
SessionStart: [
|
|
346
|
-
{ hooks: [{ type: 'command', command: `${PF_SH_PREFIX} hooks session-start` }] },
|
|
347
|
-
],
|
|
348
|
-
},
|
|
349
|
-
permissions: { allow: [] },
|
|
350
|
-
};
|
|
351
|
-
writeFileSync(join(assetsPath, 'templates/settings.local.json.template'), JSON.stringify(template, null, 2));
|
|
352
|
-
await mergeSettingsLocalJson(testDir, assetsPath, {});
|
|
353
|
-
const settings = JSON.parse(readFileSync(join(pennyfarthingDir, 'settings.local.json'), 'utf8'));
|
|
354
|
-
// Every pf hook command should now use the wrapper
|
|
355
|
-
const barePfCommands = [];
|
|
356
|
-
for (const hookArray of Object.values(settings.hooks || {})) {
|
|
357
|
-
if (!Array.isArray(hookArray))
|
|
358
|
-
continue;
|
|
359
|
-
for (const entry of hookArray) {
|
|
360
|
-
if (!entry.hooks)
|
|
361
|
-
continue;
|
|
362
|
-
for (const h of entry.hooks) {
|
|
363
|
-
if (h.command && /^pf\s/.test(h.command)) {
|
|
364
|
-
barePfCommands.push(h.command);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
// statusLine should also be migrated
|
|
370
|
-
if (settings.statusLine?.command && /^pf\s/.test(settings.statusLine.command)) {
|
|
371
|
-
barePfCommands.push(settings.statusLine.command);
|
|
372
|
-
}
|
|
373
|
-
assert.strictEqual(barePfCommands.length, 0, `After merge, all bare 'pf' commands should be migrated: ${barePfCommands.join(', ')}`);
|
|
374
|
-
});
|
|
375
|
-
});
|
|
376
|
-
});
|
|
377
|
-
//# sourceMappingURL=settings-pf-wrapper.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-pf-wrapper.test.js","sourceRoot":"","sources":["../../../src/cli/utils/settings-pf-wrapper.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAChE,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,UAAU,EACV,SAAS,EACT,aAAa,EACb,MAAM,EACN,YAAY,GACb,MAAM,IAAI,CAAC;AACZ,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAE5B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,eAAe,CAAC;AAEvB,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,wEAAwE;AACxE,MAAM,YAAY,GAAG,yDAAyD,CAAC;AAE/E,QAAQ,CAAC,mDAAmD,EAAE,GAAG,EAAE;IACjE,IAAI,OAAe,CAAC;IACpB,IAAI,gBAAwB,CAAC;IAC7B,IAAI,UAAkB,CAAC;IAEvB,UAAU,CAAC,GAAG,EAAE;QACd,OAAO,GAAG,IAAI,CACZ,MAAM,EAAE,EACR,mBAAmB,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CA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AM,cAAc,GAAa,EAAE,CAAC;YACpC,KAAK,MAAM,SAAS,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE,CAAC;gBAC5D,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;oBAAE,SAAS;gBACxC,KAAK,MAAM,KAAK,IAAI,SAA2D,EAAE,CAAC;oBAChF,IAAI,CAAC,KAAK,CAAC,KAAK;wBAAE,SAAS;oBAC3B,KAAK,MAAM,CAAC,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;wBAC5B,IAAI,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;4BACzC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;wBACjC,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YAED,qCAAqC;YACrC,IAAI,QAAQ,CAAC,UAAU,EAAE,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;gBAC9E,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YACnD,CAAC;YAED,MAAM,CAAC,WAAW,CAChB,cAAc,CAAC,MAAM,EACrB,CAAC,EACD,2DAA2D,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACvF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Phase-scoped Team Lifecycle for Story 86-10
|
|
3
|
-
*
|
|
4
|
-
* Manages the lifecycle of native Agent Teams within workflow phases.
|
|
5
|
-
* When a workflow phase has a `team:` config block, the lead agent creates
|
|
6
|
-
* a team at phase start, spawns teammates, and cleans up before handoff.
|
|
7
|
-
*
|
|
8
|
-
* Follows the same ProcessAdapter injection pattern as tandem-lifecycle.ts.
|
|
9
|
-
*/
|
|
10
|
-
import type { WorkflowPhase, TeamConfig } from './workflow-schema.js';
|
|
11
|
-
/** Handle to an active team for a workflow phase */
|
|
12
|
-
export interface TeamHandle {
|
|
13
|
-
/** Team name (format: {storyId}-{phase}) */
|
|
14
|
-
teamName: string;
|
|
15
|
-
/** Story ID this team belongs to */
|
|
16
|
-
storyId: string;
|
|
17
|
-
/** Workflow phase name */
|
|
18
|
-
phase: string;
|
|
19
|
-
/** Active teammate handles */
|
|
20
|
-
teammates: TeammateHandle[];
|
|
21
|
-
/** ISO timestamp when team was created */
|
|
22
|
-
createdAt: string;
|
|
23
|
-
}
|
|
24
|
-
/** Handle to an individual teammate within a team */
|
|
25
|
-
export interface TeammateHandle {
|
|
26
|
-
/** Agent name (e.g., 'architect', 'tea') */
|
|
27
|
-
agent: string;
|
|
28
|
-
/** Task description from workflow YAML */
|
|
29
|
-
task?: string;
|
|
30
|
-
/** Current teammate status */
|
|
31
|
-
status: 'spawned' | 'active' | 'idle' | 'crashed' | 'shutdown';
|
|
32
|
-
}
|
|
33
|
-
/** Parameters for creating a phase-scoped team */
|
|
34
|
-
export interface CreateTeamParams {
|
|
35
|
-
/** Phase config (must have team block to create) */
|
|
36
|
-
phase: WorkflowPhase;
|
|
37
|
-
/** Current story ID */
|
|
38
|
-
storyId: string;
|
|
39
|
-
/** Path to .session directory */
|
|
40
|
-
sessionDir: string;
|
|
41
|
-
/** Process adapter for real team operations. Omit for in-memory (tests). */
|
|
42
|
-
adapter?: TeamProcessAdapter;
|
|
43
|
-
}
|
|
44
|
-
/** Result of a gate check (TaskCompleted or TeammateIdle hook) */
|
|
45
|
-
export interface GateCheckResult {
|
|
46
|
-
/** Whether the gate passed */
|
|
47
|
-
passed: boolean;
|
|
48
|
-
/** Gate type that was checked */
|
|
49
|
-
gate: string;
|
|
50
|
-
/** Reason for pass/fail */
|
|
51
|
-
reason?: string;
|
|
52
|
-
}
|
|
53
|
-
/** Team activity summary for session file audit trail */
|
|
54
|
-
export interface TeamActivitySummary {
|
|
55
|
-
/** Team name */
|
|
56
|
-
teamName: string;
|
|
57
|
-
/** Story ID */
|
|
58
|
-
storyId: string;
|
|
59
|
-
/** Phase name */
|
|
60
|
-
phase: string;
|
|
61
|
-
/** Member details */
|
|
62
|
-
members: Array<{
|
|
63
|
-
agent: string;
|
|
64
|
-
status: string;
|
|
65
|
-
task?: string;
|
|
66
|
-
}>;
|
|
67
|
-
/** Whether all teammates were cleaned up properly */
|
|
68
|
-
cleanShutdown: boolean;
|
|
69
|
-
}
|
|
70
|
-
/** Sidecar lock handle */
|
|
71
|
-
export interface SidecarLock {
|
|
72
|
-
/** Path to the lock file */
|
|
73
|
-
lockPath: string;
|
|
74
|
-
/** Story ID that owns the lock */
|
|
75
|
-
storyId: string;
|
|
76
|
-
/** Timestamp when lock was acquired */
|
|
77
|
-
acquiredAt: string;
|
|
78
|
-
}
|
|
79
|
-
/** Standard result object per framework pattern */
|
|
80
|
-
export interface TeamResult<T = unknown> {
|
|
81
|
-
success: boolean;
|
|
82
|
-
data?: T;
|
|
83
|
-
error?: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Adapter for real team operations.
|
|
87
|
-
*
|
|
88
|
-
* The library module cannot call Claude Code's TeamCreate/SendMessage tools
|
|
89
|
-
* directly — callers inject the real implementation.
|
|
90
|
-
* Tests use the default no-op adapter.
|
|
91
|
-
*/
|
|
92
|
-
export interface TeamProcessAdapter {
|
|
93
|
-
/** Create a team. Returns team name. */
|
|
94
|
-
createTeam(params: {
|
|
95
|
-
teamName: string;
|
|
96
|
-
description?: string;
|
|
97
|
-
}): Promise<{
|
|
98
|
-
teamName: string;
|
|
99
|
-
}>;
|
|
100
|
-
/** Delete a team. */
|
|
101
|
-
deleteTeam(teamName: string): Promise<void>;
|
|
102
|
-
/** Spawn a teammate within a team. */
|
|
103
|
-
spawnTeammate(params: {
|
|
104
|
-
teamName: string;
|
|
105
|
-
agent: string;
|
|
106
|
-
prompt: string;
|
|
107
|
-
model?: string;
|
|
108
|
-
}): Promise<{
|
|
109
|
-
agentId: string;
|
|
110
|
-
}>;
|
|
111
|
-
/** Send shutdown request to a teammate. */
|
|
112
|
-
shutdownTeammate(params: {
|
|
113
|
-
teamName: string;
|
|
114
|
-
agent: string;
|
|
115
|
-
}): Promise<void>;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Reset all in-memory state. For testing only.
|
|
119
|
-
*/
|
|
120
|
-
export declare function _resetForTesting(): void;
|
|
121
|
-
/**
|
|
122
|
-
* Create a phase-scoped team.
|
|
123
|
-
*
|
|
124
|
-
* If phase has no team config, returns success with no handle (no-op).
|
|
125
|
-
* If phase has team config, creates team and returns handle.
|
|
126
|
-
*/
|
|
127
|
-
export declare function createTeam(params: CreateTeamParams): Promise<TeamResult<TeamHandle>>;
|
|
128
|
-
/**
|
|
129
|
-
* Spawn all teammates for a team based on workflow YAML config.
|
|
130
|
-
*/
|
|
131
|
-
export declare function spawnTeammates(handle: TeamHandle, config: TeamConfig, storyId: string, phase: string, adapter?: TeamProcessAdapter): Promise<TeamResult<TeammateHandle[]>>;
|
|
132
|
-
/**
|
|
133
|
-
* Shut down all active teammates in a team.
|
|
134
|
-
*/
|
|
135
|
-
export declare function shutdownAllTeammates(handle: TeamHandle, adapter?: TeamProcessAdapter): Promise<TeamResult<{
|
|
136
|
-
shutdownCount: number;
|
|
137
|
-
}>>;
|
|
138
|
-
/**
|
|
139
|
-
* Clean up a team entirely (TeamDelete).
|
|
140
|
-
* Must run before pf handoff.
|
|
141
|
-
*/
|
|
142
|
-
export declare function cleanupTeam(handle: TeamHandle, adapter?: TeamProcessAdapter): Promise<TeamResult<{
|
|
143
|
-
cleaned: boolean;
|
|
144
|
-
}>>;
|
|
145
|
-
/**
|
|
146
|
-
* Check gate condition when a TaskCompleted event fires.
|
|
147
|
-
*/
|
|
148
|
-
export declare function checkGateOnTaskCompleted(handle: TeamHandle, phase: WorkflowPhase): GateCheckResult;
|
|
149
|
-
/**
|
|
150
|
-
* Check gate condition when a TeammateIdle event fires.
|
|
151
|
-
*/
|
|
152
|
-
export declare function checkGateOnTeammateIdle(_handle: TeamHandle, teammate: TeammateHandle, phase: WorkflowPhase): GateCheckResult;
|
|
153
|
-
/**
|
|
154
|
-
* Generate a team activity summary for the session file audit trail.
|
|
155
|
-
*/
|
|
156
|
-
export declare function generateTeamSummary(handle: TeamHandle): TeamActivitySummary;
|
|
157
|
-
/**
|
|
158
|
-
* Acquire an exclusive lock for sidecar file writing.
|
|
159
|
-
*/
|
|
160
|
-
export declare function acquireSidecarLock(filePath: string, storyId: string, _timeout?: number): Promise<TeamResult<SidecarLock>>;
|
|
161
|
-
/**
|
|
162
|
-
* Release a sidecar file lock.
|
|
163
|
-
*/
|
|
164
|
-
export declare function releaseSidecarLock(lock: SidecarLock): TeamResult<void>;
|
|
165
|
-
/**
|
|
166
|
-
* Get the active team for a story, if any.
|
|
167
|
-
*/
|
|
168
|
-
export declare function getActiveTeam(storyId: string): TeamHandle | null;
|
|
169
|
-
//# sourceMappingURL=team-lifecycle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"team-lifecycle.d.ts","sourceRoot":"","sources":["../../src/workflow/team-lifecycle.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAMlF,oDAAoD;AACpD,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qDAAqD;AACr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