@revisium/orchestrator 0.2.0-alpha.0 → 0.2.0-alpha.2

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 (50) hide show
  1. package/control-plane/default-playbook/catalog/pipelines.json +364 -11
  2. package/control-plane/default-playbook/prompts/analyst.md +4 -0
  3. package/control-plane/default-playbook/prompts/developer.md +4 -0
  4. package/dist/api/graphql-api/inbox/inbox.resolver.js +12 -0
  5. package/dist/api/graphql-api/inbox/inbox.resolver.js.map +1 -1
  6. package/dist/api/graphql-api/inbox/inputs/resolve-gate.input.js +103 -0
  7. package/dist/api/graphql-api/inbox/inputs/resolve-gate.input.js.map +1 -0
  8. package/dist/control-plane/default-playbook-policy.js +129 -5
  9. package/dist/control-plane/default-playbook-policy.js.map +1 -1
  10. package/dist/control-plane/manual-adoption-audit.js +71 -0
  11. package/dist/control-plane/manual-adoption-audit.js.map +1 -0
  12. package/dist/e2e/kit/drive.js +1 -1
  13. package/dist/e2e/kit/drive.js.map +1 -1
  14. package/dist/features/inbox/commands/handlers/inbox-command.handlers.js +16 -0
  15. package/dist/features/inbox/commands/handlers/inbox-command.handlers.js.map +1 -1
  16. package/dist/features/inbox/commands/impl/resolve-gate.command.js +7 -0
  17. package/dist/features/inbox/commands/impl/resolve-gate.command.js.map +1 -0
  18. package/dist/features/inbox/commands/index.js +2 -1
  19. package/dist/features/inbox/commands/index.js.map +1 -1
  20. package/dist/features/inbox/inbox-api.service.js +4 -0
  21. package/dist/features/inbox/inbox-api.service.js.map +1 -1
  22. package/dist/mcp/mcp-capabilities.js +2 -1
  23. package/dist/mcp/mcp-capabilities.js.map +1 -1
  24. package/dist/mcp/mcp-facade.service.js +3 -0
  25. package/dist/mcp/mcp-facade.service.js.map +1 -1
  26. package/dist/mcp/mcp-tools.js +37 -0
  27. package/dist/mcp/mcp-tools.js.map +1 -1
  28. package/dist/pipeline/await-human.js +13 -3
  29. package/dist/pipeline/await-human.js.map +1 -1
  30. package/dist/pipeline/data-driven-task.workflow.js +113 -6
  31. package/dist/pipeline/data-driven-task.workflow.js.map +1 -1
  32. package/dist/pipeline/pipeline.service.js +1 -0
  33. package/dist/pipeline/pipeline.service.js.map +1 -1
  34. package/dist/pipeline-core/interpret.js +1 -0
  35. package/dist/pipeline-core/interpret.js.map +1 -1
  36. package/dist/pipeline-core/kit/builders.js +1 -0
  37. package/dist/pipeline-core/kit/builders.js.map +1 -1
  38. package/dist/pipeline-core/kit/fixtures.js +45 -11
  39. package/dist/pipeline-core/kit/fixtures.js.map +1 -1
  40. package/dist/pipeline-core/types.js +1 -1
  41. package/dist/pipeline-core/types.js.map +1 -1
  42. package/dist/pipeline-core/validate-dataflow.js +2 -4
  43. package/dist/pipeline-core/validate-dataflow.js.map +1 -1
  44. package/dist/runners/integrator.js +41 -9
  45. package/dist/runners/integrator.js.map +1 -1
  46. package/dist/task-control-plane/run-watch.service.js +7 -5
  47. package/dist/task-control-plane/run-watch.service.js.map +1 -1
  48. package/dist/task-control-plane/task-control-plane-api.service.js +135 -20
  49. package/dist/task-control-plane/task-control-plane-api.service.js.map +1 -1
  50. package/package.json +1 -1
@@ -43,7 +43,10 @@
43
43
  "fix",
44
44
  "wontfix",
45
45
  "question",
46
- "recheck"
46
+ "recheck",
47
+ "approve_anyway",
48
+ "rework",
49
+ "cancel"
47
50
  ]
48
51
  },
49
52
  "nodes": {
@@ -59,6 +62,36 @@
59
62
  },
60
63
  "incrementCounters": [
61
64
  "planReviewLoop"
65
+ ],
66
+ "consumes": [
67
+ {
68
+ "node": "analyst",
69
+ "as": "priorPlan",
70
+ "iteration": "latest",
71
+ "optional": true,
72
+ "staleOk": true
73
+ },
74
+ {
75
+ "node": "planReviewer",
76
+ "as": "planReview",
77
+ "iteration": "latest",
78
+ "optional": true,
79
+ "staleOk": true
80
+ },
81
+ {
82
+ "node": "planGate",
83
+ "as": "planGateResolution",
84
+ "iteration": "latest",
85
+ "optional": true,
86
+ "staleOk": true
87
+ },
88
+ {
89
+ "node": "planStuckGate",
90
+ "as": "planStuckResolution",
91
+ "iteration": "latest",
92
+ "optional": true,
93
+ "staleOk": true
94
+ }
62
95
  ]
63
96
  },
64
97
  "planReviewer": {
@@ -68,6 +101,9 @@
68
101
  "next": "planReviewRouter",
69
102
  "onFailure": "abort",
70
103
  "resultSchema": "schema:reviewVerdict",
104
+ "produces": {
105
+ "name": "planReview"
106
+ },
71
107
  "consumes": [
72
108
  {
73
109
  "node": "analyst",
@@ -119,7 +155,9 @@
119
155
  "kind": "humanGate",
120
156
  "reason": "plan-stuck",
121
157
  "outcomes": [
122
- "approved"
158
+ "approved",
159
+ "rework",
160
+ "cancel"
123
161
  ],
124
162
  "branches": [
125
163
  {
@@ -129,6 +167,20 @@
129
167
  },
130
168
  "goto": "developer"
131
169
  },
170
+ {
171
+ "when": {
172
+ "op": "verdict.eq",
173
+ "value": "rework"
174
+ },
175
+ "goto": "analyst"
176
+ },
177
+ {
178
+ "when": {
179
+ "op": "verdict.eq",
180
+ "value": "cancel"
181
+ },
182
+ "goto": "cancelledEnd"
183
+ },
132
184
  {
133
185
  "default": "blockedEnd"
134
186
  }
@@ -136,6 +188,9 @@
136
188
  "gatedArtifact": {
137
189
  "node": "analyst",
138
190
  "as": "plan"
191
+ },
192
+ "produces": {
193
+ "name": "planStuckResolution"
139
194
  }
140
195
  },
141
196
  "planGate": {
@@ -143,7 +198,9 @@
143
198
  "kind": "humanGate",
144
199
  "reason": "plan-review",
145
200
  "outcomes": [
146
- "approved"
201
+ "approved",
202
+ "rework",
203
+ "cancel"
147
204
  ],
148
205
  "branches": [
149
206
  {
@@ -153,6 +210,20 @@
153
210
  },
154
211
  "goto": "developer"
155
212
  },
213
+ {
214
+ "when": {
215
+ "op": "verdict.eq",
216
+ "value": "rework"
217
+ },
218
+ "goto": "analyst"
219
+ },
220
+ {
221
+ "when": {
222
+ "op": "verdict.eq",
223
+ "value": "cancel"
224
+ },
225
+ "goto": "cancelledEnd"
226
+ },
156
227
  {
157
228
  "default": "blockedEnd"
158
229
  }
@@ -160,6 +231,9 @@
160
231
  "gatedArtifact": {
161
232
  "node": "analyst",
162
233
  "as": "plan"
234
+ },
235
+ "produces": {
236
+ "name": "planGateResolution"
163
237
  }
164
238
  },
165
239
  "developer": {
@@ -196,8 +270,16 @@
196
270
  "node": "reworkDeveloper",
197
271
  "as": "reworkChange",
198
272
  "optional": true
273
+ },
274
+ {
275
+ "node": "stuckReworkDeveloper",
276
+ "as": "stuckReworkChange",
277
+ "optional": true
199
278
  }
200
- ]
279
+ ],
280
+ "produces": {
281
+ "name": "review"
282
+ }
201
283
  },
202
284
  "codeReviewRouter": {
203
285
  "id": "codeReviewRouter",
@@ -243,16 +325,42 @@
243
325
  "kind": "humanGate",
244
326
  "reason": "code-review-stuck",
245
327
  "outcomes": [
246
- "approved"
328
+ "approve_anyway",
329
+ "rework",
330
+ "cancel"
247
331
  ],
248
332
  "branches": [
249
333
  {
250
334
  "when": {
251
335
  "op": "verdict.eq",
252
- "value": "approved"
336
+ "value": "approve_anyway"
253
337
  },
254
338
  "goto": "integrator"
255
339
  },
340
+ {
341
+ "when": {
342
+ "op": "all",
343
+ "of": [
344
+ {
345
+ "op": "verdict.eq",
346
+ "value": "rework"
347
+ },
348
+ {
349
+ "op": "counter.lt",
350
+ "scope": "codeStuckRecoveryLoop",
351
+ "value": 3
352
+ }
353
+ ]
354
+ },
355
+ "goto": "stuckReworkDeveloper"
356
+ },
357
+ {
358
+ "when": {
359
+ "op": "verdict.eq",
360
+ "value": "cancel"
361
+ },
362
+ "goto": "cancelledEnd"
363
+ },
256
364
  {
257
365
  "default": "blockedEnd"
258
366
  }
@@ -260,6 +368,9 @@
260
368
  "gatedArtifact": {
261
369
  "node": "reworkDeveloper",
262
370
  "as": "change"
371
+ },
372
+ "produces": {
373
+ "name": "gateResolution"
263
374
  }
264
375
  },
265
376
  "reworkDeveloper": {
@@ -304,6 +415,11 @@
304
415
  "as": "reworkChange",
305
416
  "optional": true
306
417
  },
418
+ {
419
+ "node": "stuckReworkDeveloper",
420
+ "as": "stuckReworkChange",
421
+ "optional": true
422
+ },
307
423
  {
308
424
  "node": "ciRework",
309
425
  "as": "ciChange",
@@ -318,7 +434,8 @@
318
434
  "reason": "merge-review",
319
435
  "outcomes": [
320
436
  "approved",
321
- "recheck"
437
+ "recheck",
438
+ "cancel"
322
439
  ],
323
440
  "branches": [
324
441
  {
@@ -335,6 +452,13 @@
335
452
  },
336
453
  "goto": "mergeRecheck"
337
454
  },
455
+ {
456
+ "when": {
457
+ "op": "verdict.eq",
458
+ "value": "cancel"
459
+ },
460
+ "goto": "cancelledEnd"
461
+ },
338
462
  {
339
463
  "default": "blockedEnd"
340
464
  }
@@ -400,6 +524,13 @@
400
524
  },
401
525
  "goto": "ciRework"
402
526
  },
527
+ {
528
+ "when": {
529
+ "op": "verdict.eq",
530
+ "value": "recheck"
531
+ },
532
+ "goto": "mergeReadiness"
533
+ },
403
534
  {
404
535
  "default": "blockedEnd"
405
536
  }
@@ -483,6 +614,13 @@
483
614
  },
484
615
  "goto": "mergeReadiness"
485
616
  },
617
+ {
618
+ "when": {
619
+ "op": "verdict.eq",
620
+ "value": "recheck"
621
+ },
622
+ "goto": "pollPr"
623
+ },
486
624
  {
487
625
  "when": {
488
626
  "op": "verdict.eq",
@@ -544,6 +682,13 @@
544
682
  },
545
683
  "goto": "mergeGate"
546
684
  },
685
+ {
686
+ "when": {
687
+ "op": "verdict.eq",
688
+ "value": "recheck"
689
+ },
690
+ "goto": "mergeReadiness"
691
+ },
547
692
  {
548
693
  "when": {
549
694
  "op": "verdict.eq",
@@ -784,6 +929,53 @@
784
929
  "goto": "failedEnd"
785
930
  }
786
931
  ]
932
+ },
933
+ "stuckReworkDeveloper": {
934
+ "id": "stuckReworkDeveloper",
935
+ "kind": "agent",
936
+ "roleRef": "role:developer",
937
+ "next": "codeReview",
938
+ "onFailure": "abort",
939
+ "resultSchema": "schema:change",
940
+ "incrementCounters": [
941
+ "codeStuckRecoveryLoop"
942
+ ],
943
+ "produces": {
944
+ "name": "change"
945
+ },
946
+ "consumes": [
947
+ {
948
+ "node": "developer",
949
+ "as": "initialChange",
950
+ "iteration": "latest",
951
+ "optional": true,
952
+ "staleOk": true
953
+ },
954
+ {
955
+ "node": "reworkDeveloper",
956
+ "as": "latestRework",
957
+ "iteration": "latest",
958
+ "optional": true,
959
+ "staleOk": true
960
+ },
961
+ {
962
+ "node": "codeReview",
963
+ "as": "reviewFindings",
964
+ "iteration": "latest",
965
+ "optional": true,
966
+ "staleOk": true
967
+ },
968
+ {
969
+ "node": "codeStuckGate",
970
+ "as": "gateResolution",
971
+ "iteration": "latest"
972
+ }
973
+ ]
974
+ },
975
+ "cancelledEnd": {
976
+ "id": "cancelledEnd",
977
+ "kind": "terminal",
978
+ "status": "cancelled"
787
979
  }
788
980
  },
789
981
  "title": "Feature development — plan + merge gates, bounded code-review rework, and a PR review-feedback loop (plan 0018)",
@@ -803,7 +995,7 @@
803
995
  },
804
996
  "codeReviewLoop": {
805
997
  "cap": 3,
806
- "parent": null
998
+ "parent": "codeStuckRecoveryLoop"
807
999
  },
808
1000
  "ciLoop": {
809
1001
  "cap": 3,
@@ -816,6 +1008,10 @@
816
1008
  "questionLoop": {
817
1009
  "cap": 3,
818
1010
  "parent": null
1011
+ },
1012
+ "codeStuckRecoveryLoop": {
1013
+ "cap": 3,
1014
+ "parent": null
819
1015
  }
820
1016
  }
821
1017
  }
@@ -865,7 +1061,10 @@
865
1061
  "fix",
866
1062
  "wontfix",
867
1063
  "question",
868
- "recheck"
1064
+ "recheck",
1065
+ "approve_anyway",
1066
+ "rework",
1067
+ "abort"
869
1068
  ]
870
1069
  },
871
1070
  "nodes": {
@@ -1021,6 +1220,14 @@
1021
1220
  },
1022
1221
  "goto": "reworkDeveloper"
1023
1222
  },
1223
+ {
1224
+ "when": {
1225
+ "op": "counter.gte",
1226
+ "scope": "codeStuckRecoveryLoop",
1227
+ "value": 1
1228
+ },
1229
+ "goto": "codeFinalStuckGate"
1230
+ },
1024
1231
  {
1025
1232
  "default": "codeStuckGate"
1026
1233
  }
@@ -1034,16 +1241,42 @@
1034
1241
  "kind": "humanGate",
1035
1242
  "reason": "code-review-stuck",
1036
1243
  "outcomes": [
1037
- "approved"
1244
+ "approve_anyway",
1245
+ "rework",
1246
+ "abort"
1038
1247
  ],
1039
1248
  "branches": [
1040
1249
  {
1041
1250
  "when": {
1042
1251
  "op": "verdict.eq",
1043
- "value": "approved"
1252
+ "value": "approve_anyway"
1044
1253
  },
1045
1254
  "goto": "integrator"
1046
1255
  },
1256
+ {
1257
+ "when": {
1258
+ "op": "all",
1259
+ "of": [
1260
+ {
1261
+ "op": "verdict.eq",
1262
+ "value": "rework"
1263
+ },
1264
+ {
1265
+ "op": "counter.lt",
1266
+ "scope": "codeStuckRecoveryLoop",
1267
+ "value": 1
1268
+ }
1269
+ ]
1270
+ },
1271
+ "goto": "stuckReworkDeveloper"
1272
+ },
1273
+ {
1274
+ "when": {
1275
+ "op": "verdict.eq",
1276
+ "value": "rework"
1277
+ },
1278
+ "goto": "codeFinalStuckGate"
1279
+ },
1047
1280
  {
1048
1281
  "default": "blockedEnd"
1049
1282
  }
@@ -1051,6 +1284,9 @@
1051
1284
  "gatedArtifact": {
1052
1285
  "node": "reworkDeveloper",
1053
1286
  "as": "change"
1287
+ },
1288
+ "produces": {
1289
+ "name": "gateResolution"
1054
1290
  }
1055
1291
  },
1056
1292
  "reworkDeveloper": {
@@ -1092,6 +1328,11 @@
1092
1328
  "as": "reworkChange",
1093
1329
  "optional": true
1094
1330
  },
1331
+ {
1332
+ "node": "stuckReworkDeveloper",
1333
+ "as": "stuckReworkChange",
1334
+ "optional": true
1335
+ },
1095
1336
  {
1096
1337
  "node": "ciRework",
1097
1338
  "as": "ciChange",
@@ -1188,6 +1429,13 @@
1188
1429
  },
1189
1430
  "goto": "ciRework"
1190
1431
  },
1432
+ {
1433
+ "when": {
1434
+ "op": "verdict.eq",
1435
+ "value": "recheck"
1436
+ },
1437
+ "goto": "mergeReadiness"
1438
+ },
1191
1439
  {
1192
1440
  "default": "blockedEnd"
1193
1441
  }
@@ -1264,6 +1512,13 @@
1264
1512
  },
1265
1513
  "goto": "mergeReadiness"
1266
1514
  },
1515
+ {
1516
+ "when": {
1517
+ "op": "verdict.eq",
1518
+ "value": "recheck"
1519
+ },
1520
+ "goto": "pollPr"
1521
+ },
1267
1522
  {
1268
1523
  "when": {
1269
1524
  "op": "verdict.eq",
@@ -1325,6 +1580,13 @@
1325
1580
  },
1326
1581
  "goto": "mergeGate"
1327
1582
  },
1583
+ {
1584
+ "when": {
1585
+ "op": "verdict.eq",
1586
+ "value": "recheck"
1587
+ },
1588
+ "goto": "mergeReadiness"
1589
+ },
1328
1590
  {
1329
1591
  "when": {
1330
1592
  "op": "verdict.eq",
@@ -1667,6 +1929,11 @@
1667
1929
  "node": "reworkDeveloper",
1668
1930
  "as": "reworkChange",
1669
1931
  "optional": true
1932
+ },
1933
+ {
1934
+ "node": "stuckReworkDeveloper",
1935
+ "as": "stuckReworkChange",
1936
+ "optional": true
1670
1937
  }
1671
1938
  ],
1672
1939
  "produces": {
@@ -1690,6 +1957,11 @@
1690
1957
  "node": "reworkDeveloper",
1691
1958
  "as": "reworkChange",
1692
1959
  "optional": true
1960
+ },
1961
+ {
1962
+ "node": "stuckReworkDeveloper",
1963
+ "as": "stuckReworkChange",
1964
+ "optional": true
1693
1965
  }
1694
1966
  ],
1695
1967
  "produces": {
@@ -1715,6 +1987,83 @@
1715
1987
  "reviews": "appendByBranchOrder"
1716
1988
  },
1717
1989
  "next": "codeReviewRouter"
1990
+ },
1991
+ "stuckReworkDeveloper": {
1992
+ "id": "stuckReworkDeveloper",
1993
+ "kind": "agent",
1994
+ "roleRef": "role:developer-codex",
1995
+ "next": "codeReviewFanout",
1996
+ "onFailure": "abort",
1997
+ "resultSchema": "schema:change",
1998
+ "incrementCounters": [
1999
+ "codeStuckRecoveryLoop"
2000
+ ],
2001
+ "produces": {
2002
+ "name": "change"
2003
+ },
2004
+ "consumes": [
2005
+ {
2006
+ "node": "developer",
2007
+ "as": "initialChange",
2008
+ "iteration": "latest",
2009
+ "optional": true,
2010
+ "staleOk": true
2011
+ },
2012
+ {
2013
+ "node": "reworkDeveloper",
2014
+ "as": "latestRework",
2015
+ "iteration": "latest",
2016
+ "optional": true,
2017
+ "staleOk": true
2018
+ },
2019
+ {
2020
+ "node": "codeReviewPrimary",
2021
+ "as": "primaryReview",
2022
+ "iteration": "latest",
2023
+ "optional": true,
2024
+ "staleOk": true
2025
+ },
2026
+ {
2027
+ "node": "codeReviewSecondary",
2028
+ "as": "secondaryReview",
2029
+ "iteration": "latest",
2030
+ "optional": true,
2031
+ "staleOk": true
2032
+ },
2033
+ {
2034
+ "node": "codeStuckGate",
2035
+ "as": "gateResolution",
2036
+ "iteration": "latest"
2037
+ }
2038
+ ]
2039
+ },
2040
+ "codeFinalStuckGate": {
2041
+ "id": "codeFinalStuckGate",
2042
+ "kind": "humanGate",
2043
+ "reason": "code-review-final-stuck",
2044
+ "outcomes": [
2045
+ "approve_anyway",
2046
+ "abort"
2047
+ ],
2048
+ "branches": [
2049
+ {
2050
+ "when": {
2051
+ "op": "verdict.eq",
2052
+ "value": "approve_anyway"
2053
+ },
2054
+ "goto": "integrator"
2055
+ },
2056
+ {
2057
+ "default": "blockedEnd"
2058
+ }
2059
+ ],
2060
+ "gatedArtifact": {
2061
+ "node": "stuckReworkDeveloper",
2062
+ "as": "change"
2063
+ },
2064
+ "produces": {
2065
+ "name": "gateResolution"
2066
+ }
1718
2067
  }
1719
2068
  },
1720
2069
  "title": "Codex feature development with parallel review consensus",
@@ -1747,6 +2096,10 @@
1747
2096
  "questionLoop": {
1748
2097
  "cap": 3,
1749
2098
  "parent": null
2099
+ },
2100
+ "codeStuckRecoveryLoop": {
2101
+ "cap": 1,
2102
+ "parent": null
1750
2103
  }
1751
2104
  }
1752
2105
  }
@@ -16,6 +16,10 @@ reviewer can check against. The plan is the artifact a human approves at the pla
16
16
  migrations, concurrency, public API).
17
17
  4. Produce a short, ordered implementation plan with verification steps.
18
18
 
19
+ On a plan rework pass, the inputs may include a prior plan plus reviewer or human gate comments.
20
+ Revise the existing plan to address that feedback and preserve still-valid structure and decisions;
21
+ do not restart the analysis as a new task.
22
+
19
23
  ## Output
20
24
 
21
25
  Put the full ordered plan (problem, scope, files to change, steps, risks, verification) in the result
@@ -17,6 +17,10 @@ reviewer can approve it and the integrator can ship it.
17
17
  4. On a rework pass (reviewer requested changes), address each reviewer finding directly.
18
18
  5. On a CI rework pass, use `mergeFeedback` when it is present; otherwise use `feedback`.
19
19
 
20
+ On a stuck-gate rework pass, treat the human gate note and latest review findings as an iteration
21
+ on the current change. Continue from the existing branch and worktree, preserve useful work, and do
22
+ not restart the implementation unless the feedback explicitly requires replacing it.
23
+
20
24
  ## Output
21
25
 
22
26
  Summarize what you changed and how you verified it, then end with a verdict token:
@@ -17,6 +17,7 @@ import { GraphqlParamTypes } from '../share/graphql-param-types.js';
17
17
  import { AnswerQuestionInput } from './inputs/answer-question.input.js';
18
18
  import { GateDecisionInput } from './inputs/gate-decision.input.js';
19
19
  import { ListInboxInput } from './inputs/list-inbox.input.js';
20
+ import { ResolveGateInput } from './inputs/resolve-gate.input.js';
20
21
  import { ResolveInboxItemInput } from './inputs/resolve-inbox-item.input.js';
21
22
  import { GateRiskModel } from './model/gate-risk.model.js';
22
23
  import { InboxConnection } from './model/inbox-connection.model.js';
@@ -45,6 +46,9 @@ let InboxResolver = class InboxResolver {
45
46
  rejectGate(data) {
46
47
  return this.api.rejectGate(data);
47
48
  }
49
+ resolveGate(data) {
50
+ return this.api.resolveGate(data);
51
+ }
48
52
  answerQuestion(data) {
49
53
  return this.api.answerQuestion(data);
50
54
  }
@@ -100,6 +104,14 @@ __decorate([
100
104
  __metadata("design:paramtypes", [GateDecisionInput]),
101
105
  __metadata("design:returntype", void 0)
102
106
  ], InboxResolver.prototype, "rejectGate", null);
107
+ __decorate([
108
+ Mutation(() => InboxResolutionModel),
109
+ GraphqlParamTypes(ResolveGateInput),
110
+ __param(0, Args('data', { type: () => ResolveGateInput })),
111
+ __metadata("design:type", Function),
112
+ __metadata("design:paramtypes", [ResolveGateInput]),
113
+ __metadata("design:returntype", void 0)
114
+ ], InboxResolver.prototype, "resolveGate", null);
103
115
  __decorate([
104
116
  Mutation(() => InboxResolutionModel),
105
117
  GraphqlParamTypes(AnswerQuestionInput),
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.resolver.js","sourceRoot":"","sources":["../../../../src/api/graphql-api/inbox/inbox.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAGlE,IAAM,aAAa,GAAnB,MAAM,aAAa;IAC8B;IAAtD,YAAsD,GAAoB;QAApB,QAAG,GAAH,GAAG,CAAiB;IAAG,CAAC;IAI9E,KAAK,CAA+D,IAAqB;QACvF,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,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