@pennyfarthing/core 11.3.8 → 11.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -1
- package/packages/core/dist/cli/commands/cyclist.js +1 -1
- package/packages/core/dist/cli/commands/cyclist.js.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.test.js +3 -3
- package/packages/core/dist/cli/commands/cyclist.test.js.map +1 -1
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.d.ts +22 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.d.ts.map +1 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.js +161 -0
- package/packages/core/dist/cli/commands/doctor-persona-config-false-negative.test.js.map +1 -0
- package/packages/core/dist/cli/commands/doctor.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/doctor.js +101 -33
- package/packages/core/dist/cli/commands/doctor.js.map +1 -1
- package/packages/core/dist/cli/commands/init.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/init.js +33 -13
- package/packages/core/dist/cli/commands/init.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 +68 -17
- 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 -21
- package/packages/core/dist/cli/index.js.map +1 -1
- package/packages/core/dist/cli/utils/node-modules.d.ts +7 -0
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/node-modules.js +39 -0
- package/packages/core/dist/cli/utils/node-modules.js.map +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts +1 -1
- package/packages/core/dist/cli/utils/settings.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/settings.js +24 -21
- package/packages/core/dist/cli/utils/settings.js.map +1 -1
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts +59 -0
- package/packages/core/dist/cli/utils/stale-artifacts.d.ts.map +1 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js +163 -0
- package/packages/core/dist/cli/utils/stale-artifacts.js.map +1 -0
- package/packages/core/dist/public/css/react.css +1 -1
- package/packages/core/dist/public/js/react/react.js +39 -39
- package/packages/core/dist/scripts/benchmark-integration.d.ts +182 -0
- package/packages/core/dist/scripts/benchmark-integration.d.ts.map +1 -0
- package/packages/core/dist/scripts/benchmark-integration.js +691 -0
- package/packages/core/dist/scripts/benchmark-integration.js.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts +150 -0
- package/packages/core/dist/scripts/job-fair-aggregator.d.ts.map +1 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js +547 -0
- package/packages/core/dist/scripts/job-fair-aggregator.js.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.d.ts.map +1 -0
- package/packages/core/dist/scripts/theme-detail.test.js.map +1 -0
- package/packages/core/dist/server/api/context.d.ts.map +1 -1
- package/packages/core/dist/server/api/context.js +23 -5
- package/packages/core/dist/server/api/context.js.map +1 -1
- package/packages/core/dist/server/api/index.d.ts +0 -1
- package/packages/core/dist/server/api/index.d.ts.map +1 -1
- package/packages/core/dist/server/api/index.js +0 -2
- package/packages/core/dist/server/api/index.js.map +1 -1
- package/packages/core/dist/server/api/settings.d.ts.map +1 -1
- package/packages/core/dist/server/api/settings.js +6 -0
- package/packages/core/dist/server/api/settings.js.map +1 -1
- package/packages/core/dist/server/otlp-receiver.d.ts +0 -4
- package/packages/core/dist/server/otlp-receiver.d.ts.map +1 -1
- package/packages/core/dist/server/otlp-receiver.js +0 -18
- package/packages/core/dist/server/otlp-receiver.js.map +1 -1
- package/packages/core/dist/server/otlp-receiver.test.js +0 -27
- package/packages/core/dist/server/otlp-receiver.test.js.map +1 -1
- package/packages/core/dist/server/server.d.ts +1 -1
- package/packages/core/dist/server/server.d.ts.map +1 -1
- package/packages/core/dist/server/server.js +2 -4
- package/packages/core/dist/server/server.js.map +1 -1
- package/packages/core/dist/workflow/cross-entity-validation.d.ts.map +1 -1
- package/packages/core/dist/workflow/cross-entity-validation.js.map +1 -1
- package/packages/core/src/public/App.tsx +354 -0
- package/packages/core/src/public/components/AgentLoadDialog.tsx +202 -0
- package/packages/core/src/public/components/AgentPopup.tsx +308 -0
- package/packages/core/src/public/components/ApprovalModal/ApprovalModal.css +35 -0
- package/packages/core/src/public/components/ApprovalModal/index.tsx +632 -0
- package/packages/core/src/public/components/BikeRackIndex.tsx +53 -0
- package/packages/core/src/public/components/BikeRackWorkspace.tsx +215 -0
- package/packages/core/src/public/components/CommandPalette.tsx +554 -0
- package/packages/core/src/public/components/ConfirmDialog.tsx +168 -0
- package/packages/core/src/public/components/ContextIndicator/ContextIndicator.css +85 -0
- package/packages/core/src/public/components/ContextIndicator/index.tsx +330 -0
- package/packages/core/src/public/components/ContextSparkline.tsx +56 -0
- package/packages/core/src/public/components/ControlBar.tsx +636 -0
- package/packages/core/src/public/components/DeadCodeDialog.tsx +169 -0
- package/packages/core/src/public/components/DiffViewer.tsx +585 -0
- package/packages/core/src/public/components/DockviewWorkspace.tsx +745 -0
- package/packages/core/src/public/components/Editor.tsx +630 -0
- package/packages/core/src/public/components/ErrorBoundary.tsx +67 -0
- package/packages/core/src/public/components/FileTree.tsx +379 -0
- package/packages/core/src/public/components/FullFileTree.tsx +237 -0
- package/packages/core/src/public/components/HealthGauge.tsx +181 -0
- package/packages/core/src/public/components/Message.tsx +225 -0
- package/packages/core/src/public/components/MessageList.tsx +98 -0
- package/packages/core/src/public/components/MessageView.tsx +400 -0
- package/packages/core/src/public/components/ModeSwitch/ModeSwitch.css +165 -0
- package/packages/core/src/public/components/ModeSwitch/index.tsx +372 -0
- package/packages/core/src/public/components/PersonaHeader.tsx +242 -0
- package/packages/core/src/public/components/ProjectInfoBar.tsx +45 -0
- package/packages/core/src/public/components/QuickActions.tsx +267 -0
- package/packages/core/src/public/components/SpanTimeline.tsx +352 -0
- package/packages/core/src/public/components/StandalonePanel.tsx +80 -0
- package/packages/core/src/public/components/StatsStrip.tsx +162 -0
- package/packages/core/src/public/components/StreamingContent.tsx +77 -0
- package/packages/core/src/public/components/SubagentSpan.tsx +180 -0
- package/packages/core/src/public/components/TandemPortrait.tsx +72 -0
- package/packages/core/src/public/components/ToolCallBlock.tsx +252 -0
- package/packages/core/src/public/components/ToolStack.tsx +209 -0
- package/packages/core/src/public/components/ToolStatus.tsx +57 -0
- package/packages/core/src/public/components/dialogs/CodeMarkersDialog.tsx +169 -0
- package/packages/core/src/public/components/dialogs/ComplexityDialog.tsx +163 -0
- package/packages/core/src/public/components/dialogs/DependenciesDialog.tsx +120 -0
- package/packages/core/src/public/components/dialogs/HotspotsDialog.tsx +451 -0
- package/packages/core/src/public/components/dialogs/ToolDialog.tsx +43 -0
- package/packages/core/src/public/components/panel-registry.ts +13 -0
- package/packages/core/src/public/components/panels/ACPanel.tsx +93 -0
- package/packages/core/src/public/components/panels/AcceptanceCriteriaPanel.tsx +104 -0
- package/packages/core/src/public/components/panels/AuditLogPanel.tsx +489 -0
- package/packages/core/src/public/components/panels/BikeLanePanel.tsx +214 -0
- package/packages/core/src/public/components/panels/DebugPanel.tsx +344 -0
- package/packages/core/src/public/components/panels/DiffView.tsx +109 -0
- package/packages/core/src/public/components/panels/DiffsPanel.tsx +56 -0
- package/packages/core/src/public/components/panels/GitPanel.tsx +260 -0
- package/packages/core/src/public/components/panels/HotspotsPanel.tsx +365 -0
- package/packages/core/src/public/components/panels/MessageFeed.tsx +39 -0
- package/packages/core/src/public/components/panels/MessagePanel.tsx +497 -0
- package/packages/core/src/public/components/panels/ProgressPanel.tsx +189 -0
- package/packages/core/src/public/components/panels/SettingsPanel.tsx +161 -0
- package/packages/core/src/public/components/panels/SprintPanel.tsx +731 -0
- package/packages/core/src/public/components/panels/TandemPanel.tsx +104 -0
- package/packages/core/src/public/components/panels/TaskTracker.tsx +48 -0
- package/packages/core/src/public/components/panels/TeamPanel.tsx +64 -0
- package/packages/core/src/public/components/panels/TeamRoster.tsx +67 -0
- package/packages/core/src/public/components/panels/TodoPanel.tsx +142 -0
- package/packages/core/src/public/components/panels/WorkflowPanel.tsx +224 -0
- package/packages/core/src/public/components/panels/index.ts +23 -0
- package/packages/core/src/public/components/ui/alert-dialog.tsx +139 -0
- package/packages/core/src/public/components/ui/badge.tsx +36 -0
- package/packages/core/src/public/components/ui/button.tsx +57 -0
- package/packages/core/src/public/components/ui/checkbox.tsx +28 -0
- package/packages/core/src/public/components/ui/collapsible.tsx +9 -0
- package/packages/core/src/public/components/ui/command.tsx +151 -0
- package/packages/core/src/public/components/ui/dialog.tsx +120 -0
- package/packages/core/src/public/components/ui/popover.tsx +31 -0
- package/packages/core/src/public/components/ui/progress.tsx +28 -0
- package/packages/core/src/public/components/ui/scroll-area.tsx +46 -0
- package/packages/core/src/public/components/ui/select.tsx +157 -0
- package/packages/core/src/public/components/ui/separator.tsx +29 -0
- package/packages/core/src/public/components/ui/skeleton.tsx +15 -0
- package/packages/core/src/public/components/ui/toggle-group.tsx +59 -0
- package/packages/core/src/public/components/ui/toggle.tsx +43 -0
- package/packages/core/src/public/components/ui/tooltip.tsx +30 -0
- package/packages/core/src/public/contexts/ClaudeContext.tsx +311 -0
- package/packages/core/src/public/contexts/MessageQueueContext.tsx +143 -0
- package/packages/core/src/public/css/theme-browser.css +550 -0
- package/packages/core/src/public/css/theme-system.css +630 -0
- package/packages/core/src/public/hooks/index.ts +46 -0
- package/packages/core/src/public/hooks/useAgentLoad.ts +105 -0
- package/packages/core/src/public/hooks/useClaude.ts +234 -0
- package/packages/core/src/public/hooks/useCodeMarkers.ts +101 -0
- package/packages/core/src/public/hooks/useColorScheme.ts +42 -0
- package/packages/core/src/public/hooks/useCommandHistory.ts +99 -0
- package/packages/core/src/public/hooks/useComplexity.ts +80 -0
- package/packages/core/src/public/hooks/useDeadCode.ts +99 -0
- package/packages/core/src/public/hooks/useDependencies.ts +82 -0
- package/packages/core/src/public/hooks/useDiffs.ts +143 -0
- package/packages/core/src/public/hooks/useFileBrowser.ts +73 -0
- package/packages/core/src/public/hooks/useFocusPanel.ts +137 -0
- package/packages/core/src/public/hooks/useGitStatus.ts +233 -0
- package/packages/core/src/public/hooks/useHealthScore.ts +71 -0
- package/packages/core/src/public/hooks/useHotspots.ts +123 -0
- package/packages/core/src/public/hooks/useLayoutPersistence.ts +141 -0
- package/packages/core/src/public/hooks/useMarkdownParser.ts +36 -0
- package/packages/core/src/public/hooks/useMarkerActions.ts +234 -0
- package/packages/core/src/public/hooks/useMessageQueue.ts +380 -0
- package/packages/core/src/public/hooks/useMessageStream.ts +131 -0
- package/packages/core/src/public/hooks/usePersona.ts +112 -0
- package/packages/core/src/public/hooks/usePlanModeExit.ts +105 -0
- package/packages/core/src/public/hooks/useResponsiveLayout.ts +173 -0
- package/packages/core/src/public/hooks/useSprint.ts +166 -0
- package/packages/core/src/public/hooks/useStatsStrip.ts +204 -0
- package/packages/core/src/public/hooks/useStory.ts +135 -0
- package/packages/core/src/public/hooks/useSubagentHelper.ts +64 -0
- package/packages/core/src/public/hooks/useSyntaxHighlighter.ts +52 -0
- package/packages/core/src/public/hooks/useTabCompletion.ts +124 -0
- package/packages/core/src/public/hooks/useTandemObservations.ts +165 -0
- package/packages/core/src/public/hooks/useTeamMembers.ts +273 -0
- package/packages/core/src/public/hooks/useTodos.ts +93 -0
- package/packages/core/src/public/hooks/useUserAvatar.ts +54 -0
- package/packages/core/src/public/images/cyclist-dark.png +0 -0
- package/packages/core/src/public/images/cyclist-light.png +0 -0
- package/packages/core/src/public/images/cyclist-tandem-source.png +0 -0
- package/packages/core/src/public/index.html +14 -0
- package/packages/core/src/public/index.tsx +10 -0
- package/packages/core/src/public/lib/utils.ts +6 -0
- package/packages/core/src/public/styles/dockview-theme.css +376 -0
- package/packages/core/src/public/styles/tailwind.css +4353 -0
- package/packages/core/src/public/types/message.ts +51 -0
- package/packages/core/src/public/utils/avatar-service.ts +73 -0
- package/packages/core/src/public/utils/color-presets.ts +940 -0
- package/packages/core/src/public/utils/font-presets.ts +362 -0
- package/packages/core/src/public/utils/formatDuration.ts +14 -0
- package/packages/core/src/public/utils/markdown.ts +249 -0
- package/packages/core/src/public/utils/messageFilters.ts +128 -0
- package/packages/core/src/public/utils/slash-commands.ts +341 -0
- package/packages/core/src/public/utils/subagent-display.ts +146 -0
- package/packages/core/src/public/utils/syntax.ts +219 -0
- package/packages/core/src/public/utils/toolIntentSummarizer.ts +199 -0
- package/packages/core/src/public/utils/toolStackGrouper.ts +106 -0
- package/packages/core/src/public/utils/toolTypeColors.ts +45 -0
- package/pennyfarthing-dist/guides/bikerack.md +94 -0
- package/pennyfarthing-dist/personas/themes/firefly.yaml +12 -12
- 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 +0 -2
- package/pennyfarthing-dist/pf/bc/focus.py +0 -2
- 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__/story_detail_widget.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/base_panel.py +0 -1
- package/pennyfarthing-dist/pf/bikerack/context_meter_footer.py +115 -35
- package/pennyfarthing-dist/pf/bikerack/events.py +1 -7
- package/pennyfarthing-dist/pf/bikerack/git_panel.py +273 -10
- package/pennyfarthing-dist/pf/bikerack/portrait_resolver.py +35 -2
- package/pennyfarthing-dist/pf/bikerack/progress_panel.py +54 -0
- package/pennyfarthing-dist/pf/bikerack/sprint_panel.py +116 -1
- package/pennyfarthing-dist/pf/bikerack/story_detail_screen.py +10 -105
- package/pennyfarthing-dist/pf/bikerack/story_detail_widget.py +167 -0
- package/pennyfarthing-dist/pf/bikerack/tui.py +141 -66
- 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 +0 -1
- package/pennyfarthing-dist/pf/bmad/importer.py +0 -1
- package/pennyfarthing-dist/pf/bmad/parser.py +15 -10
- package/pennyfarthing-dist/pf/bmad/sync.py +1 -3
- package/pennyfarthing-dist/pf/bmad/test_parser.py +0 -4
- package/pennyfarthing-dist/pf/bmad/test_sync.py +0 -3
- 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 +1 -1
- package/pennyfarthing-dist/pf/cli.py +145 -111
- 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/common/__init__.py +2 -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/config.py +43 -0
- package/pennyfarthing-dist/pf/common/pr_config.py +27 -2
- package/pennyfarthing-dist/pf/common/themes.py +7 -5
- 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/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/context.py +1 -1
- 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/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/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/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/hooks_installer.py +7 -6
- 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/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/gate_file.py +5 -1
- 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/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/statusline.py +11 -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/jira/__init__.py +0 -6
- 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/claim.py +14 -44
- package/pennyfarthing-dist/pf/jira/cli.py +124 -14
- package/pennyfarthing-dist/pf/jira/client.py +51 -87
- package/pennyfarthing-dist/pf/jira/reconcile.py +1 -1
- package/pennyfarthing-dist/pf/jira/story.py +6 -4
- package/pennyfarthing-dist/pf/jira/sync.py +2 -2
- 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/migration/__init__.py +1 -1
- 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 +0 -1
- package/pennyfarthing-dist/pf/package/__init__.py +0 -0
- package/pennyfarthing-dist/pf/package/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/package/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/package/__pycache__/discovery.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/package/__pycache__/portraits.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/package/cli.py +186 -0
- package/pennyfarthing-dist/pf/package/discovery.py +130 -0
- package/pennyfarthing-dist/pf/package/portraits.py +243 -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/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/loader.py +21 -7
- package/pennyfarthing-dist/pf/prime/workflow.py +11 -3
- package/pennyfarthing-dist/pf/release/__init__.py +0 -0
- package/pennyfarthing-dist/pf/release/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/release/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/release/__pycache__/deprecate.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/release/__pycache__/dry_run.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/release/cli.py +112 -0
- package/pennyfarthing-dist/pf/release/deprecate.py +187 -0
- package/pennyfarthing-dist/pf/release/dry_run.py +187 -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/settings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/__pycache__/settings.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/pf/settings/settings.py +44 -8
- 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__/shard_merge.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/cli.py +1 -1
- package/pennyfarthing-dist/pf/sprint/loader.py +6 -74
- package/pennyfarthing-dist/pf/sprint/shard_merge.py +126 -0
- package/pennyfarthing-dist/pf/sprint/story_finish.py +18 -4
- package/pennyfarthing-dist/pf/sprint/validator.py +7 -7
- package/pennyfarthing-dist/pf/sprint/yaml_io.py +8 -53
- 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/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/test_cli_modules.py +32 -137
- package/pennyfarthing-dist/pf/tests/test_codemarkers.py +0 -15
- package/pennyfarthing-dist/pf/tests/test_dist_root.py +720 -0
- package/pennyfarthing-dist/pf/tests/test_package_structure.py +24 -70
- package/pennyfarthing-dist/pf/tests/test_sprint_validator.py +44 -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/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 +11 -1
- package/pennyfarthing-dist/pf/validate/adapters/skill_command.py +15 -4
- package/pennyfarthing-dist/pf/validate/adapters/tandem_awareness.py +7 -1
- package/pennyfarthing-dist/pf/validate/adapters/team_mode.py +8 -2
- package/pennyfarthing-dist/pf/validate/adapters/workflow.py +12 -2
- 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/pyproject.toml +1 -1
- package/pennyfarthing-dist/scripts/core/check-context.sh +2 -2
- package/pennyfarthing-dist/scripts/git/changelog-links.sh +216 -0
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/lib/README.md +0 -1
- package/pennyfarthing-dist/scripts/lib/find-root.sh +1 -1
- package/pennyfarthing-dist/scripts/misc/migrate_bmad_workflow.py +0 -1
- package/pennyfarthing-dist/scripts/portraits/generate-portraits.py +67 -13
- package/pennyfarthing-dist/scripts/portraits/generate-tandem-portraits.sh +7 -3
- package/pennyfarthing-dist/scripts/workflow/check.py +4 -6
- package/pennyfarthing-dist/scripts/workflow/complete-step.py +2 -2
- package/pennyfarthing-dist/skills/skill-registry.yaml +19 -0
- package/pennyfarthing-dist/workflows/patch.yaml +5 -6
- package/pennyfarthing-dist/workflows/tdd-tandem.yaml +27 -2
- package/packages/core/dist/workflow/__test_context_watch__/.session/.tandem-turn-counter +0 -1
- package/packages/core/dist/workflow/__test_context_watch__/.session/95-6-session.md +0 -3
- package/packages/core/dist/workflow/__test_context_watch__/.session/95-6-tandem-architect.md +0 -6
- package/packages/core/dist/workflow/__test_file_watch__/.session/95-4-tandem-architect.md +0 -6
- package/packages/core/dist/workflow/__test_file_watch__/workdir/trigger.ts +0 -1
- package/packages/core/dist/workflow/__test_tool_watch__/.session/95-5-tandem-architect.md +0 -6
- package/packages/core/dist/workflow/__test_tool_watch__/.session/95-5-tandem-toolcalls.jsonl +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/pennyfarthing-dist/pf/bikerack/background_panel.py +0 -162
- package/pennyfarthing-dist/pf/bikerack/changed_panel.py +0 -201
- package/pennyfarthing-dist/pf/brownfield/__main__.py +0 -8
- package/pennyfarthing-dist/pf/config.py +0 -21
- package/pennyfarthing-dist/pf/hooks.py +0 -32
- package/pennyfarthing-dist/pf/jira_bidirectional_sync.py +0 -37
- package/pennyfarthing-dist/pf/jira_epic_creation.py +0 -30
- package/pennyfarthing-dist/pf/jira_sync.py +0 -36
- package/pennyfarthing-dist/pf/jira_sync_story.py +0 -30
- package/pennyfarthing-dist/pf/migration/__main__.py +0 -10
- package/pennyfarthing-dist/pf/output.py +0 -37
- package/pennyfarthing-dist/pf/theme/__main__.py +0 -6
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -177
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
#
|
|
3
|
+
# changelog-links.sh - Validate and regenerate CHANGELOG.md comparison links
|
|
4
|
+
#
|
|
5
|
+
# Parses ## [X.Y.Z] headers from CHANGELOG.md and ensures the comparison
|
|
6
|
+
# links section at the bottom is complete, ordered, and correct.
|
|
7
|
+
#
|
|
8
|
+
# Usage:
|
|
9
|
+
# changelog-links.sh [OPTIONS]
|
|
10
|
+
#
|
|
11
|
+
# Options:
|
|
12
|
+
# --validate Check links are correct (exit 1 if not). Default mode.
|
|
13
|
+
# --fix Regenerate the links section in-place.
|
|
14
|
+
# --print Print what the links section should be (stdout).
|
|
15
|
+
# --changelog Path to CHANGELOG.md (default: auto-detect)
|
|
16
|
+
# --repo-url GitHub repo URL (default: parsed from links section)
|
|
17
|
+
#
|
|
18
|
+
# Exit codes:
|
|
19
|
+
# 0 - Links are valid (--validate) or fixed (--fix)
|
|
20
|
+
# 1 - Links are invalid (--validate) or error occurred
|
|
21
|
+
|
|
22
|
+
set -euo pipefail
|
|
23
|
+
|
|
24
|
+
# --- Defaults ---
|
|
25
|
+
MODE="validate"
|
|
26
|
+
CHANGELOG_PATH=""
|
|
27
|
+
REPO_URL=""
|
|
28
|
+
|
|
29
|
+
# --- Parse arguments ---
|
|
30
|
+
while [[ $# -gt 0 ]]; do
|
|
31
|
+
case $1 in
|
|
32
|
+
--validate) MODE="validate"; shift ;;
|
|
33
|
+
--fix) MODE="fix"; shift ;;
|
|
34
|
+
--print) MODE="print"; shift ;;
|
|
35
|
+
--changelog) CHANGELOG_PATH="$2"; shift 2 ;;
|
|
36
|
+
--repo-url) REPO_URL="$2"; shift 2 ;;
|
|
37
|
+
--help|-h)
|
|
38
|
+
head -17 "$0" | tail -15
|
|
39
|
+
exit 0
|
|
40
|
+
;;
|
|
41
|
+
*)
|
|
42
|
+
echo "ERROR: Unknown option: $1" >&2
|
|
43
|
+
exit 1
|
|
44
|
+
;;
|
|
45
|
+
esac
|
|
46
|
+
done
|
|
47
|
+
|
|
48
|
+
# --- Find CHANGELOG.md ---
|
|
49
|
+
if [[ -z "$CHANGELOG_PATH" ]]; then
|
|
50
|
+
# Walk up from PWD looking for CHANGELOG.md
|
|
51
|
+
_dir="$PWD"
|
|
52
|
+
while [[ ! -f "$_dir/CHANGELOG.md" ]] && [[ "$_dir" != "/" ]]; do
|
|
53
|
+
_dir="$(dirname "$_dir")"
|
|
54
|
+
done
|
|
55
|
+
if [[ -f "$_dir/CHANGELOG.md" ]]; then
|
|
56
|
+
CHANGELOG_PATH="$_dir/CHANGELOG.md"
|
|
57
|
+
else
|
|
58
|
+
echo "ERROR: CHANGELOG.md not found" >&2
|
|
59
|
+
exit 1
|
|
60
|
+
fi
|
|
61
|
+
fi
|
|
62
|
+
|
|
63
|
+
if [[ ! -f "$CHANGELOG_PATH" ]]; then
|
|
64
|
+
echo "ERROR: File not found: $CHANGELOG_PATH" >&2
|
|
65
|
+
exit 1
|
|
66
|
+
fi
|
|
67
|
+
|
|
68
|
+
# --- Extract repo URL from existing links ---
|
|
69
|
+
if [[ -z "$REPO_URL" ]]; then
|
|
70
|
+
REPO_URL=$(grep -oE 'https://github\.com/[^/]+/[^/]+' "$CHANGELOG_PATH" | head -1)
|
|
71
|
+
if [[ -z "$REPO_URL" ]]; then
|
|
72
|
+
echo "ERROR: Could not detect repo URL from CHANGELOG.md. Use --repo-url." >&2
|
|
73
|
+
exit 1
|
|
74
|
+
fi
|
|
75
|
+
fi
|
|
76
|
+
|
|
77
|
+
# --- Extract version headers in document order (top = newest) ---
|
|
78
|
+
# Matches: ## [X.Y.Z] or ## [Unreleased]
|
|
79
|
+
# Captures just the version string
|
|
80
|
+
VERSIONS=()
|
|
81
|
+
while IFS= read -r line; do
|
|
82
|
+
# Extract version from ## [version] headers
|
|
83
|
+
if [[ "$line" =~ ^##[[:space:]]+\[([^]]+)\] ]]; then
|
|
84
|
+
VERSIONS+=("${BASH_REMATCH[1]}")
|
|
85
|
+
fi
|
|
86
|
+
done < "$CHANGELOG_PATH"
|
|
87
|
+
|
|
88
|
+
if [[ ${#VERSIONS[@]} -lt 2 ]]; then
|
|
89
|
+
echo "ERROR: Found fewer than 2 version headers in CHANGELOG.md" >&2
|
|
90
|
+
exit 1
|
|
91
|
+
fi
|
|
92
|
+
|
|
93
|
+
# --- Generate correct links ---
|
|
94
|
+
# Links are in same order as headers (newest first).
|
|
95
|
+
# Each version compares against the next (older) version.
|
|
96
|
+
# The oldest version links to its release tag.
|
|
97
|
+
# [Unreleased] compares against the newest release.
|
|
98
|
+
generate_links() {
|
|
99
|
+
local i
|
|
100
|
+
for ((i = 0; i < ${#VERSIONS[@]}; i++)); do
|
|
101
|
+
local ver="${VERSIONS[$i]}"
|
|
102
|
+
if [[ "$ver" == "Unreleased" ]]; then
|
|
103
|
+
# Unreleased compares against the next version (newest release)
|
|
104
|
+
if [[ $((i + 1)) -lt ${#VERSIONS[@]} ]]; then
|
|
105
|
+
local next="${VERSIONS[$((i + 1))]}"
|
|
106
|
+
echo "[Unreleased]: ${REPO_URL}/compare/v${next}...HEAD"
|
|
107
|
+
fi
|
|
108
|
+
elif [[ $((i + 1)) -lt ${#VERSIONS[@]} ]]; then
|
|
109
|
+
local next="${VERSIONS[$((i + 1))]}"
|
|
110
|
+
if [[ "$next" == "Unreleased" ]]; then
|
|
111
|
+
# This shouldn't happen in a well-formed changelog
|
|
112
|
+
continue
|
|
113
|
+
fi
|
|
114
|
+
echo "[${ver}]: ${REPO_URL}/compare/v${next}...v${ver}"
|
|
115
|
+
else
|
|
116
|
+
# Oldest version - link to release tag
|
|
117
|
+
echo "[${ver}]: ${REPO_URL}/releases/tag/v${ver}"
|
|
118
|
+
fi
|
|
119
|
+
done
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
EXPECTED_LINKS=$(generate_links)
|
|
123
|
+
|
|
124
|
+
# --- Extract current links section ---
|
|
125
|
+
# Links section starts after the last version content, identified by
|
|
126
|
+
# lines matching the [version]: URL pattern at the end of the file.
|
|
127
|
+
# We find the first link line and take everything from there to EOF.
|
|
128
|
+
FIRST_LINK_LINE=$(grep -n '^\[' "$CHANGELOG_PATH" | grep -E '^\d+:\[.+\]: https://' | head -1 | cut -d: -f1)
|
|
129
|
+
|
|
130
|
+
if [[ -z "$FIRST_LINK_LINE" ]]; then
|
|
131
|
+
CURRENT_LINKS=""
|
|
132
|
+
else
|
|
133
|
+
CURRENT_LINKS=$(tail -n +"$FIRST_LINK_LINE" "$CHANGELOG_PATH" | sed '/^$/d')
|
|
134
|
+
fi
|
|
135
|
+
|
|
136
|
+
# --- Act based on mode ---
|
|
137
|
+
case "$MODE" in
|
|
138
|
+
print)
|
|
139
|
+
echo "$EXPECTED_LINKS"
|
|
140
|
+
;;
|
|
141
|
+
validate)
|
|
142
|
+
if [[ "$CURRENT_LINKS" == "$EXPECTED_LINKS" ]]; then
|
|
143
|
+
echo "PASS: CHANGELOG.md comparison links are correct (${#VERSIONS[@]} versions)"
|
|
144
|
+
exit 0
|
|
145
|
+
else
|
|
146
|
+
echo "FAIL: CHANGELOG.md comparison links are incorrect"
|
|
147
|
+
echo ""
|
|
148
|
+
echo "--- Expected (${#VERSIONS[@]} links) ---"
|
|
149
|
+
echo "$EXPECTED_LINKS" | head -5
|
|
150
|
+
echo "..."
|
|
151
|
+
echo ""
|
|
152
|
+
echo "--- Actual ---"
|
|
153
|
+
echo "$CURRENT_LINKS" | head -5
|
|
154
|
+
echo "..."
|
|
155
|
+
echo ""
|
|
156
|
+
|
|
157
|
+
# Count specific issues
|
|
158
|
+
EXPECTED_COUNT=$(echo "$EXPECTED_LINKS" | wc -l | tr -d ' ')
|
|
159
|
+
ACTUAL_COUNT=$(echo "$CURRENT_LINKS" | wc -l | tr -d ' ')
|
|
160
|
+
if [[ "$EXPECTED_COUNT" != "$ACTUAL_COUNT" ]]; then
|
|
161
|
+
echo "Link count mismatch: expected $EXPECTED_COUNT, got $ACTUAL_COUNT"
|
|
162
|
+
fi
|
|
163
|
+
|
|
164
|
+
# Check for missing versions
|
|
165
|
+
for ver in "${VERSIONS[@]}"; do
|
|
166
|
+
if [[ "$ver" == "Unreleased" ]]; then
|
|
167
|
+
if ! echo "$CURRENT_LINKS" | grep -q '^\[Unreleased\]:'; then
|
|
168
|
+
echo " Missing: [Unreleased] link"
|
|
169
|
+
fi
|
|
170
|
+
else
|
|
171
|
+
if ! echo "$CURRENT_LINKS" | grep -q "^\[${ver}\]:"; then
|
|
172
|
+
echo " Missing: [${ver}] link"
|
|
173
|
+
fi
|
|
174
|
+
fi
|
|
175
|
+
done
|
|
176
|
+
|
|
177
|
+
echo ""
|
|
178
|
+
echo "Run with --fix to regenerate links."
|
|
179
|
+
exit 1
|
|
180
|
+
fi
|
|
181
|
+
;;
|
|
182
|
+
fix)
|
|
183
|
+
# Remove existing links section and append correct one
|
|
184
|
+
if [[ -n "$FIRST_LINK_LINE" ]]; then
|
|
185
|
+
# Keep everything before the links section
|
|
186
|
+
BEFORE_LINKS_LINE=$((FIRST_LINK_LINE - 1))
|
|
187
|
+
head -n "$BEFORE_LINKS_LINE" "$CHANGELOG_PATH" > "${CHANGELOG_PATH}.tmp"
|
|
188
|
+
else
|
|
189
|
+
# No links section exists - use entire file
|
|
190
|
+
cp "$CHANGELOG_PATH" "${CHANGELOG_PATH}.tmp"
|
|
191
|
+
fi
|
|
192
|
+
|
|
193
|
+
# Strip trailing blank lines from content
|
|
194
|
+
while [[ -s "${CHANGELOG_PATH}.tmp" ]] && [[ "$(tail -c 1 "${CHANGELOG_PATH}.tmp" | xxd -p)" == "0a" ]]; do
|
|
195
|
+
# Check if last line is empty
|
|
196
|
+
LAST_LINE=$(tail -1 "${CHANGELOG_PATH}.tmp")
|
|
197
|
+
if [[ -z "$LAST_LINE" ]]; then
|
|
198
|
+
# Remove last empty line using head
|
|
199
|
+
LINE_COUNT=$(wc -l < "${CHANGELOG_PATH}.tmp" | tr -d ' ')
|
|
200
|
+
head -n $((LINE_COUNT - 1)) "${CHANGELOG_PATH}.tmp" > "${CHANGELOG_PATH}.tmp2"
|
|
201
|
+
mv "${CHANGELOG_PATH}.tmp2" "${CHANGELOG_PATH}.tmp"
|
|
202
|
+
else
|
|
203
|
+
break
|
|
204
|
+
fi
|
|
205
|
+
done
|
|
206
|
+
|
|
207
|
+
# Append links section with blank line separator
|
|
208
|
+
{
|
|
209
|
+
echo ""
|
|
210
|
+
echo "$EXPECTED_LINKS"
|
|
211
|
+
} >> "${CHANGELOG_PATH}.tmp"
|
|
212
|
+
|
|
213
|
+
mv "${CHANGELOG_PATH}.tmp" "$CHANGELOG_PATH"
|
|
214
|
+
echo "Fixed: Regenerated ${#VERSIONS[@]} comparison links in CHANGELOG.md"
|
|
215
|
+
;;
|
|
216
|
+
esac
|
|
Binary file
|
|
@@ -11,7 +11,6 @@ Shared bash libraries sourced by other scripts.
|
|
|
11
11
|
| `retry.sh` | Retry logic with exponential backoff |
|
|
12
12
|
| `checkpoint.sh` | Checkpointing for long-running operations |
|
|
13
13
|
| `file-lock.sh` | File locking utilities |
|
|
14
|
-
| `background-tasks.sh` | Background task management |
|
|
15
14
|
| `find-root.sh` | Project root finder |
|
|
16
15
|
|
|
17
16
|
## Usage
|
|
@@ -28,7 +28,7 @@ if [[ -n "$_caller_script" ]]; then
|
|
|
28
28
|
_pkg="${_pkg%/pennyfarthing-dist}"
|
|
29
29
|
_pkg="${_pkg%/.pennyfarthing}"
|
|
30
30
|
if [[ "$_pkg" == */node_modules/* ]]; then
|
|
31
|
-
PROJECT_ROOT="${_pkg
|
|
31
|
+
PROJECT_ROOT="${_pkg%%/node_modules/*}"
|
|
32
32
|
elif [[ -d "$_pkg/.pennyfarthing" ]]; then
|
|
33
33
|
PROJECT_ROOT="$_pkg"
|
|
34
34
|
elif [[ -d "$_pkg/../.pennyfarthing" ]]; then
|
|
@@ -15,14 +15,20 @@ Usage:
|
|
|
15
15
|
python3 scripts/generate-portraits.py [--dry-run] [--theme THEME] [--engine ENGINE]
|
|
16
16
|
python3 scripts/generate-portraits.py --engine flux --theme gilligans-island --dry-run
|
|
17
17
|
python3 scripts/generate-portraits.py --engine sdxl --role ba --skip-existing
|
|
18
|
+
|
|
19
|
+
Freeform prompt mode (bypasses theme YAML):
|
|
20
|
+
python3 scripts/generate-portraits.py --prompt "a steampunk bicycle logo" --output logo.png
|
|
21
|
+
python3 scripts/generate-portraits.py --prompt "robot on a penny-farthing" --output bot.png --no-style-suffix
|
|
22
|
+
python3 scripts/generate-portraits.py --prompt "cat riding a bicycle" --output cat.png --style "flat vector logo, minimal, bold colors"
|
|
23
|
+
python3 scripts/generate-portraits.py --prompt "cat riding a bicycle" --output cat.png --engine flux --seed 99
|
|
18
24
|
"""
|
|
19
25
|
|
|
20
26
|
import argparse
|
|
21
27
|
import os
|
|
22
28
|
import sys
|
|
23
29
|
import warnings
|
|
24
|
-
from pathlib import Path
|
|
25
30
|
from datetime import datetime
|
|
31
|
+
from pathlib import Path
|
|
26
32
|
|
|
27
33
|
# Suppress progress bars before importing torch/diffusers
|
|
28
34
|
os.environ["TQDM_DISABLE"] = "1"
|
|
@@ -38,7 +44,7 @@ except ImportError:
|
|
|
38
44
|
|
|
39
45
|
try:
|
|
40
46
|
import torch
|
|
41
|
-
from diffusers import
|
|
47
|
+
from diffusers import DPMSolverMultistepScheduler, StableDiffusionXLPipeline
|
|
42
48
|
from diffusers.utils import logging as diffusers_logging
|
|
43
49
|
from PIL import Image
|
|
44
50
|
HAS_TORCH = True
|
|
@@ -188,7 +194,7 @@ def generate_portrait_filename(short_name: str, ocean: dict) -> str:
|
|
|
188
194
|
|
|
189
195
|
def parse_theme_file(theme_path: Path) -> dict:
|
|
190
196
|
"""Parse theme YAML file to extract visual prompts for each agent."""
|
|
191
|
-
with open(theme_path,
|
|
197
|
+
with open(theme_path, encoding="utf-8") as f:
|
|
192
198
|
data = yaml.safe_load(f)
|
|
193
199
|
|
|
194
200
|
theme_metadata = data.get("theme", {})
|
|
@@ -310,7 +316,7 @@ def load_pipeline(engine_name: str):
|
|
|
310
316
|
}
|
|
311
317
|
else:
|
|
312
318
|
model_id = engine["model_id"]
|
|
313
|
-
print(
|
|
319
|
+
print("\nLoading SDXL model on MPS...")
|
|
314
320
|
print(f" Model: {model_id}")
|
|
315
321
|
print(" (First run downloads ~6.5GB model)")
|
|
316
322
|
|
|
@@ -369,14 +375,14 @@ def generate_portrait(pipeline_components: dict, prompt: str, engine_name: str,
|
|
|
369
375
|
pipe = pipeline_components["pipe"]
|
|
370
376
|
generator = torch.Generator().manual_seed(seed)
|
|
371
377
|
|
|
372
|
-
kwargs =
|
|
373
|
-
prompt
|
|
374
|
-
width
|
|
375
|
-
height
|
|
376
|
-
num_inference_steps
|
|
377
|
-
guidance_scale
|
|
378
|
-
generator
|
|
379
|
-
|
|
378
|
+
kwargs = {
|
|
379
|
+
"prompt": prompt,
|
|
380
|
+
"width": gen_size,
|
|
381
|
+
"height": gen_size,
|
|
382
|
+
"num_inference_steps": engine["num_inference_steps"],
|
|
383
|
+
"guidance_scale": engine["guidance_scale"],
|
|
384
|
+
"generator": generator,
|
|
385
|
+
}
|
|
380
386
|
if engine["supports_negative_prompt"]:
|
|
381
387
|
kwargs["negative_prompt"] = "color, grayscale, photorealistic, blurry, deformed"
|
|
382
388
|
|
|
@@ -398,8 +404,56 @@ def main():
|
|
|
398
404
|
parser.add_argument("--output-dir", type=str, help="Output to different directory (default: pennyfarthing-dist/personas/portraits)")
|
|
399
405
|
parser.add_argument("--engine", type=str, choices=list(ENGINES.keys()), default=DEFAULT_ENGINE,
|
|
400
406
|
help=f"Image generation engine (default: {DEFAULT_ENGINE})")
|
|
407
|
+
parser.add_argument("--prompt", type=str, help="Generate a single image from an arbitrary text prompt (bypasses theme YAML)")
|
|
408
|
+
parser.add_argument("--output", type=str, help="Output file path (required with --prompt)")
|
|
409
|
+
parser.add_argument("--no-style-suffix", action="store_true", help="Skip appending the default style suffix (use with --prompt)")
|
|
410
|
+
parser.add_argument("--style", type=str, help="Custom style suffix to append to --prompt (overrides default woodcut style)")
|
|
401
411
|
args = parser.parse_args()
|
|
402
412
|
|
|
413
|
+
# Freeform prompt mode — bypass theme loading entirely
|
|
414
|
+
if args.prompt:
|
|
415
|
+
if not args.output:
|
|
416
|
+
print("Error: --output is required when using --prompt")
|
|
417
|
+
sys.exit(1)
|
|
418
|
+
|
|
419
|
+
engine_name = args.engine
|
|
420
|
+
engine = ENGINES[engine_name]
|
|
421
|
+
|
|
422
|
+
if args.no_style_suffix:
|
|
423
|
+
style_suffix = ""
|
|
424
|
+
elif args.style:
|
|
425
|
+
style_suffix = f", {args.style}"
|
|
426
|
+
else:
|
|
427
|
+
style_suffix = DEFAULT_STYLE_SUFFIX
|
|
428
|
+
|
|
429
|
+
prompt, was_truncated, token_count = build_portrait_prompt(
|
|
430
|
+
args.prompt, style_suffix, max_tokens=engine["max_tokens"]
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
print(f"Engine: {engine_name.upper()}")
|
|
434
|
+
print(f"Prompt ({token_count} tokens): {prompt}")
|
|
435
|
+
if was_truncated:
|
|
436
|
+
print(f" WARNING: Truncated to {engine['max_tokens']} token limit")
|
|
437
|
+
|
|
438
|
+
if args.dry_run:
|
|
439
|
+
print("Dry run — no image generated.")
|
|
440
|
+
return
|
|
441
|
+
|
|
442
|
+
if not HAS_TORCH:
|
|
443
|
+
print(f"Missing required package: {TORCH_ERROR}")
|
|
444
|
+
print("\nInstall: pip install diffusers transformers accelerate torch pillow")
|
|
445
|
+
sys.exit(1)
|
|
446
|
+
|
|
447
|
+
pipeline_components = load_pipeline(engine_name)
|
|
448
|
+
out_path = Path(args.output)
|
|
449
|
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
|
450
|
+
|
|
451
|
+
print(f"Generating: {out_path}...")
|
|
452
|
+
image = generate_portrait(pipeline_components, prompt, engine_name, seed=args.seed)
|
|
453
|
+
image.save(out_path, "PNG")
|
|
454
|
+
print(f"Done: {out_path}")
|
|
455
|
+
return
|
|
456
|
+
|
|
403
457
|
engine_name = args.engine
|
|
404
458
|
engine = ENGINES[engine_name]
|
|
405
459
|
|
|
@@ -445,7 +499,7 @@ def main():
|
|
|
445
499
|
print(f" Searched: {CUSTOM_THEMES_DIR}")
|
|
446
500
|
sys.exit(1)
|
|
447
501
|
|
|
448
|
-
print(
|
|
502
|
+
print("Theme sources:")
|
|
449
503
|
print(f" Built-in: {BUILTIN_THEMES_DIR}")
|
|
450
504
|
for src in pkg_sources:
|
|
451
505
|
print(f" Package: {src}")
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
12
12
|
SCRIPT_DIR="${0:A:h}"
|
|
13
|
-
# Source image lives
|
|
13
|
+
# Source image lives in packages/core/src/public/images/
|
|
14
14
|
DIST_DIR="${SCRIPT_DIR}/../.."
|
|
15
|
-
|
|
15
|
+
# Find project root (contains packages/)
|
|
16
|
+
PROJECT_ROOT="${DIST_DIR}"
|
|
17
|
+
[[ -d "${PROJECT_ROOT}/packages" ]] || PROJECT_ROOT="${DIST_DIR}/.."
|
|
18
|
+
SOURCE_IMAGE="${PROJECT_ROOT}/packages/core/src/public/images/cyclist-tandem-source.png"
|
|
16
19
|
PORTRAITS_DIR=""
|
|
17
20
|
|
|
18
21
|
# Parse arguments
|
|
@@ -25,8 +28,9 @@ while [[ $# -gt 0 ]]; do
|
|
|
25
28
|
done
|
|
26
29
|
|
|
27
30
|
# Auto-detect portraits directory if not provided
|
|
31
|
+
# Output goes to packages/cyclist/portraits/ (Cyclist UI asset, not persona portraits)
|
|
28
32
|
if [[ -z "$PORTRAITS_DIR" ]]; then
|
|
29
|
-
PORTRAITS_DIR="${
|
|
33
|
+
PORTRAITS_DIR="${PROJECT_ROOT}/packages/cyclist/portraits"
|
|
30
34
|
fi
|
|
31
35
|
|
|
32
36
|
# Resolve to absolute path
|
|
@@ -22,13 +22,11 @@ Returns exit code 0 on all passing, non-zero on any failure.
|
|
|
22
22
|
import argparse
|
|
23
23
|
import asyncio
|
|
24
24
|
import json
|
|
25
|
-
import os
|
|
26
25
|
import shutil
|
|
27
26
|
import sys
|
|
28
27
|
from dataclasses import dataclass, field
|
|
29
28
|
from enum import Enum
|
|
30
29
|
from pathlib import Path
|
|
31
|
-
from typing import Optional
|
|
32
30
|
|
|
33
31
|
|
|
34
32
|
class CheckStatus(Enum):
|
|
@@ -41,8 +39,8 @@ class CheckStatus(Enum):
|
|
|
41
39
|
class CheckResult:
|
|
42
40
|
name: str
|
|
43
41
|
status: CheckStatus
|
|
44
|
-
command:
|
|
45
|
-
message:
|
|
42
|
+
command: str | None = None
|
|
43
|
+
message: str | None = None
|
|
46
44
|
|
|
47
45
|
|
|
48
46
|
@dataclass
|
|
@@ -105,12 +103,12 @@ class Colors:
|
|
|
105
103
|
COLORS = Colors()
|
|
106
104
|
|
|
107
105
|
|
|
108
|
-
def print_pass(name: str, command:
|
|
106
|
+
def print_pass(name: str, command: str | None = None) -> None:
|
|
109
107
|
suffix = f" ({command})" if command else ""
|
|
110
108
|
print(f" {COLORS.GREEN}[PASS]{COLORS.NC} {name}{suffix}")
|
|
111
109
|
|
|
112
110
|
|
|
113
|
-
def print_fail(name: str, command:
|
|
111
|
+
def print_fail(name: str, command: str | None = None) -> None:
|
|
114
112
|
suffix = f" ({command})" if command else ""
|
|
115
113
|
print(f" {COLORS.RED}[FAIL]{COLORS.NC} {name}{suffix}")
|
|
116
114
|
|
|
@@ -15,7 +15,7 @@ If --step N provided, completes that specific step instead of current step.
|
|
|
15
15
|
import argparse
|
|
16
16
|
import re
|
|
17
17
|
import sys
|
|
18
|
-
from datetime import
|
|
18
|
+
from datetime import UTC, datetime
|
|
19
19
|
from pathlib import Path
|
|
20
20
|
|
|
21
21
|
try:
|
|
@@ -231,7 +231,7 @@ def main() -> int:
|
|
|
231
231
|
new_status = "completed" if completed_count >= step_count else "in_progress"
|
|
232
232
|
|
|
233
233
|
# Update timestamp
|
|
234
|
-
now = datetime.now(
|
|
234
|
+
now = datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
|
|
235
235
|
|
|
236
236
|
# Update session file content
|
|
237
237
|
content = re.sub(
|
|
@@ -23,6 +23,25 @@ skills:
|
|
|
23
23
|
keywords: [react, reflection, planning, tool-use, chain-of-thought]
|
|
24
24
|
allowed_tools: [Read, Glob, Grep, Task] # Reference material - read-only
|
|
25
25
|
|
|
26
|
+
pf-bc:
|
|
27
|
+
name: pf-bc
|
|
28
|
+
description: Panel focus management for Cyclist — set, clear, save, and load panel layouts
|
|
29
|
+
category: tools
|
|
30
|
+
tags: [cyclist, panels, layout, bikerack]
|
|
31
|
+
version: "1.0.0"
|
|
32
|
+
prerequisites: []
|
|
33
|
+
examples:
|
|
34
|
+
- context: Focusing the Sprint panel
|
|
35
|
+
invocation: /bc sprint
|
|
36
|
+
- context: Saving current layout
|
|
37
|
+
invocation: /bc save my-layout
|
|
38
|
+
- context: Resetting panel focus
|
|
39
|
+
invocation: /bc reset
|
|
40
|
+
anti_patterns:
|
|
41
|
+
- Don't manually edit config.local.yaml to set panel focus — use this skill
|
|
42
|
+
related_skills: [pf-cyclist]
|
|
43
|
+
keywords: [bikerack, cyclist, panel, focus, layout, dockview]
|
|
44
|
+
|
|
26
45
|
pf-changelog:
|
|
27
46
|
name: pf-changelog
|
|
28
47
|
description: Maintain changelogs following Keep a Changelog format with conventional commits
|
|
@@ -56,12 +56,11 @@ workflow:
|
|
|
56
56
|
handoff_on_complete: true
|
|
57
57
|
|
|
58
58
|
triggers:
|
|
59
|
-
# Manual triggers
|
|
60
59
|
commands:
|
|
61
60
|
- "/patch"
|
|
62
61
|
- "/fix-blocker"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
# Automatic triggers (future):
|
|
63
|
+
# error_patterns:
|
|
64
|
+
# - "No such file or directory"
|
|
65
|
+
# - "ModuleNotFoundError"
|
|
66
|
+
# - "command not found"
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
# Tandem pairings:
|
|
8
8
|
# - RED phase: TEA + Architect (file-watch) — Architect reviews test strategy
|
|
9
9
|
# - GREEN phase: Dev + Architect (file-watch) — Architect guides implementation patterns
|
|
10
|
+
# - VERIFY phase: TEA + Architect (file-watch) — Architect reviews implementation quality
|
|
10
11
|
# - REVIEW phase: Reviewer + PM (file-watch) — PM validates business requirements
|
|
11
12
|
#
|
|
12
13
|
# Compared to base tdd: Adds tandem observers on every working phase.
|
|
13
14
|
# The extra context from partner agents helps catch architectural drift early.
|
|
14
15
|
#
|
|
15
|
-
# Flow: SM → TEA (+Architect) → Dev (+Architect) → Reviewer (+PM) → SM
|
|
16
|
+
# Flow: SM → TEA (+Architect) → Dev (+Architect) → TEA (+Architect, verify) → Reviewer (+PM) → SM
|
|
16
17
|
|
|
17
18
|
workflow:
|
|
18
19
|
name: tdd-tandem
|
|
@@ -52,9 +53,33 @@ workflow:
|
|
|
52
53
|
partner: architect
|
|
53
54
|
scope: file-watch
|
|
54
55
|
|
|
56
|
+
- name: verify
|
|
57
|
+
agent: tea
|
|
58
|
+
input: [implementation, passing_tests]
|
|
59
|
+
output: [quality_verified]
|
|
60
|
+
gate:
|
|
61
|
+
file: gates/quality-pass
|
|
62
|
+
type: quality_pass
|
|
63
|
+
condition: Lint, typecheck, and all tests passing
|
|
64
|
+
tandem:
|
|
65
|
+
partner: architect
|
|
66
|
+
scope: file-watch
|
|
67
|
+
|
|
68
|
+
- name: verify
|
|
69
|
+
agent: tea
|
|
70
|
+
input: [implementation, passing_tests]
|
|
71
|
+
output: [quality_verified]
|
|
72
|
+
gate:
|
|
73
|
+
file: gates/quality-pass
|
|
74
|
+
type: quality_pass
|
|
75
|
+
condition: Lint, typecheck, and all tests passing
|
|
76
|
+
tandem:
|
|
77
|
+
partner: architect
|
|
78
|
+
scope: file-watch
|
|
79
|
+
|
|
55
80
|
- name: review
|
|
56
81
|
agent: reviewer
|
|
57
|
-
input: [implementation, passing_tests]
|
|
82
|
+
input: [implementation, passing_tests, quality_verified]
|
|
58
83
|
output: [approval]
|
|
59
84
|
gate:
|
|
60
85
|
file: gates/approval
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const trigger = true;
|
package/packages/core/dist/workflow/__test_tool_watch__/.session/95-5-tandem-toolcalls.jsonl
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"timestamp":"2026-02-19T20:04:48.284Z","toolName":"Bash","params":{"command":"npm test"},"resultPreview":"All 42 tests passed","resultSize":19}
|