@pennyfarthing/core 7.4.0 → 7.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (895) hide show
  1. package/LICENSE +14 -0
  2. package/README.md +301 -0
  3. package/package.json +31 -36
  4. package/packages/core/dist/cli/commands/init.js +525 -0
  5. package/packages/core/dist/cli/commands/init.js.map +1 -0
  6. package/packages/core/dist/cli/commands/update.js +421 -0
  7. package/packages/core/dist/cli/commands/update.js.map +1 -0
  8. package/packages/core/dist/cli/utils/node-modules.d.ts.map +1 -0
  9. package/packages/core/dist/cli/utils/node-modules.js +32 -0
  10. package/packages/core/dist/cli/utils/node-modules.js.map +1 -0
  11. package/packages/core/dist/cli/workspace.test.js +156 -0
  12. package/packages/core/dist/cli/workspace.test.js.map +1 -0
  13. package/packages/core/dist/workflow/handoff.d.ts +281 -0
  14. package/packages/core/dist/workflow/handoff.d.ts.map +1 -0
  15. package/packages/core/dist/workflow/handoff.js +411 -0
  16. package/packages/core/dist/workflow/handoff.js.map +1 -0
  17. package/packages/core/dist/workflow/handoff.test.d.ts +21 -0
  18. package/packages/core/dist/workflow/handoff.test.d.ts.map +1 -0
  19. package/packages/core/dist/workflow/handoff.test.js +499 -0
  20. package/packages/core/dist/workflow/handoff.test.js.map +1 -0
  21. package/packages/core/dist/workflow/sm-subagents.test.d.ts +23 -0
  22. package/packages/core/dist/workflow/sm-subagents.test.js +727 -0
  23. package/packages/core/dist/workflow/sm-subagents.test.js.map +1 -0
  24. package/pennyfarthing-dist/agents/README.md +340 -0
  25. package/pennyfarthing-dist/agents/architect.md +193 -0
  26. package/pennyfarthing-dist/agents/dev.md +254 -0
  27. package/pennyfarthing-dist/agents/devops.md +206 -0
  28. package/pennyfarthing-dist/agents/handoff.md +289 -0
  29. package/pennyfarthing-dist/agents/orchestrator.md +355 -0
  30. package/pennyfarthing-dist/agents/pm.md +169 -0
  31. package/pennyfarthing-dist/agents/reviewer-preflight.md +96 -0
  32. package/pennyfarthing-dist/agents/reviewer.md +382 -0
  33. package/pennyfarthing-dist/agents/sm-file-summary.md +58 -0
  34. package/pennyfarthing-dist/agents/sm-finish.md +61 -0
  35. package/pennyfarthing-dist/agents/sm-handoff.md +145 -0
  36. package/pennyfarthing-dist/agents/sm-setup.md +174 -0
  37. package/pennyfarthing-dist/agents/sm.md +632 -0
  38. package/pennyfarthing-dist/agents/tea.md +213 -0
  39. package/pennyfarthing-dist/agents/tech-writer.md +216 -0
  40. package/pennyfarthing-dist/agents/testing-runner.md +141 -0
  41. package/pennyfarthing-dist/agents/ux-designer.md +231 -0
  42. package/pennyfarthing-dist/agents/workflow-status-check.md +68 -0
  43. package/pennyfarthing-dist/commands/architect.md +62 -0
  44. package/pennyfarthing-dist/commands/benchmark-control.md +69 -0
  45. package/pennyfarthing-dist/commands/benchmark.md +467 -0
  46. package/pennyfarthing-dist/commands/brainstorming.md +91 -0
  47. package/pennyfarthing-dist/commands/check.md +156 -0
  48. package/pennyfarthing-dist/commands/chore.md +178 -0
  49. package/pennyfarthing-dist/commands/close-epic.md +139 -0
  50. package/pennyfarthing-dist/commands/continue-session.md +184 -0
  51. package/pennyfarthing-dist/commands/create-branches-from-story.md +358 -0
  52. package/pennyfarthing-dist/commands/create-theme.md +29 -0
  53. package/pennyfarthing-dist/commands/dev.md +60 -0
  54. package/pennyfarthing-dist/commands/devops.md +59 -0
  55. package/pennyfarthing-dist/commands/git-cleanup.md +340 -0
  56. package/pennyfarthing-dist/commands/health-check.md +108 -0
  57. package/pennyfarthing-dist/commands/help.md +264 -0
  58. package/pennyfarthing-dist/commands/job-fair.md +102 -0
  59. package/pennyfarthing-dist/commands/list-themes.md +21 -0
  60. package/pennyfarthing-dist/commands/orchestrator.md +56 -0
  61. package/pennyfarthing-dist/commands/parallel-work.md +71 -0
  62. package/pennyfarthing-dist/commands/party-mode.md +67 -0
  63. package/pennyfarthing-dist/commands/permissions.md +193 -0
  64. package/pennyfarthing-dist/commands/pm.md +60 -0
  65. package/pennyfarthing-dist/commands/prime.md +140 -0
  66. package/pennyfarthing-dist/commands/release.md +58 -0
  67. package/pennyfarthing-dist/commands/repo-status.md +49 -0
  68. package/pennyfarthing-dist/commands/retro.md +200 -0
  69. package/pennyfarthing-dist/commands/reviewer.md +64 -0
  70. package/pennyfarthing-dist/commands/run-ci.md +116 -0
  71. package/pennyfarthing-dist/commands/set-theme.md +56 -0
  72. package/pennyfarthing-dist/commands/show-theme.md +21 -0
  73. package/pennyfarthing-dist/commands/sm.md +70 -0
  74. package/pennyfarthing-dist/commands/solo.md +411 -0
  75. package/pennyfarthing-dist/commands/sprint-planning.md +109 -0
  76. package/pennyfarthing-dist/commands/start-epic.md +168 -0
  77. package/pennyfarthing-dist/commands/sync-epic-to-jira.md +184 -0
  78. package/pennyfarthing-dist/commands/sync-work-with-sprint.md +373 -0
  79. package/pennyfarthing-dist/commands/tea.md +63 -0
  80. package/pennyfarthing-dist/commands/tech-writer.md +53 -0
  81. package/pennyfarthing-dist/commands/theme-maker.md +671 -0
  82. package/pennyfarthing-dist/commands/update-domain-docs.md +83 -0
  83. package/pennyfarthing-dist/commands/ux-designer.md +62 -0
  84. package/pennyfarthing-dist/commands/work.md +122 -0
  85. package/pennyfarthing-dist/commands/workflow.md +21 -0
  86. package/pennyfarthing-dist/guides/AGENT-COORDINATION.md +480 -0
  87. package/pennyfarthing-dist/guides/HOOKS.md +230 -0
  88. package/pennyfarthing-dist/guides/PROMPT-PATTERNS.md +338 -0
  89. package/pennyfarthing-dist/guides/SESSION-ARTIFACTS.md +193 -0
  90. package/pennyfarthing-dist/guides/agent-behavior.md +238 -0
  91. package/pennyfarthing-dist/guides/agent-template-strategic.md +148 -0
  92. package/pennyfarthing-dist/guides/agent-template-tactical.md +162 -0
  93. package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +746 -0
  94. package/pennyfarthing-dist/guides/patterns/fan-out-fan-in-pattern.md +574 -0
  95. package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +488 -0
  96. package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +402 -0
  97. package/pennyfarthing-dist/guides/permission-protocol.md +188 -0
  98. package/pennyfarthing-dist/guides/persona-loading.md +46 -0
  99. package/pennyfarthing-dist/guides/workflow-schema.md +257 -0
  100. package/pennyfarthing-dist/guides/worktree-mode.md +113 -0
  101. package/pennyfarthing-dist/output-styles/teaching.md +33 -0
  102. package/pennyfarthing-dist/output-styles/terse.md +20 -0
  103. package/pennyfarthing-dist/output-styles/verbose.md +28 -0
  104. package/pennyfarthing-dist/personas/themes/1984.yaml +312 -0
  105. package/pennyfarthing-dist/personas/themes/a-team.yaml +207 -0
  106. package/pennyfarthing-dist/personas/themes/agatha-christie.yaml +300 -0
  107. package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +330 -0
  108. package/pennyfarthing-dist/personas/themes/all-stars.yaml +332 -0
  109. package/pennyfarthing-dist/personas/themes/ancient-philosophers.yaml +320 -0
  110. package/pennyfarthing-dist/personas/themes/ancient-strategists.yaml +306 -0
  111. package/pennyfarthing-dist/personas/themes/arcane.yaml +288 -0
  112. package/pennyfarthing-dist/personas/themes/arthurian-mythos.yaml +331 -0
  113. package/pennyfarthing-dist/personas/themes/avatar-the-last-airbender.yaml +288 -0
  114. package/pennyfarthing-dist/personas/themes/babylon-5.yaml +288 -0
  115. package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +288 -0
  116. package/pennyfarthing-dist/personas/themes/better-call-saul.yaml +288 -0
  117. package/pennyfarthing-dist/personas/themes/big-lebowski.yaml +300 -0
  118. package/pennyfarthing-dist/personas/themes/black-sails.yaml +300 -0
  119. package/pennyfarthing-dist/personas/themes/blade-runner.yaml +295 -0
  120. package/pennyfarthing-dist/personas/themes/bobiverse.yaml +288 -0
  121. package/pennyfarthing-dist/personas/themes/breaking-bad.yaml +327 -0
  122. package/pennyfarthing-dist/personas/themes/catch-22.yaml +316 -0
  123. package/pennyfarthing-dist/personas/themes/classical-composers.yaml +310 -0
  124. package/pennyfarthing-dist/personas/themes/control.yaml +197 -0
  125. package/pennyfarthing-dist/personas/themes/count-of-monte-cristo.yaml +320 -0
  126. package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +323 -0
  127. package/pennyfarthing-dist/personas/themes/deadwood.yaml +300 -0
  128. package/pennyfarthing-dist/personas/themes/dickens.yaml +320 -0
  129. package/pennyfarthing-dist/personas/themes/discworld.yaml +332 -0
  130. package/pennyfarthing-dist/personas/themes/doctor-who.yaml +290 -0
  131. package/pennyfarthing-dist/personas/themes/don-quixote.yaml +320 -0
  132. package/pennyfarthing-dist/personas/themes/dune.yaml +307 -0
  133. package/pennyfarthing-dist/personas/themes/enlightenment-thinkers.yaml +320 -0
  134. package/pennyfarthing-dist/personas/themes/expeditionary-force.yaml +288 -0
  135. package/pennyfarthing-dist/personas/themes/fargo.yaml +330 -0
  136. package/pennyfarthing-dist/personas/themes/film-auteurs.yaml +312 -0
  137. package/pennyfarthing-dist/personas/themes/firefly.yaml +328 -0
  138. package/pennyfarthing-dist/personas/themes/foundation.yaml +290 -0
  139. package/pennyfarthing-dist/personas/themes/futurama.yaml +321 -0
  140. package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +290 -0
  141. package/pennyfarthing-dist/personas/themes/gilligans-island.yaml +243 -0
  142. package/pennyfarthing-dist/personas/themes/gothic-literature.yaml +308 -0
  143. package/pennyfarthing-dist/personas/themes/great-gatsby.yaml +308 -0
  144. package/pennyfarthing-dist/personas/themes/greek-mythology.yaml +330 -0
  145. package/pennyfarthing-dist/personas/themes/hannibal.yaml +300 -0
  146. package/pennyfarthing-dist/personas/themes/harry-potter.yaml +324 -0
  147. package/pennyfarthing-dist/personas/themes/his-dark-materials.yaml +291 -0
  148. package/pennyfarthing-dist/personas/themes/historical-figures.yaml +288 -0
  149. package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +331 -0
  150. package/pennyfarthing-dist/personas/themes/house-md.yaml +321 -0
  151. package/pennyfarthing-dist/personas/themes/imperial-radch.yaml +289 -0
  152. package/pennyfarthing-dist/personas/themes/inspector-morse.yaml +300 -0
  153. package/pennyfarthing-dist/personas/themes/jane-austen.yaml +287 -0
  154. package/pennyfarthing-dist/personas/themes/jazz-legends.yaml +320 -0
  155. package/pennyfarthing-dist/personas/themes/justified.yaml +300 -0
  156. package/pennyfarthing-dist/personas/themes/legion-of-doom.yaml +219 -0
  157. package/pennyfarthing-dist/personas/themes/les-miserables.yaml +299 -0
  158. package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +334 -0
  159. package/pennyfarthing-dist/personas/themes/lovecraft-mythos.yaml +334 -0
  160. package/pennyfarthing-dist/personas/themes/mad-max.yaml +355 -0
  161. package/pennyfarthing-dist/personas/themes/mad-men.yaml +289 -0
  162. package/pennyfarthing-dist/personas/themes/marvel-mcu.yaml +300 -0
  163. package/pennyfarthing-dist/personas/themes/mash.yaml +337 -0
  164. package/pennyfarthing-dist/personas/themes/mass-effect.yaml +289 -0
  165. package/pennyfarthing-dist/personas/themes/military-commanders.yaml +306 -0
  166. package/pennyfarthing-dist/personas/themes/moby-dick.yaml +320 -0
  167. package/pennyfarthing-dist/personas/themes/monty-python.yaml +303 -0
  168. package/pennyfarthing-dist/personas/themes/neuromancer.yaml +300 -0
  169. package/pennyfarthing-dist/personas/themes/norse-mythology.yaml +329 -0
  170. package/pennyfarthing-dist/personas/themes/parks-and-rec.yaml +242 -0
  171. package/pennyfarthing-dist/personas/themes/peaky-blinders.yaml +298 -0
  172. package/pennyfarthing-dist/personas/themes/princess-bride.yaml +220 -0
  173. package/pennyfarthing-dist/personas/themes/renaissance-masters.yaml +320 -0
  174. package/pennyfarthing-dist/personas/themes/rome.yaml +300 -0
  175. package/pennyfarthing-dist/personas/themes/russian-masters.yaml +318 -0
  176. package/pennyfarthing-dist/personas/themes/sandman.yaml +288 -0
  177. package/pennyfarthing-dist/personas/themes/scientific-revolutionaries.yaml +320 -0
  178. package/pennyfarthing-dist/personas/themes/shakespeare.yaml +301 -0
  179. package/pennyfarthing-dist/personas/themes/sherlock-holmes.yaml +289 -0
  180. package/pennyfarthing-dist/personas/themes/snow-crash.yaml +288 -0
  181. package/pennyfarthing-dist/personas/themes/software-pioneers.yaml +300 -0
  182. package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +230 -0
  183. package/pennyfarthing-dist/personas/themes/star-trek-tos.yaml +210 -0
  184. package/pennyfarthing-dist/personas/themes/star-wars.yaml +303 -0
  185. package/pennyfarthing-dist/personas/themes/succession.yaml +300 -0
  186. package/pennyfarthing-dist/personas/themes/superfriends.yaml +208 -0
  187. package/pennyfarthing-dist/personas/themes/ted-lasso.yaml +236 -0
  188. package/pennyfarthing-dist/personas/themes/the-americans.yaml +300 -0
  189. package/pennyfarthing-dist/personas/themes/the-crown.yaml +300 -0
  190. package/pennyfarthing-dist/personas/themes/the-expanse.yaml +213 -0
  191. package/pennyfarthing-dist/personas/themes/the-good-place.yaml +322 -0
  192. package/pennyfarthing-dist/personas/themes/the-matrix.yaml +353 -0
  193. package/pennyfarthing-dist/personas/themes/the-odyssey.yaml +300 -0
  194. package/pennyfarthing-dist/personas/themes/the-office.yaml +330 -0
  195. package/pennyfarthing-dist/personas/themes/the-simpsons.yaml +308 -0
  196. package/pennyfarthing-dist/personas/themes/the-sopranos.yaml +300 -0
  197. package/pennyfarthing-dist/personas/themes/the-wire.yaml +311 -0
  198. package/pennyfarthing-dist/personas/themes/the-witcher.yaml +300 -0
  199. package/pennyfarthing-dist/personas/themes/twin-peaks.yaml +302 -0
  200. package/pennyfarthing-dist/personas/themes/vorkosigan-saga.yaml +300 -0
  201. package/pennyfarthing-dist/personas/themes/watchmen.yaml +291 -0
  202. package/pennyfarthing-dist/personas/themes/west-wing.yaml +291 -0
  203. package/pennyfarthing-dist/personas/themes/world-explorers.yaml +320 -0
  204. package/pennyfarthing-dist/personas/themes/wwii-leaders.yaml +307 -0
  205. package/pennyfarthing-dist/personas/themes/x-files.yaml +302 -0
  206. package/pennyfarthing-dist/scripts/README.md +68 -0
  207. package/pennyfarthing-dist/scripts/core/README.md +26 -0
  208. package/pennyfarthing-dist/scripts/core/agent-session.sh +378 -0
  209. package/pennyfarthing-dist/scripts/core/check-context.sh +243 -0
  210. package/pennyfarthing-dist/scripts/core/handoff-marker.sh +90 -0
  211. package/pennyfarthing-dist/scripts/core/prime.sh +136 -0
  212. package/pennyfarthing-dist/scripts/core/run.sh +75 -0
  213. package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +21 -0
  214. package/pennyfarthing-dist/scripts/git/README.md +25 -0
  215. package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +226 -0
  216. package/pennyfarthing-dist/scripts/git/git-status-all.sh +127 -0
  217. package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +91 -0
  218. package/pennyfarthing-dist/scripts/git/release.sh +198 -0
  219. package/pennyfarthing-dist/scripts/git/worktree-manager.sh +494 -0
  220. package/pennyfarthing-dist/scripts/hooks/README.md +32 -0
  221. package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +60 -0
  222. package/pennyfarthing-dist/scripts/hooks/context-warning.sh +65 -0
  223. package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +35 -0
  224. package/pennyfarthing-dist/scripts/hooks/post-merge.sh +166 -0
  225. package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +50 -0
  226. package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +71 -0
  227. package/pennyfarthing-dist/scripts/hooks/pre-push.sh +54 -0
  228. package/pennyfarthing-dist/scripts/hooks/session-start.sh +97 -0
  229. package/pennyfarthing-dist/scripts/hooks/session-stop.sh +58 -0
  230. package/pennyfarthing-dist/scripts/jira/README.md +33 -0
  231. package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +101 -0
  232. package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +97 -0
  233. package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.mjs +327 -0
  234. package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.test.mjs +503 -0
  235. package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +164 -0
  236. package/pennyfarthing-dist/scripts/jira/jira-lib.mjs +443 -0
  237. package/pennyfarthing-dist/scripts/jira/jira-lib.sh +464 -0
  238. package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +266 -0
  239. package/pennyfarthing-dist/scripts/jira/jira-sync-story.mjs +208 -0
  240. package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +8 -0
  241. package/pennyfarthing-dist/scripts/jira/jira-sync.mjs +198 -0
  242. package/pennyfarthing-dist/scripts/jira/jira-sync.sh +8 -0
  243. package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +104 -0
  244. package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +16 -0
  245. package/pennyfarthing-dist/scripts/lib/README.md +29 -0
  246. package/pennyfarthing-dist/scripts/lib/background-tasks.sh +177 -0
  247. package/pennyfarthing-dist/scripts/lib/checkpoint.sh +136 -0
  248. package/pennyfarthing-dist/scripts/lib/common.sh +157 -0
  249. package/pennyfarthing-dist/scripts/lib/file-lock.sh +269 -0
  250. package/pennyfarthing-dist/scripts/lib/find-root.sh +35 -0
  251. package/pennyfarthing-dist/scripts/lib/logging.sh +186 -0
  252. package/pennyfarthing-dist/scripts/lib/retry.sh +76 -0
  253. package/pennyfarthing-dist/scripts/misc/README.md +44 -0
  254. package/pennyfarthing-dist/scripts/misc/add-short-names.mjs +264 -0
  255. package/pennyfarthing-dist/scripts/misc/backlog.sh +91 -0
  256. package/pennyfarthing-dist/scripts/misc/check-status.sh +247 -0
  257. package/pennyfarthing-dist/scripts/misc/deploy.sh +284 -0
  258. package/pennyfarthing-dist/scripts/misc/doctor-dogfood.sh +392 -0
  259. package/pennyfarthing-dist/scripts/misc/find-related-work.sh +231 -0
  260. package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +110 -0
  261. package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +74 -0
  262. package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.mjs +474 -0
  263. package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +9 -0
  264. package/pennyfarthing-dist/scripts/misc/repo-scan.sh +141 -0
  265. package/pennyfarthing-dist/scripts/misc/repo-utils.sh +778 -0
  266. package/pennyfarthing-dist/scripts/misc/run-ci.sh +219 -0
  267. package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +7 -0
  268. package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +319 -0
  269. package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +193 -0
  270. package/pennyfarthing-dist/scripts/misc/statusline.sh +259 -0
  271. package/pennyfarthing-dist/scripts/misc/uninstall.sh +270 -0
  272. package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +160 -0
  273. package/pennyfarthing-dist/scripts/sprint/README.md +29 -0
  274. package/pennyfarthing-dist/scripts/sprint/archive-story.sh +135 -0
  275. package/pennyfarthing-dist/scripts/sprint/available-stories.sh +97 -0
  276. package/pennyfarthing-dist/scripts/sprint/check-story.sh +164 -0
  277. package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +58 -0
  278. package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +69 -0
  279. package/pennyfarthing-dist/scripts/sprint/list-future.sh +151 -0
  280. package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +116 -0
  281. package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +164 -0
  282. package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +421 -0
  283. package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +39 -0
  284. package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +241 -0
  285. package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +134 -0
  286. package/pennyfarthing-dist/scripts/story/README.md +23 -0
  287. package/pennyfarthing-dist/scripts/story/create-story.sh +159 -0
  288. package/pennyfarthing-dist/scripts/story/size-story.sh +198 -0
  289. package/pennyfarthing-dist/scripts/story/story-template.sh +162 -0
  290. package/pennyfarthing-dist/scripts/test/README.md +23 -0
  291. package/pennyfarthing-dist/scripts/test/ground-truth-judge.py +289 -0
  292. package/pennyfarthing-dist/scripts/test/swebench-judge.py +400 -0
  293. package/pennyfarthing-dist/scripts/test/test-cache.sh +165 -0
  294. package/pennyfarthing-dist/scripts/test/test-setup.sh +337 -0
  295. package/pennyfarthing-dist/scripts/tests/check.test.sh +582 -0
  296. package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +515 -0
  297. package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +599 -0
  298. package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +332 -0
  299. package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +573 -0
  300. package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +859 -0
  301. package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +662 -0
  302. package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +589 -0
  303. package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +105 -0
  304. package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +597 -0
  305. package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +514 -0
  306. package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +517 -0
  307. package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +331 -0
  308. package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +647 -0
  309. package/pennyfarthing-dist/scripts/theme/README.md +22 -0
  310. package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +203 -0
  311. package/pennyfarthing-dist/scripts/theme/list-themes.sh +73 -0
  312. package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +97 -0
  313. package/pennyfarthing-dist/scripts/workflow/README.md +28 -0
  314. package/pennyfarthing-dist/scripts/workflow/check.sh +497 -0
  315. package/pennyfarthing-dist/scripts/workflow/finish-story.sh +159 -0
  316. package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +228 -0
  317. package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +91 -0
  318. package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +163 -0
  319. package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +138 -0
  320. package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +256 -0
  321. package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +167 -0
  322. package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +242 -0
  323. package/pennyfarthing-dist/skills/changelog/SKILL.md +367 -0
  324. package/pennyfarthing-dist/skills/code-review/SKILL.md +168 -0
  325. package/pennyfarthing-dist/skills/context-engineering/SKILL.md +274 -0
  326. package/pennyfarthing-dist/skills/cyclist/SKILL.md +88 -0
  327. package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +437 -0
  328. package/pennyfarthing-dist/skills/finalize-run/SKILL.md +258 -0
  329. package/pennyfarthing-dist/skills/jira/SKILL.md +484 -0
  330. package/pennyfarthing-dist/skills/judge/SKILL.md +579 -0
  331. package/pennyfarthing-dist/skills/just/SKILL.md +403 -0
  332. package/pennyfarthing-dist/skills/mermaid/SKILL.md +240 -0
  333. package/pennyfarthing-dist/skills/otel/skill.md +223 -0
  334. package/pennyfarthing-dist/skills/permissions/skill.md +172 -0
  335. package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +178 -0
  336. package/pennyfarthing-dist/skills/skill-registry.schema.json +107 -0
  337. package/pennyfarthing-dist/skills/skill-registry.yaml +357 -0
  338. package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +101 -0
  339. package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +97 -0
  340. package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +164 -0
  341. package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +101 -0
  342. package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +116 -0
  343. package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +164 -0
  344. package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +39 -0
  345. package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +147 -0
  346. package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +104 -0
  347. package/pennyfarthing-dist/skills/sprint/skill.md +465 -0
  348. package/pennyfarthing-dist/skills/story/scripts/create-story.sh +159 -0
  349. package/pennyfarthing-dist/skills/story/scripts/size-story.sh +198 -0
  350. package/pennyfarthing-dist/skills/story/scripts/story-template.sh +162 -0
  351. package/pennyfarthing-dist/skills/story/skill.md +219 -0
  352. package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +390 -0
  353. package/pennyfarthing-dist/skills/testing/SKILL.md +99 -0
  354. package/pennyfarthing-dist/skills/testing/references/troubleshooting.md +124 -0
  355. package/pennyfarthing-dist/skills/theme/skill.md +129 -0
  356. package/pennyfarthing-dist/skills/theme-creation/SKILL.md +169 -0
  357. package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +91 -0
  358. package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +163 -0
  359. package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +138 -0
  360. package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +273 -0
  361. package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +167 -0
  362. package/pennyfarthing-dist/skills/workflow/skill.md +337 -0
  363. package/pennyfarthing-dist/skills/yq/SKILL.md +264 -0
  364. package/pennyfarthing-dist/templates/LEADERBOARD.schema.yaml +187 -0
  365. package/pennyfarthing-dist/templates/LEADERBOARD.template.md +59 -0
  366. package/pennyfarthing-dist/templates/agent-scopes.yaml.template +276 -0
  367. package/pennyfarthing-dist/templates/pennyfarthing-settings.yaml.template +61 -0
  368. package/pennyfarthing-dist/templates/persona-config.yaml.template +22 -0
  369. package/pennyfarthing-dist/templates/preferences.yaml.template +15 -0
  370. package/pennyfarthing-dist/templates/settings.local.json.template +90 -0
  371. package/pennyfarthing-dist/templates/setup-env.sh.template +18 -0
  372. package/pennyfarthing-dist/templates/shared-context.md.template +70 -0
  373. package/pennyfarthing-dist/templates/sidecar/decisions.md.template +40 -0
  374. package/pennyfarthing-dist/templates/sidecar/gotchas.md.template +37 -0
  375. package/pennyfarthing-dist/templates/sidecar/patterns.md.template +34 -0
  376. package/pennyfarthing-dist/workflows/agent-docs.yaml +70 -0
  377. package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +101 -0
  378. package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +93 -0
  379. package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +115 -0
  380. package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +133 -0
  381. package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +138 -0
  382. package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +133 -0
  383. package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +142 -0
  384. package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +160 -0
  385. package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +102 -0
  386. package/pennyfarthing-dist/workflows/architecture.yaml +65 -0
  387. package/pennyfarthing-dist/workflows/bdd.yaml +60 -0
  388. package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +62 -0
  389. package/pennyfarthing-dist/workflows/brainstorming/checklist.md +44 -0
  390. package/pennyfarthing-dist/workflows/brainstorming/instructions.md +736 -0
  391. package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +49 -0
  392. package/pennyfarthing-dist/workflows/code-review/checklist.md +23 -0
  393. package/pennyfarthing-dist/workflows/code-review/instructions.md +234 -0
  394. package/pennyfarthing-dist/workflows/code-review/workflow.yaml +51 -0
  395. package/pennyfarthing-dist/workflows/dev-story/checklist.md +80 -0
  396. package/pennyfarthing-dist/workflows/dev-story/instructions.xml +410 -0
  397. package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +50 -0
  398. package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +256 -0
  399. package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +233 -0
  400. package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +272 -0
  401. package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +145 -0
  402. package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +57 -0
  403. package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +27 -0
  404. package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +190 -0
  405. package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  406. package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  407. package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  408. package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  409. package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +133 -0
  410. package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +4 -0
  411. package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +40 -0
  412. package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +13 -0
  413. package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +197 -0
  414. package/pennyfarthing-dist/workflows/prd/data/project-types.csv +11 -0
  415. package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +191 -0
  416. package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +153 -0
  417. package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +224 -0
  418. package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +226 -0
  419. package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +213 -0
  420. package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +207 -0
  421. package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +226 -0
  422. package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +237 -0
  423. package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +228 -0
  424. package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +231 -0
  425. package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +242 -0
  426. package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +217 -0
  427. package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +180 -0
  428. package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +247 -0
  429. package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +208 -0
  430. package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +249 -0
  431. package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +253 -0
  432. package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +168 -0
  433. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +218 -0
  434. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +191 -0
  435. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +209 -0
  436. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +174 -0
  437. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
  438. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +228 -0
  439. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +217 -0
  440. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
  441. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
  442. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +263 -0
  443. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +209 -0
  444. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
  445. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +242 -0
  446. package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +232 -0
  447. package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +10 -0
  448. package/pennyfarthing-dist/workflows/prd/workflow.yaml +42 -0
  449. package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +177 -0
  450. package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +161 -0
  451. package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +199 -0
  452. package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +202 -0
  453. package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +205 -0
  454. package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +219 -0
  455. package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +194 -0
  456. package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +10 -0
  457. package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +31 -0
  458. package/pennyfarthing-dist/workflows/project-context/project-context-template.md +21 -0
  459. package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +184 -0
  460. package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +318 -0
  461. package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +278 -0
  462. package/pennyfarthing-dist/workflows/project-context/workflow.yaml +27 -0
  463. package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +156 -0
  464. package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +120 -0
  465. package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +113 -0
  466. package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +113 -0
  467. package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +106 -0
  468. package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +140 -0
  469. package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +27 -0
  470. package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +189 -0
  471. package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +144 -0
  472. package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +128 -0
  473. package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +191 -0
  474. package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +74 -0
  475. package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +27 -0
  476. package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +137 -0
  477. package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +229 -0
  478. package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +238 -0
  479. package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +206 -0
  480. package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +234 -0
  481. package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +443 -0
  482. package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +182 -0
  483. package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +237 -0
  484. package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +200 -0
  485. package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +249 -0
  486. package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +259 -0
  487. package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +177 -0
  488. package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +475 -0
  489. package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +137 -0
  490. package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +239 -0
  491. package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +248 -0
  492. package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +202 -0
  493. package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +239 -0
  494. package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +486 -0
  495. package/pennyfarthing-dist/workflows/research/templates/research.template.md +29 -0
  496. package/pennyfarthing-dist/workflows/research/workflow.yaml +45 -0
  497. package/pennyfarthing-dist/workflows/retrospective/checklist.md +31 -0
  498. package/pennyfarthing-dist/workflows/retrospective/instructions.md +1443 -0
  499. package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +50 -0
  500. package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +33 -0
  501. package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +55 -0
  502. package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +54 -0
  503. package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +44 -0
  504. package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +64 -0
  505. package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +73 -0
  506. package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +56 -0
  507. package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +34 -0
  508. package/pennyfarthing-dist/workflows/tdd.yaml +50 -0
  509. package/pennyfarthing-dist/workflows/trivial.yaml +40 -0
  510. package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +135 -0
  511. package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +127 -0
  512. package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +190 -0
  513. package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +216 -0
  514. package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +219 -0
  515. package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +234 -0
  516. package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +252 -0
  517. package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +254 -0
  518. package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +224 -0
  519. package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +224 -0
  520. package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +241 -0
  521. package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +248 -0
  522. package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +237 -0
  523. package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +264 -0
  524. package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +228 -0
  525. package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +13 -0
  526. package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +41 -0
  527. package/dist/cli/commands/init.js +0 -524
  528. package/dist/cli/commands/init.js.map +0 -1
  529. package/dist/cli/commands/update.js +0 -418
  530. package/dist/cli/commands/update.js.map +0 -1
  531. package/dist/cli/utils/node-modules.d.ts.map +0 -1
  532. package/dist/cli/utils/node-modules.js +0 -31
  533. package/dist/cli/utils/node-modules.js.map +0 -1
  534. package/dist/cli/workspace.test.js +0 -151
  535. package/dist/cli/workspace.test.js.map +0 -1
  536. package/dist/workflow/sm-subagents.test.d.ts +0 -23
  537. package/dist/workflow/sm-subagents.test.js +0 -727
  538. package/dist/workflow/sm-subagents.test.js.map +0 -1
  539. /package/{bin → packages/core/bin}/pennyfarthing.js +0 -0
  540. /package/{dist → packages/core/dist}/bmad/context-reader.d.ts +0 -0
  541. /package/{dist → packages/core/dist}/bmad/context-reader.d.ts.map +0 -0
  542. /package/{dist → packages/core/dist}/bmad/context-reader.js +0 -0
  543. /package/{dist → packages/core/dist}/bmad/context-reader.js.map +0 -0
  544. /package/{dist → packages/core/dist}/bmad/context-reader.test.d.ts +0 -0
  545. /package/{dist → packages/core/dist}/bmad/context-reader.test.d.ts.map +0 -0
  546. /package/{dist → packages/core/dist}/bmad/context-reader.test.js +0 -0
  547. /package/{dist → packages/core/dist}/bmad/context-reader.test.js.map +0 -0
  548. /package/{dist → packages/core/dist}/bmad/epics-parser.d.ts +0 -0
  549. /package/{dist → packages/core/dist}/bmad/epics-parser.d.ts.map +0 -0
  550. /package/{dist → packages/core/dist}/bmad/epics-parser.js +0 -0
  551. /package/{dist → packages/core/dist}/bmad/epics-parser.js.map +0 -0
  552. /package/{dist → packages/core/dist}/bmad/epics-parser.test.d.ts +0 -0
  553. /package/{dist → packages/core/dist}/bmad/epics-parser.test.d.ts.map +0 -0
  554. /package/{dist → packages/core/dist}/bmad/epics-parser.test.js +0 -0
  555. /package/{dist → packages/core/dist}/bmad/epics-parser.test.js.map +0 -0
  556. /package/{dist → packages/core/dist}/bmad/index.d.ts +0 -0
  557. /package/{dist → packages/core/dist}/bmad/index.d.ts.map +0 -0
  558. /package/{dist → packages/core/dist}/bmad/index.js +0 -0
  559. /package/{dist → packages/core/dist}/bmad/index.js.map +0 -0
  560. /package/{dist → packages/core/dist}/bmad/status-sync.d.ts +0 -0
  561. /package/{dist → packages/core/dist}/bmad/status-sync.d.ts.map +0 -0
  562. /package/{dist → packages/core/dist}/bmad/status-sync.js +0 -0
  563. /package/{dist → packages/core/dist}/bmad/status-sync.js.map +0 -0
  564. /package/{dist → packages/core/dist}/bmad/status-sync.test.d.ts +0 -0
  565. /package/{dist → packages/core/dist}/bmad/status-sync.test.d.ts.map +0 -0
  566. /package/{dist → packages/core/dist}/bmad/status-sync.test.js +0 -0
  567. /package/{dist → packages/core/dist}/bmad/status-sync.test.js.map +0 -0
  568. /package/{dist → packages/core/dist}/bmad/story-exporter.d.ts +0 -0
  569. /package/{dist → packages/core/dist}/bmad/story-exporter.d.ts.map +0 -0
  570. /package/{dist → packages/core/dist}/bmad/story-exporter.js +0 -0
  571. /package/{dist → packages/core/dist}/bmad/story-exporter.js.map +0 -0
  572. /package/{dist → packages/core/dist}/bmad/story-exporter.test.d.ts +0 -0
  573. /package/{dist → packages/core/dist}/bmad/story-exporter.test.d.ts.map +0 -0
  574. /package/{dist → packages/core/dist}/bmad/story-exporter.test.js +0 -0
  575. /package/{dist → packages/core/dist}/bmad/story-exporter.test.js.map +0 -0
  576. /package/{dist → packages/core/dist}/bmad/story-parser.d.ts +0 -0
  577. /package/{dist → packages/core/dist}/bmad/story-parser.d.ts.map +0 -0
  578. /package/{dist → packages/core/dist}/bmad/story-parser.js +0 -0
  579. /package/{dist → packages/core/dist}/bmad/story-parser.js.map +0 -0
  580. /package/{dist → packages/core/dist}/bmad/story-parser.test.d.ts +0 -0
  581. /package/{dist → packages/core/dist}/bmad/story-parser.test.d.ts.map +0 -0
  582. /package/{dist → packages/core/dist}/bmad/story-parser.test.js +0 -0
  583. /package/{dist → packages/core/dist}/bmad/story-parser.test.js.map +0 -0
  584. /package/{dist → packages/core/dist}/cli/commands/command.d.ts +0 -0
  585. /package/{dist → packages/core/dist}/cli/commands/command.d.ts.map +0 -0
  586. /package/{dist → packages/core/dist}/cli/commands/command.js +0 -0
  587. /package/{dist → packages/core/dist}/cli/commands/command.js.map +0 -0
  588. /package/{dist → packages/core/dist}/cli/commands/cyclist.d.ts +0 -0
  589. /package/{dist → packages/core/dist}/cli/commands/cyclist.d.ts.map +0 -0
  590. /package/{dist → packages/core/dist}/cli/commands/cyclist.js +0 -0
  591. /package/{dist → packages/core/dist}/cli/commands/cyclist.js.map +0 -0
  592. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.d.ts +0 -0
  593. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.d.ts.map +0 -0
  594. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.js +0 -0
  595. /package/{dist → packages/core/dist}/cli/commands/cyclist.test.js.map +0 -0
  596. /package/{dist → packages/core/dist}/cli/commands/doctor.d.ts +0 -0
  597. /package/{dist → packages/core/dist}/cli/commands/doctor.d.ts.map +0 -0
  598. /package/{dist → packages/core/dist}/cli/commands/doctor.js +0 -0
  599. /package/{dist → packages/core/dist}/cli/commands/doctor.js.map +0 -0
  600. /package/{dist → packages/core/dist}/cli/commands/init.d.ts +0 -0
  601. /package/{dist → packages/core/dist}/cli/commands/init.d.ts.map +0 -0
  602. /package/{dist → packages/core/dist}/cli/commands/skill.d.ts +0 -0
  603. /package/{dist → packages/core/dist}/cli/commands/skill.d.ts.map +0 -0
  604. /package/{dist → packages/core/dist}/cli/commands/skill.js +0 -0
  605. /package/{dist → packages/core/dist}/cli/commands/skill.js.map +0 -0
  606. /package/{dist → packages/core/dist}/cli/commands/theme.d.ts +0 -0
  607. /package/{dist → packages/core/dist}/cli/commands/theme.d.ts.map +0 -0
  608. /package/{dist → packages/core/dist}/cli/commands/theme.js +0 -0
  609. /package/{dist → packages/core/dist}/cli/commands/theme.js.map +0 -0
  610. /package/{dist → packages/core/dist}/cli/commands/uninstall.d.ts +0 -0
  611. /package/{dist → packages/core/dist}/cli/commands/uninstall.d.ts.map +0 -0
  612. /package/{dist → packages/core/dist}/cli/commands/uninstall.js +0 -0
  613. /package/{dist → packages/core/dist}/cli/commands/uninstall.js.map +0 -0
  614. /package/{dist → packages/core/dist}/cli/commands/update.d.ts +0 -0
  615. /package/{dist → packages/core/dist}/cli/commands/update.d.ts.map +0 -0
  616. /package/{dist → packages/core/dist}/cli/commands/version.d.ts +0 -0
  617. /package/{dist → packages/core/dist}/cli/commands/version.d.ts.map +0 -0
  618. /package/{dist → packages/core/dist}/cli/commands/version.js +0 -0
  619. /package/{dist → packages/core/dist}/cli/commands/version.js.map +0 -0
  620. /package/{dist → packages/core/dist}/cli/customization.test.d.ts +0 -0
  621. /package/{dist → packages/core/dist}/cli/customization.test.d.ts.map +0 -0
  622. /package/{dist → packages/core/dist}/cli/customization.test.js +0 -0
  623. /package/{dist → packages/core/dist}/cli/customization.test.js.map +0 -0
  624. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.d.ts +0 -0
  625. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.d.ts.map +0 -0
  626. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.js +0 -0
  627. /package/{dist → packages/core/dist}/cli/cyclist-migration.test.js.map +0 -0
  628. /package/{dist → packages/core/dist}/cli/index.d.ts +0 -0
  629. /package/{dist → packages/core/dist}/cli/index.d.ts.map +0 -0
  630. /package/{dist → packages/core/dist}/cli/index.js +0 -0
  631. /package/{dist → packages/core/dist}/cli/index.js.map +0 -0
  632. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.d.ts +0 -0
  633. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.d.ts.map +0 -0
  634. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.js +0 -0
  635. /package/{dist → packages/core/dist}/cli/ocean-profiles.test.js.map +0 -0
  636. /package/{dist → packages/core/dist}/cli/theme-maker.test.d.ts +0 -0
  637. /package/{dist → packages/core/dist}/cli/theme-maker.test.d.ts.map +0 -0
  638. /package/{dist → packages/core/dist}/cli/theme-maker.test.js +0 -0
  639. /package/{dist → packages/core/dist}/cli/theme-maker.test.js.map +0 -0
  640. /package/{dist → packages/core/dist}/cli/utils/constants.d.ts +0 -0
  641. /package/{dist → packages/core/dist}/cli/utils/constants.d.ts.map +0 -0
  642. /package/{dist → packages/core/dist}/cli/utils/constants.js +0 -0
  643. /package/{dist → packages/core/dist}/cli/utils/constants.js.map +0 -0
  644. /package/{dist → packages/core/dist}/cli/utils/files.d.ts +0 -0
  645. /package/{dist → packages/core/dist}/cli/utils/files.d.ts.map +0 -0
  646. /package/{dist → packages/core/dist}/cli/utils/files.js +0 -0
  647. /package/{dist → packages/core/dist}/cli/utils/files.js.map +0 -0
  648. /package/{dist → packages/core/dist}/cli/utils/logger.d.ts +0 -0
  649. /package/{dist → packages/core/dist}/cli/utils/logger.d.ts.map +0 -0
  650. /package/{dist → packages/core/dist}/cli/utils/logger.js +0 -0
  651. /package/{dist → packages/core/dist}/cli/utils/logger.js.map +0 -0
  652. /package/{dist → packages/core/dist}/cli/utils/manifest.d.ts +0 -0
  653. /package/{dist → packages/core/dist}/cli/utils/manifest.d.ts.map +0 -0
  654. /package/{dist → packages/core/dist}/cli/utils/manifest.js +0 -0
  655. /package/{dist → packages/core/dist}/cli/utils/manifest.js.map +0 -0
  656. /package/{dist → packages/core/dist}/cli/utils/node-modules.d.ts +0 -0
  657. /package/{dist → packages/core/dist}/cli/utils/prompts.d.ts +0 -0
  658. /package/{dist → packages/core/dist}/cli/utils/prompts.d.ts.map +0 -0
  659. /package/{dist → packages/core/dist}/cli/utils/prompts.js +0 -0
  660. /package/{dist → packages/core/dist}/cli/utils/prompts.js.map +0 -0
  661. /package/{dist → packages/core/dist}/cli/utils/symlinks.d.ts +0 -0
  662. /package/{dist → packages/core/dist}/cli/utils/symlinks.d.ts.map +0 -0
  663. /package/{dist → packages/core/dist}/cli/utils/symlinks.js +0 -0
  664. /package/{dist → packages/core/dist}/cli/utils/symlinks.js.map +0 -0
  665. /package/{dist → packages/core/dist}/cli/utils/themes.d.ts +0 -0
  666. /package/{dist → packages/core/dist}/cli/utils/themes.d.ts.map +0 -0
  667. /package/{dist → packages/core/dist}/cli/utils/themes.js +0 -0
  668. /package/{dist → packages/core/dist}/cli/utils/themes.js.map +0 -0
  669. /package/{dist → packages/core/dist}/cli/utils/themes.test.d.ts +0 -0
  670. /package/{dist → packages/core/dist}/cli/utils/themes.test.d.ts.map +0 -0
  671. /package/{dist → packages/core/dist}/cli/utils/themes.test.js +0 -0
  672. /package/{dist → packages/core/dist}/cli/utils/themes.test.js.map +0 -0
  673. /package/{dist → packages/core/dist}/cli/utils/version.d.ts +0 -0
  674. /package/{dist → packages/core/dist}/cli/utils/version.d.ts.map +0 -0
  675. /package/{dist → packages/core/dist}/cli/utils/version.js +0 -0
  676. /package/{dist → packages/core/dist}/cli/utils/version.js.map +0 -0
  677. /package/{dist → packages/core/dist}/cli/workspace.test.d.ts +0 -0
  678. /package/{dist → packages/core/dist}/cli/workspace.test.d.ts.map +0 -0
  679. /package/{dist → packages/core/dist}/index.d.ts +0 -0
  680. /package/{dist → packages/core/dist}/index.d.ts.map +0 -0
  681. /package/{dist → packages/core/dist}/index.js +0 -0
  682. /package/{dist → packages/core/dist}/index.js.map +0 -0
  683. /package/{dist → packages/core/dist}/jira/jira-epic-creation.d.ts +0 -0
  684. /package/{dist → packages/core/dist}/jira/jira-epic-creation.d.ts.map +0 -0
  685. /package/{dist → packages/core/dist}/jira/jira-epic-creation.js +0 -0
  686. /package/{dist → packages/core/dist}/jira/jira-epic-creation.js.map +0 -0
  687. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.d.ts +0 -0
  688. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.d.ts.map +0 -0
  689. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.js +0 -0
  690. /package/{dist → packages/core/dist}/jira/jira-epic-creation.test.js.map +0 -0
  691. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.d.ts +0 -0
  692. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.d.ts.map +0 -0
  693. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.js +0 -0
  694. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.js.map +0 -0
  695. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.d.ts +0 -0
  696. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.d.ts.map +0 -0
  697. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.js +0 -0
  698. /package/{dist → packages/core/dist}/jira/jira-sprint-sync.test.js.map +0 -0
  699. /package/{dist → packages/core/dist}/permissions/index.d.ts +0 -0
  700. /package/{dist → packages/core/dist}/permissions/index.d.ts.map +0 -0
  701. /package/{dist → packages/core/dist}/permissions/index.js +0 -0
  702. /package/{dist → packages/core/dist}/permissions/index.js.map +0 -0
  703. /package/{dist → packages/core/dist}/permissions/permission-schema.d.ts +0 -0
  704. /package/{dist → packages/core/dist}/permissions/permission-schema.d.ts.map +0 -0
  705. /package/{dist → packages/core/dist}/permissions/permission-schema.js +0 -0
  706. /package/{dist → packages/core/dist}/permissions/permission-schema.js.map +0 -0
  707. /package/{dist → packages/core/dist}/permissions/permission-schema.test.d.ts +0 -0
  708. /package/{dist → packages/core/dist}/permissions/permission-schema.test.d.ts.map +0 -0
  709. /package/{dist → packages/core/dist}/permissions/permission-schema.test.js +0 -0
  710. /package/{dist → packages/core/dist}/permissions/permission-schema.test.js.map +0 -0
  711. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.d.ts +0 -0
  712. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.d.ts.map +0 -0
  713. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.js +0 -0
  714. /package/{dist → packages/core/dist}/scripts/add-ocean-profiles.js.map +0 -0
  715. /package/{dist → packages/core/dist}/scripts/benchmark-integration.d.ts +0 -0
  716. /package/{dist → packages/core/dist}/scripts/benchmark-integration.d.ts.map +0 -0
  717. /package/{dist → packages/core/dist}/scripts/benchmark-integration.js +0 -0
  718. /package/{dist → packages/core/dist}/scripts/benchmark-integration.js.map +0 -0
  719. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.d.ts +0 -0
  720. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.d.ts.map +0 -0
  721. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.js +0 -0
  722. /package/{dist → packages/core/dist}/scripts/benchmark-integration.test.js.map +0 -0
  723. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.d.ts +0 -0
  724. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.d.ts.map +0 -0
  725. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.js +0 -0
  726. /package/{dist → packages/core/dist}/scripts/debugging-scenarios.test.js.map +0 -0
  727. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.d.ts +0 -0
  728. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.d.ts.map +0 -0
  729. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.js +0 -0
  730. /package/{dist → packages/core/dist}/scripts/generate-all-spiders.js.map +0 -0
  731. /package/{dist → packages/core/dist}/scripts/generate-report.d.ts +0 -0
  732. /package/{dist → packages/core/dist}/scripts/generate-report.d.ts.map +0 -0
  733. /package/{dist → packages/core/dist}/scripts/generate-report.js +0 -0
  734. /package/{dist → packages/core/dist}/scripts/generate-report.js.map +0 -0
  735. /package/{dist → packages/core/dist}/scripts/generate-report.test.d.ts +0 -0
  736. /package/{dist → packages/core/dist}/scripts/generate-report.test.d.ts.map +0 -0
  737. /package/{dist → packages/core/dist}/scripts/generate-report.test.js +0 -0
  738. /package/{dist → packages/core/dist}/scripts/generate-report.test.js.map +0 -0
  739. /package/{dist → packages/core/dist}/scripts/generate-spider-report.d.ts +0 -0
  740. /package/{dist → packages/core/dist}/scripts/generate-spider-report.d.ts.map +0 -0
  741. /package/{dist → packages/core/dist}/scripts/generate-spider-report.js +0 -0
  742. /package/{dist → packages/core/dist}/scripts/generate-spider-report.js.map +0 -0
  743. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.d.ts +0 -0
  744. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.d.ts.map +0 -0
  745. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.js +0 -0
  746. /package/{dist → packages/core/dist}/scripts/generate-spider-report.test.js.map +0 -0
  747. /package/{dist → packages/core/dist}/scripts/generate-spider.d.ts +0 -0
  748. /package/{dist → packages/core/dist}/scripts/generate-spider.d.ts.map +0 -0
  749. /package/{dist → packages/core/dist}/scripts/generate-spider.js +0 -0
  750. /package/{dist → packages/core/dist}/scripts/generate-spider.js.map +0 -0
  751. /package/{dist → packages/core/dist}/scripts/generate-spider.test.d.ts +0 -0
  752. /package/{dist → packages/core/dist}/scripts/generate-spider.test.d.ts.map +0 -0
  753. /package/{dist → packages/core/dist}/scripts/generate-spider.test.js +0 -0
  754. /package/{dist → packages/core/dist}/scripts/generate-spider.test.js.map +0 -0
  755. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.d.ts +0 -0
  756. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.d.ts.map +0 -0
  757. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.js +0 -0
  758. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.js.map +0 -0
  759. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.d.ts +0 -0
  760. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.d.ts.map +0 -0
  761. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.js +0 -0
  762. /package/{dist → packages/core/dist}/scripts/job-fair-aggregator.test.js.map +0 -0
  763. /package/{dist → packages/core/dist}/scripts/run-ci.test.d.ts +0 -0
  764. /package/{dist → packages/core/dist}/scripts/run-ci.test.d.ts.map +0 -0
  765. /package/{dist → packages/core/dist}/scripts/run-ci.test.js +0 -0
  766. /package/{dist → packages/core/dist}/scripts/run-ci.test.js.map +0 -0
  767. /package/{dist → packages/core/dist}/scripts/theme-detail.test.d.ts +0 -0
  768. /package/{dist → packages/core/dist}/scripts/theme-detail.test.d.ts.map +0 -0
  769. /package/{dist → packages/core/dist}/scripts/theme-detail.test.js +0 -0
  770. /package/{dist → packages/core/dist}/scripts/theme-detail.test.js.map +0 -0
  771. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.d.ts +0 -0
  772. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.d.ts.map +0 -0
  773. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.js +0 -0
  774. /package/{dist → packages/core/dist}/scripts/validate-ocean-profiles.js.map +0 -0
  775. /package/{dist → packages/core/dist}/workflow/gate-handler.d.ts +0 -0
  776. /package/{dist → packages/core/dist}/workflow/gate-handler.d.ts.map +0 -0
  777. /package/{dist → packages/core/dist}/workflow/gate-handler.js +0 -0
  778. /package/{dist → packages/core/dist}/workflow/gate-handler.js.map +0 -0
  779. /package/{dist → packages/core/dist}/workflow/gate-handler.test.d.ts +0 -0
  780. /package/{dist → packages/core/dist}/workflow/gate-handler.test.d.ts.map +0 -0
  781. /package/{dist → packages/core/dist}/workflow/gate-handler.test.js +0 -0
  782. /package/{dist → packages/core/dist}/workflow/gate-handler.test.js.map +0 -0
  783. /package/{dist → packages/core/dist}/workflow/generic-handoff.d.ts +0 -0
  784. /package/{dist → packages/core/dist}/workflow/generic-handoff.d.ts.map +0 -0
  785. /package/{dist → packages/core/dist}/workflow/generic-handoff.js +0 -0
  786. /package/{dist → packages/core/dist}/workflow/generic-handoff.js.map +0 -0
  787. /package/{dist → packages/core/dist}/workflow/generic-handoff.test.d.ts +0 -0
  788. /package/{dist → packages/core/dist}/workflow/generic-handoff.test.d.ts.map +0 -0
  789. /package/{dist → packages/core/dist}/workflow/generic-handoff.test.js +0 -0
  790. /package/{dist → packages/core/dist}/workflow/generic-handoff.test.js.map +0 -0
  791. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.d.ts +0 -0
  792. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.d.ts.map +0 -0
  793. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.js +0 -0
  794. /package/{dist → packages/core/dist}/workflow/generic-sm-finish.js.map +0 -0
  795. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.d.ts +0 -0
  796. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.d.ts.map +0 -0
  797. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.js +0 -0
  798. /package/{dist → packages/core/dist}/workflow/generic-sm-setup.js.map +0 -0
  799. /package/{dist → packages/core/dist}/workflow/index.d.ts +0 -0
  800. /package/{dist → packages/core/dist}/workflow/index.d.ts.map +0 -0
  801. /package/{dist → packages/core/dist}/workflow/index.js +0 -0
  802. /package/{dist → packages/core/dist}/workflow/index.js.map +0 -0
  803. /package/{dist → packages/core/dist}/workflow/session-state.d.ts +0 -0
  804. /package/{dist → packages/core/dist}/workflow/session-state.d.ts.map +0 -0
  805. /package/{dist → packages/core/dist}/workflow/session-state.js +0 -0
  806. /package/{dist → packages/core/dist}/workflow/session-state.js.map +0 -0
  807. /package/{dist → packages/core/dist}/workflow/session-state.test.d.ts +0 -0
  808. /package/{dist → packages/core/dist}/workflow/session-state.test.d.ts.map +0 -0
  809. /package/{dist → packages/core/dist}/workflow/session-state.test.js +0 -0
  810. /package/{dist → packages/core/dist}/workflow/session-state.test.js.map +0 -0
  811. /package/{dist → packages/core/dist}/workflow/sm-subagents.test.d.ts.map +0 -0
  812. /package/{dist → packages/core/dist}/workflow/step-parser.d.ts +0 -0
  813. /package/{dist → packages/core/dist}/workflow/step-parser.d.ts.map +0 -0
  814. /package/{dist → packages/core/dist}/workflow/step-parser.js +0 -0
  815. /package/{dist → packages/core/dist}/workflow/step-parser.js.map +0 -0
  816. /package/{dist → packages/core/dist}/workflow/step-parser.test.d.ts +0 -0
  817. /package/{dist → packages/core/dist}/workflow/step-parser.test.d.ts.map +0 -0
  818. /package/{dist → packages/core/dist}/workflow/step-parser.test.js +0 -0
  819. /package/{dist → packages/core/dist}/workflow/step-parser.test.js.map +0 -0
  820. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.d.ts +0 -0
  821. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.d.ts.map +0 -0
  822. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.js +0 -0
  823. /package/{dist → packages/core/dist}/workflow/story-workflow-routing.test.js.map +0 -0
  824. /package/{dist → packages/core/dist}/workflow/test-cache.d.ts +0 -0
  825. /package/{dist → packages/core/dist}/workflow/test-cache.d.ts.map +0 -0
  826. /package/{dist → packages/core/dist}/workflow/test-cache.js +0 -0
  827. /package/{dist → packages/core/dist}/workflow/test-cache.js.map +0 -0
  828. /package/{dist → packages/core/dist}/workflow/test-cache.test.d.ts +0 -0
  829. /package/{dist → packages/core/dist}/workflow/test-cache.test.d.ts.map +0 -0
  830. /package/{dist → packages/core/dist}/workflow/test-cache.test.js +0 -0
  831. /package/{dist → packages/core/dist}/workflow/test-cache.test.js.map +0 -0
  832. /package/{dist → packages/core/dist}/workflow/trimodal.d.ts +0 -0
  833. /package/{dist → packages/core/dist}/workflow/trimodal.d.ts.map +0 -0
  834. /package/{dist → packages/core/dist}/workflow/trimodal.js +0 -0
  835. /package/{dist → packages/core/dist}/workflow/trimodal.js.map +0 -0
  836. /package/{dist → packages/core/dist}/workflow/trimodal.test.d.ts +0 -0
  837. /package/{dist → packages/core/dist}/workflow/trimodal.test.d.ts.map +0 -0
  838. /package/{dist → packages/core/dist}/workflow/trimodal.test.js +0 -0
  839. /package/{dist → packages/core/dist}/workflow/trimodal.test.js.map +0 -0
  840. /package/{dist → packages/core/dist}/workflow/variable-resolver.d.ts +0 -0
  841. /package/{dist → packages/core/dist}/workflow/variable-resolver.d.ts.map +0 -0
  842. /package/{dist → packages/core/dist}/workflow/variable-resolver.js +0 -0
  843. /package/{dist → packages/core/dist}/workflow/variable-resolver.js.map +0 -0
  844. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.d.ts +0 -0
  845. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.d.ts.map +0 -0
  846. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.js +0 -0
  847. /package/{dist → packages/core/dist}/workflow/variable-resolver.test.js.map +0 -0
  848. /package/{dist → packages/core/dist}/workflow/workflow-executor.d.ts +0 -0
  849. /package/{dist → packages/core/dist}/workflow/workflow-executor.d.ts.map +0 -0
  850. /package/{dist → packages/core/dist}/workflow/workflow-executor.js +0 -0
  851. /package/{dist → packages/core/dist}/workflow/workflow-executor.js.map +0 -0
  852. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.d.ts +0 -0
  853. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.d.ts.map +0 -0
  854. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.js +0 -0
  855. /package/{dist → packages/core/dist}/workflow/workflow-executor.test.js.map +0 -0
  856. /package/{dist → packages/core/dist}/workflow/workflow-loader.d.ts +0 -0
  857. /package/{dist → packages/core/dist}/workflow/workflow-loader.d.ts.map +0 -0
  858. /package/{dist → packages/core/dist}/workflow/workflow-loader.js +0 -0
  859. /package/{dist → packages/core/dist}/workflow/workflow-loader.js.map +0 -0
  860. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.d.ts +0 -0
  861. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.d.ts.map +0 -0
  862. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.js +0 -0
  863. /package/{dist → packages/core/dist}/workflow/workflow-loader.test.js.map +0 -0
  864. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.d.ts +0 -0
  865. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.d.ts.map +0 -0
  866. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.js +0 -0
  867. /package/{dist → packages/core/dist}/workflow/workflow-migration.test.js.map +0 -0
  868. /package/{dist → packages/core/dist}/workflow/workflow-permissions.d.ts +0 -0
  869. /package/{dist → packages/core/dist}/workflow/workflow-permissions.d.ts.map +0 -0
  870. /package/{dist → packages/core/dist}/workflow/workflow-permissions.js +0 -0
  871. /package/{dist → packages/core/dist}/workflow/workflow-permissions.js.map +0 -0
  872. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.d.ts +0 -0
  873. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.d.ts.map +0 -0
  874. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.js +0 -0
  875. /package/{dist → packages/core/dist}/workflow/workflow-permissions.test.js.map +0 -0
  876. /package/{dist → packages/core/dist}/workflow/workflow-router.d.ts +0 -0
  877. /package/{dist → packages/core/dist}/workflow/workflow-router.d.ts.map +0 -0
  878. /package/{dist → packages/core/dist}/workflow/workflow-router.js +0 -0
  879. /package/{dist → packages/core/dist}/workflow/workflow-router.js.map +0 -0
  880. /package/{dist → packages/core/dist}/workflow/workflow-router.test.d.ts +0 -0
  881. /package/{dist → packages/core/dist}/workflow/workflow-router.test.d.ts.map +0 -0
  882. /package/{dist → packages/core/dist}/workflow/workflow-router.test.js +0 -0
  883. /package/{dist → packages/core/dist}/workflow/workflow-router.test.js.map +0 -0
  884. /package/{dist → packages/core/dist}/workflow/workflow-schema.d.ts +0 -0
  885. /package/{dist → packages/core/dist}/workflow/workflow-schema.d.ts.map +0 -0
  886. /package/{dist → packages/core/dist}/workflow/workflow-schema.js +0 -0
  887. /package/{dist → packages/core/dist}/workflow/workflow-schema.js.map +0 -0
  888. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.d.ts +0 -0
  889. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.d.ts.map +0 -0
  890. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.js +0 -0
  891. /package/{dist → packages/core/dist}/workflow/workflow-schema.test.js.map +0 -0
  892. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.d.ts +0 -0
  893. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.d.ts.map +0 -0
  894. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.js +0 -0
  895. /package/{dist → packages/core/dist}/workflow/workflow-stepped-schema.test.js.map +0 -0
@@ -1,418 +0,0 @@
1
- import { readFileSync, writeFileSync, symlinkSync, copyFileSync, readdirSync } from 'fs';
2
- import { join, relative } from 'path';
3
- import fsExtra from 'fs-extra';
4
- const { ensureDirSync, removeSync } = fsExtra;
5
- import { logger } from '../utils/logger.js';
6
- import { manifestExists, readManifest, writeManifest, createManifest } from '../utils/manifest.js';
7
- import { pathExists, isDirectory, isSymlink, hashFile } from '../utils/files.js';
8
- import { getPackageVersion, getAssetsPath } from '../utils/version.js';
9
- import { computeRelativeSymlink, createCommandsDirectory, createSkillsDirectory, needsCommandsMigration, needsSkillsMigration } from '../utils/symlinks.js';
10
- import { findNodeModulesPath } from '../utils/node-modules.js';
11
- import { DIRECTORY_SYMLINKS, CORE_AGENTS } from '../utils/constants.js';
12
- export async function updateCommand(options) {
13
- const projectRoot = process.cwd();
14
- const dryRun = options.dryRun;
15
- // 1. Check for manifest
16
- if (!manifestExists(projectRoot)) {
17
- logger.error('Pennyfarthing not initialized. Run `pennyfarthing init` first.');
18
- process.exit(1);
19
- }
20
- const manifest = readManifest(projectRoot);
21
- if (!manifest) {
22
- logger.error('Failed to read manifest');
23
- process.exit(1);
24
- }
25
- // 2. Compare versions
26
- const packageVersion = getPackageVersion();
27
- const updateInfo = await checkForUpdates(projectRoot, manifest);
28
- if (options.check) {
29
- // Just check and exit
30
- if (updateInfo.needsUpdate) {
31
- logger.info(`Update available: ${updateInfo.currentVersion} → ${updateInfo.availableVersion}`);
32
- process.exit(0);
33
- }
34
- else {
35
- logger.success(`Already up to date (v${updateInfo.currentVersion})`);
36
- process.exit(0);
37
- }
38
- }
39
- // 3. Show update info
40
- logger.header('Pennyfarthing Update');
41
- // Check installation type and node_modules availability
42
- const nodeModulesPath = findNodeModulesPath(projectRoot);
43
- const currentInstallType = manifest.installationType || 'copy'; // Default to copy for old manifests
44
- // Always check and update settings (idempotent - only makes changes if needed)
45
- const assetsPath = getAssetsPath();
46
- // Copy mode is no longer supported - require fresh install
47
- if (currentInstallType === 'copy') {
48
- logger.error('Copy mode installations are no longer supported.');
49
- logger.error('');
50
- logger.error('Please reinstall with npm:');
51
- logger.error(' npm install pennyfarthing');
52
- logger.error(' npx pennyfarthing init --force');
53
- process.exit(1);
54
- }
55
- // Must have node_modules for symlink mode
56
- if (!nodeModulesPath) {
57
- logger.error('@pennyfarthing/core (or pennyfarthing) not found');
58
- logger.error('');
59
- logger.error('Please ensure pennyfarthing is installed:');
60
- logger.error(' npm install pennyfarthing');
61
- process.exit(1);
62
- }
63
- const settingsUpdated = await mergeSettingsHooks(projectRoot, assetsPath, { dryRun });
64
- if (!updateInfo.needsUpdate && updateInfo.userModifiedFiles.length === 0 && !settingsUpdated) {
65
- logger.success(`Already up to date (v${updateInfo.currentVersion})`);
66
- return;
67
- }
68
- if (updateInfo.needsUpdate) {
69
- logger.info(`Updating ${updateInfo.currentVersion} → ${updateInfo.availableVersion}`);
70
- }
71
- else {
72
- logger.info(`Refreshing files (v${updateInfo.currentVersion})`);
73
- }
74
- if (dryRun) {
75
- logger.info('Dry run mode - no changes will be made');
76
- }
77
- // Symlink mode: verify symlinks are correct
78
- await updateSymlinkMode(projectRoot, nodeModulesPath, manifest, packageVersion, { dryRun });
79
- // 7. Success
80
- logger.newline();
81
- logger.success(`Updated to v${packageVersion}`);
82
- // 8. Run doctor
83
- logger.newline();
84
- logger.info('Running health check...');
85
- const { doctorCommand } = await import('./doctor.js');
86
- await doctorCommand({ quiet: true });
87
- }
88
- /**
89
- * Update in symlink mode - verify symlinks point to correct location
90
- */
91
- async function updateSymlinkMode(projectRoot, nodeModulesPath, manifest, version, options) {
92
- const dryRun = options.dryRun;
93
- logger.newline();
94
- logger.info('Verifying symlinks...');
95
- // Verify standard symlinks (not commands or skills - handled separately)
96
- for (const { name, link } of DIRECTORY_SYMLINKS) {
97
- const linkPath = join(projectRoot, link);
98
- const targetPath = join(nodeModulesPath, name);
99
- const expectedRelative = computeRelativeSymlink(linkPath, targetPath);
100
- if (!isSymlink(linkPath)) {
101
- // Create missing symlink
102
- if (!dryRun) {
103
- try {
104
- if (pathExists(linkPath)) {
105
- removeSync(linkPath);
106
- }
107
- symlinkSync(expectedRelative, linkPath);
108
- logger.created(`${link} -> ${expectedRelative}`);
109
- }
110
- catch (e) {
111
- logger.warning(`Could not create symlink ${link}: ${e}`);
112
- }
113
- }
114
- }
115
- else {
116
- // Verify symlink points to correct location
117
- logger.info(` ✓ ${link}`);
118
- }
119
- }
120
- // Handle commands directory - migrate from symlink to directory if needed
121
- const projectCommandsDir = join(projectRoot, '.claude/project/commands');
122
- if (!pathExists(projectCommandsDir)) {
123
- if (!dryRun) {
124
- ensureDirSync(projectCommandsDir);
125
- }
126
- logger.created('.claude/project/commands/ (for user custom commands)');
127
- }
128
- if (needsCommandsMigration(projectRoot)) {
129
- logger.info('Migrating commands to new directory structure...');
130
- const builtInCommandsPath = join(nodeModulesPath, 'commands');
131
- createCommandsDirectory(projectRoot, builtInCommandsPath, projectCommandsDir, dryRun || false);
132
- }
133
- else {
134
- const commandsDir = join(projectRoot, '.claude/commands');
135
- if (isDirectory(commandsDir)) {
136
- logger.info(` ✓ .claude/commands/ (directory with individual symlinks)`);
137
- }
138
- }
139
- // Handle skills directory - migrate from symlink to directory if needed
140
- const projectSkillsDir = join(projectRoot, '.claude/project/skills');
141
- if (!pathExists(projectSkillsDir)) {
142
- if (!dryRun) {
143
- ensureDirSync(projectSkillsDir);
144
- }
145
- logger.created('.claude/project/skills/ (for user custom skills)');
146
- }
147
- if (needsSkillsMigration(projectRoot)) {
148
- logger.info('Migrating skills to new directory structure...');
149
- const builtInSkillsPath = join(nodeModulesPath, 'skills');
150
- createSkillsDirectory(projectRoot, builtInSkillsPath, projectSkillsDir, dryRun || false);
151
- }
152
- else {
153
- const skillsDir = join(projectRoot, '.claude/skills');
154
- if (isDirectory(skillsDir)) {
155
- logger.info(` ✓ .claude/skills/ (directory with individual symlinks)`);
156
- }
157
- }
158
- // Migrate sidecars from old location to new location
159
- await migrateSidecars(projectRoot, { dryRun });
160
- // Update settings
161
- const assetsPath = getAssetsPath();
162
- await mergeSettingsHooks(projectRoot, assetsPath, { dryRun });
163
- // Update manifest version
164
- logger.newline();
165
- logger.info('Updating manifest...');
166
- const nodeModulesRelPath = relative(projectRoot, nodeModulesPath);
167
- const newManifest = createManifest(manifest?.projectName || 'unknown', version, {
168
- nodeModulesPath: nodeModulesRelPath
169
- });
170
- writeManifest(projectRoot, newManifest, { dryRun });
171
- logger.updated('.claude/manifest.json');
172
- }
173
- /**
174
- * Migrate sidecars from .claude/project/agents/{agent}-sidecar/ to .pennyfarthing/sidecars/{agent}/
175
- * Also migrates from old sprint/sidecars/ location
176
- * Preserves user content while moving to new location
177
- */
178
- async function migrateSidecars(projectRoot, options) {
179
- const dryRun = options.dryRun;
180
- let migrated = 0;
181
- // Ensure new sidecars directory exists
182
- const newSidecarsDir = join(projectRoot, '.pennyfarthing/sidecars');
183
- if (!pathExists(newSidecarsDir)) {
184
- if (!dryRun) {
185
- ensureDirSync(newSidecarsDir);
186
- }
187
- }
188
- for (const agent of CORE_AGENTS) {
189
- // Check both legacy locations
190
- const legacyDir1 = join(projectRoot, `.claude/project/agents/${agent}-sidecar`);
191
- const legacyDir2 = join(projectRoot, `sprint/sidecars/${agent}`);
192
- const oldDir = pathExists(legacyDir1) ? legacyDir1 : (pathExists(legacyDir2) ? legacyDir2 : null);
193
- const newDir = join(projectRoot, `.pennyfarthing/sidecars/${agent}`);
194
- // Skip if no legacy directory found
195
- if (!oldDir) {
196
- continue;
197
- }
198
- // Create new directory if needed
199
- if (!pathExists(newDir)) {
200
- if (!dryRun) {
201
- ensureDirSync(newDir);
202
- }
203
- }
204
- // Copy each .md file from old to new (don't overwrite existing)
205
- try {
206
- const files = readdirSync(oldDir);
207
- for (const file of files) {
208
- if (!file.endsWith('.md'))
209
- continue;
210
- const oldPath = join(oldDir, file);
211
- const newPath = join(newDir, file);
212
- // Don't overwrite if new file already exists
213
- if (pathExists(newPath)) {
214
- continue;
215
- }
216
- if (!dryRun) {
217
- copyFileSync(oldPath, newPath);
218
- }
219
- migrated++;
220
- }
221
- }
222
- catch {
223
- // Ignore errors reading old directory
224
- }
225
- }
226
- if (migrated > 0) {
227
- logger.info(`Migrated ${migrated} sidecar files to .pennyfarthing/sidecars/`);
228
- }
229
- // Clean up old sprint/sidecars directory if it exists and is now empty or fully migrated
230
- const oldSprintSidecars = join(projectRoot, 'sprint/sidecars');
231
- if (pathExists(oldSprintSidecars)) {
232
- try {
233
- const remaining = readdirSync(oldSprintSidecars);
234
- // Check if all remaining items are agent directories that have been migrated
235
- const allMigrated = remaining.every(item => {
236
- const itemPath = join(oldSprintSidecars, item);
237
- if (!isDirectory(itemPath))
238
- return false;
239
- // Check if this agent's sidecar now exists in new location
240
- const newAgentDir = join(projectRoot, `.pennyfarthing/sidecars/${item}`);
241
- return pathExists(newAgentDir);
242
- });
243
- if (allMigrated && !dryRun) {
244
- removeSync(oldSprintSidecars);
245
- logger.info('Removed legacy sprint/sidecars/ directory');
246
- }
247
- }
248
- catch {
249
- // Ignore cleanup errors
250
- }
251
- }
252
- }
253
- async function checkForUpdates(projectRoot, manifest) {
254
- const packageVersion = getPackageVersion();
255
- const assetsPath = getAssetsPath();
256
- const changedFiles = [];
257
- const userModifiedFiles = [];
258
- if (!manifest) {
259
- return {
260
- currentVersion: '0.0.0',
261
- availableVersion: packageVersion,
262
- needsUpdate: true,
263
- changedFiles: [],
264
- userModifiedFiles: []
265
- };
266
- }
267
- // Check each file in manifest
268
- for (const [filePath, expectedHash] of Object.entries(manifest.fileHashes)) {
269
- const fullPath = join(projectRoot, filePath);
270
- if (!pathExists(fullPath)) {
271
- changedFiles.push(filePath);
272
- continue;
273
- }
274
- const currentHash = hashFile(fullPath);
275
- if (currentHash !== expectedHash) {
276
- // File has been modified locally
277
- userModifiedFiles.push(filePath);
278
- }
279
- // Check if package has a newer version
280
- // Map installed path back to source path
281
- const assetsFile = filePath
282
- .replace('.claude/pennyfarthing/', '')
283
- .replace('scripts/', 'scripts/');
284
- const assetsFilePath = join(assetsPath, assetsFile);
285
- if (pathExists(assetsFilePath)) {
286
- const packageHash = hashFile(assetsFilePath);
287
- if (packageHash !== expectedHash) {
288
- changedFiles.push(filePath);
289
- }
290
- }
291
- }
292
- // Compare versions
293
- const needsUpdate = compareVersions(packageVersion, manifest.version) > 0;
294
- return {
295
- currentVersion: manifest.version,
296
- availableVersion: packageVersion,
297
- needsUpdate,
298
- changedFiles,
299
- userModifiedFiles
300
- };
301
- }
302
- function compareVersions(a, b) {
303
- const partsA = a.split('.').map(Number);
304
- const partsB = b.split('.').map(Number);
305
- for (let i = 0; i < Math.max(partsA.length, partsB.length); i++) {
306
- const numA = partsA[i] || 0;
307
- const numB = partsB[i] || 0;
308
- if (numA > numB)
309
- return 1;
310
- if (numA < numB)
311
- return -1;
312
- }
313
- return 0;
314
- }
315
- /**
316
- * Merge required hooks into existing settings.local.json
317
- * This ensures critical hooks like SessionStart are always configured
318
- * Returns true if any changes were made
319
- */
320
- async function mergeSettingsHooks(projectRoot, assetsPath, options) {
321
- const settingsPath = join(projectRoot, '.claude/settings.local.json');
322
- const templatePath = join(assetsPath, 'templates/settings.local.json.template');
323
- if (!pathExists(templatePath)) {
324
- return false;
325
- }
326
- const templateContent = JSON.parse(readFileSync(templatePath, 'utf8'));
327
- // If no existing settings, create from template
328
- if (!pathExists(settingsPath)) {
329
- if (!options.dryRun) {
330
- ensureDirSync(join(projectRoot, '.claude'));
331
- writeFileSync(settingsPath, JSON.stringify(templateContent, null, 2), 'utf8');
332
- }
333
- logger.created('.claude/settings.local.json');
334
- return true;
335
- }
336
- // Read existing settings
337
- let existingSettings;
338
- try {
339
- existingSettings = JSON.parse(readFileSync(settingsPath, 'utf8'));
340
- }
341
- catch {
342
- logger.warning('Could not parse existing settings.local.json, skipping merge');
343
- return false;
344
- }
345
- let modified = false;
346
- // Ensure hooks object exists
347
- if (!existingSettings.hooks) {
348
- existingSettings.hooks = {};
349
- modified = true;
350
- }
351
- const hooks = existingSettings.hooks;
352
- // Merge SessionStart hooks - these are critical for PROJECT_ROOT
353
- if (!hooks.SessionStart) {
354
- hooks.SessionStart = templateContent.hooks?.SessionStart || [];
355
- modified = true;
356
- logger.info('Added missing SessionStart hooks');
357
- }
358
- else if (Array.isArray(hooks.SessionStart)) {
359
- // Check if session-start.sh hook is configured
360
- const hasSessionStartHook = hooks.SessionStart.some((entry) => {
361
- if (typeof entry === 'object' && entry !== null) {
362
- const hookEntry = entry;
363
- return hookEntry.hooks?.some(h => h.command?.includes('session-start.sh'));
364
- }
365
- return false;
366
- });
367
- if (!hasSessionStartHook && templateContent.hooks?.SessionStart) {
368
- // Prepend the session-start.sh hook entry
369
- const sessionStartEntry = templateContent.hooks.SessionStart.find((entry) => {
370
- if (typeof entry === 'object' && entry !== null) {
371
- const hookEntry = entry;
372
- return hookEntry.hooks?.some(h => h.command?.includes('session-start.sh'));
373
- }
374
- return false;
375
- });
376
- if (sessionStartEntry) {
377
- hooks.SessionStart = [sessionStartEntry, ...hooks.SessionStart];
378
- modified = true;
379
- logger.info('Added missing session-start.sh hook');
380
- }
381
- }
382
- }
383
- // Merge SessionEnd hooks if missing
384
- if (!hooks.SessionEnd && templateContent.hooks?.SessionEnd) {
385
- hooks.SessionEnd = templateContent.hooks.SessionEnd;
386
- modified = true;
387
- logger.info('Added missing SessionEnd hooks');
388
- }
389
- // Ensure statusLine is configured and points to new location
390
- const statusLine = existingSettings.statusLine;
391
- if (!statusLine) {
392
- existingSettings.statusLine = templateContent.statusLine;
393
- modified = true;
394
- logger.info('Added missing statusLine configuration');
395
- }
396
- else if (statusLine.command && typeof statusLine.command === 'string') {
397
- // Migrate from any legacy path to new path (.claude/scripts/statusline.sh)
398
- const legacyPaths = [
399
- '.claude/core/statusline.sh',
400
- '.claude/statusline.sh',
401
- '.claude/pennyfarthing/statusline.sh' // Also migrate from old copy-mode path
402
- ];
403
- for (const legacyPath of legacyPaths) {
404
- if (statusLine.command.includes(legacyPath)) {
405
- statusLine.command = statusLine.command.replace(legacyPath, '.claude/scripts/statusline.sh');
406
- modified = true;
407
- logger.info(`Updated statusLine path from ${legacyPath} to new location`);
408
- break;
409
- }
410
- }
411
- }
412
- if (modified && !options.dryRun) {
413
- writeFileSync(settingsPath, JSON.stringify(existingSettings, null, 2), 'utf8');
414
- logger.updated('.claude/settings.local.json');
415
- }
416
- return modified;
417
- }
418
- //# sourceMappingURL=update.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/cli/commands/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AACzF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;A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C,OAAO,CAAC,MAAM,EAAE,CAAC;QAChC,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;QAC/E,MAAM,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAChD,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"node-modules.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/node-modules.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAwBtE"}
@@ -1,31 +0,0 @@
1
- import { join, dirname } from 'path';
2
- import { pathExists } from './files.js';
3
- /**
4
- * Find pennyfarthing in node_modules (handles monorepo hoisting)
5
- * Returns the absolute path to pennyfarthing-dist/ or null if not found
6
- */
7
- export function findNodeModulesPath(projectRoot) {
8
- // Package locations to check (in priority order)
9
- const packagePaths = [
10
- '@pennyfarthing/core/pennyfarthing-dist', // Scoped package (current)
11
- 'pennyfarthing/pennyfarthing-dist', // Legacy unscoped package
12
- ];
13
- // Check standard location first
14
- for (const pkgPath of packagePaths) {
15
- const standard = join(projectRoot, 'node_modules', pkgPath);
16
- if (pathExists(standard))
17
- return standard;
18
- }
19
- // Check hoisted locations (monorepo)
20
- let dir = dirname(projectRoot);
21
- while (dir !== '/' && dir !== dirname(dir)) {
22
- for (const pkgPath of packagePaths) {
23
- const hoisted = join(dir, 'node_modules', pkgPath);
24
- if (pathExists(hoisted))
25
- return hoisted;
26
- }
27
- dir = dirname(dir);
28
- }
29
- return null;
30
- }
31
- //# sourceMappingURL=node-modules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node-modules.js","sourceRoot":"","sources":["../../../src/cli/utils/node-modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CAAC,WAAmB;IACrD,iDAAiD;IACjD,MAAM,YAAY,GAAG;QACnB,wCAAwC,EAAG,2BAA2B;QACtE,kCAAkC,EAAU,0BAA0B;KACvE,CAAC;IAEF,gCAAgC;IAChC,KAAK,MAAM,OAAO,IAAI,YAAY,EAAE,CAAC;QACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;QAC5D,IAAI,UAAU,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAC;IAC5C,CAAC;IAED,qCAAqC;IACrC,IAAI,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IAC/B,OAAO,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QAC3C,KAAK,MAAM,OAAO,IAAI,YAAY,EAAE,CAAC;YACnC,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;YACnD,IAAI,UAAU,CAAC,OAAO,CAAC;gBAAE,OAAO,OAAO,CAAC;QAC1C,CAAC;QACD,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -1,151 +0,0 @@
1
- /**
2
- * Story 11-2: pnpm Workspace Structure Tests
3
- *
4
- * These tests verify the monorepo workspace structure is correctly configured.
5
- * Tests are designed to FAIL until the workspace conversion is complete.
6
- */
7
- import { describe, it } from 'node:test';
8
- import assert from 'node:assert';
9
- import { existsSync, readFileSync } from 'node:fs';
10
- import { join, dirname } from 'node:path';
11
- import { fileURLToPath } from 'node:url';
12
- import { parse as parseYaml } from 'yaml';
13
- import { execSync } from 'node:child_process';
14
- import { findMonorepoRoot } from './utils/files.js';
15
- const __filename = fileURLToPath(import.meta.url);
16
- const __dirname = dirname(__filename);
17
- // Use shared utility to find monorepo root
18
- const PROJECT_ROOT = findMonorepoRoot(__dirname);
19
- describe('Story 11-2: pnpm Workspace Structure', () => {
20
- describe('AC1: packages/core/src/ contains former src/', () => {
21
- it('should have packages/core directory', () => {
22
- const coreDir = join(PROJECT_ROOT, 'packages', 'core');
23
- assert.ok(existsSync(coreDir), 'packages/core/ directory must exist');
24
- });
25
- it('should have packages/core/src directory', () => {
26
- const coreSrcDir = join(PROJECT_ROOT, 'packages', 'core', 'src');
27
- assert.ok(existsSync(coreSrcDir), 'packages/core/src/ directory must exist');
28
- });
29
- it('should have CLI commands in packages/core/src/cli', () => {
30
- const cliDir = join(PROJECT_ROOT, 'packages', 'core', 'src', 'cli');
31
- assert.ok(existsSync(cliDir), 'packages/core/src/cli/ directory must exist');
32
- });
33
- it('should have packages/core/bin/pennyfarthing.js', () => {
34
- const binFile = join(PROJECT_ROOT, 'packages', 'core', 'bin', 'pennyfarthing.js');
35
- assert.ok(existsSync(binFile), 'packages/core/bin/pennyfarthing.js must exist');
36
- });
37
- it('should have packages/core/package.json', () => {
38
- const packageJson = join(PROJECT_ROOT, 'packages', 'core', 'package.json');
39
- assert.ok(existsSync(packageJson), 'packages/core/package.json must exist');
40
- });
41
- it('should have @pennyfarthing/core as package name', () => {
42
- const packageJsonPath = join(PROJECT_ROOT, 'packages', 'core', 'package.json');
43
- if (!existsSync(packageJsonPath)) {
44
- assert.fail('packages/core/package.json must exist first');
45
- }
46
- const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
47
- assert.strictEqual(pkg.name, '@pennyfarthing/core', 'Package name must be @pennyfarthing/core');
48
- });
49
- });
50
- describe('AC2: pnpm-workspace.yaml defines packages/*', () => {
51
- it('should have pnpm-workspace.yaml at project root', () => {
52
- const workspaceYaml = join(PROJECT_ROOT, 'pnpm-workspace.yaml');
53
- assert.ok(existsSync(workspaceYaml), 'pnpm-workspace.yaml must exist at project root');
54
- });
55
- it('should define packages/* in workspace', () => {
56
- const workspaceYamlPath = join(PROJECT_ROOT, 'pnpm-workspace.yaml');
57
- if (!existsSync(workspaceYamlPath)) {
58
- assert.fail('pnpm-workspace.yaml must exist first');
59
- }
60
- const content = readFileSync(workspaceYamlPath, 'utf-8');
61
- const workspace = parseYaml(content);
62
- assert.ok(workspace.packages, 'workspace.packages must be defined');
63
- assert.ok(workspace.packages.some((p) => p.includes('packages')), 'workspace.packages must include packages/* or similar');
64
- });
65
- });
66
- describe('AC3: pnpm install works from root', () => {
67
- it('should have pnpm-lock.yaml after install', () => {
68
- // This test assumes pnpm install has been run
69
- // The presence of pnpm-lock.yaml indicates pnpm is the package manager
70
- const lockFile = join(PROJECT_ROOT, 'pnpm-lock.yaml');
71
- assert.ok(existsSync(lockFile), 'pnpm-lock.yaml must exist (run pnpm install first)');
72
- });
73
- });
74
- describe('AC4: pnpm build compiles all packages', () => {
75
- it('should have tsconfig.base.json for shared config', () => {
76
- const tsconfigBase = join(PROJECT_ROOT, 'tsconfig.base.json');
77
- assert.ok(existsSync(tsconfigBase), 'tsconfig.base.json must exist at project root');
78
- });
79
- it('should have packages/core/tsconfig.json', () => {
80
- const tsconfig = join(PROJECT_ROOT, 'packages', 'core', 'tsconfig.json');
81
- assert.ok(existsSync(tsconfig), 'packages/core/tsconfig.json must exist');
82
- });
83
- it('should have packages/core/dist after build', () => {
84
- // This test assumes build has been run
85
- const distDir = join(PROJECT_ROOT, 'packages', 'core', 'dist');
86
- assert.ok(existsSync(distDir), 'packages/core/dist/ must exist (run pnpm build first)');
87
- });
88
- it('should have packages/shared/dist after build', () => {
89
- // packages/shared already exists from Story 11-1
90
- const distDir = join(PROJECT_ROOT, 'packages', 'shared', 'dist');
91
- assert.ok(existsSync(distDir), 'packages/shared/dist/ must exist (run pnpm build first)');
92
- });
93
- });
94
- describe('AC5: pennyfarthing CLI still functional', () => {
95
- it('should have bin entry in packages/core/package.json', () => {
96
- const packageJsonPath = join(PROJECT_ROOT, 'packages', 'core', 'package.json');
97
- if (!existsSync(packageJsonPath)) {
98
- assert.fail('packages/core/package.json must exist first');
99
- }
100
- const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
101
- assert.ok(pkg.bin, 'packages/core/package.json must have bin field');
102
- assert.ok(pkg.bin.pennyfarthing || pkg.bin === './bin/pennyfarthing.js', 'bin must include pennyfarthing entry');
103
- });
104
- it('should execute pennyfarthing --version without error', () => {
105
- // This test runs the actual CLI
106
- // After workspace conversion, we need to test from packages/core
107
- try {
108
- const binPath = join(PROJECT_ROOT, 'packages', 'core', 'bin', 'pennyfarthing.js');
109
- if (!existsSync(binPath)) {
110
- assert.fail('packages/core/bin/pennyfarthing.js must exist first');
111
- }
112
- const result = execSync(`node "${binPath}" --version`, {
113
- encoding: 'utf-8',
114
- timeout: 10000,
115
- });
116
- assert.ok(result.includes('.'), 'Version output should contain a version number');
117
- }
118
- catch (error) {
119
- assert.fail(`CLI execution failed: ${error.message}`);
120
- }
121
- });
122
- });
123
- describe('AC6: Existing tests pass', () => {
124
- it('should have test files in packages/core/src', () => {
125
- // After move, test files should be in packages/core/src
126
- const testPattern = join(PROJECT_ROOT, 'packages', 'core', 'src');
127
- assert.ok(existsSync(testPattern), 'packages/core/src/ must exist for tests to be found');
128
- });
129
- });
130
- describe('Workspace Dependencies', () => {
131
- it('should have @pennyfarthing/shared in packages/core dependencies', () => {
132
- const packageJsonPath = join(PROJECT_ROOT, 'packages', 'core', 'package.json');
133
- if (!existsSync(packageJsonPath)) {
134
- assert.fail('packages/core/package.json must exist first');
135
- }
136
- const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
137
- const deps = pkg.dependencies || {};
138
- assert.ok(deps['@pennyfarthing/shared'], 'packages/core should depend on @pennyfarthing/shared');
139
- assert.ok(deps['@pennyfarthing/shared'].includes('workspace'), 'Dependency should use workspace protocol (workspace:*)');
140
- });
141
- });
142
- describe('Root package.json', () => {
143
- it('should be a workspace root (has workspaces config or pnpm-workspace.yaml)', () => {
144
- // In pnpm workspaces, root can have dependencies for npm publishing
145
- // The key indicator is pnpm-workspace.yaml existence, not package.json structure
146
- const workspaceYamlPath = join(PROJECT_ROOT, 'pnpm-workspace.yaml');
147
- assert.ok(existsSync(workspaceYamlPath), 'Root should have pnpm-workspace.yaml (workspace root indicator)');
148
- });
149
- });
150
- });
151
- //# sourceMappingURL=workspace.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspace.test.js","sourceRoot":"","sources":["../../src/cli/workspace.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,2CAA2C;AAC3C,MAAM,YAAY,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAEjD,QAAQ,CAAC,sCAAsC,EAAE,GAAG,EAAE;IAEpD,QAAQ,CAAC,8CAA8C,EAAE,GAAG,EAAE;QAC5D,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;YAC7C,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;YACvD,MAAM,CA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