@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
@@ -91,7 +91,7 @@ function createController(props) {
91
91
  type: "object",
92
92
  properties: {
93
93
  thinking: {
94
- description: "Think before you act.\n\nBefore completing extraction, reflect on what decisions this file makes:\n\n- What binary (yes/no) choices does this file assert?\n- What discrete behavioral choices does this file make?\n- Are there decisions where another file could reasonably disagree?",
94
+ description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
95
95
  anyOf: [
96
96
  {
97
97
  type: "null"
@@ -102,7 +102,7 @@ function createController(props) {
102
102
  ]
103
103
  },
104
104
  request: {
105
- description: "Extraction result.",
105
+ description: "Action to perform: submit extracted decisions.",
106
106
  $ref: "#/$defs/IAutoBeAnalyzeExtractDecisionsApplicationComplete"
107
107
  }
108
108
  },
@@ -116,14 +116,14 @@ function createController(props) {
116
116
  type: "object",
117
117
  properties: {
118
118
  type: {
119
- description: "Type discriminator for the request.",
119
+ description: "Type discriminator for completion request.",
120
120
  type: "string",
121
121
  "enum": [
122
122
  "complete"
123
123
  ]
124
124
  },
125
125
  decisions: {
126
- description: "All binary/discrete decisions extracted from this file.\n\nEach decision represents a specific behavioral choice that the file makes.\nUse normalized topic names, decision names, and values.\n\nReturn an empty array if the file has no extractable decisions (e.g., table\nof contents).",
126
+ description: "All binary/discrete decisions extracted from this file. Use normalized\nnames. Return an empty array if the file has no extractable decisions.",
127
127
  type: "array",
128
128
  items: {
129
129
  $ref: "#/$defs/IAutoBeAnalyzeExtractedDecision"
@@ -140,15 +140,15 @@ function createController(props) {
140
140
  type: "object",
141
141
  properties: {
142
142
  topic: {
143
- description: "Normalized topic grouping.\n\nUse lowercase, underscore-separated names.",
143
+ description: "Normalized topic grouping (lowercase, underscore-separated).",
144
144
  type: "string"
145
145
  },
146
146
  decision: {
147
- description: "Specific decision within the topic.\n\nUse lowercase, underscore-separated, descriptive names.",
147
+ description: "Specific decision within the topic (lowercase, underscore-separated).",
148
148
  type: "string"
149
149
  },
150
150
  value: {
151
- description: "The value of the decision.\n\nFor binary decisions: \"yes\" or \"no\". For discrete decisions: short\ndescriptive string.",
151
+ description: "Binary: \"yes\"/\"no\". Discrete: short descriptive string.",
152
152
  type: "string"
153
153
  },
154
154
  evidence: {
@@ -165,7 +165,7 @@ function createController(props) {
165
165
  }
166
166
  }
167
167
  },
168
- description: "Process decision extraction from a single file's sections.\n\nReads the file content and extracts all binary/discrete decisions as\nstructured data for cross-file contradiction detection.",
168
+ description: "Extract all binary/discrete decisions from a single file's sections.",
169
169
  validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _io1(input.request)); const _io1 = input => "complete" === input.type && (Array.isArray(input.decisions) && input.decisions.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => "string" === typeof input.topic && "string" === typeof input.decision && "string" === typeof input.value && "string" === typeof input.evidence; const _vo0 = (input, _path, _exceptionable = true) => [null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking || _report(_exceptionable, {
170
170
  path: _path + ".thinking",
171
171
  expected: "(null | string | undefined)",
@@ -85,7 +85,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
85
85
  type: "string"
86
86
  }
87
87
  ],
88
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests (getPreviousAnalysisSections):\n\n- What critical information is missing that you don't already have?\n- Why do you need it specifically right now?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion (complete):\n\n- What key assets did you acquire?\n- What did you accomplished?\n- Why is it sufficient to complete?\n- Summarize - don't enumerate every single item.\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion."
88
+ description: "Think before you act.\n\nFor preliminary requests: what previous analysis sections are missing?\n\nFor completion: is the DTO transformable or non-transformable? What\nactors, entities, and prefix were chosen based on requirements?"
89
89
  },
90
90
  request: {
91
91
  oneOf: [
@@ -103,7 +103,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
103
103
  complete: "#/components/schemas/IAutoBeAnalyzeScenarioApplication.IComplete"
104
104
  }
105
105
  },
106
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval\n(getPreviousAnalysisSections) or final scenario composition (complete).\nWhen preliminary returns empty array, that type is removed from the\nunion, physically preventing repeated calls."
106
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
107
107
  }
108
108
  },
109
109
  required: [
@@ -115,7 +115,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
115
115
  properties: {
116
116
  type: {
117
117
  "const": "getPreviousAnalysisSections",
118
- description: "Type discriminator for the request.\n\nValue \"getPreviousAnalysisSections\" indicates this is a preliminary data\nrequest for analysis sections from the previous iteration."
118
+ description: "Type discriminator."
119
119
  },
120
120
  sectionIds: {
121
121
  type: "array",
@@ -124,37 +124,37 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
124
124
  minimum: 0
125
125
  },
126
126
  minItems: 1,
127
- description: "List of section IDs to retrieve from the previous iteration.\n\nCRITICAL: DO NOT request the same section IDs that you have already\nrequested in previous calls."
127
+ description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
128
128
  }
129
129
  },
130
130
  required: [
131
131
  "type",
132
132
  "sectionIds"
133
133
  ],
134
- description: "Request to retrieve individual analysis sections from previous iteration by\nnumeric ID.\n\nSame as {@link IAutoBePreliminaryGetAnalysisSections} but for sections from\nthe previous generation cycle, enabling comparison and consistency checks."
134
+ description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
135
135
  },
136
136
  "IAutoBeAnalyzeScenarioApplication.IComplete": {
137
137
  type: "object",
138
138
  properties: {
139
139
  type: {
140
140
  "const": "complete",
141
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"complete\" indicates this is the final task\nexecution request."
141
+ description: "Type discriminator for completion request."
142
142
  },
143
143
  reason: {
144
144
  type: "string",
145
- description: "Reason for the analysis and composition of the project structure."
145
+ description: "Why these actors, entities, and prefix were chosen based on requirements."
146
146
  },
147
147
  prefix: {
148
148
  type: "string",
149
149
  pattern: "^[a-z][a-zA-Z0-9]*$",
150
- description: "Prefix for file names and variable names. This will be used for\norganizing documentation files.\n\nDO: Use camelCase naming convention."
150
+ description: "Prefix for file/variable names (camelCase)."
151
151
  },
152
152
  actors: {
153
153
  type: "array",
154
154
  items: {
155
155
  $ref: "#/components/schemas/AutoBeAnalyze.IActor"
156
156
  },
157
- description: "Actors to be assigned for the project.\n\nEach actor has:\n\n- `name`: Actor identifier (camelCase)\n- `kind`: \"guest\" | \"member\" | \"admin\"\n- `description`: Actor's permissions and capabilities"
157
+ description: "Actors for the project (name, kind, description)."
158
158
  },
159
159
  language: {
160
160
  oneOf: [
@@ -165,21 +165,21 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
165
165
  type: "string"
166
166
  }
167
167
  ],
168
- description: "Language for document content. When specified by the user, this takes\nprecedence over the locale setting for determining document language. Set\nto `null` if not specified."
168
+ description: "Language for document content. Overrides locale if set; null if not\nspecified."
169
169
  },
170
170
  entities: {
171
171
  type: "array",
172
172
  items: {
173
173
  $ref: "#/components/schemas/AutoBeAnalyzeScenarioEntity"
174
174
  },
175
- description: "Core domain entities with their key attributes and relationships.\n\nThese serve as the AUTHORITATIVE entity list \u2014 all downstream document\nwriters (module, unit, section) MUST reference only these entities. This\nprevents hallucination and ensures cross-file consistency.\n\nEach entity should include:\n\n- `name`: PascalCase entity name (e.g., \"Todo\", \"User\", \"Comment\")\n- `attributes`: Key attributes with type hints (e.g., \"title: text(1-500),\n required\")\n- `relationships`: How this entity relates to others (e.g., \"belongsTo User\n via userId\")\n\nInclude ALL domain entities that will appear in the requirements\ndocuments. Do NOT include meta-entities (InterpretationLog,\nScopeDecisionLog, etc.) that describe the requirements process rather\nthan the production system."
175
+ description: "AUTHORITATIVE entity list \u2014 all downstream writers MUST reference only\nthese entities. Include ALL domain entities; do NOT include meta-entities\ndescribing the requirements process."
176
176
  },
177
177
  features: {
178
178
  type: "array",
179
179
  items: {
180
180
  $ref: "#/components/schemas/FixedAnalyzeTemplateFeature"
181
181
  },
182
- description: "High-level project features that activate conditional modules.\n\nWARNING: Wrong activation causes cascading hallucination across ALL SRS\nfiles. Each feature adds 2-3 conditional modules that downstream LLMs\nMUST fill with content \u2014 if the user never requested the feature, those\nmodules get filled with hallucinated requirements.\n\nDEFAULT IS EMPTY ARRAY []. Most projects need no features.\n\nActivation rule: Include ONLY if the user used exact trigger keywords:\n\n- \"file-storage\": user said \"file upload\", \"attachment\", \"image upload\"\n- \"real-time\": user said \"real-time\", \"WebSocket\", \"live updates\", \"chat\"\n- \"external-integration\": user said \"payment\", \"Stripe\", \"OAuth\", \"email\n service\"\n\nStandard CRUD with auth = features: []. Do NOT activate features based on\ninference or general context."
182
+ description: "Features activating conditional modules. DEFAULT IS EMPTY ARRAY [].\n\nWARNING: Wrong activation causes cascading hallucination across ALL SRS\nfiles. Include ONLY if user used exact trigger keywords:\n\n- \"file-storage\": \"file upload\", \"attachment\", \"image upload\"\n- \"real-time\": \"real-time\", \"WebSocket\", \"live updates\", \"chat\"\n- \"external-integration\": \"payment\", \"Stripe\", \"OAuth\", \"email service\"\n\nStandard CRUD with auth = []. Do NOT activate based on inference."
183
183
  }
184
184
  },
185
185
  required: [
@@ -191,7 +191,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
191
191
  "entities",
192
192
  "features"
193
193
  ],
194
- description: "Request to compose project structure with actors and entities.\n\nThe document file structure is fixed as 6-file SRS template. LLM only\ndetermines actors, entities, prefix, and language. Files are generated\nprogrammatically from FixedAnalyzeTemplate."
194
+ description: "Compose project structure with actors and entities (6-file SRS template)."
195
195
  },
196
196
  "AutoBeAnalyze.IActor": {
197
197
  type: "object",
@@ -200,7 +200,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
200
200
  type: "string",
201
201
  pattern: "^[a-z][a-zA-Z0-9]*$",
202
202
  minLength: 1,
203
- description: "Unique identifier for the user actor.\n\nThis name will be used as a reference throughout the generated codebase,\nincluding Prisma schema model names, authorization decorator parameters,\nand API documentation.\n\nMUST use camelCase naming convention."
203
+ description: "MUST use camelCase. Referenced in schema models and auth decorators."
204
204
  },
205
205
  kind: {
206
206
  oneOf: [
@@ -214,11 +214,11 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
214
214
  "const": "admin"
215
215
  }
216
216
  ],
217
- description: "Actor category classification for system-wide permission hierarchy.\n\nThis property categorizes actors into three fundamental permission\nlevels, establishing a clear hierarchy for authorization decisions\nthroughout the application. The kind determines baseline access patterns\nand security boundaries:\n\n- \"guest\": Unauthenticated users or those with minimal permissions.\n Typically limited to public resources and registration/login\n endpoints.\n- \"member\": Authenticated users with standard access permissions. Can\n access personal resources and participate in core application\n features.\n- \"admin\": System administrators with elevated permissions. Can manage\n other users, access administrative functions, and modify system-wide\n settings."
217
+ description: "Permission level:\n\n- \"guest\": Unauthenticated, limited to public resources.\n- \"member\": Authenticated with standard access.\n- \"admin\": Elevated permissions, can manage users and system settings."
218
218
  },
219
219
  description: {
220
220
  type: "string",
221
- description: "Human-readable description of the actor's permissions and capabilities.\n\nThis description helps the AI agents understand the business context and\naccess requirements for each actor, guiding the generation of appropriate\nauthorization rules and API endpoint restrictions."
221
+ description: "Description of this actor's permissions and capabilities."
222
222
  }
223
223
  },
224
224
  required: [
@@ -226,7 +226,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
226
226
  "kind",
227
227
  "description"
228
228
  ],
229
- description: "Interface representing a user actor definition in the requirements analysis\nphase.\n\nThis interface defines authenticated user actors that will be used\nthroughout the application's authentication and authorization system. Each\nactor represents a distinct type of user who can register, authenticate,\nand interact with the system based on their specific permissions and\ncapabilities.\n\nThe actors defined here serve as the foundation for generating:\n\n- Prisma schema models for user authentication tables\n- API endpoint access control decorators\n- Actor-based authorization logic in the business layer\n- Test scenarios for different user permission levels"
229
+ description: "An authenticated user type used for authorization throughout the app."
230
230
  },
231
231
  AutoBeAnalyzeScenarioEntity: {
232
232
  type: "object",
@@ -293,14 +293,13 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
293
293
  parameters: [
294
294
  {
295
295
  name: "props",
296
- description: " Request containing either preliminary data request or complete\ntask",
297
296
  required: true,
298
297
  schema: {
299
298
  $ref: "#/components/schemas/IAutoBeAnalyzeScenarioApplication.IProps"
300
299
  }
301
300
  }
302
301
  ],
303
- description: "Process scenario composition task or preliminary data requests.\n\nComposes project structure with actors and entities based on requirements.\nFile structure is fixed (6-file SRS template); the LLM only determines\nactors, entities, prefix, and language."
302
+ description: "Compose project structure (actors, entities, prefix, language) or request\npreliminary data."
304
303
  }
305
304
  ]
306
305
  },
@@ -577,7 +576,7 @@ function createController(props) {
577
576
  type: "object",
578
577
  properties: {
579
578
  thinking: {
580
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests (getPreviousAnalysisSections):\n\n- What critical information is missing that you don't already have?\n- Why do you need it specifically right now?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion (complete):\n\n- What key assets did you acquire?\n- What did you accomplished?\n- Why is it sufficient to complete?\n- Summarize - don't enumerate every single item.\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion.",
579
+ description: "Think before you act.\n\nFor preliminary requests: what previous analysis sections are missing?\n\nFor completion: is the DTO transformable or non-transformable? What\nactors, entities, and prefix were chosen based on requirements?",
581
580
  anyOf: [
582
581
  {
583
582
  type: "null"
@@ -588,7 +587,7 @@ function createController(props) {
588
587
  ]
589
588
  },
590
589
  request: {
591
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval\n(getPreviousAnalysisSections) or final scenario composition (complete).\nWhen preliminary returns empty array, that type is removed from the\nunion, physically preventing repeated calls.",
590
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
592
591
  anyOf: [
593
592
  {
594
593
  $ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
@@ -612,18 +611,18 @@ function createController(props) {
612
611
  additionalProperties: false,
613
612
  $defs: {
614
613
  IAutoBePreliminaryGetPreviousAnalysisSections: {
615
- description: "Request to retrieve individual analysis sections from previous iteration by\nnumeric ID.\n\nSame as {@link IAutoBePreliminaryGetAnalysisSections} but for sections from\nthe previous generation cycle, enabling comparison and consistency checks.",
614
+ description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
616
615
  type: "object",
617
616
  properties: {
618
617
  type: {
619
- description: "Type discriminator for the request.\n\nValue \"getPreviousAnalysisSections\" indicates this is a preliminary data\nrequest for analysis sections from the previous iteration.",
618
+ description: "Type discriminator.",
620
619
  type: "string",
621
620
  "enum": [
622
621
  "getPreviousAnalysisSections"
623
622
  ]
624
623
  },
625
624
  sectionIds: {
626
- description: "List of section IDs to retrieve from the previous iteration.\n\nCRITICAL: DO NOT request the same section IDs that you have already\nrequested in previous calls.",
625
+ description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
627
626
  type: "array",
628
627
  items: {
629
628
  type: "integer",
@@ -638,34 +637,34 @@ function createController(props) {
638
637
  ]
639
638
  },
640
639
  "IAutoBeAnalyzeScenarioApplication.IComplete": {
641
- description: "Request to compose project structure with actors and entities.\n\nThe document file structure is fixed as 6-file SRS template. LLM only\ndetermines actors, entities, prefix, and language. Files are generated\nprogrammatically from FixedAnalyzeTemplate.",
640
+ description: "Compose project structure with actors and entities (6-file SRS template).",
642
641
  type: "object",
643
642
  properties: {
644
643
  type: {
645
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"complete\" indicates this is the final task\nexecution request.",
644
+ description: "Type discriminator for completion request.",
646
645
  type: "string",
647
646
  "enum": [
648
647
  "complete"
649
648
  ]
650
649
  },
651
650
  reason: {
652
- description: "Reason for the analysis and composition of the project structure.",
651
+ description: "Why these actors, entities, and prefix were chosen based on requirements.",
653
652
  type: "string"
654
653
  },
655
654
  prefix: {
656
- description: "Prefix for file names and variable names. This will be used for\norganizing documentation files.\n\nDO: Use camelCase naming convention.",
655
+ description: "Prefix for file/variable names (camelCase).",
657
656
  type: "string",
658
657
  pattern: "^[a-z][a-zA-Z0-9]*$"
659
658
  },
660
659
  actors: {
661
- description: "Actors to be assigned for the project.\n\nEach actor has:\n\n- `name`: Actor identifier (camelCase)\n- `kind`: \"guest\" | \"member\" | \"admin\"\n- `description`: Actor's permissions and capabilities",
660
+ description: "Actors for the project (name, kind, description).",
662
661
  type: "array",
663
662
  items: {
664
663
  $ref: "#/$defs/AutoBeAnalyze.IActor"
665
664
  }
666
665
  },
667
666
  language: {
668
- description: "Language for document content. When specified by the user, this takes\nprecedence over the locale setting for determining document language. Set\nto `null` if not specified.",
667
+ description: "Language for document content. Overrides locale if set; null if not\nspecified.",
669
668
  anyOf: [
670
669
  {
671
670
  type: "null"
@@ -676,14 +675,14 @@ function createController(props) {
676
675
  ]
677
676
  },
678
677
  entities: {
679
- description: "Core domain entities with their key attributes and relationships.\n\nThese serve as the AUTHORITATIVE entity list \u2014 all downstream document\nwriters (module, unit, section) MUST reference only these entities. This\nprevents hallucination and ensures cross-file consistency.\n\nEach entity should include:\n\n- `name`: PascalCase entity name (e.g., \"Todo\", \"User\", \"Comment\")\n- `attributes`: Key attributes with type hints (e.g., \"title: text(1-500),\n required\")\n- `relationships`: How this entity relates to others (e.g., \"belongsTo User\n via userId\")\n\nInclude ALL domain entities that will appear in the requirements\ndocuments. Do NOT include meta-entities (InterpretationLog,\nScopeDecisionLog, etc.) that describe the requirements process rather\nthan the production system.",
678
+ description: "AUTHORITATIVE entity list \u2014 all downstream writers MUST reference only\nthese entities. Include ALL domain entities; do NOT include meta-entities\ndescribing the requirements process.",
680
679
  type: "array",
681
680
  items: {
682
681
  $ref: "#/$defs/AutoBeAnalyzeScenarioEntity"
683
682
  }
684
683
  },
685
684
  features: {
686
- description: "High-level project features that activate conditional modules.\n\nWARNING: Wrong activation causes cascading hallucination across ALL SRS\nfiles. Each feature adds 2-3 conditional modules that downstream LLMs\nMUST fill with content \u2014 if the user never requested the feature, those\nmodules get filled with hallucinated requirements.\n\nDEFAULT IS EMPTY ARRAY []. Most projects need no features.\n\nActivation rule: Include ONLY if the user used exact trigger keywords:\n\n- \"file-storage\": user said \"file upload\", \"attachment\", \"image upload\"\n- \"real-time\": user said \"real-time\", \"WebSocket\", \"live updates\", \"chat\"\n- \"external-integration\": user said \"payment\", \"Stripe\", \"OAuth\", \"email\n service\"\n\nStandard CRUD with auth = features: []. Do NOT activate features based on\ninference or general context.",
685
+ description: "Features activating conditional modules. DEFAULT IS EMPTY ARRAY [].\n\nWARNING: Wrong activation causes cascading hallucination across ALL SRS\nfiles. Include ONLY if user used exact trigger keywords:\n\n- \"file-storage\": \"file upload\", \"attachment\", \"image upload\"\n- \"real-time\": \"real-time\", \"WebSocket\", \"live updates\", \"chat\"\n- \"external-integration\": \"payment\", \"Stripe\", \"OAuth\", \"email service\"\n\nStandard CRUD with auth = []. Do NOT activate based on inference.",
687
686
  type: "array",
688
687
  items: {
689
688
  $ref: "#/$defs/FixedAnalyzeTemplateFeature"
@@ -701,17 +700,17 @@ function createController(props) {
701
700
  ]
702
701
  },
703
702
  "AutoBeAnalyze.IActor": {
704
- description: "Interface representing a user actor definition in the requirements analysis\nphase.\n\nThis interface defines authenticated user actors that will be used\nthroughout the application's authentication and authorization system. Each\nactor represents a distinct type of user who can register, authenticate,\nand interact with the system based on their specific permissions and\ncapabilities.\n\nThe actors defined here serve as the foundation for generating:\n\n- Prisma schema models for user authentication tables\n- API endpoint access control decorators\n- Actor-based authorization logic in the business layer\n- Test scenarios for different user permission levels",
703
+ description: "An authenticated user type used for authorization throughout the app.",
705
704
  type: "object",
706
705
  properties: {
707
706
  name: {
708
- description: "Unique identifier for the user actor.\n\nThis name will be used as a reference throughout the generated codebase,\nincluding Prisma schema model names, authorization decorator parameters,\nand API documentation.\n\nMUST use camelCase naming convention.",
707
+ description: "MUST use camelCase. Referenced in schema models and auth decorators.",
709
708
  type: "string",
710
709
  pattern: "^[a-z][a-zA-Z0-9]*$",
711
710
  minLength: 1
712
711
  },
713
712
  kind: {
714
- description: "Actor category classification for system-wide permission hierarchy.\n\nThis property categorizes actors into three fundamental permission\nlevels, establishing a clear hierarchy for authorization decisions\nthroughout the application. The kind determines baseline access patterns\nand security boundaries:\n\n- \"guest\": Unauthenticated users or those with minimal permissions.\n Typically limited to public resources and registration/login\n endpoints.\n- \"member\": Authenticated users with standard access permissions. Can\n access personal resources and participate in core application\n features.\n- \"admin\": System administrators with elevated permissions. Can manage\n other users, access administrative functions, and modify system-wide\n settings.",
713
+ description: "Permission level:\n\n- \"guest\": Unauthenticated, limited to public resources.\n- \"member\": Authenticated with standard access.\n- \"admin\": Elevated permissions, can manage users and system settings.",
715
714
  type: "string",
716
715
  "enum": [
717
716
  "guest",
@@ -720,7 +719,7 @@ function createController(props) {
720
719
  ]
721
720
  },
722
721
  description: {
723
- description: "Human-readable description of the actor's permissions and capabilities.\n\nThis description helps the AI agents understand the business context and\naccess requirements for each actor, guiding the generation of appropriate\nauthorization rules and API endpoint restrictions.",
722
+ description: "Description of this actor's permissions and capabilities.",
724
723
  type: "string"
725
724
  }
726
725
  },
@@ -783,7 +782,7 @@ function createController(props) {
783
782
  }
784
783
  }
785
784
  },
786
- description: "Process scenario composition task or preliminary data requests.\n\nComposes project structure with actors and entities based on requirements.\nFile structure is fixed (6-file SRS template); the LLM only determines\nactors, entities, prefix, and language.",
785
+ description: "Compose project structure (actors, entities, prefix, language) or request\npreliminary data.",
787
786
  validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _iu0(input.request)); const _io1 = input => "getPreviousAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io2 = input => "complete" === input.type && "string" === typeof input.reason && ("string" === typeof input.prefix && RegExp("^[a-z][a-zA-Z0-9]*$").test(input.prefix)) && (Array.isArray(input.actors) && input.actors.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (null === input.language || "string" === typeof input.language) && (Array.isArray(input.entities) && input.entities.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (Array.isArray(input.features) && input.features.every(elem => "object" === typeof elem && null !== elem && _io5(elem))); const _io3 = input => "string" === typeof input.name && (RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name) && 1 <= input.name.length) && ("guest" === input.kind || "member" === input.kind || "admin" === input.kind) && "string" === typeof input.description; const _io4 = input => "string" === typeof input.name && (Array.isArray(input.attributes) && input.attributes.every(elem => "string" === typeof elem)) && (undefined === input.relationships || Array.isArray(input.relationships) && input.relationships.every(elem => "string" === typeof elem)); const _io5 = input => ("real-time" === input.id || "external-integration" === input.id || "file-storage" === input.id) && (undefined === input.providers || Array.isArray(input.providers) && input.providers.every(elem => "string" === typeof elem)); const _iu0 = input => (() => {
788
787
  if ("getPreviousAnalysisSections" === input.type)
789
788
  return _io1(input);
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateAnalyzeScenario.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeScenario.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,iGAA8F;AAC9F,4EAAmF;AAEnF,qDAA6D;AAEtD,MAAM,0BAA0B,GAAG,CACxC,GAAkB,EAClB,KAA6B,EACwC,EAAE;IACvE,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;IAC/B,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAA6D;QACxE,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,CAAC,0BAA0B,CAAC;QACnC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE;KACnB,CAAC,CAAC;IACL,OAAO,MAAM,WAAW,CAAC,WAAW,CAAC,GAAG,EAAE,CAAO,GAAG,EAAE,EAAE;;QACtD,MAAM,OAAO,GACX;YACE,KAAK,EAAE,IAAI;SACZ,CAAC;QACJ,MAAM,MAAM,GAA0B,MAAM,GAAG,CAAC,UAAU,iBACxD,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,gBAAgB,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KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAAC,WAAM,CAAC;QACP,sDAAsD;QACtD,MAAM,UAAU,GAAG,IAAI;aACpB,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;aAClB,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC;aAC5B,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC;aAC5B,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC;YACH,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAChC,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAoC,EAAE,CACpE,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC"}
@@ -115,7 +115,7 @@ function createController(props) {
115
115
  type: "object",
116
116
  properties: {
117
117
  thinking: {
118
- description: "Think before you act.\n\nBefore completing the review, reflect on your analysis:\n\n- Does every user-mentioned concept have a corresponding entity?\n- Are there entities the user never mentioned or implied?\n- Are actors correctly classified by identity boundary?\n- Are all entity relationships complete and bidirectional?\n- Are features correctly identified from user requirements?",
118
+ description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
119
119
  anyOf: [
120
120
  {
121
121
  type: "null"
@@ -126,7 +126,7 @@ function createController(props) {
126
126
  ]
127
127
  },
128
128
  request: {
129
- description: "Review result.",
129
+ description: "Action to perform: submit review verdict.",
130
130
  $ref: "#/$defs/IAutoBeAnalyzeScenarioReviewApplicationComplete"
131
131
  }
132
132
  },
@@ -140,22 +140,22 @@ function createController(props) {
140
140
  type: "object",
141
141
  properties: {
142
142
  type: {
143
- description: "Type discriminator for the request.",
143
+ description: "Type discriminator for completion request.",
144
144
  type: "string",
145
145
  "enum": [
146
146
  "complete"
147
147
  ]
148
148
  },
149
149
  approved: {
150
- description: "Whether the scenario passed review.\n\nSet to true if all review criteria pass. Set to false if any criterion\nfails.",
150
+ description: "Whether the scenario passed review.",
151
151
  type: "boolean"
152
152
  },
153
153
  feedback: {
154
- description: "Detailed review feedback.\n\nWhen rejecting: describe each issue clearly so the scenario generator can\nfix them on the next attempt.\n\nWhen approving: may include minor observations.",
154
+ description: "Detailed review feedback. When rejecting, describe issues clearly for the\nnext attempt.",
155
155
  type: "string"
156
156
  },
157
157
  issues: {
158
- description: "Structured issues for targeted scenario regeneration.\n\nEach issue identifies a specific category and provides a concrete\nsuggestion for fixing the scenario.",
158
+ description: "Structured issues for targeted scenario regeneration.",
159
159
  type: "array",
160
160
  items: {
161
161
  $ref: "#/$defs/IAutoBeAnalyzeScenarioReviewApplicationScenarioReviewIssue"
@@ -201,7 +201,7 @@ function createController(props) {
201
201
  }
202
202
  }
203
203
  },
204
- description: "Process scenario review task.\n\nReviews the scenario output and provides an approved/rejected verdict with\nstructured feedback.",
204
+ description: "Review scenario and provide approved/rejected verdict with structured\nfeedback.",
205
205
  validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _io1(input.request)); const _io1 = input => "complete" === input.type && "boolean" === typeof input.approved && "string" === typeof input.feedback && (Array.isArray(input.issues) && input.issues.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => ("missing_entity" === input.category || "hallucinated_entity" === input.category || "actor_misclassification" === input.category || "incomplete_relationship" === input.category || "missing_feature" === input.category || "hallucinated_feature" === input.category) && "string" === typeof input.description && "string" === typeof input.suggestion; const _vo0 = (input, _path, _exceptionable = true) => [null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking || _report(_exceptionable, {
206
206
  path: _path + ".thinking",
207
207
  expected: "(null | string | undefined)",