@pennyfarthing/core 11.2.2 → 11.3.1
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 +3 -3
- package/package.json +1 -1
- package/packages/core/dist/cli/commands/doctor-legacy.test.js +2 -2
- package/packages/core/dist/cli/commands/doctor-legacy.test.js.map +1 -1
- package/packages/core/dist/cli/commands/doctor.d.ts +55 -0
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/doctor.js +204 -23
- package/packages/core/dist/cli/commands/doctor.js.map +1 -1
- package/packages/core/dist/cli/commands/init.d.ts +12 -0
- package/packages/core/dist/cli/commands/init.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/init.js +45 -0
- package/packages/core/dist/cli/commands/init.js.map +1 -1
- package/packages/core/dist/cli/commands/pyproject-install.test.d.ts +19 -0
- package/packages/core/dist/cli/commands/pyproject-install.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/pyproject-install.test.js +261 -0
- package/packages/core/dist/cli/commands/pyproject-install.test.js.map +1 -0
- 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-consolidation.test.js +14 -6
- package/packages/core/dist/cli/commands/update-consolidation.test.js.map +1 -1
- package/packages/core/dist/cli/commands/update.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/update.js +31 -2
- 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/index.js +2 -0
- package/packages/core/dist/cli/index.js.map +1 -1
- package/packages/core/dist/cli/utils/python.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/python.js +11 -0
- package/packages/core/dist/cli/utils/python.js.map +1 -1
- package/packages/core/dist/cli/utils/settings-hook-migration.test.d.ts +17 -0
- package/packages/core/dist/cli/utils/settings-hook-migration.test.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/settings-hook-migration.test.js +382 -0
- package/packages/core/dist/cli/utils/settings-hook-migration.test.js.map +1 -0
- package/packages/core/dist/cli/utils/settings.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/settings.js +15 -2
- package/packages/core/dist/cli/utils/settings.js.map +1 -1
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts +59 -0
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js +163 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js.map +1 -0
- package/packages/core/dist/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/settings.d.ts.map +1 -1
- package/packages/core/dist/server/settings.js +5 -0
- package/packages/core/dist/server/settings.js.map +1 -1
- package/packages/core/dist/workflow/tandem-workflow-templates.test.js +7 -5
- package/packages/core/dist/workflow/tandem-workflow-templates.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-migration.test.js +6 -5
- package/packages/core/dist/workflow/workflow-migration.test.js.map +1 -1
- package/pennyfarthing-dist/agents/dev.md +4 -2
- package/pennyfarthing-dist/agents/devops.md +2 -10
- package/pennyfarthing-dist/agents/reviewer-preflight.md +4 -5
- package/pennyfarthing-dist/agents/sm.md +4 -17
- package/pennyfarthing-dist/commands/pf-health-check.md +30 -11
- package/pennyfarthing-dist/gates/{confidence-sm.md → confidence.md} +16 -17
- package/pennyfarthing-dist/gates/dev-exit.md +75 -0
- package/pennyfarthing-dist/gates/merge-ready.md +49 -0
- package/pennyfarthing-dist/gates/release-ready.md +95 -0
- package/pennyfarthing-dist/gates/reviewer-preflight-check.md +90 -0
- package/pennyfarthing-dist/gates/sm-setup-exit.md +82 -0
- package/pennyfarthing-dist/guides/agent-behavior.md +88 -30
- package/pennyfarthing-dist/guides/gates.md +7 -2
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/lib/find-root.sh +5 -0
- package/pennyfarthing-dist/scripts/lib/run-pf.sh +4 -0
- package/pennyfarthing-dist/skills/pf-settings/skill.md +42 -0
- package/pennyfarthing-dist/skills/skill-registry.yaml +15 -0
- package/pennyfarthing-dist/templates/pyproject.toml +27 -0
- package/pennyfarthing-dist/workflows/bdd-tandem.yaml +7 -3
- package/pennyfarthing-dist/workflows/bdd.yaml +7 -3
- package/pennyfarthing-dist/workflows/installation-check/steps/step-01-foundation.md +77 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-02-commands.md +82 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-03-hooks.md +121 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-04-scripts.md +83 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-05-layout.md +81 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-06-legacy.md +94 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-07-tools.md +80 -0
- package/pennyfarthing-dist/workflows/installation-check/steps/step-08-summary.md +99 -0
- package/pennyfarthing-dist/workflows/installation-check/workflow.yaml +47 -0
- package/pennyfarthing-dist/workflows/tdd-tandem.yaml +7 -3
- package/pennyfarthing-dist/workflows/tdd.yaml +7 -3
- package/pennyfarthing-dist/workflows/trivial.yaml +7 -3
- package/pennyfarthing_scripts/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.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-311.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.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__/sprint.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/workflow.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/bc/__pycache__/focus.cpython-311.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 +21 -0
- package/pennyfarthing_scripts/bc/focus.py +1 -0
- package/pennyfarthing_scripts/bc/split.py +52 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/bikerack/__pycache__/launcher.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/context_meter_footer.py +53 -3
- package/pennyfarthing_scripts/bikerack/tui.py +202 -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/cli.py +5 -0
- 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/common/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/config.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/output.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/pr_config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/themes.cpython-314.pyc +0 -0
- 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/consultation/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/consultation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/consultation/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/consultation/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/consultation/__pycache__/dialogue_manager.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/deadcode/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.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/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/epic/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/epic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/epic/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/epic/__pycache__/cli.cpython-314.pyc +0 -0
- 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__/status_all.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git_group/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/git_group/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/git_group/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/git_group/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/handoff/__pycache__/cli.cpython-311.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/healthscore/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/cli.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/healthscore/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/bell_mode.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/bell_mode.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/context_breaker.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/context_breaker.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/context_warning.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/context_warning.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/cyclist_pretooluse.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/cyclist_pretooluse.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/pre_edit_check.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/pre_edit_check.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/reflector_check.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/schema_validation.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/session_start.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/sprint_yaml_validation.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/statusline.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/hooks/__pycache__/statusline.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/cli.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/hotspots/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/claim.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/client.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/compat.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/create.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/create.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/epic.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/epic.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/mappings.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/models.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/operations.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/operations.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/reconcile.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/story.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/story.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/sync.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/launch/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/launch/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/launch/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/launch/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/migration/__pycache__/cli.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/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/prime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/cli.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/session/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/session/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/session/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/session/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/settings/__init__.py +0 -0
- 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 +55 -0
- package/pennyfarthing_scripts/settings/settings.py +98 -0
- package/pennyfarthing_scripts/sprint/__pycache__/__init__.cpython-311.pyc +0 -0
- 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-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/epic_add.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/epic_add.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/epic_update.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/status.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/story_add.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validate_cmd.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validator.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/work.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/yaml_io.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
- 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/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_1_gate_migration.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_dialogue_manager.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_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_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_cli.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_yaml_io.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/test_confidence_sm_gate.py +17 -16
- package/pennyfarthing_scripts/tests/test_resolve_gate_file_field.py +45 -47
- package/pennyfarthing_scripts/tests/test_workflow_list_team.py +0 -4
- package/pennyfarthing_scripts/theme/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/theme/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/theme/__pycache__/cli.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/theme/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/validate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/validate/__pycache__/cli.cpython-311.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__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/cli.cpython-311.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-311.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/scale.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/state.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/state.cpython-314.pyc +0 -0
- 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/pennyfarthing_scripts/bikerack/__pycache__/portrait.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/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__/worktree.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/__pycache__/heatmap.cpython-314.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_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_resolve_gate_file_field.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/validate/adapters/__pycache__/team_mode.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/workflow/__pycache__/team_lifecycle.cpython-314.pyc +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pennyfarthing
|
|
2
2
|
|
|
3
|
-
**v11.
|
|
3
|
+
**v11.3.1** | *The outer loop goes once, the inner loop goes many times.*
|
|
4
4
|
|
|
5
5
|
<img src="pennyfarthing.png" alt="Pennyfarthing Logo" width="75" style="float:left; margin:10px">
|
|
6
6
|
|
|
@@ -15,9 +15,9 @@ A Claude Code agent orchestration framework built around three pillars: a flexib
|
|
|
15
15
|
A multi-agent system with customizable BikeLane workflows for structured software development:
|
|
16
16
|
|
|
17
17
|
- **11 Coordinated Agents** - SM, TEA, Dev, Reviewer, Architect, PM, Tech Writer, UX Designer, DevOps, Orchestrator, BA
|
|
18
|
-
- **
|
|
18
|
+
- **14 BikeLane Workflows** - Phased (TDD, BDD, Trivial, 2pTDD, TDD-Tandem, BDD-Tandem, TDD-Team, BDD-Team, Review-Tandem, Patch, Agent-Docs), Stepped (Architecture, Release, Git Cleanup)
|
|
19
19
|
- **60 Slash Commands** - Entry points for agent activation and workflows
|
|
20
|
-
- **
|
|
20
|
+
- **23 Skills** - Reusable knowledge domains (testing, code-review, jira, settings, mermaid, etc.)
|
|
21
21
|
- **Prime Context System** - Tiered context injection assembles agent definition, persona, session state, and sidecar memory
|
|
22
22
|
- **Automatic Handoffs** - Context-aware agent transitions via subagent delegation
|
|
23
23
|
- **Agent Sidecars** - Persistent learning files where agents record patterns, gotchas, and decisions across stories
|
package/package.json
CHANGED
|
@@ -196,9 +196,9 @@ describe('MSSCI-12346: Legacy Install Cleanup', () => {
|
|
|
196
196
|
assert.ok(result.fix, 'Should have fix function');
|
|
197
197
|
// Execute the fix
|
|
198
198
|
result.fix();
|
|
199
|
-
// Verify the path was updated
|
|
199
|
+
// Verify the path was updated (fix now writes pf.sh hooks statusline)
|
|
200
200
|
const updatedSettings = JSON.parse(readFileSync(settingsPath, 'utf-8'));
|
|
201
|
-
assert.ok(updatedSettings.statusLine.command.includes('.pennyfarthing/scripts/
|
|
201
|
+
assert.ok(updatedSettings.statusLine.command.includes('.pennyfarthing/scripts/core/pf.sh hooks statusline'), 'Should update to pf.sh hooks statusline path');
|
|
202
202
|
assert.strictEqual(updatedSettings.otherSetting, 'preserved', 'Should preserve other settings');
|
|
203
203
|
});
|
|
204
204
|
it('should detect multiple legacy statusline paths', () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-legacy.test.js","sourceRoot":"","sources":["../../../src/cli/commands/doctor-legacy.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAChE,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,IA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,4BAA4B;gBAC5B,uBAAuB;gBACvB,qCAAqC;gBACrC,6CAA6C;gBAC7C,+BAA+B;gBAC/B,sCAAsC,CAAE,gBAAgB;aACzD,CAAC;YAEF,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;gBACrC,qEAAqE;gBACrE,aAAa,CACX,IAAI,CAAC,SAAS,EAAE,qBAAqB,CAAC,EACtC,IAAI,CAAC,SAAS,CAAC;oBACb,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,yBAAyB,UAAU,EAAE;qBAC/C;iBACF,EAAE,IAAI,EAAE,CAAC,CAAC,CACZ,CAAC;gBAEF,2BAA2B;gBAC3B,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;gBAChE,SAAS,CAAC,gBAAgB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;gBACjD,aAAa,CAAC,IAAI,CAAC,gBAAgB,EAAE,eAAe,CAAC,EAAE,aAAa,CAAC,CAAC;gBAEtE,MAAM,MAAM,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC;gBAElD,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,MAAM,EACb,MAAM,EACN,8BAA8B,UAAU,EAAE,CAC3C,CAAC;YACJ,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { readManifest } from '../utils/manifest.js';
|
|
1
2
|
interface DoctorOptions {
|
|
2
3
|
fix?: boolean;
|
|
3
4
|
json?: boolean;
|
|
4
5
|
quiet?: boolean;
|
|
5
6
|
dogfood?: boolean;
|
|
7
|
+
category?: string;
|
|
8
|
+
listCategories?: boolean;
|
|
6
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Category-to-check-function mapping for --category filtering.
|
|
12
|
+
* Each category maps to the check functions that produce results in that group.
|
|
13
|
+
*/
|
|
14
|
+
export declare const CATEGORY_CHECKS: Record<string, string[]>;
|
|
7
15
|
export interface CheckResult {
|
|
8
16
|
name: string;
|
|
9
17
|
status: 'pass' | 'warn' | 'fail';
|
|
@@ -11,6 +19,47 @@ export interface CheckResult {
|
|
|
11
19
|
fix?: () => void;
|
|
12
20
|
}
|
|
13
21
|
export declare function doctorCommand(options: DoctorOptions): Promise<void>;
|
|
22
|
+
export declare function checkInstallation(projectRoot: string, manifest: ReturnType<typeof readManifest>): CheckResult[];
|
|
23
|
+
export declare function checkCoreFiles(projectRoot: string, manifest: ReturnType<typeof readManifest>): CheckResult[];
|
|
24
|
+
/**
|
|
25
|
+
* Check commands and skills are properly copied (not symlinked) and up to date.
|
|
26
|
+
* Commands and skills are file copies since v11.3.0 to avoid node_modules drift.
|
|
27
|
+
*/
|
|
28
|
+
export declare function checkCommandsAndSkills(projectRoot: string, _nodeModulesPath: string | null): CheckResult[];
|
|
29
|
+
/**
|
|
30
|
+
* Check basic user files only (project dir, sidecars, persona config, settings.local.json existence).
|
|
31
|
+
* Does NOT include the settings hook checks — use checkSettingsHooks() for those.
|
|
32
|
+
* Used by --category commands to separate user file checks from hook configuration checks.
|
|
33
|
+
*/
|
|
34
|
+
export declare function checkUserFilesBasic(projectRoot: string): CheckResult[];
|
|
35
|
+
/**
|
|
36
|
+
* Check all settings hook configurations in settings.local.json.
|
|
37
|
+
* Returns results for all 9 hook checks (session-start, otel, auto-load-sm,
|
|
38
|
+
* stop, post-tool-use, benchmark-permissions, context-circuit-breaker,
|
|
39
|
+
* schema-validation, sprint-yaml-validation).
|
|
40
|
+
* Used by --category hooks for targeted hook configuration checking.
|
|
41
|
+
*/
|
|
42
|
+
export declare function checkSettingsHooks(projectRoot: string): CheckResult[];
|
|
43
|
+
export declare function checkDirectories(projectRoot: string): CheckResult[];
|
|
44
|
+
export declare function checkHooks(projectRoot: string): CheckResult[];
|
|
45
|
+
/**
|
|
46
|
+
* Check git hooks in .git/hooks/ are up-to-date with package source.
|
|
47
|
+
* Detects stale copies that were installed by `pennyfarthing init` but never refreshed.
|
|
48
|
+
* For framework/orchestrator repos (has pennyfarthing-dist/), checks that hooks are
|
|
49
|
+
* symlinked rather than copied, since symlinks stay current automatically.
|
|
50
|
+
* Provides --fix to refresh stale hooks or replace copies with symlinks.
|
|
51
|
+
*/
|
|
52
|
+
export declare function checkGitHooks(projectRoot: string, nodeModulesPath: string | null): CheckResult[];
|
|
53
|
+
/**
|
|
54
|
+
* Check Cyclist installation health (if installed as a workspace package)
|
|
55
|
+
* Detects node-pty spawn-helper permission issues that cause posix_spawnp failures
|
|
56
|
+
*/
|
|
57
|
+
export declare function checkCyclist(projectRoot: string): CheckResult[];
|
|
58
|
+
/**
|
|
59
|
+
* Check if the pf CLI is installed and working.
|
|
60
|
+
* The pf CLI is required for agent commands (e.g., `pf agent start "dev"`).
|
|
61
|
+
*/
|
|
62
|
+
export declare function checkPfCli(nodeModulesPath: string | null): CheckResult;
|
|
14
63
|
/**
|
|
15
64
|
* Check for legacy files that may shadow or conflict with current Pennyfarthing files.
|
|
16
65
|
* Returns results with fix functions for --fix mode.
|
|
@@ -24,6 +73,12 @@ export declare function checkLegacyFiles(projectRoot: string): CheckResult[];
|
|
|
24
73
|
* Returns result with fix function to update to canonical path if needed.
|
|
25
74
|
*/
|
|
26
75
|
export declare function checkLegacyStatuslinePath(projectRoot: string): CheckResult;
|
|
76
|
+
/**
|
|
77
|
+
* Check if settings.local.json contains legacy .sh hook commands that should
|
|
78
|
+
* be migrated to `pf hooks` commands. The .sh scripts still work (they're shims)
|
|
79
|
+
* but `pf hooks` is the canonical path — faster, no shell indirection.
|
|
80
|
+
*/
|
|
81
|
+
export declare function checkLegacyHookCommands(projectRoot: string): CheckResult;
|
|
27
82
|
/**
|
|
28
83
|
* Check file layout — validate files are at correct .pennyfarthing/ locations.
|
|
29
84
|
* Flags old .claude/ locations with migration instructions.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,YAAY,EACb,MAAM,sBAAsB,CAAC;AAc9B,UAAU,aAAa;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAQpD,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAsKzE;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,GAAG,WAAW,EAAE,CAW/G;AAED,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,GAAG,WAAW,EAAE,CAiE5G;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,WAAW,EAAE,CA4I1G;AA0JD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CAsDtE;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CA2BrE;AA8tCD,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CAkBnE;AAED,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CAuD7D;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,IAAI,GAAG,WAAW,EAAE,CAqJhG;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CA8G/D;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,GAAG,WAAW,CAoBtE;AAoBD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CA+JnE;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,CAkF1E;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,CA4ExE;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,EAAE,CAoKlE"}
|
|
@@ -12,8 +12,35 @@ import { findNodeModulesPath } from '../utils/node-modules.js';
|
|
|
12
12
|
import { ALL_SYMLINKS, CORE_AGENTS } from '../utils/constants.js';
|
|
13
13
|
import { getPfVersion, installPfCli } from '../utils/python.js';
|
|
14
14
|
import { LEGACY_HOOK_MIGRATIONS, migrateHookPaths } from '../utils/settings.js';
|
|
15
|
+
/**
|
|
16
|
+
* Category-to-check-function mapping for --category filtering.
|
|
17
|
+
* Each category maps to the check functions that produce results in that group.
|
|
18
|
+
*/
|
|
19
|
+
export const CATEGORY_CHECKS = {
|
|
20
|
+
'installation': ['checkInstallation', 'checkCoreFiles'],
|
|
21
|
+
'commands': ['checkCommandsAndSkills', 'checkUserFilesBasic'],
|
|
22
|
+
'hooks': ['checkSettingsHooks'],
|
|
23
|
+
'scripts': ['checkHooks', 'checkGitHooks'],
|
|
24
|
+
'layout': ['checkDirectories', 'checkFileLayout'],
|
|
25
|
+
'legacy': ['checkLegacyFiles', 'checkLegacyStatuslinePath', 'checkLegacyHookCommands'],
|
|
26
|
+
'tools': ['checkCyclist', 'checkPfCli'],
|
|
27
|
+
};
|
|
15
28
|
export async function doctorCommand(options) {
|
|
16
29
|
const projectRoot = process.cwd();
|
|
30
|
+
// Handle --list-categories
|
|
31
|
+
if (options.listCategories) {
|
|
32
|
+
console.log('Available check categories:');
|
|
33
|
+
for (const [name, checks] of Object.entries(CATEGORY_CHECKS)) {
|
|
34
|
+
console.log(` ${name.padEnd(14)} ${checks.join(', ')}`);
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
// Validate --category if provided
|
|
39
|
+
if (options.category && !CATEGORY_CHECKS[options.category]) {
|
|
40
|
+
logger.error(`Unknown category: ${options.category}`);
|
|
41
|
+
logger.info(`Available categories: ${Object.keys(CATEGORY_CHECKS).join(', ')}`);
|
|
42
|
+
process.exit(1);
|
|
43
|
+
}
|
|
17
44
|
// Handle dogfood mode - run checks for framework/orchestrator development
|
|
18
45
|
if (options.dogfood) {
|
|
19
46
|
const dogfoodScript = join(projectRoot, 'pennyfarthing-dist/scripts/misc/doctor-dogfood.sh');
|
|
@@ -45,20 +72,58 @@ export async function doctorCommand(options) {
|
|
|
45
72
|
logger.newline();
|
|
46
73
|
// Resolve node_modules path for checks that need it
|
|
47
74
|
const nodeModulesPath = findNodeModulesPath(projectRoot);
|
|
48
|
-
//
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
75
|
+
// Determine which checks to run
|
|
76
|
+
const activeChecks = options.category
|
|
77
|
+
? new Set(CATEGORY_CHECKS[options.category])
|
|
78
|
+
: null; // null = run all
|
|
79
|
+
// Run checks — when category is specified, only run matching subset
|
|
80
|
+
if (activeChecks) {
|
|
81
|
+
// Category-filtered run
|
|
82
|
+
if (activeChecks.has('checkInstallation'))
|
|
83
|
+
results.push(...checkInstallation(projectRoot, manifest));
|
|
84
|
+
if (activeChecks.has('checkCoreFiles'))
|
|
85
|
+
results.push(...checkCoreFiles(projectRoot, manifest));
|
|
86
|
+
if (activeChecks.has('checkCommandsAndSkills'))
|
|
87
|
+
results.push(...checkCommandsAndSkills(projectRoot, nodeModulesPath));
|
|
88
|
+
if (activeChecks.has('checkUserFilesBasic'))
|
|
89
|
+
results.push(...checkUserFilesBasic(projectRoot));
|
|
90
|
+
if (activeChecks.has('checkSettingsHooks'))
|
|
91
|
+
results.push(...checkSettingsHooks(projectRoot));
|
|
92
|
+
if (activeChecks.has('checkDirectories'))
|
|
93
|
+
results.push(...checkDirectories(projectRoot));
|
|
94
|
+
if (activeChecks.has('checkHooks'))
|
|
95
|
+
results.push(...checkHooks(projectRoot));
|
|
96
|
+
if (activeChecks.has('checkGitHooks'))
|
|
97
|
+
results.push(...checkGitHooks(projectRoot, nodeModulesPath));
|
|
98
|
+
if (activeChecks.has('checkFileLayout'))
|
|
99
|
+
results.push(...checkFileLayout(projectRoot));
|
|
100
|
+
if (activeChecks.has('checkLegacyFiles'))
|
|
101
|
+
results.push(...checkLegacyFiles(projectRoot));
|
|
102
|
+
if (activeChecks.has('checkLegacyStatuslinePath'))
|
|
103
|
+
results.push(checkLegacyStatuslinePath(projectRoot));
|
|
104
|
+
if (activeChecks.has('checkLegacyHookCommands'))
|
|
105
|
+
results.push(checkLegacyHookCommands(projectRoot));
|
|
106
|
+
if (activeChecks.has('checkCyclist'))
|
|
107
|
+
results.push(...checkCyclist(projectRoot));
|
|
108
|
+
if (activeChecks.has('checkPfCli'))
|
|
109
|
+
results.push(checkPfCli(nodeModulesPath));
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
// Full run — original behavior
|
|
113
|
+
results.push(...checkInstallation(projectRoot, manifest));
|
|
114
|
+
results.push(...checkCoreFiles(projectRoot, manifest));
|
|
115
|
+
results.push(...checkCommandsAndSkills(projectRoot, nodeModulesPath));
|
|
116
|
+
results.push(...checkUserFiles(projectRoot));
|
|
117
|
+
results.push(...checkDirectories(projectRoot));
|
|
118
|
+
results.push(...checkHooks(projectRoot));
|
|
119
|
+
results.push(...checkGitHooks(projectRoot, nodeModulesPath));
|
|
120
|
+
results.push(...checkFileLayout(projectRoot));
|
|
121
|
+
results.push(...checkLegacyFiles(projectRoot));
|
|
122
|
+
results.push(checkLegacyStatuslinePath(projectRoot));
|
|
123
|
+
results.push(checkLegacyHookCommands(projectRoot));
|
|
124
|
+
results.push(...checkCyclist(projectRoot));
|
|
125
|
+
results.push(checkPfCli(nodeModulesPath));
|
|
126
|
+
}
|
|
62
127
|
// Output results
|
|
63
128
|
if (options.json) {
|
|
64
129
|
console.log(JSON.stringify(results, null, 2));
|
|
@@ -124,7 +189,7 @@ export async function doctorCommand(options) {
|
|
|
124
189
|
process.exit(1);
|
|
125
190
|
}
|
|
126
191
|
}
|
|
127
|
-
function checkInstallation(projectRoot, manifest) {
|
|
192
|
+
export function checkInstallation(projectRoot, manifest) {
|
|
128
193
|
const results = [];
|
|
129
194
|
// Check manifest exists
|
|
130
195
|
results.push({
|
|
@@ -134,7 +199,7 @@ function checkInstallation(projectRoot, manifest) {
|
|
|
134
199
|
});
|
|
135
200
|
return results;
|
|
136
201
|
}
|
|
137
|
-
function checkCoreFiles(projectRoot, manifest) {
|
|
202
|
+
export function checkCoreFiles(projectRoot, manifest) {
|
|
138
203
|
const results = [];
|
|
139
204
|
const installationType = manifest?.installationType || 'copy';
|
|
140
205
|
const nodeModulesPath = findNodeModulesPath(projectRoot);
|
|
@@ -196,7 +261,7 @@ function checkCoreFiles(projectRoot, manifest) {
|
|
|
196
261
|
* Check commands and skills are properly copied (not symlinked) and up to date.
|
|
197
262
|
* Commands and skills are file copies since v11.3.0 to avoid node_modules drift.
|
|
198
263
|
*/
|
|
199
|
-
function checkCommandsAndSkills(projectRoot, _nodeModulesPath) {
|
|
264
|
+
export function checkCommandsAndSkills(projectRoot, _nodeModulesPath) {
|
|
200
265
|
const results = [];
|
|
201
266
|
// Use assetsPath for source resolution (correct pf-* prefix in dogfood)
|
|
202
267
|
let assetsPath = null;
|
|
@@ -480,6 +545,91 @@ function checkSymlinks(projectRoot, nodeModulesPath) {
|
|
|
480
545
|
}
|
|
481
546
|
return results;
|
|
482
547
|
}
|
|
548
|
+
/**
|
|
549
|
+
* Check basic user files only (project dir, sidecars, persona config, settings.local.json existence).
|
|
550
|
+
* Does NOT include the settings hook checks — use checkSettingsHooks() for those.
|
|
551
|
+
* Used by --category commands to separate user file checks from hook configuration checks.
|
|
552
|
+
*/
|
|
553
|
+
export function checkUserFilesBasic(projectRoot) {
|
|
554
|
+
const results = [];
|
|
555
|
+
const manifest = readManifest(projectRoot);
|
|
556
|
+
const installationType = manifest?.installationType || 'copy';
|
|
557
|
+
// Check project directory
|
|
558
|
+
const projectDir = join(projectRoot, '.claude/project');
|
|
559
|
+
results.push({
|
|
560
|
+
name: 'project/directory',
|
|
561
|
+
status: pathExists(projectDir) ? 'pass' : 'warn',
|
|
562
|
+
detail: pathExists(projectDir) ? undefined : 'Run init to create'
|
|
563
|
+
});
|
|
564
|
+
// Check agent sidecars (now in .pennyfarthing/sidecars/)
|
|
565
|
+
const sidecarsDir = join(projectRoot, '.pennyfarthing/sidecars');
|
|
566
|
+
if (pathExists(sidecarsDir)) {
|
|
567
|
+
const existingSidecars = CORE_AGENTS.filter(a => pathExists(join(sidecarsDir, a)));
|
|
568
|
+
results.push({
|
|
569
|
+
name: 'project/sidecars',
|
|
570
|
+
status: existingSidecars.length > 0 ? 'pass' : 'warn',
|
|
571
|
+
detail: `${existingSidecars.length} agent sidecars configured`
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
// Check persona config at canonical location
|
|
575
|
+
const personaConfig = join(projectRoot, '.pennyfarthing/config.local.yaml');
|
|
576
|
+
results.push({
|
|
577
|
+
name: 'persona-config',
|
|
578
|
+
status: pathExists(personaConfig) ? 'pass' : 'warn',
|
|
579
|
+
detail: pathExists(personaConfig) ? undefined : 'No theme configured'
|
|
580
|
+
});
|
|
581
|
+
// Check settings.local.json exists (CRITICAL - registers hooks with Claude Code)
|
|
582
|
+
const settingsLocal = join(projectRoot, '.claude/settings.local.json');
|
|
583
|
+
if (!pathExists(settingsLocal)) {
|
|
584
|
+
results.push({
|
|
585
|
+
name: 'settings.local.json',
|
|
586
|
+
status: 'fail',
|
|
587
|
+
detail: 'Missing - hooks not registered with Claude Code!',
|
|
588
|
+
fix: () => {
|
|
589
|
+
createSettingsLocalJson(projectRoot, installationType);
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
else {
|
|
594
|
+
results.push({
|
|
595
|
+
name: 'settings.local.json',
|
|
596
|
+
status: 'pass',
|
|
597
|
+
detail: undefined
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
return results;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* Check all settings hook configurations in settings.local.json.
|
|
604
|
+
* Returns results for all 9 hook checks (session-start, otel, auto-load-sm,
|
|
605
|
+
* stop, post-tool-use, benchmark-permissions, context-circuit-breaker,
|
|
606
|
+
* schema-validation, sprint-yaml-validation).
|
|
607
|
+
* Used by --category hooks for targeted hook configuration checking.
|
|
608
|
+
*/
|
|
609
|
+
export function checkSettingsHooks(projectRoot) {
|
|
610
|
+
const results = [];
|
|
611
|
+
const manifest = readManifest(projectRoot);
|
|
612
|
+
const installationType = manifest?.installationType || 'copy';
|
|
613
|
+
const settingsLocal = join(projectRoot, '.claude/settings.local.json');
|
|
614
|
+
if (!pathExists(settingsLocal)) {
|
|
615
|
+
results.push({
|
|
616
|
+
name: 'settings.local.json',
|
|
617
|
+
status: 'fail',
|
|
618
|
+
detail: 'Missing - cannot check hook configuration'
|
|
619
|
+
});
|
|
620
|
+
return results;
|
|
621
|
+
}
|
|
622
|
+
results.push(checkSessionStartHooks(projectRoot, installationType));
|
|
623
|
+
results.push(checkOtelAutoStart(projectRoot, installationType));
|
|
624
|
+
results.push(checkAutoLoadSmHook(projectRoot));
|
|
625
|
+
results.push(checkStopHook(projectRoot, installationType));
|
|
626
|
+
results.push(checkPostToolUseHook(projectRoot, installationType));
|
|
627
|
+
results.push(checkBenchmarkPermissions(projectRoot));
|
|
628
|
+
results.push(checkContextCircuitBreaker(projectRoot, installationType));
|
|
629
|
+
results.push(checkSchemaValidationHook(projectRoot, installationType));
|
|
630
|
+
results.push(checkSprintYamlValidationHook(projectRoot, installationType));
|
|
631
|
+
return results;
|
|
632
|
+
}
|
|
483
633
|
function checkUserFiles(projectRoot) {
|
|
484
634
|
const results = [];
|
|
485
635
|
// Detect installation type from manifest
|
|
@@ -1586,7 +1736,7 @@ function createSettingsLocalJson(projectRoot, _installationType) {
|
|
|
1586
1736
|
ensureDirSync(join(projectRoot, '.claude'));
|
|
1587
1737
|
writeFileSync(settingsPath, JSON.stringify(settings, null, 2), 'utf8');
|
|
1588
1738
|
}
|
|
1589
|
-
function checkDirectories(projectRoot) {
|
|
1739
|
+
export function checkDirectories(projectRoot) {
|
|
1590
1740
|
const results = [];
|
|
1591
1741
|
const dirs = [
|
|
1592
1742
|
{ path: 'sprint', name: 'dir/sprint' },
|
|
@@ -1602,7 +1752,7 @@ function checkDirectories(projectRoot) {
|
|
|
1602
1752
|
}
|
|
1603
1753
|
return results;
|
|
1604
1754
|
}
|
|
1605
|
-
function checkHooks(projectRoot) {
|
|
1755
|
+
export function checkHooks(projectRoot) {
|
|
1606
1756
|
const results = [];
|
|
1607
1757
|
// Detect installation type from manifest
|
|
1608
1758
|
const manifest = readManifest(projectRoot);
|
|
@@ -1659,7 +1809,7 @@ function checkHooks(projectRoot) {
|
|
|
1659
1809
|
* symlinked rather than copied, since symlinks stay current automatically.
|
|
1660
1810
|
* Provides --fix to refresh stale hooks or replace copies with symlinks.
|
|
1661
1811
|
*/
|
|
1662
|
-
function checkGitHooks(projectRoot, nodeModulesPath) {
|
|
1812
|
+
export function checkGitHooks(projectRoot, nodeModulesPath) {
|
|
1663
1813
|
const results = [];
|
|
1664
1814
|
// Use git rev-parse to find the actual git dir (handles worktrees where .git is a file)
|
|
1665
1815
|
const gitDirResult = spawnSync('git', ['rev-parse', '--git-dir'], { cwd: projectRoot, encoding: 'utf8' });
|
|
@@ -1803,7 +1953,7 @@ function checkGitHooks(projectRoot, nodeModulesPath) {
|
|
|
1803
1953
|
* Check Cyclist installation health (if installed as a workspace package)
|
|
1804
1954
|
* Detects node-pty spawn-helper permission issues that cause posix_spawnp failures
|
|
1805
1955
|
*/
|
|
1806
|
-
function checkCyclist(projectRoot) {
|
|
1956
|
+
export function checkCyclist(projectRoot) {
|
|
1807
1957
|
const results = [];
|
|
1808
1958
|
// Detect Cyclist package — check common locations
|
|
1809
1959
|
const cyclistLocations = [
|
|
@@ -1905,7 +2055,7 @@ function checkCyclist(projectRoot) {
|
|
|
1905
2055
|
* Check if the pf CLI is installed and working.
|
|
1906
2056
|
* The pf CLI is required for agent commands (e.g., `pf agent start "dev"`).
|
|
1907
2057
|
*/
|
|
1908
|
-
function checkPfCli(nodeModulesPath) {
|
|
2058
|
+
export function checkPfCli(nodeModulesPath) {
|
|
1909
2059
|
const version = getPfVersion();
|
|
1910
2060
|
if (version) {
|
|
1911
2061
|
return {
|
|
@@ -2182,7 +2332,7 @@ export function checkLegacyStatuslinePath(projectRoot) {
|
|
|
2182
2332
|
* be migrated to `pf hooks` commands. The .sh scripts still work (they're shims)
|
|
2183
2333
|
* but `pf hooks` is the canonical path — faster, no shell indirection.
|
|
2184
2334
|
*/
|
|
2185
|
-
function checkLegacyHookCommands(projectRoot) {
|
|
2335
|
+
export function checkLegacyHookCommands(projectRoot) {
|
|
2186
2336
|
const settingsPath = join(projectRoot, '.claude/settings.local.json');
|
|
2187
2337
|
if (!pathExists(settingsPath)) {
|
|
2188
2338
|
return { name: 'legacy/hook-commands', status: 'pass', detail: 'No settings file' };
|
|
@@ -2354,6 +2504,26 @@ export function checkFileLayout(projectRoot) {
|
|
|
2354
2504
|
status: 'pass',
|
|
2355
2505
|
detail: undefined
|
|
2356
2506
|
});
|
|
2507
|
+
// Check execute permission on each shell script in project hooks
|
|
2508
|
+
try {
|
|
2509
|
+
const hookFiles = readdirSync(projectHooksPath).filter(f => f.endsWith('.sh'));
|
|
2510
|
+
for (const file of hookFiles) {
|
|
2511
|
+
const hookPath = join(projectHooksPath, file);
|
|
2512
|
+
const stats = statSync(hookPath);
|
|
2513
|
+
const isExecutable = (stats.mode & 0o111) !== 0;
|
|
2514
|
+
results.push({
|
|
2515
|
+
name: `layout/project-hooks/${file}`,
|
|
2516
|
+
status: isExecutable ? 'pass' : 'warn',
|
|
2517
|
+
detail: isExecutable ? undefined : 'Not executable — will cause Permission denied on session start',
|
|
2518
|
+
fix: isExecutable ? undefined : () => {
|
|
2519
|
+
chmodSync(hookPath, 0o755);
|
|
2520
|
+
}
|
|
2521
|
+
});
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
catch {
|
|
2525
|
+
// Ignore read errors
|
|
2526
|
+
}
|
|
2357
2527
|
}
|
|
2358
2528
|
// 8. Old project hooks at .claude/project/hooks/
|
|
2359
2529
|
const oldProjectHooksPath = join(projectRoot, '.claude/project/hooks');
|
|
@@ -2383,6 +2553,17 @@ export function checkFileLayout(projectRoot) {
|
|
|
2383
2553
|
}
|
|
2384
2554
|
removeSync(oldProjectHooksPath);
|
|
2385
2555
|
}
|
|
2556
|
+
// Ensure migrated shell scripts are executable
|
|
2557
|
+
try {
|
|
2558
|
+
for (const file of readdirSync(projectHooksPath)) {
|
|
2559
|
+
if (file.endsWith('.sh')) {
|
|
2560
|
+
chmodSync(join(projectHooksPath, file), 0o755);
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
catch {
|
|
2565
|
+
// Ignore
|
|
2566
|
+
}
|
|
2386
2567
|
}
|
|
2387
2568
|
});
|
|
2388
2569
|
}
|