@autobe/agent 0.30.4 → 0.30.5

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 (210) hide show
  1. package/lib/constants/AutoBeSystemPromptConstant.d.ts +5 -4
  2. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  3. package/lib/describe/image/orchestrateImageDescribeDraft.js +6 -6
  4. package/lib/describe/image/structures/IAutoBeImageDescribeDraftApplication.d.ts +12 -63
  5. package/lib/index.mjs +2918 -2842
  6. package/lib/index.mjs.map +1 -1
  7. package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +8 -8
  8. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +36 -37
  9. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
  10. package/lib/orchestrate/analyze/orchestrateAnalyzeScenarioReview.js +7 -7
  11. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +55 -42
  12. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
  13. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js +67 -54
  14. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js.map +1 -1
  15. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js +24 -25
  16. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js.map +1 -1
  17. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js +24 -25
  18. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js.map +1 -1
  19. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js +30 -31
  20. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js.map +1 -1
  21. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +14 -52
  22. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +23 -96
  23. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.d.ts +12 -40
  24. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.d.ts +30 -88
  25. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.d.ts +35 -94
  26. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.d.ts +23 -93
  27. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.d.ts +15 -88
  28. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js +76 -31
  29. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -1
  30. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +7 -7
  31. package/lib/orchestrate/common/structures/IAnalysisSectionEntry.d.ts +2 -8
  32. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +8 -50
  33. package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +1 -9
  34. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.d.ts +4 -23
  35. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.d.ts +3 -21
  36. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +4 -22
  37. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +4 -22
  38. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.d.ts +5 -17
  39. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.d.ts +7 -76
  40. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.d.ts +6 -89
  41. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.d.ts +7 -93
  42. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.d.ts +3 -22
  43. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.d.ts +3 -22
  44. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js +114 -139
  45. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -1
  46. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +90 -91
  47. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -1
  48. package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js +58 -59
  49. package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js.map +1 -1
  50. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +58 -59
  51. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -1
  52. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js +108 -132
  53. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -1
  54. package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js +72 -72
  55. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +76 -77
  56. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -1
  57. package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js +130 -159
  58. package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js.map +1 -1
  59. package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js +126 -155
  60. package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js.map +1 -1
  61. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +114 -142
  62. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
  63. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +5 -5
  64. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +100 -129
  65. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
  66. package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js +120 -149
  67. package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js.map +1 -1
  68. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.d.ts +10 -97
  69. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +14 -83
  70. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.d.ts +12 -90
  71. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +12 -80
  72. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +21 -116
  73. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.d.ts +24 -112
  74. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +11 -83
  75. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +11 -76
  76. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.d.ts +18 -96
  77. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.d.ts +11 -76
  78. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.d.ts +25 -107
  79. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.d.ts +5 -31
  80. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.d.ts +6 -42
  81. package/lib/orchestrate/prisma/orchestratePrismaAuthorization.js +41 -41
  82. package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js +62 -63
  83. package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js.map +1 -1
  84. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +40 -41
  85. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  86. package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js +60 -61
  87. package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js.map +1 -1
  88. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +112 -116
  89. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
  90. package/lib/orchestrate/prisma/orchestratePrismaGroup.js +48 -49
  91. package/lib/orchestrate/prisma/orchestratePrismaGroup.js.map +1 -1
  92. package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js +70 -71
  93. package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js.map +1 -1
  94. package/lib/orchestrate/prisma/orchestratePrismaSchema.js +118 -122
  95. package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
  96. package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js +126 -131
  97. package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js.map +1 -1
  98. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.d.ts +22 -99
  99. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.d.ts +12 -109
  100. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.d.ts +14 -100
  101. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.d.ts +15 -108
  102. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.d.ts +24 -106
  103. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.d.ts +13 -76
  104. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.d.ts +13 -111
  105. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.d.ts +26 -97
  106. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.d.ts +16 -93
  107. package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js +1 -1
  108. package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js.map +1 -1
  109. package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js +1 -1
  110. package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js.map +1 -1
  111. package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js +20 -2
  112. package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js.map +1 -1
  113. package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js +22 -2
  114. package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js.map +1 -1
  115. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectCasting.js +7 -7
  116. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js +86 -6
  117. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js.map +1 -1
  118. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +38 -38
  119. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +34 -34
  120. package/lib/orchestrate/realize/orchestrateRealizeCollectorCorrectOverall.js +38 -38
  121. package/lib/orchestrate/realize/orchestrateRealizeCollectorPlan.js +54 -54
  122. package/lib/orchestrate/realize/orchestrateRealizeCollectorWrite.js +36 -36
  123. package/lib/orchestrate/realize/orchestrateRealizeOperationCorrectOverall.js +44 -44
  124. package/lib/orchestrate/realize/orchestrateRealizeOperationWrite.js +42 -42
  125. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js +1 -0
  126. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js.map +1 -1
  127. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectOverall.js +46 -46
  128. package/lib/orchestrate/realize/orchestrateRealizeTransformerPlan.js +36 -36
  129. package/lib/orchestrate/realize/orchestrateRealizeTransformerWrite.js +44 -44
  130. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.d.ts +18 -0
  131. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js +167 -8
  132. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js.map +1 -1
  133. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +17 -71
  134. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.d.ts +32 -92
  135. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.d.ts +32 -114
  136. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.d.ts +29 -106
  137. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.d.ts +38 -131
  138. package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.d.ts +16 -71
  139. package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.d.ts +16 -73
  140. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.d.ts +37 -155
  141. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.d.ts +25 -88
  142. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.d.ts +48 -181
  143. package/lib/orchestrate/realize/utils/generateTS2339Hints.d.ts +5 -3
  144. package/lib/orchestrate/realize/utils/generateTS2339Hints.js +37 -19
  145. package/lib/orchestrate/realize/utils/generateTS2339Hints.js.map +1 -1
  146. package/lib/orchestrate/test/histories/transformTestOperationWriteHistory.js +2 -2
  147. package/lib/orchestrate/test/orchestrateTestScenario.js +22 -22
  148. package/lib/orchestrate/test/orchestrateTestScenarioReview.js +22 -22
  149. package/package.json +5 -5
  150. package/src/constants/AutoBeSystemPromptConstant.ts +5 -4
  151. package/src/describe/image/structures/IAutoBeImageDescribeDraftApplication.ts +12 -63
  152. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +14 -52
  153. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +23 -96
  154. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.ts +12 -40
  155. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.ts +30 -88
  156. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.ts +35 -94
  157. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.ts +23 -93
  158. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.ts +15 -88
  159. package/src/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.ts +92 -31
  160. package/src/orchestrate/common/structures/IAnalysisSectionEntry.ts +2 -8
  161. package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +8 -50
  162. package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +1 -9
  163. package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.ts +4 -23
  164. package/src/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.ts +3 -21
  165. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +4 -22
  166. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +4 -22
  167. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.ts +5 -17
  168. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.ts +7 -76
  169. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.ts +6 -89
  170. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.ts +7 -93
  171. package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.ts +3 -22
  172. package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.ts +3 -22
  173. package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.ts +10 -97
  174. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +14 -83
  175. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.ts +12 -90
  176. package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +12 -80
  177. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +21 -116
  178. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.ts +24 -112
  179. package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +11 -83
  180. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +11 -76
  181. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.ts +18 -96
  182. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.ts +11 -76
  183. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.ts +25 -107
  184. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.ts +5 -31
  185. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.ts +6 -42
  186. package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.ts +22 -99
  187. package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.ts +12 -109
  188. package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.ts +14 -100
  189. package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.ts +15 -108
  190. package/src/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.ts +24 -106
  191. package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.ts +13 -76
  192. package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.ts +13 -111
  193. package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.ts +26 -97
  194. package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.ts +16 -93
  195. package/src/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.ts +21 -1
  196. package/src/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.ts +26 -4
  197. package/src/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.ts +125 -9
  198. package/src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts +1 -0
  199. package/src/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.ts +210 -7
  200. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +17 -71
  201. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.ts +32 -92
  202. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.ts +32 -114
  203. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.ts +29 -106
  204. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.ts +38 -131
  205. package/src/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.ts +16 -71
  206. package/src/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.ts +16 -73
  207. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.ts +37 -155
  208. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.ts +25 -88
  209. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.ts +48 -181
  210. package/src/orchestrate/realize/utils/generateTS2339Hints.ts +39 -19
@@ -1 +1 @@
1
- {"version":3,"file":"orchestratePrismaSchemaReview.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaSchemaReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,sEAiDC;;;;;AA3DD,kDAA4D;AAC5D,+BAA0B;AAG1B,uEAAoE;AACpE,uFAAoF;AACpF,uGAAoG;AACpG,iGAA8F;AAG9F,SAAsB,6BAA6B,CACjD,GAAkB,EAClB,KAKC;;QAED,wEAAwE;QACxE,MAAM,UAAU,GAIX,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;YAC1C,MAAM,IAAI,GAAqC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CACzE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,SAAS,CAC3C,CAAC;YACF,IAAI,IAAI,KAAK,SAAS;gBAAE,OAAO,EAAE,CAAC;Y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CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClE,CAAC;SAC+C;KACnD,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,sBAAkD,CAAC"}
1
+ {"version":3,"file":"orchestratePrismaSchemaReview.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaSchemaReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,sEAiDC;;;;;AA3DD,kDAA4D;AAC5D,+BAA0B;AAG1B,uEAAoE;AACpE,uFAAoF;AACpF,uGAAoG;AACpG,iGAA8F;AAG9F,SAAsB,6BAA6B,CACjD,GAAkB,EAClB,KAKC;;QAED,wEAAwE;QACxE,MAAM,UAAU,GAIX,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;YAC1C,MAAM,IAAI,GAAqC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CACzE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,SAAS,CAC3C,CAAC;YACF,IAAI,IAAI,KAAK,SAAS;gBAAE,OAAO,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC,MAAM;iBACf,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;iBAC1C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;QACH,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,EAAE,CAAC;QAEvC,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,UAAU,CAAC,MAAM,CAAC;QAE1C,OAAO,CACL,MAAM,IAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OACL;QAC5D,QAAQ,EAAE;YACR,OAAO,EAAE,QAAQ;SAClB;KACF,EACF,CAAC;IACF,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,MAAM;QACZ,WAAW;QACX,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;gBAChB,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU;oBAAE,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClE,CAAC;SAC+C;KACnD,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,sBAAkD,CAAC"}
@@ -3,25 +3,17 @@ import { tags } from "typia";
3
3
  import { IAutoBePreliminaryGetAnalysisSections } from "../../common/structures/IAutoBePreliminaryGetAnalysisSections";
4
4
  import { IAutoBePreliminaryGetPreviousAnalysisSections } from "../../common/structures/IAutoBePreliminaryGetPreviousAnalysisSections";
5
5
  import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas";
6
+ /**
7
+ * Designs ALL actor-related authentication tables. The Database Component agent
8
+ * will NOT create any actor or authentication tables — this agent owns that
9
+ * scope entirely.
10
+ */
6
11
  export interface IAutoBeDatabaseAuthorizationApplication {
7
12
  /**
8
- * Process authorization table design task for all actors or preliminary data
9
- * requests.
10
- *
11
- * Receives all actor definitions (name, kind, description for each) and
12
- * generates all authentication and authorization related tables for every
13
- * actor type (guest/member/admin) in a single call. This includes for each
14
- * actor:
15
- *
16
- * - The main actor table (e.g., users, administrators, guests)
17
- * - Session tables for JWT token management
18
- * - Authentication support tables (password reset, email verification, etc.)
19
- *
20
- * This agent is responsible for ALL actor-related tables. The Database
21
- * Component agent will NOT create any actor or authentication tables.
13
+ * Process authorization table design task or preliminary data requests.
22
14
  *
23
15
  * @param props Request containing either preliminary data request or complete
24
- * table design for all actors
16
+ * task
25
17
  */
26
18
  process(props: IAutoBeDatabaseAuthorizationApplication.IProps): void;
27
19
  }
@@ -30,105 +22,36 @@ export declare namespace IAutoBeDatabaseAuthorizationApplication {
30
22
  /**
31
23
  * Think before you act.
32
24
  *
33
- * Before requesting preliminary data or completing your task, reflect on
34
- * your current state and explain your reasoning:
35
- *
36
- * For preliminary requests (getAnalysisSections,
37
- * getPreviousAnalysisSections, getPreviousDatabaseSchemas):
38
- *
39
- * - What critical information is missing for designing auth tables?
40
- * - Why do you need it specifically right now?
41
- * - Be brief - state the gap, don't list everything you have.
42
- *
43
- * For completion (complete):
44
- *
45
- * - What tables did you design for this actor?
46
- * - How does the design support authentication workflows?
47
- * - Summarize - don't enumerate every single item.
25
+ * For preliminary requests: what critical information is missing and why?
26
+ * Be brief state the gap, don't list everything you have.
48
27
  *
49
- * This reflection helps you avoid duplicate requests and premature
50
- * completion.
28
+ * For completion: what key assets did you acquire, what did you accomplish,
29
+ * why is it sufficient? Summarize — don't enumerate every single item.
51
30
  */
52
31
  thinking: string;
53
32
  /**
54
- * Type discriminator for the request.
55
- *
56
- * Determines which action to perform: preliminary data retrieval
57
- * (getAnalysisSections, getPreviousAnalysisSections,
58
- * getPreviousDatabaseSchemas) or final table design (complete). When
59
- * preliminary returns empty array, that type is removed from the union,
60
- * physically preventing repeated calls.
33
+ * Action to perform. Exhausted preliminary types are removed from the
34
+ * union, physically preventing repeated calls.
61
35
  */
62
36
  request: IComplete | IAutoBePreliminaryGetAnalysisSections | IAutoBePreliminaryGetPreviousAnalysisSections | IAutoBePreliminaryGetPreviousDatabaseSchemas;
63
37
  }
64
38
  /**
65
- * Request to complete the authorization table design for all actors.
66
- *
67
- * Takes all actor definitions (name, kind, description for each) and
68
- * generates all database tables required for every actor's authentication and
69
- * authorization needs, including main actor tables, session tables, and any
70
- * authentication support tables for each actor.
71
- *
72
- * This is about creating tables for ALL actors in a single call. Each actor
73
- * must have at minimum a main actor table and a session table.
39
+ * Complete authorization table design for all actors. Each actor must have a
40
+ * main actor table and a session table.
74
41
  */
75
42
  interface IComplete {
76
- /**
77
- * Type discriminator for the request.
78
- *
79
- * Determines which action to perform: preliminary data retrieval or actual
80
- * task execution. Value "complete" indicates this is the final task
81
- * execution request.
82
- */
43
+ /** Type discriminator for completion request. */
83
44
  type: "complete";
84
- /**
85
- * Analysis of all actors' authentication requirements.
86
- *
87
- * Documents the agent's understanding of each actor's authentication needs:
88
- *
89
- * - What actors exist and their kinds (guest/member/admin)?
90
- * - What authentication patterns apply to each actor kind?
91
- * - What authentication features are required (login, registration, etc.)?
92
- * - What are the session management requirements for each actor?
93
- * - Are there any special authentication mechanisms (2FA, OAuth, etc.)?
94
- */
45
+ /** Analysis of all actors' authentication requirements and patterns. */
95
46
  analysis: string;
96
- /**
97
- * Rationale for the authorization table design decisions.
98
- *
99
- * Explains why tables were designed this way:
100
- *
101
- * - Why was each table created for each actor?
102
- * - What is the relationship between actor and session tables?
103
- * - How do tables support the authentication workflow for all actors?
104
- * - What normalization decisions were made for auth-related data?
105
- */
47
+ /** Rationale for the authorization table design decisions. */
106
48
  rationale: string;
107
49
  /**
108
- * Array of table designs for ALL ACTORS' authentication domains.
109
- *
110
- * Contains all database tables required for every actor's authentication
111
- * and authorization needs. Each table design includes table name
112
- * (snake_case, plural) and description explaining the table's purpose.
113
- *
114
- * The AI agent must design tables based on:
115
- *
116
- * - Each actor's kind (guest/member/admin) and its authentication patterns
117
- * - Authentication requirements from analysis sections
118
- * - Session management requirements (JWT, refresh tokens)
119
- * - Security requirements (password policies, 2FA)
120
- *
121
- * MUST include for EACH actor:
122
- *
123
- * - Main actor table (e.g., `users`, `administrators`, `guests`)
124
- * - Session table (e.g., `user_sessions`, `administrator_sessions`)
125
- *
126
- * MAY include (based on requirements):
50
+ * Table designs for all actors' authentication domains (snake_case, plural
51
+ * names).
127
52
  *
128
- * - Password reset tokens table
129
- * - Email verification tokens table
130
- * - OAuth connections table
131
- * - Two-factor authentication tokens table
53
+ * MUST include for each actor: main actor table + session table. MAY
54
+ * include: password reset, email verification, OAuth, 2FA tables.
132
55
  */
133
56
  tables: AutoBeDatabaseComponentTableDesign[] & tags.MinItems<1>;
134
57
  }
@@ -3,139 +3,42 @@ import { IAutoBePreliminaryGetAnalysisSections } from "../../common/structures/I
3
3
  import { IAutoBePreliminaryGetPreviousAnalysisSections } from "../../common/structures/IAutoBePreliminaryGetPreviousAnalysisSections";
4
4
  import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas";
5
5
  export interface IAutoBeDatabaseAuthorizationReviewApplication {
6
- /**
7
- * Analyze requirements and review the single authorization component
8
- * containing tables for ALL actors.
9
- *
10
- * Your PRIMARY task is to deeply analyze authentication requirements and
11
- * ensure complete table coverage for EVERY actor type in the authorization
12
- * component. The component contains tables for all actors
13
- * (guest/member/admin), and you must verify that each actor has its required
14
- * tables.
15
- *
16
- * ALWAYS fetch analysis sections first using `getAnalysisSections` to
17
- * understand what authentication features are required, then systematically
18
- * verify that EVERY actor has main actor table + session table, and apply
19
- * corrections.
20
- *
21
- * @param props Request containing either preliminary data request or complete
22
- * task with table revisions for all actors
23
- */
6
+ /** Process authorization review task or retrieve preliminary data. */
24
7
  process(props: IAutoBeDatabaseAuthorizationReviewApplication.IProps): void;
25
8
  }
26
9
  export declare namespace IAutoBeDatabaseAuthorizationReviewApplication {
27
10
  interface IProps {
28
11
  /**
29
- * Reflect on requirements analysis before acting.
30
- *
31
- * For preliminary requests (getAnalysisSections,
32
- * getPreviousAnalysisSections, getPreviousDatabaseSchemas):
33
- *
34
- * - What authentication requirements do you need to analyze?
35
- * - Which actor types need to be verified?
36
- *
37
- * For completion (complete):
38
- *
39
- * - What authentication requirements did you analyze?
40
- * - How many revisions are you making and why?
41
- * - Summarize the requirements-to-revisions mapping.
12
+ * Reasoning about your current state: what's missing (preliminary) or what
13
+ * you accomplished (completion).
42
14
  */
43
15
  thinking: string;
44
16
  /**
45
- * Request type discriminator.
46
- *
47
- * Use preliminary requests (getAnalysisSections, etc.) to fetch
48
- * requirements documents. Use complete to submit table revisions after
49
- * thorough authentication requirements analysis.
17
+ * Action to perform. Exhausted preliminary types are removed from the
18
+ * union.
50
19
  */
51
20
  request: IComplete | IAutoBePreliminaryGetAnalysisSections | IAutoBePreliminaryGetPreviousAnalysisSections | IAutoBePreliminaryGetPreviousDatabaseSchemas;
52
21
  }
53
- /**
54
- * Submit table revisions after authentication requirements analysis.
55
- *
56
- * The authorization component contains tables for ALL actors, so ensure no
57
- * actor is missing its required tables.
58
- */
22
+ /** Submit table revisions after authentication requirements analysis. */
59
23
  interface IComplete {
60
24
  /** Type discriminator. Value "complete" indicates final submission. */
61
25
  type: "complete";
62
26
  /**
63
- * Authentication requirements coverage analysis.
64
- *
65
- * Document how you analyzed authentication requirements and mapped them to
66
- * table modifications:
67
- *
68
- * - What actor types are defined?
69
- * - Does each actor have a main table and session table?
70
- * - What authentication support tables are needed?
71
- * - What existing tables need renaming or removal?
72
- *
73
- * Be specific - reference actual requirements and explain the
74
- * requirements-to-revisions mapping.
27
+ * How authentication requirements map to proposed table modifications,
28
+ * identifying coverage gaps.
75
29
  */
76
30
  review: string;
77
31
  /**
78
- * Array of table revision operations.
79
- *
80
- * Include all create, update, and erase operations identified during
81
- * review. Each operation must include a reason explaining why the change is
82
- * necessary.
83
- *
84
- * ## Operation Types:
32
+ * Table revision operations (create/update/erase). Each must include a
33
+ * reason.
85
34
  *
86
- * ### Create - Add missing tables
87
- *
88
- * Use when a table is needed to fulfill authentication requirements but
89
- * doesn't exist.
90
- *
91
- * ```typescript
92
- * {
93
- * "type": "create",
94
- * "reason": "Actor 'customer' requires password reset token storage",
95
- * "table": "shopping_customer_password_resets",
96
- * "description": "Stores password reset tokens with expiration for customers"
97
- * }
98
- * ```
99
- *
100
- * ### Update - Rename tables
101
- *
102
- * Use when a table has naming convention issues.
103
- *
104
- * ```typescript
105
- * {
106
- * "type": "update",
107
- * "reason": "Table name violates actor naming convention",
108
- * "original": "customerSessions",
109
- * "updated": "shopping_customer_sessions",
110
- * "description": "Authentication sessions for shopping customers"
111
- * }
112
- * ```
113
- *
114
- * ### Erase - Remove tables
115
- *
116
- * Use when a table doesn't belong to authorization.
117
- *
118
- * ```typescript
119
- * {
120
- * "type": "erase",
121
- * "reason": "Table is a business domain entity, not authentication",
122
- * "table": "shopping_orders"
123
- * }
124
- * ```
125
- *
126
- * ## Constraints:
35
+ * Constraints:
127
36
  *
128
37
  * - Only CREATE tables related to authentication and authorization
129
38
  * - Each actor MUST have a main actor table and session table
130
- * - Each operation must have a clear, requirement-based reason
131
39
  * - Empty array is valid if no modifications are needed
132
40
  *
133
- * ## Naming Conventions:
134
- *
135
- * - Snake case: `user_sessions` not `userSessions`
136
- * - Plural form: `users` not `user`
137
- * - Domain prefix: `shopping_customer_sessions`
138
- * - Actor name in table: all tables must contain the actor name
41
+ * Naming: snake_case, plural, domain-prefixed, actor name in table.
139
42
  */
140
43
  revises: AutoBeDatabaseComponentTableRevise[];
141
44
  }
@@ -3,127 +3,41 @@ import { IAutoBePreliminaryGetAnalysisSections } from "../../common/structures/I
3
3
  import { IAutoBePreliminaryGetPreviousAnalysisSections } from "../../common/structures/IAutoBePreliminaryGetPreviousAnalysisSections";
4
4
  import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas";
5
5
  export interface IAutoBeDatabaseComponentApplication {
6
- /**
7
- * Process table design task for a single component skeleton or preliminary
8
- * data requests.
9
- *
10
- * Receives a component skeleton (namespace, filename, thinking, review,
11
- * rationale already determined by DATABASE_GROUP phase) and fills in the
12
- * tables field with complete table designs for that single component.
13
- *
14
- * This is NOT about creating or organizing multiple components. The component
15
- * identity is fixed. This agent ONLY designs the tables that belong to the
16
- * provided component skeleton.
17
- *
18
- * @param props Request containing either preliminary data request or complete
19
- * table design
20
- */
6
+ /** Process table design task or retrieve preliminary data. */
21
7
  process(props: IAutoBeDatabaseComponentApplication.IProps): void;
22
8
  }
23
9
  export declare namespace IAutoBeDatabaseComponentApplication {
24
10
  interface IProps {
25
11
  /**
26
- * Think before you act.
27
- *
28
- * Before requesting preliminary data or completing your task, reflect on
29
- * your current state and explain your reasoning:
30
- *
31
- * For preliminary requests (getAnalysisSections,
32
- * getPreviousAnalysisSections):
33
- *
34
- * - What critical information is missing that you don't already have?
35
- * - Why do you need it specifically right now?
36
- * - Be brief - state the gap, don't list everything you have.
37
- *
38
- * For completion (complete):
39
- *
40
- * - What key assets did you acquire?
41
- * - What did you accomplish?
42
- * - Why is it sufficient to complete?
43
- * - Summarize - don't enumerate every single item.
44
- *
45
- * This reflection helps you avoid duplicate requests and premature
46
- * completion.
12
+ * Reasoning about your current state: what's missing (preliminary) or what
13
+ * you accomplished (completion).
47
14
  */
48
15
  thinking: string;
49
16
  /**
50
- * Type discriminator for the request.
51
- *
52
- * Determines which action to perform: preliminary data retrieval
53
- * (getAnalysisSections, getPreviousAnalysisSections,
54
- * getPreviousDatabaseSchemas) or final table design (complete). When
55
- * preliminary returns empty array, that type is removed from the union,
56
- * physically preventing repeated calls.
17
+ * Action to perform. Exhausted preliminary types are removed from the
18
+ * union.
57
19
  */
58
20
  request: IComplete | IAutoBePreliminaryGetAnalysisSections | IAutoBePreliminaryGetPreviousAnalysisSections | IAutoBePreliminaryGetPreviousDatabaseSchemas;
59
21
  }
60
22
  /**
61
- * Request to complete the database component by filling in table designs.
62
- *
63
- * Takes a component skeleton (namespace, filename already determined by
64
- * DATABASE_GROUP phase) and fills in the tables field by designing all
65
- * necessary database tables for this single component.
66
- *
67
- * This is NOT about creating multiple components - the component identity is
68
- * already fixed. This is ONLY about designing the tables that belong to this
69
- * single component.
23
+ * Complete the database component by filling in table designs for the given
24
+ * skeleton.
70
25
  */
71
26
  interface IComplete {
72
- /**
73
- * Type discriminator for the request.
74
- *
75
- * Determines which action to perform: preliminary data retrieval or actual
76
- * task execution. Value "complete" indicates this is the final task
77
- * execution request.
78
- */
27
+ /** Type discriminator for completion request. */
79
28
  type: "complete";
80
29
  /**
81
- * Analysis of the component's scope and table requirements.
82
- *
83
- * Documents the agent's understanding of this component's domain:
84
- *
85
- * - What is the component's business purpose (from the skeleton)?
86
- * - What entities from the requirements belong to this component?
87
- * - What relationships exist between these entities?
88
- * - What normalization patterns were identified?
30
+ * Analysis of the component's scope, entities, relationships, and table
31
+ * requirements.
89
32
  */
90
33
  analysis: string;
91
- /**
92
- * Rationale for the table design decisions.
93
- *
94
- * Explains why tables were designed this way:
95
- *
96
- * - Why was each table created?
97
- * - Why were certain entities kept separate vs combined?
98
- * - What normalization principles were applied?
99
- * - How do the tables fulfill the component's rationale?
100
- */
34
+ /** Rationale for table design decisions and normalization choices. */
101
35
  rationale: string;
102
36
  /**
103
- * Array of table designs for THIS SINGLE component.
104
- *
105
- * Contains all database tables that belong to the component skeleton
106
- * received as input. Each table design includes table name (snake_case,
107
- * plural) and description explaining the table's purpose and contents.
108
- *
109
- * The AI agent must design tables based on:
110
- *
111
- * - The component's namespace and intended domain (from skeleton)
112
- * - Business requirements from analysis sections
113
- * - Previous database schemas for consistency
114
- * - Normalization principles (3NF)
115
- * - Relationship integrity
116
- *
117
- * CRITICAL CONSTRAINTS:
37
+ * Table designs for this single component (snake_case, plural names).
118
38
  *
119
- * - The namespace and filename are ALREADY DETERMINED by the component
120
- * skeleton
121
- * - Do NOT create multiple components or reorganize component boundaries
122
- * - Do NOT include thinking, review, decision, or rationale - those are
123
- * already in the skeleton
124
- * - ALL tables generated here belong to THE SINGLE component skeleton
125
- * provided
126
- * - ONLY provide the tables array - nothing else
39
+ * Namespace and filename are already determined by the skeleton. All tables
40
+ * must belong to this component only.
127
41
  */
128
42
  tables: AutoBeDatabaseComponentTableDesign[];
129
43
  }
@@ -3,47 +3,19 @@ import { IAutoBePreliminaryGetAnalysisSections } from "../../common/structures/I
3
3
  import { IAutoBePreliminaryGetPreviousAnalysisSections } from "../../common/structures/IAutoBePreliminaryGetPreviousAnalysisSections";
4
4
  import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas";
5
5
  export interface IAutoBeDatabaseComponentReviewApplication {
6
- /**
7
- * Analyze requirements and review the component's table list.
8
- *
9
- * Your PRIMARY task is to deeply analyze user requirements and ensure
10
- * complete table coverage for all features in this component's domain. Review
11
- * existing tables and identify necessary modifications using create, update,
12
- * or erase operations.
13
- *
14
- * ALWAYS fetch analysis sections first using `getAnalysisSections` to
15
- * understand what features this component's domain needs to support, then
16
- * systematically verify table coverage and apply corrections.
17
- *
18
- * @param props Request containing either preliminary data request or complete
19
- * task with table revisions
20
- */
6
+ /** Process component review task or retrieve preliminary data. */
21
7
  process(props: IAutoBeDatabaseComponentReviewApplication.IProps): void;
22
8
  }
23
9
  export declare namespace IAutoBeDatabaseComponentReviewApplication {
24
10
  interface IProps {
25
11
  /**
26
- * Reflect on requirements analysis before acting.
27
- *
28
- * For preliminary requests (getAnalysisSections,
29
- * getPreviousAnalysisSections, getPreviousDatabaseSchemas):
30
- *
31
- * - What requirements documents do you need to analyze this component?
32
- * - Which features in this domain need to be understood?
33
- *
34
- * For completion (complete):
35
- *
36
- * - What requirements did you analyze?
37
- * - How many revisions are you making and why?
38
- * - Summarize the requirements-to-revisions mapping.
12
+ * Reasoning about your current state: what's missing (preliminary) or what
13
+ * you accomplished (completion).
39
14
  */
40
15
  thinking: string;
41
16
  /**
42
- * Request type discriminator.
43
- *
44
- * Use preliminary requests (getAnalysisSections, etc.) to fetch
45
- * requirements documents. Use complete to submit table revisions after
46
- * thorough requirements analysis.
17
+ * Action to perform. Exhausted preliminary types are removed from the
18
+ * union.
47
19
  */
48
20
  request: IComplete | IAutoBePreliminaryGetAnalysisSections | IAutoBePreliminaryGetPreviousAnalysisSections | IAutoBePreliminaryGetPreviousDatabaseSchemas;
49
21
  }
@@ -52,88 +24,23 @@ export declare namespace IAutoBeDatabaseComponentReviewApplication {
52
24
  /** Type discriminator. Value "complete" indicates final submission. */
53
25
  type: "complete";
54
26
  /**
55
- * Requirements coverage analysis.
56
- *
57
- * Document how you analyzed requirements and mapped them to table
58
- * modifications:
59
- *
60
- * - What features does this domain support?
61
- * - What data storage needs does each feature have?
62
- * - What tables are missing to fulfill these requirements?
63
- * - What existing tables need renaming or removal?
64
- *
65
- * Be specific - reference actual requirements and explain the
66
- * requirements-to-revisions mapping.
27
+ * How requirements map to proposed table modifications, identifying
28
+ * coverage gaps.
67
29
  */
68
30
  review: string;
69
31
  /**
70
- * Array of table revision operations.
71
- *
72
- * Include all create, update, and erase operations identified during
73
- * review. Each operation must include a reason explaining why the change is
74
- * necessary.
75
- *
76
- * ## Operation Types:
77
- *
78
- * ### Create - Add missing tables
32
+ * Table revision operations (create/update/erase). Each must include a
33
+ * reason.
79
34
  *
80
- * Use when a table is needed to fulfill requirements but doesn't exist.
35
+ * Constraints:
81
36
  *
82
- * ```typescript
83
- * {
84
- * "type": "create",
85
- * "reason": "Requirement 3.2 specifies order cancellation tracking",
86
- * "table": "order_cancellations",
87
- * "description": "Stores cancellation records with reasons and timestamps"
88
- * }
89
- * ```
90
- *
91
- * ### Update - Rename tables
92
- *
93
- * Use when a table has naming convention issues.
94
- *
95
- * ```typescript
96
- * {
97
- * "type": "update",
98
- * "reason": "Table name violates snake_case convention",
99
- * "original": "orderCancel",
100
- * "updated": "order_cancellations",
101
- * "description": "Stores cancellation records with reasons and timestamps"
102
- * }
103
- * ```
104
- *
105
- * ### Erase - Remove tables
106
- *
107
- * Use when a table belongs to another domain or is unnecessary.
108
- *
109
- * ```typescript
110
- * {
111
- * "type": "erase",
112
- * "reason": "Table belongs to Actors component, not Orders",
113
- * "table": "shopping_customers"
114
- * }
115
- * ```
116
- *
117
- * ## Constraints:
118
- *
119
- * - Only CREATE tables that CLEARLY belong to THIS component's domain
120
- * - If uncertain about domain ownership → DO NOT CREATE
121
- * - Each operation must have a clear, requirement-based reason
37
+ * - Only CREATE tables that clearly belong to THIS component's domain
38
+ * - CREATE/UPDATE names are validated against other components (duplicates
39
+ * fail)
40
+ * - Revises only affect the target component
122
41
  * - Empty array is valid if no modifications are needed
123
42
  *
124
- * ## Validation Rules:
125
- *
126
- * - CREATE/UPDATE table names are checked against "Tables in Other
127
- * Components"
128
- * - If the table name already exists in another component → validation FAILS
129
- * - Always check "Tables in Other Components" before CREATE/UPDATE operations
130
- * - Your revises only affect Target Component, never other components' tables
131
- *
132
- * ## Naming Conventions:
133
- *
134
- * - Snake case: `user_profiles` not `userProfiles`
135
- * - Plural form: `users` not `user`
136
- * - Domain prefix: `shopping_customers`
43
+ * Naming: snake_case, plural, domain-prefixed.
137
44
  */
138
45
  revises: AutoBeDatabaseComponentTableRevise[];
139
46
  }