@pennyfarthing/core 7.9.0 → 7.9.2
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/{packages/core/dist → dist}/cli/commands/doctor.d.ts +0 -3
- package/{packages/core/dist → dist}/cli/commands/doctor.d.ts.map +1 -1
- package/{packages/core/dist → dist}/cli/commands/doctor.js +9 -20
- package/{packages/core/dist → dist}/cli/commands/doctor.js.map +1 -1
- package/{packages/core/dist → dist}/cli/commands/init.js +16 -2
- package/{packages/core/dist → dist}/cli/commands/init.js.map +1 -1
- package/package.json +37 -32
- package/LICENSE +0 -14
- package/README.md +0 -209
- package/pennyfarthing-dist/agents/README.md +0 -348
- package/pennyfarthing-dist/agents/architect.md +0 -180
- package/pennyfarthing-dist/agents/dev.md +0 -169
- package/pennyfarthing-dist/agents/devops.md +0 -203
- package/pennyfarthing-dist/agents/handoff.md +0 -235
- package/pennyfarthing-dist/agents/orchestrator.md +0 -182
- package/pennyfarthing-dist/agents/pm.md +0 -152
- package/pennyfarthing-dist/agents/reviewer-preflight.md +0 -129
- package/pennyfarthing-dist/agents/reviewer.md +0 -180
- package/pennyfarthing-dist/agents/sm-file-summary.md +0 -79
- package/pennyfarthing-dist/agents/sm-finish.md +0 -82
- package/pennyfarthing-dist/agents/sm-handoff.md +0 -129
- package/pennyfarthing-dist/agents/sm-setup.md +0 -251
- package/pennyfarthing-dist/agents/sm.md +0 -284
- package/pennyfarthing-dist/agents/tea.md +0 -161
- package/pennyfarthing-dist/agents/tech-writer.md +0 -226
- package/pennyfarthing-dist/agents/testing-runner.md +0 -184
- package/pennyfarthing-dist/agents/ux-designer.md +0 -236
- package/pennyfarthing-dist/agents/workflow-status-check.md +0 -96
- package/pennyfarthing-dist/commands/architect.md +0 -7
- package/pennyfarthing-dist/commands/benchmark-control.md +0 -69
- package/pennyfarthing-dist/commands/benchmark.md +0 -485
- package/pennyfarthing-dist/commands/brainstorming.md +0 -91
- package/pennyfarthing-dist/commands/check.md +0 -156
- package/pennyfarthing-dist/commands/chore.md +0 -178
- package/pennyfarthing-dist/commands/close-epic.md +0 -139
- package/pennyfarthing-dist/commands/continue-session.md +0 -184
- package/pennyfarthing-dist/commands/create-branches-from-story.md +0 -358
- package/pennyfarthing-dist/commands/create-theme.md +0 -29
- package/pennyfarthing-dist/commands/dev.md +0 -7
- package/pennyfarthing-dist/commands/devops.md +0 -7
- package/pennyfarthing-dist/commands/git-cleanup.md +0 -51
- package/pennyfarthing-dist/commands/health-check.md +0 -141
- package/pennyfarthing-dist/commands/help.md +0 -264
- package/pennyfarthing-dist/commands/job-fair.md +0 -102
- package/pennyfarthing-dist/commands/list-themes.md +0 -21
- package/pennyfarthing-dist/commands/orchestrator.md +0 -7
- package/pennyfarthing-dist/commands/parallel-work.md +0 -71
- package/pennyfarthing-dist/commands/party-mode.md +0 -77
- package/pennyfarthing-dist/commands/permissions.md +0 -193
- package/pennyfarthing-dist/commands/pm.md +0 -7
- package/pennyfarthing-dist/commands/prime.md +0 -140
- package/pennyfarthing-dist/commands/release.md +0 -58
- package/pennyfarthing-dist/commands/repo-status.md +0 -49
- package/pennyfarthing-dist/commands/retro.md +0 -200
- package/pennyfarthing-dist/commands/reviewer.md +0 -7
- package/pennyfarthing-dist/commands/run-ci.md +0 -116
- package/pennyfarthing-dist/commands/set-theme.md +0 -56
- package/pennyfarthing-dist/commands/show-theme.md +0 -21
- package/pennyfarthing-dist/commands/sm.md +0 -7
- package/pennyfarthing-dist/commands/solo.md +0 -447
- package/pennyfarthing-dist/commands/sprint-planning.md +0 -109
- package/pennyfarthing-dist/commands/sprint.md +0 -133
- package/pennyfarthing-dist/commands/standalone.md +0 -194
- package/pennyfarthing-dist/commands/start-epic.md +0 -168
- package/pennyfarthing-dist/commands/sync-epic-to-jira.md +0 -184
- package/pennyfarthing-dist/commands/sync-work-with-sprint.md +0 -373
- package/pennyfarthing-dist/commands/tea.md +0 -7
- package/pennyfarthing-dist/commands/tech-writer.md +0 -7
- package/pennyfarthing-dist/commands/theme-maker.md +0 -676
- package/pennyfarthing-dist/commands/update-domain-docs.md +0 -83
- package/pennyfarthing-dist/commands/ux-designer.md +0 -7
- package/pennyfarthing-dist/commands/work.md +0 -23
- package/pennyfarthing-dist/commands/workflow.md +0 -21
- package/pennyfarthing-dist/guides/agent-behavior.md +0 -311
- package/pennyfarthing-dist/guides/agent-coordination.md +0 -480
- package/pennyfarthing-dist/guides/agent-tag-taxonomy.md +0 -432
- package/pennyfarthing-dist/guides/agent-template-strategic.md +0 -148
- package/pennyfarthing-dist/guides/agent-template-tactical.md +0 -162
- package/pennyfarthing-dist/guides/hooks.md +0 -230
- package/pennyfarthing-dist/guides/measurement-framework.md +0 -210
- package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +0 -766
- package/pennyfarthing-dist/guides/patterns/fan-out-fan-in-pattern.md +0 -574
- package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +0 -488
- package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +0 -402
- package/pennyfarthing-dist/guides/permission-protocol.md +0 -188
- package/pennyfarthing-dist/guides/persona-loading.md +0 -46
- package/pennyfarthing-dist/guides/prompt-patterns.md +0 -338
- package/pennyfarthing-dist/guides/scale-levels.md +0 -114
- package/pennyfarthing-dist/guides/session-artifacts.md +0 -193
- package/pennyfarthing-dist/guides/workflow-schema.md +0 -257
- package/pennyfarthing-dist/guides/worktree-mode.md +0 -113
- package/pennyfarthing-dist/guides/xml-tags.md +0 -335
- package/pennyfarthing-dist/output-styles/teaching.md +0 -33
- package/pennyfarthing-dist/output-styles/terse.md +0 -20
- package/pennyfarthing-dist/output-styles/verbose.md +0 -28
- package/pennyfarthing-dist/personas/themes/1984.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/a-team.yaml +0 -327
- package/pennyfarthing-dist/personas/themes/agatha-christie.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +0 -320
- package/pennyfarthing-dist/personas/themes/all-stars.yaml +0 -322
- package/pennyfarthing-dist/personas/themes/ancient-philosophers.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/ancient-strategists.yaml +0 -294
- package/pennyfarthing-dist/personas/themes/arcane.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/arthurian-mythos.yaml +0 -318
- package/pennyfarthing-dist/personas/themes/avatar-the-last-airbender.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/babylon-5.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/better-call-saul.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/big-lebowski.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/black-sails.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/blade-runner.yaml +0 -285
- package/pennyfarthing-dist/personas/themes/bobiverse.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/breaking-bad.yaml +0 -315
- package/pennyfarthing-dist/personas/themes/catch-22.yaml +0 -304
- package/pennyfarthing-dist/personas/themes/classical-composers.yaml +0 -298
- package/pennyfarthing-dist/personas/themes/control.yaml +0 -197
- package/pennyfarthing-dist/personas/themes/count-of-monte-cristo.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +0 -311
- package/pennyfarthing-dist/personas/themes/deadwood.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/dickens.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/discworld.yaml +0 -322
- package/pennyfarthing-dist/personas/themes/doctor-who.yaml +0 -280
- package/pennyfarthing-dist/personas/themes/don-quixote.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/dune.yaml +0 -297
- package/pennyfarthing-dist/personas/themes/enlightenment-thinkers.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/expeditionary-force.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/fargo.yaml +0 -318
- package/pennyfarthing-dist/personas/themes/film-auteurs.yaml +0 -300
- package/pennyfarthing-dist/personas/themes/firefly.yaml +0 -316
- package/pennyfarthing-dist/personas/themes/foundation.yaml +0 -280
- package/pennyfarthing-dist/personas/themes/futurama.yaml +0 -309
- package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +0 -280
- package/pennyfarthing-dist/personas/themes/gilligans-island.yaml +0 -361
- package/pennyfarthing-dist/personas/themes/gothic-literature.yaml +0 -296
- package/pennyfarthing-dist/personas/themes/great-gatsby.yaml +0 -296
- package/pennyfarthing-dist/personas/themes/greek-mythology.yaml +0 -317
- package/pennyfarthing-dist/personas/themes/hannibal.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/harry-potter.yaml +0 -312
- package/pennyfarthing-dist/personas/themes/his-dark-materials.yaml +0 -281
- package/pennyfarthing-dist/personas/themes/historical-figures.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +0 -319
- package/pennyfarthing-dist/personas/themes/house-md.yaml +0 -309
- package/pennyfarthing-dist/personas/themes/imperial-radch.yaml +0 -279
- package/pennyfarthing-dist/personas/themes/inspector-morse.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/jane-austen.yaml +0 -277
- package/pennyfarthing-dist/personas/themes/jazz-legends.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/justified.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/legion-of-doom.yaml +0 -339
- package/pennyfarthing-dist/personas/themes/les-miserables.yaml +0 -289
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +0 -322
- package/pennyfarthing-dist/personas/themes/lovecraft-mythos.yaml +0 -321
- package/pennyfarthing-dist/personas/themes/mad-max.yaml +0 -345
- package/pennyfarthing-dist/personas/themes/mad-men.yaml +0 -279
- package/pennyfarthing-dist/personas/themes/marvel-mcu.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/mash.yaml +0 -325
- package/pennyfarthing-dist/personas/themes/mass-effect.yaml +0 -279
- package/pennyfarthing-dist/personas/themes/military-commanders.yaml +0 -294
- package/pennyfarthing-dist/personas/themes/moby-dick.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/monty-python.yaml +0 -293
- package/pennyfarthing-dist/personas/themes/neuromancer.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/norse-mythology.yaml +0 -317
- package/pennyfarthing-dist/personas/themes/parks-and-rec.yaml +0 -360
- package/pennyfarthing-dist/personas/themes/peaky-blinders.yaml +0 -288
- package/pennyfarthing-dist/personas/themes/princess-bride.yaml +0 -340
- package/pennyfarthing-dist/personas/themes/renaissance-masters.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/rome.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/russian-masters.yaml +0 -306
- package/pennyfarthing-dist/personas/themes/sandman.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/scientific-revolutionaries.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/shakespeare.yaml +0 -291
- package/pennyfarthing-dist/personas/themes/sherlock-holmes.yaml +0 -279
- package/pennyfarthing-dist/personas/themes/snow-crash.yaml +0 -278
- package/pennyfarthing-dist/personas/themes/software-pioneers.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +0 -355
- package/pennyfarthing-dist/personas/themes/star-trek-tos.yaml +0 -324
- package/pennyfarthing-dist/personas/themes/star-wars.yaml +0 -293
- package/pennyfarthing-dist/personas/themes/succession.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/superfriends.yaml +0 -328
- package/pennyfarthing-dist/personas/themes/ted-lasso.yaml +0 -355
- package/pennyfarthing-dist/personas/themes/the-americans.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/the-crown.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/the-expanse.yaml +0 -333
- package/pennyfarthing-dist/personas/themes/the-good-place.yaml +0 -311
- package/pennyfarthing-dist/personas/themes/the-matrix.yaml +0 -338
- package/pennyfarthing-dist/personas/themes/the-odyssey.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/the-office.yaml +0 -319
- package/pennyfarthing-dist/personas/themes/the-simpsons.yaml +0 -296
- package/pennyfarthing-dist/personas/themes/the-sopranos.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/the-wire.yaml +0 -299
- package/pennyfarthing-dist/personas/themes/the-witcher.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/twin-peaks.yaml +0 -292
- package/pennyfarthing-dist/personas/themes/vorkosigan-saga.yaml +0 -290
- package/pennyfarthing-dist/personas/themes/watchmen.yaml +0 -281
- package/pennyfarthing-dist/personas/themes/west-wing.yaml +0 -281
- package/pennyfarthing-dist/personas/themes/world-explorers.yaml +0 -308
- package/pennyfarthing-dist/personas/themes/wwii-leaders.yaml +0 -295
- package/pennyfarthing-dist/personas/themes/x-files.yaml +0 -292
- package/pennyfarthing-dist/scripts/README.md +0 -68
- package/pennyfarthing-dist/scripts/core/README.md +0 -26
- package/pennyfarthing-dist/scripts/core/agent-session.sh +0 -383
- package/pennyfarthing-dist/scripts/core/check-context.sh +0 -280
- package/pennyfarthing-dist/scripts/core/handoff-marker.sh +0 -101
- package/pennyfarthing-dist/scripts/core/phase-check-start.sh +0 -95
- package/pennyfarthing-dist/scripts/core/prime.sh +0 -30
- package/pennyfarthing-dist/scripts/core/run.sh +0 -84
- package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +0 -21
- package/pennyfarthing-dist/scripts/git/README.md +0 -25
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +0 -267
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +0 -152
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +0 -91
- package/pennyfarthing-dist/scripts/git/release.sh +0 -199
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +0 -494
- package/pennyfarthing-dist/scripts/health/drift-detection.sh +0 -162
- package/pennyfarthing-dist/scripts/hooks/README.md +0 -32
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/hooks/bell-mode-hook.sh +0 -106
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +0 -60
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +0 -65
- package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +0 -35
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +0 -166
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +0 -107
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +0 -71
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +0 -54
- package/pennyfarthing-dist/scripts/hooks/question-reflector-check.sh +0 -20
- package/pennyfarthing-dist/scripts/hooks/question_reflector_check.py +0 -499
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +0 -97
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +0 -65
- package/pennyfarthing-dist/scripts/hooks/welcome-hook.sh +0 -94
- package/pennyfarthing-dist/scripts/jira/README.md +0 -36
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +0 -101
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +0 -97
- package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +0 -22
- package/pennyfarthing-dist/scripts/jira/jira-lib.sh +0 -464
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +0 -266
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +0 -18
- package/pennyfarthing-dist/scripts/jira/jira-sync.sh +0 -16
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +0 -16
- package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +0 -16
- package/pennyfarthing-dist/scripts/lib/README.md +0 -29
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -177
- package/pennyfarthing-dist/scripts/lib/checkpoint.sh +0 -136
- package/pennyfarthing-dist/scripts/lib/common.sh +0 -212
- package/pennyfarthing-dist/scripts/lib/file-lock.sh +0 -269
- package/pennyfarthing-dist/scripts/lib/find-root.sh +0 -35
- package/pennyfarthing-dist/scripts/lib/logging.sh +0 -186
- package/pennyfarthing-dist/scripts/lib/retry.sh +0 -76
- package/pennyfarthing-dist/scripts/maintenance/migrate-theme-schema.mjs +0 -102
- package/pennyfarthing-dist/scripts/maintenance/sidecar-health.sh +0 -97
- package/pennyfarthing-dist/scripts/misc/README.md +0 -44
- package/pennyfarthing-dist/scripts/misc/add-short-names.sh +0 -13
- package/pennyfarthing-dist/scripts/misc/add_short_names.py +0 -226
- package/pennyfarthing-dist/scripts/misc/backlog.sh +0 -91
- package/pennyfarthing-dist/scripts/misc/check-status.sh +0 -247
- package/pennyfarthing-dist/scripts/misc/deploy.sh +0 -296
- package/pennyfarthing-dist/scripts/misc/doctor-dogfood.sh +0 -392
- package/pennyfarthing-dist/scripts/misc/find-related-work.sh +0 -231
- package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +0 -110
- package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +0 -74
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +0 -10
- package/pennyfarthing-dist/scripts/misc/migrate_bmad_workflow.py +0 -319
- package/pennyfarthing-dist/scripts/misc/repo-scan.sh +0 -141
- package/pennyfarthing-dist/scripts/misc/repo-utils.sh +0 -778
- package/pennyfarthing-dist/scripts/misc/run-ci.sh +0 -219
- package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +0 -7
- package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +0 -319
- package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +0 -193
- package/pennyfarthing-dist/scripts/misc/statusline.sh +0 -257
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +0 -270
- package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +0 -160
- package/pennyfarthing-dist/scripts/sprint/README.md +0 -29
- package/pennyfarthing-dist/scripts/sprint/archive-story.sh +0 -139
- package/pennyfarthing-dist/scripts/sprint/available-stories.sh +0 -97
- package/pennyfarthing-dist/scripts/sprint/check-story.sh +0 -164
- package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +0 -58
- package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +0 -69
- package/pennyfarthing-dist/scripts/sprint/import-epic-to-future.sh +0 -10
- package/pennyfarthing-dist/scripts/sprint/import_epic_to_future.py +0 -270
- package/pennyfarthing-dist/scripts/sprint/list-future.sh +0 -151
- package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +0 -116
- package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +0 -164
- package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +0 -421
- package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +0 -39
- package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +0 -241
- package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +0 -134
- package/pennyfarthing-dist/scripts/story/README.md +0 -23
- package/pennyfarthing-dist/scripts/story/create-story.sh +0 -19
- package/pennyfarthing-dist/scripts/story/size-story.sh +0 -18
- package/pennyfarthing-dist/scripts/story/story-template.sh +0 -18
- package/pennyfarthing-dist/scripts/test/README.md +0 -23
- package/pennyfarthing-dist/scripts/test/ensure-swebench-data.sh +0 -59
- package/pennyfarthing-dist/scripts/test/ground-truth-judge.py +0 -220
- package/pennyfarthing-dist/scripts/test/swebench-judge.py +0 -374
- package/pennyfarthing-dist/scripts/test/test-cache.sh +0 -165
- package/pennyfarthing-dist/scripts/test/test-setup.sh +0 -337
- package/pennyfarthing-dist/scripts/tests/check.test.sh +0 -582
- package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +0 -515
- package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +0 -599
- package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +0 -332
- package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +0 -573
- package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +0 -859
- package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +0 -662
- package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +0 -589
- package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +0 -105
- package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +0 -597
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +0 -514
- package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +0 -517
- package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +0 -331
- package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +0 -647
- package/pennyfarthing-dist/scripts/theme/README.md +0 -22
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +0 -13
- package/pennyfarthing-dist/scripts/theme/compute_theme_tiers.py +0 -402
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +0 -73
- package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +0 -97
- package/pennyfarthing-dist/scripts/validation/validate-agent-schema.sh +0 -576
- package/pennyfarthing-dist/scripts/workflow/README.md +0 -28
- package/pennyfarthing-dist/scripts/workflow/check.py +0 -502
- package/pennyfarthing-dist/scripts/workflow/check.sh +0 -24
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +0 -159
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +0 -228
- package/pennyfarthing-dist/scripts/workflow/get-workflow-type.py +0 -61
- package/pennyfarthing-dist/scripts/workflow/get-workflow-type.sh +0 -13
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +0 -124
- package/pennyfarthing-dist/scripts/workflow/phase-owner.sh +0 -40
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +0 -163
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +0 -138
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +0 -256
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +0 -167
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +0 -242
- package/pennyfarthing-dist/skills/changelog/SKILL.md +0 -367
- package/pennyfarthing-dist/skills/code-review/SKILL.md +0 -168
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +0 -274
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +0 -88
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +0 -437
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +0 -258
- package/pennyfarthing-dist/skills/jira/SKILL.md +0 -484
- package/pennyfarthing-dist/skills/judge/SKILL.md +0 -636
- package/pennyfarthing-dist/skills/just/SKILL.md +0 -403
- package/pennyfarthing-dist/skills/mermaid/SKILL.md +0 -240
- package/pennyfarthing-dist/skills/otel/skill.md +0 -223
- package/pennyfarthing-dist/skills/permissions/skill.md +0 -172
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +0 -178
- package/pennyfarthing-dist/skills/skill-registry.schema.json +0 -107
- package/pennyfarthing-dist/skills/skill-registry.yaml +0 -393
- package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +0 -101
- package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +0 -97
- package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +0 -164
- package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +0 -101
- package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +0 -116
- package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +0 -164
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +0 -39
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +0 -147
- package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +0 -86
- package/pennyfarthing-dist/skills/sprint/skill.md +0 -465
- package/pennyfarthing-dist/skills/story/scripts/create-story.sh +0 -159
- package/pennyfarthing-dist/skills/story/scripts/size-story.sh +0 -198
- package/pennyfarthing-dist/skills/story/scripts/story-template.sh +0 -162
- package/pennyfarthing-dist/skills/story/skill.md +0 -219
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +0 -390
- package/pennyfarthing-dist/skills/testing/SKILL.md +0 -99
- package/pennyfarthing-dist/skills/testing/references/troubleshooting.md +0 -124
- package/pennyfarthing-dist/skills/theme/skill.md +0 -129
- package/pennyfarthing-dist/skills/theme-creation/SKILL.md +0 -174
- package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +0 -91
- package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +0 -163
- package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +0 -138
- package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +0 -273
- package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +0 -167
- package/pennyfarthing-dist/skills/workflow/skill.md +0 -337
- package/pennyfarthing-dist/skills/yq/SKILL.md +0 -264
- package/pennyfarthing-dist/templates/LEADERBOARD.schema.yaml +0 -187
- package/pennyfarthing-dist/templates/LEADERBOARD.template.md +0 -59
- package/pennyfarthing-dist/templates/agent-scopes.yaml.template +0 -276
- package/pennyfarthing-dist/templates/pennyfarthing-settings.yaml.template +0 -61
- package/pennyfarthing-dist/templates/persona-config.yaml.template +0 -22
- package/pennyfarthing-dist/templates/preferences.yaml.template +0 -15
- package/pennyfarthing-dist/templates/settings.local.json.template +0 -101
- package/pennyfarthing-dist/templates/setup-env.sh.template +0 -18
- package/pennyfarthing-dist/templates/shared-context.md.template +0 -70
- package/pennyfarthing-dist/templates/sidecar/decisions.md.template +0 -40
- package/pennyfarthing-dist/templates/sidecar/gotchas.md.template +0 -37
- package/pennyfarthing-dist/templates/sidecar/patterns.md.template +0 -34
- package/pennyfarthing-dist/workflows/agent-docs.yaml +0 -70
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +0 -101
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +0 -93
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +0 -115
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +0 -133
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +0 -138
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +0 -133
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +0 -142
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +0 -160
- package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +0 -102
- package/pennyfarthing-dist/workflows/architecture.yaml +0 -65
- package/pennyfarthing-dist/workflows/bdd.yaml +0 -60
- package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +0 -62
- package/pennyfarthing-dist/workflows/brainstorming/checklist.md +0 -44
- package/pennyfarthing-dist/workflows/brainstorming/instructions.md +0 -736
- package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +0 -49
- package/pennyfarthing-dist/workflows/code-review/checklist.md +0 -23
- package/pennyfarthing-dist/workflows/code-review/instructions.md +0 -234
- package/pennyfarthing-dist/workflows/code-review/workflow.yaml +0 -51
- package/pennyfarthing-dist/workflows/dev-story/checklist.md +0 -80
- package/pennyfarthing-dist/workflows/dev-story/instructions.xml +0 -410
- package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +0 -50
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +0 -256
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +0 -233
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +0 -272
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +0 -153
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-05-import-to-future.md +0 -122
- package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +0 -57
- package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +0 -28
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-01-analyze.md +0 -101
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-02-categorize.md +0 -116
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-03-execute.md +0 -224
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-04-verify.md +0 -88
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-05-complete.md +0 -79
- package/pennyfarthing-dist/workflows/git-cleanup.yaml +0 -59
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +0 -190
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +0 -178
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +0 -139
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +0 -133
- package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +0 -4
- package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +0 -40
- package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +0 -13
- package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +0 -197
- package/pennyfarthing-dist/workflows/prd/data/project-types.csv +0 -11
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +0 -191
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +0 -153
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +0 -224
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +0 -226
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +0 -213
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +0 -207
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +0 -226
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +0 -237
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +0 -228
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +0 -231
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +0 -242
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +0 -217
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +0 -180
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +0 -247
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +0 -249
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +0 -253
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +0 -168
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +0 -218
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +0 -191
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +0 -209
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +0 -174
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +0 -228
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +0 -217
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +0 -263
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +0 -209
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +0 -242
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +0 -232
- package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +0 -10
- package/pennyfarthing-dist/workflows/prd/workflow.yaml +0 -42
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +0 -177
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +0 -161
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +0 -199
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +0 -202
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +0 -205
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +0 -219
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +0 -194
- package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +0 -10
- package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +0 -31
- package/pennyfarthing-dist/workflows/project-context/project-context-template.md +0 -21
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +0 -184
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +0 -318
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +0 -278
- package/pennyfarthing-dist/workflows/project-context/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +0 -156
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +0 -120
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +0 -113
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +0 -113
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +0 -106
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +0 -140
- package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +0 -189
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +0 -144
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +0 -128
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +0 -191
- package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +0 -74
- package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +0 -27
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +0 -137
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +0 -229
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +0 -238
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +0 -206
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +0 -234
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +0 -443
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +0 -182
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +0 -237
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +0 -200
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +0 -249
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +0 -259
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +0 -177
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +0 -475
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +0 -137
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +0 -239
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +0 -248
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +0 -202
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +0 -239
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +0 -486
- package/pennyfarthing-dist/workflows/research/templates/research.template.md +0 -29
- package/pennyfarthing-dist/workflows/research/workflow.yaml +0 -45
- package/pennyfarthing-dist/workflows/retrospective/checklist.md +0 -31
- package/pennyfarthing-dist/workflows/retrospective/instructions.md +0 -1443
- package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +0 -50
- package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +0 -33
- package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +0 -55
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +0 -54
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +0 -44
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +0 -64
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +0 -73
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +0 -56
- package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +0 -34
- package/pennyfarthing-dist/workflows/tdd.yaml +0 -50
- package/pennyfarthing-dist/workflows/trivial.yaml +0 -40
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +0 -135
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +0 -127
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +0 -190
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +0 -216
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +0 -219
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +0 -234
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +0 -252
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +0 -254
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +0 -224
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +0 -224
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +0 -241
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +0 -248
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +0 -237
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +0 -264
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +0 -228
- package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +0 -13
- package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +0 -41
- package/pennyfarthing_scripts/__init__.py +0 -17
- package/pennyfarthing_scripts/__pycache__/__init__.cpython-311.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/__pycache__/jira.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__/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/bellmode_hook.py +0 -154
- package/pennyfarthing_scripts/brownfield/__init__.py +0 -35
- package/pennyfarthing_scripts/brownfield/__main__.py +0 -7
- package/pennyfarthing_scripts/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/brownfield/cli.py +0 -131
- package/pennyfarthing_scripts/brownfield/discover.py +0 -753
- package/pennyfarthing_scripts/common/__init__.py +0 -49
- package/pennyfarthing_scripts/common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/config.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/__pycache__/output.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/common/config.py +0 -65
- package/pennyfarthing_scripts/common/output.py +0 -180
- package/pennyfarthing_scripts/config.py +0 -21
- package/pennyfarthing_scripts/git/__init__.py +0 -29
- 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/create_branches.py +0 -439
- package/pennyfarthing_scripts/git/status_all.py +0 -310
- package/pennyfarthing_scripts/hooks.py +0 -455
- package/pennyfarthing_scripts/jira/__init__.py +0 -93
- package/pennyfarthing_scripts/jira/__main__.py +0 -10
- package/pennyfarthing_scripts/jira/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/claim.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/client.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/compat.cpython-314.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__/story.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/__pycache__/sync.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/jira/bidirectional.py +0 -561
- package/pennyfarthing_scripts/jira/claim.py +0 -211
- package/pennyfarthing_scripts/jira/cli.py +0 -150
- package/pennyfarthing_scripts/jira/client.py +0 -613
- package/pennyfarthing_scripts/jira/epic.py +0 -176
- package/pennyfarthing_scripts/jira/story.py +0 -219
- package/pennyfarthing_scripts/jira/sync.py +0 -350
- package/pennyfarthing_scripts/jira_bidirectional_sync.py +0 -37
- package/pennyfarthing_scripts/jira_epic_creation.py +0 -30
- package/pennyfarthing_scripts/jira_sync.py +0 -36
- package/pennyfarthing_scripts/jira_sync_story.py +0 -30
- package/pennyfarthing_scripts/output.py +0 -37
- package/pennyfarthing_scripts/preflight/__init__.py +0 -17
- package/pennyfarthing_scripts/preflight/__main__.py +0 -10
- package/pennyfarthing_scripts/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/__pycache__/finish.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/preflight/cli.py +0 -141
- package/pennyfarthing_scripts/preflight/finish.py +0 -382
- package/pennyfarthing_scripts/pretooluse_hook.py +0 -142
- package/pennyfarthing_scripts/prime/__init__.py +0 -125
- package/pennyfarthing_scripts/prime/__main__.py +0 -8
- 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__/workflow.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/prime/cli.py +0 -375
- package/pennyfarthing_scripts/prime/loader.py +0 -239
- package/pennyfarthing_scripts/prime/models.py +0 -169
- package/pennyfarthing_scripts/prime/persona.py +0 -288
- package/pennyfarthing_scripts/prime/session.py +0 -183
- package/pennyfarthing_scripts/prime/workflow.py +0 -275
- package/pennyfarthing_scripts/sprint/__init__.py +0 -66
- package/pennyfarthing_scripts/sprint/__main__.py +0 -10
- package/pennyfarthing_scripts/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/archive.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/cli.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/loader.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/status.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/validator.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/__pycache__/work.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/sprint/archive.py +0 -108
- package/pennyfarthing_scripts/sprint/cli.py +0 -124
- package/pennyfarthing_scripts/sprint/loader.py +0 -193
- package/pennyfarthing_scripts/sprint/status.py +0 -122
- package/pennyfarthing_scripts/sprint/validator.py +0 -405
- package/pennyfarthing_scripts/sprint/work.py +0 -192
- package/pennyfarthing_scripts/story/__init__.py +0 -67
- package/pennyfarthing_scripts/story/__main__.py +0 -10
- package/pennyfarthing_scripts/story/cli.py +0 -105
- package/pennyfarthing_scripts/story/create.py +0 -167
- package/pennyfarthing_scripts/story/size.py +0 -113
- package/pennyfarthing_scripts/story/template.py +0 -151
- package/pennyfarthing_scripts/swebench.py +0 -216
- package/pennyfarthing_scripts/tests/__init__.py +0 -1
- package/pennyfarthing_scripts/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
- package/pennyfarthing_scripts/tests/__pycache__/test_brownfield.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_prime.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/conftest.py +0 -106
- package/pennyfarthing_scripts/tests/test_brownfield.py +0 -842
- package/pennyfarthing_scripts/tests/test_cli_modules.py +0 -245
- package/pennyfarthing_scripts/tests/test_common.py +0 -180
- package/pennyfarthing_scripts/tests/test_git_utils.py +0 -866
- package/pennyfarthing_scripts/tests/test_jira_package.py +0 -334
- package/pennyfarthing_scripts/tests/test_package_structure.py +0 -372
- package/pennyfarthing_scripts/tests/test_prime.py +0 -1050
- package/pennyfarthing_scripts/tests/test_sprint_package.py +0 -236
- package/pennyfarthing_scripts/tests/test_sprint_validator.py +0 -675
- package/pennyfarthing_scripts/tests/test_story_package.py +0 -156
- package/pennyfarthing_scripts/welcome_hook.py +0 -157
- package/pennyfarthing_scripts/workflow.py +0 -183
- /package/{packages/core/bin → bin}/pennyfarthing.js +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.js +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.test.js +0 -0
- /package/{packages/core/dist → dist}/bmad/context-reader.test.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.js +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.test.js +0 -0
- /package/{packages/core/dist → dist}/bmad/epics-parser.test.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/index.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/index.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/index.js +0 -0
- /package/{packages/core/dist → dist}/bmad/index.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.js +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.test.js +0 -0
- /package/{packages/core/dist → dist}/bmad/status-sync.test.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.js +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.test.js +0 -0
- /package/{packages/core/dist → dist}/bmad/story-exporter.test.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.js +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.js.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.test.js +0 -0
- /package/{packages/core/dist → dist}/bmad/story-parser.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/command.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/command.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/command.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/command.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/cyclist.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/doctor-legacy.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/doctor-legacy.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/doctor-legacy.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/doctor-legacy.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/init.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/init.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/skill.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/skill.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/skill.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/skill.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/theme.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/theme.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/theme.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/theme.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/uninstall.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/uninstall.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/uninstall.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/uninstall.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/update.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/update.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/update.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/update.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/version.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/commands/version.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/commands/version.js +0 -0
- /package/{packages/core/dist → dist}/cli/commands/version.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/customization.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/customization.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/customization.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/customization.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/cyclist-migration.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/cyclist-migration.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/cyclist-migration.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/cyclist-migration.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/index.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/index.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/index.js +0 -0
- /package/{packages/core/dist → dist}/cli/index.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/ocean-profiles.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/ocean-profiles.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/ocean-profiles.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/ocean-profiles.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/theme-maker.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/theme-maker.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/theme-maker.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/theme-maker.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/constants.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/constants.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/constants.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/constants.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/files.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/files.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/files.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/files.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/logger.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/logger.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/logger.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/logger.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/manifest.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/manifest.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/manifest.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/manifest.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/node-modules.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/node-modules.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/node-modules.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/node-modules.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/prompts.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/prompts.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/prompts.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/prompts.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/symlinks.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/symlinks.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/symlinks.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/symlinks.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/themes.test.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/version.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/utils/version.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/utils/version.js +0 -0
- /package/{packages/core/dist → dist}/cli/utils/version.js.map +0 -0
- /package/{packages/core/dist → dist}/cli/workspace.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/cli/workspace.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/cli/workspace.test.js +0 -0
- /package/{packages/core/dist → dist}/cli/workspace.test.js.map +0 -0
- /package/{packages/core/dist → dist}/index.d.ts +0 -0
- /package/{packages/core/dist → dist}/index.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/index.js +0 -0
- /package/{packages/core/dist → dist}/index.js.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.d.ts +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.js +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.js.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.test.js +0 -0
- /package/{packages/core/dist → dist}/jira/jira-epic-creation.test.js.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.d.ts +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.js +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.js.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.test.js +0 -0
- /package/{packages/core/dist → dist}/jira/jira-sprint-sync.test.js.map +0 -0
- /package/{packages/core/dist → dist}/permissions/index.d.ts +0 -0
- /package/{packages/core/dist → dist}/permissions/index.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/permissions/index.js +0 -0
- /package/{packages/core/dist → dist}/permissions/index.js.map +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.d.ts +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.js +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.js.map +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.test.js +0 -0
- /package/{packages/core/dist → dist}/permissions/permission-schema.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/add-ocean-profiles.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/add-ocean-profiles.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/add-ocean-profiles.js +0 -0
- /package/{packages/core/dist → dist}/scripts/add-ocean-profiles.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.js +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/benchmark-integration.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/debugging-scenarios.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/debugging-scenarios.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/debugging-scenarios.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/debugging-scenarios.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-all-spiders.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-all-spiders.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-all-spiders.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-all-spiders.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-report.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider-report.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/generate-spider.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.js +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/job-fair-aggregator.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/run-ci.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/run-ci.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/run-ci.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/run-ci.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/theme-detail.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/theme-detail.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/theme-detail.test.js +0 -0
- /package/{packages/core/dist → dist}/scripts/theme-detail.test.js.map +0 -0
- /package/{packages/core/dist → dist}/scripts/validate-ocean-profiles.d.ts +0 -0
- /package/{packages/core/dist → dist}/scripts/validate-ocean-profiles.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/scripts/validate-ocean-profiles.js +0 -0
- /package/{packages/core/dist → dist}/scripts/validate-ocean-profiles.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.js +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/gate-handler.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-finish.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-finish.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-finish.js +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-finish.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-setup.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-setup.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-setup.js +0 -0
- /package/{packages/core/dist → dist}/workflow/generic-sm-setup.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.js +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/handoff.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/index.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/index.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/index.js +0 -0
- /package/{packages/core/dist → dist}/workflow/index.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.js +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/session-state.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/sm-subagents.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/sm-subagents.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/sm-subagents.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/sm-subagents.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.js +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/step-parser.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/story-workflow-routing.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/story-workflow-routing.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/story-workflow-routing.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/story-workflow-routing.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.js +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/test-cache.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.js +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/trimodal.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.js +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/variable-resolver.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-executor.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-loader.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-migration.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-migration.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-migration.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-migration.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-permissions.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-router.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-schema.test.js.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-stepped-schema.test.d.ts +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-stepped-schema.test.d.ts.map +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-stepped-schema.test.js +0 -0
- /package/{packages/core/dist → dist}/workflow/workflow-stepped-schema.test.js.map +0 -0
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Prime CLI - Unified agent bootstrap for Pennyfarthing.
|
|
3
|
-
|
|
4
|
-
Usage:
|
|
5
|
-
python -m pennyfarthing_scripts.prime [options]
|
|
6
|
-
|
|
7
|
-
Options:
|
|
8
|
-
--agent <name> Load agent definition and sidecar
|
|
9
|
-
--minimal Skip all context (fastest)
|
|
10
|
-
--full Include domain docs from .claude/project/
|
|
11
|
-
--quiet Suppress section headers
|
|
12
|
-
--json Output JSON (for Cyclist integration)
|
|
13
|
-
--no-persona Skip persona loading
|
|
14
|
-
--no-workflow Skip workflow detection
|
|
15
|
-
--no-register Skip session registration
|
|
16
|
-
--session-id ID Use explicit session ID
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
from __future__ import annotations
|
|
20
|
-
|
|
21
|
-
import argparse
|
|
22
|
-
import json
|
|
23
|
-
import sys
|
|
24
|
-
from pathlib import Path
|
|
25
|
-
|
|
26
|
-
from pennyfarthing_scripts.common.config import get_project_root
|
|
27
|
-
from pennyfarthing_scripts.prime.loader import (
|
|
28
|
-
load_agent_definition,
|
|
29
|
-
load_behavior_guide,
|
|
30
|
-
load_domain_docs,
|
|
31
|
-
load_session_context,
|
|
32
|
-
load_sidecars,
|
|
33
|
-
load_sprint_context,
|
|
34
|
-
)
|
|
35
|
-
from pennyfarthing_scripts.prime.models import PrimeResult, WorkflowState
|
|
36
|
-
from pennyfarthing_scripts.prime.persona import (
|
|
37
|
-
format_persona_output,
|
|
38
|
-
get_crew_manifest,
|
|
39
|
-
get_user_title,
|
|
40
|
-
is_character_voice_enabled,
|
|
41
|
-
load_persona,
|
|
42
|
-
)
|
|
43
|
-
from pennyfarthing_scripts.prime.session import cleanup_old_sessions, register_session
|
|
44
|
-
from pennyfarthing_scripts.prime.workflow import check_redirect, detect_workflow_state
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
def _print_header(title: str, quiet: bool) -> None:
|
|
48
|
-
"""Print section header (respects quiet mode).
|
|
49
|
-
|
|
50
|
-
Args:
|
|
51
|
-
title: Header title
|
|
52
|
-
quiet: If True, suppress output
|
|
53
|
-
"""
|
|
54
|
-
if not quiet:
|
|
55
|
-
print()
|
|
56
|
-
print(f"# {title}")
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
def _format_workflow_state_text(result: PrimeResult) -> str:
|
|
60
|
-
"""Format workflow state as text output.
|
|
61
|
-
|
|
62
|
-
Args:
|
|
63
|
-
result: PrimeResult with workflow status
|
|
64
|
-
|
|
65
|
-
Returns:
|
|
66
|
-
Formatted text block
|
|
67
|
-
"""
|
|
68
|
-
if not result.workflow_status:
|
|
69
|
-
return ""
|
|
70
|
-
|
|
71
|
-
ws = result.workflow_status
|
|
72
|
-
lines = [
|
|
73
|
-
f"state: {ws.state.value}",
|
|
74
|
-
]
|
|
75
|
-
|
|
76
|
-
if ws.story_id:
|
|
77
|
-
lines.append(f"story_id: {ws.story_id}")
|
|
78
|
-
if ws.phase:
|
|
79
|
-
lines.append(f"phase: {ws.phase}")
|
|
80
|
-
if ws.phase_owner:
|
|
81
|
-
lines.append(f"phase_owner: {ws.phase_owner}")
|
|
82
|
-
if ws.workflow:
|
|
83
|
-
lines.append(f"workflow: {ws.workflow}")
|
|
84
|
-
if ws.backlog_count > 0:
|
|
85
|
-
lines.append(f"backlog_count: {ws.backlog_count}")
|
|
86
|
-
|
|
87
|
-
return "\n".join(lines)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
def prime(
|
|
91
|
-
agent_name: str | None = None,
|
|
92
|
-
minimal: bool = False,
|
|
93
|
-
full: bool = False,
|
|
94
|
-
quiet: bool = False,
|
|
95
|
-
json_output: bool = False,
|
|
96
|
-
no_persona: bool = False,
|
|
97
|
-
no_workflow: bool = False,
|
|
98
|
-
no_register: bool = False,
|
|
99
|
-
session_id: str | None = None,
|
|
100
|
-
project_root: Path | None = None,
|
|
101
|
-
) -> int:
|
|
102
|
-
"""Load and print context.
|
|
103
|
-
|
|
104
|
-
Loads context in priority order (optimized for attention):
|
|
105
|
-
1. Workflow State (HIGHEST PRIORITY - routing decision)
|
|
106
|
-
2. Agent definition
|
|
107
|
-
3. Persona (character voice)
|
|
108
|
-
4. Behavior guide
|
|
109
|
-
5. Crew manifest (handoff reference)
|
|
110
|
-
6. Sprint context
|
|
111
|
-
7. Session context (header + last assessment)
|
|
112
|
-
8. Sidecars (patterns, gotchas, decisions)
|
|
113
|
-
9. Domain docs (--full only)
|
|
114
|
-
10. Redirect marker (if wrong agent)
|
|
115
|
-
|
|
116
|
-
Args:
|
|
117
|
-
agent_name: Name of agent to load context for
|
|
118
|
-
minimal: If True, skip all context (fastest)
|
|
119
|
-
full: If True, include domain docs
|
|
120
|
-
quiet: If True, suppress section headers
|
|
121
|
-
json_output: If True, output JSON instead of text
|
|
122
|
-
no_persona: If True, skip persona loading
|
|
123
|
-
no_workflow: If True, skip workflow detection
|
|
124
|
-
no_register: If True, skip session registration
|
|
125
|
-
session_id: Explicit session ID (generated if not provided)
|
|
126
|
-
project_root: Project root path (auto-detected if not provided)
|
|
127
|
-
|
|
128
|
-
Returns:
|
|
129
|
-
Exit code (0 for success)
|
|
130
|
-
"""
|
|
131
|
-
# Stop immediately for minimal mode
|
|
132
|
-
if minimal:
|
|
133
|
-
if json_output:
|
|
134
|
-
print(json.dumps({"minimal": True}))
|
|
135
|
-
return 0
|
|
136
|
-
|
|
137
|
-
root = project_root or get_project_root()
|
|
138
|
-
|
|
139
|
-
# Build result for JSON output
|
|
140
|
-
result = PrimeResult(agent_name=agent_name or "")
|
|
141
|
-
|
|
142
|
-
# ==========================================================================
|
|
143
|
-
# Session registration (if enabled)
|
|
144
|
-
# ==========================================================================
|
|
145
|
-
if agent_name and not no_register:
|
|
146
|
-
# Clean up old sessions first
|
|
147
|
-
cleanup_old_sessions(root)
|
|
148
|
-
# Register this session
|
|
149
|
-
session_info = register_session(agent_name, session_id, root)
|
|
150
|
-
result.session_id = session_info.session_id
|
|
151
|
-
|
|
152
|
-
# ==========================================================================
|
|
153
|
-
# PRIORITY 1: Workflow State (HIGHEST ATTENTION ZONE - routing decision)
|
|
154
|
-
# ==========================================================================
|
|
155
|
-
if not no_workflow:
|
|
156
|
-
workflow_status = detect_workflow_state(root)
|
|
157
|
-
result.workflow_status = workflow_status
|
|
158
|
-
|
|
159
|
-
# Check for redirect
|
|
160
|
-
if agent_name and workflow_status.state == WorkflowState.IN_PROGRESS_STATE:
|
|
161
|
-
redirect = check_redirect(workflow_status, agent_name)
|
|
162
|
-
if redirect:
|
|
163
|
-
result.redirect_to, result.redirect_reason = redirect
|
|
164
|
-
|
|
165
|
-
if not json_output:
|
|
166
|
-
_print_header("Workflow State", quiet)
|
|
167
|
-
print(_format_workflow_state_text(result))
|
|
168
|
-
|
|
169
|
-
# ==========================================================================
|
|
170
|
-
# PRIORITY 2: Agent definition
|
|
171
|
-
# ==========================================================================
|
|
172
|
-
if agent_name:
|
|
173
|
-
agent_content = load_agent_definition(agent_name, root)
|
|
174
|
-
if agent_content and not json_output:
|
|
175
|
-
_print_header(f"Agent Definition: {agent_name}", quiet)
|
|
176
|
-
print(agent_content)
|
|
177
|
-
|
|
178
|
-
# ==========================================================================
|
|
179
|
-
# PRIORITY 3: Persona (if enabled)
|
|
180
|
-
# ==========================================================================
|
|
181
|
-
if agent_name and not no_persona and is_character_voice_enabled(root):
|
|
182
|
-
persona, theme = load_persona(agent_name, root)
|
|
183
|
-
if persona and theme:
|
|
184
|
-
result.persona = persona
|
|
185
|
-
result.theme = theme
|
|
186
|
-
|
|
187
|
-
if not json_output:
|
|
188
|
-
crew = get_crew_manifest(root)
|
|
189
|
-
result.crew = crew
|
|
190
|
-
user_title = get_user_title(root)
|
|
191
|
-
_print_header(f"Persona: {persona.character} ({agent_name})", quiet)
|
|
192
|
-
print(format_persona_output(persona, theme, agent_name, crew, user_title))
|
|
193
|
-
|
|
194
|
-
# ==========================================================================
|
|
195
|
-
# PRIORITY 4: Agent behavior guide
|
|
196
|
-
# ==========================================================================
|
|
197
|
-
if agent_name and not json_output:
|
|
198
|
-
guide_content = load_behavior_guide(root)
|
|
199
|
-
if guide_content:
|
|
200
|
-
_print_header("Agent Behavior Guide", quiet)
|
|
201
|
-
print(guide_content)
|
|
202
|
-
|
|
203
|
-
# ==========================================================================
|
|
204
|
-
# PRIORITY 5: Sprint context
|
|
205
|
-
# ==========================================================================
|
|
206
|
-
if not json_output:
|
|
207
|
-
sprint_content = load_sprint_context(root)
|
|
208
|
-
if sprint_content:
|
|
209
|
-
_print_header("Sprint Context", quiet)
|
|
210
|
-
print(sprint_content)
|
|
211
|
-
|
|
212
|
-
# ==========================================================================
|
|
213
|
-
# PRIORITY 6: Session context
|
|
214
|
-
# ==========================================================================
|
|
215
|
-
if not json_output:
|
|
216
|
-
session_result = load_session_context(root)
|
|
217
|
-
if session_result:
|
|
218
|
-
filename, header, assessment = session_result
|
|
219
|
-
_print_header(f"Active Session: {filename}", quiet)
|
|
220
|
-
|
|
221
|
-
# Print header
|
|
222
|
-
if header:
|
|
223
|
-
print(header)
|
|
224
|
-
|
|
225
|
-
# Print last assessment with separator
|
|
226
|
-
if assessment:
|
|
227
|
-
print()
|
|
228
|
-
print("---")
|
|
229
|
-
print(assessment)
|
|
230
|
-
|
|
231
|
-
# ==========================================================================
|
|
232
|
-
# PRIORITY 7: Sidecars (LOWEST PRIORITY)
|
|
233
|
-
# ==========================================================================
|
|
234
|
-
if agent_name and not json_output:
|
|
235
|
-
sidecars = load_sidecars(agent_name, root)
|
|
236
|
-
for filename, content in sidecars.items():
|
|
237
|
-
_print_header(f"Agent Sidecar: {filename}", quiet)
|
|
238
|
-
print(content)
|
|
239
|
-
|
|
240
|
-
# ==========================================================================
|
|
241
|
-
# PRIORITY 8: Domain docs (--full only)
|
|
242
|
-
# ==========================================================================
|
|
243
|
-
if full and not json_output:
|
|
244
|
-
domain_docs = load_domain_docs(root)
|
|
245
|
-
for filename, content in domain_docs:
|
|
246
|
-
_print_header(filename, quiet)
|
|
247
|
-
print(content)
|
|
248
|
-
|
|
249
|
-
# ==========================================================================
|
|
250
|
-
# PRIORITY 9: Redirect marker (if wrong agent activated)
|
|
251
|
-
# ==========================================================================
|
|
252
|
-
if result.redirect_to and not json_output:
|
|
253
|
-
print()
|
|
254
|
-
print("=" * 60)
|
|
255
|
-
print(f"REDIRECT: You ({agent_name}) should hand off to {result.redirect_to}")
|
|
256
|
-
print(f"Reason: {result.redirect_reason}")
|
|
257
|
-
print("=" * 60)
|
|
258
|
-
|
|
259
|
-
# ==========================================================================
|
|
260
|
-
# JSON output
|
|
261
|
-
# ==========================================================================
|
|
262
|
-
if json_output:
|
|
263
|
-
print(json.dumps(result.to_dict(), indent=2))
|
|
264
|
-
|
|
265
|
-
return 0
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
def main(args: list[str] | None = None) -> int:
|
|
269
|
-
"""CLI entry point.
|
|
270
|
-
|
|
271
|
-
Args:
|
|
272
|
-
args: Command line arguments (defaults to sys.argv[1:])
|
|
273
|
-
|
|
274
|
-
Returns:
|
|
275
|
-
Exit code
|
|
276
|
-
"""
|
|
277
|
-
parser = argparse.ArgumentParser(
|
|
278
|
-
prog="prime",
|
|
279
|
-
description="Unified agent bootstrap for Pennyfarthing",
|
|
280
|
-
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
281
|
-
epilog="""
|
|
282
|
-
Loads context in priority order (optimized for attention):
|
|
283
|
-
1. Workflow State (HIGHEST - routing decision)
|
|
284
|
-
2. Agent definition
|
|
285
|
-
3. Persona (character voice)
|
|
286
|
-
4. Behavior guide
|
|
287
|
-
5. Crew manifest (handoff reference)
|
|
288
|
-
6. Sprint context
|
|
289
|
-
7. Session context (header + last assessment)
|
|
290
|
-
8. Sidecars (patterns, gotchas, decisions)
|
|
291
|
-
9. Domain docs (--full only)
|
|
292
|
-
10. Redirect marker (if wrong agent)
|
|
293
|
-
|
|
294
|
-
Examples:
|
|
295
|
-
prime --agent sm
|
|
296
|
-
prime --agent dev --json
|
|
297
|
-
prime --agent tea --full
|
|
298
|
-
prime --minimal
|
|
299
|
-
prime --quiet --agent sm
|
|
300
|
-
prime --agent dev --no-persona
|
|
301
|
-
prime --agent dev --session-id abc123
|
|
302
|
-
""",
|
|
303
|
-
)
|
|
304
|
-
|
|
305
|
-
parser.add_argument(
|
|
306
|
-
"--agent",
|
|
307
|
-
metavar="NAME",
|
|
308
|
-
help="Load agent definition and sidecar",
|
|
309
|
-
)
|
|
310
|
-
parser.add_argument(
|
|
311
|
-
"--minimal",
|
|
312
|
-
action="store_true",
|
|
313
|
-
help="Skip all context (fastest)",
|
|
314
|
-
)
|
|
315
|
-
parser.add_argument(
|
|
316
|
-
"--full",
|
|
317
|
-
action="store_true",
|
|
318
|
-
help="Include domain docs from .claude/project/",
|
|
319
|
-
)
|
|
320
|
-
parser.add_argument(
|
|
321
|
-
"--quiet",
|
|
322
|
-
action="store_true",
|
|
323
|
-
help="Suppress section headers",
|
|
324
|
-
)
|
|
325
|
-
parser.add_argument(
|
|
326
|
-
"--json",
|
|
327
|
-
action="store_true",
|
|
328
|
-
dest="json_output",
|
|
329
|
-
help="Output JSON (for Cyclist integration)",
|
|
330
|
-
)
|
|
331
|
-
parser.add_argument(
|
|
332
|
-
"--no-persona",
|
|
333
|
-
action="store_true",
|
|
334
|
-
help="Skip persona loading (disable character voice)",
|
|
335
|
-
)
|
|
336
|
-
parser.add_argument(
|
|
337
|
-
"--no-workflow",
|
|
338
|
-
action="store_true",
|
|
339
|
-
help="Skip workflow state detection",
|
|
340
|
-
)
|
|
341
|
-
parser.add_argument(
|
|
342
|
-
"--no-register",
|
|
343
|
-
action="store_true",
|
|
344
|
-
help="Skip session registration",
|
|
345
|
-
)
|
|
346
|
-
parser.add_argument(
|
|
347
|
-
"--session-id",
|
|
348
|
-
metavar="ID",
|
|
349
|
-
help="Use explicit session ID",
|
|
350
|
-
)
|
|
351
|
-
|
|
352
|
-
parsed = parser.parse_args(args)
|
|
353
|
-
|
|
354
|
-
try:
|
|
355
|
-
return prime(
|
|
356
|
-
agent_name=parsed.agent,
|
|
357
|
-
minimal=parsed.minimal,
|
|
358
|
-
full=parsed.full,
|
|
359
|
-
quiet=parsed.quiet,
|
|
360
|
-
json_output=parsed.json_output,
|
|
361
|
-
no_persona=parsed.no_persona,
|
|
362
|
-
no_workflow=parsed.no_workflow,
|
|
363
|
-
no_register=parsed.no_register,
|
|
364
|
-
session_id=parsed.session_id,
|
|
365
|
-
)
|
|
366
|
-
except FileNotFoundError as e:
|
|
367
|
-
print(f"Error: {e}", file=sys.stderr)
|
|
368
|
-
return 1
|
|
369
|
-
except Exception as e:
|
|
370
|
-
print(f"Error: {e}", file=sys.stderr)
|
|
371
|
-
return 1
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
if __name__ == "__main__":
|
|
375
|
-
sys.exit(main())
|
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Context loading functions for prime.
|
|
3
|
-
|
|
4
|
-
Provides functions to load various context sources:
|
|
5
|
-
- Agent definitions
|
|
6
|
-
- Behavior guides
|
|
7
|
-
- Sprint context
|
|
8
|
-
- Session files
|
|
9
|
-
- Sidecars (patterns, gotchas, decisions)
|
|
10
|
-
- Domain documentation
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
from __future__ import annotations
|
|
14
|
-
|
|
15
|
-
import re
|
|
16
|
-
from pathlib import Path
|
|
17
|
-
from typing import Any
|
|
18
|
-
|
|
19
|
-
from pennyfarthing_scripts.common.config import get_project_root
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def load_agent_definition(agent_name: str, project_root: Path | None = None) -> str | None:
|
|
23
|
-
"""Load agent definition markdown.
|
|
24
|
-
|
|
25
|
-
Args:
|
|
26
|
-
agent_name: Name of the agent (e.g., "dev", "tea", "sm")
|
|
27
|
-
project_root: Project root path (auto-detected if not provided)
|
|
28
|
-
|
|
29
|
-
Returns:
|
|
30
|
-
Agent definition content, or None if not found
|
|
31
|
-
"""
|
|
32
|
-
root = project_root or get_project_root()
|
|
33
|
-
agent_file = root / ".pennyfarthing" / "agents" / f"{agent_name}.md"
|
|
34
|
-
|
|
35
|
-
if not agent_file.exists():
|
|
36
|
-
return None
|
|
37
|
-
|
|
38
|
-
return agent_file.read_text()
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def load_behavior_guide(project_root: Path | None = None) -> str | None:
|
|
42
|
-
"""Load shared agent behavior guide.
|
|
43
|
-
|
|
44
|
-
Args:
|
|
45
|
-
project_root: Project root path (auto-detected if not provided)
|
|
46
|
-
|
|
47
|
-
Returns:
|
|
48
|
-
Behavior guide content, or None if not found
|
|
49
|
-
"""
|
|
50
|
-
root = project_root or get_project_root()
|
|
51
|
-
guide_file = root / ".pennyfarthing" / "guides" / "agent-behavior.md"
|
|
52
|
-
|
|
53
|
-
if not guide_file.exists():
|
|
54
|
-
return None
|
|
55
|
-
|
|
56
|
-
return guide_file.read_text()
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
def load_sprint_context(project_root: Path | None = None) -> str | None:
|
|
60
|
-
"""Load sprint summary context.
|
|
61
|
-
|
|
62
|
-
Returns brief sprint info: name, goal, and progress.
|
|
63
|
-
|
|
64
|
-
Args:
|
|
65
|
-
project_root: Project root path (auto-detected if not provided)
|
|
66
|
-
|
|
67
|
-
Returns:
|
|
68
|
-
Formatted sprint summary, or None if no sprint data
|
|
69
|
-
"""
|
|
70
|
-
# Import here to avoid circular imports
|
|
71
|
-
from pennyfarthing_scripts.sprint.loader import load_sprint, get_sprint_info
|
|
72
|
-
from pennyfarthing_scripts.sprint.status import get_sprint_status
|
|
73
|
-
|
|
74
|
-
root = project_root or get_project_root()
|
|
75
|
-
sprint_file = root / "sprint" / "current-sprint.yaml"
|
|
76
|
-
|
|
77
|
-
if not sprint_file.exists():
|
|
78
|
-
return None
|
|
79
|
-
|
|
80
|
-
sprint = load_sprint(root)
|
|
81
|
-
if not sprint:
|
|
82
|
-
return None
|
|
83
|
-
|
|
84
|
-
lines = []
|
|
85
|
-
|
|
86
|
-
# Sprint summary: "Sprint N: Goal"
|
|
87
|
-
sprint_info = sprint.get("sprint", {})
|
|
88
|
-
sprint_num = sprint_info.get("number")
|
|
89
|
-
sprint_goal = sprint_info.get("goal", "")
|
|
90
|
-
|
|
91
|
-
if sprint_num:
|
|
92
|
-
lines.append(f"Sprint {sprint_num}: {sprint_goal}")
|
|
93
|
-
|
|
94
|
-
# Progress: "X/Y points"
|
|
95
|
-
status = get_sprint_status()
|
|
96
|
-
if status:
|
|
97
|
-
completed = status.get("completed_points", 0)
|
|
98
|
-
total = status.get("total_points", 0)
|
|
99
|
-
lines.append(f"Progress: {completed}/{total} points")
|
|
100
|
-
|
|
101
|
-
return "\n".join(lines) if lines else None
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
def _find_session_file(project_root: Path) -> Path | None:
|
|
105
|
-
"""Find the active session file.
|
|
106
|
-
|
|
107
|
-
Args:
|
|
108
|
-
project_root: Project root path
|
|
109
|
-
|
|
110
|
-
Returns:
|
|
111
|
-
Path to session file, or None if not found
|
|
112
|
-
"""
|
|
113
|
-
session_dir = project_root / ".session"
|
|
114
|
-
if not session_dir.is_dir():
|
|
115
|
-
return None
|
|
116
|
-
|
|
117
|
-
# Find *-session.md files
|
|
118
|
-
session_files = list(session_dir.glob("*-session.md"))
|
|
119
|
-
if not session_files:
|
|
120
|
-
return None
|
|
121
|
-
|
|
122
|
-
# Return the most recently modified one
|
|
123
|
-
return max(session_files, key=lambda f: f.stat().st_mtime)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
def _extract_session_parts(content: str) -> tuple[str, str]:
|
|
127
|
-
"""Extract header and last assessment from session markdown.
|
|
128
|
-
|
|
129
|
-
Args:
|
|
130
|
-
content: Full session file content
|
|
131
|
-
|
|
132
|
-
Returns:
|
|
133
|
-
Tuple of (header, last_assessment) strings
|
|
134
|
-
"""
|
|
135
|
-
lines = content.split("\n")
|
|
136
|
-
|
|
137
|
-
# Header: everything before first ## heading
|
|
138
|
-
header_lines = []
|
|
139
|
-
for i, line in enumerate(lines):
|
|
140
|
-
if line.startswith("## "):
|
|
141
|
-
break
|
|
142
|
-
header_lines.append(line)
|
|
143
|
-
|
|
144
|
-
# Find the last assessment section
|
|
145
|
-
assessment_start = None
|
|
146
|
-
for i, line in enumerate(lines):
|
|
147
|
-
if re.match(r"^## .*Assessment", line):
|
|
148
|
-
assessment_start = i
|
|
149
|
-
|
|
150
|
-
assessment_lines = []
|
|
151
|
-
if assessment_start is not None:
|
|
152
|
-
# Extract from assessment header to next ## or end
|
|
153
|
-
for line in lines[assessment_start:]:
|
|
154
|
-
# Stop at next ## heading (but not the assessment header itself)
|
|
155
|
-
if line.startswith("## ") and lines.index(line) > assessment_start:
|
|
156
|
-
break
|
|
157
|
-
assessment_lines.append(line)
|
|
158
|
-
|
|
159
|
-
return "\n".join(header_lines).strip(), "\n".join(assessment_lines).strip()
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
def load_session_context(project_root: Path | None = None) -> tuple[str, str, str] | None:
|
|
163
|
-
"""Load active session context.
|
|
164
|
-
|
|
165
|
-
Extracts header metadata and the most recent assessment section
|
|
166
|
-
from the active session file.
|
|
167
|
-
|
|
168
|
-
Args:
|
|
169
|
-
project_root: Project root path (auto-detected if not provided)
|
|
170
|
-
|
|
171
|
-
Returns:
|
|
172
|
-
Tuple of (filename, header, last_assessment), or None if no session
|
|
173
|
-
"""
|
|
174
|
-
root = project_root or get_project_root()
|
|
175
|
-
session_file = _find_session_file(root)
|
|
176
|
-
|
|
177
|
-
if not session_file:
|
|
178
|
-
return None
|
|
179
|
-
|
|
180
|
-
content = session_file.read_text()
|
|
181
|
-
header, assessment = _extract_session_parts(content)
|
|
182
|
-
|
|
183
|
-
return session_file.name, header, assessment
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
def load_sidecars(agent_name: str, project_root: Path | None = None) -> dict[str, str]:
|
|
187
|
-
"""Load agent sidecar files (patterns, gotchas, decisions).
|
|
188
|
-
|
|
189
|
-
Sidecars are loaded in order of usefulness:
|
|
190
|
-
1. patterns.md - Most actionable
|
|
191
|
-
2. gotchas.md - Common pitfalls
|
|
192
|
-
3. decisions.md - Historical context
|
|
193
|
-
|
|
194
|
-
Args:
|
|
195
|
-
agent_name: Name of the agent
|
|
196
|
-
project_root: Project root path (auto-detected if not provided)
|
|
197
|
-
|
|
198
|
-
Returns:
|
|
199
|
-
Dict mapping filename to content (only includes existing files)
|
|
200
|
-
"""
|
|
201
|
-
root = project_root or get_project_root()
|
|
202
|
-
sidecar_dir = root / ".pennyfarthing" / "sidecars" / agent_name
|
|
203
|
-
|
|
204
|
-
if not sidecar_dir.is_dir():
|
|
205
|
-
return {}
|
|
206
|
-
|
|
207
|
-
sidecars = {}
|
|
208
|
-
# Load in priority order
|
|
209
|
-
for filename in ["patterns.md", "gotchas.md", "decisions.md"]:
|
|
210
|
-
sidecar_file = sidecar_dir / filename
|
|
211
|
-
if sidecar_file.exists():
|
|
212
|
-
sidecars[filename] = sidecar_file.read_text()
|
|
213
|
-
|
|
214
|
-
return sidecars
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
def load_domain_docs(project_root: Path | None = None) -> list[tuple[str, str]]:
|
|
218
|
-
"""Load domain documentation files.
|
|
219
|
-
|
|
220
|
-
These are CLAUDE-*.md files in .claude/project/ that provide
|
|
221
|
-
domain-specific context.
|
|
222
|
-
|
|
223
|
-
Args:
|
|
224
|
-
project_root: Project root path (auto-detected if not provided)
|
|
225
|
-
|
|
226
|
-
Returns:
|
|
227
|
-
List of (filename, content) tuples
|
|
228
|
-
"""
|
|
229
|
-
root = project_root or get_project_root()
|
|
230
|
-
project_dir = root / ".claude" / "project"
|
|
231
|
-
|
|
232
|
-
if not project_dir.is_dir():
|
|
233
|
-
return []
|
|
234
|
-
|
|
235
|
-
docs = []
|
|
236
|
-
for doc_file in sorted(project_dir.glob("CLAUDE-*.md")):
|
|
237
|
-
docs.append((doc_file.name, doc_file.read_text()))
|
|
238
|
-
|
|
239
|
-
return docs
|