jumbo-cli 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/LICENSE.txt +661 -661
  2. package/README.md +239 -239
  3. package/assets/claude-logo.svg +7 -7
  4. package/assets/codex-logo.svg +3 -3
  5. package/assets/cursor-logo.svg +31 -31
  6. package/assets/mistral-logo.svg +19 -19
  7. package/assets/skills/codify-jumbo-goal/SKILL.md +116 -116
  8. package/assets/skills/define-jumbo-goals/SKILL.md +193 -193
  9. package/assets/skills/refine-jumbo-goals/SKILL.md +156 -156
  10. package/assets/skills/reject-jumbo-goal/SKILL.md +58 -58
  11. package/assets/skills/review-jumbo-goal/SKILL.md +94 -94
  12. package/assets/skills/start-jumbo-goal/SKILL.md +86 -86
  13. package/assets/vscode-logo.svg +41 -41
  14. package/dist/domain/project/AgentFileReferenceContent.js +7 -7
  15. package/dist/domain/project/AgentsMdContent.js +74 -74
  16. package/dist/domain/project/CopilotInstructionsContent.js +38 -38
  17. package/dist/infrastructure/context/architecture/define/SqliteArchitectureDefinedProjector.js +5 -5
  18. package/dist/infrastructure/context/architecture/migrations/001-create-architecture-views.sql +16 -16
  19. package/dist/infrastructure/context/architecture/migrations/002-drop-dataflow-column.sql +4 -4
  20. package/dist/infrastructure/context/architecture/update/SqliteArchitectureUpdatedProjector.js +4 -4
  21. package/dist/infrastructure/context/audience-pains/add/SqliteAudiencePainAddedProjector.js +4 -4
  22. package/dist/infrastructure/context/audience-pains/migrations/001-create-audience-pain-views.sql +17 -17
  23. package/dist/infrastructure/context/audience-pains/update/SqliteAudiencePainUpdatedProjector.js +4 -4
  24. package/dist/infrastructure/context/audiences/add/SqliteAudienceAddedProjector.js +5 -5
  25. package/dist/infrastructure/context/audiences/migrations/001-create-audience-views.sql +17 -17
  26. package/dist/infrastructure/context/audiences/remove/SqliteAudienceRemovedProjector.js +6 -6
  27. package/dist/infrastructure/context/audiences/update/SqliteAudienceUpdatedProjector.js +4 -4
  28. package/dist/infrastructure/context/components/add/SqliteComponentAddedProjector.js +5 -5
  29. package/dist/infrastructure/context/components/deprecate/SqliteComponentDeprecatedProjector.js +7 -7
  30. package/dist/infrastructure/context/components/migrations/001-create-component-views.sql +21 -21
  31. package/dist/infrastructure/context/components/remove/SqliteComponentRemovedProjector.js +6 -6
  32. package/dist/infrastructure/context/components/rename/SqliteComponentRenamedProjector.js +4 -4
  33. package/dist/infrastructure/context/components/undeprecate/SqliteComponentUndeprecatedProjector.js +7 -7
  34. package/dist/infrastructure/context/components/update/SqliteComponentUpdatedProjector.js +4 -4
  35. package/dist/infrastructure/context/decisions/add/SqliteDecisionAddedProjector.js +6 -6
  36. package/dist/infrastructure/context/decisions/migrations/001-create-decision-views.sql +22 -22
  37. package/dist/infrastructure/context/decisions/restore/SqliteDecisionRestoredProjector.js +9 -9
  38. package/dist/infrastructure/context/decisions/reverse/SqliteDecisionReversedProjector.js +8 -8
  39. package/dist/infrastructure/context/decisions/supersede/SqliteDecisionSupersededProjector.js +7 -7
  40. package/dist/infrastructure/context/decisions/update/SqliteDecisionUpdatedProjector.js +10 -10
  41. package/dist/infrastructure/context/dependencies/add/SqliteDependencyAddedProjector.js +5 -5
  42. package/dist/infrastructure/context/dependencies/get/SqliteLegacyDependencyReader.js +5 -5
  43. package/dist/infrastructure/context/dependencies/migrations/001-create-dependency-views.sql +21 -21
  44. package/dist/infrastructure/context/dependencies/migrations/002-add-external-dependency-columns.sql +11 -11
  45. package/dist/infrastructure/context/dependencies/remove/SqliteDependencyRemovedProjector.js +8 -8
  46. package/dist/infrastructure/context/dependencies/update/SqliteDependencyUpdatedProjector.js +4 -4
  47. package/dist/infrastructure/context/goals/add/SqliteGoalAddedProjector.js +7 -7
  48. package/dist/infrastructure/context/goals/approve/SqliteGoalApprovedProjector.js +9 -9
  49. package/dist/infrastructure/context/goals/block/SqliteGoalBlockedProjector.js +7 -7
  50. package/dist/infrastructure/context/goals/close/SqliteGoalClosedProjector.js +9 -9
  51. package/dist/infrastructure/context/goals/codify/SqliteGoalCodifyingStartedProjector.js +9 -9
  52. package/dist/infrastructure/context/goals/commit/SqliteGoalCommittedProjector.js +9 -9
  53. package/dist/infrastructure/context/goals/complete/SqliteGoalCompletedProjector.js +9 -9
  54. package/dist/infrastructure/context/goals/migrate/SqliteGoalStatusMigratedProjector.js +7 -7
  55. package/dist/infrastructure/context/goals/migrations/001-create-goal-views.sql +20 -20
  56. package/dist/infrastructure/context/goals/migrations/002-add-embedded-context-columns.sql +11 -11
  57. package/dist/infrastructure/context/goals/migrations/003-add-next-goal-column.sql +4 -4
  58. package/dist/infrastructure/context/goals/migrations/004-add-claim-columns.sql +7 -7
  59. package/dist/infrastructure/context/goals/migrations/005-add-progress-column.sql +4 -4
  60. package/dist/infrastructure/context/goals/migrations/006-drop-boundaries-and-embedded-context-columns.sql +11 -11
  61. package/dist/infrastructure/context/goals/migrations/007-add-title-column.sql +2 -2
  62. package/dist/infrastructure/context/goals/migrations/008-add-prerequisite-goals-column.sql +1 -1
  63. package/dist/infrastructure/context/goals/migrations/009-add-review-issues-column.sql +1 -1
  64. package/dist/infrastructure/context/goals/pause/SqliteGoalPausedProjector.js +7 -7
  65. package/dist/infrastructure/context/goals/qualify/SqliteGoalQualifiedProjector.js +9 -9
  66. package/dist/infrastructure/context/goals/refine/SqliteGoalRefinedProjector.js +15 -15
  67. package/dist/infrastructure/context/goals/reject/SqliteGoalRejectedProjector.js +10 -10
  68. package/dist/infrastructure/context/goals/remove/SqliteGoalRemovedProjector.js +3 -3
  69. package/dist/infrastructure/context/goals/reset/SqliteGoalResetProjector.js +11 -11
  70. package/dist/infrastructure/context/goals/resume/SqliteGoalResumedProjector.js +10 -10
  71. package/dist/infrastructure/context/goals/review/SqliteGoalSubmittedForReviewProjector.js +9 -9
  72. package/dist/infrastructure/context/goals/start/SqliteGoalStartedProjector.js +9 -9
  73. package/dist/infrastructure/context/goals/submit/SqliteGoalSubmittedProjector.js +9 -9
  74. package/dist/infrastructure/context/goals/unblock/SqliteGoalUnblockedProjector.js +7 -7
  75. package/dist/infrastructure/context/goals/update/SqliteGoalUpdatedProjector.js +4 -4
  76. package/dist/infrastructure/context/goals/update-progress/SqliteGoalProgressUpdatedProjector.js +8 -8
  77. package/dist/infrastructure/context/guidelines/add/SqliteGuidelineAddedProjector.js +5 -5
  78. package/dist/infrastructure/context/guidelines/migrations/001-create-guideline-views.sql +22 -22
  79. package/dist/infrastructure/context/guidelines/remove/SqliteGuidelineRemovedProjector.js +8 -8
  80. package/dist/infrastructure/context/guidelines/update/SqliteGuidelineUpdatedProjector.js +4 -4
  81. package/dist/infrastructure/context/invariants/add/SqliteInvariantAddedProjector.js +5 -5
  82. package/dist/infrastructure/context/invariants/migrations/001-create-invariant-views.sql +16 -16
  83. package/dist/infrastructure/context/invariants/remove/SqliteInvariantRemovedProjector.js +2 -2
  84. package/dist/infrastructure/context/invariants/update/SqliteInvariantUpdatedProjector.js +9 -9
  85. package/dist/infrastructure/context/project/init/SqliteProjectInitializedProjector.js +5 -5
  86. package/dist/infrastructure/context/project/migrations/001-create-project-views.sql +13 -13
  87. package/dist/infrastructure/context/project/migrations/002-drop-boundaries-column.sql +4 -4
  88. package/dist/infrastructure/context/project/update/SqliteProjectUpdatedProjector.js +4 -4
  89. package/dist/infrastructure/context/relations/add/SqliteRelationAddedProjector.js +12 -12
  90. package/dist/infrastructure/context/relations/deactivate/SqliteRelationDeactivatedProjector.js +14 -14
  91. package/dist/infrastructure/context/relations/migrations/001-create-relation-views.sql +28 -28
  92. package/dist/infrastructure/context/relations/reactivate/SqliteRelationReactivatedProjector.js +14 -14
  93. package/dist/infrastructure/context/relations/remove/SqliteRelationRemovedProjector.js +14 -14
  94. package/dist/infrastructure/context/sessions/end/SqliteSessionEndedProjector.js +8 -8
  95. package/dist/infrastructure/context/sessions/migrations/001-create-session-views.sql +43 -43
  96. package/dist/infrastructure/context/sessions/migrations/002-add-goal-lifecycle-columns.sql +7 -7
  97. package/dist/infrastructure/context/sessions/migrations/003-remove-session-pause-status.sql +8 -8
  98. package/dist/infrastructure/context/sessions/migrations/004-drop-session-summary-views.sql +5 -5
  99. package/dist/infrastructure/context/sessions/start/SqliteSessionStartedProjector.js +5 -5
  100. package/dist/infrastructure/context/value-propositions/add/SqliteValuePropositionAddedProjector.js +5 -5
  101. package/dist/infrastructure/context/value-propositions/migrations/001-create-value-proposition-views.sql +19 -19
  102. package/dist/infrastructure/context/value-propositions/remove/SqliteValuePropositionRemovedProjector.js +2 -2
  103. package/dist/infrastructure/context/value-propositions/update/SqliteValuePropositionUpdatedProjector.js +4 -4
  104. package/dist/infrastructure/host/workers/migrations/001-create-workers.sql +12 -12
  105. package/dist/infrastructure/persistence/MigrationRunner.js +10 -10
  106. package/dist/infrastructure/settings/FsSettingsInitializer.js +25 -25
  107. package/dist/infrastructure/settings/FsSettingsReader.js +25 -25
  108. package/dist/infrastructure/telemetry/PostHogTelemetryClient.d.ts +1 -1
  109. package/dist/infrastructure/telemetry/PostHogTelemetryClient.d.ts.map +1 -1
  110. package/dist/infrastructure/telemetry/PostHogTelemetryClient.js +7 -1
  111. package/dist/infrastructure/telemetry/PostHogTelemetryClient.js.map +1 -1
  112. package/dist/infrastructure/telemetry/PostHogTelemetryConstants.d.ts +2 -2
  113. package/dist/infrastructure/telemetry/PostHogTelemetryConstants.d.ts.map +1 -1
  114. package/dist/infrastructure/telemetry/PostHogTelemetryConstants.js +2 -2
  115. package/dist/infrastructure/telemetry/PostHogTelemetryConstants.js.map +1 -1
  116. package/dist/presentation/cli/commands/project/init/project.init.d.ts.map +1 -1
  117. package/dist/presentation/cli/commands/project/init/project.init.js +4 -1
  118. package/dist/presentation/cli/commands/project/init/project.init.js.map +1 -1
  119. package/package.json +90 -89
  120. package/dist/application/context/goals/complete/CompleteGoalCommand.d.ts +0 -8
  121. package/dist/application/context/goals/complete/CompleteGoalCommand.d.ts.map +0 -1
  122. package/dist/application/context/goals/complete/CompleteGoalCommand.js +0 -3
  123. package/dist/application/context/goals/complete/CompleteGoalCommand.js.map +0 -1
  124. package/dist/application/context/goals/complete/CompleteGoalCommandHandler.d.ts +0 -27
  125. package/dist/application/context/goals/complete/CompleteGoalCommandHandler.d.ts.map +0 -1
  126. package/dist/application/context/goals/complete/CompleteGoalCommandHandler.js +0 -52
  127. package/dist/application/context/goals/complete/CompleteGoalCommandHandler.js.map +0 -1
  128. package/dist/application/context/goals/complete/CompleteGoalController.d.ts +0 -9
  129. package/dist/application/context/goals/complete/CompleteGoalController.d.ts.map +0 -1
  130. package/dist/application/context/goals/complete/CompleteGoalController.js +0 -13
  131. package/dist/application/context/goals/complete/CompleteGoalController.js.map +0 -1
  132. package/dist/application/context/goals/complete/CompleteGoalRequest.d.ts +0 -10
  133. package/dist/application/context/goals/complete/CompleteGoalRequest.d.ts.map +0 -1
  134. package/dist/application/context/goals/complete/CompleteGoalRequest.js +0 -3
  135. package/dist/application/context/goals/complete/CompleteGoalRequest.js.map +0 -1
  136. package/dist/application/context/goals/complete/CompleteGoalResponse.d.ts +0 -17
  137. package/dist/application/context/goals/complete/CompleteGoalResponse.d.ts.map +0 -1
  138. package/dist/application/context/goals/complete/CompleteGoalResponse.js +0 -3
  139. package/dist/application/context/goals/complete/CompleteGoalResponse.js.map +0 -1
  140. package/dist/application/context/goals/complete/ICompleteGoalGateway.d.ts +0 -6
  141. package/dist/application/context/goals/complete/ICompleteGoalGateway.d.ts.map +0 -1
  142. package/dist/application/context/goals/complete/ICompleteGoalGateway.js +0 -3
  143. package/dist/application/context/goals/complete/ICompleteGoalGateway.js.map +0 -1
  144. package/dist/application/context/goals/complete/LocalCompleteGoalGateway.d.ts +0 -16
  145. package/dist/application/context/goals/complete/LocalCompleteGoalGateway.d.ts.map +0 -1
  146. package/dist/application/context/goals/complete/LocalCompleteGoalGateway.js +0 -49
  147. package/dist/application/context/goals/complete/LocalCompleteGoalGateway.js.map +0 -1
  148. package/dist/application/context/project/init/IInitializationProtocol.d.ts +0 -44
  149. package/dist/application/context/project/init/IInitializationProtocol.d.ts.map +0 -1
  150. package/dist/application/context/project/init/IInitializationProtocol.js +0 -14
  151. package/dist/application/context/project/init/IInitializationProtocol.js.map +0 -1
  152. package/dist/application/context/project/init/InitializationProtocol.d.ts +0 -32
  153. package/dist/application/context/project/init/InitializationProtocol.d.ts.map +0 -1
  154. package/dist/application/context/project/init/InitializationProtocol.js +0 -51
  155. package/dist/application/context/project/init/InitializationProtocol.js.map +0 -1
  156. package/dist/application/context/relations/get/GetRelationsQueryHandler.d.ts +0 -14
  157. package/dist/application/context/relations/get/GetRelationsQueryHandler.d.ts.map +0 -1
  158. package/dist/application/context/relations/get/GetRelationsQueryHandler.js +0 -19
  159. package/dist/application/context/relations/get/GetRelationsQueryHandler.js.map +0 -1
  160. package/dist/application/context/value-propositions/list/ListValuePropositionsQueryHandler.d.ts +0 -27
  161. package/dist/application/context/value-propositions/list/ListValuePropositionsQueryHandler.d.ts.map +0 -1
  162. package/dist/application/context/value-propositions/list/ListValuePropositionsQueryHandler.js +0 -32
  163. package/dist/application/context/value-propositions/list/ListValuePropositionsQueryHandler.js.map +0 -1
  164. package/dist/application/maintenance/repair/IRepairMaintenanceGateway.d.ts +0 -6
  165. package/dist/application/maintenance/repair/IRepairMaintenanceGateway.d.ts.map +0 -1
  166. package/dist/application/maintenance/repair/IRepairMaintenanceGateway.js +0 -3
  167. package/dist/application/maintenance/repair/IRepairMaintenanceGateway.js.map +0 -1
  168. package/dist/application/maintenance/repair/LocalRepairMaintenanceGateway.d.ts +0 -16
  169. package/dist/application/maintenance/repair/LocalRepairMaintenanceGateway.d.ts.map +0 -1
  170. package/dist/application/maintenance/repair/LocalRepairMaintenanceGateway.js +0 -90
  171. package/dist/application/maintenance/repair/LocalRepairMaintenanceGateway.js.map +0 -1
  172. package/dist/application/maintenance/repair/RepairMaintenanceController.d.ts +0 -9
  173. package/dist/application/maintenance/repair/RepairMaintenanceController.d.ts.map +0 -1
  174. package/dist/application/maintenance/repair/RepairMaintenanceController.js +0 -13
  175. package/dist/application/maintenance/repair/RepairMaintenanceController.js.map +0 -1
  176. package/dist/application/maintenance/repair/RepairMaintenanceRequest.d.ts +0 -6
  177. package/dist/application/maintenance/repair/RepairMaintenanceRequest.d.ts.map +0 -1
  178. package/dist/application/maintenance/repair/RepairMaintenanceRequest.js +0 -3
  179. package/dist/application/maintenance/repair/RepairMaintenanceRequest.js.map +0 -1
  180. package/dist/application/maintenance/repair/RepairMaintenanceResponse.d.ts +0 -9
  181. package/dist/application/maintenance/repair/RepairMaintenanceResponse.d.ts.map +0 -1
  182. package/dist/application/maintenance/repair/RepairMaintenanceResponse.js +0 -3
  183. package/dist/application/maintenance/repair/RepairMaintenanceResponse.js.map +0 -1
  184. package/dist/application/repair/IRepairGateway.d.ts +0 -6
  185. package/dist/application/repair/IRepairGateway.d.ts.map +0 -1
  186. package/dist/application/repair/IRepairGateway.js +0 -3
  187. package/dist/application/repair/IRepairGateway.js.map +0 -1
  188. package/dist/application/repair/LocalRepairGateway.d.ts +0 -16
  189. package/dist/application/repair/LocalRepairGateway.d.ts.map +0 -1
  190. package/dist/application/repair/LocalRepairGateway.js +0 -90
  191. package/dist/application/repair/LocalRepairGateway.js.map +0 -1
  192. package/dist/application/repair/RepairController.d.ts +0 -9
  193. package/dist/application/repair/RepairController.d.ts.map +0 -1
  194. package/dist/application/repair/RepairController.js +0 -13
  195. package/dist/application/repair/RepairController.js.map +0 -1
  196. package/dist/application/repair/RepairRequest.d.ts +0 -6
  197. package/dist/application/repair/RepairRequest.d.ts.map +0 -1
  198. package/dist/application/repair/RepairRequest.js +0 -3
  199. package/dist/application/repair/RepairRequest.js.map +0 -1
  200. package/dist/application/repair/RepairResponse.d.ts +0 -9
  201. package/dist/application/repair/RepairResponse.d.ts.map +0 -1
  202. package/dist/application/repair/RepairResponse.js +0 -3
  203. package/dist/application/repair/RepairResponse.js.map +0 -1
  204. package/dist/domain/project/AgentInstructions.d.ts +0 -67
  205. package/dist/domain/project/AgentInstructions.d.ts.map +0 -1
  206. package/dist/domain/project/AgentInstructions.js +0 -261
  207. package/dist/domain/project/AgentInstructions.js.map +0 -1
  208. package/dist/infrastructure/context/goals/claims/FsGoalClaimStore.d.ts +0 -33
  209. package/dist/infrastructure/context/goals/claims/FsGoalClaimStore.d.ts.map +0 -1
  210. package/dist/infrastructure/context/goals/claims/FsGoalClaimStore.js +0 -66
  211. package/dist/infrastructure/context/goals/claims/FsGoalClaimStore.js.map +0 -1
  212. package/dist/infrastructure/context/goals/get/LocalGetGoalsGateway.d.ts +0 -10
  213. package/dist/infrastructure/context/goals/get/LocalGetGoalsGateway.d.ts.map +0 -1
  214. package/dist/infrastructure/context/goals/get/LocalGetGoalsGateway.js +0 -36
  215. package/dist/infrastructure/context/goals/get/LocalGetGoalsGateway.js.map +0 -1
  216. package/dist/infrastructure/context/goals/get/LocalShowGoalGateway.d.ts +0 -10
  217. package/dist/infrastructure/context/goals/get/LocalShowGoalGateway.d.ts.map +0 -1
  218. package/dist/infrastructure/context/goals/get/LocalShowGoalGateway.js +0 -14
  219. package/dist/infrastructure/context/goals/get/LocalShowGoalGateway.js.map +0 -1
  220. package/dist/infrastructure/context/relations/get/LocalGetRelationsGateway.d.ts +0 -10
  221. package/dist/infrastructure/context/relations/get/LocalGetRelationsGateway.d.ts.map +0 -1
  222. package/dist/infrastructure/context/relations/get/LocalGetRelationsGateway.js +0 -18
  223. package/dist/infrastructure/context/relations/get/LocalGetRelationsGateway.js.map +0 -1
  224. package/dist/infrastructure/context/sessions/get/LocalGetSessionsGateway.d.ts +0 -10
  225. package/dist/infrastructure/context/sessions/get/LocalGetSessionsGateway.d.ts.map +0 -1
  226. package/dist/infrastructure/context/sessions/get/LocalGetSessionsGateway.js +0 -14
  227. package/dist/infrastructure/context/sessions/get/LocalGetSessionsGateway.js.map +0 -1
  228. package/dist/presentation/cli/commands/goals/complete/GoalCompleteOutputBuilder.d.ts +0 -29
  229. package/dist/presentation/cli/commands/goals/complete/GoalCompleteOutputBuilder.d.ts.map +0 -1
  230. package/dist/presentation/cli/commands/goals/complete/GoalCompleteOutputBuilder.js +0 -105
  231. package/dist/presentation/cli/commands/goals/complete/GoalCompleteOutputBuilder.js.map +0 -1
  232. package/dist/presentation/cli/commands/goals/complete/goal.complete.d.ts +0 -20
  233. package/dist/presentation/cli/commands/goals/complete/goal.complete.d.ts.map +0 -1
  234. package/dist/presentation/cli/commands/goals/complete/goal.complete.js +0 -58
  235. package/dist/presentation/cli/commands/goals/complete/goal.complete.js.map +0 -1
  236. package/dist/presentation/cli/commands/maintenance/db/rebuild/db.rebuild.d.ts +0 -26
  237. package/dist/presentation/cli/commands/maintenance/db/rebuild/db.rebuild.d.ts.map +0 -1
  238. package/dist/presentation/cli/commands/maintenance/db/rebuild/db.rebuild.js +0 -68
  239. package/dist/presentation/cli/commands/maintenance/db/rebuild/db.rebuild.js.map +0 -1
  240. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/MigrateDependenciesOutputBuilder.d.ts +0 -14
  241. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/MigrateDependenciesOutputBuilder.d.ts.map +0 -1
  242. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/MigrateDependenciesOutputBuilder.js +0 -61
  243. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/MigrateDependenciesOutputBuilder.js.map +0 -1
  244. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/dependency.migrate.d.ts +0 -23
  245. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/dependency.migrate.d.ts.map +0 -1
  246. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/dependency.migrate.js +0 -59
  247. package/dist/presentation/cli/commands/maintenance/migrate-dependencies/dependency.migrate.js.map +0 -1
  248. package/dist/presentation/cli/commands/maintenance/repair/RepairOutputBuilder.d.ts +0 -24
  249. package/dist/presentation/cli/commands/maintenance/repair/RepairOutputBuilder.d.ts.map +0 -1
  250. package/dist/presentation/cli/commands/maintenance/repair/RepairOutputBuilder.js +0 -49
  251. package/dist/presentation/cli/commands/maintenance/repair/RepairOutputBuilder.js.map +0 -1
  252. package/dist/presentation/cli/commands/maintenance/repair/maintenance.repair.d.ts +0 -27
  253. package/dist/presentation/cli/commands/maintenance/repair/maintenance.repair.d.ts.map +0 -1
  254. package/dist/presentation/cli/commands/maintenance/repair/maintenance.repair.js +0 -85
  255. package/dist/presentation/cli/commands/maintenance/repair/maintenance.repair.js.map +0 -1
  256. package/dist/presentation/cli/commands/maintenance/upgrade/UpgradeOutputBuilder.d.ts +0 -16
  257. package/dist/presentation/cli/commands/maintenance/upgrade/UpgradeOutputBuilder.d.ts.map +0 -1
  258. package/dist/presentation/cli/commands/maintenance/upgrade/UpgradeOutputBuilder.js +0 -40
  259. package/dist/presentation/cli/commands/maintenance/upgrade/UpgradeOutputBuilder.js.map +0 -1
  260. package/dist/presentation/cli/commands/maintenance/upgrade/db.upgrade.d.ts +0 -26
  261. package/dist/presentation/cli/commands/maintenance/upgrade/db.upgrade.d.ts.map +0 -1
  262. package/dist/presentation/cli/commands/maintenance/upgrade/db.upgrade.js +0 -64
  263. package/dist/presentation/cli/commands/maintenance/upgrade/db.upgrade.js.map +0 -1
  264. package/dist/presentation/cli/commands/repair/RepairOutputBuilder.d.ts +0 -24
  265. package/dist/presentation/cli/commands/repair/RepairOutputBuilder.d.ts.map +0 -1
  266. package/dist/presentation/cli/commands/repair/RepairOutputBuilder.js +0 -50
  267. package/dist/presentation/cli/commands/repair/RepairOutputBuilder.js.map +0 -1
  268. package/dist/presentation/cli/commands/repair/repair.d.ts +0 -31
  269. package/dist/presentation/cli/commands/repair/repair.d.ts.map +0 -1
  270. package/dist/presentation/cli/commands/repair/repair.js +0 -88
  271. package/dist/presentation/cli/commands/repair/repair.js.map +0 -1
@@ -1,156 +1,156 @@
1
- ---
2
- name: refine-jumbo-goals
3
- description: Use when Jumbo goals need refinement before implementation. Curates relations to project entities so the implementing agent receives optimal architectural context.
4
- ---
5
-
6
- # Refine Jumbo Goals
7
-
8
- **Prompt:** Refine one or more Jumbo goals by registering comprehensive relations to project entities so that an autonomous agent has optimal context for correct implementation.
9
-
10
- ## Why Refinement Matters
11
-
12
- When `jumbo goal start` is run, the goal's registered relations determine what context is assembled and provided to the implementing agent. Missing relations mean missing constraints, patterns, or domain knowledge. Irrelevant relations waste tokens and dilute focus. Thorough refinement is the single highest-leverage activity for autonomous goal execution quality.
13
-
14
- ## Protocol
15
-
16
- ### 1. Initiate Refinement
17
-
18
- ```bash
19
- jumbo goal refine --id <goal-id>
20
- ```
21
-
22
- Review the goal's objective, criteria, and scope.
23
-
24
- ### 2. Explore All Project Entities
25
-
26
- You MUST explore ALL entity categories to build a complete picture of available entities:
27
-
28
- ```bash
29
- jumbo invariants list
30
- jumbo guidelines list
31
- jumbo decisions list
32
- jumbo dependencies list
33
- jumbo architecture view
34
- ```
35
-
36
- For **components**, use targeted searches instead of dumping the full list. Extract keywords from the goal's objective and criteria, then search:
37
-
38
- ```bash
39
- # Search by name (substring or wildcard)
40
- jumbo components search --name "Auth*"
41
- jumbo components search --name "*Gateway"
42
-
43
- # Search by type
44
- jumbo components search --type service
45
- jumbo components search --type lib
46
-
47
- # Free-text search across description and responsibility
48
- jumbo components search --query "event handling"
49
-
50
- # Compact output for quick discovery (id, name, type only)
51
- jumbo components search --output compact --type service
52
-
53
- # Combine filters (AND logic)
54
- jumbo components search --name "*Controller" --type service
55
- ```
56
-
57
- Run multiple targeted searches derived from the goal's domain. Only fall back to `jumbo components list` if searches are insufficient to identify all relevant components.
58
-
59
- Do not skip any entity category. Every category is a potential source of implementation context.
60
-
61
- ### 3. Evaluate Every Entity Against the Goal
62
-
63
- For each entity returned, ask: **"Will the implementing agent need to know about this to execute correctly?"**
64
-
65
- Only register relations that are directly relevant. Do not register entities that are tangentially related or that add context without actionable value.
66
-
67
- Evaluate systematically by category:
68
-
69
- - **Invariants**: Which non-negotiable constraints does this implementation touch, cross, or risk violating?
70
- - **Guidelines**: Which coding standards, testing requirements, or process practices apply?
71
- - **Decisions**: Which architectural decisions inform, motivate, or constrain this change?
72
- - **Components**: Which system components will be created, modified, deleted, or depended upon?
73
- - **Dependencies**: Which external libraries are involved in the implementation?
74
-
75
- ### 4. Register Relations
76
-
77
- For every relevant entity, register a relation:
78
-
79
- ```bash
80
- jumbo relation add \
81
- --from-type goal \
82
- --from-id <goal-id> \
83
- --to-type <entity-type> \
84
- --to-id <entity-id> \
85
- --relation-type <type> \
86
- --description "<why this relation matters for implementation>"
87
- ```
88
-
89
- **Relation types:**
90
-
91
- | Type | Use When |
92
- |------|----------|
93
- | `involves` | Implementation will modify or directly interact with this entity |
94
- | `uses` | Implementation depends on or references this entity |
95
- | `must-respect` | Implementation must adhere to this constraint or decision |
96
- | `follows` | Implementation must follow this practice or standard |
97
- | `implements` | Implementation applies or realizes this architectural decision |
98
-
99
- **Description quality is critical.** The description is what the implementing agent reads. It must explain the specific relevance to this goal, not just restate the entity's title.
100
-
101
- - BAD: "Related to this invariant"
102
- - BAD: "Must follow this guideline"
103
- - GOOD: "Removal must not leave orphaned registrations or broken import paths across layer boundaries"
104
- - GOOD: "Ensure the read-side query path remains intact after removing the old handler"
105
-
106
- ### 5. Update Goal Metadata
107
-
108
- During entity exploration, you may discover:
109
- - Additional files that belong in scope
110
- - Files that should be created or modified
111
- - Risk of scope creep
112
- - Success criteria that need updating
113
- - Applicable refactoring skills to reference in criteria (prefix with `skill:`)
114
- - Registered goals that should be added as prerequisites or follow-ups
115
-
116
- Update the goal accordingly:
117
-
118
- ```bash
119
- jumbo goal update --id <goal-id> \
120
- --criteria "Updated criteria" \
121
- --scope-in "additional/file/path.ts" \
122
- --scope-out "namespace/" "a/file/to-not-touch.ts" \
123
- --previous-goal <previous-goal-id> \
124
- --next-goal <next-goal-id> \
125
- --prerequisite-goals <goalIds...>
126
- ```
127
-
128
- ### 6. Verify Completeness
129
-
130
- Before approving, verify ALL of the following:
131
-
132
- - [ ] Every entity category was explored (no categories skipped)
133
- - [ ] Relevant invariants are linked (most goals require 2+ invariant relations)
134
- - [ ] Testing-related guidelines are linked (almost every goal has testing implications)
135
- - [ ] Architectural decisions that inform or constrain the approach are linked
136
- - [ ] All components being modified, created, deleted, or depended upon are linked
137
- - [ ] Every relation description explains the specific relevance, not just the entity name
138
- - [ ] Goal criteria and scope reflect any discoveries made during refinement
139
- - [ ] The goal has at least 5 relations total (fewer suggests incomplete analysis)
140
-
141
- ### 7. Approve Refinement
142
-
143
- Only after completing all verification checks:
144
-
145
- ```bash
146
- jumbo goal refine --id <goal-id> --approve
147
- ```
148
-
149
- ## Rules
150
-
151
- 1. **Never approve with fewer than 5 relations** unless the goal is trivially scoped. If you cannot find 5 relevant entities, re-examine your analysis.
152
- 2. **Never skip an entity category.** Explore all entity types every time. For components, prefer targeted `jumbo components search` queries over `jumbo components list`. Entity registrations change between sessions.
153
- 3. **Never write vague descriptions.** Every relation description must be actionable guidance for the implementing agent.
154
- 4. **Always link testing guidelines.** Implementation without testing context produces untested code.
155
- 5. **Always link components that prove safety.** When deleting or replacing code, link the replacement component so the agent can verify the change is safe.
156
- 6. **Treat skill references as first-class criteria.** If a refactoring skill applies, add `skill:<skill-name>` to the goal's criteria so the implementing agent loads it.
1
+ ---
2
+ name: refine-jumbo-goals
3
+ description: Use when Jumbo goals need refinement before implementation. Curates relations to project entities so the implementing agent receives optimal architectural context.
4
+ ---
5
+
6
+ # Refine Jumbo Goals
7
+
8
+ **Prompt:** Refine one or more Jumbo goals by registering comprehensive relations to project entities so that an autonomous agent has optimal context for correct implementation.
9
+
10
+ ## Why Refinement Matters
11
+
12
+ When `jumbo goal start` is run, the goal's registered relations determine what context is assembled and provided to the implementing agent. Missing relations mean missing constraints, patterns, or domain knowledge. Irrelevant relations waste tokens and dilute focus. Thorough refinement is the single highest-leverage activity for autonomous goal execution quality.
13
+
14
+ ## Protocol
15
+
16
+ ### 1. Initiate Refinement
17
+
18
+ ```bash
19
+ jumbo goal refine --id <goal-id>
20
+ ```
21
+
22
+ Review the goal's objective, criteria, and scope.
23
+
24
+ ### 2. Explore All Project Entities
25
+
26
+ You MUST explore ALL entity categories to build a complete picture of available entities:
27
+
28
+ ```bash
29
+ jumbo invariants list
30
+ jumbo guidelines list
31
+ jumbo decisions list
32
+ jumbo dependencies list
33
+ jumbo architecture view
34
+ ```
35
+
36
+ For **components**, use targeted searches instead of dumping the full list. Extract keywords from the goal's objective and criteria, then search:
37
+
38
+ ```bash
39
+ # Search by name (substring or wildcard)
40
+ jumbo components search --name "Auth*"
41
+ jumbo components search --name "*Gateway"
42
+
43
+ # Search by type
44
+ jumbo components search --type service
45
+ jumbo components search --type lib
46
+
47
+ # Free-text search across description and responsibility
48
+ jumbo components search --query "event handling"
49
+
50
+ # Compact output for quick discovery (id, name, type only)
51
+ jumbo components search --output compact --type service
52
+
53
+ # Combine filters (AND logic)
54
+ jumbo components search --name "*Controller" --type service
55
+ ```
56
+
57
+ Run multiple targeted searches derived from the goal's domain. Only fall back to `jumbo components list` if searches are insufficient to identify all relevant components.
58
+
59
+ Do not skip any entity category. Every category is a potential source of implementation context.
60
+
61
+ ### 3. Evaluate Every Entity Against the Goal
62
+
63
+ For each entity returned, ask: **"Will the implementing agent need to know about this to execute correctly?"**
64
+
65
+ Only register relations that are directly relevant. Do not register entities that are tangentially related or that add context without actionable value.
66
+
67
+ Evaluate systematically by category:
68
+
69
+ - **Invariants**: Which non-negotiable constraints does this implementation touch, cross, or risk violating?
70
+ - **Guidelines**: Which coding standards, testing requirements, or process practices apply?
71
+ - **Decisions**: Which architectural decisions inform, motivate, or constrain this change?
72
+ - **Components**: Which system components will be created, modified, deleted, or depended upon?
73
+ - **Dependencies**: Which external libraries are involved in the implementation?
74
+
75
+ ### 4. Register Relations
76
+
77
+ For every relevant entity, register a relation:
78
+
79
+ ```bash
80
+ jumbo relation add \
81
+ --from-type goal \
82
+ --from-id <goal-id> \
83
+ --to-type <entity-type> \
84
+ --to-id <entity-id> \
85
+ --relation-type <type> \
86
+ --description "<why this relation matters for implementation>"
87
+ ```
88
+
89
+ **Relation types:**
90
+
91
+ | Type | Use When |
92
+ |------|----------|
93
+ | `involves` | Implementation will modify or directly interact with this entity |
94
+ | `uses` | Implementation depends on or references this entity |
95
+ | `must-respect` | Implementation must adhere to this constraint or decision |
96
+ | `follows` | Implementation must follow this practice or standard |
97
+ | `implements` | Implementation applies or realizes this architectural decision |
98
+
99
+ **Description quality is critical.** The description is what the implementing agent reads. It must explain the specific relevance to this goal, not just restate the entity's title.
100
+
101
+ - BAD: "Related to this invariant"
102
+ - BAD: "Must follow this guideline"
103
+ - GOOD: "Removal must not leave orphaned registrations or broken import paths across layer boundaries"
104
+ - GOOD: "Ensure the read-side query path remains intact after removing the old handler"
105
+
106
+ ### 5. Update Goal Metadata
107
+
108
+ During entity exploration, you may discover:
109
+ - Additional files that belong in scope
110
+ - Files that should be created or modified
111
+ - Risk of scope creep
112
+ - Success criteria that need updating
113
+ - Applicable refactoring skills to reference in criteria (prefix with `skill:`)
114
+ - Registered goals that should be added as prerequisites or follow-ups
115
+
116
+ Update the goal accordingly:
117
+
118
+ ```bash
119
+ jumbo goal update --id <goal-id> \
120
+ --criteria "Updated criteria" \
121
+ --scope-in "additional/file/path.ts" \
122
+ --scope-out "namespace/" "a/file/to-not-touch.ts" \
123
+ --previous-goal <previous-goal-id> \
124
+ --next-goal <next-goal-id> \
125
+ --prerequisite-goals <goalIds...>
126
+ ```
127
+
128
+ ### 6. Verify Completeness
129
+
130
+ Before approving, verify ALL of the following:
131
+
132
+ - [ ] Every entity category was explored (no categories skipped)
133
+ - [ ] Relevant invariants are linked (most goals require 2+ invariant relations)
134
+ - [ ] Testing-related guidelines are linked (almost every goal has testing implications)
135
+ - [ ] Architectural decisions that inform or constrain the approach are linked
136
+ - [ ] All components being modified, created, deleted, or depended upon are linked
137
+ - [ ] Every relation description explains the specific relevance, not just the entity name
138
+ - [ ] Goal criteria and scope reflect any discoveries made during refinement
139
+ - [ ] The goal has at least 5 relations total (fewer suggests incomplete analysis)
140
+
141
+ ### 7. Approve Refinement
142
+
143
+ Only after completing all verification checks:
144
+
145
+ ```bash
146
+ jumbo goal refine --id <goal-id> --approve
147
+ ```
148
+
149
+ ## Rules
150
+
151
+ 1. **Never approve with fewer than 5 relations** unless the goal is trivially scoped. If you cannot find 5 relevant entities, re-examine your analysis.
152
+ 2. **Never skip an entity category.** Explore all entity types every time. For components, prefer targeted `jumbo components search` queries over `jumbo components list`. Entity registrations change between sessions.
153
+ 3. **Never write vague descriptions.** Every relation description must be actionable guidance for the implementing agent.
154
+ 4. **Always link testing guidelines.** Implementation without testing context produces untested code.
155
+ 5. **Always link components that prove safety.** When deleting or replacing code, link the replacement component so the agent can verify the change is safe.
156
+ 6. **Treat skill references as first-class criteria.** If a refactoring skill applies, add `skill:<skill-name>` to the goal's criteria so the implementing agent loads it.
@@ -1,58 +1,58 @@
1
- ---
2
- name: reject-jumbo-goal
3
- description: Use when a Jumbo goal fails QA review and needs to be returned for rework. Records review issues and routes the goal back to the implementing agent with actionable feedback.
4
- ---
5
-
6
- # Reject Jumbo Goal
7
-
8
- **Prompt:** Reject a Jumbo goal that failed QA review, recording the specific issues found so the implementing agent can address them and restart.
9
-
10
- ## Why Rejection Quality Matters
11
-
12
- When a goal is rejected, the implementing agent receives the review issues as its primary guidance for rework. Vague or incomplete rejection feedback causes wasted rework cycles — the agent guesses at what's wrong, fixes the wrong things, and resubmits with the same issues. Precise, actionable rejection feedback is the fastest path to a passing review.
13
-
14
- ## Protocol
15
-
16
- ### 1. Document Review Issues
17
-
18
- Before rejecting, ensure you have a clear, specific list of every issue found during QA review. Each issue must be:
19
-
20
- - **Specific**: Reference exact files, functions, or behaviors that are wrong.
21
- - **Actionable**: Describe what needs to change, not just what's wrong.
22
- - **Traceable**: Link back to the success criterion, invariant, or guideline that was violated.
23
-
24
- ### 2. Reject the Goal
25
-
26
- ```bash
27
- jumbo goal reject --id <goal-id> --issues "<detailed review issues>"
28
- ```
29
-
30
- The rejection output confirms:
31
- - The goal ID and objective
32
- - The goal's status (returned to a reworkable state)
33
- - The review issues recorded for the implementing agent
34
-
35
- ### 3. Communicate Next Steps
36
-
37
- After rejection, the implementing agent should:
38
-
39
- 1. Address every review issue documented in the rejection.
40
- 2. Restart the goal to reload context:
41
- ```bash
42
- jumbo goal start --id <goal-id>
43
- ```
44
- 3. Re-implement the fixes within the original scope and constraints.
45
- 4. Resubmit for review:
46
- ```bash
47
- jumbo goal submit --id <goal-id>
48
- ```
49
-
50
- If a next goal is queued, its ID will be displayed for reference, but the rejected goal takes priority.
51
-
52
- ## Rules
53
-
54
- 1. **Never reject without specific issues.** Every rejection must include actionable feedback the implementing agent can act on.
55
- 2. **Never combine rejection with rework.** The rejecting agent reviews; the implementing agent fixes. Do not attempt both roles.
56
- 3. **Always reference violated criteria.** Tie each issue back to a success criterion, invariant, or guideline so the implementing agent understands the standard.
57
- 4. **Keep issues structured.** Use numbered or bulleted lists. One issue per point. No walls of text.
58
- 5. **Never reject for out-of-scope concerns.** Only reject for issues within the goal's defined scope and criteria.
1
+ ---
2
+ name: reject-jumbo-goal
3
+ description: Use when a Jumbo goal fails QA review and needs to be returned for rework. Records review issues and routes the goal back to the implementing agent with actionable feedback.
4
+ ---
5
+
6
+ # Reject Jumbo Goal
7
+
8
+ **Prompt:** Reject a Jumbo goal that failed QA review, recording the specific issues found so the implementing agent can address them and restart.
9
+
10
+ ## Why Rejection Quality Matters
11
+
12
+ When a goal is rejected, the implementing agent receives the review issues as its primary guidance for rework. Vague or incomplete rejection feedback causes wasted rework cycles — the agent guesses at what's wrong, fixes the wrong things, and resubmits with the same issues. Precise, actionable rejection feedback is the fastest path to a passing review.
13
+
14
+ ## Protocol
15
+
16
+ ### 1. Document Review Issues
17
+
18
+ Before rejecting, ensure you have a clear, specific list of every issue found during QA review. Each issue must be:
19
+
20
+ - **Specific**: Reference exact files, functions, or behaviors that are wrong.
21
+ - **Actionable**: Describe what needs to change, not just what's wrong.
22
+ - **Traceable**: Link back to the success criterion, invariant, or guideline that was violated.
23
+
24
+ ### 2. Reject the Goal
25
+
26
+ ```bash
27
+ jumbo goal reject --id <goal-id> --issues "<detailed review issues>"
28
+ ```
29
+
30
+ The rejection output confirms:
31
+ - The goal ID and objective
32
+ - The goal's status (returned to a reworkable state)
33
+ - The review issues recorded for the implementing agent
34
+
35
+ ### 3. Communicate Next Steps
36
+
37
+ After rejection, the implementing agent should:
38
+
39
+ 1. Address every review issue documented in the rejection.
40
+ 2. Restart the goal to reload context:
41
+ ```bash
42
+ jumbo goal start --id <goal-id>
43
+ ```
44
+ 3. Re-implement the fixes within the original scope and constraints.
45
+ 4. Resubmit for review:
46
+ ```bash
47
+ jumbo goal submit --id <goal-id>
48
+ ```
49
+
50
+ If a next goal is queued, its ID will be displayed for reference, but the rejected goal takes priority.
51
+
52
+ ## Rules
53
+
54
+ 1. **Never reject without specific issues.** Every rejection must include actionable feedback the implementing agent can act on.
55
+ 2. **Never combine rejection with rework.** The rejecting agent reviews; the implementing agent fixes. Do not attempt both roles.
56
+ 3. **Always reference violated criteria.** Tie each issue back to a success criterion, invariant, or guideline so the implementing agent understands the standard.
57
+ 4. **Keep issues structured.** Use numbered or bulleted lists. One issue per point. No walls of text.
58
+ 5. **Never reject for out-of-scope concerns.** Only reject for issues within the goal's defined scope and criteria.
@@ -1,94 +1,94 @@
1
- ---
2
- name: review-jumbo-goal
3
- description: Use when a Jumbo goal needs QA review after implementation. Runs the review protocol, verifies every objective, criterion, and related entity constraint, and approves the goal for codification or rejects it with feedback.
4
- ---
5
-
6
- # Review Jumbo Goal
7
-
8
- **Prompt:** Review a completed Jumbo goal implementation against its objective, success criteria, scope, and all related architectural context. Approve the goal if no issue are found, otherwise document the issues and reject the goal.
9
-
10
- ## Why Review Matters
11
-
12
- `jumbo goal review` assembles the goal's full context — objective, criteria, scope, architecture, components, decisions, invariants, and guidelines — into a QA verification prompt. A thorough review catches deviations before they compound. A lazy review lets defects ship.
13
-
14
- ## Protocol
15
-
16
- ### 1. Initiate Review
17
-
18
- ```bash
19
- jumbo goal review --id <goal-id>
20
- ```
21
-
22
- Read the entire output carefully. It contains the verification criteria assembled from the goal's relations.
23
-
24
- ### 2. Verify Objective and Success Criteria
25
-
26
- For each success criterion listed in the output:
27
-
28
- 1. Locate the implementation artifacts that satisfy it
29
- 2. Read the relevant code
30
- 3. Confirm the criterion is **fully** met — not partially, not approximately
31
-
32
- If ANY criterion is not met: add the issues to a list for feedback.
33
-
34
- ### 3. Verify Scope Compliance
35
-
36
- If the review output includes scope sections:
37
-
38
- - **In Scope**: Confirm all work was done within the listed files/areas. No under-delivery.
39
- - **Out of Scope**: Confirm no work leaked into excluded areas. No over-delivery.
40
-
41
- If scope is violated: add the issues to the feedback list.
42
-
43
- ### 4. Verify Architecture Alignment
44
-
45
- If the review output includes architecture:
46
-
47
- - **Organization style**: Do new namespaces and file names match the solution's architectural organization?
48
- - **Design patterns**: Were prescribed patterns applied where applicable?
49
- - **Principles**: Do all new artifacts reflect the listed principles?
50
-
51
- If architecture is misaligned: add the issues to the feedback list.
52
-
53
- ### 5. Verify Related Entities
54
-
55
- For each category in the review output:
56
-
57
- - **Components**: Were all listed components properly considered? Are interactions correct?
58
- - **Dependencies**: Are dependency contracts respected?
59
- - **Decisions**: Is the implementation consistent with listed architectural decisions?
60
- - **Invariants**: Does the implementation adhere to every listed invariant? This is non-negotiable.
61
- - **Guidelines**: Does the implementation follow listed guidelines?
62
-
63
- If ANY entity constraint is violated: add the issues to the feedback list.
64
-
65
- ### 6. Run Tests
66
-
67
- ```bash
68
- npm test
69
- ```
70
-
71
- All tests must pass. If tests fail: add the issues to the feedback list.
72
-
73
- ### 7. Qualify or Re-Review
74
-
75
- **If ALL checks pass** (criteria, scope, architecture, entities, tests):
76
-
77
- ```bash
78
- jumbo goal approve --id <goal-id>
79
- ```
80
-
81
- **If ANY check failed**:
82
-
83
- ```bash
84
- jumbo goal reject --id <goal-id> --audit-findings <list of issues>
85
- ```
86
-
87
-
88
- ## Rules
89
-
90
- 1. **Never approve with unresolved failures.** Every criterion, invariant, and test must pass before approving.
91
- 2. **Never skip entity categories.** Review output includes entities for a reason — each was registered during refinement as essential context.
92
- 3. **Always run tests.** Implementation without passing tests is incomplete.
93
- 4. **Document issues clearly.** When rejecting a goal, provide detailed feedback for each failure.
94
- 5. **Read the code, don't assume.** Verify each criterion by reading actual implementation, not by recalling what you wrote.
1
+ ---
2
+ name: review-jumbo-goal
3
+ description: Use when a Jumbo goal needs QA review after implementation. Runs the review protocol, verifies every objective, criterion, and related entity constraint, and approves the goal for codification or rejects it with feedback.
4
+ ---
5
+
6
+ # Review Jumbo Goal
7
+
8
+ **Prompt:** Review a completed Jumbo goal implementation against its objective, success criteria, scope, and all related architectural context. Approve the goal if no issue are found, otherwise document the issues and reject the goal.
9
+
10
+ ## Why Review Matters
11
+
12
+ `jumbo goal review` assembles the goal's full context — objective, criteria, scope, architecture, components, decisions, invariants, and guidelines — into a QA verification prompt. A thorough review catches deviations before they compound. A lazy review lets defects ship.
13
+
14
+ ## Protocol
15
+
16
+ ### 1. Initiate Review
17
+
18
+ ```bash
19
+ jumbo goal review --id <goal-id>
20
+ ```
21
+
22
+ Read the entire output carefully. It contains the verification criteria assembled from the goal's relations.
23
+
24
+ ### 2. Verify Objective and Success Criteria
25
+
26
+ For each success criterion listed in the output:
27
+
28
+ 1. Locate the implementation artifacts that satisfy it
29
+ 2. Read the relevant code
30
+ 3. Confirm the criterion is **fully** met — not partially, not approximately
31
+
32
+ If ANY criterion is not met: add the issues to a list for feedback.
33
+
34
+ ### 3. Verify Scope Compliance
35
+
36
+ If the review output includes scope sections:
37
+
38
+ - **In Scope**: Confirm all work was done within the listed files/areas. No under-delivery.
39
+ - **Out of Scope**: Confirm no work leaked into excluded areas. No over-delivery.
40
+
41
+ If scope is violated: add the issues to the feedback list.
42
+
43
+ ### 4. Verify Architecture Alignment
44
+
45
+ If the review output includes architecture:
46
+
47
+ - **Organization style**: Do new namespaces and file names match the solution's architectural organization?
48
+ - **Design patterns**: Were prescribed patterns applied where applicable?
49
+ - **Principles**: Do all new artifacts reflect the listed principles?
50
+
51
+ If architecture is misaligned: add the issues to the feedback list.
52
+
53
+ ### 5. Verify Related Entities
54
+
55
+ For each category in the review output:
56
+
57
+ - **Components**: Were all listed components properly considered? Are interactions correct?
58
+ - **Dependencies**: Are dependency contracts respected?
59
+ - **Decisions**: Is the implementation consistent with listed architectural decisions?
60
+ - **Invariants**: Does the implementation adhere to every listed invariant? This is non-negotiable.
61
+ - **Guidelines**: Does the implementation follow listed guidelines?
62
+
63
+ If ANY entity constraint is violated: add the issues to the feedback list.
64
+
65
+ ### 6. Run Tests
66
+
67
+ ```bash
68
+ npm test
69
+ ```
70
+
71
+ All tests must pass. If tests fail: add the issues to the feedback list.
72
+
73
+ ### 7. Qualify or Re-Review
74
+
75
+ **If ALL checks pass** (criteria, scope, architecture, entities, tests):
76
+
77
+ ```bash
78
+ jumbo goal approve --id <goal-id>
79
+ ```
80
+
81
+ **If ANY check failed**:
82
+
83
+ ```bash
84
+ jumbo goal reject --id <goal-id> --audit-findings <list of issues>
85
+ ```
86
+
87
+
88
+ ## Rules
89
+
90
+ 1. **Never approve with unresolved failures.** Every criterion, invariant, and test must pass before approving.
91
+ 2. **Never skip entity categories.** Review output includes entities for a reason — each was registered during refinement as essential context.
92
+ 3. **Always run tests.** Implementation without passing tests is incomplete.
93
+ 4. **Document issues clearly.** When rejecting a goal, provide detailed feedback for each failure.
94
+ 5. **Read the code, don't assume.** Verify each criterion by reading actual implementation, not by recalling what you wrote.