@pennyfarthing/core 10.0.2 → 10.0.3

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.
Files changed (792) hide show
  1. package/README.md +287 -0
  2. package/package.json +30 -44
  3. package/packages/core/dist/cli/commands/doctor-file-layout.test.d.ts +13 -0
  4. package/packages/core/dist/cli/commands/doctor-file-layout.test.d.ts.map +1 -0
  5. package/packages/core/dist/cli/commands/doctor-file-layout.test.js +234 -0
  6. package/packages/core/dist/cli/commands/doctor-file-layout.test.js.map +1 -0
  7. package/{dist → packages/core/dist}/cli/commands/doctor.d.ts +8 -0
  8. package/{dist → packages/core/dist}/cli/commands/doctor.d.ts.map +1 -1
  9. package/{dist → packages/core/dist}/cli/commands/doctor.js +224 -3
  10. package/packages/core/dist/cli/commands/doctor.js.map +1 -0
  11. package/{dist → packages/core/dist}/cli/commands/e2e-fresh-install.test.js +1 -1
  12. package/{dist → packages/core/dist}/cli/commands/e2e-fresh-install.test.js.map +1 -1
  13. package/{dist → packages/core/dist}/cli/commands/e2e-upgrade.test.js +1 -1
  14. package/{dist → packages/core/dist}/cli/commands/e2e-upgrade.test.js.map +1 -1
  15. package/packages/core/dist/cli/commands/hooks-consolidation.test.d.ts +19 -0
  16. package/packages/core/dist/cli/commands/hooks-consolidation.test.d.ts.map +1 -0
  17. package/packages/core/dist/cli/commands/hooks-consolidation.test.js +358 -0
  18. package/packages/core/dist/cli/commands/hooks-consolidation.test.js.map +1 -0
  19. package/{dist → packages/core/dist}/cli/commands/update.d.ts.map +1 -1
  20. package/{dist → packages/core/dist}/cli/commands/update.js +53 -1
  21. package/{dist → packages/core/dist}/cli/commands/update.js.map +1 -1
  22. package/{dist → packages/core/dist}/cli/utils/settings.d.ts.map +1 -1
  23. package/{dist → packages/core/dist}/cli/utils/settings.js +24 -0
  24. package/packages/core/dist/cli/utils/settings.js.map +1 -0
  25. package/{dist → packages/core/dist}/cli/utils/themes.d.ts +1 -0
  26. package/packages/core/dist/cli/utils/themes.d.ts.map +1 -0
  27. package/{dist → packages/core/dist}/cli/utils/themes.js.map +1 -1
  28. package/pennyfarthing-dist/agents/sm-setup.md +4 -4
  29. package/pennyfarthing-dist/agents/sm.md +8 -1
  30. package/pennyfarthing-dist/guides/bell-mode.md +65 -0
  31. package/pennyfarthing-dist/guides/benchmarks.md +62 -0
  32. package/pennyfarthing-dist/guides/bikelane.md +86 -0
  33. package/pennyfarthing-dist/guides/prime.md +72 -0
  34. package/pennyfarthing-dist/guides/reflector.md +59 -0
  35. package/pennyfarthing-dist/guides/relay-mode.md +53 -0
  36. package/pennyfarthing-dist/guides/tirepump.md +54 -0
  37. package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +59 -58
  38. package/pennyfarthing-dist/personas/themes/blade-runner.yaml +10 -10
  39. package/pennyfarthing-dist/personas/themes/doctor-who.yaml +10 -10
  40. package/pennyfarthing-dist/personas/themes/dune.yaml +64 -69
  41. package/pennyfarthing-dist/personas/themes/firefly.yaml +60 -73
  42. package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +60 -69
  43. package/pennyfarthing-dist/personas/themes/harry-potter.yaml +59 -73
  44. package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +45 -57
  45. package/pennyfarthing-dist/personas/themes/mad-max.yaml +5 -11
  46. package/pennyfarthing-dist/personas/themes/princess-bride.yaml +53 -63
  47. package/pennyfarthing-dist/personas/themes/sandman.yaml +59 -59
  48. package/pennyfarthing-dist/personas/themes/the-matrix.yaml +61 -62
  49. package/pennyfarthing-dist/personas/themes/west-wing.yaml +8 -9
  50. package/pennyfarthing-dist/scripts/core/agent-session.sh +0 -0
  51. package/pennyfarthing-dist/scripts/core/check-context.sh +0 -0
  52. package/pennyfarthing-dist/scripts/core/handoff-marker.sh +0 -0
  53. package/pennyfarthing-dist/scripts/core/phase-check-start.sh +0 -0
  54. package/pennyfarthing-dist/scripts/core/prime.sh +0 -0
  55. package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +0 -0
  56. package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +0 -0
  57. package/pennyfarthing-dist/scripts/git/git-status-all.sh +0 -0
  58. package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +0 -0
  59. package/pennyfarthing-dist/scripts/git/release.sh +0 -0
  60. package/pennyfarthing-dist/scripts/git/worktree-manager.sh +0 -0
  61. package/pennyfarthing-dist/scripts/health/drift-detection.sh +0 -0
  62. package/pennyfarthing-dist/scripts/hooks/bell-mode-hook.sh +0 -0
  63. package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +0 -0
  64. package/pennyfarthing-dist/scripts/hooks/context-warning.sh +0 -0
  65. package/pennyfarthing-dist/scripts/hooks/cyclist-pretooluse-hook.sh +32 -0
  66. package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +0 -0
  67. package/pennyfarthing-dist/scripts/hooks/post-merge.sh +0 -0
  68. package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +0 -0
  69. package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +0 -0
  70. package/pennyfarthing-dist/scripts/hooks/pre-push.sh +0 -0
  71. package/pennyfarthing-dist/scripts/hooks/question-reflector-check.sh +0 -0
  72. package/pennyfarthing-dist/scripts/hooks/question_reflector_check.py +0 -0
  73. package/pennyfarthing-dist/scripts/hooks/schema-validation.sh +0 -0
  74. package/pennyfarthing-dist/scripts/hooks/session-start.sh +0 -0
  75. package/pennyfarthing-dist/scripts/hooks/session-stop.sh +0 -0
  76. package/pennyfarthing-dist/scripts/hooks/sprint-yaml-validation.sh +0 -0
  77. package/pennyfarthing-dist/scripts/hooks/welcome-hook.sh +0 -0
  78. package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +12 -91
  79. package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +11 -86
  80. package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +0 -0
  81. package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +11 -255
  82. package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +0 -0
  83. package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +0 -0
  84. package/pennyfarthing-dist/scripts/lib/background-tasks.sh +0 -0
  85. package/pennyfarthing-dist/scripts/lib/checkpoint.sh +0 -0
  86. package/pennyfarthing-dist/scripts/lib/common.sh +0 -0
  87. package/pennyfarthing-dist/scripts/lib/file-lock.sh +0 -0
  88. package/pennyfarthing-dist/scripts/lib/logging.sh +0 -0
  89. package/pennyfarthing-dist/scripts/lib/retry.sh +0 -0
  90. package/pennyfarthing-dist/scripts/maintenance/migrate-theme-schema.mjs +0 -0
  91. package/pennyfarthing-dist/scripts/maintenance/sidecar-health.sh +0 -0
  92. package/pennyfarthing-dist/scripts/misc/add-short-names.sh +0 -0
  93. package/pennyfarthing-dist/scripts/misc/add_short_names.py +0 -0
  94. package/pennyfarthing-dist/scripts/misc/backlog.sh +0 -0
  95. package/pennyfarthing-dist/scripts/misc/check-status.sh +0 -0
  96. package/pennyfarthing-dist/scripts/misc/find-related-work.sh +0 -0
  97. package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +0 -0
  98. package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +0 -0
  99. package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +0 -0
  100. package/pennyfarthing-dist/scripts/misc/migrate_bmad_workflow.py +0 -0
  101. package/pennyfarthing-dist/scripts/misc/repo-scan.sh +0 -0
  102. package/pennyfarthing-dist/scripts/misc/repo-utils.sh +0 -0
  103. package/pennyfarthing-dist/scripts/misc/run-ci.sh +0 -0
  104. package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +0 -0
  105. package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +0 -0
  106. package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +0 -0
  107. package/pennyfarthing-dist/scripts/misc/statusline.sh +0 -0
  108. package/pennyfarthing-dist/scripts/misc/uninstall.sh +0 -0
  109. package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +0 -0
  110. package/pennyfarthing-dist/scripts/portraits/generate-portraits.sh +0 -0
  111. package/pennyfarthing-dist/scripts/sprint/archive-story.sh +0 -0
  112. package/pennyfarthing-dist/scripts/sprint/available-stories.sh +0 -0
  113. package/pennyfarthing-dist/scripts/sprint/check-story.sh +0 -0
  114. package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +0 -0
  115. package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +0 -0
  116. package/pennyfarthing-dist/scripts/sprint/list-future.sh +0 -0
  117. package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +0 -0
  118. package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +0 -0
  119. package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +0 -0
  120. package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +0 -0
  121. package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +0 -0
  122. package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +0 -0
  123. package/pennyfarthing-dist/scripts/sprint/validate-sprint-yaml.sh +0 -0
  124. package/pennyfarthing-dist/scripts/story/create-story.sh +0 -0
  125. package/pennyfarthing-dist/scripts/story/size-story.sh +0 -0
  126. package/pennyfarthing-dist/scripts/story/story-template.sh +0 -0
  127. package/pennyfarthing-dist/scripts/test/ensure-swebench-data.sh +0 -0
  128. package/pennyfarthing-dist/scripts/test/swebench-judge.py +0 -0
  129. package/pennyfarthing-dist/scripts/test/test-cache.sh +0 -0
  130. package/pennyfarthing-dist/scripts/test/test-setup.sh +0 -0
  131. package/pennyfarthing-dist/scripts/tests/check.test.sh +0 -0
  132. package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +0 -0
  133. package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +0 -0
  134. package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +0 -0
  135. package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +0 -0
  136. package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +0 -0
  137. package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +0 -0
  138. package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +0 -0
  139. package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +0 -0
  140. package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +0 -0
  141. package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +0 -0
  142. package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +0 -0
  143. package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +0 -0
  144. package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +0 -0
  145. package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +0 -0
  146. package/pennyfarthing-dist/scripts/theme/compute_theme_tiers.py +0 -0
  147. package/pennyfarthing-dist/scripts/theme/list-themes.sh +0 -0
  148. package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +0 -0
  149. package/pennyfarthing-dist/scripts/validation/validate-agent-schema.sh +0 -0
  150. package/pennyfarthing-dist/scripts/workflow/check.py +0 -0
  151. package/pennyfarthing-dist/scripts/workflow/check.sh +0 -0
  152. package/pennyfarthing-dist/scripts/workflow/complete-step.py +0 -0
  153. package/pennyfarthing-dist/scripts/workflow/finish-story.sh +0 -0
  154. package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +0 -0
  155. package/pennyfarthing-dist/scripts/workflow/get-workflow-type.py +0 -0
  156. package/pennyfarthing-dist/scripts/workflow/get-workflow-type.sh +0 -0
  157. package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +0 -0
  158. package/pennyfarthing-dist/scripts/workflow/phase-owner.sh +0 -0
  159. package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +0 -0
  160. package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +0 -0
  161. package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +0 -0
  162. package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +0 -0
  163. package/pennyfarthing-dist/skills/jira/SKILL.md +107 -408
  164. package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +0 -0
  165. package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +0 -0
  166. package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +0 -0
  167. package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +17 -95
  168. package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +0 -0
  169. package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +0 -0
  170. package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +0 -0
  171. package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +0 -0
  172. package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +20 -90
  173. package/pennyfarthing-dist/skills/story/scripts/create-story.sh +0 -0
  174. package/pennyfarthing-dist/skills/story/scripts/size-story.sh +0 -0
  175. package/pennyfarthing-dist/skills/story/scripts/story-template.sh +0 -0
  176. package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +0 -0
  177. package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +0 -0
  178. package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +0 -0
  179. package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +0 -0
  180. package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +0 -0
  181. package/pennyfarthing-dist/templates/settings.local.json.template +9 -1
  182. package/pennyfarthing_scripts/README.md +66 -0
  183. package/pennyfarthing_scripts/__init__.py +17 -0
  184. package/pennyfarthing_scripts/__pycache__/__init__.cpython-311.pyc +0 -0
  185. package/pennyfarthing_scripts/__pycache__/__init__.cpython-314.pyc +0 -0
  186. package/pennyfarthing_scripts/__pycache__/cli.cpython-314.pyc +0 -0
  187. package/pennyfarthing_scripts/__pycache__/config.cpython-314.pyc +0 -0
  188. package/pennyfarthing_scripts/__pycache__/hooks.cpython-314.pyc +0 -0
  189. package/pennyfarthing_scripts/__pycache__/jira.cpython-314.pyc +0 -0
  190. package/pennyfarthing_scripts/__pycache__/jira_bidirectional_sync.cpython-314.pyc +0 -0
  191. package/pennyfarthing_scripts/__pycache__/jira_epic_creation.cpython-314.pyc +0 -0
  192. package/pennyfarthing_scripts/__pycache__/jira_sync.cpython-314.pyc +0 -0
  193. package/pennyfarthing_scripts/__pycache__/jira_sync_story.cpython-314.pyc +0 -0
  194. package/pennyfarthing_scripts/__pycache__/output.cpython-314.pyc +0 -0
  195. package/pennyfarthing_scripts/__pycache__/patch_mode.cpython-314.pyc +0 -0
  196. package/pennyfarthing_scripts/__pycache__/pretooluse_hook.cpython-314.pyc +0 -0
  197. package/pennyfarthing_scripts/__pycache__/schema_validation_hook.cpython-314.pyc +0 -0
  198. package/pennyfarthing_scripts/__pycache__/sprint.cpython-314.pyc +0 -0
  199. package/pennyfarthing_scripts/__pycache__/workflow.cpython-311.pyc +0 -0
  200. package/pennyfarthing_scripts/__pycache__/workflow.cpython-314.pyc +0 -0
  201. package/pennyfarthing_scripts/bellmode_hook.py +154 -0
  202. package/pennyfarthing_scripts/brownfield/__init__.py +35 -0
  203. package/pennyfarthing_scripts/brownfield/__main__.py +7 -0
  204. package/pennyfarthing_scripts/brownfield/__pycache__/__init__.cpython-314.pyc +0 -0
  205. package/pennyfarthing_scripts/brownfield/__pycache__/__main__.cpython-314.pyc +0 -0
  206. package/pennyfarthing_scripts/brownfield/__pycache__/cli.cpython-314.pyc +0 -0
  207. package/pennyfarthing_scripts/brownfield/__pycache__/discover.cpython-314.pyc +0 -0
  208. package/pennyfarthing_scripts/brownfield/cli.py +131 -0
  209. package/pennyfarthing_scripts/brownfield/discover.py +753 -0
  210. package/pennyfarthing_scripts/cli.py +184 -0
  211. package/pennyfarthing_scripts/common/__init__.py +49 -0
  212. package/pennyfarthing_scripts/common/__pycache__/__init__.cpython-314.pyc +0 -0
  213. package/pennyfarthing_scripts/common/__pycache__/config.cpython-314.pyc +0 -0
  214. package/pennyfarthing_scripts/common/__pycache__/output.cpython-314.pyc +0 -0
  215. package/pennyfarthing_scripts/common/__pycache__/themes.cpython-314.pyc +0 -0
  216. package/pennyfarthing_scripts/common/config.py +91 -0
  217. package/pennyfarthing_scripts/common/output.py +180 -0
  218. package/pennyfarthing_scripts/common/themes.py +253 -0
  219. package/pennyfarthing_scripts/config.py +21 -0
  220. package/pennyfarthing_scripts/context.py +414 -0
  221. package/pennyfarthing_scripts/git/__init__.py +29 -0
  222. package/pennyfarthing_scripts/git/__pycache__/__init__.cpython-314.pyc +0 -0
  223. package/pennyfarthing_scripts/git/__pycache__/create_branches.cpython-314.pyc +0 -0
  224. package/pennyfarthing_scripts/git/__pycache__/status_all.cpython-314.pyc +0 -0
  225. package/pennyfarthing_scripts/git/create_branches.py +439 -0
  226. package/pennyfarthing_scripts/git/status_all.py +310 -0
  227. package/pennyfarthing_scripts/hooks/cyclist-pretooluse-hook.sh +7 -0
  228. package/pennyfarthing_scripts/hooks.py +454 -0
  229. package/pennyfarthing_scripts/hotspots/__init__.py +31 -0
  230. package/pennyfarthing_scripts/hotspots/__main__.py +6 -0
  231. package/pennyfarthing_scripts/hotspots/__pycache__/__init__.cpython-314.pyc +0 -0
  232. package/pennyfarthing_scripts/hotspots/__pycache__/__main__.cpython-314.pyc +0 -0
  233. package/pennyfarthing_scripts/hotspots/__pycache__/analyze.cpython-314.pyc +0 -0
  234. package/pennyfarthing_scripts/hotspots/__pycache__/cli.cpython-314.pyc +0 -0
  235. package/pennyfarthing_scripts/hotspots/__pycache__/formatters.cpython-314.pyc +0 -0
  236. package/pennyfarthing_scripts/hotspots/__pycache__/models.cpython-314.pyc +0 -0
  237. package/pennyfarthing_scripts/hotspots/analyze.py +472 -0
  238. package/pennyfarthing_scripts/hotspots/cli.py +152 -0
  239. package/pennyfarthing_scripts/hotspots/formatters.py +109 -0
  240. package/pennyfarthing_scripts/hotspots/models.py +60 -0
  241. package/pennyfarthing_scripts/jira/__init__.py +99 -0
  242. package/pennyfarthing_scripts/jira/__main__.py +10 -0
  243. package/pennyfarthing_scripts/jira/__pycache__/__init__.cpython-314.pyc +0 -0
  244. package/pennyfarthing_scripts/jira/__pycache__/__main__.cpython-314.pyc +0 -0
  245. package/pennyfarthing_scripts/jira/__pycache__/bidirectional.cpython-314.pyc +0 -0
  246. package/pennyfarthing_scripts/jira/__pycache__/claim.cpython-314.pyc +0 -0
  247. package/pennyfarthing_scripts/jira/__pycache__/cli.cpython-314.pyc +0 -0
  248. package/pennyfarthing_scripts/jira/__pycache__/client.cpython-314.pyc +0 -0
  249. package/pennyfarthing_scripts/jira/__pycache__/compat.cpython-314.pyc +0 -0
  250. package/pennyfarthing_scripts/jira/__pycache__/create.cpython-314.pyc +0 -0
  251. package/pennyfarthing_scripts/jira/__pycache__/epic.cpython-314.pyc +0 -0
  252. package/pennyfarthing_scripts/jira/__pycache__/mappings.cpython-314.pyc +0 -0
  253. package/pennyfarthing_scripts/jira/__pycache__/models.cpython-314.pyc +0 -0
  254. package/pennyfarthing_scripts/jira/__pycache__/operations.cpython-314.pyc +0 -0
  255. package/pennyfarthing_scripts/jira/__pycache__/reconcile.cpython-314.pyc +0 -0
  256. package/pennyfarthing_scripts/jira/__pycache__/story.cpython-314.pyc +0 -0
  257. package/pennyfarthing_scripts/jira/__pycache__/sync.cpython-314.pyc +0 -0
  258. package/pennyfarthing_scripts/jira/bidirectional.py +561 -0
  259. package/pennyfarthing_scripts/jira/claim.py +211 -0
  260. package/pennyfarthing_scripts/jira/cli.py +277 -0
  261. package/pennyfarthing_scripts/jira/client.py +762 -0
  262. package/pennyfarthing_scripts/jira/create.py +267 -0
  263. package/pennyfarthing_scripts/jira/epic.py +176 -0
  264. package/pennyfarthing_scripts/jira/operations.py +124 -0
  265. package/pennyfarthing_scripts/jira/reconcile.py +277 -0
  266. package/pennyfarthing_scripts/jira/story.py +219 -0
  267. package/pennyfarthing_scripts/jira/sync.py +350 -0
  268. package/pennyfarthing_scripts/jira_bidirectional_sync.py +37 -0
  269. package/pennyfarthing_scripts/jira_epic_creation.py +30 -0
  270. package/pennyfarthing_scripts/jira_sync.py +36 -0
  271. package/pennyfarthing_scripts/jira_sync_story.py +30 -0
  272. package/pennyfarthing_scripts/migration/__init__.py +39 -0
  273. package/pennyfarthing_scripts/migration/__main__.py +10 -0
  274. package/pennyfarthing_scripts/migration/__pycache__/__init__.cpython-314.pyc +0 -0
  275. package/pennyfarthing_scripts/migration/__pycache__/__main__.cpython-314.pyc +0 -0
  276. package/pennyfarthing_scripts/migration/__pycache__/cli.cpython-314.pyc +0 -0
  277. package/pennyfarthing_scripts/migration/__pycache__/session.cpython-314.pyc +0 -0
  278. package/pennyfarthing_scripts/migration/__pycache__/skill.cpython-314.pyc +0 -0
  279. package/pennyfarthing_scripts/migration/__pycache__/step.cpython-314.pyc +0 -0
  280. package/pennyfarthing_scripts/migration/__pycache__/validate.cpython-314.pyc +0 -0
  281. package/pennyfarthing_scripts/migration/cli.py +304 -0
  282. package/pennyfarthing_scripts/migration/session.py +384 -0
  283. package/pennyfarthing_scripts/migration/skill.py +188 -0
  284. package/pennyfarthing_scripts/migration/step.py +229 -0
  285. package/pennyfarthing_scripts/migration/validate.py +282 -0
  286. package/pennyfarthing_scripts/output.py +37 -0
  287. package/pennyfarthing_scripts/patch_mode.py +449 -0
  288. package/pennyfarthing_scripts/preflight/__init__.py +17 -0
  289. package/pennyfarthing_scripts/preflight/__main__.py +10 -0
  290. package/pennyfarthing_scripts/preflight/__pycache__/__init__.cpython-314.pyc +0 -0
  291. package/pennyfarthing_scripts/preflight/__pycache__/__main__.cpython-314.pyc +0 -0
  292. package/pennyfarthing_scripts/preflight/__pycache__/cli.cpython-314.pyc +0 -0
  293. package/pennyfarthing_scripts/preflight/__pycache__/finish.cpython-314.pyc +0 -0
  294. package/pennyfarthing_scripts/preflight/cli.py +141 -0
  295. package/pennyfarthing_scripts/preflight/finish.py +382 -0
  296. package/pennyfarthing_scripts/pretooluse_hook.py +193 -0
  297. package/pennyfarthing_scripts/prime/__init__.py +125 -0
  298. package/pennyfarthing_scripts/prime/__main__.py +8 -0
  299. package/pennyfarthing_scripts/prime/__pycache__/__init__.cpython-314.pyc +0 -0
  300. package/pennyfarthing_scripts/prime/__pycache__/__main__.cpython-314.pyc +0 -0
  301. package/pennyfarthing_scripts/prime/__pycache__/cli.cpython-314.pyc +0 -0
  302. package/pennyfarthing_scripts/prime/__pycache__/loader.cpython-314.pyc +0 -0
  303. package/pennyfarthing_scripts/prime/__pycache__/models.cpython-314.pyc +0 -0
  304. package/pennyfarthing_scripts/prime/__pycache__/persona.cpython-314.pyc +0 -0
  305. package/pennyfarthing_scripts/prime/__pycache__/session.cpython-314.pyc +0 -0
  306. package/pennyfarthing_scripts/prime/__pycache__/tiers.cpython-314.pyc +0 -0
  307. package/pennyfarthing_scripts/prime/__pycache__/workflow.cpython-314.pyc +0 -0
  308. package/pennyfarthing_scripts/prime/cli.py +645 -0
  309. package/pennyfarthing_scripts/prime/loader.py +239 -0
  310. package/pennyfarthing_scripts/prime/models.py +206 -0
  311. package/pennyfarthing_scripts/prime/persona.py +309 -0
  312. package/pennyfarthing_scripts/prime/session.py +183 -0
  313. package/pennyfarthing_scripts/prime/tiers.py +201 -0
  314. package/pennyfarthing_scripts/prime/workflow.py +275 -0
  315. package/pennyfarthing_scripts/schema_validation_hook.py +306 -0
  316. package/pennyfarthing_scripts/sprint/__init__.py +66 -0
  317. package/pennyfarthing_scripts/sprint/__main__.py +10 -0
  318. package/pennyfarthing_scripts/sprint/__pycache__/__init__.cpython-314.pyc +0 -0
  319. package/pennyfarthing_scripts/sprint/__pycache__/__main__.cpython-314.pyc +0 -0
  320. package/pennyfarthing_scripts/sprint/__pycache__/archive.cpython-314.pyc +0 -0
  321. package/pennyfarthing_scripts/sprint/__pycache__/archive_epic.cpython-314.pyc +0 -0
  322. package/pennyfarthing_scripts/sprint/__pycache__/cli.cpython-314.pyc +0 -0
  323. package/pennyfarthing_scripts/sprint/__pycache__/loader.cpython-314.pyc +0 -0
  324. package/pennyfarthing_scripts/sprint/__pycache__/status.cpython-314.pyc +0 -0
  325. package/pennyfarthing_scripts/sprint/__pycache__/story_add.cpython-314.pyc +0 -0
  326. package/pennyfarthing_scripts/sprint/__pycache__/story_update.cpython-314.pyc +0 -0
  327. package/pennyfarthing_scripts/sprint/__pycache__/validate_cmd.cpython-314.pyc +0 -0
  328. package/pennyfarthing_scripts/sprint/__pycache__/validator.cpython-314.pyc +0 -0
  329. package/pennyfarthing_scripts/sprint/__pycache__/work.cpython-314.pyc +0 -0
  330. package/pennyfarthing_scripts/sprint/__pycache__/yaml_io.cpython-314.pyc +0 -0
  331. package/pennyfarthing_scripts/sprint/archive.py +108 -0
  332. package/pennyfarthing_scripts/sprint/archive_epic.py +399 -0
  333. package/pennyfarthing_scripts/sprint/cli.py +373 -0
  334. package/pennyfarthing_scripts/sprint/import_epic.py +431 -0
  335. package/pennyfarthing_scripts/sprint/loader.py +193 -0
  336. package/pennyfarthing_scripts/sprint/status.py +122 -0
  337. package/pennyfarthing_scripts/sprint/story_add.py +187 -0
  338. package/pennyfarthing_scripts/sprint/story_update.py +181 -0
  339. package/pennyfarthing_scripts/sprint/validate_cmd.py +268 -0
  340. package/pennyfarthing_scripts/sprint/validator.py +570 -0
  341. package/pennyfarthing_scripts/sprint/work.py +192 -0
  342. package/pennyfarthing_scripts/sprint/yaml_io.py +258 -0
  343. package/pennyfarthing_scripts/story/__init__.py +67 -0
  344. package/pennyfarthing_scripts/story/__main__.py +10 -0
  345. package/pennyfarthing_scripts/story/__pycache__/__init__.cpython-314.pyc +0 -0
  346. package/pennyfarthing_scripts/story/__pycache__/__main__.cpython-314.pyc +0 -0
  347. package/pennyfarthing_scripts/story/__pycache__/cli.cpython-314.pyc +0 -0
  348. package/pennyfarthing_scripts/story/__pycache__/create.cpython-314.pyc +0 -0
  349. package/pennyfarthing_scripts/story/__pycache__/size.cpython-314.pyc +0 -0
  350. package/pennyfarthing_scripts/story/__pycache__/template.cpython-314.pyc +0 -0
  351. package/pennyfarthing_scripts/story/cli.py +105 -0
  352. package/pennyfarthing_scripts/story/create.py +167 -0
  353. package/pennyfarthing_scripts/story/size.py +113 -0
  354. package/pennyfarthing_scripts/story/template.py +151 -0
  355. package/pennyfarthing_scripts/swebench.py +216 -0
  356. package/pennyfarthing_scripts/tests/__init__.py +1 -0
  357. package/pennyfarthing_scripts/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  358. package/pennyfarthing_scripts/tests/__pycache__/conftest.cpython-314-pytest-9.0.2.pyc +0 -0
  359. package/pennyfarthing_scripts/tests/__pycache__/test_brownfield.cpython-314-pytest-9.0.2.pyc +0 -0
  360. package/pennyfarthing_scripts/tests/__pycache__/test_cli_modules.cpython-314-pytest-9.0.2.pyc +0 -0
  361. package/pennyfarthing_scripts/tests/__pycache__/test_common.cpython-314-pytest-9.0.2.pyc +0 -0
  362. package/pennyfarthing_scripts/tests/__pycache__/test_git_utils.cpython-314-pytest-9.0.2.pyc +0 -0
  363. package/pennyfarthing_scripts/tests/__pycache__/test_jira_package.cpython-314-pytest-9.0.2.pyc +0 -0
  364. package/pennyfarthing_scripts/tests/__pycache__/test_package_structure.cpython-314-pytest-9.0.2.pyc +0 -0
  365. package/pennyfarthing_scripts/tests/__pycache__/test_patch_mode.cpython-314-pytest-9.0.2.pyc +0 -0
  366. package/pennyfarthing_scripts/tests/__pycache__/test_prime.cpython-314-pytest-9.0.2.pyc +0 -0
  367. package/pennyfarthing_scripts/tests/__pycache__/test_sprint_package.cpython-314-pytest-9.0.2.pyc +0 -0
  368. package/pennyfarthing_scripts/tests/__pycache__/test_sprint_validator.cpython-314-pytest-9.0.2.pyc +0 -0
  369. package/pennyfarthing_scripts/tests/__pycache__/test_story_add.cpython-314-pytest-9.0.2.pyc +0 -0
  370. package/pennyfarthing_scripts/tests/__pycache__/test_story_package.cpython-314-pytest-9.0.2.pyc +0 -0
  371. package/pennyfarthing_scripts/tests/__pycache__/test_story_update.cpython-314-pytest-9.0.2.pyc +0 -0
  372. package/pennyfarthing_scripts/tests/__pycache__/test_tiers.cpython-314-pytest-9.0.2.pyc +0 -0
  373. package/pennyfarthing_scripts/tests/__pycache__/test_token_counting.cpython-314-pytest-9.0.2.pyc +0 -0
  374. package/pennyfarthing_scripts/tests/__pycache__/test_validate_cmd.cpython-314-pytest-9.0.2.pyc +0 -0
  375. package/pennyfarthing_scripts/tests/__pycache__/test_workflow_check.cpython-314-pytest-9.0.2.pyc +0 -0
  376. package/pennyfarthing_scripts/tests/__pycache__/test_workflow_cli.cpython-314-pytest-9.0.2.pyc +0 -0
  377. package/pennyfarthing_scripts/tests/__pycache__/test_yaml_io.cpython-314-pytest-9.0.2.pyc +0 -0
  378. package/pennyfarthing_scripts/tests/conftest.py +106 -0
  379. package/pennyfarthing_scripts/tests/test_brownfield.py +842 -0
  380. package/pennyfarthing_scripts/tests/test_cli_modules.py +245 -0
  381. package/pennyfarthing_scripts/tests/test_common.py +180 -0
  382. package/pennyfarthing_scripts/tests/test_git_utils.py +866 -0
  383. package/pennyfarthing_scripts/tests/test_jira_package.py +334 -0
  384. package/pennyfarthing_scripts/tests/test_package_structure.py +372 -0
  385. package/pennyfarthing_scripts/tests/test_patch_mode.py +830 -0
  386. package/pennyfarthing_scripts/tests/test_prime.py +1050 -0
  387. package/pennyfarthing_scripts/tests/test_sprint_package.py +236 -0
  388. package/pennyfarthing_scripts/tests/test_sprint_validator.py +731 -0
  389. package/pennyfarthing_scripts/tests/test_story_add.py +921 -0
  390. package/pennyfarthing_scripts/tests/test_story_package.py +156 -0
  391. package/pennyfarthing_scripts/tests/test_story_update.py +769 -0
  392. package/pennyfarthing_scripts/tests/test_tiers.py +1090 -0
  393. package/pennyfarthing_scripts/tests/test_token_counting.py +559 -0
  394. package/pennyfarthing_scripts/tests/test_validate_cmd.py +500 -0
  395. package/pennyfarthing_scripts/tests/test_workflow_check.py +341 -0
  396. package/pennyfarthing_scripts/tests/test_yaml_io.py +698 -0
  397. package/pennyfarthing_scripts/welcome_hook.py +157 -0
  398. package/pennyfarthing_scripts/workflow.py +287 -0
  399. package/dist/cli/commands/doctor.js.map +0 -1
  400. package/dist/cli/utils/settings.js.map +0 -1
  401. package/dist/cli/utils/themes.d.ts.map +0 -1
  402. package/pennyfarthing-dist/scripts/jira/jira-lib.sh +0 -464
  403. package/pennyfarthing-dist/scripts/jira/jira-sync.sh +0 -16
  404. package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +0 -16
  405. /package/{bin → packages/core/bin}/pennyfarthing.js +0 -0
  406. /package/{dist → packages/core/dist}/bmad/context-reader.d.ts +0 -0
  407. /package/{dist → packages/core/dist}/bmad/context-reader.d.ts.map +0 -0
  408. /package/{dist → packages/core/dist}/bmad/context-reader.js +0 -0
  409. /package/{dist → packages/core/dist}/bmad/context-reader.js.map +0 -0
  410. /package/{dist → packages/core/dist}/bmad/context-reader.test.d.ts +0 -0
  411. /package/{dist → packages/core/dist}/bmad/context-reader.test.d.ts.map +0 -0
  412. /package/{dist → packages/core/dist}/bmad/context-reader.test.js +0 -0
  413. /package/{dist → packages/core/dist}/bmad/context-reader.test.js.map +0 -0
  414. /package/{dist → packages/core/dist}/bmad/epics-parser.d.ts +0 -0
  415. /package/{dist → packages/core/dist}/bmad/epics-parser.d.ts.map +0 -0
  416. /package/{dist → packages/core/dist}/bmad/epics-parser.js +0 -0
  417. /package/{dist → packages/core/dist}/bmad/epics-parser.js.map +0 -0
  418. /package/{dist → packages/core/dist}/bmad/epics-parser.test.d.ts +0 -0
  419. /package/{dist → packages/core/dist}/bmad/epics-parser.test.d.ts.map +0 -0
  420. /package/{dist → packages/core/dist}/bmad/epics-parser.test.js +0 -0
  421. /package/{dist → packages/core/dist}/bmad/epics-parser.test.js.map +0 -0
  422. /package/{dist → packages/core/dist}/bmad/index.d.ts +0 -0
  423. /package/{dist → packages/core/dist}/bmad/index.d.ts.map +0 -0
  424. /package/{dist → packages/core/dist}/bmad/index.js +0 -0
  425. /package/{dist → packages/core/dist}/bmad/index.js.map +0 -0
  426. /package/{dist → packages/core/dist}/bmad/status-sync.d.ts +0 -0
  427. /package/{dist → packages/core/dist}/bmad/status-sync.d.ts.map +0 -0
  428. /package/{dist → packages/core/dist}/bmad/status-sync.js +0 -0
  429. /package/{dist → packages/core/dist}/bmad/status-sync.js.map +0 -0
  430. /package/{dist → packages/core/dist}/bmad/status-sync.test.d.ts +0 -0
  431. /package/{dist → packages/core/dist}/bmad/status-sync.test.d.ts.map +0 -0
  432. /package/{dist → packages/core/dist}/bmad/status-sync.test.js +0 -0
  433. /package/{dist → packages/core/dist}/bmad/status-sync.test.js.map +0 -0
  434. /package/{dist → packages/core/dist}/bmad/story-exporter.d.ts +0 -0
  435. /package/{dist → packages/core/dist}/bmad/story-exporter.d.ts.map +0 -0
  436. /package/{dist → packages/core/dist}/bmad/story-exporter.js +0 -0
  437. /package/{dist → packages/core/dist}/bmad/story-exporter.js.map +0 -0
  438. /package/{dist → packages/core/dist}/bmad/story-exporter.test.d.ts +0 -0
  439. /package/{dist → packages/core/dist}/bmad/story-exporter.test.d.ts.map +0 -0
  440. /package/{dist → packages/core/dist}/bmad/story-exporter.test.js +0 -0
  441. /package/{dist → packages/core/dist}/bmad/story-exporter.test.js.map +0 -0
  442. /package/{dist → packages/core/dist}/bmad/story-parser.d.ts +0 -0
  443. /package/{dist → packages/core/dist}/bmad/story-parser.d.ts.map +0 -0
  444. /package/{dist → packages/core/dist}/bmad/story-parser.js +0 -0
  445. /package/{dist → packages/core/dist}/bmad/story-parser.js.map +0 -0
  446. /package/{dist → packages/core/dist}/bmad/story-parser.test.d.ts +0 -0
  447. /package/{dist → packages/core/dist}/bmad/story-parser.test.d.ts.map +0 -0
  448. /package/{dist → packages/core/dist}/bmad/story-parser.test.js +0 -0
  449. /package/{dist → packages/core/dist}/bmad/story-parser.test.js.map +0 -0
  450. /package/{dist → packages/core/dist}/cli/commands/command.d.ts +0 -0
  451. /package/{dist → packages/core/dist}/cli/commands/command.d.ts.map +0 -0
  452. /package/{dist → packages/core/dist}/cli/commands/command.js +0 -0
  453. /package/{dist → packages/core/dist}/cli/commands/command.js.map +0 -0
  454. /package/{dist → packages/core/dist}/cli/commands/cyclist.d.ts +0 -0
  455. /package/{dist → packages/core/dist}/cli/commands/cyclist.d.ts.map +0 -0
  456. /package/{dist → packages/core/dist}/cli/commands/cyclist.js +0 -0
  457. /package/{dist → packages/core/dist}/cli/commands/cyclist.js.map +0 -0
  458. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.d.ts +0 -0
  459. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.d.ts.map +0 -0
  460. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.js +0 -0
  461. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.js.map +0 -0
  462. /package/{dist → packages/core/dist}/cli/commands/doctor-legacy.test.d.ts +0 -0
  463. /package/{dist → packages/core/dist}/cli/commands/doctor-legacy.test.d.ts.map +0 -0
  464. /package/{dist → packages/core/dist}/cli/commands/doctor-legacy.test.js +0 -0
  465. /package/{dist → packages/core/dist}/cli/commands/doctor-legacy.test.js.map +0 -0
  466. /package/{dist → packages/core/dist}/cli/commands/e2e-fresh-install.test.d.ts +0 -0
  467. /package/{dist → packages/core/dist}/cli/commands/e2e-fresh-install.test.d.ts.map +0 -0
  468. /package/{dist → packages/core/dist}/cli/commands/e2e-upgrade.test.d.ts +0 -0
  469. /package/{dist → packages/core/dist}/cli/commands/e2e-upgrade.test.d.ts.map +0 -0
  470. /package/{dist → packages/core/dist}/cli/commands/init-consolidation.test.d.ts +0 -0
  471. /package/{dist → packages/core/dist}/cli/commands/init-consolidation.test.d.ts.map +0 -0
  472. /package/{dist → packages/core/dist}/cli/commands/init-consolidation.test.js +0 -0
  473. /package/{dist → packages/core/dist}/cli/commands/init-consolidation.test.js.map +0 -0
  474. /package/{dist → packages/core/dist}/cli/commands/init.d.ts +0 -0
  475. /package/{dist → packages/core/dist}/cli/commands/init.d.ts.map +0 -0
  476. /package/{dist → packages/core/dist}/cli/commands/init.js +0 -0
  477. /package/{dist → packages/core/dist}/cli/commands/init.js.map +0 -0
  478. /package/{dist → packages/core/dist}/cli/commands/persona-config-consolidation.test.d.ts +0 -0
  479. /package/{dist → packages/core/dist}/cli/commands/persona-config-consolidation.test.d.ts.map +0 -0
  480. /package/{dist → packages/core/dist}/cli/commands/persona-config-consolidation.test.js +0 -0
  481. /package/{dist → packages/core/dist}/cli/commands/persona-config-consolidation.test.js.map +0 -0
  482. /package/{dist → packages/core/dist}/cli/commands/skill.d.ts +0 -0
  483. /package/{dist → packages/core/dist}/cli/commands/skill.d.ts.map +0 -0
  484. /package/{dist → packages/core/dist}/cli/commands/skill.js +0 -0
  485. /package/{dist → packages/core/dist}/cli/commands/skill.js.map +0 -0
  486. /package/{dist → packages/core/dist}/cli/commands/theme.d.ts +0 -0
  487. /package/{dist → packages/core/dist}/cli/commands/theme.d.ts.map +0 -0
  488. /package/{dist → packages/core/dist}/cli/commands/theme.js +0 -0
  489. /package/{dist → packages/core/dist}/cli/commands/theme.js.map +0 -0
  490. /package/{dist → packages/core/dist}/cli/commands/uninstall.d.ts +0 -0
  491. /package/{dist → packages/core/dist}/cli/commands/uninstall.d.ts.map +0 -0
  492. /package/{dist → packages/core/dist}/cli/commands/uninstall.js +0 -0
  493. /package/{dist → packages/core/dist}/cli/commands/uninstall.js.map +0 -0
  494. /package/{dist → packages/core/dist}/cli/commands/update-consolidation.test.d.ts +0 -0
  495. /package/{dist → packages/core/dist}/cli/commands/update-consolidation.test.d.ts.map +0 -0
  496. /package/{dist → packages/core/dist}/cli/commands/update-consolidation.test.js +0 -0
  497. /package/{dist → packages/core/dist}/cli/commands/update-consolidation.test.js.map +0 -0
  498. /package/{dist → packages/core/dist}/cli/commands/update.d.ts +0 -0
  499. /package/{dist → packages/core/dist}/cli/commands/version.d.ts +0 -0
  500. /package/{dist → packages/core/dist}/cli/commands/version.d.ts.map +0 -0
  501. /package/{dist → packages/core/dist}/cli/commands/version.js +0 -0
  502. /package/{dist → packages/core/dist}/cli/commands/version.js.map +0 -0
  503. /package/{dist → packages/core/dist}/cli/customization.test.d.ts +0 -0
  504. /package/{dist → packages/core/dist}/cli/customization.test.d.ts.map +0 -0
  505. /package/{dist → packages/core/dist}/cli/customization.test.js +0 -0
  506. /package/{dist → packages/core/dist}/cli/customization.test.js.map +0 -0
  507. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.d.ts +0 -0
  508. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.d.ts.map +0 -0
  509. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.js +0 -0
  510. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.js.map +0 -0
  511. /package/{dist → packages/core/dist}/cli/index.d.ts +0 -0
  512. /package/{dist → packages/core/dist}/cli/index.d.ts.map +0 -0
  513. /package/{dist → packages/core/dist}/cli/index.js +0 -0
  514. /package/{dist → packages/core/dist}/cli/index.js.map +0 -0
  515. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.d.ts +0 -0
  516. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.d.ts.map +0 -0
  517. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.js +0 -0
  518. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.js.map +0 -0
  519. /package/{dist → packages/core/dist}/cli/theme-maker.test.d.ts +0 -0
  520. /package/{dist → packages/core/dist}/cli/theme-maker.test.d.ts.map +0 -0
  521. /package/{dist → packages/core/dist}/cli/theme-maker.test.js +0 -0
  522. /package/{dist → packages/core/dist}/cli/theme-maker.test.js.map +0 -0
  523. /package/{dist → packages/core/dist}/cli/utils/constants.d.ts +0 -0
  524. /package/{dist → packages/core/dist}/cli/utils/constants.d.ts.map +0 -0
  525. /package/{dist → packages/core/dist}/cli/utils/constants.js +0 -0
  526. /package/{dist → packages/core/dist}/cli/utils/constants.js.map +0 -0
  527. /package/{dist → packages/core/dist}/cli/utils/files.d.ts +0 -0
  528. /package/{dist → packages/core/dist}/cli/utils/files.d.ts.map +0 -0
  529. /package/{dist → packages/core/dist}/cli/utils/files.js +0 -0
  530. /package/{dist → packages/core/dist}/cli/utils/files.js.map +0 -0
  531. /package/{dist → packages/core/dist}/cli/utils/logger.d.ts +0 -0
  532. /package/{dist → packages/core/dist}/cli/utils/logger.d.ts.map +0 -0
  533. /package/{dist → packages/core/dist}/cli/utils/logger.js +0 -0
  534. /package/{dist → packages/core/dist}/cli/utils/logger.js.map +0 -0
  535. /package/{dist → packages/core/dist}/cli/utils/manifest.d.ts +0 -0
  536. /package/{dist → packages/core/dist}/cli/utils/manifest.d.ts.map +0 -0
  537. /package/{dist → packages/core/dist}/cli/utils/manifest.js +0 -0
  538. /package/{dist → packages/core/dist}/cli/utils/manifest.js.map +0 -0
  539. /package/{dist → packages/core/dist}/cli/utils/node-modules.d.ts +0 -0
  540. /package/{dist → packages/core/dist}/cli/utils/node-modules.d.ts.map +0 -0
  541. /package/{dist → packages/core/dist}/cli/utils/node-modules.js +0 -0
  542. /package/{dist → packages/core/dist}/cli/utils/node-modules.js.map +0 -0
  543. /package/{dist → packages/core/dist}/cli/utils/prompts.d.ts +0 -0
  544. /package/{dist → packages/core/dist}/cli/utils/prompts.d.ts.map +0 -0
  545. /package/{dist → packages/core/dist}/cli/utils/prompts.js +0 -0
  546. /package/{dist → packages/core/dist}/cli/utils/prompts.js.map +0 -0
  547. /package/{dist → packages/core/dist}/cli/utils/settings-consolidation.test.d.ts +0 -0
  548. /package/{dist → packages/core/dist}/cli/utils/settings-consolidation.test.d.ts.map +0 -0
  549. /package/{dist → packages/core/dist}/cli/utils/settings-consolidation.test.js +0 -0
  550. /package/{dist → packages/core/dist}/cli/utils/settings-consolidation.test.js.map +0 -0
  551. /package/{dist → packages/core/dist}/cli/utils/settings.d.ts +0 -0
  552. /package/{dist → packages/core/dist}/cli/utils/symlinks.d.ts +0 -0
  553. /package/{dist → packages/core/dist}/cli/utils/symlinks.d.ts.map +0 -0
  554. /package/{dist → packages/core/dist}/cli/utils/symlinks.js +0 -0
  555. /package/{dist → packages/core/dist}/cli/utils/symlinks.js.map +0 -0
  556. /package/{dist → packages/core/dist}/cli/utils/themes.js +0 -0
  557. /package/{dist → packages/core/dist}/cli/utils/themes.test.d.ts +0 -0
  558. /package/{dist → packages/core/dist}/cli/utils/themes.test.d.ts.map +0 -0
  559. /package/{dist → packages/core/dist}/cli/utils/themes.test.js +0 -0
  560. /package/{dist → packages/core/dist}/cli/utils/themes.test.js.map +0 -0
  561. /package/{dist → packages/core/dist}/cli/utils/version.d.ts +0 -0
  562. /package/{dist → packages/core/dist}/cli/utils/version.d.ts.map +0 -0
  563. /package/{dist → packages/core/dist}/cli/utils/version.js +0 -0
  564. /package/{dist → packages/core/dist}/cli/utils/version.js.map +0 -0
  565. /package/{dist → packages/core/dist}/cli/workspace.test.d.ts +0 -0
  566. /package/{dist → packages/core/dist}/cli/workspace.test.d.ts.map +0 -0
  567. /package/{dist → packages/core/dist}/cli/workspace.test.js +0 -0
  568. /package/{dist → packages/core/dist}/cli/workspace.test.js.map +0 -0
  569. /package/{dist → packages/core/dist}/index.d.ts +0 -0
  570. /package/{dist → packages/core/dist}/index.d.ts.map +0 -0
  571. /package/{dist → packages/core/dist}/index.js +0 -0
  572. /package/{dist → packages/core/dist}/index.js.map +0 -0
  573. /package/{dist → packages/core/dist}/jira/jira-epic-creation.d.ts +0 -0
  574. /package/{dist → packages/core/dist}/jira/jira-epic-creation.d.ts.map +0 -0
  575. /package/{dist → packages/core/dist}/jira/jira-epic-creation.js +0 -0
  576. /package/{dist → packages/core/dist}/jira/jira-epic-creation.js.map +0 -0
  577. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.d.ts +0 -0
  578. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.d.ts.map +0 -0
  579. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.js +0 -0
  580. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.js.map +0 -0
  581. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.d.ts +0 -0
  582. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.d.ts.map +0 -0
  583. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.js +0 -0
  584. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.js.map +0 -0
  585. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.d.ts +0 -0
  586. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.d.ts.map +0 -0
  587. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.js +0 -0
  588. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.js.map +0 -0
  589. /package/{dist → packages/core/dist}/permissions/index.d.ts +0 -0
  590. /package/{dist → packages/core/dist}/permissions/index.d.ts.map +0 -0
  591. /package/{dist → packages/core/dist}/permissions/index.js +0 -0
  592. /package/{dist → packages/core/dist}/permissions/index.js.map +0 -0
  593. /package/{dist → packages/core/dist}/permissions/permission-schema.d.ts +0 -0
  594. /package/{dist → packages/core/dist}/permissions/permission-schema.d.ts.map +0 -0
  595. /package/{dist → packages/core/dist}/permissions/permission-schema.js +0 -0
  596. /package/{dist → packages/core/dist}/permissions/permission-schema.js.map +0 -0
  597. /package/{dist → packages/core/dist}/permissions/permission-schema.test.d.ts +0 -0
  598. /package/{dist → packages/core/dist}/permissions/permission-schema.test.d.ts.map +0 -0
  599. /package/{dist → packages/core/dist}/permissions/permission-schema.test.js +0 -0
  600. /package/{dist → packages/core/dist}/permissions/permission-schema.test.js.map +0 -0
  601. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.d.ts +0 -0
  602. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.d.ts.map +0 -0
  603. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.js +0 -0
  604. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.js.map +0 -0
  605. /package/{dist → packages/core/dist}/scripts/benchmark-integration.d.ts +0 -0
  606. /package/{dist → packages/core/dist}/scripts/benchmark-integration.d.ts.map +0 -0
  607. /package/{dist → packages/core/dist}/scripts/benchmark-integration.js +0 -0
  608. /package/{dist → packages/core/dist}/scripts/benchmark-integration.js.map +0 -0
  609. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.d.ts +0 -0
  610. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.d.ts.map +0 -0
  611. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.js +0 -0
  612. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.js.map +0 -0
  613. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.d.ts +0 -0
  614. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.d.ts.map +0 -0
  615. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.js +0 -0
  616. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.js.map +0 -0
  617. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.d.ts +0 -0
  618. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.d.ts.map +0 -0
  619. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.js +0 -0
  620. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.js.map +0 -0
  621. /package/{dist → packages/core/dist}/scripts/generate-report.d.ts +0 -0
  622. /package/{dist → packages/core/dist}/scripts/generate-report.d.ts.map +0 -0
  623. /package/{dist → packages/core/dist}/scripts/generate-report.js +0 -0
  624. /package/{dist → packages/core/dist}/scripts/generate-report.js.map +0 -0
  625. /package/{dist → packages/core/dist}/scripts/generate-report.test.d.ts +0 -0
  626. /package/{dist → packages/core/dist}/scripts/generate-report.test.d.ts.map +0 -0
  627. /package/{dist → packages/core/dist}/scripts/generate-report.test.js +0 -0
  628. /package/{dist → packages/core/dist}/scripts/generate-report.test.js.map +0 -0
  629. /package/{dist → packages/core/dist}/scripts/generate-spider-report.d.ts +0 -0
  630. /package/{dist → packages/core/dist}/scripts/generate-spider-report.d.ts.map +0 -0
  631. /package/{dist → packages/core/dist}/scripts/generate-spider-report.js +0 -0
  632. /package/{dist → packages/core/dist}/scripts/generate-spider-report.js.map +0 -0
  633. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.d.ts +0 -0
  634. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.d.ts.map +0 -0
  635. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.js +0 -0
  636. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.js.map +0 -0
  637. /package/{dist → packages/core/dist}/scripts/generate-spider.d.ts +0 -0
  638. /package/{dist → packages/core/dist}/scripts/generate-spider.d.ts.map +0 -0
  639. /package/{dist → packages/core/dist}/scripts/generate-spider.js +0 -0
  640. /package/{dist → packages/core/dist}/scripts/generate-spider.js.map +0 -0
  641. /package/{dist → packages/core/dist}/scripts/generate-spider.test.d.ts +0 -0
  642. /package/{dist → packages/core/dist}/scripts/generate-spider.test.d.ts.map +0 -0
  643. /package/{dist → packages/core/dist}/scripts/generate-spider.test.js +0 -0
  644. /package/{dist → packages/core/dist}/scripts/generate-spider.test.js.map +0 -0
  645. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.d.ts +0 -0
  646. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.d.ts.map +0 -0
  647. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.js +0 -0
  648. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.js.map +0 -0
  649. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.d.ts +0 -0
  650. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.d.ts.map +0 -0
  651. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.js +0 -0
  652. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.js.map +0 -0
  653. /package/{dist → packages/core/dist}/scripts/run-ci.test.d.ts +0 -0
  654. /package/{dist → packages/core/dist}/scripts/run-ci.test.d.ts.map +0 -0
  655. /package/{dist → packages/core/dist}/scripts/run-ci.test.js +0 -0
  656. /package/{dist → packages/core/dist}/scripts/run-ci.test.js.map +0 -0
  657. /package/{dist → packages/core/dist}/scripts/theme-detail.test.d.ts +0 -0
  658. /package/{dist → packages/core/dist}/scripts/theme-detail.test.d.ts.map +0 -0
  659. /package/{dist → packages/core/dist}/scripts/theme-detail.test.js +0 -0
  660. /package/{dist → packages/core/dist}/scripts/theme-detail.test.js.map +0 -0
  661. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.d.ts +0 -0
  662. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.d.ts.map +0 -0
  663. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.js +0 -0
  664. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.js.map +0 -0
  665. /package/{dist → packages/core/dist}/workflow/complete-step-integration.test.d.ts +0 -0
  666. /package/{dist → packages/core/dist}/workflow/complete-step-integration.test.d.ts.map +0 -0
  667. /package/{dist → packages/core/dist}/workflow/complete-step-integration.test.js +0 -0
  668. /package/{dist → packages/core/dist}/workflow/complete-step-integration.test.js.map +0 -0
  669. /package/{dist → packages/core/dist}/workflow/gate-handler.d.ts +0 -0
  670. /package/{dist → packages/core/dist}/workflow/gate-handler.d.ts.map +0 -0
  671. /package/{dist → packages/core/dist}/workflow/gate-handler.js +0 -0
  672. /package/{dist → packages/core/dist}/workflow/gate-handler.js.map +0 -0
  673. /package/{dist → packages/core/dist}/workflow/gate-handler.test.d.ts +0 -0
  674. /package/{dist → packages/core/dist}/workflow/gate-handler.test.d.ts.map +0 -0
  675. /package/{dist → packages/core/dist}/workflow/gate-handler.test.js +0 -0
  676. /package/{dist → packages/core/dist}/workflow/gate-handler.test.js.map +0 -0
  677. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.d.ts +0 -0
  678. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.d.ts.map +0 -0
  679. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.js +0 -0
  680. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.js.map +0 -0
  681. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.d.ts +0 -0
  682. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.d.ts.map +0 -0
  683. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.js +0 -0
  684. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.js.map +0 -0
  685. /package/{dist → packages/core/dist}/workflow/handoff.d.ts +0 -0
  686. /package/{dist → packages/core/dist}/workflow/handoff.d.ts.map +0 -0
  687. /package/{dist → packages/core/dist}/workflow/handoff.js +0 -0
  688. /package/{dist → packages/core/dist}/workflow/handoff.js.map +0 -0
  689. /package/{dist → packages/core/dist}/workflow/handoff.test.d.ts +0 -0
  690. /package/{dist → packages/core/dist}/workflow/handoff.test.d.ts.map +0 -0
  691. /package/{dist → packages/core/dist}/workflow/handoff.test.js +0 -0
  692. /package/{dist → packages/core/dist}/workflow/handoff.test.js.map +0 -0
  693. /package/{dist → packages/core/dist}/workflow/index.d.ts +0 -0
  694. /package/{dist → packages/core/dist}/workflow/index.d.ts.map +0 -0
  695. /package/{dist → packages/core/dist}/workflow/index.js +0 -0
  696. /package/{dist → packages/core/dist}/workflow/index.js.map +0 -0
  697. /package/{dist → packages/core/dist}/workflow/session-state.d.ts +0 -0
  698. /package/{dist → packages/core/dist}/workflow/session-state.d.ts.map +0 -0
  699. /package/{dist → packages/core/dist}/workflow/session-state.js +0 -0
  700. /package/{dist → packages/core/dist}/workflow/session-state.js.map +0 -0
  701. /package/{dist → packages/core/dist}/workflow/session-state.test.d.ts +0 -0
  702. /package/{dist → packages/core/dist}/workflow/session-state.test.d.ts.map +0 -0
  703. /package/{dist → packages/core/dist}/workflow/session-state.test.js +0 -0
  704. /package/{dist → packages/core/dist}/workflow/session-state.test.js.map +0 -0
  705. /package/{dist → packages/core/dist}/workflow/sm-subagents.test.d.ts +0 -0
  706. /package/{dist → packages/core/dist}/workflow/sm-subagents.test.d.ts.map +0 -0
  707. /package/{dist → packages/core/dist}/workflow/sm-subagents.test.js +0 -0
  708. /package/{dist → packages/core/dist}/workflow/sm-subagents.test.js.map +0 -0
  709. /package/{dist → packages/core/dist}/workflow/step-parser.d.ts +0 -0
  710. /package/{dist → packages/core/dist}/workflow/step-parser.d.ts.map +0 -0
  711. /package/{dist → packages/core/dist}/workflow/step-parser.js +0 -0
  712. /package/{dist → packages/core/dist}/workflow/step-parser.js.map +0 -0
  713. /package/{dist → packages/core/dist}/workflow/step-parser.test.d.ts +0 -0
  714. /package/{dist → packages/core/dist}/workflow/step-parser.test.d.ts.map +0 -0
  715. /package/{dist → packages/core/dist}/workflow/step-parser.test.js +0 -0
  716. /package/{dist → packages/core/dist}/workflow/step-parser.test.js.map +0 -0
  717. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.d.ts +0 -0
  718. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.d.ts.map +0 -0
  719. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.js +0 -0
  720. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.js.map +0 -0
  721. /package/{dist → packages/core/dist}/workflow/test-cache.d.ts +0 -0
  722. /package/{dist → packages/core/dist}/workflow/test-cache.d.ts.map +0 -0
  723. /package/{dist → packages/core/dist}/workflow/test-cache.js +0 -0
  724. /package/{dist → packages/core/dist}/workflow/test-cache.js.map +0 -0
  725. /package/{dist → packages/core/dist}/workflow/test-cache.test.d.ts +0 -0
  726. /package/{dist → packages/core/dist}/workflow/test-cache.test.d.ts.map +0 -0
  727. /package/{dist → packages/core/dist}/workflow/test-cache.test.js +0 -0
  728. /package/{dist → packages/core/dist}/workflow/test-cache.test.js.map +0 -0
  729. /package/{dist → packages/core/dist}/workflow/trimodal.d.ts +0 -0
  730. /package/{dist → packages/core/dist}/workflow/trimodal.d.ts.map +0 -0
  731. /package/{dist → packages/core/dist}/workflow/trimodal.js +0 -0
  732. /package/{dist → packages/core/dist}/workflow/trimodal.js.map +0 -0
  733. /package/{dist → packages/core/dist}/workflow/trimodal.test.d.ts +0 -0
  734. /package/{dist → packages/core/dist}/workflow/trimodal.test.d.ts.map +0 -0
  735. /package/{dist → packages/core/dist}/workflow/trimodal.test.js +0 -0
  736. /package/{dist → packages/core/dist}/workflow/trimodal.test.js.map +0 -0
  737. /package/{dist → packages/core/dist}/workflow/variable-resolver.d.ts +0 -0
  738. /package/{dist → packages/core/dist}/workflow/variable-resolver.d.ts.map +0 -0
  739. /package/{dist → packages/core/dist}/workflow/variable-resolver.js +0 -0
  740. /package/{dist → packages/core/dist}/workflow/variable-resolver.js.map +0 -0
  741. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.d.ts +0 -0
  742. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.d.ts.map +0 -0
  743. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.js +0 -0
  744. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.js.map +0 -0
  745. /package/{dist → packages/core/dist}/workflow/workflow-executor.d.ts +0 -0
  746. /package/{dist → packages/core/dist}/workflow/workflow-executor.d.ts.map +0 -0
  747. /package/{dist → packages/core/dist}/workflow/workflow-executor.js +0 -0
  748. /package/{dist → packages/core/dist}/workflow/workflow-executor.js.map +0 -0
  749. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.d.ts +0 -0
  750. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.d.ts.map +0 -0
  751. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.js +0 -0
  752. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.js.map +0 -0
  753. /package/{dist → packages/core/dist}/workflow/workflow-loader.d.ts +0 -0
  754. /package/{dist → packages/core/dist}/workflow/workflow-loader.d.ts.map +0 -0
  755. /package/{dist → packages/core/dist}/workflow/workflow-loader.js +0 -0
  756. /package/{dist → packages/core/dist}/workflow/workflow-loader.js.map +0 -0
  757. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.d.ts +0 -0
  758. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.d.ts.map +0 -0
  759. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.js +0 -0
  760. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.js.map +0 -0
  761. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.d.ts +0 -0
  762. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.d.ts.map +0 -0
  763. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.js +0 -0
  764. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.js.map +0 -0
  765. /package/{dist → packages/core/dist}/workflow/workflow-permissions.d.ts +0 -0
  766. /package/{dist → packages/core/dist}/workflow/workflow-permissions.d.ts.map +0 -0
  767. /package/{dist → packages/core/dist}/workflow/workflow-permissions.js +0 -0
  768. /package/{dist → packages/core/dist}/workflow/workflow-permissions.js.map +0 -0
  769. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.d.ts +0 -0
  770. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.d.ts.map +0 -0
  771. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.js +0 -0
  772. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.js.map +0 -0
  773. /package/{dist → packages/core/dist}/workflow/workflow-router.d.ts +0 -0
  774. /package/{dist → packages/core/dist}/workflow/workflow-router.d.ts.map +0 -0
  775. /package/{dist → packages/core/dist}/workflow/workflow-router.js +0 -0
  776. /package/{dist → packages/core/dist}/workflow/workflow-router.js.map +0 -0
  777. /package/{dist → packages/core/dist}/workflow/workflow-router.test.d.ts +0 -0
  778. /package/{dist → packages/core/dist}/workflow/workflow-router.test.d.ts.map +0 -0
  779. /package/{dist → packages/core/dist}/workflow/workflow-router.test.js +0 -0
  780. /package/{dist → packages/core/dist}/workflow/workflow-router.test.js.map +0 -0
  781. /package/{dist → packages/core/dist}/workflow/workflow-schema.d.ts +0 -0
  782. /package/{dist → packages/core/dist}/workflow/workflow-schema.d.ts.map +0 -0
  783. /package/{dist → packages/core/dist}/workflow/workflow-schema.js +0 -0
  784. /package/{dist → packages/core/dist}/workflow/workflow-schema.js.map +0 -0
  785. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.d.ts +0 -0
  786. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.d.ts.map +0 -0
  787. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.js +0 -0
  788. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.js.map +0 -0
  789. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.d.ts +0 -0
  790. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.d.ts.map +0 -0
  791. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.js +0 -0
  792. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.js.map +0 -0
@@ -0,0 +1,268 @@
1
+ """Sprint validate command.
2
+
3
+ Story: MSSCI-14255 - Sprint validate command with --fix flag
4
+
5
+ This module provides:
6
+ - validate_sprint_yaml(path, fix=False) -> ValidateResult
7
+ - check_format_drift(path) -> list[FormatIssue]
8
+ - validate_command (Click command for CLI registration)
9
+ """
10
+
11
+ from collections.abc import Mapping
12
+ from dataclasses import dataclass, field
13
+ from pathlib import Path
14
+
15
+ import click
16
+ import yaml
17
+
18
+ from pennyfarthing_scripts.sprint.validator import validate_full_sprint, validate_future
19
+ from pennyfarthing_scripts.sprint.yaml_io import (
20
+ EPIC_KEY_ORDER,
21
+ SPRINT_KEY_ORDER,
22
+ STORY_KEY_ORDER,
23
+ TOP_KEY_ORDER,
24
+ canonical_dump,
25
+ read_sprint,
26
+ write_sprint,
27
+ )
28
+
29
+
30
+ @dataclass
31
+ class FormatIssue:
32
+ """A single format drift issue."""
33
+
34
+ message: str
35
+ path: str # Field path (e.g., "sprint.status")
36
+ line: int | None = None
37
+
38
+
39
+ @dataclass
40
+ class ValidateError:
41
+ """A single validation error."""
42
+
43
+ message: str
44
+ path: str # Field path (e.g., "epics[0].stories[1].status")
45
+ category: str = "schema" # "syntax", "schema", or "format"
46
+ line: int | None = None
47
+
48
+
49
+ @dataclass
50
+ class ValidateResult:
51
+ """Result of sprint YAML validation."""
52
+
53
+ valid: bool
54
+ errors: list[ValidateError] = field(default_factory=list)
55
+ format_issues: list[FormatIssue] = field(default_factory=list)
56
+ fixed: bool = False
57
+
58
+
59
+ def _check_key_order(
60
+ data: Mapping,
61
+ expected_order: list[str],
62
+ path_prefix: str,
63
+ ) -> list[FormatIssue]:
64
+ """Check if keys in a mapping follow the expected order."""
65
+ issues: list[FormatIssue] = []
66
+ actual_keys = [k for k in data.keys() if k in expected_order]
67
+ expected_filtered = [k for k in expected_order if k in actual_keys]
68
+
69
+ if actual_keys != expected_filtered:
70
+ issues.append(FormatIssue(
71
+ message=f"Key order drift: expected {expected_filtered}, got {actual_keys}",
72
+ path=path_prefix,
73
+ ))
74
+
75
+ return issues
76
+
77
+
78
+ def _check_string_styles(data: Mapping, path_prefix: str) -> list[FormatIssue]:
79
+ """Check if multiline strings use block scalar style."""
80
+ issues: list[FormatIssue] = []
81
+
82
+ for key, value in data.items():
83
+ if isinstance(value, str) and "\n" in value:
84
+ # Check if it's using block scalar by examining the raw YAML
85
+ # If it got loaded as a plain string with \n, it wasn't block scalar
86
+ from ruamel.yaml.scalarstring import LiteralScalarString
87
+
88
+ if not isinstance(value, LiteralScalarString):
89
+ issues.append(FormatIssue(
90
+ message=f"Wrong string style for '{key}': multiline text should use block scalar (|)",
91
+ path=f"{path_prefix}.{key}",
92
+ ))
93
+
94
+ return issues
95
+
96
+
97
+ def check_format_drift(path: Path) -> list[FormatIssue]:
98
+ """Check a sprint YAML file for format drift.
99
+
100
+ Detects:
101
+ - Key ordering that doesn't match sprint-template.yaml
102
+ - Wrong string styles (plain vs block scalar for multiline)
103
+
104
+ Args:
105
+ path: Path to sprint YAML file
106
+
107
+ Returns:
108
+ List of FormatIssue objects
109
+ """
110
+ try:
111
+ data = read_sprint(path)
112
+ except (FileNotFoundError, ValueError):
113
+ return []
114
+
115
+ issues: list[FormatIssue] = []
116
+
117
+ # Check top-level key order
118
+ issues.extend(_check_key_order(data, TOP_KEY_ORDER, ""))
119
+
120
+ # Check sprint section key order
121
+ if "sprint" in data and isinstance(data["sprint"], Mapping):
122
+ issues.extend(_check_key_order(data["sprint"], SPRINT_KEY_ORDER, "sprint"))
123
+
124
+ # Check epics
125
+ if "epics" in data and isinstance(data["epics"], list):
126
+ for i, epic in enumerate(data["epics"]):
127
+ if isinstance(epic, Mapping):
128
+ epic_path = f"epics[{i}]"
129
+ issues.extend(_check_key_order(epic, EPIC_KEY_ORDER, epic_path))
130
+ issues.extend(_check_string_styles(epic, epic_path))
131
+
132
+ # Check stories within epic
133
+ if "stories" in epic and isinstance(epic["stories"], list):
134
+ for j, story in enumerate(epic["stories"]):
135
+ if isinstance(story, Mapping):
136
+ story_path = f"{epic_path}.stories[{j}]"
137
+ issues.extend(
138
+ _check_key_order(story, STORY_KEY_ORDER, story_path)
139
+ )
140
+ issues.extend(_check_string_styles(story, story_path))
141
+
142
+ return issues
143
+
144
+
145
+ def validate_sprint_yaml(path: Path, fix: bool = False) -> ValidateResult:
146
+ """Validate a sprint YAML file for syntax, schema, and format issues.
147
+
148
+ Args:
149
+ path: Path to sprint YAML file
150
+ fix: If True, automatically repair format issues
151
+
152
+ Returns:
153
+ ValidateResult with errors and format issues
154
+ """
155
+ result = ValidateResult(valid=True)
156
+
157
+ # Check file exists
158
+ if not path.exists():
159
+ result.valid = False
160
+ result.errors.append(ValidateError(
161
+ message=f"File not found: {path}",
162
+ path=str(path),
163
+ category="syntax",
164
+ ))
165
+ return result
166
+
167
+ # Step 1: Try to parse YAML (catch syntax errors with line numbers)
168
+ try:
169
+ with open(path) as f:
170
+ raw_content = f.read()
171
+
172
+ if not raw_content.strip():
173
+ result.valid = False
174
+ result.errors.append(ValidateError(
175
+ message="Empty YAML file",
176
+ path=str(path),
177
+ category="syntax",
178
+ line=1,
179
+ ))
180
+ return result
181
+
182
+ data = yaml.safe_load(raw_content)
183
+ except yaml.YAMLError as e:
184
+ result.valid = False
185
+ line = None
186
+ if hasattr(e, "problem_mark") and e.problem_mark is not None:
187
+ line = e.problem_mark.line + 1 # 0-indexed to 1-indexed
188
+ result.errors.append(ValidateError(
189
+ message=f"YAML syntax error: {e}",
190
+ path=str(path),
191
+ category="syntax",
192
+ line=line,
193
+ ))
194
+ return result
195
+
196
+ if data is None:
197
+ result.valid = False
198
+ result.errors.append(ValidateError(
199
+ message="Empty YAML file",
200
+ path=str(path),
201
+ category="syntax",
202
+ line=1,
203
+ ))
204
+ return result
205
+
206
+ # Step 2: Schema validation — detect file type and use appropriate validator
207
+ is_future = path.name == "future.yaml" or "future" in data
208
+ if is_future:
209
+ schema_result = validate_future(data)
210
+ else:
211
+ schema_result = validate_full_sprint(data)
212
+ if not schema_result.valid:
213
+ result.valid = False
214
+ for err in schema_result.errors:
215
+ result.errors.append(ValidateError(
216
+ message=err.message,
217
+ path=err.path,
218
+ category="schema",
219
+ ))
220
+
221
+ # Step 3: Format drift detection (sprint files only — future.yaml has different structure)
222
+ if not is_future:
223
+ format_issues = check_format_drift(path)
224
+ result.format_issues = format_issues
225
+
226
+ # Step 4: Fix if requested (only format issues, not schema; sprint files only)
227
+ if fix and not is_future and path.exists():
228
+ try:
229
+ canon_data = read_sprint(path)
230
+ write_sprint(path, canon_data)
231
+ result.fixed = True
232
+ except (FileNotFoundError, ValueError):
233
+ pass
234
+
235
+ return result
236
+
237
+
238
+ @click.command("validate")
239
+ @click.argument("file", required=False, type=click.Path(exists=False))
240
+ @click.option("--fix", is_flag=True, help="Automatically repair format issues")
241
+ def validate_command(file: str | None, fix: bool) -> None:
242
+ """Validate sprint YAML for syntax, schema, and format issues."""
243
+ if file is None:
244
+ raise click.ClickException("No file specified")
245
+
246
+ path = Path(file)
247
+ result = validate_sprint_yaml(path, fix=fix)
248
+
249
+ if result.errors:
250
+ for err in result.errors:
251
+ severity = err.category.upper()
252
+ line_info = f" (line {err.line})" if err.line else ""
253
+ click.echo(f"[{severity}] {err.path}: {err.message}{line_info}")
254
+
255
+ if result.format_issues:
256
+ for issue in result.format_issues:
257
+ click.echo(f"[FORMAT] {issue.path}: {issue.message}")
258
+
259
+ if not result.valid:
260
+ error_count = len(result.errors)
261
+ click.echo(f"\nFound {error_count} error(s). Sprint YAML is invalid.")
262
+ raise SystemExit(1)
263
+
264
+ if result.format_issues and not fix:
265
+ click.echo(f"\nFound {len(result.format_issues)} format issue(s). Run with --fix to repair.")
266
+
267
+ if result.valid and not result.errors:
268
+ click.echo("Sprint YAML is valid.")