@cleocode/cleo 2026.3.27 → 2026.3.29

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.
@@ -0,0 +1,3737 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "24cb31bf-a5c3-47b2-b164-9f43a4d4116f",
5
+ "prevIds": [
6
+ "31478a09-e504-449c-b0ed-6405b67968a2"
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": "provider_id",
1664
+ "entityType": "columns",
1665
+ "table": "sessions"
1666
+ },
1667
+ {
1668
+ "type": "text",
1669
+ "notNull": false,
1670
+ "autoincrement": false,
1671
+ "default": null,
1672
+ "generated": null,
1673
+ "name": "stats_json",
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": "resume_count",
1684
+ "entityType": "columns",
1685
+ "table": "sessions"
1686
+ },
1687
+ {
1688
+ "type": "integer",
1689
+ "notNull": false,
1690
+ "autoincrement": false,
1691
+ "default": null,
1692
+ "generated": null,
1693
+ "name": "grade_mode",
1694
+ "entityType": "columns",
1695
+ "table": "sessions"
1696
+ },
1697
+ {
1698
+ "type": "text",
1699
+ "notNull": true,
1700
+ "autoincrement": false,
1701
+ "default": null,
1702
+ "generated": null,
1703
+ "name": "name",
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": "entity_type",
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": "namespace",
1724
+ "entityType": "columns",
1725
+ "table": "status_registry"
1726
+ },
1727
+ {
1728
+ "type": "text",
1729
+ "notNull": true,
1730
+ "autoincrement": false,
1731
+ "default": null,
1732
+ "generated": null,
1733
+ "name": "description",
1734
+ "entityType": "columns",
1735
+ "table": "status_registry"
1736
+ },
1737
+ {
1738
+ "type": "integer",
1739
+ "notNull": true,
1740
+ "autoincrement": false,
1741
+ "default": "false",
1742
+ "generated": null,
1743
+ "name": "is_terminal",
1744
+ "entityType": "columns",
1745
+ "table": "status_registry"
1746
+ },
1747
+ {
1748
+ "type": "text",
1749
+ "notNull": true,
1750
+ "autoincrement": false,
1751
+ "default": null,
1752
+ "generated": null,
1753
+ "name": "task_id",
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": "depends_on",
1764
+ "entityType": "columns",
1765
+ "table": "task_dependencies"
1766
+ },
1767
+ {
1768
+ "type": "text",
1769
+ "notNull": true,
1770
+ "autoincrement": false,
1771
+ "default": null,
1772
+ "generated": null,
1773
+ "name": "task_id",
1774
+ "entityType": "columns",
1775
+ "table": "task_relations"
1776
+ },
1777
+ {
1778
+ "type": "text",
1779
+ "notNull": true,
1780
+ "autoincrement": false,
1781
+ "default": null,
1782
+ "generated": null,
1783
+ "name": "related_to",
1784
+ "entityType": "columns",
1785
+ "table": "task_relations"
1786
+ },
1787
+ {
1788
+ "type": "text",
1789
+ "notNull": true,
1790
+ "autoincrement": false,
1791
+ "default": "'related'",
1792
+ "generated": null,
1793
+ "name": "relation_type",
1794
+ "entityType": "columns",
1795
+ "table": "task_relations"
1796
+ },
1797
+ {
1798
+ "type": "text",
1799
+ "notNull": false,
1800
+ "autoincrement": false,
1801
+ "default": null,
1802
+ "generated": null,
1803
+ "name": "reason",
1804
+ "entityType": "columns",
1805
+ "table": "task_relations"
1806
+ },
1807
+ {
1808
+ "type": "integer",
1809
+ "notNull": false,
1810
+ "autoincrement": true,
1811
+ "default": null,
1812
+ "generated": null,
1813
+ "name": "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": "session_id",
1824
+ "entityType": "columns",
1825
+ "table": "task_work_history"
1826
+ },
1827
+ {
1828
+ "type": "text",
1829
+ "notNull": true,
1830
+ "autoincrement": false,
1831
+ "default": null,
1832
+ "generated": null,
1833
+ "name": "task_id",
1834
+ "entityType": "columns",
1835
+ "table": "task_work_history"
1836
+ },
1837
+ {
1838
+ "type": "text",
1839
+ "notNull": true,
1840
+ "autoincrement": false,
1841
+ "default": "(datetime('now'))",
1842
+ "generated": null,
1843
+ "name": "set_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": "cleared_at",
1854
+ "entityType": "columns",
1855
+ "table": "task_work_history"
1856
+ },
1857
+ {
1858
+ "type": "text",
1859
+ "notNull": false,
1860
+ "autoincrement": false,
1861
+ "default": null,
1862
+ "generated": null,
1863
+ "name": "id",
1864
+ "entityType": "columns",
1865
+ "table": "tasks"
1866
+ },
1867
+ {
1868
+ "type": "text",
1869
+ "notNull": true,
1870
+ "autoincrement": false,
1871
+ "default": null,
1872
+ "generated": null,
1873
+ "name": "title",
1874
+ "entityType": "columns",
1875
+ "table": "tasks"
1876
+ },
1877
+ {
1878
+ "type": "text",
1879
+ "notNull": false,
1880
+ "autoincrement": false,
1881
+ "default": null,
1882
+ "generated": null,
1883
+ "name": "description",
1884
+ "entityType": "columns",
1885
+ "table": "tasks"
1886
+ },
1887
+ {
1888
+ "type": "text",
1889
+ "notNull": true,
1890
+ "autoincrement": false,
1891
+ "default": "'pending'",
1892
+ "generated": null,
1893
+ "name": "status",
1894
+ "entityType": "columns",
1895
+ "table": "tasks"
1896
+ },
1897
+ {
1898
+ "type": "text",
1899
+ "notNull": true,
1900
+ "autoincrement": false,
1901
+ "default": "'medium'",
1902
+ "generated": null,
1903
+ "name": "priority",
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": "type",
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": "parent_id",
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": "phase",
1934
+ "entityType": "columns",
1935
+ "table": "tasks"
1936
+ },
1937
+ {
1938
+ "type": "text",
1939
+ "notNull": false,
1940
+ "autoincrement": false,
1941
+ "default": null,
1942
+ "generated": null,
1943
+ "name": "size",
1944
+ "entityType": "columns",
1945
+ "table": "tasks"
1946
+ },
1947
+ {
1948
+ "type": "integer",
1949
+ "notNull": false,
1950
+ "autoincrement": false,
1951
+ "default": null,
1952
+ "generated": null,
1953
+ "name": "position",
1954
+ "entityType": "columns",
1955
+ "table": "tasks"
1956
+ },
1957
+ {
1958
+ "type": "integer",
1959
+ "notNull": false,
1960
+ "autoincrement": false,
1961
+ "default": "0",
1962
+ "generated": null,
1963
+ "name": "position_version",
1964
+ "entityType": "columns",
1965
+ "table": "tasks"
1966
+ },
1967
+ {
1968
+ "type": "text",
1969
+ "notNull": false,
1970
+ "autoincrement": false,
1971
+ "default": "'[]'",
1972
+ "generated": null,
1973
+ "name": "labels_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": "notes_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": "acceptance_json",
1994
+ "entityType": "columns",
1995
+ "table": "tasks"
1996
+ },
1997
+ {
1998
+ "type": "text",
1999
+ "notNull": false,
2000
+ "autoincrement": false,
2001
+ "default": "'[]'",
2002
+ "generated": null,
2003
+ "name": "files_json",
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": "origin",
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": "blocked_by",
2024
+ "entityType": "columns",
2025
+ "table": "tasks"
2026
+ },
2027
+ {
2028
+ "type": "text",
2029
+ "notNull": false,
2030
+ "autoincrement": false,
2031
+ "default": null,
2032
+ "generated": null,
2033
+ "name": "epic_lifecycle",
2034
+ "entityType": "columns",
2035
+ "table": "tasks"
2036
+ },
2037
+ {
2038
+ "type": "integer",
2039
+ "notNull": false,
2040
+ "autoincrement": false,
2041
+ "default": null,
2042
+ "generated": null,
2043
+ "name": "no_auto_complete",
2044
+ "entityType": "columns",
2045
+ "table": "tasks"
2046
+ },
2047
+ {
2048
+ "type": "text",
2049
+ "notNull": true,
2050
+ "autoincrement": false,
2051
+ "default": "(datetime('now'))",
2052
+ "generated": null,
2053
+ "name": "created_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": "updated_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": "completed_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": "cancelled_at",
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": "cancellation_reason",
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": "archived_at",
2104
+ "entityType": "columns",
2105
+ "table": "tasks"
2106
+ },
2107
+ {
2108
+ "type": "text",
2109
+ "notNull": false,
2110
+ "autoincrement": false,
2111
+ "default": null,
2112
+ "generated": null,
2113
+ "name": "archive_reason",
2114
+ "entityType": "columns",
2115
+ "table": "tasks"
2116
+ },
2117
+ {
2118
+ "type": "integer",
2119
+ "notNull": false,
2120
+ "autoincrement": false,
2121
+ "default": null,
2122
+ "generated": null,
2123
+ "name": "cycle_time_days",
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": "verification_json",
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": "created_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": "modified_by",
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": "session_id",
2164
+ "entityType": "columns",
2165
+ "table": "tasks"
2166
+ },
2167
+ {
2168
+ "type": "text",
2169
+ "notNull": false,
2170
+ "autoincrement": false,
2171
+ "default": null,
2172
+ "generated": null,
2173
+ "name": "id",
2174
+ "entityType": "columns",
2175
+ "table": "token_usage"
2176
+ },
2177
+ {
2178
+ "type": "text",
2179
+ "notNull": true,
2180
+ "autoincrement": false,
2181
+ "default": "(datetime('now'))",
2182
+ "generated": null,
2183
+ "name": "created_at",
2184
+ "entityType": "columns",
2185
+ "table": "token_usage"
2186
+ },
2187
+ {
2188
+ "type": "text",
2189
+ "notNull": true,
2190
+ "autoincrement": false,
2191
+ "default": "'unknown'",
2192
+ "generated": null,
2193
+ "name": "provider",
2194
+ "entityType": "columns",
2195
+ "table": "token_usage"
2196
+ },
2197
+ {
2198
+ "type": "text",
2199
+ "notNull": false,
2200
+ "autoincrement": false,
2201
+ "default": null,
2202
+ "generated": null,
2203
+ "name": "model",
2204
+ "entityType": "columns",
2205
+ "table": "token_usage"
2206
+ },
2207
+ {
2208
+ "type": "text",
2209
+ "notNull": true,
2210
+ "autoincrement": false,
2211
+ "default": "'unknown'",
2212
+ "generated": null,
2213
+ "name": "transport",
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": "gateway",
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": "domain",
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": "operation",
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": "session_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": "task_id",
2264
+ "entityType": "columns",
2265
+ "table": "token_usage"
2266
+ },
2267
+ {
2268
+ "type": "text",
2269
+ "notNull": false,
2270
+ "autoincrement": false,
2271
+ "default": null,
2272
+ "generated": null,
2273
+ "name": "request_id",
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": "input_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": "output_chars",
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": "input_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": "output_tokens",
2314
+ "entityType": "columns",
2315
+ "table": "token_usage"
2316
+ },
2317
+ {
2318
+ "type": "integer",
2319
+ "notNull": true,
2320
+ "autoincrement": false,
2321
+ "default": "0",
2322
+ "generated": null,
2323
+ "name": "total_tokens",
2324
+ "entityType": "columns",
2325
+ "table": "token_usage"
2326
+ },
2327
+ {
2328
+ "type": "text",
2329
+ "notNull": true,
2330
+ "autoincrement": false,
2331
+ "default": "'heuristic'",
2332
+ "generated": null,
2333
+ "name": "method",
2334
+ "entityType": "columns",
2335
+ "table": "token_usage"
2336
+ },
2337
+ {
2338
+ "type": "text",
2339
+ "notNull": true,
2340
+ "autoincrement": false,
2341
+ "default": "'coarse'",
2342
+ "generated": null,
2343
+ "name": "confidence",
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": "request_hash",
2354
+ "entityType": "columns",
2355
+ "table": "token_usage"
2356
+ },
2357
+ {
2358
+ "type": "text",
2359
+ "notNull": false,
2360
+ "autoincrement": false,
2361
+ "default": null,
2362
+ "generated": null,
2363
+ "name": "response_hash",
2364
+ "entityType": "columns",
2365
+ "table": "token_usage"
2366
+ },
2367
+ {
2368
+ "type": "text",
2369
+ "notNull": true,
2370
+ "autoincrement": false,
2371
+ "default": "'{}'",
2372
+ "generated": null,
2373
+ "name": "metadata_json",
2374
+ "entityType": "columns",
2375
+ "table": "token_usage"
2376
+ },
2377
+ {
2378
+ "type": "text",
2379
+ "notNull": false,
2380
+ "autoincrement": false,
2381
+ "default": null,
2382
+ "generated": null,
2383
+ "name": "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": "chain_id",
2394
+ "entityType": "columns",
2395
+ "table": "warp_chain_instances"
2396
+ },
2397
+ {
2398
+ "type": "text",
2399
+ "notNull": true,
2400
+ "autoincrement": false,
2401
+ "default": null,
2402
+ "generated": null,
2403
+ "name": "epic_id",
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": "variables",
2414
+ "entityType": "columns",
2415
+ "table": "warp_chain_instances"
2416
+ },
2417
+ {
2418
+ "type": "text",
2419
+ "notNull": false,
2420
+ "autoincrement": false,
2421
+ "default": null,
2422
+ "generated": null,
2423
+ "name": "stage_to_task",
2424
+ "entityType": "columns",
2425
+ "table": "warp_chain_instances"
2426
+ },
2427
+ {
2428
+ "type": "text",
2429
+ "notNull": true,
2430
+ "autoincrement": false,
2431
+ "default": "'pending'",
2432
+ "generated": null,
2433
+ "name": "status",
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": "current_stage",
2444
+ "entityType": "columns",
2445
+ "table": "warp_chain_instances"
2446
+ },
2447
+ {
2448
+ "type": "text",
2449
+ "notNull": false,
2450
+ "autoincrement": false,
2451
+ "default": null,
2452
+ "generated": null,
2453
+ "name": "gate_results",
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": "created_at",
2464
+ "entityType": "columns",
2465
+ "table": "warp_chain_instances"
2466
+ },
2467
+ {
2468
+ "type": "text",
2469
+ "notNull": false,
2470
+ "autoincrement": false,
2471
+ "default": "(datetime('now'))",
2472
+ "generated": null,
2473
+ "name": "updated_at",
2474
+ "entityType": "columns",
2475
+ "table": "warp_chain_instances"
2476
+ },
2477
+ {
2478
+ "type": "text",
2479
+ "notNull": false,
2480
+ "autoincrement": false,
2481
+ "default": null,
2482
+ "generated": null,
2483
+ "name": "id",
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": "name",
2494
+ "entityType": "columns",
2495
+ "table": "warp_chains"
2496
+ },
2497
+ {
2498
+ "type": "text",
2499
+ "notNull": true,
2500
+ "autoincrement": false,
2501
+ "default": null,
2502
+ "generated": null,
2503
+ "name": "version",
2504
+ "entityType": "columns",
2505
+ "table": "warp_chains"
2506
+ },
2507
+ {
2508
+ "type": "text",
2509
+ "notNull": false,
2510
+ "autoincrement": false,
2511
+ "default": null,
2512
+ "generated": null,
2513
+ "name": "description",
2514
+ "entityType": "columns",
2515
+ "table": "warp_chains"
2516
+ },
2517
+ {
2518
+ "type": "text",
2519
+ "notNull": true,
2520
+ "autoincrement": false,
2521
+ "default": null,
2522
+ "generated": null,
2523
+ "name": "definition",
2524
+ "entityType": "columns",
2525
+ "table": "warp_chains"
2526
+ },
2527
+ {
2528
+ "type": "integer",
2529
+ "notNull": false,
2530
+ "autoincrement": false,
2531
+ "default": "false",
2532
+ "generated": null,
2533
+ "name": "validated",
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": "created_at",
2544
+ "entityType": "columns",
2545
+ "table": "warp_chains"
2546
+ },
2547
+ {
2548
+ "type": "text",
2549
+ "notNull": false,
2550
+ "autoincrement": false,
2551
+ "default": "(datetime('now'))",
2552
+ "generated": null,
2553
+ "name": "updated_at",
2554
+ "entityType": "columns",
2555
+ "table": "warp_chains"
2556
+ },
2557
+ {
2558
+ "columns": [
2559
+ "from_adr_id"
2560
+ ],
2561
+ "tableTo": "architecture_decisions",
2562
+ "columnsTo": [
2563
+ "id"
2564
+ ],
2565
+ "onUpdate": "NO ACTION",
2566
+ "onDelete": "CASCADE",
2567
+ "nameExplicit": false,
2568
+ "name": "fk_adr_relations_from_adr_id_architecture_decisions_id_fk",
2569
+ "entityType": "fks",
2570
+ "table": "adr_relations"
2571
+ },
2572
+ {
2573
+ "columns": [
2574
+ "to_adr_id"
2575
+ ],
2576
+ "tableTo": "architecture_decisions",
2577
+ "columnsTo": [
2578
+ "id"
2579
+ ],
2580
+ "onUpdate": "NO ACTION",
2581
+ "onDelete": "CASCADE",
2582
+ "nameExplicit": false,
2583
+ "name": "fk_adr_relations_to_adr_id_architecture_decisions_id_fk",
2584
+ "entityType": "fks",
2585
+ "table": "adr_relations"
2586
+ },
2587
+ {
2588
+ "columns": [
2589
+ "adr_id"
2590
+ ],
2591
+ "tableTo": "architecture_decisions",
2592
+ "columnsTo": [
2593
+ "id"
2594
+ ],
2595
+ "onUpdate": "NO ACTION",
2596
+ "onDelete": "CASCADE",
2597
+ "nameExplicit": false,
2598
+ "name": "fk_adr_task_links_adr_id_architecture_decisions_id_fk",
2599
+ "entityType": "fks",
2600
+ "table": "adr_task_links"
2601
+ },
2602
+ {
2603
+ "columns": [
2604
+ "stage_id"
2605
+ ],
2606
+ "tableTo": "lifecycle_stages",
2607
+ "columnsTo": [
2608
+ "id"
2609
+ ],
2610
+ "onUpdate": "NO ACTION",
2611
+ "onDelete": "CASCADE",
2612
+ "nameExplicit": false,
2613
+ "name": "fk_lifecycle_evidence_stage_id_lifecycle_stages_id_fk",
2614
+ "entityType": "fks",
2615
+ "table": "lifecycle_evidence"
2616
+ },
2617
+ {
2618
+ "columns": [
2619
+ "stage_id"
2620
+ ],
2621
+ "tableTo": "lifecycle_stages",
2622
+ "columnsTo": [
2623
+ "id"
2624
+ ],
2625
+ "onUpdate": "NO ACTION",
2626
+ "onDelete": "CASCADE",
2627
+ "nameExplicit": false,
2628
+ "name": "fk_lifecycle_gate_results_stage_id_lifecycle_stages_id_fk",
2629
+ "entityType": "fks",
2630
+ "table": "lifecycle_gate_results"
2631
+ },
2632
+ {
2633
+ "columns": [
2634
+ "task_id"
2635
+ ],
2636
+ "tableTo": "tasks",
2637
+ "columnsTo": [
2638
+ "id"
2639
+ ],
2640
+ "onUpdate": "NO ACTION",
2641
+ "onDelete": "CASCADE",
2642
+ "nameExplicit": false,
2643
+ "name": "fk_lifecycle_pipelines_task_id_tasks_id_fk",
2644
+ "entityType": "fks",
2645
+ "table": "lifecycle_pipelines"
2646
+ },
2647
+ {
2648
+ "columns": [
2649
+ "pipeline_id"
2650
+ ],
2651
+ "tableTo": "lifecycle_pipelines",
2652
+ "columnsTo": [
2653
+ "id"
2654
+ ],
2655
+ "onUpdate": "NO ACTION",
2656
+ "onDelete": "CASCADE",
2657
+ "nameExplicit": false,
2658
+ "name": "fk_lifecycle_stages_pipeline_id_lifecycle_pipelines_id_fk",
2659
+ "entityType": "fks",
2660
+ "table": "lifecycle_stages"
2661
+ },
2662
+ {
2663
+ "columns": [
2664
+ "pipeline_id"
2665
+ ],
2666
+ "tableTo": "lifecycle_pipelines",
2667
+ "columnsTo": [
2668
+ "id"
2669
+ ],
2670
+ "onUpdate": "NO ACTION",
2671
+ "onDelete": "CASCADE",
2672
+ "nameExplicit": false,
2673
+ "name": "fk_lifecycle_transitions_pipeline_id_lifecycle_pipelines_id_fk",
2674
+ "entityType": "fks",
2675
+ "table": "lifecycle_transitions"
2676
+ },
2677
+ {
2678
+ "columns": [
2679
+ "pipeline_id"
2680
+ ],
2681
+ "tableTo": "lifecycle_pipelines",
2682
+ "columnsTo": [
2683
+ "id"
2684
+ ],
2685
+ "onUpdate": "NO ACTION",
2686
+ "onDelete": "CASCADE",
2687
+ "nameExplicit": false,
2688
+ "name": "fk_manifest_entries_pipeline_id_lifecycle_pipelines_id_fk",
2689
+ "entityType": "fks",
2690
+ "table": "manifest_entries"
2691
+ },
2692
+ {
2693
+ "columns": [
2694
+ "stage_id"
2695
+ ],
2696
+ "tableTo": "lifecycle_stages",
2697
+ "columnsTo": [
2698
+ "id"
2699
+ ],
2700
+ "onUpdate": "NO ACTION",
2701
+ "onDelete": "CASCADE",
2702
+ "nameExplicit": false,
2703
+ "name": "fk_manifest_entries_stage_id_lifecycle_stages_id_fk",
2704
+ "entityType": "fks",
2705
+ "table": "manifest_entries"
2706
+ },
2707
+ {
2708
+ "columns": [
2709
+ "pipeline_id"
2710
+ ],
2711
+ "tableTo": "lifecycle_pipelines",
2712
+ "columnsTo": [
2713
+ "id"
2714
+ ],
2715
+ "onUpdate": "NO ACTION",
2716
+ "onDelete": "NO ACTION",
2717
+ "nameExplicit": false,
2718
+ "name": "fk_release_manifests_pipeline_id_lifecycle_pipelines_id_fk",
2719
+ "entityType": "fks",
2720
+ "table": "release_manifests"
2721
+ },
2722
+ {
2723
+ "columns": [
2724
+ "task_id"
2725
+ ],
2726
+ "tableTo": "tasks",
2727
+ "columnsTo": [
2728
+ "id"
2729
+ ],
2730
+ "onUpdate": "NO ACTION",
2731
+ "onDelete": "CASCADE",
2732
+ "nameExplicit": false,
2733
+ "name": "fk_task_dependencies_task_id_tasks_id_fk",
2734
+ "entityType": "fks",
2735
+ "table": "task_dependencies"
2736
+ },
2737
+ {
2738
+ "columns": [
2739
+ "depends_on"
2740
+ ],
2741
+ "tableTo": "tasks",
2742
+ "columnsTo": [
2743
+ "id"
2744
+ ],
2745
+ "onUpdate": "NO ACTION",
2746
+ "onDelete": "CASCADE",
2747
+ "nameExplicit": false,
2748
+ "name": "fk_task_dependencies_depends_on_tasks_id_fk",
2749
+ "entityType": "fks",
2750
+ "table": "task_dependencies"
2751
+ },
2752
+ {
2753
+ "columns": [
2754
+ "task_id"
2755
+ ],
2756
+ "tableTo": "tasks",
2757
+ "columnsTo": [
2758
+ "id"
2759
+ ],
2760
+ "onUpdate": "NO ACTION",
2761
+ "onDelete": "CASCADE",
2762
+ "nameExplicit": false,
2763
+ "name": "fk_task_relations_task_id_tasks_id_fk",
2764
+ "entityType": "fks",
2765
+ "table": "task_relations"
2766
+ },
2767
+ {
2768
+ "columns": [
2769
+ "related_to"
2770
+ ],
2771
+ "tableTo": "tasks",
2772
+ "columnsTo": [
2773
+ "id"
2774
+ ],
2775
+ "onUpdate": "NO ACTION",
2776
+ "onDelete": "CASCADE",
2777
+ "nameExplicit": false,
2778
+ "name": "fk_task_relations_related_to_tasks_id_fk",
2779
+ "entityType": "fks",
2780
+ "table": "task_relations"
2781
+ },
2782
+ {
2783
+ "columns": [
2784
+ "session_id"
2785
+ ],
2786
+ "tableTo": "sessions",
2787
+ "columnsTo": [
2788
+ "id"
2789
+ ],
2790
+ "onUpdate": "NO ACTION",
2791
+ "onDelete": "CASCADE",
2792
+ "nameExplicit": false,
2793
+ "name": "fk_task_work_history_session_id_sessions_id_fk",
2794
+ "entityType": "fks",
2795
+ "table": "task_work_history"
2796
+ },
2797
+ {
2798
+ "columns": [
2799
+ "parent_id"
2800
+ ],
2801
+ "tableTo": "tasks",
2802
+ "columnsTo": [
2803
+ "id"
2804
+ ],
2805
+ "onUpdate": "NO ACTION",
2806
+ "onDelete": "SET NULL",
2807
+ "nameExplicit": false,
2808
+ "name": "fk_tasks_parent_id_tasks_id_fk",
2809
+ "entityType": "fks",
2810
+ "table": "tasks"
2811
+ },
2812
+ {
2813
+ "columns": [
2814
+ "chain_id"
2815
+ ],
2816
+ "tableTo": "warp_chains",
2817
+ "columnsTo": [
2818
+ "id"
2819
+ ],
2820
+ "onUpdate": "NO ACTION",
2821
+ "onDelete": "NO ACTION",
2822
+ "nameExplicit": false,
2823
+ "name": "fk_warp_chain_instances_chain_id_warp_chains_id_fk",
2824
+ "entityType": "fks",
2825
+ "table": "warp_chain_instances"
2826
+ },
2827
+ {
2828
+ "columns": [
2829
+ "from_adr_id",
2830
+ "to_adr_id",
2831
+ "relation_type"
2832
+ ],
2833
+ "nameExplicit": false,
2834
+ "name": "adr_relations_pk",
2835
+ "entityType": "pks",
2836
+ "table": "adr_relations"
2837
+ },
2838
+ {
2839
+ "columns": [
2840
+ "adr_id",
2841
+ "task_id"
2842
+ ],
2843
+ "nameExplicit": false,
2844
+ "name": "adr_task_links_pk",
2845
+ "entityType": "pks",
2846
+ "table": "adr_task_links"
2847
+ },
2848
+ {
2849
+ "columns": [
2850
+ "name",
2851
+ "entity_type"
2852
+ ],
2853
+ "nameExplicit": false,
2854
+ "name": "status_registry_pk",
2855
+ "entityType": "pks",
2856
+ "table": "status_registry"
2857
+ },
2858
+ {
2859
+ "columns": [
2860
+ "task_id",
2861
+ "depends_on"
2862
+ ],
2863
+ "nameExplicit": false,
2864
+ "name": "task_dependencies_pk",
2865
+ "entityType": "pks",
2866
+ "table": "task_dependencies"
2867
+ },
2868
+ {
2869
+ "columns": [
2870
+ "task_id",
2871
+ "related_to"
2872
+ ],
2873
+ "nameExplicit": false,
2874
+ "name": "task_relations_pk",
2875
+ "entityType": "pks",
2876
+ "table": "task_relations"
2877
+ },
2878
+ {
2879
+ "columns": [
2880
+ "id"
2881
+ ],
2882
+ "nameExplicit": false,
2883
+ "name": "architecture_decisions_pk",
2884
+ "table": "architecture_decisions",
2885
+ "entityType": "pks"
2886
+ },
2887
+ {
2888
+ "columns": [
2889
+ "id"
2890
+ ],
2891
+ "nameExplicit": false,
2892
+ "name": "audit_log_pk",
2893
+ "table": "audit_log",
2894
+ "entityType": "pks"
2895
+ },
2896
+ {
2897
+ "columns": [
2898
+ "id"
2899
+ ],
2900
+ "nameExplicit": false,
2901
+ "name": "lifecycle_evidence_pk",
2902
+ "table": "lifecycle_evidence",
2903
+ "entityType": "pks"
2904
+ },
2905
+ {
2906
+ "columns": [
2907
+ "id"
2908
+ ],
2909
+ "nameExplicit": false,
2910
+ "name": "lifecycle_gate_results_pk",
2911
+ "table": "lifecycle_gate_results",
2912
+ "entityType": "pks"
2913
+ },
2914
+ {
2915
+ "columns": [
2916
+ "id"
2917
+ ],
2918
+ "nameExplicit": false,
2919
+ "name": "lifecycle_pipelines_pk",
2920
+ "table": "lifecycle_pipelines",
2921
+ "entityType": "pks"
2922
+ },
2923
+ {
2924
+ "columns": [
2925
+ "id"
2926
+ ],
2927
+ "nameExplicit": false,
2928
+ "name": "lifecycle_stages_pk",
2929
+ "table": "lifecycle_stages",
2930
+ "entityType": "pks"
2931
+ },
2932
+ {
2933
+ "columns": [
2934
+ "id"
2935
+ ],
2936
+ "nameExplicit": false,
2937
+ "name": "lifecycle_transitions_pk",
2938
+ "table": "lifecycle_transitions",
2939
+ "entityType": "pks"
2940
+ },
2941
+ {
2942
+ "columns": [
2943
+ "id"
2944
+ ],
2945
+ "nameExplicit": false,
2946
+ "name": "manifest_entries_pk",
2947
+ "table": "manifest_entries",
2948
+ "entityType": "pks"
2949
+ },
2950
+ {
2951
+ "columns": [
2952
+ "id"
2953
+ ],
2954
+ "nameExplicit": false,
2955
+ "name": "pipeline_manifest_pk",
2956
+ "table": "pipeline_manifest",
2957
+ "entityType": "pks"
2958
+ },
2959
+ {
2960
+ "columns": [
2961
+ "id"
2962
+ ],
2963
+ "nameExplicit": false,
2964
+ "name": "release_manifests_pk",
2965
+ "table": "release_manifests",
2966
+ "entityType": "pks"
2967
+ },
2968
+ {
2969
+ "columns": [
2970
+ "key"
2971
+ ],
2972
+ "nameExplicit": false,
2973
+ "name": "schema_meta_pk",
2974
+ "table": "schema_meta",
2975
+ "entityType": "pks"
2976
+ },
2977
+ {
2978
+ "columns": [
2979
+ "id"
2980
+ ],
2981
+ "nameExplicit": false,
2982
+ "name": "sessions_pk",
2983
+ "table": "sessions",
2984
+ "entityType": "pks"
2985
+ },
2986
+ {
2987
+ "columns": [
2988
+ "id"
2989
+ ],
2990
+ "nameExplicit": false,
2991
+ "name": "task_work_history_pk",
2992
+ "table": "task_work_history",
2993
+ "entityType": "pks"
2994
+ },
2995
+ {
2996
+ "columns": [
2997
+ "id"
2998
+ ],
2999
+ "nameExplicit": false,
3000
+ "name": "tasks_pk",
3001
+ "table": "tasks",
3002
+ "entityType": "pks"
3003
+ },
3004
+ {
3005
+ "columns": [
3006
+ "id"
3007
+ ],
3008
+ "nameExplicit": false,
3009
+ "name": "token_usage_pk",
3010
+ "table": "token_usage",
3011
+ "entityType": "pks"
3012
+ },
3013
+ {
3014
+ "columns": [
3015
+ "id"
3016
+ ],
3017
+ "nameExplicit": false,
3018
+ "name": "warp_chain_instances_pk",
3019
+ "table": "warp_chain_instances",
3020
+ "entityType": "pks"
3021
+ },
3022
+ {
3023
+ "columns": [
3024
+ "id"
3025
+ ],
3026
+ "nameExplicit": false,
3027
+ "name": "warp_chains_pk",
3028
+ "table": "warp_chains",
3029
+ "entityType": "pks"
3030
+ },
3031
+ {
3032
+ "columns": [
3033
+ {
3034
+ "value": "task_id",
3035
+ "isExpression": false
3036
+ }
3037
+ ],
3038
+ "isUnique": false,
3039
+ "where": null,
3040
+ "origin": "manual",
3041
+ "name": "idx_adr_task_links_task_id",
3042
+ "entityType": "indexes",
3043
+ "table": "adr_task_links"
3044
+ },
3045
+ {
3046
+ "columns": [
3047
+ {
3048
+ "value": "status",
3049
+ "isExpression": false
3050
+ }
3051
+ ],
3052
+ "isUnique": false,
3053
+ "where": null,
3054
+ "origin": "manual",
3055
+ "name": "idx_arch_decisions_status",
3056
+ "entityType": "indexes",
3057
+ "table": "architecture_decisions"
3058
+ },
3059
+ {
3060
+ "columns": [
3061
+ {
3062
+ "value": "task_id",
3063
+ "isExpression": false
3064
+ }
3065
+ ],
3066
+ "isUnique": false,
3067
+ "where": null,
3068
+ "origin": "manual",
3069
+ "name": "idx_audit_log_task_id",
3070
+ "entityType": "indexes",
3071
+ "table": "audit_log"
3072
+ },
3073
+ {
3074
+ "columns": [
3075
+ {
3076
+ "value": "action",
3077
+ "isExpression": false
3078
+ }
3079
+ ],
3080
+ "isUnique": false,
3081
+ "where": null,
3082
+ "origin": "manual",
3083
+ "name": "idx_audit_log_action",
3084
+ "entityType": "indexes",
3085
+ "table": "audit_log"
3086
+ },
3087
+ {
3088
+ "columns": [
3089
+ {
3090
+ "value": "timestamp",
3091
+ "isExpression": false
3092
+ }
3093
+ ],
3094
+ "isUnique": false,
3095
+ "where": null,
3096
+ "origin": "manual",
3097
+ "name": "idx_audit_log_timestamp",
3098
+ "entityType": "indexes",
3099
+ "table": "audit_log"
3100
+ },
3101
+ {
3102
+ "columns": [
3103
+ {
3104
+ "value": "domain",
3105
+ "isExpression": false
3106
+ }
3107
+ ],
3108
+ "isUnique": false,
3109
+ "where": null,
3110
+ "origin": "manual",
3111
+ "name": "idx_audit_log_domain",
3112
+ "entityType": "indexes",
3113
+ "table": "audit_log"
3114
+ },
3115
+ {
3116
+ "columns": [
3117
+ {
3118
+ "value": "request_id",
3119
+ "isExpression": false
3120
+ }
3121
+ ],
3122
+ "isUnique": false,
3123
+ "where": null,
3124
+ "origin": "manual",
3125
+ "name": "idx_audit_log_request_id",
3126
+ "entityType": "indexes",
3127
+ "table": "audit_log"
3128
+ },
3129
+ {
3130
+ "columns": [
3131
+ {
3132
+ "value": "project_hash",
3133
+ "isExpression": false
3134
+ }
3135
+ ],
3136
+ "isUnique": false,
3137
+ "where": null,
3138
+ "origin": "manual",
3139
+ "name": "idx_audit_log_project_hash",
3140
+ "entityType": "indexes",
3141
+ "table": "audit_log"
3142
+ },
3143
+ {
3144
+ "columns": [
3145
+ {
3146
+ "value": "stage_id",
3147
+ "isExpression": false
3148
+ }
3149
+ ],
3150
+ "isUnique": false,
3151
+ "where": null,
3152
+ "origin": "manual",
3153
+ "name": "idx_lifecycle_evidence_stage_id",
3154
+ "entityType": "indexes",
3155
+ "table": "lifecycle_evidence"
3156
+ },
3157
+ {
3158
+ "columns": [
3159
+ {
3160
+ "value": "stage_id",
3161
+ "isExpression": false
3162
+ }
3163
+ ],
3164
+ "isUnique": false,
3165
+ "where": null,
3166
+ "origin": "manual",
3167
+ "name": "idx_lifecycle_gate_results_stage_id",
3168
+ "entityType": "indexes",
3169
+ "table": "lifecycle_gate_results"
3170
+ },
3171
+ {
3172
+ "columns": [
3173
+ {
3174
+ "value": "task_id",
3175
+ "isExpression": false
3176
+ }
3177
+ ],
3178
+ "isUnique": false,
3179
+ "where": null,
3180
+ "origin": "manual",
3181
+ "name": "idx_lifecycle_pipelines_task_id",
3182
+ "entityType": "indexes",
3183
+ "table": "lifecycle_pipelines"
3184
+ },
3185
+ {
3186
+ "columns": [
3187
+ {
3188
+ "value": "status",
3189
+ "isExpression": false
3190
+ }
3191
+ ],
3192
+ "isUnique": false,
3193
+ "where": null,
3194
+ "origin": "manual",
3195
+ "name": "idx_lifecycle_pipelines_status",
3196
+ "entityType": "indexes",
3197
+ "table": "lifecycle_pipelines"
3198
+ },
3199
+ {
3200
+ "columns": [
3201
+ {
3202
+ "value": "pipeline_id",
3203
+ "isExpression": false
3204
+ }
3205
+ ],
3206
+ "isUnique": false,
3207
+ "where": null,
3208
+ "origin": "manual",
3209
+ "name": "idx_lifecycle_stages_pipeline_id",
3210
+ "entityType": "indexes",
3211
+ "table": "lifecycle_stages"
3212
+ },
3213
+ {
3214
+ "columns": [
3215
+ {
3216
+ "value": "stage_name",
3217
+ "isExpression": false
3218
+ }
3219
+ ],
3220
+ "isUnique": false,
3221
+ "where": null,
3222
+ "origin": "manual",
3223
+ "name": "idx_lifecycle_stages_stage_name",
3224
+ "entityType": "indexes",
3225
+ "table": "lifecycle_stages"
3226
+ },
3227
+ {
3228
+ "columns": [
3229
+ {
3230
+ "value": "status",
3231
+ "isExpression": false
3232
+ }
3233
+ ],
3234
+ "isUnique": false,
3235
+ "where": null,
3236
+ "origin": "manual",
3237
+ "name": "idx_lifecycle_stages_status",
3238
+ "entityType": "indexes",
3239
+ "table": "lifecycle_stages"
3240
+ },
3241
+ {
3242
+ "columns": [
3243
+ {
3244
+ "value": "pipeline_id",
3245
+ "isExpression": false
3246
+ }
3247
+ ],
3248
+ "isUnique": false,
3249
+ "where": null,
3250
+ "origin": "manual",
3251
+ "name": "idx_lifecycle_transitions_pipeline_id",
3252
+ "entityType": "indexes",
3253
+ "table": "lifecycle_transitions"
3254
+ },
3255
+ {
3256
+ "columns": [
3257
+ {
3258
+ "value": "pipeline_id",
3259
+ "isExpression": false
3260
+ }
3261
+ ],
3262
+ "isUnique": false,
3263
+ "where": null,
3264
+ "origin": "manual",
3265
+ "name": "idx_manifest_entries_pipeline_id",
3266
+ "entityType": "indexes",
3267
+ "table": "manifest_entries"
3268
+ },
3269
+ {
3270
+ "columns": [
3271
+ {
3272
+ "value": "stage_id",
3273
+ "isExpression": false
3274
+ }
3275
+ ],
3276
+ "isUnique": false,
3277
+ "where": null,
3278
+ "origin": "manual",
3279
+ "name": "idx_manifest_entries_stage_id",
3280
+ "entityType": "indexes",
3281
+ "table": "manifest_entries"
3282
+ },
3283
+ {
3284
+ "columns": [
3285
+ {
3286
+ "value": "status",
3287
+ "isExpression": false
3288
+ }
3289
+ ],
3290
+ "isUnique": false,
3291
+ "where": null,
3292
+ "origin": "manual",
3293
+ "name": "idx_manifest_entries_status",
3294
+ "entityType": "indexes",
3295
+ "table": "manifest_entries"
3296
+ },
3297
+ {
3298
+ "columns": [
3299
+ {
3300
+ "value": "task_id",
3301
+ "isExpression": false
3302
+ }
3303
+ ],
3304
+ "isUnique": false,
3305
+ "where": null,
3306
+ "origin": "manual",
3307
+ "name": "idx_pipeline_manifest_task_id",
3308
+ "entityType": "indexes",
3309
+ "table": "pipeline_manifest"
3310
+ },
3311
+ {
3312
+ "columns": [
3313
+ {
3314
+ "value": "session_id",
3315
+ "isExpression": false
3316
+ }
3317
+ ],
3318
+ "isUnique": false,
3319
+ "where": null,
3320
+ "origin": "manual",
3321
+ "name": "idx_pipeline_manifest_session_id",
3322
+ "entityType": "indexes",
3323
+ "table": "pipeline_manifest"
3324
+ },
3325
+ {
3326
+ "columns": [
3327
+ {
3328
+ "value": "distilled",
3329
+ "isExpression": false
3330
+ }
3331
+ ],
3332
+ "isUnique": false,
3333
+ "where": null,
3334
+ "origin": "manual",
3335
+ "name": "idx_pipeline_manifest_distilled",
3336
+ "entityType": "indexes",
3337
+ "table": "pipeline_manifest"
3338
+ },
3339
+ {
3340
+ "columns": [
3341
+ {
3342
+ "value": "status",
3343
+ "isExpression": false
3344
+ }
3345
+ ],
3346
+ "isUnique": false,
3347
+ "where": null,
3348
+ "origin": "manual",
3349
+ "name": "idx_pipeline_manifest_status",
3350
+ "entityType": "indexes",
3351
+ "table": "pipeline_manifest"
3352
+ },
3353
+ {
3354
+ "columns": [
3355
+ {
3356
+ "value": "content_hash",
3357
+ "isExpression": false
3358
+ }
3359
+ ],
3360
+ "isUnique": false,
3361
+ "where": null,
3362
+ "origin": "manual",
3363
+ "name": "idx_pipeline_manifest_content_hash",
3364
+ "entityType": "indexes",
3365
+ "table": "pipeline_manifest"
3366
+ },
3367
+ {
3368
+ "columns": [
3369
+ {
3370
+ "value": "status",
3371
+ "isExpression": false
3372
+ }
3373
+ ],
3374
+ "isUnique": false,
3375
+ "where": null,
3376
+ "origin": "manual",
3377
+ "name": "idx_release_manifests_status",
3378
+ "entityType": "indexes",
3379
+ "table": "release_manifests"
3380
+ },
3381
+ {
3382
+ "columns": [
3383
+ {
3384
+ "value": "version",
3385
+ "isExpression": false
3386
+ }
3387
+ ],
3388
+ "isUnique": false,
3389
+ "where": null,
3390
+ "origin": "manual",
3391
+ "name": "idx_release_manifests_version",
3392
+ "entityType": "indexes",
3393
+ "table": "release_manifests"
3394
+ },
3395
+ {
3396
+ "columns": [
3397
+ {
3398
+ "value": "status",
3399
+ "isExpression": false
3400
+ }
3401
+ ],
3402
+ "isUnique": false,
3403
+ "where": null,
3404
+ "origin": "manual",
3405
+ "name": "idx_sessions_status",
3406
+ "entityType": "indexes",
3407
+ "table": "sessions"
3408
+ },
3409
+ {
3410
+ "columns": [
3411
+ {
3412
+ "value": "previous_session_id",
3413
+ "isExpression": false
3414
+ }
3415
+ ],
3416
+ "isUnique": false,
3417
+ "where": null,
3418
+ "origin": "manual",
3419
+ "name": "idx_sessions_previous",
3420
+ "entityType": "indexes",
3421
+ "table": "sessions"
3422
+ },
3423
+ {
3424
+ "columns": [
3425
+ {
3426
+ "value": "agent_identifier",
3427
+ "isExpression": false
3428
+ }
3429
+ ],
3430
+ "isUnique": false,
3431
+ "where": null,
3432
+ "origin": "manual",
3433
+ "name": "idx_sessions_agent_identifier",
3434
+ "entityType": "indexes",
3435
+ "table": "sessions"
3436
+ },
3437
+ {
3438
+ "columns": [
3439
+ {
3440
+ "value": "entity_type",
3441
+ "isExpression": false
3442
+ }
3443
+ ],
3444
+ "isUnique": false,
3445
+ "where": null,
3446
+ "origin": "manual",
3447
+ "name": "idx_status_registry_entity_type",
3448
+ "entityType": "indexes",
3449
+ "table": "status_registry"
3450
+ },
3451
+ {
3452
+ "columns": [
3453
+ {
3454
+ "value": "namespace",
3455
+ "isExpression": false
3456
+ }
3457
+ ],
3458
+ "isUnique": false,
3459
+ "where": null,
3460
+ "origin": "manual",
3461
+ "name": "idx_status_registry_namespace",
3462
+ "entityType": "indexes",
3463
+ "table": "status_registry"
3464
+ },
3465
+ {
3466
+ "columns": [
3467
+ {
3468
+ "value": "depends_on",
3469
+ "isExpression": false
3470
+ }
3471
+ ],
3472
+ "isUnique": false,
3473
+ "where": null,
3474
+ "origin": "manual",
3475
+ "name": "idx_deps_depends_on",
3476
+ "entityType": "indexes",
3477
+ "table": "task_dependencies"
3478
+ },
3479
+ {
3480
+ "columns": [
3481
+ {
3482
+ "value": "session_id",
3483
+ "isExpression": false
3484
+ }
3485
+ ],
3486
+ "isUnique": false,
3487
+ "where": null,
3488
+ "origin": "manual",
3489
+ "name": "idx_work_history_session",
3490
+ "entityType": "indexes",
3491
+ "table": "task_work_history"
3492
+ },
3493
+ {
3494
+ "columns": [
3495
+ {
3496
+ "value": "status",
3497
+ "isExpression": false
3498
+ }
3499
+ ],
3500
+ "isUnique": false,
3501
+ "where": null,
3502
+ "origin": "manual",
3503
+ "name": "idx_tasks_status",
3504
+ "entityType": "indexes",
3505
+ "table": "tasks"
3506
+ },
3507
+ {
3508
+ "columns": [
3509
+ {
3510
+ "value": "parent_id",
3511
+ "isExpression": false
3512
+ }
3513
+ ],
3514
+ "isUnique": false,
3515
+ "where": null,
3516
+ "origin": "manual",
3517
+ "name": "idx_tasks_parent_id",
3518
+ "entityType": "indexes",
3519
+ "table": "tasks"
3520
+ },
3521
+ {
3522
+ "columns": [
3523
+ {
3524
+ "value": "phase",
3525
+ "isExpression": false
3526
+ }
3527
+ ],
3528
+ "isUnique": false,
3529
+ "where": null,
3530
+ "origin": "manual",
3531
+ "name": "idx_tasks_phase",
3532
+ "entityType": "indexes",
3533
+ "table": "tasks"
3534
+ },
3535
+ {
3536
+ "columns": [
3537
+ {
3538
+ "value": "type",
3539
+ "isExpression": false
3540
+ }
3541
+ ],
3542
+ "isUnique": false,
3543
+ "where": null,
3544
+ "origin": "manual",
3545
+ "name": "idx_tasks_type",
3546
+ "entityType": "indexes",
3547
+ "table": "tasks"
3548
+ },
3549
+ {
3550
+ "columns": [
3551
+ {
3552
+ "value": "priority",
3553
+ "isExpression": false
3554
+ }
3555
+ ],
3556
+ "isUnique": false,
3557
+ "where": null,
3558
+ "origin": "manual",
3559
+ "name": "idx_tasks_priority",
3560
+ "entityType": "indexes",
3561
+ "table": "tasks"
3562
+ },
3563
+ {
3564
+ "columns": [
3565
+ {
3566
+ "value": "created_at",
3567
+ "isExpression": false
3568
+ }
3569
+ ],
3570
+ "isUnique": false,
3571
+ "where": null,
3572
+ "origin": "manual",
3573
+ "name": "idx_token_usage_created_at",
3574
+ "entityType": "indexes",
3575
+ "table": "token_usage"
3576
+ },
3577
+ {
3578
+ "columns": [
3579
+ {
3580
+ "value": "request_id",
3581
+ "isExpression": false
3582
+ }
3583
+ ],
3584
+ "isUnique": false,
3585
+ "where": null,
3586
+ "origin": "manual",
3587
+ "name": "idx_token_usage_request_id",
3588
+ "entityType": "indexes",
3589
+ "table": "token_usage"
3590
+ },
3591
+ {
3592
+ "columns": [
3593
+ {
3594
+ "value": "session_id",
3595
+ "isExpression": false
3596
+ }
3597
+ ],
3598
+ "isUnique": false,
3599
+ "where": null,
3600
+ "origin": "manual",
3601
+ "name": "idx_token_usage_session_id",
3602
+ "entityType": "indexes",
3603
+ "table": "token_usage"
3604
+ },
3605
+ {
3606
+ "columns": [
3607
+ {
3608
+ "value": "task_id",
3609
+ "isExpression": false
3610
+ }
3611
+ ],
3612
+ "isUnique": false,
3613
+ "where": null,
3614
+ "origin": "manual",
3615
+ "name": "idx_token_usage_task_id",
3616
+ "entityType": "indexes",
3617
+ "table": "token_usage"
3618
+ },
3619
+ {
3620
+ "columns": [
3621
+ {
3622
+ "value": "provider",
3623
+ "isExpression": false
3624
+ }
3625
+ ],
3626
+ "isUnique": false,
3627
+ "where": null,
3628
+ "origin": "manual",
3629
+ "name": "idx_token_usage_provider",
3630
+ "entityType": "indexes",
3631
+ "table": "token_usage"
3632
+ },
3633
+ {
3634
+ "columns": [
3635
+ {
3636
+ "value": "transport",
3637
+ "isExpression": false
3638
+ }
3639
+ ],
3640
+ "isUnique": false,
3641
+ "where": null,
3642
+ "origin": "manual",
3643
+ "name": "idx_token_usage_transport",
3644
+ "entityType": "indexes",
3645
+ "table": "token_usage"
3646
+ },
3647
+ {
3648
+ "columns": [
3649
+ {
3650
+ "value": "domain",
3651
+ "isExpression": false
3652
+ },
3653
+ {
3654
+ "value": "operation",
3655
+ "isExpression": false
3656
+ }
3657
+ ],
3658
+ "isUnique": false,
3659
+ "where": null,
3660
+ "origin": "manual",
3661
+ "name": "idx_token_usage_domain_operation",
3662
+ "entityType": "indexes",
3663
+ "table": "token_usage"
3664
+ },
3665
+ {
3666
+ "columns": [
3667
+ {
3668
+ "value": "method",
3669
+ "isExpression": false
3670
+ }
3671
+ ],
3672
+ "isUnique": false,
3673
+ "where": null,
3674
+ "origin": "manual",
3675
+ "name": "idx_token_usage_method",
3676
+ "entityType": "indexes",
3677
+ "table": "token_usage"
3678
+ },
3679
+ {
3680
+ "columns": [
3681
+ {
3682
+ "value": "chain_id",
3683
+ "isExpression": false
3684
+ }
3685
+ ],
3686
+ "isUnique": false,
3687
+ "where": null,
3688
+ "origin": "manual",
3689
+ "name": "idx_warp_instances_chain",
3690
+ "entityType": "indexes",
3691
+ "table": "warp_chain_instances"
3692
+ },
3693
+ {
3694
+ "columns": [
3695
+ {
3696
+ "value": "epic_id",
3697
+ "isExpression": false
3698
+ }
3699
+ ],
3700
+ "isUnique": false,
3701
+ "where": null,
3702
+ "origin": "manual",
3703
+ "name": "idx_warp_instances_epic",
3704
+ "entityType": "indexes",
3705
+ "table": "warp_chain_instances"
3706
+ },
3707
+ {
3708
+ "columns": [
3709
+ {
3710
+ "value": "status",
3711
+ "isExpression": false
3712
+ }
3713
+ ],
3714
+ "isUnique": false,
3715
+ "where": null,
3716
+ "origin": "manual",
3717
+ "name": "idx_warp_instances_status",
3718
+ "entityType": "indexes",
3719
+ "table": "warp_chain_instances"
3720
+ },
3721
+ {
3722
+ "columns": [
3723
+ {
3724
+ "value": "name",
3725
+ "isExpression": false
3726
+ }
3727
+ ],
3728
+ "isUnique": false,
3729
+ "where": null,
3730
+ "origin": "manual",
3731
+ "name": "idx_warp_chains_name",
3732
+ "entityType": "indexes",
3733
+ "table": "warp_chains"
3734
+ }
3735
+ ],
3736
+ "renames": []
3737
+ }