@cleocode/cleo 2026.3.20 → 2026.3.22

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 (150) hide show
  1. package/dist/cli/index.js +39394 -38817
  2. package/dist/cli/index.js.map +4 -4
  3. package/dist/mcp/index.js +35841 -36702
  4. package/dist/mcp/index.js.map +4 -4
  5. package/drizzle-brain.config.ts +7 -0
  6. package/drizzle-nexus.config.ts +7 -0
  7. package/drizzle-tasks.config.ts +7 -0
  8. package/migrations/drizzle-brain/20260301230215_workable_spitfire/migration.sql +68 -0
  9. package/migrations/drizzle-brain/20260301230215_workable_spitfire/snapshot.json +651 -0
  10. package/migrations/drizzle-brain/20260302050325_unknown_justin_hammer/migration.sql +23 -0
  11. package/migrations/drizzle-brain/20260302050325_unknown_justin_hammer/snapshot.json +884 -0
  12. package/migrations/drizzle-brain/20260302061755_unusual_jamie_braddock/migration.sql +2 -0
  13. package/migrations/drizzle-brain/20260302061755_unusual_jamie_braddock/snapshot.json +908 -0
  14. package/migrations/drizzle-brain/20260302193548_luxuriant_glorian/migration.sql +20 -0
  15. package/migrations/drizzle-brain/20260302193548_luxuriant_glorian/snapshot.json +1078 -0
  16. package/migrations/drizzle-brain/20260304045002_white_thunderbolt_ross/migration.sql +16 -0
  17. package/migrations/drizzle-brain/20260304045002_white_thunderbolt_ross/snapshot.json +1233 -0
  18. package/migrations/drizzle-nexus/20260305070805_quick_ted_forrester/migration.sql +46 -0
  19. package/migrations/drizzle-nexus/20260305070805_quick_ted_forrester/snapshot.json +461 -0
  20. package/migrations/drizzle-tasks/20260308024513_oval_king_bedlam/migration.sql +32 -0
  21. package/migrations/drizzle-tasks/20260308024513_oval_king_bedlam/snapshot.json +3727 -0
  22. package/package.json +14 -4
  23. package/packages/ct-skills/skills/ct-cleo/SKILL.md +344 -81
  24. package/packages/ct-skills/skills/ct-grade/SKILL.md +20 -4
  25. package/packages/ct-skills/skills/ct-grade/agents/analysis-reporter.md +203 -0
  26. package/packages/ct-skills/skills/ct-grade/agents/blind-comparator.md +157 -0
  27. package/packages/ct-skills/skills/ct-grade/agents/scenario-runner.md +134 -0
  28. package/packages/ct-skills/skills/ct-grade/eval-viewer/generate_grade_review.py +1138 -0
  29. package/packages/ct-skills/skills/ct-grade/eval-viewer/generate_grade_viewer.py +544 -0
  30. package/packages/ct-skills/skills/ct-grade/eval-viewer/generate_review.py +283 -0
  31. package/packages/ct-skills/skills/ct-grade/eval-viewer/grade-review.html +1574 -0
  32. package/packages/ct-skills/skills/ct-grade/eval-viewer/viewer.html +219 -0
  33. package/packages/ct-skills/skills/ct-grade/evals/evals.json +94 -0
  34. package/packages/ct-skills/skills/ct-grade/references/ab-test-methodology.md +150 -0
  35. package/packages/ct-skills/skills/ct-grade/references/domains.md +137 -0
  36. package/packages/ct-skills/skills/ct-grade/references/grade-spec.md +236 -0
  37. package/packages/ct-skills/skills/ct-grade/references/scenario-playbook.md +234 -0
  38. package/packages/ct-skills/skills/ct-grade/references/token-tracking.md +120 -0
  39. package/packages/ct-skills/skills/ct-grade/scripts/audit_analyzer.py +279 -0
  40. package/packages/ct-skills/skills/ct-grade/scripts/generate_report.py +283 -0
  41. package/packages/ct-skills/skills/ct-grade/scripts/run_ab_test.py +504 -0
  42. package/packages/ct-skills/skills/ct-grade/scripts/run_all.py +287 -0
  43. package/packages/ct-skills/skills/ct-grade/scripts/setup_run.py +183 -0
  44. package/packages/ct-skills/skills/ct-grade/scripts/token_tracker.py +630 -0
  45. package/packages/ct-skills/skills/ct-grade-v2-1/SKILL.md +237 -0
  46. package/packages/ct-skills/skills/ct-grade-v2-1/agents/analysis-reporter.md +203 -0
  47. package/packages/ct-skills/skills/ct-grade-v2-1/agents/blind-comparator.md +157 -0
  48. package/packages/ct-skills/skills/ct-grade-v2-1/agents/scenario-runner.md +179 -0
  49. package/packages/ct-skills/skills/ct-grade-v2-1/evals/evals.json +74 -0
  50. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/build_op_stats.py +174 -0
  51. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/eval-analysis.json +41 -0
  52. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/eval-report.md +34 -0
  53. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/generate_grade_review.py +1023 -0
  54. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/generate_grade_viewer.py +548 -0
  55. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/grade-review-eval.html +613 -0
  56. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/grade-review.html +1532 -0
  57. package/packages/ct-skills/skills/ct-grade-v2-1/grade-viewer/viewer.html +620 -0
  58. package/packages/ct-skills/skills/ct-grade-v2-1/manifest-entry.json +31 -0
  59. package/packages/ct-skills/skills/ct-grade-v2-1/references/ab-testing.md +233 -0
  60. package/packages/ct-skills/skills/ct-grade-v2-1/references/domains-ssot.md +156 -0
  61. package/packages/ct-skills/skills/ct-grade-v2-1/references/grade-spec-v2.md +167 -0
  62. package/packages/ct-skills/skills/ct-grade-v2-1/references/playbook-v2.md +393 -0
  63. package/packages/ct-skills/skills/ct-grade-v2-1/references/token-tracking.md +202 -0
  64. package/packages/ct-skills/skills/ct-grade-v2-1/scripts/generate_report.py +419 -0
  65. package/packages/ct-skills/skills/ct-grade-v2-1/scripts/run_ab_test.py +493 -0
  66. package/packages/ct-skills/skills/ct-grade-v2-1/scripts/run_scenario.py +396 -0
  67. package/packages/ct-skills/skills/ct-grade-v2-1/scripts/setup_run.py +207 -0
  68. package/packages/ct-skills/skills/ct-grade-v2-1/scripts/token_tracker.py +175 -0
  69. package/packages/ct-skills/skills/ct-orchestrator/SKILL.md +1 -29
  70. package/packages/ct-skills/skills/ct-orchestrator/manifest-entry.json +19 -0
  71. package/packages/ct-skills/skills/ct-skill-creator/SKILL.md +0 -12
  72. package/packages/ct-skills/skills/ct-skill-creator/agents/analyzer.md +276 -0
  73. package/packages/ct-skills/skills/ct-skill-creator/agents/comparator.md +204 -0
  74. package/packages/ct-skills/skills/ct-skill-creator/agents/grader.md +225 -0
  75. package/packages/ct-skills/skills/ct-skill-creator/assets/eval_review.html +146 -0
  76. package/packages/ct-skills/skills/ct-skill-creator/eval-viewer/generate_review.py +471 -0
  77. package/packages/ct-skills/skills/ct-skill-creator/eval-viewer/viewer.html +1325 -0
  78. package/packages/ct-skills/skills/ct-skill-creator/manifest-entry.json +17 -0
  79. package/packages/ct-skills/skills/ct-skill-creator/references/dynamic-context.md +228 -0
  80. package/packages/ct-skills/skills/ct-skill-creator/references/frontmatter.md +83 -0
  81. package/packages/ct-skills/skills/ct-skill-creator/references/invocation-control.md +165 -0
  82. package/packages/ct-skills/skills/ct-skill-creator/references/provider-deployment.md +175 -0
  83. package/packages/ct-skills/skills/ct-skill-creator/references/schemas.md +430 -0
  84. package/packages/ct-skills/skills/ct-skill-creator/scripts/__init__.py +1 -0
  85. package/packages/ct-skills/skills/ct-skill-creator/scripts/aggregate_benchmark.py +401 -0
  86. package/packages/ct-skills/skills/ct-skill-creator/scripts/generate_report.py +326 -0
  87. package/packages/ct-skills/skills/ct-skill-creator/scripts/improve_description.py +247 -0
  88. package/packages/ct-skills/skills/ct-skill-creator/scripts/run_eval.py +310 -0
  89. package/packages/ct-skills/skills/ct-skill-creator/scripts/run_loop.py +328 -0
  90. package/packages/ct-skills/skills/ct-skill-creator/scripts/utils.py +47 -0
  91. package/packages/ct-skills/skills/ct-skill-validator/SKILL.md +178 -0
  92. package/packages/ct-skills/skills/ct-skill-validator/agents/ecosystem-checker.md +151 -0
  93. package/packages/ct-skills/skills/ct-skill-validator/assets/valid-skill-example.md +13 -0
  94. package/packages/ct-skills/skills/ct-skill-validator/evals/eval_set.json +14 -0
  95. package/packages/ct-skills/skills/ct-skill-validator/evals/evals.json +52 -0
  96. package/packages/ct-skills/skills/ct-skill-validator/manifest-entry.json +20 -0
  97. package/packages/ct-skills/skills/ct-skill-validator/references/cleo-ecosystem-rules.md +163 -0
  98. package/packages/ct-skills/skills/ct-skill-validator/references/validation-rules.md +168 -0
  99. package/packages/ct-skills/skills/ct-skill-validator/scripts/__init__.py +0 -0
  100. package/packages/ct-skills/skills/ct-skill-validator/scripts/audit_body.py +242 -0
  101. package/packages/ct-skills/skills/ct-skill-validator/scripts/check_ecosystem.py +169 -0
  102. package/packages/ct-skills/skills/ct-skill-validator/scripts/check_manifest.py +172 -0
  103. package/packages/ct-skills/skills/ct-skill-validator/scripts/generate_validation_report.py +442 -0
  104. package/packages/ct-skills/skills/ct-skill-validator/scripts/validate.py +422 -0
  105. /package/{drizzle → migrations/drizzle-tasks}/20260224040019_baseline/migration.sql +0 -0
  106. /package/{drizzle → migrations/drizzle-tasks}/20260224040019_baseline/snapshot.json +0 -0
  107. /package/{drizzle → migrations/drizzle-tasks}/20260224040238_add-audit-log/migration.sql +0 -0
  108. /package/{drizzle → migrations/drizzle-tasks}/20260224040238_add-audit-log/snapshot.json +0 -0
  109. /package/{drizzle → migrations/drizzle-tasks}/20260224144602_closed_grim_reaper/migration.sql +0 -0
  110. /package/{drizzle → migrations/drizzle-tasks}/20260224144602_closed_grim_reaper/snapshot.json +0 -0
  111. /package/{drizzle → migrations/drizzle-tasks}/20260225024442_sync-lifecycle-enums-and-arch-decisions/migration.sql +0 -0
  112. /package/{drizzle → migrations/drizzle-tasks}/20260225024442_sync-lifecycle-enums-and-arch-decisions/snapshot.json +0 -0
  113. /package/{drizzle → migrations/drizzle-tasks}/20260227014821_adr-system-and-status-registry/migration.sql +0 -0
  114. /package/{drizzle → migrations/drizzle-tasks}/20260227014821_adr-system-and-status-registry/snapshot.json +0 -0
  115. /package/{drizzle → migrations/drizzle-tasks}/20260227021231_add-cancelled-pipeline-status/migration.sql +0 -0
  116. /package/{drizzle → migrations/drizzle-tasks}/20260227021231_add-cancelled-pipeline-status/snapshot.json +0 -0
  117. /package/{drizzle → migrations/drizzle-tasks}/20260227022417_adr-cognitive-search-fields/migration.sql +0 -0
  118. /package/{drizzle → migrations/drizzle-tasks}/20260227022417_adr-cognitive-search-fields/snapshot.json +0 -0
  119. /package/{drizzle → migrations/drizzle-tasks}/20260227172236_freezing_grey_gargoyle/migration.sql +0 -0
  120. /package/{drizzle → migrations/drizzle-tasks}/20260227172236_freezing_grey_gargoyle/snapshot.json +0 -0
  121. /package/{drizzle → migrations/drizzle-tasks}/20260227183444_fix-orphaned-parent-ids/migration.sql +0 -0
  122. /package/{drizzle → migrations/drizzle-tasks}/20260227183444_fix-orphaned-parent-ids/snapshot.json +0 -0
  123. /package/{drizzle → migrations/drizzle-tasks}/20260227183521_parent-id-on-delete-set-null/migration.sql +0 -0
  124. /package/{drizzle → migrations/drizzle-tasks}/20260227183521_parent-id-on-delete-set-null/snapshot.json +0 -0
  125. /package/{drizzle → migrations/drizzle-tasks}/20260227200430_numerous_mysterio/migration.sql +0 -0
  126. /package/{drizzle → migrations/drizzle-tasks}/20260227200430_numerous_mysterio/snapshot.json +0 -0
  127. /package/{drizzle → migrations/drizzle-tasks}/20260227235745_add-audit-log-dispatch-columns/migration.sql +0 -0
  128. /package/{drizzle → migrations/drizzle-tasks}/20260227235745_add-audit-log-dispatch-columns/snapshot.json +0 -0
  129. /package/{drizzle → migrations/drizzle-tasks}/20260301053344_careless_changeling/migration.sql +0 -0
  130. /package/{drizzle → migrations/drizzle-tasks}/20260301053344_careless_changeling/snapshot.json +0 -0
  131. /package/{drizzle → migrations/drizzle-tasks}/20260301175940_futuristic_eternity/migration.sql +0 -0
  132. /package/{drizzle → migrations/drizzle-tasks}/20260301175940_futuristic_eternity/snapshot.json +0 -0
  133. /package/{drizzle → migrations/drizzle-tasks}/20260301180528_update-task-relations-check-constraint/migration.sql +0 -0
  134. /package/{drizzle → migrations/drizzle-tasks}/20260301180528_update-task-relations-check-constraint/snapshot.json +0 -0
  135. /package/{drizzle → migrations/drizzle-tasks}/20260302163443_free_silk_fever/migration.sql +0 -0
  136. /package/{drizzle → migrations/drizzle-tasks}/20260302163443_free_silk_fever/snapshot.json +0 -0
  137. /package/{drizzle → migrations/drizzle-tasks}/20260302163457_robust_johnny_storm/migration.sql +0 -0
  138. /package/{drizzle → migrations/drizzle-tasks}/20260302163457_robust_johnny_storm/snapshot.json +0 -0
  139. /package/{drizzle → migrations/drizzle-tasks}/20260302163511_late_sphinx/migration.sql +0 -0
  140. /package/{drizzle → migrations/drizzle-tasks}/20260302163511_late_sphinx/snapshot.json +0 -0
  141. /package/{drizzle → migrations/drizzle-tasks}/20260305011924_cheerful_mongu/migration.sql +0 -0
  142. /package/{drizzle → migrations/drizzle-tasks}/20260305011924_cheerful_mongu/snapshot.json +0 -0
  143. /package/{drizzle → migrations/drizzle-tasks}/20260305203927_demonic_storm/migration.sql +0 -0
  144. /package/{drizzle → migrations/drizzle-tasks}/20260305203927_demonic_storm/snapshot.json +0 -0
  145. /package/{drizzle → migrations/drizzle-tasks}/20260306001243_spooky_rage/migration.sql +0 -0
  146. /package/{drizzle → migrations/drizzle-tasks}/20260306001243_spooky_rage/snapshot.json +0 -0
  147. /package/{drizzle → migrations/drizzle-tasks}/20260306193138_young_morbius/migration.sql +0 -0
  148. /package/{drizzle → migrations/drizzle-tasks}/20260306193138_young_morbius/snapshot.json +0 -0
  149. /package/{drizzle → migrations/drizzle-tasks}/20260306194959_sticky_captain_flint/migration.sql +0 -0
  150. /package/{drizzle → migrations/drizzle-tasks}/20260306194959_sticky_captain_flint/snapshot.json +0 -0
@@ -0,0 +1,3727 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "31478a09-e504-449c-b0ed-6405b67968a2",
5
+ "prevIds": [
6
+ "0ecc1bc9-f372-4f9e-91c2-cf616bc18ac2"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "name": "adr_relations",
11
+ "entityType": "tables"
12
+ },
13
+ {
14
+ "name": "adr_task_links",
15
+ "entityType": "tables"
16
+ },
17
+ {
18
+ "name": "architecture_decisions",
19
+ "entityType": "tables"
20
+ },
21
+ {
22
+ "name": "audit_log",
23
+ "entityType": "tables"
24
+ },
25
+ {
26
+ "name": "lifecycle_evidence",
27
+ "entityType": "tables"
28
+ },
29
+ {
30
+ "name": "lifecycle_gate_results",
31
+ "entityType": "tables"
32
+ },
33
+ {
34
+ "name": "lifecycle_pipelines",
35
+ "entityType": "tables"
36
+ },
37
+ {
38
+ "name": "lifecycle_stages",
39
+ "entityType": "tables"
40
+ },
41
+ {
42
+ "name": "lifecycle_transitions",
43
+ "entityType": "tables"
44
+ },
45
+ {
46
+ "name": "manifest_entries",
47
+ "entityType": "tables"
48
+ },
49
+ {
50
+ "name": "pipeline_manifest",
51
+ "entityType": "tables"
52
+ },
53
+ {
54
+ "name": "release_manifests",
55
+ "entityType": "tables"
56
+ },
57
+ {
58
+ "name": "schema_meta",
59
+ "entityType": "tables"
60
+ },
61
+ {
62
+ "name": "sessions",
63
+ "entityType": "tables"
64
+ },
65
+ {
66
+ "name": "status_registry",
67
+ "entityType": "tables"
68
+ },
69
+ {
70
+ "name": "task_dependencies",
71
+ "entityType": "tables"
72
+ },
73
+ {
74
+ "name": "task_relations",
75
+ "entityType": "tables"
76
+ },
77
+ {
78
+ "name": "task_work_history",
79
+ "entityType": "tables"
80
+ },
81
+ {
82
+ "name": "tasks",
83
+ "entityType": "tables"
84
+ },
85
+ {
86
+ "name": "token_usage",
87
+ "entityType": "tables"
88
+ },
89
+ {
90
+ "name": "warp_chain_instances",
91
+ "entityType": "tables"
92
+ },
93
+ {
94
+ "name": "warp_chains",
95
+ "entityType": "tables"
96
+ },
97
+ {
98
+ "type": "text",
99
+ "notNull": true,
100
+ "autoincrement": false,
101
+ "default": null,
102
+ "generated": null,
103
+ "name": "from_adr_id",
104
+ "entityType": "columns",
105
+ "table": "adr_relations"
106
+ },
107
+ {
108
+ "type": "text",
109
+ "notNull": true,
110
+ "autoincrement": false,
111
+ "default": null,
112
+ "generated": null,
113
+ "name": "to_adr_id",
114
+ "entityType": "columns",
115
+ "table": "adr_relations"
116
+ },
117
+ {
118
+ "type": "text",
119
+ "notNull": true,
120
+ "autoincrement": false,
121
+ "default": null,
122
+ "generated": null,
123
+ "name": "relation_type",
124
+ "entityType": "columns",
125
+ "table": "adr_relations"
126
+ },
127
+ {
128
+ "type": "text",
129
+ "notNull": true,
130
+ "autoincrement": false,
131
+ "default": null,
132
+ "generated": null,
133
+ "name": "adr_id",
134
+ "entityType": "columns",
135
+ "table": "adr_task_links"
136
+ },
137
+ {
138
+ "type": "text",
139
+ "notNull": true,
140
+ "autoincrement": false,
141
+ "default": null,
142
+ "generated": null,
143
+ "name": "task_id",
144
+ "entityType": "columns",
145
+ "table": "adr_task_links"
146
+ },
147
+ {
148
+ "type": "text",
149
+ "notNull": true,
150
+ "autoincrement": false,
151
+ "default": "'related'",
152
+ "generated": null,
153
+ "name": "link_type",
154
+ "entityType": "columns",
155
+ "table": "adr_task_links"
156
+ },
157
+ {
158
+ "type": "text",
159
+ "notNull": false,
160
+ "autoincrement": false,
161
+ "default": null,
162
+ "generated": null,
163
+ "name": "id",
164
+ "entityType": "columns",
165
+ "table": "architecture_decisions"
166
+ },
167
+ {
168
+ "type": "text",
169
+ "notNull": true,
170
+ "autoincrement": false,
171
+ "default": null,
172
+ "generated": null,
173
+ "name": "title",
174
+ "entityType": "columns",
175
+ "table": "architecture_decisions"
176
+ },
177
+ {
178
+ "type": "text",
179
+ "notNull": true,
180
+ "autoincrement": false,
181
+ "default": "'proposed'",
182
+ "generated": null,
183
+ "name": "status",
184
+ "entityType": "columns",
185
+ "table": "architecture_decisions"
186
+ },
187
+ {
188
+ "type": "text",
189
+ "notNull": false,
190
+ "autoincrement": false,
191
+ "default": null,
192
+ "generated": null,
193
+ "name": "supersedes_id",
194
+ "entityType": "columns",
195
+ "table": "architecture_decisions"
196
+ },
197
+ {
198
+ "type": "text",
199
+ "notNull": false,
200
+ "autoincrement": false,
201
+ "default": null,
202
+ "generated": null,
203
+ "name": "superseded_by_id",
204
+ "entityType": "columns",
205
+ "table": "architecture_decisions"
206
+ },
207
+ {
208
+ "type": "text",
209
+ "notNull": false,
210
+ "autoincrement": false,
211
+ "default": null,
212
+ "generated": null,
213
+ "name": "consensus_manifest_id",
214
+ "entityType": "columns",
215
+ "table": "architecture_decisions"
216
+ },
217
+ {
218
+ "type": "text",
219
+ "notNull": true,
220
+ "autoincrement": false,
221
+ "default": null,
222
+ "generated": null,
223
+ "name": "content",
224
+ "entityType": "columns",
225
+ "table": "architecture_decisions"
226
+ },
227
+ {
228
+ "type": "text",
229
+ "notNull": true,
230
+ "autoincrement": false,
231
+ "default": "(datetime('now'))",
232
+ "generated": null,
233
+ "name": "created_at",
234
+ "entityType": "columns",
235
+ "table": "architecture_decisions"
236
+ },
237
+ {
238
+ "type": "text",
239
+ "notNull": false,
240
+ "autoincrement": false,
241
+ "default": null,
242
+ "generated": null,
243
+ "name": "updated_at",
244
+ "entityType": "columns",
245
+ "table": "architecture_decisions"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "notNull": true,
250
+ "autoincrement": false,
251
+ "default": "''",
252
+ "generated": null,
253
+ "name": "date",
254
+ "entityType": "columns",
255
+ "table": "architecture_decisions"
256
+ },
257
+ {
258
+ "type": "text",
259
+ "notNull": false,
260
+ "autoincrement": false,
261
+ "default": null,
262
+ "generated": null,
263
+ "name": "accepted_at",
264
+ "entityType": "columns",
265
+ "table": "architecture_decisions"
266
+ },
267
+ {
268
+ "type": "text",
269
+ "notNull": false,
270
+ "autoincrement": false,
271
+ "default": null,
272
+ "generated": null,
273
+ "name": "gate",
274
+ "entityType": "columns",
275
+ "table": "architecture_decisions"
276
+ },
277
+ {
278
+ "type": "text",
279
+ "notNull": false,
280
+ "autoincrement": false,
281
+ "default": null,
282
+ "generated": null,
283
+ "name": "gate_status",
284
+ "entityType": "columns",
285
+ "table": "architecture_decisions"
286
+ },
287
+ {
288
+ "type": "text",
289
+ "notNull": false,
290
+ "autoincrement": false,
291
+ "default": null,
292
+ "generated": null,
293
+ "name": "amends_id",
294
+ "entityType": "columns",
295
+ "table": "architecture_decisions"
296
+ },
297
+ {
298
+ "type": "text",
299
+ "notNull": true,
300
+ "autoincrement": false,
301
+ "default": "''",
302
+ "generated": null,
303
+ "name": "file_path",
304
+ "entityType": "columns",
305
+ "table": "architecture_decisions"
306
+ },
307
+ {
308
+ "type": "text",
309
+ "notNull": false,
310
+ "autoincrement": false,
311
+ "default": null,
312
+ "generated": null,
313
+ "name": "summary",
314
+ "entityType": "columns",
315
+ "table": "architecture_decisions"
316
+ },
317
+ {
318
+ "type": "text",
319
+ "notNull": false,
320
+ "autoincrement": false,
321
+ "default": null,
322
+ "generated": null,
323
+ "name": "keywords",
324
+ "entityType": "columns",
325
+ "table": "architecture_decisions"
326
+ },
327
+ {
328
+ "type": "text",
329
+ "notNull": false,
330
+ "autoincrement": false,
331
+ "default": null,
332
+ "generated": null,
333
+ "name": "topics",
334
+ "entityType": "columns",
335
+ "table": "architecture_decisions"
336
+ },
337
+ {
338
+ "type": "text",
339
+ "notNull": false,
340
+ "autoincrement": false,
341
+ "default": null,
342
+ "generated": null,
343
+ "name": "id",
344
+ "entityType": "columns",
345
+ "table": "audit_log"
346
+ },
347
+ {
348
+ "type": "text",
349
+ "notNull": true,
350
+ "autoincrement": false,
351
+ "default": "(datetime('now'))",
352
+ "generated": null,
353
+ "name": "timestamp",
354
+ "entityType": "columns",
355
+ "table": "audit_log"
356
+ },
357
+ {
358
+ "type": "text",
359
+ "notNull": true,
360
+ "autoincrement": false,
361
+ "default": null,
362
+ "generated": null,
363
+ "name": "action",
364
+ "entityType": "columns",
365
+ "table": "audit_log"
366
+ },
367
+ {
368
+ "type": "text",
369
+ "notNull": true,
370
+ "autoincrement": false,
371
+ "default": null,
372
+ "generated": null,
373
+ "name": "task_id",
374
+ "entityType": "columns",
375
+ "table": "audit_log"
376
+ },
377
+ {
378
+ "type": "text",
379
+ "notNull": true,
380
+ "autoincrement": false,
381
+ "default": "'system'",
382
+ "generated": null,
383
+ "name": "actor",
384
+ "entityType": "columns",
385
+ "table": "audit_log"
386
+ },
387
+ {
388
+ "type": "text",
389
+ "notNull": false,
390
+ "autoincrement": false,
391
+ "default": "'{}'",
392
+ "generated": null,
393
+ "name": "details_json",
394
+ "entityType": "columns",
395
+ "table": "audit_log"
396
+ },
397
+ {
398
+ "type": "text",
399
+ "notNull": false,
400
+ "autoincrement": false,
401
+ "default": null,
402
+ "generated": null,
403
+ "name": "before_json",
404
+ "entityType": "columns",
405
+ "table": "audit_log"
406
+ },
407
+ {
408
+ "type": "text",
409
+ "notNull": false,
410
+ "autoincrement": false,
411
+ "default": null,
412
+ "generated": null,
413
+ "name": "after_json",
414
+ "entityType": "columns",
415
+ "table": "audit_log"
416
+ },
417
+ {
418
+ "type": "text",
419
+ "notNull": false,
420
+ "autoincrement": false,
421
+ "default": null,
422
+ "generated": null,
423
+ "name": "domain",
424
+ "entityType": "columns",
425
+ "table": "audit_log"
426
+ },
427
+ {
428
+ "type": "text",
429
+ "notNull": false,
430
+ "autoincrement": false,
431
+ "default": null,
432
+ "generated": null,
433
+ "name": "operation",
434
+ "entityType": "columns",
435
+ "table": "audit_log"
436
+ },
437
+ {
438
+ "type": "text",
439
+ "notNull": false,
440
+ "autoincrement": false,
441
+ "default": null,
442
+ "generated": null,
443
+ "name": "session_id",
444
+ "entityType": "columns",
445
+ "table": "audit_log"
446
+ },
447
+ {
448
+ "type": "text",
449
+ "notNull": false,
450
+ "autoincrement": false,
451
+ "default": null,
452
+ "generated": null,
453
+ "name": "request_id",
454
+ "entityType": "columns",
455
+ "table": "audit_log"
456
+ },
457
+ {
458
+ "type": "integer",
459
+ "notNull": false,
460
+ "autoincrement": false,
461
+ "default": null,
462
+ "generated": null,
463
+ "name": "duration_ms",
464
+ "entityType": "columns",
465
+ "table": "audit_log"
466
+ },
467
+ {
468
+ "type": "integer",
469
+ "notNull": false,
470
+ "autoincrement": false,
471
+ "default": null,
472
+ "generated": null,
473
+ "name": "success",
474
+ "entityType": "columns",
475
+ "table": "audit_log"
476
+ },
477
+ {
478
+ "type": "text",
479
+ "notNull": false,
480
+ "autoincrement": false,
481
+ "default": null,
482
+ "generated": null,
483
+ "name": "source",
484
+ "entityType": "columns",
485
+ "table": "audit_log"
486
+ },
487
+ {
488
+ "type": "text",
489
+ "notNull": false,
490
+ "autoincrement": false,
491
+ "default": null,
492
+ "generated": null,
493
+ "name": "gateway",
494
+ "entityType": "columns",
495
+ "table": "audit_log"
496
+ },
497
+ {
498
+ "type": "text",
499
+ "notNull": false,
500
+ "autoincrement": false,
501
+ "default": null,
502
+ "generated": null,
503
+ "name": "error_message",
504
+ "entityType": "columns",
505
+ "table": "audit_log"
506
+ },
507
+ {
508
+ "type": "text",
509
+ "notNull": false,
510
+ "autoincrement": false,
511
+ "default": null,
512
+ "generated": null,
513
+ "name": "project_hash",
514
+ "entityType": "columns",
515
+ "table": "audit_log"
516
+ },
517
+ {
518
+ "type": "text",
519
+ "notNull": false,
520
+ "autoincrement": false,
521
+ "default": null,
522
+ "generated": null,
523
+ "name": "id",
524
+ "entityType": "columns",
525
+ "table": "lifecycle_evidence"
526
+ },
527
+ {
528
+ "type": "text",
529
+ "notNull": true,
530
+ "autoincrement": false,
531
+ "default": null,
532
+ "generated": null,
533
+ "name": "stage_id",
534
+ "entityType": "columns",
535
+ "table": "lifecycle_evidence"
536
+ },
537
+ {
538
+ "type": "text",
539
+ "notNull": true,
540
+ "autoincrement": false,
541
+ "default": null,
542
+ "generated": null,
543
+ "name": "uri",
544
+ "entityType": "columns",
545
+ "table": "lifecycle_evidence"
546
+ },
547
+ {
548
+ "type": "text",
549
+ "notNull": true,
550
+ "autoincrement": false,
551
+ "default": null,
552
+ "generated": null,
553
+ "name": "type",
554
+ "entityType": "columns",
555
+ "table": "lifecycle_evidence"
556
+ },
557
+ {
558
+ "type": "text",
559
+ "notNull": true,
560
+ "autoincrement": false,
561
+ "default": "(datetime('now'))",
562
+ "generated": null,
563
+ "name": "recorded_at",
564
+ "entityType": "columns",
565
+ "table": "lifecycle_evidence"
566
+ },
567
+ {
568
+ "type": "text",
569
+ "notNull": false,
570
+ "autoincrement": false,
571
+ "default": null,
572
+ "generated": null,
573
+ "name": "recorded_by",
574
+ "entityType": "columns",
575
+ "table": "lifecycle_evidence"
576
+ },
577
+ {
578
+ "type": "text",
579
+ "notNull": false,
580
+ "autoincrement": false,
581
+ "default": null,
582
+ "generated": null,
583
+ "name": "description",
584
+ "entityType": "columns",
585
+ "table": "lifecycle_evidence"
586
+ },
587
+ {
588
+ "type": "text",
589
+ "notNull": false,
590
+ "autoincrement": false,
591
+ "default": null,
592
+ "generated": null,
593
+ "name": "id",
594
+ "entityType": "columns",
595
+ "table": "lifecycle_gate_results"
596
+ },
597
+ {
598
+ "type": "text",
599
+ "notNull": true,
600
+ "autoincrement": false,
601
+ "default": null,
602
+ "generated": null,
603
+ "name": "stage_id",
604
+ "entityType": "columns",
605
+ "table": "lifecycle_gate_results"
606
+ },
607
+ {
608
+ "type": "text",
609
+ "notNull": true,
610
+ "autoincrement": false,
611
+ "default": null,
612
+ "generated": null,
613
+ "name": "gate_name",
614
+ "entityType": "columns",
615
+ "table": "lifecycle_gate_results"
616
+ },
617
+ {
618
+ "type": "text",
619
+ "notNull": true,
620
+ "autoincrement": false,
621
+ "default": null,
622
+ "generated": null,
623
+ "name": "result",
624
+ "entityType": "columns",
625
+ "table": "lifecycle_gate_results"
626
+ },
627
+ {
628
+ "type": "text",
629
+ "notNull": true,
630
+ "autoincrement": false,
631
+ "default": "(datetime('now'))",
632
+ "generated": null,
633
+ "name": "checked_at",
634
+ "entityType": "columns",
635
+ "table": "lifecycle_gate_results"
636
+ },
637
+ {
638
+ "type": "text",
639
+ "notNull": true,
640
+ "autoincrement": false,
641
+ "default": null,
642
+ "generated": null,
643
+ "name": "checked_by",
644
+ "entityType": "columns",
645
+ "table": "lifecycle_gate_results"
646
+ },
647
+ {
648
+ "type": "text",
649
+ "notNull": false,
650
+ "autoincrement": false,
651
+ "default": null,
652
+ "generated": null,
653
+ "name": "details",
654
+ "entityType": "columns",
655
+ "table": "lifecycle_gate_results"
656
+ },
657
+ {
658
+ "type": "text",
659
+ "notNull": false,
660
+ "autoincrement": false,
661
+ "default": null,
662
+ "generated": null,
663
+ "name": "reason",
664
+ "entityType": "columns",
665
+ "table": "lifecycle_gate_results"
666
+ },
667
+ {
668
+ "type": "text",
669
+ "notNull": false,
670
+ "autoincrement": false,
671
+ "default": null,
672
+ "generated": null,
673
+ "name": "id",
674
+ "entityType": "columns",
675
+ "table": "lifecycle_pipelines"
676
+ },
677
+ {
678
+ "type": "text",
679
+ "notNull": true,
680
+ "autoincrement": false,
681
+ "default": null,
682
+ "generated": null,
683
+ "name": "task_id",
684
+ "entityType": "columns",
685
+ "table": "lifecycle_pipelines"
686
+ },
687
+ {
688
+ "type": "text",
689
+ "notNull": true,
690
+ "autoincrement": false,
691
+ "default": "'active'",
692
+ "generated": null,
693
+ "name": "status",
694
+ "entityType": "columns",
695
+ "table": "lifecycle_pipelines"
696
+ },
697
+ {
698
+ "type": "text",
699
+ "notNull": false,
700
+ "autoincrement": false,
701
+ "default": null,
702
+ "generated": null,
703
+ "name": "current_stage_id",
704
+ "entityType": "columns",
705
+ "table": "lifecycle_pipelines"
706
+ },
707
+ {
708
+ "type": "text",
709
+ "notNull": true,
710
+ "autoincrement": false,
711
+ "default": "(datetime('now'))",
712
+ "generated": null,
713
+ "name": "started_at",
714
+ "entityType": "columns",
715
+ "table": "lifecycle_pipelines"
716
+ },
717
+ {
718
+ "type": "text",
719
+ "notNull": false,
720
+ "autoincrement": false,
721
+ "default": null,
722
+ "generated": null,
723
+ "name": "completed_at",
724
+ "entityType": "columns",
725
+ "table": "lifecycle_pipelines"
726
+ },
727
+ {
728
+ "type": "text",
729
+ "notNull": false,
730
+ "autoincrement": false,
731
+ "default": "(datetime('now'))",
732
+ "generated": null,
733
+ "name": "updated_at",
734
+ "entityType": "columns",
735
+ "table": "lifecycle_pipelines"
736
+ },
737
+ {
738
+ "type": "integer",
739
+ "notNull": true,
740
+ "autoincrement": false,
741
+ "default": "1",
742
+ "generated": null,
743
+ "name": "version",
744
+ "entityType": "columns",
745
+ "table": "lifecycle_pipelines"
746
+ },
747
+ {
748
+ "type": "text",
749
+ "notNull": false,
750
+ "autoincrement": false,
751
+ "default": null,
752
+ "generated": null,
753
+ "name": "id",
754
+ "entityType": "columns",
755
+ "table": "lifecycle_stages"
756
+ },
757
+ {
758
+ "type": "text",
759
+ "notNull": true,
760
+ "autoincrement": false,
761
+ "default": null,
762
+ "generated": null,
763
+ "name": "pipeline_id",
764
+ "entityType": "columns",
765
+ "table": "lifecycle_stages"
766
+ },
767
+ {
768
+ "type": "text",
769
+ "notNull": true,
770
+ "autoincrement": false,
771
+ "default": null,
772
+ "generated": null,
773
+ "name": "stage_name",
774
+ "entityType": "columns",
775
+ "table": "lifecycle_stages"
776
+ },
777
+ {
778
+ "type": "text",
779
+ "notNull": true,
780
+ "autoincrement": false,
781
+ "default": "'not_started'",
782
+ "generated": null,
783
+ "name": "status",
784
+ "entityType": "columns",
785
+ "table": "lifecycle_stages"
786
+ },
787
+ {
788
+ "type": "integer",
789
+ "notNull": true,
790
+ "autoincrement": false,
791
+ "default": null,
792
+ "generated": null,
793
+ "name": "sequence",
794
+ "entityType": "columns",
795
+ "table": "lifecycle_stages"
796
+ },
797
+ {
798
+ "type": "text",
799
+ "notNull": false,
800
+ "autoincrement": false,
801
+ "default": null,
802
+ "generated": null,
803
+ "name": "started_at",
804
+ "entityType": "columns",
805
+ "table": "lifecycle_stages"
806
+ },
807
+ {
808
+ "type": "text",
809
+ "notNull": false,
810
+ "autoincrement": false,
811
+ "default": null,
812
+ "generated": null,
813
+ "name": "completed_at",
814
+ "entityType": "columns",
815
+ "table": "lifecycle_stages"
816
+ },
817
+ {
818
+ "type": "text",
819
+ "notNull": false,
820
+ "autoincrement": false,
821
+ "default": null,
822
+ "generated": null,
823
+ "name": "blocked_at",
824
+ "entityType": "columns",
825
+ "table": "lifecycle_stages"
826
+ },
827
+ {
828
+ "type": "text",
829
+ "notNull": false,
830
+ "autoincrement": false,
831
+ "default": null,
832
+ "generated": null,
833
+ "name": "block_reason",
834
+ "entityType": "columns",
835
+ "table": "lifecycle_stages"
836
+ },
837
+ {
838
+ "type": "text",
839
+ "notNull": false,
840
+ "autoincrement": false,
841
+ "default": null,
842
+ "generated": null,
843
+ "name": "skipped_at",
844
+ "entityType": "columns",
845
+ "table": "lifecycle_stages"
846
+ },
847
+ {
848
+ "type": "text",
849
+ "notNull": false,
850
+ "autoincrement": false,
851
+ "default": null,
852
+ "generated": null,
853
+ "name": "skip_reason",
854
+ "entityType": "columns",
855
+ "table": "lifecycle_stages"
856
+ },
857
+ {
858
+ "type": "text",
859
+ "notNull": false,
860
+ "autoincrement": false,
861
+ "default": "'[]'",
862
+ "generated": null,
863
+ "name": "notes_json",
864
+ "entityType": "columns",
865
+ "table": "lifecycle_stages"
866
+ },
867
+ {
868
+ "type": "text",
869
+ "notNull": false,
870
+ "autoincrement": false,
871
+ "default": "'{}'",
872
+ "generated": null,
873
+ "name": "metadata_json",
874
+ "entityType": "columns",
875
+ "table": "lifecycle_stages"
876
+ },
877
+ {
878
+ "type": "text",
879
+ "notNull": false,
880
+ "autoincrement": false,
881
+ "default": null,
882
+ "generated": null,
883
+ "name": "output_file",
884
+ "entityType": "columns",
885
+ "table": "lifecycle_stages"
886
+ },
887
+ {
888
+ "type": "text",
889
+ "notNull": false,
890
+ "autoincrement": false,
891
+ "default": null,
892
+ "generated": null,
893
+ "name": "created_by",
894
+ "entityType": "columns",
895
+ "table": "lifecycle_stages"
896
+ },
897
+ {
898
+ "type": "text",
899
+ "notNull": false,
900
+ "autoincrement": false,
901
+ "default": null,
902
+ "generated": null,
903
+ "name": "validated_by",
904
+ "entityType": "columns",
905
+ "table": "lifecycle_stages"
906
+ },
907
+ {
908
+ "type": "text",
909
+ "notNull": false,
910
+ "autoincrement": false,
911
+ "default": null,
912
+ "generated": null,
913
+ "name": "validated_at",
914
+ "entityType": "columns",
915
+ "table": "lifecycle_stages"
916
+ },
917
+ {
918
+ "type": "text",
919
+ "notNull": false,
920
+ "autoincrement": false,
921
+ "default": null,
922
+ "generated": null,
923
+ "name": "validation_status",
924
+ "entityType": "columns",
925
+ "table": "lifecycle_stages"
926
+ },
927
+ {
928
+ "type": "text",
929
+ "notNull": false,
930
+ "autoincrement": false,
931
+ "default": null,
932
+ "generated": null,
933
+ "name": "provenance_chain_json",
934
+ "entityType": "columns",
935
+ "table": "lifecycle_stages"
936
+ },
937
+ {
938
+ "type": "text",
939
+ "notNull": false,
940
+ "autoincrement": false,
941
+ "default": null,
942
+ "generated": null,
943
+ "name": "id",
944
+ "entityType": "columns",
945
+ "table": "lifecycle_transitions"
946
+ },
947
+ {
948
+ "type": "text",
949
+ "notNull": true,
950
+ "autoincrement": false,
951
+ "default": null,
952
+ "generated": null,
953
+ "name": "pipeline_id",
954
+ "entityType": "columns",
955
+ "table": "lifecycle_transitions"
956
+ },
957
+ {
958
+ "type": "text",
959
+ "notNull": true,
960
+ "autoincrement": false,
961
+ "default": null,
962
+ "generated": null,
963
+ "name": "from_stage_id",
964
+ "entityType": "columns",
965
+ "table": "lifecycle_transitions"
966
+ },
967
+ {
968
+ "type": "text",
969
+ "notNull": true,
970
+ "autoincrement": false,
971
+ "default": null,
972
+ "generated": null,
973
+ "name": "to_stage_id",
974
+ "entityType": "columns",
975
+ "table": "lifecycle_transitions"
976
+ },
977
+ {
978
+ "type": "text",
979
+ "notNull": true,
980
+ "autoincrement": false,
981
+ "default": "'automatic'",
982
+ "generated": null,
983
+ "name": "transition_type",
984
+ "entityType": "columns",
985
+ "table": "lifecycle_transitions"
986
+ },
987
+ {
988
+ "type": "text",
989
+ "notNull": false,
990
+ "autoincrement": false,
991
+ "default": null,
992
+ "generated": null,
993
+ "name": "transitioned_by",
994
+ "entityType": "columns",
995
+ "table": "lifecycle_transitions"
996
+ },
997
+ {
998
+ "type": "text",
999
+ "notNull": true,
1000
+ "autoincrement": false,
1001
+ "default": "(datetime('now'))",
1002
+ "generated": null,
1003
+ "name": "created_at",
1004
+ "entityType": "columns",
1005
+ "table": "lifecycle_transitions"
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "notNull": false,
1010
+ "autoincrement": false,
1011
+ "default": null,
1012
+ "generated": null,
1013
+ "name": "id",
1014
+ "entityType": "columns",
1015
+ "table": "manifest_entries"
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "notNull": false,
1020
+ "autoincrement": false,
1021
+ "default": null,
1022
+ "generated": null,
1023
+ "name": "pipeline_id",
1024
+ "entityType": "columns",
1025
+ "table": "manifest_entries"
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "notNull": false,
1030
+ "autoincrement": false,
1031
+ "default": null,
1032
+ "generated": null,
1033
+ "name": "stage_id",
1034
+ "entityType": "columns",
1035
+ "table": "manifest_entries"
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "notNull": true,
1040
+ "autoincrement": false,
1041
+ "default": null,
1042
+ "generated": null,
1043
+ "name": "title",
1044
+ "entityType": "columns",
1045
+ "table": "manifest_entries"
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "notNull": true,
1050
+ "autoincrement": false,
1051
+ "default": null,
1052
+ "generated": null,
1053
+ "name": "date",
1054
+ "entityType": "columns",
1055
+ "table": "manifest_entries"
1056
+ },
1057
+ {
1058
+ "type": "text",
1059
+ "notNull": true,
1060
+ "autoincrement": false,
1061
+ "default": null,
1062
+ "generated": null,
1063
+ "name": "status",
1064
+ "entityType": "columns",
1065
+ "table": "manifest_entries"
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "notNull": false,
1070
+ "autoincrement": false,
1071
+ "default": null,
1072
+ "generated": null,
1073
+ "name": "agent_type",
1074
+ "entityType": "columns",
1075
+ "table": "manifest_entries"
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "notNull": false,
1080
+ "autoincrement": false,
1081
+ "default": null,
1082
+ "generated": null,
1083
+ "name": "output_file",
1084
+ "entityType": "columns",
1085
+ "table": "manifest_entries"
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "notNull": false,
1090
+ "autoincrement": false,
1091
+ "default": "'[]'",
1092
+ "generated": null,
1093
+ "name": "topics_json",
1094
+ "entityType": "columns",
1095
+ "table": "manifest_entries"
1096
+ },
1097
+ {
1098
+ "type": "text",
1099
+ "notNull": false,
1100
+ "autoincrement": false,
1101
+ "default": "'[]'",
1102
+ "generated": null,
1103
+ "name": "findings_json",
1104
+ "entityType": "columns",
1105
+ "table": "manifest_entries"
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "notNull": false,
1110
+ "autoincrement": false,
1111
+ "default": "'[]'",
1112
+ "generated": null,
1113
+ "name": "linked_tasks_json",
1114
+ "entityType": "columns",
1115
+ "table": "manifest_entries"
1116
+ },
1117
+ {
1118
+ "type": "text",
1119
+ "notNull": false,
1120
+ "autoincrement": false,
1121
+ "default": null,
1122
+ "generated": null,
1123
+ "name": "created_by",
1124
+ "entityType": "columns",
1125
+ "table": "manifest_entries"
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "notNull": true,
1130
+ "autoincrement": false,
1131
+ "default": "(datetime('now'))",
1132
+ "generated": null,
1133
+ "name": "created_at",
1134
+ "entityType": "columns",
1135
+ "table": "manifest_entries"
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "notNull": false,
1140
+ "autoincrement": false,
1141
+ "default": null,
1142
+ "generated": null,
1143
+ "name": "id",
1144
+ "entityType": "columns",
1145
+ "table": "pipeline_manifest"
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "notNull": false,
1150
+ "autoincrement": false,
1151
+ "default": null,
1152
+ "generated": null,
1153
+ "name": "session_id",
1154
+ "entityType": "columns",
1155
+ "table": "pipeline_manifest"
1156
+ },
1157
+ {
1158
+ "type": "text",
1159
+ "notNull": false,
1160
+ "autoincrement": false,
1161
+ "default": null,
1162
+ "generated": null,
1163
+ "name": "task_id",
1164
+ "entityType": "columns",
1165
+ "table": "pipeline_manifest"
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "notNull": false,
1170
+ "autoincrement": false,
1171
+ "default": null,
1172
+ "generated": null,
1173
+ "name": "epic_id",
1174
+ "entityType": "columns",
1175
+ "table": "pipeline_manifest"
1176
+ },
1177
+ {
1178
+ "type": "text",
1179
+ "notNull": true,
1180
+ "autoincrement": false,
1181
+ "default": null,
1182
+ "generated": null,
1183
+ "name": "type",
1184
+ "entityType": "columns",
1185
+ "table": "pipeline_manifest"
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "notNull": true,
1190
+ "autoincrement": false,
1191
+ "default": null,
1192
+ "generated": null,
1193
+ "name": "content",
1194
+ "entityType": "columns",
1195
+ "table": "pipeline_manifest"
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "notNull": false,
1200
+ "autoincrement": false,
1201
+ "default": null,
1202
+ "generated": null,
1203
+ "name": "content_hash",
1204
+ "entityType": "columns",
1205
+ "table": "pipeline_manifest"
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "notNull": true,
1210
+ "autoincrement": false,
1211
+ "default": "'active'",
1212
+ "generated": null,
1213
+ "name": "status",
1214
+ "entityType": "columns",
1215
+ "table": "pipeline_manifest"
1216
+ },
1217
+ {
1218
+ "type": "integer",
1219
+ "notNull": true,
1220
+ "autoincrement": false,
1221
+ "default": "false",
1222
+ "generated": null,
1223
+ "name": "distilled",
1224
+ "entityType": "columns",
1225
+ "table": "pipeline_manifest"
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "notNull": false,
1230
+ "autoincrement": false,
1231
+ "default": null,
1232
+ "generated": null,
1233
+ "name": "brain_obs_id",
1234
+ "entityType": "columns",
1235
+ "table": "pipeline_manifest"
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "notNull": false,
1240
+ "autoincrement": false,
1241
+ "default": null,
1242
+ "generated": null,
1243
+ "name": "source_file",
1244
+ "entityType": "columns",
1245
+ "table": "pipeline_manifest"
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "notNull": false,
1250
+ "autoincrement": false,
1251
+ "default": null,
1252
+ "generated": null,
1253
+ "name": "metadata_json",
1254
+ "entityType": "columns",
1255
+ "table": "pipeline_manifest"
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "notNull": true,
1260
+ "autoincrement": false,
1261
+ "default": null,
1262
+ "generated": null,
1263
+ "name": "created_at",
1264
+ "entityType": "columns",
1265
+ "table": "pipeline_manifest"
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "notNull": false,
1270
+ "autoincrement": false,
1271
+ "default": null,
1272
+ "generated": null,
1273
+ "name": "archived_at",
1274
+ "entityType": "columns",
1275
+ "table": "pipeline_manifest"
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "notNull": false,
1280
+ "autoincrement": false,
1281
+ "default": null,
1282
+ "generated": null,
1283
+ "name": "id",
1284
+ "entityType": "columns",
1285
+ "table": "release_manifests"
1286
+ },
1287
+ {
1288
+ "type": "text",
1289
+ "notNull": true,
1290
+ "autoincrement": false,
1291
+ "default": null,
1292
+ "generated": null,
1293
+ "name": "version",
1294
+ "entityType": "columns",
1295
+ "table": "release_manifests"
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "notNull": true,
1300
+ "autoincrement": false,
1301
+ "default": "'draft'",
1302
+ "generated": null,
1303
+ "name": "status",
1304
+ "entityType": "columns",
1305
+ "table": "release_manifests"
1306
+ },
1307
+ {
1308
+ "type": "text",
1309
+ "notNull": false,
1310
+ "autoincrement": false,
1311
+ "default": null,
1312
+ "generated": null,
1313
+ "name": "pipeline_id",
1314
+ "entityType": "columns",
1315
+ "table": "release_manifests"
1316
+ },
1317
+ {
1318
+ "type": "text",
1319
+ "notNull": false,
1320
+ "autoincrement": false,
1321
+ "default": null,
1322
+ "generated": null,
1323
+ "name": "epic_id",
1324
+ "entityType": "columns",
1325
+ "table": "release_manifests"
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "notNull": true,
1330
+ "autoincrement": false,
1331
+ "default": "'[]'",
1332
+ "generated": null,
1333
+ "name": "tasks_json",
1334
+ "entityType": "columns",
1335
+ "table": "release_manifests"
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "notNull": false,
1340
+ "autoincrement": false,
1341
+ "default": null,
1342
+ "generated": null,
1343
+ "name": "changelog",
1344
+ "entityType": "columns",
1345
+ "table": "release_manifests"
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "notNull": false,
1350
+ "autoincrement": false,
1351
+ "default": null,
1352
+ "generated": null,
1353
+ "name": "notes",
1354
+ "entityType": "columns",
1355
+ "table": "release_manifests"
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "notNull": false,
1360
+ "autoincrement": false,
1361
+ "default": null,
1362
+ "generated": null,
1363
+ "name": "previous_version",
1364
+ "entityType": "columns",
1365
+ "table": "release_manifests"
1366
+ },
1367
+ {
1368
+ "type": "text",
1369
+ "notNull": false,
1370
+ "autoincrement": false,
1371
+ "default": null,
1372
+ "generated": null,
1373
+ "name": "commit_sha",
1374
+ "entityType": "columns",
1375
+ "table": "release_manifests"
1376
+ },
1377
+ {
1378
+ "type": "text",
1379
+ "notNull": false,
1380
+ "autoincrement": false,
1381
+ "default": null,
1382
+ "generated": null,
1383
+ "name": "git_tag",
1384
+ "entityType": "columns",
1385
+ "table": "release_manifests"
1386
+ },
1387
+ {
1388
+ "type": "text",
1389
+ "notNull": false,
1390
+ "autoincrement": false,
1391
+ "default": null,
1392
+ "generated": null,
1393
+ "name": "npm_dist_tag",
1394
+ "entityType": "columns",
1395
+ "table": "release_manifests"
1396
+ },
1397
+ {
1398
+ "type": "text",
1399
+ "notNull": true,
1400
+ "autoincrement": false,
1401
+ "default": null,
1402
+ "generated": null,
1403
+ "name": "created_at",
1404
+ "entityType": "columns",
1405
+ "table": "release_manifests"
1406
+ },
1407
+ {
1408
+ "type": "text",
1409
+ "notNull": false,
1410
+ "autoincrement": false,
1411
+ "default": null,
1412
+ "generated": null,
1413
+ "name": "prepared_at",
1414
+ "entityType": "columns",
1415
+ "table": "release_manifests"
1416
+ },
1417
+ {
1418
+ "type": "text",
1419
+ "notNull": false,
1420
+ "autoincrement": false,
1421
+ "default": null,
1422
+ "generated": null,
1423
+ "name": "committed_at",
1424
+ "entityType": "columns",
1425
+ "table": "release_manifests"
1426
+ },
1427
+ {
1428
+ "type": "text",
1429
+ "notNull": false,
1430
+ "autoincrement": false,
1431
+ "default": null,
1432
+ "generated": null,
1433
+ "name": "tagged_at",
1434
+ "entityType": "columns",
1435
+ "table": "release_manifests"
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "notNull": false,
1440
+ "autoincrement": false,
1441
+ "default": null,
1442
+ "generated": null,
1443
+ "name": "pushed_at",
1444
+ "entityType": "columns",
1445
+ "table": "release_manifests"
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "notNull": false,
1450
+ "autoincrement": false,
1451
+ "default": null,
1452
+ "generated": null,
1453
+ "name": "key",
1454
+ "entityType": "columns",
1455
+ "table": "schema_meta"
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "notNull": true,
1460
+ "autoincrement": false,
1461
+ "default": null,
1462
+ "generated": null,
1463
+ "name": "value",
1464
+ "entityType": "columns",
1465
+ "table": "schema_meta"
1466
+ },
1467
+ {
1468
+ "type": "text",
1469
+ "notNull": false,
1470
+ "autoincrement": false,
1471
+ "default": null,
1472
+ "generated": null,
1473
+ "name": "id",
1474
+ "entityType": "columns",
1475
+ "table": "sessions"
1476
+ },
1477
+ {
1478
+ "type": "text",
1479
+ "notNull": true,
1480
+ "autoincrement": false,
1481
+ "default": null,
1482
+ "generated": null,
1483
+ "name": "name",
1484
+ "entityType": "columns",
1485
+ "table": "sessions"
1486
+ },
1487
+ {
1488
+ "type": "text",
1489
+ "notNull": true,
1490
+ "autoincrement": false,
1491
+ "default": "'active'",
1492
+ "generated": null,
1493
+ "name": "status",
1494
+ "entityType": "columns",
1495
+ "table": "sessions"
1496
+ },
1497
+ {
1498
+ "type": "text",
1499
+ "notNull": true,
1500
+ "autoincrement": false,
1501
+ "default": "'{}'",
1502
+ "generated": null,
1503
+ "name": "scope_json",
1504
+ "entityType": "columns",
1505
+ "table": "sessions"
1506
+ },
1507
+ {
1508
+ "type": "text",
1509
+ "notNull": false,
1510
+ "autoincrement": false,
1511
+ "default": null,
1512
+ "generated": null,
1513
+ "name": "current_task",
1514
+ "entityType": "columns",
1515
+ "table": "sessions"
1516
+ },
1517
+ {
1518
+ "type": "text",
1519
+ "notNull": false,
1520
+ "autoincrement": false,
1521
+ "default": null,
1522
+ "generated": null,
1523
+ "name": "task_started_at",
1524
+ "entityType": "columns",
1525
+ "table": "sessions"
1526
+ },
1527
+ {
1528
+ "type": "text",
1529
+ "notNull": false,
1530
+ "autoincrement": false,
1531
+ "default": null,
1532
+ "generated": null,
1533
+ "name": "agent",
1534
+ "entityType": "columns",
1535
+ "table": "sessions"
1536
+ },
1537
+ {
1538
+ "type": "text",
1539
+ "notNull": false,
1540
+ "autoincrement": false,
1541
+ "default": "'[]'",
1542
+ "generated": null,
1543
+ "name": "notes_json",
1544
+ "entityType": "columns",
1545
+ "table": "sessions"
1546
+ },
1547
+ {
1548
+ "type": "text",
1549
+ "notNull": false,
1550
+ "autoincrement": false,
1551
+ "default": "'[]'",
1552
+ "generated": null,
1553
+ "name": "tasks_completed_json",
1554
+ "entityType": "columns",
1555
+ "table": "sessions"
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "notNull": false,
1560
+ "autoincrement": false,
1561
+ "default": "'[]'",
1562
+ "generated": null,
1563
+ "name": "tasks_created_json",
1564
+ "entityType": "columns",
1565
+ "table": "sessions"
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "notNull": false,
1570
+ "autoincrement": false,
1571
+ "default": null,
1572
+ "generated": null,
1573
+ "name": "handoff_json",
1574
+ "entityType": "columns",
1575
+ "table": "sessions"
1576
+ },
1577
+ {
1578
+ "type": "text",
1579
+ "notNull": true,
1580
+ "autoincrement": false,
1581
+ "default": "(datetime('now'))",
1582
+ "generated": null,
1583
+ "name": "started_at",
1584
+ "entityType": "columns",
1585
+ "table": "sessions"
1586
+ },
1587
+ {
1588
+ "type": "text",
1589
+ "notNull": false,
1590
+ "autoincrement": false,
1591
+ "default": null,
1592
+ "generated": null,
1593
+ "name": "ended_at",
1594
+ "entityType": "columns",
1595
+ "table": "sessions"
1596
+ },
1597
+ {
1598
+ "type": "text",
1599
+ "notNull": false,
1600
+ "autoincrement": false,
1601
+ "default": null,
1602
+ "generated": null,
1603
+ "name": "previous_session_id",
1604
+ "entityType": "columns",
1605
+ "table": "sessions"
1606
+ },
1607
+ {
1608
+ "type": "text",
1609
+ "notNull": false,
1610
+ "autoincrement": false,
1611
+ "default": null,
1612
+ "generated": null,
1613
+ "name": "next_session_id",
1614
+ "entityType": "columns",
1615
+ "table": "sessions"
1616
+ },
1617
+ {
1618
+ "type": "text",
1619
+ "notNull": false,
1620
+ "autoincrement": false,
1621
+ "default": null,
1622
+ "generated": null,
1623
+ "name": "agent_identifier",
1624
+ "entityType": "columns",
1625
+ "table": "sessions"
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "notNull": false,
1630
+ "autoincrement": false,
1631
+ "default": null,
1632
+ "generated": null,
1633
+ "name": "handoff_consumed_at",
1634
+ "entityType": "columns",
1635
+ "table": "sessions"
1636
+ },
1637
+ {
1638
+ "type": "text",
1639
+ "notNull": false,
1640
+ "autoincrement": false,
1641
+ "default": null,
1642
+ "generated": null,
1643
+ "name": "handoff_consumed_by",
1644
+ "entityType": "columns",
1645
+ "table": "sessions"
1646
+ },
1647
+ {
1648
+ "type": "text",
1649
+ "notNull": false,
1650
+ "autoincrement": false,
1651
+ "default": null,
1652
+ "generated": null,
1653
+ "name": "debrief_json",
1654
+ "entityType": "columns",
1655
+ "table": "sessions"
1656
+ },
1657
+ {
1658
+ "type": "text",
1659
+ "notNull": false,
1660
+ "autoincrement": false,
1661
+ "default": null,
1662
+ "generated": null,
1663
+ "name": "stats_json",
1664
+ "entityType": "columns",
1665
+ "table": "sessions"
1666
+ },
1667
+ {
1668
+ "type": "integer",
1669
+ "notNull": false,
1670
+ "autoincrement": false,
1671
+ "default": null,
1672
+ "generated": null,
1673
+ "name": "resume_count",
1674
+ "entityType": "columns",
1675
+ "table": "sessions"
1676
+ },
1677
+ {
1678
+ "type": "integer",
1679
+ "notNull": false,
1680
+ "autoincrement": false,
1681
+ "default": null,
1682
+ "generated": null,
1683
+ "name": "grade_mode",
1684
+ "entityType": "columns",
1685
+ "table": "sessions"
1686
+ },
1687
+ {
1688
+ "type": "text",
1689
+ "notNull": true,
1690
+ "autoincrement": false,
1691
+ "default": null,
1692
+ "generated": null,
1693
+ "name": "name",
1694
+ "entityType": "columns",
1695
+ "table": "status_registry"
1696
+ },
1697
+ {
1698
+ "type": "text",
1699
+ "notNull": true,
1700
+ "autoincrement": false,
1701
+ "default": null,
1702
+ "generated": null,
1703
+ "name": "entity_type",
1704
+ "entityType": "columns",
1705
+ "table": "status_registry"
1706
+ },
1707
+ {
1708
+ "type": "text",
1709
+ "notNull": true,
1710
+ "autoincrement": false,
1711
+ "default": null,
1712
+ "generated": null,
1713
+ "name": "namespace",
1714
+ "entityType": "columns",
1715
+ "table": "status_registry"
1716
+ },
1717
+ {
1718
+ "type": "text",
1719
+ "notNull": true,
1720
+ "autoincrement": false,
1721
+ "default": null,
1722
+ "generated": null,
1723
+ "name": "description",
1724
+ "entityType": "columns",
1725
+ "table": "status_registry"
1726
+ },
1727
+ {
1728
+ "type": "integer",
1729
+ "notNull": true,
1730
+ "autoincrement": false,
1731
+ "default": "false",
1732
+ "generated": null,
1733
+ "name": "is_terminal",
1734
+ "entityType": "columns",
1735
+ "table": "status_registry"
1736
+ },
1737
+ {
1738
+ "type": "text",
1739
+ "notNull": true,
1740
+ "autoincrement": false,
1741
+ "default": null,
1742
+ "generated": null,
1743
+ "name": "task_id",
1744
+ "entityType": "columns",
1745
+ "table": "task_dependencies"
1746
+ },
1747
+ {
1748
+ "type": "text",
1749
+ "notNull": true,
1750
+ "autoincrement": false,
1751
+ "default": null,
1752
+ "generated": null,
1753
+ "name": "depends_on",
1754
+ "entityType": "columns",
1755
+ "table": "task_dependencies"
1756
+ },
1757
+ {
1758
+ "type": "text",
1759
+ "notNull": true,
1760
+ "autoincrement": false,
1761
+ "default": null,
1762
+ "generated": null,
1763
+ "name": "task_id",
1764
+ "entityType": "columns",
1765
+ "table": "task_relations"
1766
+ },
1767
+ {
1768
+ "type": "text",
1769
+ "notNull": true,
1770
+ "autoincrement": false,
1771
+ "default": null,
1772
+ "generated": null,
1773
+ "name": "related_to",
1774
+ "entityType": "columns",
1775
+ "table": "task_relations"
1776
+ },
1777
+ {
1778
+ "type": "text",
1779
+ "notNull": true,
1780
+ "autoincrement": false,
1781
+ "default": "'related'",
1782
+ "generated": null,
1783
+ "name": "relation_type",
1784
+ "entityType": "columns",
1785
+ "table": "task_relations"
1786
+ },
1787
+ {
1788
+ "type": "text",
1789
+ "notNull": false,
1790
+ "autoincrement": false,
1791
+ "default": null,
1792
+ "generated": null,
1793
+ "name": "reason",
1794
+ "entityType": "columns",
1795
+ "table": "task_relations"
1796
+ },
1797
+ {
1798
+ "type": "integer",
1799
+ "notNull": false,
1800
+ "autoincrement": true,
1801
+ "default": null,
1802
+ "generated": null,
1803
+ "name": "id",
1804
+ "entityType": "columns",
1805
+ "table": "task_work_history"
1806
+ },
1807
+ {
1808
+ "type": "text",
1809
+ "notNull": true,
1810
+ "autoincrement": false,
1811
+ "default": null,
1812
+ "generated": null,
1813
+ "name": "session_id",
1814
+ "entityType": "columns",
1815
+ "table": "task_work_history"
1816
+ },
1817
+ {
1818
+ "type": "text",
1819
+ "notNull": true,
1820
+ "autoincrement": false,
1821
+ "default": null,
1822
+ "generated": null,
1823
+ "name": "task_id",
1824
+ "entityType": "columns",
1825
+ "table": "task_work_history"
1826
+ },
1827
+ {
1828
+ "type": "text",
1829
+ "notNull": true,
1830
+ "autoincrement": false,
1831
+ "default": "(datetime('now'))",
1832
+ "generated": null,
1833
+ "name": "set_at",
1834
+ "entityType": "columns",
1835
+ "table": "task_work_history"
1836
+ },
1837
+ {
1838
+ "type": "text",
1839
+ "notNull": false,
1840
+ "autoincrement": false,
1841
+ "default": null,
1842
+ "generated": null,
1843
+ "name": "cleared_at",
1844
+ "entityType": "columns",
1845
+ "table": "task_work_history"
1846
+ },
1847
+ {
1848
+ "type": "text",
1849
+ "notNull": false,
1850
+ "autoincrement": false,
1851
+ "default": null,
1852
+ "generated": null,
1853
+ "name": "id",
1854
+ "entityType": "columns",
1855
+ "table": "tasks"
1856
+ },
1857
+ {
1858
+ "type": "text",
1859
+ "notNull": true,
1860
+ "autoincrement": false,
1861
+ "default": null,
1862
+ "generated": null,
1863
+ "name": "title",
1864
+ "entityType": "columns",
1865
+ "table": "tasks"
1866
+ },
1867
+ {
1868
+ "type": "text",
1869
+ "notNull": false,
1870
+ "autoincrement": false,
1871
+ "default": null,
1872
+ "generated": null,
1873
+ "name": "description",
1874
+ "entityType": "columns",
1875
+ "table": "tasks"
1876
+ },
1877
+ {
1878
+ "type": "text",
1879
+ "notNull": true,
1880
+ "autoincrement": false,
1881
+ "default": "'pending'",
1882
+ "generated": null,
1883
+ "name": "status",
1884
+ "entityType": "columns",
1885
+ "table": "tasks"
1886
+ },
1887
+ {
1888
+ "type": "text",
1889
+ "notNull": true,
1890
+ "autoincrement": false,
1891
+ "default": "'medium'",
1892
+ "generated": null,
1893
+ "name": "priority",
1894
+ "entityType": "columns",
1895
+ "table": "tasks"
1896
+ },
1897
+ {
1898
+ "type": "text",
1899
+ "notNull": false,
1900
+ "autoincrement": false,
1901
+ "default": null,
1902
+ "generated": null,
1903
+ "name": "type",
1904
+ "entityType": "columns",
1905
+ "table": "tasks"
1906
+ },
1907
+ {
1908
+ "type": "text",
1909
+ "notNull": false,
1910
+ "autoincrement": false,
1911
+ "default": null,
1912
+ "generated": null,
1913
+ "name": "parent_id",
1914
+ "entityType": "columns",
1915
+ "table": "tasks"
1916
+ },
1917
+ {
1918
+ "type": "text",
1919
+ "notNull": false,
1920
+ "autoincrement": false,
1921
+ "default": null,
1922
+ "generated": null,
1923
+ "name": "phase",
1924
+ "entityType": "columns",
1925
+ "table": "tasks"
1926
+ },
1927
+ {
1928
+ "type": "text",
1929
+ "notNull": false,
1930
+ "autoincrement": false,
1931
+ "default": null,
1932
+ "generated": null,
1933
+ "name": "size",
1934
+ "entityType": "columns",
1935
+ "table": "tasks"
1936
+ },
1937
+ {
1938
+ "type": "integer",
1939
+ "notNull": false,
1940
+ "autoincrement": false,
1941
+ "default": null,
1942
+ "generated": null,
1943
+ "name": "position",
1944
+ "entityType": "columns",
1945
+ "table": "tasks"
1946
+ },
1947
+ {
1948
+ "type": "integer",
1949
+ "notNull": false,
1950
+ "autoincrement": false,
1951
+ "default": "0",
1952
+ "generated": null,
1953
+ "name": "position_version",
1954
+ "entityType": "columns",
1955
+ "table": "tasks"
1956
+ },
1957
+ {
1958
+ "type": "text",
1959
+ "notNull": false,
1960
+ "autoincrement": false,
1961
+ "default": "'[]'",
1962
+ "generated": null,
1963
+ "name": "labels_json",
1964
+ "entityType": "columns",
1965
+ "table": "tasks"
1966
+ },
1967
+ {
1968
+ "type": "text",
1969
+ "notNull": false,
1970
+ "autoincrement": false,
1971
+ "default": "'[]'",
1972
+ "generated": null,
1973
+ "name": "notes_json",
1974
+ "entityType": "columns",
1975
+ "table": "tasks"
1976
+ },
1977
+ {
1978
+ "type": "text",
1979
+ "notNull": false,
1980
+ "autoincrement": false,
1981
+ "default": "'[]'",
1982
+ "generated": null,
1983
+ "name": "acceptance_json",
1984
+ "entityType": "columns",
1985
+ "table": "tasks"
1986
+ },
1987
+ {
1988
+ "type": "text",
1989
+ "notNull": false,
1990
+ "autoincrement": false,
1991
+ "default": "'[]'",
1992
+ "generated": null,
1993
+ "name": "files_json",
1994
+ "entityType": "columns",
1995
+ "table": "tasks"
1996
+ },
1997
+ {
1998
+ "type": "text",
1999
+ "notNull": false,
2000
+ "autoincrement": false,
2001
+ "default": null,
2002
+ "generated": null,
2003
+ "name": "origin",
2004
+ "entityType": "columns",
2005
+ "table": "tasks"
2006
+ },
2007
+ {
2008
+ "type": "text",
2009
+ "notNull": false,
2010
+ "autoincrement": false,
2011
+ "default": null,
2012
+ "generated": null,
2013
+ "name": "blocked_by",
2014
+ "entityType": "columns",
2015
+ "table": "tasks"
2016
+ },
2017
+ {
2018
+ "type": "text",
2019
+ "notNull": false,
2020
+ "autoincrement": false,
2021
+ "default": null,
2022
+ "generated": null,
2023
+ "name": "epic_lifecycle",
2024
+ "entityType": "columns",
2025
+ "table": "tasks"
2026
+ },
2027
+ {
2028
+ "type": "integer",
2029
+ "notNull": false,
2030
+ "autoincrement": false,
2031
+ "default": null,
2032
+ "generated": null,
2033
+ "name": "no_auto_complete",
2034
+ "entityType": "columns",
2035
+ "table": "tasks"
2036
+ },
2037
+ {
2038
+ "type": "text",
2039
+ "notNull": true,
2040
+ "autoincrement": false,
2041
+ "default": "(datetime('now'))",
2042
+ "generated": null,
2043
+ "name": "created_at",
2044
+ "entityType": "columns",
2045
+ "table": "tasks"
2046
+ },
2047
+ {
2048
+ "type": "text",
2049
+ "notNull": false,
2050
+ "autoincrement": false,
2051
+ "default": null,
2052
+ "generated": null,
2053
+ "name": "updated_at",
2054
+ "entityType": "columns",
2055
+ "table": "tasks"
2056
+ },
2057
+ {
2058
+ "type": "text",
2059
+ "notNull": false,
2060
+ "autoincrement": false,
2061
+ "default": null,
2062
+ "generated": null,
2063
+ "name": "completed_at",
2064
+ "entityType": "columns",
2065
+ "table": "tasks"
2066
+ },
2067
+ {
2068
+ "type": "text",
2069
+ "notNull": false,
2070
+ "autoincrement": false,
2071
+ "default": null,
2072
+ "generated": null,
2073
+ "name": "cancelled_at",
2074
+ "entityType": "columns",
2075
+ "table": "tasks"
2076
+ },
2077
+ {
2078
+ "type": "text",
2079
+ "notNull": false,
2080
+ "autoincrement": false,
2081
+ "default": null,
2082
+ "generated": null,
2083
+ "name": "cancellation_reason",
2084
+ "entityType": "columns",
2085
+ "table": "tasks"
2086
+ },
2087
+ {
2088
+ "type": "text",
2089
+ "notNull": false,
2090
+ "autoincrement": false,
2091
+ "default": null,
2092
+ "generated": null,
2093
+ "name": "archived_at",
2094
+ "entityType": "columns",
2095
+ "table": "tasks"
2096
+ },
2097
+ {
2098
+ "type": "text",
2099
+ "notNull": false,
2100
+ "autoincrement": false,
2101
+ "default": null,
2102
+ "generated": null,
2103
+ "name": "archive_reason",
2104
+ "entityType": "columns",
2105
+ "table": "tasks"
2106
+ },
2107
+ {
2108
+ "type": "integer",
2109
+ "notNull": false,
2110
+ "autoincrement": false,
2111
+ "default": null,
2112
+ "generated": null,
2113
+ "name": "cycle_time_days",
2114
+ "entityType": "columns",
2115
+ "table": "tasks"
2116
+ },
2117
+ {
2118
+ "type": "text",
2119
+ "notNull": false,
2120
+ "autoincrement": false,
2121
+ "default": null,
2122
+ "generated": null,
2123
+ "name": "verification_json",
2124
+ "entityType": "columns",
2125
+ "table": "tasks"
2126
+ },
2127
+ {
2128
+ "type": "text",
2129
+ "notNull": false,
2130
+ "autoincrement": false,
2131
+ "default": null,
2132
+ "generated": null,
2133
+ "name": "created_by",
2134
+ "entityType": "columns",
2135
+ "table": "tasks"
2136
+ },
2137
+ {
2138
+ "type": "text",
2139
+ "notNull": false,
2140
+ "autoincrement": false,
2141
+ "default": null,
2142
+ "generated": null,
2143
+ "name": "modified_by",
2144
+ "entityType": "columns",
2145
+ "table": "tasks"
2146
+ },
2147
+ {
2148
+ "type": "text",
2149
+ "notNull": false,
2150
+ "autoincrement": false,
2151
+ "default": null,
2152
+ "generated": null,
2153
+ "name": "session_id",
2154
+ "entityType": "columns",
2155
+ "table": "tasks"
2156
+ },
2157
+ {
2158
+ "type": "text",
2159
+ "notNull": false,
2160
+ "autoincrement": false,
2161
+ "default": null,
2162
+ "generated": null,
2163
+ "name": "id",
2164
+ "entityType": "columns",
2165
+ "table": "token_usage"
2166
+ },
2167
+ {
2168
+ "type": "text",
2169
+ "notNull": true,
2170
+ "autoincrement": false,
2171
+ "default": "(datetime('now'))",
2172
+ "generated": null,
2173
+ "name": "created_at",
2174
+ "entityType": "columns",
2175
+ "table": "token_usage"
2176
+ },
2177
+ {
2178
+ "type": "text",
2179
+ "notNull": true,
2180
+ "autoincrement": false,
2181
+ "default": "'unknown'",
2182
+ "generated": null,
2183
+ "name": "provider",
2184
+ "entityType": "columns",
2185
+ "table": "token_usage"
2186
+ },
2187
+ {
2188
+ "type": "text",
2189
+ "notNull": false,
2190
+ "autoincrement": false,
2191
+ "default": null,
2192
+ "generated": null,
2193
+ "name": "model",
2194
+ "entityType": "columns",
2195
+ "table": "token_usage"
2196
+ },
2197
+ {
2198
+ "type": "text",
2199
+ "notNull": true,
2200
+ "autoincrement": false,
2201
+ "default": "'unknown'",
2202
+ "generated": null,
2203
+ "name": "transport",
2204
+ "entityType": "columns",
2205
+ "table": "token_usage"
2206
+ },
2207
+ {
2208
+ "type": "text",
2209
+ "notNull": false,
2210
+ "autoincrement": false,
2211
+ "default": null,
2212
+ "generated": null,
2213
+ "name": "gateway",
2214
+ "entityType": "columns",
2215
+ "table": "token_usage"
2216
+ },
2217
+ {
2218
+ "type": "text",
2219
+ "notNull": false,
2220
+ "autoincrement": false,
2221
+ "default": null,
2222
+ "generated": null,
2223
+ "name": "domain",
2224
+ "entityType": "columns",
2225
+ "table": "token_usage"
2226
+ },
2227
+ {
2228
+ "type": "text",
2229
+ "notNull": false,
2230
+ "autoincrement": false,
2231
+ "default": null,
2232
+ "generated": null,
2233
+ "name": "operation",
2234
+ "entityType": "columns",
2235
+ "table": "token_usage"
2236
+ },
2237
+ {
2238
+ "type": "text",
2239
+ "notNull": false,
2240
+ "autoincrement": false,
2241
+ "default": null,
2242
+ "generated": null,
2243
+ "name": "session_id",
2244
+ "entityType": "columns",
2245
+ "table": "token_usage"
2246
+ },
2247
+ {
2248
+ "type": "text",
2249
+ "notNull": false,
2250
+ "autoincrement": false,
2251
+ "default": null,
2252
+ "generated": null,
2253
+ "name": "task_id",
2254
+ "entityType": "columns",
2255
+ "table": "token_usage"
2256
+ },
2257
+ {
2258
+ "type": "text",
2259
+ "notNull": false,
2260
+ "autoincrement": false,
2261
+ "default": null,
2262
+ "generated": null,
2263
+ "name": "request_id",
2264
+ "entityType": "columns",
2265
+ "table": "token_usage"
2266
+ },
2267
+ {
2268
+ "type": "integer",
2269
+ "notNull": true,
2270
+ "autoincrement": false,
2271
+ "default": "0",
2272
+ "generated": null,
2273
+ "name": "input_chars",
2274
+ "entityType": "columns",
2275
+ "table": "token_usage"
2276
+ },
2277
+ {
2278
+ "type": "integer",
2279
+ "notNull": true,
2280
+ "autoincrement": false,
2281
+ "default": "0",
2282
+ "generated": null,
2283
+ "name": "output_chars",
2284
+ "entityType": "columns",
2285
+ "table": "token_usage"
2286
+ },
2287
+ {
2288
+ "type": "integer",
2289
+ "notNull": true,
2290
+ "autoincrement": false,
2291
+ "default": "0",
2292
+ "generated": null,
2293
+ "name": "input_tokens",
2294
+ "entityType": "columns",
2295
+ "table": "token_usage"
2296
+ },
2297
+ {
2298
+ "type": "integer",
2299
+ "notNull": true,
2300
+ "autoincrement": false,
2301
+ "default": "0",
2302
+ "generated": null,
2303
+ "name": "output_tokens",
2304
+ "entityType": "columns",
2305
+ "table": "token_usage"
2306
+ },
2307
+ {
2308
+ "type": "integer",
2309
+ "notNull": true,
2310
+ "autoincrement": false,
2311
+ "default": "0",
2312
+ "generated": null,
2313
+ "name": "total_tokens",
2314
+ "entityType": "columns",
2315
+ "table": "token_usage"
2316
+ },
2317
+ {
2318
+ "type": "text",
2319
+ "notNull": true,
2320
+ "autoincrement": false,
2321
+ "default": "'heuristic'",
2322
+ "generated": null,
2323
+ "name": "method",
2324
+ "entityType": "columns",
2325
+ "table": "token_usage"
2326
+ },
2327
+ {
2328
+ "type": "text",
2329
+ "notNull": true,
2330
+ "autoincrement": false,
2331
+ "default": "'coarse'",
2332
+ "generated": null,
2333
+ "name": "confidence",
2334
+ "entityType": "columns",
2335
+ "table": "token_usage"
2336
+ },
2337
+ {
2338
+ "type": "text",
2339
+ "notNull": false,
2340
+ "autoincrement": false,
2341
+ "default": null,
2342
+ "generated": null,
2343
+ "name": "request_hash",
2344
+ "entityType": "columns",
2345
+ "table": "token_usage"
2346
+ },
2347
+ {
2348
+ "type": "text",
2349
+ "notNull": false,
2350
+ "autoincrement": false,
2351
+ "default": null,
2352
+ "generated": null,
2353
+ "name": "response_hash",
2354
+ "entityType": "columns",
2355
+ "table": "token_usage"
2356
+ },
2357
+ {
2358
+ "type": "text",
2359
+ "notNull": true,
2360
+ "autoincrement": false,
2361
+ "default": "'{}'",
2362
+ "generated": null,
2363
+ "name": "metadata_json",
2364
+ "entityType": "columns",
2365
+ "table": "token_usage"
2366
+ },
2367
+ {
2368
+ "type": "text",
2369
+ "notNull": false,
2370
+ "autoincrement": false,
2371
+ "default": null,
2372
+ "generated": null,
2373
+ "name": "id",
2374
+ "entityType": "columns",
2375
+ "table": "warp_chain_instances"
2376
+ },
2377
+ {
2378
+ "type": "text",
2379
+ "notNull": true,
2380
+ "autoincrement": false,
2381
+ "default": null,
2382
+ "generated": null,
2383
+ "name": "chain_id",
2384
+ "entityType": "columns",
2385
+ "table": "warp_chain_instances"
2386
+ },
2387
+ {
2388
+ "type": "text",
2389
+ "notNull": true,
2390
+ "autoincrement": false,
2391
+ "default": null,
2392
+ "generated": null,
2393
+ "name": "epic_id",
2394
+ "entityType": "columns",
2395
+ "table": "warp_chain_instances"
2396
+ },
2397
+ {
2398
+ "type": "text",
2399
+ "notNull": false,
2400
+ "autoincrement": false,
2401
+ "default": null,
2402
+ "generated": null,
2403
+ "name": "variables",
2404
+ "entityType": "columns",
2405
+ "table": "warp_chain_instances"
2406
+ },
2407
+ {
2408
+ "type": "text",
2409
+ "notNull": false,
2410
+ "autoincrement": false,
2411
+ "default": null,
2412
+ "generated": null,
2413
+ "name": "stage_to_task",
2414
+ "entityType": "columns",
2415
+ "table": "warp_chain_instances"
2416
+ },
2417
+ {
2418
+ "type": "text",
2419
+ "notNull": true,
2420
+ "autoincrement": false,
2421
+ "default": "'pending'",
2422
+ "generated": null,
2423
+ "name": "status",
2424
+ "entityType": "columns",
2425
+ "table": "warp_chain_instances"
2426
+ },
2427
+ {
2428
+ "type": "text",
2429
+ "notNull": false,
2430
+ "autoincrement": false,
2431
+ "default": null,
2432
+ "generated": null,
2433
+ "name": "current_stage",
2434
+ "entityType": "columns",
2435
+ "table": "warp_chain_instances"
2436
+ },
2437
+ {
2438
+ "type": "text",
2439
+ "notNull": false,
2440
+ "autoincrement": false,
2441
+ "default": null,
2442
+ "generated": null,
2443
+ "name": "gate_results",
2444
+ "entityType": "columns",
2445
+ "table": "warp_chain_instances"
2446
+ },
2447
+ {
2448
+ "type": "text",
2449
+ "notNull": false,
2450
+ "autoincrement": false,
2451
+ "default": "(datetime('now'))",
2452
+ "generated": null,
2453
+ "name": "created_at",
2454
+ "entityType": "columns",
2455
+ "table": "warp_chain_instances"
2456
+ },
2457
+ {
2458
+ "type": "text",
2459
+ "notNull": false,
2460
+ "autoincrement": false,
2461
+ "default": "(datetime('now'))",
2462
+ "generated": null,
2463
+ "name": "updated_at",
2464
+ "entityType": "columns",
2465
+ "table": "warp_chain_instances"
2466
+ },
2467
+ {
2468
+ "type": "text",
2469
+ "notNull": false,
2470
+ "autoincrement": false,
2471
+ "default": null,
2472
+ "generated": null,
2473
+ "name": "id",
2474
+ "entityType": "columns",
2475
+ "table": "warp_chains"
2476
+ },
2477
+ {
2478
+ "type": "text",
2479
+ "notNull": true,
2480
+ "autoincrement": false,
2481
+ "default": null,
2482
+ "generated": null,
2483
+ "name": "name",
2484
+ "entityType": "columns",
2485
+ "table": "warp_chains"
2486
+ },
2487
+ {
2488
+ "type": "text",
2489
+ "notNull": true,
2490
+ "autoincrement": false,
2491
+ "default": null,
2492
+ "generated": null,
2493
+ "name": "version",
2494
+ "entityType": "columns",
2495
+ "table": "warp_chains"
2496
+ },
2497
+ {
2498
+ "type": "text",
2499
+ "notNull": false,
2500
+ "autoincrement": false,
2501
+ "default": null,
2502
+ "generated": null,
2503
+ "name": "description",
2504
+ "entityType": "columns",
2505
+ "table": "warp_chains"
2506
+ },
2507
+ {
2508
+ "type": "text",
2509
+ "notNull": true,
2510
+ "autoincrement": false,
2511
+ "default": null,
2512
+ "generated": null,
2513
+ "name": "definition",
2514
+ "entityType": "columns",
2515
+ "table": "warp_chains"
2516
+ },
2517
+ {
2518
+ "type": "integer",
2519
+ "notNull": false,
2520
+ "autoincrement": false,
2521
+ "default": "false",
2522
+ "generated": null,
2523
+ "name": "validated",
2524
+ "entityType": "columns",
2525
+ "table": "warp_chains"
2526
+ },
2527
+ {
2528
+ "type": "text",
2529
+ "notNull": false,
2530
+ "autoincrement": false,
2531
+ "default": "(datetime('now'))",
2532
+ "generated": null,
2533
+ "name": "created_at",
2534
+ "entityType": "columns",
2535
+ "table": "warp_chains"
2536
+ },
2537
+ {
2538
+ "type": "text",
2539
+ "notNull": false,
2540
+ "autoincrement": false,
2541
+ "default": "(datetime('now'))",
2542
+ "generated": null,
2543
+ "name": "updated_at",
2544
+ "entityType": "columns",
2545
+ "table": "warp_chains"
2546
+ },
2547
+ {
2548
+ "columns": [
2549
+ "from_adr_id"
2550
+ ],
2551
+ "tableTo": "architecture_decisions",
2552
+ "columnsTo": [
2553
+ "id"
2554
+ ],
2555
+ "onUpdate": "NO ACTION",
2556
+ "onDelete": "CASCADE",
2557
+ "nameExplicit": false,
2558
+ "name": "fk_adr_relations_from_adr_id_architecture_decisions_id_fk",
2559
+ "entityType": "fks",
2560
+ "table": "adr_relations"
2561
+ },
2562
+ {
2563
+ "columns": [
2564
+ "to_adr_id"
2565
+ ],
2566
+ "tableTo": "architecture_decisions",
2567
+ "columnsTo": [
2568
+ "id"
2569
+ ],
2570
+ "onUpdate": "NO ACTION",
2571
+ "onDelete": "CASCADE",
2572
+ "nameExplicit": false,
2573
+ "name": "fk_adr_relations_to_adr_id_architecture_decisions_id_fk",
2574
+ "entityType": "fks",
2575
+ "table": "adr_relations"
2576
+ },
2577
+ {
2578
+ "columns": [
2579
+ "adr_id"
2580
+ ],
2581
+ "tableTo": "architecture_decisions",
2582
+ "columnsTo": [
2583
+ "id"
2584
+ ],
2585
+ "onUpdate": "NO ACTION",
2586
+ "onDelete": "CASCADE",
2587
+ "nameExplicit": false,
2588
+ "name": "fk_adr_task_links_adr_id_architecture_decisions_id_fk",
2589
+ "entityType": "fks",
2590
+ "table": "adr_task_links"
2591
+ },
2592
+ {
2593
+ "columns": [
2594
+ "stage_id"
2595
+ ],
2596
+ "tableTo": "lifecycle_stages",
2597
+ "columnsTo": [
2598
+ "id"
2599
+ ],
2600
+ "onUpdate": "NO ACTION",
2601
+ "onDelete": "CASCADE",
2602
+ "nameExplicit": false,
2603
+ "name": "fk_lifecycle_evidence_stage_id_lifecycle_stages_id_fk",
2604
+ "entityType": "fks",
2605
+ "table": "lifecycle_evidence"
2606
+ },
2607
+ {
2608
+ "columns": [
2609
+ "stage_id"
2610
+ ],
2611
+ "tableTo": "lifecycle_stages",
2612
+ "columnsTo": [
2613
+ "id"
2614
+ ],
2615
+ "onUpdate": "NO ACTION",
2616
+ "onDelete": "CASCADE",
2617
+ "nameExplicit": false,
2618
+ "name": "fk_lifecycle_gate_results_stage_id_lifecycle_stages_id_fk",
2619
+ "entityType": "fks",
2620
+ "table": "lifecycle_gate_results"
2621
+ },
2622
+ {
2623
+ "columns": [
2624
+ "task_id"
2625
+ ],
2626
+ "tableTo": "tasks",
2627
+ "columnsTo": [
2628
+ "id"
2629
+ ],
2630
+ "onUpdate": "NO ACTION",
2631
+ "onDelete": "CASCADE",
2632
+ "nameExplicit": false,
2633
+ "name": "fk_lifecycle_pipelines_task_id_tasks_id_fk",
2634
+ "entityType": "fks",
2635
+ "table": "lifecycle_pipelines"
2636
+ },
2637
+ {
2638
+ "columns": [
2639
+ "pipeline_id"
2640
+ ],
2641
+ "tableTo": "lifecycle_pipelines",
2642
+ "columnsTo": [
2643
+ "id"
2644
+ ],
2645
+ "onUpdate": "NO ACTION",
2646
+ "onDelete": "CASCADE",
2647
+ "nameExplicit": false,
2648
+ "name": "fk_lifecycle_stages_pipeline_id_lifecycle_pipelines_id_fk",
2649
+ "entityType": "fks",
2650
+ "table": "lifecycle_stages"
2651
+ },
2652
+ {
2653
+ "columns": [
2654
+ "pipeline_id"
2655
+ ],
2656
+ "tableTo": "lifecycle_pipelines",
2657
+ "columnsTo": [
2658
+ "id"
2659
+ ],
2660
+ "onUpdate": "NO ACTION",
2661
+ "onDelete": "CASCADE",
2662
+ "nameExplicit": false,
2663
+ "name": "fk_lifecycle_transitions_pipeline_id_lifecycle_pipelines_id_fk",
2664
+ "entityType": "fks",
2665
+ "table": "lifecycle_transitions"
2666
+ },
2667
+ {
2668
+ "columns": [
2669
+ "pipeline_id"
2670
+ ],
2671
+ "tableTo": "lifecycle_pipelines",
2672
+ "columnsTo": [
2673
+ "id"
2674
+ ],
2675
+ "onUpdate": "NO ACTION",
2676
+ "onDelete": "CASCADE",
2677
+ "nameExplicit": false,
2678
+ "name": "fk_manifest_entries_pipeline_id_lifecycle_pipelines_id_fk",
2679
+ "entityType": "fks",
2680
+ "table": "manifest_entries"
2681
+ },
2682
+ {
2683
+ "columns": [
2684
+ "stage_id"
2685
+ ],
2686
+ "tableTo": "lifecycle_stages",
2687
+ "columnsTo": [
2688
+ "id"
2689
+ ],
2690
+ "onUpdate": "NO ACTION",
2691
+ "onDelete": "CASCADE",
2692
+ "nameExplicit": false,
2693
+ "name": "fk_manifest_entries_stage_id_lifecycle_stages_id_fk",
2694
+ "entityType": "fks",
2695
+ "table": "manifest_entries"
2696
+ },
2697
+ {
2698
+ "columns": [
2699
+ "pipeline_id"
2700
+ ],
2701
+ "tableTo": "lifecycle_pipelines",
2702
+ "columnsTo": [
2703
+ "id"
2704
+ ],
2705
+ "onUpdate": "NO ACTION",
2706
+ "onDelete": "NO ACTION",
2707
+ "nameExplicit": false,
2708
+ "name": "fk_release_manifests_pipeline_id_lifecycle_pipelines_id_fk",
2709
+ "entityType": "fks",
2710
+ "table": "release_manifests"
2711
+ },
2712
+ {
2713
+ "columns": [
2714
+ "task_id"
2715
+ ],
2716
+ "tableTo": "tasks",
2717
+ "columnsTo": [
2718
+ "id"
2719
+ ],
2720
+ "onUpdate": "NO ACTION",
2721
+ "onDelete": "CASCADE",
2722
+ "nameExplicit": false,
2723
+ "name": "fk_task_dependencies_task_id_tasks_id_fk",
2724
+ "entityType": "fks",
2725
+ "table": "task_dependencies"
2726
+ },
2727
+ {
2728
+ "columns": [
2729
+ "depends_on"
2730
+ ],
2731
+ "tableTo": "tasks",
2732
+ "columnsTo": [
2733
+ "id"
2734
+ ],
2735
+ "onUpdate": "NO ACTION",
2736
+ "onDelete": "CASCADE",
2737
+ "nameExplicit": false,
2738
+ "name": "fk_task_dependencies_depends_on_tasks_id_fk",
2739
+ "entityType": "fks",
2740
+ "table": "task_dependencies"
2741
+ },
2742
+ {
2743
+ "columns": [
2744
+ "task_id"
2745
+ ],
2746
+ "tableTo": "tasks",
2747
+ "columnsTo": [
2748
+ "id"
2749
+ ],
2750
+ "onUpdate": "NO ACTION",
2751
+ "onDelete": "CASCADE",
2752
+ "nameExplicit": false,
2753
+ "name": "fk_task_relations_task_id_tasks_id_fk",
2754
+ "entityType": "fks",
2755
+ "table": "task_relations"
2756
+ },
2757
+ {
2758
+ "columns": [
2759
+ "related_to"
2760
+ ],
2761
+ "tableTo": "tasks",
2762
+ "columnsTo": [
2763
+ "id"
2764
+ ],
2765
+ "onUpdate": "NO ACTION",
2766
+ "onDelete": "CASCADE",
2767
+ "nameExplicit": false,
2768
+ "name": "fk_task_relations_related_to_tasks_id_fk",
2769
+ "entityType": "fks",
2770
+ "table": "task_relations"
2771
+ },
2772
+ {
2773
+ "columns": [
2774
+ "session_id"
2775
+ ],
2776
+ "tableTo": "sessions",
2777
+ "columnsTo": [
2778
+ "id"
2779
+ ],
2780
+ "onUpdate": "NO ACTION",
2781
+ "onDelete": "CASCADE",
2782
+ "nameExplicit": false,
2783
+ "name": "fk_task_work_history_session_id_sessions_id_fk",
2784
+ "entityType": "fks",
2785
+ "table": "task_work_history"
2786
+ },
2787
+ {
2788
+ "columns": [
2789
+ "parent_id"
2790
+ ],
2791
+ "tableTo": "tasks",
2792
+ "columnsTo": [
2793
+ "id"
2794
+ ],
2795
+ "onUpdate": "NO ACTION",
2796
+ "onDelete": "SET NULL",
2797
+ "nameExplicit": false,
2798
+ "name": "fk_tasks_parent_id_tasks_id_fk",
2799
+ "entityType": "fks",
2800
+ "table": "tasks"
2801
+ },
2802
+ {
2803
+ "columns": [
2804
+ "chain_id"
2805
+ ],
2806
+ "tableTo": "warp_chains",
2807
+ "columnsTo": [
2808
+ "id"
2809
+ ],
2810
+ "onUpdate": "NO ACTION",
2811
+ "onDelete": "NO ACTION",
2812
+ "nameExplicit": false,
2813
+ "name": "fk_warp_chain_instances_chain_id_warp_chains_id_fk",
2814
+ "entityType": "fks",
2815
+ "table": "warp_chain_instances"
2816
+ },
2817
+ {
2818
+ "columns": [
2819
+ "from_adr_id",
2820
+ "to_adr_id",
2821
+ "relation_type"
2822
+ ],
2823
+ "nameExplicit": false,
2824
+ "name": "adr_relations_pk",
2825
+ "entityType": "pks",
2826
+ "table": "adr_relations"
2827
+ },
2828
+ {
2829
+ "columns": [
2830
+ "adr_id",
2831
+ "task_id"
2832
+ ],
2833
+ "nameExplicit": false,
2834
+ "name": "adr_task_links_pk",
2835
+ "entityType": "pks",
2836
+ "table": "adr_task_links"
2837
+ },
2838
+ {
2839
+ "columns": [
2840
+ "name",
2841
+ "entity_type"
2842
+ ],
2843
+ "nameExplicit": false,
2844
+ "name": "status_registry_pk",
2845
+ "entityType": "pks",
2846
+ "table": "status_registry"
2847
+ },
2848
+ {
2849
+ "columns": [
2850
+ "task_id",
2851
+ "depends_on"
2852
+ ],
2853
+ "nameExplicit": false,
2854
+ "name": "task_dependencies_pk",
2855
+ "entityType": "pks",
2856
+ "table": "task_dependencies"
2857
+ },
2858
+ {
2859
+ "columns": [
2860
+ "task_id",
2861
+ "related_to"
2862
+ ],
2863
+ "nameExplicit": false,
2864
+ "name": "task_relations_pk",
2865
+ "entityType": "pks",
2866
+ "table": "task_relations"
2867
+ },
2868
+ {
2869
+ "columns": [
2870
+ "id"
2871
+ ],
2872
+ "nameExplicit": false,
2873
+ "name": "architecture_decisions_pk",
2874
+ "table": "architecture_decisions",
2875
+ "entityType": "pks"
2876
+ },
2877
+ {
2878
+ "columns": [
2879
+ "id"
2880
+ ],
2881
+ "nameExplicit": false,
2882
+ "name": "audit_log_pk",
2883
+ "table": "audit_log",
2884
+ "entityType": "pks"
2885
+ },
2886
+ {
2887
+ "columns": [
2888
+ "id"
2889
+ ],
2890
+ "nameExplicit": false,
2891
+ "name": "lifecycle_evidence_pk",
2892
+ "table": "lifecycle_evidence",
2893
+ "entityType": "pks"
2894
+ },
2895
+ {
2896
+ "columns": [
2897
+ "id"
2898
+ ],
2899
+ "nameExplicit": false,
2900
+ "name": "lifecycle_gate_results_pk",
2901
+ "table": "lifecycle_gate_results",
2902
+ "entityType": "pks"
2903
+ },
2904
+ {
2905
+ "columns": [
2906
+ "id"
2907
+ ],
2908
+ "nameExplicit": false,
2909
+ "name": "lifecycle_pipelines_pk",
2910
+ "table": "lifecycle_pipelines",
2911
+ "entityType": "pks"
2912
+ },
2913
+ {
2914
+ "columns": [
2915
+ "id"
2916
+ ],
2917
+ "nameExplicit": false,
2918
+ "name": "lifecycle_stages_pk",
2919
+ "table": "lifecycle_stages",
2920
+ "entityType": "pks"
2921
+ },
2922
+ {
2923
+ "columns": [
2924
+ "id"
2925
+ ],
2926
+ "nameExplicit": false,
2927
+ "name": "lifecycle_transitions_pk",
2928
+ "table": "lifecycle_transitions",
2929
+ "entityType": "pks"
2930
+ },
2931
+ {
2932
+ "columns": [
2933
+ "id"
2934
+ ],
2935
+ "nameExplicit": false,
2936
+ "name": "manifest_entries_pk",
2937
+ "table": "manifest_entries",
2938
+ "entityType": "pks"
2939
+ },
2940
+ {
2941
+ "columns": [
2942
+ "id"
2943
+ ],
2944
+ "nameExplicit": false,
2945
+ "name": "pipeline_manifest_pk",
2946
+ "table": "pipeline_manifest",
2947
+ "entityType": "pks"
2948
+ },
2949
+ {
2950
+ "columns": [
2951
+ "id"
2952
+ ],
2953
+ "nameExplicit": false,
2954
+ "name": "release_manifests_pk",
2955
+ "table": "release_manifests",
2956
+ "entityType": "pks"
2957
+ },
2958
+ {
2959
+ "columns": [
2960
+ "key"
2961
+ ],
2962
+ "nameExplicit": false,
2963
+ "name": "schema_meta_pk",
2964
+ "table": "schema_meta",
2965
+ "entityType": "pks"
2966
+ },
2967
+ {
2968
+ "columns": [
2969
+ "id"
2970
+ ],
2971
+ "nameExplicit": false,
2972
+ "name": "sessions_pk",
2973
+ "table": "sessions",
2974
+ "entityType": "pks"
2975
+ },
2976
+ {
2977
+ "columns": [
2978
+ "id"
2979
+ ],
2980
+ "nameExplicit": false,
2981
+ "name": "task_work_history_pk",
2982
+ "table": "task_work_history",
2983
+ "entityType": "pks"
2984
+ },
2985
+ {
2986
+ "columns": [
2987
+ "id"
2988
+ ],
2989
+ "nameExplicit": false,
2990
+ "name": "tasks_pk",
2991
+ "table": "tasks",
2992
+ "entityType": "pks"
2993
+ },
2994
+ {
2995
+ "columns": [
2996
+ "id"
2997
+ ],
2998
+ "nameExplicit": false,
2999
+ "name": "token_usage_pk",
3000
+ "table": "token_usage",
3001
+ "entityType": "pks"
3002
+ },
3003
+ {
3004
+ "columns": [
3005
+ "id"
3006
+ ],
3007
+ "nameExplicit": false,
3008
+ "name": "warp_chain_instances_pk",
3009
+ "table": "warp_chain_instances",
3010
+ "entityType": "pks"
3011
+ },
3012
+ {
3013
+ "columns": [
3014
+ "id"
3015
+ ],
3016
+ "nameExplicit": false,
3017
+ "name": "warp_chains_pk",
3018
+ "table": "warp_chains",
3019
+ "entityType": "pks"
3020
+ },
3021
+ {
3022
+ "columns": [
3023
+ {
3024
+ "value": "task_id",
3025
+ "isExpression": false
3026
+ }
3027
+ ],
3028
+ "isUnique": false,
3029
+ "where": null,
3030
+ "origin": "manual",
3031
+ "name": "idx_adr_task_links_task_id",
3032
+ "entityType": "indexes",
3033
+ "table": "adr_task_links"
3034
+ },
3035
+ {
3036
+ "columns": [
3037
+ {
3038
+ "value": "status",
3039
+ "isExpression": false
3040
+ }
3041
+ ],
3042
+ "isUnique": false,
3043
+ "where": null,
3044
+ "origin": "manual",
3045
+ "name": "idx_arch_decisions_status",
3046
+ "entityType": "indexes",
3047
+ "table": "architecture_decisions"
3048
+ },
3049
+ {
3050
+ "columns": [
3051
+ {
3052
+ "value": "task_id",
3053
+ "isExpression": false
3054
+ }
3055
+ ],
3056
+ "isUnique": false,
3057
+ "where": null,
3058
+ "origin": "manual",
3059
+ "name": "idx_audit_log_task_id",
3060
+ "entityType": "indexes",
3061
+ "table": "audit_log"
3062
+ },
3063
+ {
3064
+ "columns": [
3065
+ {
3066
+ "value": "action",
3067
+ "isExpression": false
3068
+ }
3069
+ ],
3070
+ "isUnique": false,
3071
+ "where": null,
3072
+ "origin": "manual",
3073
+ "name": "idx_audit_log_action",
3074
+ "entityType": "indexes",
3075
+ "table": "audit_log"
3076
+ },
3077
+ {
3078
+ "columns": [
3079
+ {
3080
+ "value": "timestamp",
3081
+ "isExpression": false
3082
+ }
3083
+ ],
3084
+ "isUnique": false,
3085
+ "where": null,
3086
+ "origin": "manual",
3087
+ "name": "idx_audit_log_timestamp",
3088
+ "entityType": "indexes",
3089
+ "table": "audit_log"
3090
+ },
3091
+ {
3092
+ "columns": [
3093
+ {
3094
+ "value": "domain",
3095
+ "isExpression": false
3096
+ }
3097
+ ],
3098
+ "isUnique": false,
3099
+ "where": null,
3100
+ "origin": "manual",
3101
+ "name": "idx_audit_log_domain",
3102
+ "entityType": "indexes",
3103
+ "table": "audit_log"
3104
+ },
3105
+ {
3106
+ "columns": [
3107
+ {
3108
+ "value": "request_id",
3109
+ "isExpression": false
3110
+ }
3111
+ ],
3112
+ "isUnique": false,
3113
+ "where": null,
3114
+ "origin": "manual",
3115
+ "name": "idx_audit_log_request_id",
3116
+ "entityType": "indexes",
3117
+ "table": "audit_log"
3118
+ },
3119
+ {
3120
+ "columns": [
3121
+ {
3122
+ "value": "project_hash",
3123
+ "isExpression": false
3124
+ }
3125
+ ],
3126
+ "isUnique": false,
3127
+ "where": null,
3128
+ "origin": "manual",
3129
+ "name": "idx_audit_log_project_hash",
3130
+ "entityType": "indexes",
3131
+ "table": "audit_log"
3132
+ },
3133
+ {
3134
+ "columns": [
3135
+ {
3136
+ "value": "stage_id",
3137
+ "isExpression": false
3138
+ }
3139
+ ],
3140
+ "isUnique": false,
3141
+ "where": null,
3142
+ "origin": "manual",
3143
+ "name": "idx_lifecycle_evidence_stage_id",
3144
+ "entityType": "indexes",
3145
+ "table": "lifecycle_evidence"
3146
+ },
3147
+ {
3148
+ "columns": [
3149
+ {
3150
+ "value": "stage_id",
3151
+ "isExpression": false
3152
+ }
3153
+ ],
3154
+ "isUnique": false,
3155
+ "where": null,
3156
+ "origin": "manual",
3157
+ "name": "idx_lifecycle_gate_results_stage_id",
3158
+ "entityType": "indexes",
3159
+ "table": "lifecycle_gate_results"
3160
+ },
3161
+ {
3162
+ "columns": [
3163
+ {
3164
+ "value": "task_id",
3165
+ "isExpression": false
3166
+ }
3167
+ ],
3168
+ "isUnique": false,
3169
+ "where": null,
3170
+ "origin": "manual",
3171
+ "name": "idx_lifecycle_pipelines_task_id",
3172
+ "entityType": "indexes",
3173
+ "table": "lifecycle_pipelines"
3174
+ },
3175
+ {
3176
+ "columns": [
3177
+ {
3178
+ "value": "status",
3179
+ "isExpression": false
3180
+ }
3181
+ ],
3182
+ "isUnique": false,
3183
+ "where": null,
3184
+ "origin": "manual",
3185
+ "name": "idx_lifecycle_pipelines_status",
3186
+ "entityType": "indexes",
3187
+ "table": "lifecycle_pipelines"
3188
+ },
3189
+ {
3190
+ "columns": [
3191
+ {
3192
+ "value": "pipeline_id",
3193
+ "isExpression": false
3194
+ }
3195
+ ],
3196
+ "isUnique": false,
3197
+ "where": null,
3198
+ "origin": "manual",
3199
+ "name": "idx_lifecycle_stages_pipeline_id",
3200
+ "entityType": "indexes",
3201
+ "table": "lifecycle_stages"
3202
+ },
3203
+ {
3204
+ "columns": [
3205
+ {
3206
+ "value": "stage_name",
3207
+ "isExpression": false
3208
+ }
3209
+ ],
3210
+ "isUnique": false,
3211
+ "where": null,
3212
+ "origin": "manual",
3213
+ "name": "idx_lifecycle_stages_stage_name",
3214
+ "entityType": "indexes",
3215
+ "table": "lifecycle_stages"
3216
+ },
3217
+ {
3218
+ "columns": [
3219
+ {
3220
+ "value": "status",
3221
+ "isExpression": false
3222
+ }
3223
+ ],
3224
+ "isUnique": false,
3225
+ "where": null,
3226
+ "origin": "manual",
3227
+ "name": "idx_lifecycle_stages_status",
3228
+ "entityType": "indexes",
3229
+ "table": "lifecycle_stages"
3230
+ },
3231
+ {
3232
+ "columns": [
3233
+ {
3234
+ "value": "pipeline_id",
3235
+ "isExpression": false
3236
+ }
3237
+ ],
3238
+ "isUnique": false,
3239
+ "where": null,
3240
+ "origin": "manual",
3241
+ "name": "idx_lifecycle_transitions_pipeline_id",
3242
+ "entityType": "indexes",
3243
+ "table": "lifecycle_transitions"
3244
+ },
3245
+ {
3246
+ "columns": [
3247
+ {
3248
+ "value": "pipeline_id",
3249
+ "isExpression": false
3250
+ }
3251
+ ],
3252
+ "isUnique": false,
3253
+ "where": null,
3254
+ "origin": "manual",
3255
+ "name": "idx_manifest_entries_pipeline_id",
3256
+ "entityType": "indexes",
3257
+ "table": "manifest_entries"
3258
+ },
3259
+ {
3260
+ "columns": [
3261
+ {
3262
+ "value": "stage_id",
3263
+ "isExpression": false
3264
+ }
3265
+ ],
3266
+ "isUnique": false,
3267
+ "where": null,
3268
+ "origin": "manual",
3269
+ "name": "idx_manifest_entries_stage_id",
3270
+ "entityType": "indexes",
3271
+ "table": "manifest_entries"
3272
+ },
3273
+ {
3274
+ "columns": [
3275
+ {
3276
+ "value": "status",
3277
+ "isExpression": false
3278
+ }
3279
+ ],
3280
+ "isUnique": false,
3281
+ "where": null,
3282
+ "origin": "manual",
3283
+ "name": "idx_manifest_entries_status",
3284
+ "entityType": "indexes",
3285
+ "table": "manifest_entries"
3286
+ },
3287
+ {
3288
+ "columns": [
3289
+ {
3290
+ "value": "task_id",
3291
+ "isExpression": false
3292
+ }
3293
+ ],
3294
+ "isUnique": false,
3295
+ "where": null,
3296
+ "origin": "manual",
3297
+ "name": "idx_pipeline_manifest_task_id",
3298
+ "entityType": "indexes",
3299
+ "table": "pipeline_manifest"
3300
+ },
3301
+ {
3302
+ "columns": [
3303
+ {
3304
+ "value": "session_id",
3305
+ "isExpression": false
3306
+ }
3307
+ ],
3308
+ "isUnique": false,
3309
+ "where": null,
3310
+ "origin": "manual",
3311
+ "name": "idx_pipeline_manifest_session_id",
3312
+ "entityType": "indexes",
3313
+ "table": "pipeline_manifest"
3314
+ },
3315
+ {
3316
+ "columns": [
3317
+ {
3318
+ "value": "distilled",
3319
+ "isExpression": false
3320
+ }
3321
+ ],
3322
+ "isUnique": false,
3323
+ "where": null,
3324
+ "origin": "manual",
3325
+ "name": "idx_pipeline_manifest_distilled",
3326
+ "entityType": "indexes",
3327
+ "table": "pipeline_manifest"
3328
+ },
3329
+ {
3330
+ "columns": [
3331
+ {
3332
+ "value": "status",
3333
+ "isExpression": false
3334
+ }
3335
+ ],
3336
+ "isUnique": false,
3337
+ "where": null,
3338
+ "origin": "manual",
3339
+ "name": "idx_pipeline_manifest_status",
3340
+ "entityType": "indexes",
3341
+ "table": "pipeline_manifest"
3342
+ },
3343
+ {
3344
+ "columns": [
3345
+ {
3346
+ "value": "content_hash",
3347
+ "isExpression": false
3348
+ }
3349
+ ],
3350
+ "isUnique": false,
3351
+ "where": null,
3352
+ "origin": "manual",
3353
+ "name": "idx_pipeline_manifest_content_hash",
3354
+ "entityType": "indexes",
3355
+ "table": "pipeline_manifest"
3356
+ },
3357
+ {
3358
+ "columns": [
3359
+ {
3360
+ "value": "status",
3361
+ "isExpression": false
3362
+ }
3363
+ ],
3364
+ "isUnique": false,
3365
+ "where": null,
3366
+ "origin": "manual",
3367
+ "name": "idx_release_manifests_status",
3368
+ "entityType": "indexes",
3369
+ "table": "release_manifests"
3370
+ },
3371
+ {
3372
+ "columns": [
3373
+ {
3374
+ "value": "version",
3375
+ "isExpression": false
3376
+ }
3377
+ ],
3378
+ "isUnique": false,
3379
+ "where": null,
3380
+ "origin": "manual",
3381
+ "name": "idx_release_manifests_version",
3382
+ "entityType": "indexes",
3383
+ "table": "release_manifests"
3384
+ },
3385
+ {
3386
+ "columns": [
3387
+ {
3388
+ "value": "status",
3389
+ "isExpression": false
3390
+ }
3391
+ ],
3392
+ "isUnique": false,
3393
+ "where": null,
3394
+ "origin": "manual",
3395
+ "name": "idx_sessions_status",
3396
+ "entityType": "indexes",
3397
+ "table": "sessions"
3398
+ },
3399
+ {
3400
+ "columns": [
3401
+ {
3402
+ "value": "previous_session_id",
3403
+ "isExpression": false
3404
+ }
3405
+ ],
3406
+ "isUnique": false,
3407
+ "where": null,
3408
+ "origin": "manual",
3409
+ "name": "idx_sessions_previous",
3410
+ "entityType": "indexes",
3411
+ "table": "sessions"
3412
+ },
3413
+ {
3414
+ "columns": [
3415
+ {
3416
+ "value": "agent_identifier",
3417
+ "isExpression": false
3418
+ }
3419
+ ],
3420
+ "isUnique": false,
3421
+ "where": null,
3422
+ "origin": "manual",
3423
+ "name": "idx_sessions_agent_identifier",
3424
+ "entityType": "indexes",
3425
+ "table": "sessions"
3426
+ },
3427
+ {
3428
+ "columns": [
3429
+ {
3430
+ "value": "entity_type",
3431
+ "isExpression": false
3432
+ }
3433
+ ],
3434
+ "isUnique": false,
3435
+ "where": null,
3436
+ "origin": "manual",
3437
+ "name": "idx_status_registry_entity_type",
3438
+ "entityType": "indexes",
3439
+ "table": "status_registry"
3440
+ },
3441
+ {
3442
+ "columns": [
3443
+ {
3444
+ "value": "namespace",
3445
+ "isExpression": false
3446
+ }
3447
+ ],
3448
+ "isUnique": false,
3449
+ "where": null,
3450
+ "origin": "manual",
3451
+ "name": "idx_status_registry_namespace",
3452
+ "entityType": "indexes",
3453
+ "table": "status_registry"
3454
+ },
3455
+ {
3456
+ "columns": [
3457
+ {
3458
+ "value": "depends_on",
3459
+ "isExpression": false
3460
+ }
3461
+ ],
3462
+ "isUnique": false,
3463
+ "where": null,
3464
+ "origin": "manual",
3465
+ "name": "idx_deps_depends_on",
3466
+ "entityType": "indexes",
3467
+ "table": "task_dependencies"
3468
+ },
3469
+ {
3470
+ "columns": [
3471
+ {
3472
+ "value": "session_id",
3473
+ "isExpression": false
3474
+ }
3475
+ ],
3476
+ "isUnique": false,
3477
+ "where": null,
3478
+ "origin": "manual",
3479
+ "name": "idx_work_history_session",
3480
+ "entityType": "indexes",
3481
+ "table": "task_work_history"
3482
+ },
3483
+ {
3484
+ "columns": [
3485
+ {
3486
+ "value": "status",
3487
+ "isExpression": false
3488
+ }
3489
+ ],
3490
+ "isUnique": false,
3491
+ "where": null,
3492
+ "origin": "manual",
3493
+ "name": "idx_tasks_status",
3494
+ "entityType": "indexes",
3495
+ "table": "tasks"
3496
+ },
3497
+ {
3498
+ "columns": [
3499
+ {
3500
+ "value": "parent_id",
3501
+ "isExpression": false
3502
+ }
3503
+ ],
3504
+ "isUnique": false,
3505
+ "where": null,
3506
+ "origin": "manual",
3507
+ "name": "idx_tasks_parent_id",
3508
+ "entityType": "indexes",
3509
+ "table": "tasks"
3510
+ },
3511
+ {
3512
+ "columns": [
3513
+ {
3514
+ "value": "phase",
3515
+ "isExpression": false
3516
+ }
3517
+ ],
3518
+ "isUnique": false,
3519
+ "where": null,
3520
+ "origin": "manual",
3521
+ "name": "idx_tasks_phase",
3522
+ "entityType": "indexes",
3523
+ "table": "tasks"
3524
+ },
3525
+ {
3526
+ "columns": [
3527
+ {
3528
+ "value": "type",
3529
+ "isExpression": false
3530
+ }
3531
+ ],
3532
+ "isUnique": false,
3533
+ "where": null,
3534
+ "origin": "manual",
3535
+ "name": "idx_tasks_type",
3536
+ "entityType": "indexes",
3537
+ "table": "tasks"
3538
+ },
3539
+ {
3540
+ "columns": [
3541
+ {
3542
+ "value": "priority",
3543
+ "isExpression": false
3544
+ }
3545
+ ],
3546
+ "isUnique": false,
3547
+ "where": null,
3548
+ "origin": "manual",
3549
+ "name": "idx_tasks_priority",
3550
+ "entityType": "indexes",
3551
+ "table": "tasks"
3552
+ },
3553
+ {
3554
+ "columns": [
3555
+ {
3556
+ "value": "created_at",
3557
+ "isExpression": false
3558
+ }
3559
+ ],
3560
+ "isUnique": false,
3561
+ "where": null,
3562
+ "origin": "manual",
3563
+ "name": "idx_token_usage_created_at",
3564
+ "entityType": "indexes",
3565
+ "table": "token_usage"
3566
+ },
3567
+ {
3568
+ "columns": [
3569
+ {
3570
+ "value": "request_id",
3571
+ "isExpression": false
3572
+ }
3573
+ ],
3574
+ "isUnique": false,
3575
+ "where": null,
3576
+ "origin": "manual",
3577
+ "name": "idx_token_usage_request_id",
3578
+ "entityType": "indexes",
3579
+ "table": "token_usage"
3580
+ },
3581
+ {
3582
+ "columns": [
3583
+ {
3584
+ "value": "session_id",
3585
+ "isExpression": false
3586
+ }
3587
+ ],
3588
+ "isUnique": false,
3589
+ "where": null,
3590
+ "origin": "manual",
3591
+ "name": "idx_token_usage_session_id",
3592
+ "entityType": "indexes",
3593
+ "table": "token_usage"
3594
+ },
3595
+ {
3596
+ "columns": [
3597
+ {
3598
+ "value": "task_id",
3599
+ "isExpression": false
3600
+ }
3601
+ ],
3602
+ "isUnique": false,
3603
+ "where": null,
3604
+ "origin": "manual",
3605
+ "name": "idx_token_usage_task_id",
3606
+ "entityType": "indexes",
3607
+ "table": "token_usage"
3608
+ },
3609
+ {
3610
+ "columns": [
3611
+ {
3612
+ "value": "provider",
3613
+ "isExpression": false
3614
+ }
3615
+ ],
3616
+ "isUnique": false,
3617
+ "where": null,
3618
+ "origin": "manual",
3619
+ "name": "idx_token_usage_provider",
3620
+ "entityType": "indexes",
3621
+ "table": "token_usage"
3622
+ },
3623
+ {
3624
+ "columns": [
3625
+ {
3626
+ "value": "transport",
3627
+ "isExpression": false
3628
+ }
3629
+ ],
3630
+ "isUnique": false,
3631
+ "where": null,
3632
+ "origin": "manual",
3633
+ "name": "idx_token_usage_transport",
3634
+ "entityType": "indexes",
3635
+ "table": "token_usage"
3636
+ },
3637
+ {
3638
+ "columns": [
3639
+ {
3640
+ "value": "domain",
3641
+ "isExpression": false
3642
+ },
3643
+ {
3644
+ "value": "operation",
3645
+ "isExpression": false
3646
+ }
3647
+ ],
3648
+ "isUnique": false,
3649
+ "where": null,
3650
+ "origin": "manual",
3651
+ "name": "idx_token_usage_domain_operation",
3652
+ "entityType": "indexes",
3653
+ "table": "token_usage"
3654
+ },
3655
+ {
3656
+ "columns": [
3657
+ {
3658
+ "value": "method",
3659
+ "isExpression": false
3660
+ }
3661
+ ],
3662
+ "isUnique": false,
3663
+ "where": null,
3664
+ "origin": "manual",
3665
+ "name": "idx_token_usage_method",
3666
+ "entityType": "indexes",
3667
+ "table": "token_usage"
3668
+ },
3669
+ {
3670
+ "columns": [
3671
+ {
3672
+ "value": "chain_id",
3673
+ "isExpression": false
3674
+ }
3675
+ ],
3676
+ "isUnique": false,
3677
+ "where": null,
3678
+ "origin": "manual",
3679
+ "name": "idx_warp_instances_chain",
3680
+ "entityType": "indexes",
3681
+ "table": "warp_chain_instances"
3682
+ },
3683
+ {
3684
+ "columns": [
3685
+ {
3686
+ "value": "epic_id",
3687
+ "isExpression": false
3688
+ }
3689
+ ],
3690
+ "isUnique": false,
3691
+ "where": null,
3692
+ "origin": "manual",
3693
+ "name": "idx_warp_instances_epic",
3694
+ "entityType": "indexes",
3695
+ "table": "warp_chain_instances"
3696
+ },
3697
+ {
3698
+ "columns": [
3699
+ {
3700
+ "value": "status",
3701
+ "isExpression": false
3702
+ }
3703
+ ],
3704
+ "isUnique": false,
3705
+ "where": null,
3706
+ "origin": "manual",
3707
+ "name": "idx_warp_instances_status",
3708
+ "entityType": "indexes",
3709
+ "table": "warp_chain_instances"
3710
+ },
3711
+ {
3712
+ "columns": [
3713
+ {
3714
+ "value": "name",
3715
+ "isExpression": false
3716
+ }
3717
+ ],
3718
+ "isUnique": false,
3719
+ "where": null,
3720
+ "origin": "manual",
3721
+ "name": "idx_warp_chains_name",
3722
+ "entityType": "indexes",
3723
+ "table": "warp_chains"
3724
+ }
3725
+ ],
3726
+ "renames": []
3727
+ }