@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.
- package/lib/constants/AutoBeSystemPromptConstant.d.ts +5 -4
- package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
- package/lib/describe/image/orchestrateImageDescribeDraft.js +6 -6
- package/lib/describe/image/structures/IAutoBeImageDescribeDraftApplication.d.ts +12 -63
- package/lib/index.mjs +2918 -2842
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +8 -8
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +36 -37
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenarioReview.js +7 -7
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +55 -42
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js +67 -54
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js +24 -25
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js +24 -25
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js +30 -31
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js.map +1 -1
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +14 -52
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +23 -96
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.d.ts +12 -40
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.d.ts +30 -88
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.d.ts +35 -94
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.d.ts +23 -93
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.d.ts +15 -88
- package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js +76 -31
- package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -1
- package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +7 -7
- package/lib/orchestrate/common/structures/IAnalysisSectionEntry.d.ts +2 -8
- package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +8 -50
- package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +1 -9
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.d.ts +4 -23
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.d.ts +3 -21
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +4 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +4 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.d.ts +5 -17
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.d.ts +7 -76
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.d.ts +6 -89
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.d.ts +7 -93
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.d.ts +3 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.d.ts +3 -22
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js +114 -139
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +90 -91
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js +58 -59
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +58 -59
- package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperation.js +108 -132
- package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js +72 -72
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +76 -77
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js +130 -159
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js +126 -155
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +114 -142
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +5 -5
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +100 -129
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js +120 -149
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js.map +1 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.d.ts +10 -97
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +14 -83
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.d.ts +12 -90
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +12 -80
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +21 -116
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.d.ts +24 -112
- package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +11 -83
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +11 -76
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.d.ts +18 -96
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.d.ts +11 -76
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.d.ts +25 -107
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.d.ts +5 -31
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.d.ts +6 -42
- package/lib/orchestrate/prisma/orchestratePrismaAuthorization.js +41 -41
- package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js +62 -63
- package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js +40 -41
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js +60 -61
- package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +112 -116
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaGroup.js +48 -49
- package/lib/orchestrate/prisma/orchestratePrismaGroup.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js +70 -71
- package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js +118 -122
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js +126 -131
- package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js.map +1 -1
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.d.ts +22 -99
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.d.ts +12 -109
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.d.ts +14 -100
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.d.ts +15 -108
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.d.ts +24 -106
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.d.ts +13 -76
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.d.ts +13 -111
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.d.ts +26 -97
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.d.ts +16 -93
- package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js +20 -2
- package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js +22 -2
- package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js.map +1 -1
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectCasting.js +7 -7
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js +86 -6
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +38 -38
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +34 -34
- package/lib/orchestrate/realize/orchestrateRealizeCollectorCorrectOverall.js +38 -38
- package/lib/orchestrate/realize/orchestrateRealizeCollectorPlan.js +54 -54
- package/lib/orchestrate/realize/orchestrateRealizeCollectorWrite.js +36 -36
- package/lib/orchestrate/realize/orchestrateRealizeOperationCorrectOverall.js +44 -44
- package/lib/orchestrate/realize/orchestrateRealizeOperationWrite.js +42 -42
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js +1 -0
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectOverall.js +46 -46
- package/lib/orchestrate/realize/orchestrateRealizeTransformerPlan.js +36 -36
- package/lib/orchestrate/realize/orchestrateRealizeTransformerWrite.js +44 -44
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.d.ts +18 -0
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js +167 -8
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js.map +1 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +17 -71
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.d.ts +32 -92
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.d.ts +32 -114
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.d.ts +29 -106
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.d.ts +38 -131
- package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.d.ts +16 -71
- package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.d.ts +16 -73
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.d.ts +37 -155
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.d.ts +25 -88
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.d.ts +48 -181
- package/lib/orchestrate/realize/utils/generateTS2339Hints.d.ts +5 -3
- package/lib/orchestrate/realize/utils/generateTS2339Hints.js +37 -19
- package/lib/orchestrate/realize/utils/generateTS2339Hints.js.map +1 -1
- package/lib/orchestrate/test/histories/transformTestOperationWriteHistory.js +2 -2
- package/lib/orchestrate/test/orchestrateTestScenario.js +22 -22
- package/lib/orchestrate/test/orchestrateTestScenarioReview.js +22 -22
- package/package.json +5 -5
- package/src/constants/AutoBeSystemPromptConstant.ts +5 -4
- package/src/describe/image/structures/IAutoBeImageDescribeDraftApplication.ts +12 -63
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +14 -52
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +23 -96
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.ts +12 -40
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.ts +30 -88
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.ts +35 -94
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.ts +23 -93
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.ts +15 -88
- package/src/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.ts +92 -31
- package/src/orchestrate/common/structures/IAnalysisSectionEntry.ts +2 -8
- package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +8 -50
- package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +1 -9
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.ts +4 -23
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.ts +3 -21
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +4 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +4 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.ts +5 -17
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.ts +7 -76
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.ts +6 -89
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.ts +7 -93
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.ts +3 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.ts +3 -22
- package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.ts +10 -97
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +14 -83
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.ts +12 -90
- package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +12 -80
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +21 -116
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.ts +24 -112
- package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +11 -83
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +11 -76
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.ts +18 -96
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.ts +11 -76
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.ts +25 -107
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.ts +5 -31
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.ts +6 -42
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.ts +22 -99
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.ts +12 -109
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.ts +14 -100
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.ts +15 -108
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.ts +24 -106
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.ts +13 -76
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.ts +13 -111
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.ts +26 -97
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.ts +16 -93
- package/src/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.ts +21 -1
- package/src/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.ts +26 -4
- package/src/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.ts +125 -9
- package/src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts +1 -0
- package/src/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.ts +210 -7
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +17 -71
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.ts +32 -92
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.ts +32 -114
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.ts +29 -106
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.ts +38 -131
- package/src/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.ts +16 -71
- package/src/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.ts +16 -73
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.ts +37 -155
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.ts +25 -88
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.ts +48 -181
- package/src/orchestrate/realize/utils/generateTS2339Hints.ts +39 -19
|
@@ -84,7 +84,7 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
84
84
|
type: "string"
|
|
85
85
|
}
|
|
86
86
|
],
|
|
87
|
-
description: "
|
|
87
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
|
|
88
88
|
},
|
|
89
89
|
request: {
|
|
90
90
|
oneOf: [
|
|
@@ -102,7 +102,7 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
102
102
|
complete: "#/components/schemas/IAutoBeAnalyzeWriteUnitApplicationComplete"
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
description: "
|
|
105
|
+
description: "Action to perform. Exhausted preliminary types are removed from the union."
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
required: [
|
|
@@ -114,7 +114,7 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
114
114
|
properties: {
|
|
115
115
|
type: {
|
|
116
116
|
"const": "getPreviousAnalysisSections",
|
|
117
|
-
description: "Type discriminator
|
|
117
|
+
description: "Type discriminator."
|
|
118
118
|
},
|
|
119
119
|
sectionIds: {
|
|
120
120
|
type: "array",
|
|
@@ -123,32 +123,32 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
123
123
|
minimum: 0
|
|
124
124
|
},
|
|
125
125
|
minItems: 1,
|
|
126
|
-
description: "
|
|
126
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
129
|
required: [
|
|
130
130
|
"type",
|
|
131
131
|
"sectionIds"
|
|
132
132
|
],
|
|
133
|
-
description: "Request to retrieve
|
|
133
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
134
134
|
},
|
|
135
135
|
IAutoBeAnalyzeWriteUnitApplicationComplete: {
|
|
136
136
|
type: "object",
|
|
137
137
|
properties: {
|
|
138
138
|
type: {
|
|
139
139
|
"const": "complete",
|
|
140
|
-
description: "Type discriminator for
|
|
140
|
+
description: "Type discriminator for completion request."
|
|
141
141
|
},
|
|
142
142
|
moduleIndex: {
|
|
143
143
|
type: "number",
|
|
144
|
-
description: "Index of the parent module section
|
|
144
|
+
description: "Index of the parent module section (0-based)."
|
|
145
145
|
},
|
|
146
146
|
unitSections: {
|
|
147
147
|
type: "array",
|
|
148
148
|
items: {
|
|
149
149
|
$ref: "#/components/schemas/IAutoBeAnalyzeWriteUnitApplicationUnitSection"
|
|
150
150
|
},
|
|
151
|
-
description: "
|
|
151
|
+
description: "Unit sections (### level) grouping related functionality."
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
required: [
|
|
@@ -156,29 +156,29 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
156
156
|
"moduleIndex",
|
|
157
157
|
"unitSections"
|
|
158
158
|
],
|
|
159
|
-
description: "
|
|
159
|
+
description: "Generate unit section structure within a module section."
|
|
160
160
|
},
|
|
161
161
|
IAutoBeAnalyzeWriteUnitApplicationUnitSection: {
|
|
162
162
|
type: "object",
|
|
163
163
|
properties: {
|
|
164
164
|
title: {
|
|
165
165
|
type: "string",
|
|
166
|
-
description: "Title of the unit section (### level heading)
|
|
166
|
+
description: "Title of the unit section (### level heading)."
|
|
167
167
|
},
|
|
168
168
|
purpose: {
|
|
169
169
|
type: "string",
|
|
170
|
-
description: "
|
|
170
|
+
description: "Brief purpose statement for this section's role within the parent module."
|
|
171
171
|
},
|
|
172
172
|
content: {
|
|
173
173
|
type: "string",
|
|
174
|
-
description: "
|
|
174
|
+
description: "Main body content: overview, context, and relationships to other sections."
|
|
175
175
|
},
|
|
176
176
|
keywords: {
|
|
177
177
|
type: "array",
|
|
178
178
|
items: {
|
|
179
179
|
type: "string"
|
|
180
180
|
},
|
|
181
|
-
description: "Keywords
|
|
181
|
+
description: "Keywords hinting at section topics to guide Section Agent generation."
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
required: [
|
|
@@ -187,7 +187,7 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
187
187
|
"content",
|
|
188
188
|
"keywords"
|
|
189
189
|
],
|
|
190
|
-
description: "
|
|
190
|
+
description: "A single unit section."
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
@@ -198,14 +198,13 @@ const orchestrateAnalyzeWriteUnit = (ctx, props) => __awaiter(void 0, void 0, vo
|
|
|
198
198
|
parameters: [
|
|
199
199
|
{
|
|
200
200
|
name: "props",
|
|
201
|
-
description: " Request containing either preliminary data request or complete\ntask",
|
|
202
201
|
required: true,
|
|
203
202
|
schema: {
|
|
204
203
|
$ref: "#/components/schemas/IAutoBeAnalyzeWriteUnitApplicationProps"
|
|
205
204
|
}
|
|
206
205
|
}
|
|
207
206
|
],
|
|
208
|
-
description: "
|
|
207
|
+
description: "Create unit sections with titles, purposes, content, and keywords for a\nmodule."
|
|
209
208
|
}
|
|
210
209
|
]
|
|
211
210
|
},
|
|
@@ -416,7 +415,7 @@ function createController(props) {
|
|
|
416
415
|
type: "object",
|
|
417
416
|
properties: {
|
|
418
417
|
thinking: {
|
|
419
|
-
description: "
|
|
418
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
420
419
|
anyOf: [
|
|
421
420
|
{
|
|
422
421
|
type: "null"
|
|
@@ -427,7 +426,7 @@ function createController(props) {
|
|
|
427
426
|
]
|
|
428
427
|
},
|
|
429
428
|
request: {
|
|
430
|
-
description: "
|
|
429
|
+
description: "Action to perform. Exhausted preliminary types are removed from the union.",
|
|
431
430
|
anyOf: [
|
|
432
431
|
{
|
|
433
432
|
$ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
|
|
@@ -451,18 +450,18 @@ function createController(props) {
|
|
|
451
450
|
additionalProperties: false,
|
|
452
451
|
$defs: {
|
|
453
452
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
454
|
-
description: "Request to retrieve
|
|
453
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
455
454
|
type: "object",
|
|
456
455
|
properties: {
|
|
457
456
|
type: {
|
|
458
|
-
description: "Type discriminator
|
|
457
|
+
description: "Type discriminator.",
|
|
459
458
|
type: "string",
|
|
460
459
|
"enum": [
|
|
461
460
|
"getPreviousAnalysisSections"
|
|
462
461
|
]
|
|
463
462
|
},
|
|
464
463
|
sectionIds: {
|
|
465
|
-
description: "
|
|
464
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
466
465
|
type: "array",
|
|
467
466
|
items: {
|
|
468
467
|
type: "integer",
|
|
@@ -477,22 +476,22 @@ function createController(props) {
|
|
|
477
476
|
]
|
|
478
477
|
},
|
|
479
478
|
IAutoBeAnalyzeWriteUnitApplicationComplete: {
|
|
480
|
-
description: "
|
|
479
|
+
description: "Generate unit section structure within a module section.",
|
|
481
480
|
type: "object",
|
|
482
481
|
properties: {
|
|
483
482
|
type: {
|
|
484
|
-
description: "Type discriminator for
|
|
483
|
+
description: "Type discriminator for completion request.",
|
|
485
484
|
type: "string",
|
|
486
485
|
"enum": [
|
|
487
486
|
"complete"
|
|
488
487
|
]
|
|
489
488
|
},
|
|
490
489
|
moduleIndex: {
|
|
491
|
-
description: "Index of the parent module section
|
|
490
|
+
description: "Index of the parent module section (0-based).",
|
|
492
491
|
type: "number"
|
|
493
492
|
},
|
|
494
493
|
unitSections: {
|
|
495
|
-
description: "
|
|
494
|
+
description: "Unit sections (### level) grouping related functionality.",
|
|
496
495
|
type: "array",
|
|
497
496
|
items: {
|
|
498
497
|
$ref: "#/$defs/IAutoBeAnalyzeWriteUnitApplicationUnitSection"
|
|
@@ -506,23 +505,23 @@ function createController(props) {
|
|
|
506
505
|
]
|
|
507
506
|
},
|
|
508
507
|
IAutoBeAnalyzeWriteUnitApplicationUnitSection: {
|
|
509
|
-
description: "
|
|
508
|
+
description: "A single unit section.",
|
|
510
509
|
type: "object",
|
|
511
510
|
properties: {
|
|
512
511
|
title: {
|
|
513
|
-
description: "Title of the unit section (### level heading)
|
|
512
|
+
description: "Title of the unit section (### level heading).",
|
|
514
513
|
type: "string"
|
|
515
514
|
},
|
|
516
515
|
purpose: {
|
|
517
|
-
description: "
|
|
516
|
+
description: "Brief purpose statement for this section's role within the parent module.",
|
|
518
517
|
type: "string"
|
|
519
518
|
},
|
|
520
519
|
content: {
|
|
521
|
-
description: "
|
|
520
|
+
description: "Main body content: overview, context, and relationships to other sections.",
|
|
522
521
|
type: "string"
|
|
523
522
|
},
|
|
524
523
|
keywords: {
|
|
525
|
-
description: "Keywords
|
|
524
|
+
description: "Keywords hinting at section topics to guide Section Agent generation.",
|
|
526
525
|
type: "array",
|
|
527
526
|
items: {
|
|
528
527
|
type: "string"
|
|
@@ -538,7 +537,7 @@ function createController(props) {
|
|
|
538
537
|
}
|
|
539
538
|
}
|
|
540
539
|
},
|
|
541
|
-
description: "
|
|
540
|
+
description: "Create unit sections with titles, purposes, content, and keywords for a\nmodule.",
|
|
542
541
|
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 && "number" === typeof input.moduleIndex && (Array.isArray(input.unitSections) && input.unitSections.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.title && "string" === typeof input.purpose && "string" === typeof input.content && (Array.isArray(input.keywords) && input.keywords.every(elem => "string" === typeof elem)); const _iu0 = input => (() => {
|
|
543
542
|
if ("getPreviousAnalysisSections" === input.type)
|
|
544
543
|
return _io1(input);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateAnalyzeWriteUnit.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeWriteUnit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,kDAA4D;AAC5D,+BAA0B;AAG1B,yEAA6E;AAC7E,uFAAoF;AACpF,mGAAgG;AAMhG,qDAI6B;AAEtB,MAAM,2BAA2B,GAAG,CACzC,GAAkB,EAClB,KASC,EACqC,EAAE;IACxC,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW
|
|
1
|
+
{"version":3,"file":"orchestrateAnalyzeWriteUnit.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeWriteUnit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,kDAA4D;AAC5D,+BAA0B;AAG1B,yEAA6E;AAC7E,uFAAoF;AACpF,mGAAgG;AAMhG,qDAI6B;AAEtB,MAAM,2BAA2B,GAAG,CACzC,GAAkB,EAClB,KASC,EACqC,EAAE;IACxC,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAA8D;QACzE,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,CAAC,0BAA0B,CAAC;QACnC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE;KACnB,CAAC,CAAC;IACL,OAAO,MAAM,WAAW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AI,CAAC;IAElD,kDAAkD;IAClD,IAAI,OAAO,GAAG,yBAAyB,CACrC,iBAAiB,CAAC,IAAI,CAAC,OAAkC,CAAC,CAC3D,CAAC;IAEF,qDAAqD;IACrD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;QACxC,OAAO,mCACF,OAAO,KACV,YAAY,EAAE,yBAAyB,CAAC,OAAO,CAAC,YAAY,CAAC,GAC9D,CAAC;IACJ,CAAC;IAED,uCAAY,IAAI,KAAE,OAAO,IAAG;AAC9B,CAAC,CAAC;AAxBW,QAAA,2BAA2B,+BAwBtC"}
|
|
@@ -1,91 +1,53 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* This agent extracts binary/discrete decisions from a single file's section
|
|
5
|
-
* content as structured data. The extracted decisions are then compared
|
|
6
|
-
* programmatically across files to detect contradictions.
|
|
2
|
+
* Extracts binary/discrete decisions from a file's sections for cross-file
|
|
3
|
+
* contradiction detection.
|
|
7
4
|
*/
|
|
8
5
|
export interface IAutoBeAnalyzeExtractDecisionsApplication {
|
|
9
|
-
/**
|
|
10
|
-
* Process decision extraction from a single file's sections.
|
|
11
|
-
*
|
|
12
|
-
* Reads the file content and extracts all binary/discrete decisions as
|
|
13
|
-
* structured data for cross-file contradiction detection.
|
|
14
|
-
*
|
|
15
|
-
* @param props Request containing extracted decisions
|
|
16
|
-
*/
|
|
6
|
+
/** Extract all binary/discrete decisions from a single file's sections. */
|
|
17
7
|
process(props: IAutoBeAnalyzeExtractDecisionsApplicationProps): void;
|
|
18
8
|
}
|
|
19
9
|
export interface IAutoBeAnalyzeExtractDecisionsApplicationProps {
|
|
20
10
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* Before completing extraction, reflect on what decisions this file makes:
|
|
24
|
-
*
|
|
25
|
-
* - What binary (yes/no) choices does this file assert?
|
|
26
|
-
* - What discrete behavioral choices does this file make?
|
|
27
|
-
* - Are there decisions where another file could reasonably disagree?
|
|
11
|
+
* Reasoning about your current state: what's missing (preliminary) or what
|
|
12
|
+
* you accomplished (completion).
|
|
28
13
|
*/
|
|
29
14
|
thinking?: string | null;
|
|
30
|
-
/**
|
|
15
|
+
/** Action to perform: submit extracted decisions. */
|
|
31
16
|
request: IAutoBeAnalyzeExtractDecisionsApplicationComplete;
|
|
32
17
|
}
|
|
33
18
|
/** Request to complete the decision extraction. */
|
|
34
19
|
export interface IAutoBeAnalyzeExtractDecisionsApplicationComplete {
|
|
35
|
-
/** Type discriminator for
|
|
20
|
+
/** Type discriminator for completion request. */
|
|
36
21
|
type: "complete";
|
|
37
22
|
/**
|
|
38
|
-
* All binary/discrete decisions extracted from this file.
|
|
39
|
-
*
|
|
40
|
-
* Each decision represents a specific behavioral choice that the file makes.
|
|
41
|
-
* Use normalized topic names, decision names, and values.
|
|
42
|
-
*
|
|
43
|
-
* Return an empty array if the file has no extractable decisions (e.g., table
|
|
44
|
-
* of contents).
|
|
23
|
+
* All binary/discrete decisions extracted from this file. Use normalized
|
|
24
|
+
* names. Return an empty array if the file has no extractable decisions.
|
|
45
25
|
*/
|
|
46
26
|
decisions: IAutoBeAnalyzeExtractedDecision[];
|
|
47
27
|
}
|
|
48
28
|
/** A single extracted decision from the file's content. */
|
|
49
29
|
export interface IAutoBeAnalyzeExtractedDecision {
|
|
50
30
|
/**
|
|
51
|
-
* Normalized topic grouping.
|
|
52
|
-
*
|
|
53
|
-
* Use lowercase, underscore-separated names.
|
|
31
|
+
* Normalized topic grouping (lowercase, underscore-separated).
|
|
54
32
|
*
|
|
55
33
|
* @example
|
|
56
34
|
* (password_change, "todo_deletion", "edit_history");
|
|
57
35
|
*/
|
|
58
36
|
topic: string;
|
|
59
37
|
/**
|
|
60
|
-
* Specific decision within the topic.
|
|
61
|
-
*
|
|
62
|
-
* Use lowercase, underscore-separated, descriptive names.
|
|
38
|
+
* Specific decision within the topic (lowercase, underscore-separated).
|
|
63
39
|
*
|
|
64
40
|
* @example
|
|
65
41
|
* (requires_current_password, "deletion_method", "recorded_values");
|
|
66
42
|
*/
|
|
67
43
|
decision: string;
|
|
68
44
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* For binary decisions: "yes" or "no". For discrete decisions: short
|
|
72
|
-
* descriptive string.
|
|
45
|
+
* Binary: "yes"/"no". Discrete: short descriptive string.
|
|
73
46
|
*
|
|
74
47
|
* @example
|
|
75
|
-
* (yes,
|
|
76
|
-
* "no",
|
|
77
|
-
* "soft_delete",
|
|
78
|
-
* "hard_delete",
|
|
79
|
-
* "new_values",
|
|
80
|
-
* "previous_values");
|
|
48
|
+
* (yes, "soft_delete", "hard_delete");
|
|
81
49
|
*/
|
|
82
50
|
value: string;
|
|
83
|
-
/**
|
|
84
|
-
* Short quote (1-2 sentences) from the source text supporting this decision.
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* "A user may change their password only by providing their
|
|
88
|
-
* current password."
|
|
89
|
-
*/
|
|
51
|
+
/** Short quote (1-2 sentences) from the source text supporting this decision. */
|
|
90
52
|
evidence: string;
|
|
91
53
|
}
|
|
@@ -3,14 +3,8 @@ import { IAutoBePreliminaryGetPreviousAnalysisSections } from "../../common/stru
|
|
|
3
3
|
import { FixedAnalyzeTemplateFeature } from "./FixedAnalyzeTemplate";
|
|
4
4
|
export interface IAutoBeAnalyzeScenarioApplication {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Composes project structure with actors and entities based on requirements.
|
|
9
|
-
* File structure is fixed (6-file SRS template); the LLM only determines
|
|
10
|
-
* actors, entities, prefix, and language.
|
|
11
|
-
*
|
|
12
|
-
* @param props Request containing either preliminary data request or complete
|
|
13
|
-
* task
|
|
6
|
+
* Compose project structure (actors, entities, prefix, language) or request
|
|
7
|
+
* preliminary data.
|
|
14
8
|
*/
|
|
15
9
|
process(props: IAutoBeAnalyzeScenarioApplication.IProps): void;
|
|
16
10
|
}
|
|
@@ -19,117 +13,50 @@ export declare namespace IAutoBeAnalyzeScenarioApplication {
|
|
|
19
13
|
/**
|
|
20
14
|
* Think before you act.
|
|
21
15
|
*
|
|
22
|
-
*
|
|
23
|
-
* your current state and explain your reasoning:
|
|
16
|
+
* For preliminary requests: what previous analysis sections are missing?
|
|
24
17
|
*
|
|
25
|
-
* For
|
|
26
|
-
*
|
|
27
|
-
* - What critical information is missing that you don't already have?
|
|
28
|
-
* - Why do you need it specifically right now?
|
|
29
|
-
* - Be brief - state the gap, don't list everything you have.
|
|
30
|
-
*
|
|
31
|
-
* For completion (complete):
|
|
32
|
-
*
|
|
33
|
-
* - What key assets did you acquire?
|
|
34
|
-
* - What did you accomplished?
|
|
35
|
-
* - Why is it sufficient to complete?
|
|
36
|
-
* - Summarize - don't enumerate every single item.
|
|
37
|
-
*
|
|
38
|
-
* This reflection helps you avoid duplicate requests and premature
|
|
39
|
-
* completion.
|
|
18
|
+
* For completion: is the DTO transformable or non-transformable? What
|
|
19
|
+
* actors, entities, and prefix were chosen based on requirements?
|
|
40
20
|
*/
|
|
41
21
|
thinking?: string | null;
|
|
42
22
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* Determines which action to perform: preliminary data retrieval
|
|
46
|
-
* (getPreviousAnalysisSections) or final scenario composition (complete).
|
|
47
|
-
* When preliminary returns empty array, that type is removed from the
|
|
48
|
-
* union, physically preventing repeated calls.
|
|
23
|
+
* Action to perform. Exhausted preliminary types are removed from the
|
|
24
|
+
* union.
|
|
49
25
|
*/
|
|
50
26
|
request: IComplete | IAutoBePreliminaryGetPreviousAnalysisSections;
|
|
51
27
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Request to compose project structure with actors and entities.
|
|
54
|
-
*
|
|
55
|
-
* The document file structure is fixed as 6-file SRS template. LLM only
|
|
56
|
-
* determines actors, entities, prefix, and language. Files are generated
|
|
57
|
-
* programmatically from FixedAnalyzeTemplate.
|
|
58
|
-
*/
|
|
28
|
+
/** Compose project structure with actors and entities (6-file SRS template). */
|
|
59
29
|
interface IComplete {
|
|
60
|
-
/**
|
|
61
|
-
* Type discriminator for the request.
|
|
62
|
-
*
|
|
63
|
-
* Determines which action to perform: preliminary data retrieval or actual
|
|
64
|
-
* task execution. Value "complete" indicates this is the final task
|
|
65
|
-
* execution request.
|
|
66
|
-
*/
|
|
30
|
+
/** Type discriminator for completion request. */
|
|
67
31
|
type: "complete";
|
|
68
|
-
/**
|
|
32
|
+
/** Why these actors, entities, and prefix were chosen based on requirements. */
|
|
69
33
|
reason: string;
|
|
70
|
-
/**
|
|
71
|
-
* Prefix for file names and variable names. This will be used for
|
|
72
|
-
* organizing documentation files.
|
|
73
|
-
*
|
|
74
|
-
* DO: Use camelCase naming convention.
|
|
75
|
-
*/
|
|
34
|
+
/** Prefix for file/variable names (camelCase). */
|
|
76
35
|
prefix: string & CamelCasePattern;
|
|
77
|
-
/**
|
|
78
|
-
* Actors to be assigned for the project.
|
|
79
|
-
*
|
|
80
|
-
* Each actor has:
|
|
81
|
-
*
|
|
82
|
-
* - `name`: Actor identifier (camelCase)
|
|
83
|
-
* - `kind`: "guest" | "member" | "admin"
|
|
84
|
-
* - `description`: Actor's permissions and capabilities
|
|
85
|
-
*/
|
|
36
|
+
/** Actors for the project (name, kind, description). */
|
|
86
37
|
actors: AutoBeAnalyze.IActor[];
|
|
87
38
|
/**
|
|
88
|
-
* Language for document content.
|
|
89
|
-
*
|
|
90
|
-
* to `null` if not specified.
|
|
39
|
+
* Language for document content. Overrides locale if set; null if not
|
|
40
|
+
* specified.
|
|
91
41
|
*/
|
|
92
42
|
language: string | null;
|
|
93
43
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* writers (module, unit, section) MUST reference only these entities. This
|
|
98
|
-
* prevents hallucination and ensures cross-file consistency.
|
|
99
|
-
*
|
|
100
|
-
* Each entity should include:
|
|
101
|
-
*
|
|
102
|
-
* - `name`: PascalCase entity name (e.g., "Todo", "User", "Comment")
|
|
103
|
-
* - `attributes`: Key attributes with type hints (e.g., "title: text(1-500),
|
|
104
|
-
* required")
|
|
105
|
-
* - `relationships`: How this entity relates to others (e.g., "belongsTo User
|
|
106
|
-
* via userId")
|
|
107
|
-
*
|
|
108
|
-
* Include ALL domain entities that will appear in the requirements
|
|
109
|
-
* documents. Do NOT include meta-entities (InterpretationLog,
|
|
110
|
-
* ScopeDecisionLog, etc.) that describe the requirements process rather
|
|
111
|
-
* than the production system.
|
|
44
|
+
* AUTHORITATIVE entity list — all downstream writers MUST reference only
|
|
45
|
+
* these entities. Include ALL domain entities; do NOT include meta-entities
|
|
46
|
+
* describing the requirements process.
|
|
112
47
|
*/
|
|
113
48
|
entities: AutoBeAnalyzeScenarioEntity[];
|
|
114
49
|
/**
|
|
115
|
-
*
|
|
50
|
+
* Features activating conditional modules. DEFAULT IS EMPTY ARRAY [].
|
|
116
51
|
*
|
|
117
52
|
* WARNING: Wrong activation causes cascading hallucination across ALL SRS
|
|
118
|
-
* files.
|
|
119
|
-
* MUST fill with content — if the user never requested the feature, those
|
|
120
|
-
* modules get filled with hallucinated requirements.
|
|
121
|
-
*
|
|
122
|
-
* DEFAULT IS EMPTY ARRAY []. Most projects need no features.
|
|
123
|
-
*
|
|
124
|
-
* Activation rule: Include ONLY if the user used exact trigger keywords:
|
|
53
|
+
* files. Include ONLY if user used exact trigger keywords:
|
|
125
54
|
*
|
|
126
|
-
* - "file-storage":
|
|
127
|
-
* - "real-time":
|
|
128
|
-
* - "external-integration":
|
|
129
|
-
* service"
|
|
55
|
+
* - "file-storage": "file upload", "attachment", "image upload"
|
|
56
|
+
* - "real-time": "real-time", "WebSocket", "live updates", "chat"
|
|
57
|
+
* - "external-integration": "payment", "Stripe", "OAuth", "email service"
|
|
130
58
|
*
|
|
131
|
-
* Standard CRUD with auth =
|
|
132
|
-
* inference or general context.
|
|
59
|
+
* Standard CRUD with auth = []. Do NOT activate based on inference.
|
|
133
60
|
*/
|
|
134
61
|
features: FixedAnalyzeTemplateFeature[];
|
|
135
62
|
}
|
|
@@ -1,63 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* This agent reviews the scenario output against the user's original
|
|
5
|
-
* requirements, checking entity coverage, hallucination, actor classification,
|
|
6
|
-
* relationship completeness, and feature identification accuracy.
|
|
2
|
+
* Reviews scenario output against user requirements for entity coverage,
|
|
3
|
+
* hallucination, and consistency.
|
|
7
4
|
*/
|
|
8
5
|
export interface IAutoBeAnalyzeScenarioReviewApplication {
|
|
9
6
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* Reviews the scenario output and provides an approved/rejected verdict with
|
|
13
|
-
* structured feedback.
|
|
14
|
-
*
|
|
15
|
-
* @param props Request containing the review result
|
|
7
|
+
* Review scenario and provide approved/rejected verdict with structured
|
|
8
|
+
* feedback.
|
|
16
9
|
*/
|
|
17
10
|
process(props: IAutoBeAnalyzeScenarioReviewApplicationProps): void;
|
|
18
11
|
}
|
|
19
12
|
export interface IAutoBeAnalyzeScenarioReviewApplicationProps {
|
|
20
13
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* Before completing the review, reflect on your analysis:
|
|
24
|
-
*
|
|
25
|
-
* - Does every user-mentioned concept have a corresponding entity?
|
|
26
|
-
* - Are there entities the user never mentioned or implied?
|
|
27
|
-
* - Are actors correctly classified by identity boundary?
|
|
28
|
-
* - Are all entity relationships complete and bidirectional?
|
|
29
|
-
* - Are features correctly identified from user requirements?
|
|
14
|
+
* Reasoning about your current state: what's missing (preliminary) or what
|
|
15
|
+
* you accomplished (completion).
|
|
30
16
|
*/
|
|
31
17
|
thinking?: string | null;
|
|
32
|
-
/**
|
|
18
|
+
/** Action to perform: submit review verdict. */
|
|
33
19
|
request: IAutoBeAnalyzeScenarioReviewApplicationComplete;
|
|
34
20
|
}
|
|
35
21
|
/** Request to complete the scenario review. */
|
|
36
22
|
export interface IAutoBeAnalyzeScenarioReviewApplicationComplete {
|
|
37
|
-
/** Type discriminator for
|
|
23
|
+
/** Type discriminator for completion request. */
|
|
38
24
|
type: "complete";
|
|
39
|
-
/**
|
|
40
|
-
* Whether the scenario passed review.
|
|
41
|
-
*
|
|
42
|
-
* Set to true if all review criteria pass. Set to false if any criterion
|
|
43
|
-
* fails.
|
|
44
|
-
*/
|
|
25
|
+
/** Whether the scenario passed review. */
|
|
45
26
|
approved: boolean;
|
|
46
27
|
/**
|
|
47
|
-
* Detailed review feedback.
|
|
48
|
-
*
|
|
49
|
-
* When rejecting: describe each issue clearly so the scenario generator can
|
|
50
|
-
* fix them on the next attempt.
|
|
51
|
-
*
|
|
52
|
-
* When approving: may include minor observations.
|
|
28
|
+
* Detailed review feedback. When rejecting, describe issues clearly for the
|
|
29
|
+
* next attempt.
|
|
53
30
|
*/
|
|
54
31
|
feedback: string;
|
|
55
|
-
/**
|
|
56
|
-
* Structured issues for targeted scenario regeneration.
|
|
57
|
-
*
|
|
58
|
-
* Each issue identifies a specific category and provides a concrete
|
|
59
|
-
* suggestion for fixing the scenario.
|
|
60
|
-
*/
|
|
32
|
+
/** Structured issues for targeted scenario regeneration. */
|
|
61
33
|
issues: IAutoBeAnalyzeScenarioReviewApplicationScenarioReviewIssue[];
|
|
62
34
|
}
|
|
63
35
|
export interface IAutoBeAnalyzeScenarioReviewApplicationScenarioReviewIssue {
|