@cleocode/cleo 2026.3.15 → 2026.3.17

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,3162 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "0bd5e7d1-24e0-4a98-9799-9ec58327342f",
5
+ "prevIds": [
6
+ "7b781406-c809-4ed5-ba41-e9dadd1fd79c"
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": "schema_meta",
55
+ "entityType": "tables"
56
+ },
57
+ {
58
+ "name": "sessions",
59
+ "entityType": "tables"
60
+ },
61
+ {
62
+ "name": "status_registry",
63
+ "entityType": "tables"
64
+ },
65
+ {
66
+ "name": "task_dependencies",
67
+ "entityType": "tables"
68
+ },
69
+ {
70
+ "name": "task_relations",
71
+ "entityType": "tables"
72
+ },
73
+ {
74
+ "name": "task_work_history",
75
+ "entityType": "tables"
76
+ },
77
+ {
78
+ "name": "tasks",
79
+ "entityType": "tables"
80
+ },
81
+ {
82
+ "name": "warp_chain_instances",
83
+ "entityType": "tables"
84
+ },
85
+ {
86
+ "name": "warp_chains",
87
+ "entityType": "tables"
88
+ },
89
+ {
90
+ "type": "text",
91
+ "notNull": true,
92
+ "autoincrement": false,
93
+ "default": null,
94
+ "generated": null,
95
+ "name": "from_adr_id",
96
+ "entityType": "columns",
97
+ "table": "adr_relations"
98
+ },
99
+ {
100
+ "type": "text",
101
+ "notNull": true,
102
+ "autoincrement": false,
103
+ "default": null,
104
+ "generated": null,
105
+ "name": "to_adr_id",
106
+ "entityType": "columns",
107
+ "table": "adr_relations"
108
+ },
109
+ {
110
+ "type": "text",
111
+ "notNull": true,
112
+ "autoincrement": false,
113
+ "default": null,
114
+ "generated": null,
115
+ "name": "relation_type",
116
+ "entityType": "columns",
117
+ "table": "adr_relations"
118
+ },
119
+ {
120
+ "type": "text",
121
+ "notNull": true,
122
+ "autoincrement": false,
123
+ "default": null,
124
+ "generated": null,
125
+ "name": "adr_id",
126
+ "entityType": "columns",
127
+ "table": "adr_task_links"
128
+ },
129
+ {
130
+ "type": "text",
131
+ "notNull": true,
132
+ "autoincrement": false,
133
+ "default": null,
134
+ "generated": null,
135
+ "name": "task_id",
136
+ "entityType": "columns",
137
+ "table": "adr_task_links"
138
+ },
139
+ {
140
+ "type": "text",
141
+ "notNull": true,
142
+ "autoincrement": false,
143
+ "default": "'related'",
144
+ "generated": null,
145
+ "name": "link_type",
146
+ "entityType": "columns",
147
+ "table": "adr_task_links"
148
+ },
149
+ {
150
+ "type": "text",
151
+ "notNull": false,
152
+ "autoincrement": false,
153
+ "default": null,
154
+ "generated": null,
155
+ "name": "id",
156
+ "entityType": "columns",
157
+ "table": "architecture_decisions"
158
+ },
159
+ {
160
+ "type": "text",
161
+ "notNull": true,
162
+ "autoincrement": false,
163
+ "default": null,
164
+ "generated": null,
165
+ "name": "title",
166
+ "entityType": "columns",
167
+ "table": "architecture_decisions"
168
+ },
169
+ {
170
+ "type": "text",
171
+ "notNull": true,
172
+ "autoincrement": false,
173
+ "default": "'proposed'",
174
+ "generated": null,
175
+ "name": "status",
176
+ "entityType": "columns",
177
+ "table": "architecture_decisions"
178
+ },
179
+ {
180
+ "type": "text",
181
+ "notNull": false,
182
+ "autoincrement": false,
183
+ "default": null,
184
+ "generated": null,
185
+ "name": "supersedes_id",
186
+ "entityType": "columns",
187
+ "table": "architecture_decisions"
188
+ },
189
+ {
190
+ "type": "text",
191
+ "notNull": false,
192
+ "autoincrement": false,
193
+ "default": null,
194
+ "generated": null,
195
+ "name": "superseded_by_id",
196
+ "entityType": "columns",
197
+ "table": "architecture_decisions"
198
+ },
199
+ {
200
+ "type": "text",
201
+ "notNull": false,
202
+ "autoincrement": false,
203
+ "default": null,
204
+ "generated": null,
205
+ "name": "consensus_manifest_id",
206
+ "entityType": "columns",
207
+ "table": "architecture_decisions"
208
+ },
209
+ {
210
+ "type": "text",
211
+ "notNull": true,
212
+ "autoincrement": false,
213
+ "default": null,
214
+ "generated": null,
215
+ "name": "content",
216
+ "entityType": "columns",
217
+ "table": "architecture_decisions"
218
+ },
219
+ {
220
+ "type": "text",
221
+ "notNull": true,
222
+ "autoincrement": false,
223
+ "default": "(datetime('now'))",
224
+ "generated": null,
225
+ "name": "created_at",
226
+ "entityType": "columns",
227
+ "table": "architecture_decisions"
228
+ },
229
+ {
230
+ "type": "text",
231
+ "notNull": false,
232
+ "autoincrement": false,
233
+ "default": null,
234
+ "generated": null,
235
+ "name": "updated_at",
236
+ "entityType": "columns",
237
+ "table": "architecture_decisions"
238
+ },
239
+ {
240
+ "type": "text",
241
+ "notNull": true,
242
+ "autoincrement": false,
243
+ "default": "''",
244
+ "generated": null,
245
+ "name": "date",
246
+ "entityType": "columns",
247
+ "table": "architecture_decisions"
248
+ },
249
+ {
250
+ "type": "text",
251
+ "notNull": false,
252
+ "autoincrement": false,
253
+ "default": null,
254
+ "generated": null,
255
+ "name": "accepted_at",
256
+ "entityType": "columns",
257
+ "table": "architecture_decisions"
258
+ },
259
+ {
260
+ "type": "text",
261
+ "notNull": false,
262
+ "autoincrement": false,
263
+ "default": null,
264
+ "generated": null,
265
+ "name": "gate",
266
+ "entityType": "columns",
267
+ "table": "architecture_decisions"
268
+ },
269
+ {
270
+ "type": "text",
271
+ "notNull": false,
272
+ "autoincrement": false,
273
+ "default": null,
274
+ "generated": null,
275
+ "name": "gate_status",
276
+ "entityType": "columns",
277
+ "table": "architecture_decisions"
278
+ },
279
+ {
280
+ "type": "text",
281
+ "notNull": false,
282
+ "autoincrement": false,
283
+ "default": null,
284
+ "generated": null,
285
+ "name": "amends_id",
286
+ "entityType": "columns",
287
+ "table": "architecture_decisions"
288
+ },
289
+ {
290
+ "type": "text",
291
+ "notNull": true,
292
+ "autoincrement": false,
293
+ "default": "''",
294
+ "generated": null,
295
+ "name": "file_path",
296
+ "entityType": "columns",
297
+ "table": "architecture_decisions"
298
+ },
299
+ {
300
+ "type": "text",
301
+ "notNull": false,
302
+ "autoincrement": false,
303
+ "default": null,
304
+ "generated": null,
305
+ "name": "summary",
306
+ "entityType": "columns",
307
+ "table": "architecture_decisions"
308
+ },
309
+ {
310
+ "type": "text",
311
+ "notNull": false,
312
+ "autoincrement": false,
313
+ "default": null,
314
+ "generated": null,
315
+ "name": "keywords",
316
+ "entityType": "columns",
317
+ "table": "architecture_decisions"
318
+ },
319
+ {
320
+ "type": "text",
321
+ "notNull": false,
322
+ "autoincrement": false,
323
+ "default": null,
324
+ "generated": null,
325
+ "name": "topics",
326
+ "entityType": "columns",
327
+ "table": "architecture_decisions"
328
+ },
329
+ {
330
+ "type": "text",
331
+ "notNull": false,
332
+ "autoincrement": false,
333
+ "default": null,
334
+ "generated": null,
335
+ "name": "id",
336
+ "entityType": "columns",
337
+ "table": "audit_log"
338
+ },
339
+ {
340
+ "type": "text",
341
+ "notNull": true,
342
+ "autoincrement": false,
343
+ "default": "(datetime('now'))",
344
+ "generated": null,
345
+ "name": "timestamp",
346
+ "entityType": "columns",
347
+ "table": "audit_log"
348
+ },
349
+ {
350
+ "type": "text",
351
+ "notNull": true,
352
+ "autoincrement": false,
353
+ "default": null,
354
+ "generated": null,
355
+ "name": "action",
356
+ "entityType": "columns",
357
+ "table": "audit_log"
358
+ },
359
+ {
360
+ "type": "text",
361
+ "notNull": true,
362
+ "autoincrement": false,
363
+ "default": null,
364
+ "generated": null,
365
+ "name": "task_id",
366
+ "entityType": "columns",
367
+ "table": "audit_log"
368
+ },
369
+ {
370
+ "type": "text",
371
+ "notNull": true,
372
+ "autoincrement": false,
373
+ "default": "'system'",
374
+ "generated": null,
375
+ "name": "actor",
376
+ "entityType": "columns",
377
+ "table": "audit_log"
378
+ },
379
+ {
380
+ "type": "text",
381
+ "notNull": false,
382
+ "autoincrement": false,
383
+ "default": "'{}'",
384
+ "generated": null,
385
+ "name": "details_json",
386
+ "entityType": "columns",
387
+ "table": "audit_log"
388
+ },
389
+ {
390
+ "type": "text",
391
+ "notNull": false,
392
+ "autoincrement": false,
393
+ "default": null,
394
+ "generated": null,
395
+ "name": "before_json",
396
+ "entityType": "columns",
397
+ "table": "audit_log"
398
+ },
399
+ {
400
+ "type": "text",
401
+ "notNull": false,
402
+ "autoincrement": false,
403
+ "default": null,
404
+ "generated": null,
405
+ "name": "after_json",
406
+ "entityType": "columns",
407
+ "table": "audit_log"
408
+ },
409
+ {
410
+ "type": "text",
411
+ "notNull": false,
412
+ "autoincrement": false,
413
+ "default": null,
414
+ "generated": null,
415
+ "name": "domain",
416
+ "entityType": "columns",
417
+ "table": "audit_log"
418
+ },
419
+ {
420
+ "type": "text",
421
+ "notNull": false,
422
+ "autoincrement": false,
423
+ "default": null,
424
+ "generated": null,
425
+ "name": "operation",
426
+ "entityType": "columns",
427
+ "table": "audit_log"
428
+ },
429
+ {
430
+ "type": "text",
431
+ "notNull": false,
432
+ "autoincrement": false,
433
+ "default": null,
434
+ "generated": null,
435
+ "name": "session_id",
436
+ "entityType": "columns",
437
+ "table": "audit_log"
438
+ },
439
+ {
440
+ "type": "text",
441
+ "notNull": false,
442
+ "autoincrement": false,
443
+ "default": null,
444
+ "generated": null,
445
+ "name": "request_id",
446
+ "entityType": "columns",
447
+ "table": "audit_log"
448
+ },
449
+ {
450
+ "type": "integer",
451
+ "notNull": false,
452
+ "autoincrement": false,
453
+ "default": null,
454
+ "generated": null,
455
+ "name": "duration_ms",
456
+ "entityType": "columns",
457
+ "table": "audit_log"
458
+ },
459
+ {
460
+ "type": "integer",
461
+ "notNull": false,
462
+ "autoincrement": false,
463
+ "default": null,
464
+ "generated": null,
465
+ "name": "success",
466
+ "entityType": "columns",
467
+ "table": "audit_log"
468
+ },
469
+ {
470
+ "type": "text",
471
+ "notNull": false,
472
+ "autoincrement": false,
473
+ "default": null,
474
+ "generated": null,
475
+ "name": "source",
476
+ "entityType": "columns",
477
+ "table": "audit_log"
478
+ },
479
+ {
480
+ "type": "text",
481
+ "notNull": false,
482
+ "autoincrement": false,
483
+ "default": null,
484
+ "generated": null,
485
+ "name": "gateway",
486
+ "entityType": "columns",
487
+ "table": "audit_log"
488
+ },
489
+ {
490
+ "type": "text",
491
+ "notNull": false,
492
+ "autoincrement": false,
493
+ "default": null,
494
+ "generated": null,
495
+ "name": "error_message",
496
+ "entityType": "columns",
497
+ "table": "audit_log"
498
+ },
499
+ {
500
+ "type": "text",
501
+ "notNull": false,
502
+ "autoincrement": false,
503
+ "default": null,
504
+ "generated": null,
505
+ "name": "project_hash",
506
+ "entityType": "columns",
507
+ "table": "audit_log"
508
+ },
509
+ {
510
+ "type": "text",
511
+ "notNull": false,
512
+ "autoincrement": false,
513
+ "default": null,
514
+ "generated": null,
515
+ "name": "id",
516
+ "entityType": "columns",
517
+ "table": "lifecycle_evidence"
518
+ },
519
+ {
520
+ "type": "text",
521
+ "notNull": true,
522
+ "autoincrement": false,
523
+ "default": null,
524
+ "generated": null,
525
+ "name": "stage_id",
526
+ "entityType": "columns",
527
+ "table": "lifecycle_evidence"
528
+ },
529
+ {
530
+ "type": "text",
531
+ "notNull": true,
532
+ "autoincrement": false,
533
+ "default": null,
534
+ "generated": null,
535
+ "name": "uri",
536
+ "entityType": "columns",
537
+ "table": "lifecycle_evidence"
538
+ },
539
+ {
540
+ "type": "text",
541
+ "notNull": true,
542
+ "autoincrement": false,
543
+ "default": null,
544
+ "generated": null,
545
+ "name": "type",
546
+ "entityType": "columns",
547
+ "table": "lifecycle_evidence"
548
+ },
549
+ {
550
+ "type": "text",
551
+ "notNull": true,
552
+ "autoincrement": false,
553
+ "default": "(datetime('now'))",
554
+ "generated": null,
555
+ "name": "recorded_at",
556
+ "entityType": "columns",
557
+ "table": "lifecycle_evidence"
558
+ },
559
+ {
560
+ "type": "text",
561
+ "notNull": false,
562
+ "autoincrement": false,
563
+ "default": null,
564
+ "generated": null,
565
+ "name": "recorded_by",
566
+ "entityType": "columns",
567
+ "table": "lifecycle_evidence"
568
+ },
569
+ {
570
+ "type": "text",
571
+ "notNull": false,
572
+ "autoincrement": false,
573
+ "default": null,
574
+ "generated": null,
575
+ "name": "description",
576
+ "entityType": "columns",
577
+ "table": "lifecycle_evidence"
578
+ },
579
+ {
580
+ "type": "text",
581
+ "notNull": false,
582
+ "autoincrement": false,
583
+ "default": null,
584
+ "generated": null,
585
+ "name": "id",
586
+ "entityType": "columns",
587
+ "table": "lifecycle_gate_results"
588
+ },
589
+ {
590
+ "type": "text",
591
+ "notNull": true,
592
+ "autoincrement": false,
593
+ "default": null,
594
+ "generated": null,
595
+ "name": "stage_id",
596
+ "entityType": "columns",
597
+ "table": "lifecycle_gate_results"
598
+ },
599
+ {
600
+ "type": "text",
601
+ "notNull": true,
602
+ "autoincrement": false,
603
+ "default": null,
604
+ "generated": null,
605
+ "name": "gate_name",
606
+ "entityType": "columns",
607
+ "table": "lifecycle_gate_results"
608
+ },
609
+ {
610
+ "type": "text",
611
+ "notNull": true,
612
+ "autoincrement": false,
613
+ "default": null,
614
+ "generated": null,
615
+ "name": "result",
616
+ "entityType": "columns",
617
+ "table": "lifecycle_gate_results"
618
+ },
619
+ {
620
+ "type": "text",
621
+ "notNull": true,
622
+ "autoincrement": false,
623
+ "default": "(datetime('now'))",
624
+ "generated": null,
625
+ "name": "checked_at",
626
+ "entityType": "columns",
627
+ "table": "lifecycle_gate_results"
628
+ },
629
+ {
630
+ "type": "text",
631
+ "notNull": true,
632
+ "autoincrement": false,
633
+ "default": null,
634
+ "generated": null,
635
+ "name": "checked_by",
636
+ "entityType": "columns",
637
+ "table": "lifecycle_gate_results"
638
+ },
639
+ {
640
+ "type": "text",
641
+ "notNull": false,
642
+ "autoincrement": false,
643
+ "default": null,
644
+ "generated": null,
645
+ "name": "details",
646
+ "entityType": "columns",
647
+ "table": "lifecycle_gate_results"
648
+ },
649
+ {
650
+ "type": "text",
651
+ "notNull": false,
652
+ "autoincrement": false,
653
+ "default": null,
654
+ "generated": null,
655
+ "name": "reason",
656
+ "entityType": "columns",
657
+ "table": "lifecycle_gate_results"
658
+ },
659
+ {
660
+ "type": "text",
661
+ "notNull": false,
662
+ "autoincrement": false,
663
+ "default": null,
664
+ "generated": null,
665
+ "name": "id",
666
+ "entityType": "columns",
667
+ "table": "lifecycle_pipelines"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "notNull": true,
672
+ "autoincrement": false,
673
+ "default": null,
674
+ "generated": null,
675
+ "name": "task_id",
676
+ "entityType": "columns",
677
+ "table": "lifecycle_pipelines"
678
+ },
679
+ {
680
+ "type": "text",
681
+ "notNull": true,
682
+ "autoincrement": false,
683
+ "default": "'active'",
684
+ "generated": null,
685
+ "name": "status",
686
+ "entityType": "columns",
687
+ "table": "lifecycle_pipelines"
688
+ },
689
+ {
690
+ "type": "text",
691
+ "notNull": false,
692
+ "autoincrement": false,
693
+ "default": null,
694
+ "generated": null,
695
+ "name": "current_stage_id",
696
+ "entityType": "columns",
697
+ "table": "lifecycle_pipelines"
698
+ },
699
+ {
700
+ "type": "text",
701
+ "notNull": true,
702
+ "autoincrement": false,
703
+ "default": "(datetime('now'))",
704
+ "generated": null,
705
+ "name": "started_at",
706
+ "entityType": "columns",
707
+ "table": "lifecycle_pipelines"
708
+ },
709
+ {
710
+ "type": "text",
711
+ "notNull": false,
712
+ "autoincrement": false,
713
+ "default": null,
714
+ "generated": null,
715
+ "name": "completed_at",
716
+ "entityType": "columns",
717
+ "table": "lifecycle_pipelines"
718
+ },
719
+ {
720
+ "type": "text",
721
+ "notNull": false,
722
+ "autoincrement": false,
723
+ "default": "(datetime('now'))",
724
+ "generated": null,
725
+ "name": "updated_at",
726
+ "entityType": "columns",
727
+ "table": "lifecycle_pipelines"
728
+ },
729
+ {
730
+ "type": "integer",
731
+ "notNull": true,
732
+ "autoincrement": false,
733
+ "default": "1",
734
+ "generated": null,
735
+ "name": "version",
736
+ "entityType": "columns",
737
+ "table": "lifecycle_pipelines"
738
+ },
739
+ {
740
+ "type": "text",
741
+ "notNull": false,
742
+ "autoincrement": false,
743
+ "default": null,
744
+ "generated": null,
745
+ "name": "id",
746
+ "entityType": "columns",
747
+ "table": "lifecycle_stages"
748
+ },
749
+ {
750
+ "type": "text",
751
+ "notNull": true,
752
+ "autoincrement": false,
753
+ "default": null,
754
+ "generated": null,
755
+ "name": "pipeline_id",
756
+ "entityType": "columns",
757
+ "table": "lifecycle_stages"
758
+ },
759
+ {
760
+ "type": "text",
761
+ "notNull": true,
762
+ "autoincrement": false,
763
+ "default": null,
764
+ "generated": null,
765
+ "name": "stage_name",
766
+ "entityType": "columns",
767
+ "table": "lifecycle_stages"
768
+ },
769
+ {
770
+ "type": "text",
771
+ "notNull": true,
772
+ "autoincrement": false,
773
+ "default": "'not_started'",
774
+ "generated": null,
775
+ "name": "status",
776
+ "entityType": "columns",
777
+ "table": "lifecycle_stages"
778
+ },
779
+ {
780
+ "type": "integer",
781
+ "notNull": true,
782
+ "autoincrement": false,
783
+ "default": null,
784
+ "generated": null,
785
+ "name": "sequence",
786
+ "entityType": "columns",
787
+ "table": "lifecycle_stages"
788
+ },
789
+ {
790
+ "type": "text",
791
+ "notNull": false,
792
+ "autoincrement": false,
793
+ "default": null,
794
+ "generated": null,
795
+ "name": "started_at",
796
+ "entityType": "columns",
797
+ "table": "lifecycle_stages"
798
+ },
799
+ {
800
+ "type": "text",
801
+ "notNull": false,
802
+ "autoincrement": false,
803
+ "default": null,
804
+ "generated": null,
805
+ "name": "completed_at",
806
+ "entityType": "columns",
807
+ "table": "lifecycle_stages"
808
+ },
809
+ {
810
+ "type": "text",
811
+ "notNull": false,
812
+ "autoincrement": false,
813
+ "default": null,
814
+ "generated": null,
815
+ "name": "blocked_at",
816
+ "entityType": "columns",
817
+ "table": "lifecycle_stages"
818
+ },
819
+ {
820
+ "type": "text",
821
+ "notNull": false,
822
+ "autoincrement": false,
823
+ "default": null,
824
+ "generated": null,
825
+ "name": "block_reason",
826
+ "entityType": "columns",
827
+ "table": "lifecycle_stages"
828
+ },
829
+ {
830
+ "type": "text",
831
+ "notNull": false,
832
+ "autoincrement": false,
833
+ "default": null,
834
+ "generated": null,
835
+ "name": "skipped_at",
836
+ "entityType": "columns",
837
+ "table": "lifecycle_stages"
838
+ },
839
+ {
840
+ "type": "text",
841
+ "notNull": false,
842
+ "autoincrement": false,
843
+ "default": null,
844
+ "generated": null,
845
+ "name": "skip_reason",
846
+ "entityType": "columns",
847
+ "table": "lifecycle_stages"
848
+ },
849
+ {
850
+ "type": "text",
851
+ "notNull": false,
852
+ "autoincrement": false,
853
+ "default": "'[]'",
854
+ "generated": null,
855
+ "name": "notes_json",
856
+ "entityType": "columns",
857
+ "table": "lifecycle_stages"
858
+ },
859
+ {
860
+ "type": "text",
861
+ "notNull": false,
862
+ "autoincrement": false,
863
+ "default": "'{}'",
864
+ "generated": null,
865
+ "name": "metadata_json",
866
+ "entityType": "columns",
867
+ "table": "lifecycle_stages"
868
+ },
869
+ {
870
+ "type": "text",
871
+ "notNull": false,
872
+ "autoincrement": false,
873
+ "default": null,
874
+ "generated": null,
875
+ "name": "output_file",
876
+ "entityType": "columns",
877
+ "table": "lifecycle_stages"
878
+ },
879
+ {
880
+ "type": "text",
881
+ "notNull": false,
882
+ "autoincrement": false,
883
+ "default": null,
884
+ "generated": null,
885
+ "name": "created_by",
886
+ "entityType": "columns",
887
+ "table": "lifecycle_stages"
888
+ },
889
+ {
890
+ "type": "text",
891
+ "notNull": false,
892
+ "autoincrement": false,
893
+ "default": null,
894
+ "generated": null,
895
+ "name": "validated_by",
896
+ "entityType": "columns",
897
+ "table": "lifecycle_stages"
898
+ },
899
+ {
900
+ "type": "text",
901
+ "notNull": false,
902
+ "autoincrement": false,
903
+ "default": null,
904
+ "generated": null,
905
+ "name": "validated_at",
906
+ "entityType": "columns",
907
+ "table": "lifecycle_stages"
908
+ },
909
+ {
910
+ "type": "text",
911
+ "notNull": false,
912
+ "autoincrement": false,
913
+ "default": null,
914
+ "generated": null,
915
+ "name": "validation_status",
916
+ "entityType": "columns",
917
+ "table": "lifecycle_stages"
918
+ },
919
+ {
920
+ "type": "text",
921
+ "notNull": false,
922
+ "autoincrement": false,
923
+ "default": null,
924
+ "generated": null,
925
+ "name": "provenance_chain_json",
926
+ "entityType": "columns",
927
+ "table": "lifecycle_stages"
928
+ },
929
+ {
930
+ "type": "text",
931
+ "notNull": false,
932
+ "autoincrement": false,
933
+ "default": null,
934
+ "generated": null,
935
+ "name": "id",
936
+ "entityType": "columns",
937
+ "table": "lifecycle_transitions"
938
+ },
939
+ {
940
+ "type": "text",
941
+ "notNull": true,
942
+ "autoincrement": false,
943
+ "default": null,
944
+ "generated": null,
945
+ "name": "pipeline_id",
946
+ "entityType": "columns",
947
+ "table": "lifecycle_transitions"
948
+ },
949
+ {
950
+ "type": "text",
951
+ "notNull": true,
952
+ "autoincrement": false,
953
+ "default": null,
954
+ "generated": null,
955
+ "name": "from_stage_id",
956
+ "entityType": "columns",
957
+ "table": "lifecycle_transitions"
958
+ },
959
+ {
960
+ "type": "text",
961
+ "notNull": true,
962
+ "autoincrement": false,
963
+ "default": null,
964
+ "generated": null,
965
+ "name": "to_stage_id",
966
+ "entityType": "columns",
967
+ "table": "lifecycle_transitions"
968
+ },
969
+ {
970
+ "type": "text",
971
+ "notNull": true,
972
+ "autoincrement": false,
973
+ "default": "'automatic'",
974
+ "generated": null,
975
+ "name": "transition_type",
976
+ "entityType": "columns",
977
+ "table": "lifecycle_transitions"
978
+ },
979
+ {
980
+ "type": "text",
981
+ "notNull": false,
982
+ "autoincrement": false,
983
+ "default": null,
984
+ "generated": null,
985
+ "name": "transitioned_by",
986
+ "entityType": "columns",
987
+ "table": "lifecycle_transitions"
988
+ },
989
+ {
990
+ "type": "text",
991
+ "notNull": true,
992
+ "autoincrement": false,
993
+ "default": "(datetime('now'))",
994
+ "generated": null,
995
+ "name": "created_at",
996
+ "entityType": "columns",
997
+ "table": "lifecycle_transitions"
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "notNull": false,
1002
+ "autoincrement": false,
1003
+ "default": null,
1004
+ "generated": null,
1005
+ "name": "id",
1006
+ "entityType": "columns",
1007
+ "table": "manifest_entries"
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "notNull": false,
1012
+ "autoincrement": false,
1013
+ "default": null,
1014
+ "generated": null,
1015
+ "name": "pipeline_id",
1016
+ "entityType": "columns",
1017
+ "table": "manifest_entries"
1018
+ },
1019
+ {
1020
+ "type": "text",
1021
+ "notNull": false,
1022
+ "autoincrement": false,
1023
+ "default": null,
1024
+ "generated": null,
1025
+ "name": "stage_id",
1026
+ "entityType": "columns",
1027
+ "table": "manifest_entries"
1028
+ },
1029
+ {
1030
+ "type": "text",
1031
+ "notNull": true,
1032
+ "autoincrement": false,
1033
+ "default": null,
1034
+ "generated": null,
1035
+ "name": "title",
1036
+ "entityType": "columns",
1037
+ "table": "manifest_entries"
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "notNull": true,
1042
+ "autoincrement": false,
1043
+ "default": null,
1044
+ "generated": null,
1045
+ "name": "date",
1046
+ "entityType": "columns",
1047
+ "table": "manifest_entries"
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "notNull": true,
1052
+ "autoincrement": false,
1053
+ "default": null,
1054
+ "generated": null,
1055
+ "name": "status",
1056
+ "entityType": "columns",
1057
+ "table": "manifest_entries"
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "notNull": false,
1062
+ "autoincrement": false,
1063
+ "default": null,
1064
+ "generated": null,
1065
+ "name": "agent_type",
1066
+ "entityType": "columns",
1067
+ "table": "manifest_entries"
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "notNull": false,
1072
+ "autoincrement": false,
1073
+ "default": null,
1074
+ "generated": null,
1075
+ "name": "output_file",
1076
+ "entityType": "columns",
1077
+ "table": "manifest_entries"
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "notNull": false,
1082
+ "autoincrement": false,
1083
+ "default": "'[]'",
1084
+ "generated": null,
1085
+ "name": "topics_json",
1086
+ "entityType": "columns",
1087
+ "table": "manifest_entries"
1088
+ },
1089
+ {
1090
+ "type": "text",
1091
+ "notNull": false,
1092
+ "autoincrement": false,
1093
+ "default": "'[]'",
1094
+ "generated": null,
1095
+ "name": "findings_json",
1096
+ "entityType": "columns",
1097
+ "table": "manifest_entries"
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "notNull": false,
1102
+ "autoincrement": false,
1103
+ "default": "'[]'",
1104
+ "generated": null,
1105
+ "name": "linked_tasks_json",
1106
+ "entityType": "columns",
1107
+ "table": "manifest_entries"
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "notNull": false,
1112
+ "autoincrement": false,
1113
+ "default": null,
1114
+ "generated": null,
1115
+ "name": "created_by",
1116
+ "entityType": "columns",
1117
+ "table": "manifest_entries"
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "notNull": true,
1122
+ "autoincrement": false,
1123
+ "default": "(datetime('now'))",
1124
+ "generated": null,
1125
+ "name": "created_at",
1126
+ "entityType": "columns",
1127
+ "table": "manifest_entries"
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "notNull": false,
1132
+ "autoincrement": false,
1133
+ "default": null,
1134
+ "generated": null,
1135
+ "name": "id",
1136
+ "entityType": "columns",
1137
+ "table": "pipeline_manifest"
1138
+ },
1139
+ {
1140
+ "type": "text",
1141
+ "notNull": false,
1142
+ "autoincrement": false,
1143
+ "default": null,
1144
+ "generated": null,
1145
+ "name": "session_id",
1146
+ "entityType": "columns",
1147
+ "table": "pipeline_manifest"
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "notNull": false,
1152
+ "autoincrement": false,
1153
+ "default": null,
1154
+ "generated": null,
1155
+ "name": "task_id",
1156
+ "entityType": "columns",
1157
+ "table": "pipeline_manifest"
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "notNull": false,
1162
+ "autoincrement": false,
1163
+ "default": null,
1164
+ "generated": null,
1165
+ "name": "epic_id",
1166
+ "entityType": "columns",
1167
+ "table": "pipeline_manifest"
1168
+ },
1169
+ {
1170
+ "type": "text",
1171
+ "notNull": true,
1172
+ "autoincrement": false,
1173
+ "default": null,
1174
+ "generated": null,
1175
+ "name": "type",
1176
+ "entityType": "columns",
1177
+ "table": "pipeline_manifest"
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "notNull": true,
1182
+ "autoincrement": false,
1183
+ "default": null,
1184
+ "generated": null,
1185
+ "name": "content",
1186
+ "entityType": "columns",
1187
+ "table": "pipeline_manifest"
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "notNull": false,
1192
+ "autoincrement": false,
1193
+ "default": null,
1194
+ "generated": null,
1195
+ "name": "content_hash",
1196
+ "entityType": "columns",
1197
+ "table": "pipeline_manifest"
1198
+ },
1199
+ {
1200
+ "type": "text",
1201
+ "notNull": true,
1202
+ "autoincrement": false,
1203
+ "default": "'active'",
1204
+ "generated": null,
1205
+ "name": "status",
1206
+ "entityType": "columns",
1207
+ "table": "pipeline_manifest"
1208
+ },
1209
+ {
1210
+ "type": "integer",
1211
+ "notNull": true,
1212
+ "autoincrement": false,
1213
+ "default": "false",
1214
+ "generated": null,
1215
+ "name": "distilled",
1216
+ "entityType": "columns",
1217
+ "table": "pipeline_manifest"
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "notNull": false,
1222
+ "autoincrement": false,
1223
+ "default": null,
1224
+ "generated": null,
1225
+ "name": "brain_obs_id",
1226
+ "entityType": "columns",
1227
+ "table": "pipeline_manifest"
1228
+ },
1229
+ {
1230
+ "type": "text",
1231
+ "notNull": false,
1232
+ "autoincrement": false,
1233
+ "default": null,
1234
+ "generated": null,
1235
+ "name": "source_file",
1236
+ "entityType": "columns",
1237
+ "table": "pipeline_manifest"
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "notNull": false,
1242
+ "autoincrement": false,
1243
+ "default": null,
1244
+ "generated": null,
1245
+ "name": "metadata_json",
1246
+ "entityType": "columns",
1247
+ "table": "pipeline_manifest"
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "notNull": true,
1252
+ "autoincrement": false,
1253
+ "default": null,
1254
+ "generated": null,
1255
+ "name": "created_at",
1256
+ "entityType": "columns",
1257
+ "table": "pipeline_manifest"
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "notNull": false,
1262
+ "autoincrement": false,
1263
+ "default": null,
1264
+ "generated": null,
1265
+ "name": "archived_at",
1266
+ "entityType": "columns",
1267
+ "table": "pipeline_manifest"
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "notNull": false,
1272
+ "autoincrement": false,
1273
+ "default": null,
1274
+ "generated": null,
1275
+ "name": "key",
1276
+ "entityType": "columns",
1277
+ "table": "schema_meta"
1278
+ },
1279
+ {
1280
+ "type": "text",
1281
+ "notNull": true,
1282
+ "autoincrement": false,
1283
+ "default": null,
1284
+ "generated": null,
1285
+ "name": "value",
1286
+ "entityType": "columns",
1287
+ "table": "schema_meta"
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "notNull": false,
1292
+ "autoincrement": false,
1293
+ "default": null,
1294
+ "generated": null,
1295
+ "name": "id",
1296
+ "entityType": "columns",
1297
+ "table": "sessions"
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "notNull": true,
1302
+ "autoincrement": false,
1303
+ "default": null,
1304
+ "generated": null,
1305
+ "name": "name",
1306
+ "entityType": "columns",
1307
+ "table": "sessions"
1308
+ },
1309
+ {
1310
+ "type": "text",
1311
+ "notNull": true,
1312
+ "autoincrement": false,
1313
+ "default": "'active'",
1314
+ "generated": null,
1315
+ "name": "status",
1316
+ "entityType": "columns",
1317
+ "table": "sessions"
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "notNull": true,
1322
+ "autoincrement": false,
1323
+ "default": "'{}'",
1324
+ "generated": null,
1325
+ "name": "scope_json",
1326
+ "entityType": "columns",
1327
+ "table": "sessions"
1328
+ },
1329
+ {
1330
+ "type": "text",
1331
+ "notNull": false,
1332
+ "autoincrement": false,
1333
+ "default": null,
1334
+ "generated": null,
1335
+ "name": "current_task",
1336
+ "entityType": "columns",
1337
+ "table": "sessions"
1338
+ },
1339
+ {
1340
+ "type": "text",
1341
+ "notNull": false,
1342
+ "autoincrement": false,
1343
+ "default": null,
1344
+ "generated": null,
1345
+ "name": "task_started_at",
1346
+ "entityType": "columns",
1347
+ "table": "sessions"
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "notNull": false,
1352
+ "autoincrement": false,
1353
+ "default": null,
1354
+ "generated": null,
1355
+ "name": "agent",
1356
+ "entityType": "columns",
1357
+ "table": "sessions"
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "notNull": false,
1362
+ "autoincrement": false,
1363
+ "default": "'[]'",
1364
+ "generated": null,
1365
+ "name": "notes_json",
1366
+ "entityType": "columns",
1367
+ "table": "sessions"
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "notNull": false,
1372
+ "autoincrement": false,
1373
+ "default": "'[]'",
1374
+ "generated": null,
1375
+ "name": "tasks_completed_json",
1376
+ "entityType": "columns",
1377
+ "table": "sessions"
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "notNull": false,
1382
+ "autoincrement": false,
1383
+ "default": "'[]'",
1384
+ "generated": null,
1385
+ "name": "tasks_created_json",
1386
+ "entityType": "columns",
1387
+ "table": "sessions"
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "notNull": false,
1392
+ "autoincrement": false,
1393
+ "default": null,
1394
+ "generated": null,
1395
+ "name": "handoff_json",
1396
+ "entityType": "columns",
1397
+ "table": "sessions"
1398
+ },
1399
+ {
1400
+ "type": "text",
1401
+ "notNull": true,
1402
+ "autoincrement": false,
1403
+ "default": "(datetime('now'))",
1404
+ "generated": null,
1405
+ "name": "started_at",
1406
+ "entityType": "columns",
1407
+ "table": "sessions"
1408
+ },
1409
+ {
1410
+ "type": "text",
1411
+ "notNull": false,
1412
+ "autoincrement": false,
1413
+ "default": null,
1414
+ "generated": null,
1415
+ "name": "ended_at",
1416
+ "entityType": "columns",
1417
+ "table": "sessions"
1418
+ },
1419
+ {
1420
+ "type": "text",
1421
+ "notNull": false,
1422
+ "autoincrement": false,
1423
+ "default": null,
1424
+ "generated": null,
1425
+ "name": "previous_session_id",
1426
+ "entityType": "columns",
1427
+ "table": "sessions"
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "notNull": false,
1432
+ "autoincrement": false,
1433
+ "default": null,
1434
+ "generated": null,
1435
+ "name": "next_session_id",
1436
+ "entityType": "columns",
1437
+ "table": "sessions"
1438
+ },
1439
+ {
1440
+ "type": "text",
1441
+ "notNull": false,
1442
+ "autoincrement": false,
1443
+ "default": null,
1444
+ "generated": null,
1445
+ "name": "agent_identifier",
1446
+ "entityType": "columns",
1447
+ "table": "sessions"
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "notNull": false,
1452
+ "autoincrement": false,
1453
+ "default": null,
1454
+ "generated": null,
1455
+ "name": "handoff_consumed_at",
1456
+ "entityType": "columns",
1457
+ "table": "sessions"
1458
+ },
1459
+ {
1460
+ "type": "text",
1461
+ "notNull": false,
1462
+ "autoincrement": false,
1463
+ "default": null,
1464
+ "generated": null,
1465
+ "name": "handoff_consumed_by",
1466
+ "entityType": "columns",
1467
+ "table": "sessions"
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "notNull": false,
1472
+ "autoincrement": false,
1473
+ "default": null,
1474
+ "generated": null,
1475
+ "name": "debrief_json",
1476
+ "entityType": "columns",
1477
+ "table": "sessions"
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "notNull": false,
1482
+ "autoincrement": false,
1483
+ "default": null,
1484
+ "generated": null,
1485
+ "name": "stats_json",
1486
+ "entityType": "columns",
1487
+ "table": "sessions"
1488
+ },
1489
+ {
1490
+ "type": "integer",
1491
+ "notNull": false,
1492
+ "autoincrement": false,
1493
+ "default": null,
1494
+ "generated": null,
1495
+ "name": "resume_count",
1496
+ "entityType": "columns",
1497
+ "table": "sessions"
1498
+ },
1499
+ {
1500
+ "type": "integer",
1501
+ "notNull": false,
1502
+ "autoincrement": false,
1503
+ "default": null,
1504
+ "generated": null,
1505
+ "name": "grade_mode",
1506
+ "entityType": "columns",
1507
+ "table": "sessions"
1508
+ },
1509
+ {
1510
+ "type": "text",
1511
+ "notNull": true,
1512
+ "autoincrement": false,
1513
+ "default": null,
1514
+ "generated": null,
1515
+ "name": "name",
1516
+ "entityType": "columns",
1517
+ "table": "status_registry"
1518
+ },
1519
+ {
1520
+ "type": "text",
1521
+ "notNull": true,
1522
+ "autoincrement": false,
1523
+ "default": null,
1524
+ "generated": null,
1525
+ "name": "entity_type",
1526
+ "entityType": "columns",
1527
+ "table": "status_registry"
1528
+ },
1529
+ {
1530
+ "type": "text",
1531
+ "notNull": true,
1532
+ "autoincrement": false,
1533
+ "default": null,
1534
+ "generated": null,
1535
+ "name": "namespace",
1536
+ "entityType": "columns",
1537
+ "table": "status_registry"
1538
+ },
1539
+ {
1540
+ "type": "text",
1541
+ "notNull": true,
1542
+ "autoincrement": false,
1543
+ "default": null,
1544
+ "generated": null,
1545
+ "name": "description",
1546
+ "entityType": "columns",
1547
+ "table": "status_registry"
1548
+ },
1549
+ {
1550
+ "type": "integer",
1551
+ "notNull": true,
1552
+ "autoincrement": false,
1553
+ "default": "false",
1554
+ "generated": null,
1555
+ "name": "is_terminal",
1556
+ "entityType": "columns",
1557
+ "table": "status_registry"
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "notNull": true,
1562
+ "autoincrement": false,
1563
+ "default": null,
1564
+ "generated": null,
1565
+ "name": "task_id",
1566
+ "entityType": "columns",
1567
+ "table": "task_dependencies"
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "notNull": true,
1572
+ "autoincrement": false,
1573
+ "default": null,
1574
+ "generated": null,
1575
+ "name": "depends_on",
1576
+ "entityType": "columns",
1577
+ "table": "task_dependencies"
1578
+ },
1579
+ {
1580
+ "type": "text",
1581
+ "notNull": true,
1582
+ "autoincrement": false,
1583
+ "default": null,
1584
+ "generated": null,
1585
+ "name": "task_id",
1586
+ "entityType": "columns",
1587
+ "table": "task_relations"
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "notNull": true,
1592
+ "autoincrement": false,
1593
+ "default": null,
1594
+ "generated": null,
1595
+ "name": "related_to",
1596
+ "entityType": "columns",
1597
+ "table": "task_relations"
1598
+ },
1599
+ {
1600
+ "type": "text",
1601
+ "notNull": true,
1602
+ "autoincrement": false,
1603
+ "default": "'related'",
1604
+ "generated": null,
1605
+ "name": "relation_type",
1606
+ "entityType": "columns",
1607
+ "table": "task_relations"
1608
+ },
1609
+ {
1610
+ "type": "text",
1611
+ "notNull": false,
1612
+ "autoincrement": false,
1613
+ "default": null,
1614
+ "generated": null,
1615
+ "name": "reason",
1616
+ "entityType": "columns",
1617
+ "table": "task_relations"
1618
+ },
1619
+ {
1620
+ "type": "integer",
1621
+ "notNull": false,
1622
+ "autoincrement": true,
1623
+ "default": null,
1624
+ "generated": null,
1625
+ "name": "id",
1626
+ "entityType": "columns",
1627
+ "table": "task_work_history"
1628
+ },
1629
+ {
1630
+ "type": "text",
1631
+ "notNull": true,
1632
+ "autoincrement": false,
1633
+ "default": null,
1634
+ "generated": null,
1635
+ "name": "session_id",
1636
+ "entityType": "columns",
1637
+ "table": "task_work_history"
1638
+ },
1639
+ {
1640
+ "type": "text",
1641
+ "notNull": true,
1642
+ "autoincrement": false,
1643
+ "default": null,
1644
+ "generated": null,
1645
+ "name": "task_id",
1646
+ "entityType": "columns",
1647
+ "table": "task_work_history"
1648
+ },
1649
+ {
1650
+ "type": "text",
1651
+ "notNull": true,
1652
+ "autoincrement": false,
1653
+ "default": "(datetime('now'))",
1654
+ "generated": null,
1655
+ "name": "set_at",
1656
+ "entityType": "columns",
1657
+ "table": "task_work_history"
1658
+ },
1659
+ {
1660
+ "type": "text",
1661
+ "notNull": false,
1662
+ "autoincrement": false,
1663
+ "default": null,
1664
+ "generated": null,
1665
+ "name": "cleared_at",
1666
+ "entityType": "columns",
1667
+ "table": "task_work_history"
1668
+ },
1669
+ {
1670
+ "type": "text",
1671
+ "notNull": false,
1672
+ "autoincrement": false,
1673
+ "default": null,
1674
+ "generated": null,
1675
+ "name": "id",
1676
+ "entityType": "columns",
1677
+ "table": "tasks"
1678
+ },
1679
+ {
1680
+ "type": "text",
1681
+ "notNull": true,
1682
+ "autoincrement": false,
1683
+ "default": null,
1684
+ "generated": null,
1685
+ "name": "title",
1686
+ "entityType": "columns",
1687
+ "table": "tasks"
1688
+ },
1689
+ {
1690
+ "type": "text",
1691
+ "notNull": false,
1692
+ "autoincrement": false,
1693
+ "default": null,
1694
+ "generated": null,
1695
+ "name": "description",
1696
+ "entityType": "columns",
1697
+ "table": "tasks"
1698
+ },
1699
+ {
1700
+ "type": "text",
1701
+ "notNull": true,
1702
+ "autoincrement": false,
1703
+ "default": "'pending'",
1704
+ "generated": null,
1705
+ "name": "status",
1706
+ "entityType": "columns",
1707
+ "table": "tasks"
1708
+ },
1709
+ {
1710
+ "type": "text",
1711
+ "notNull": true,
1712
+ "autoincrement": false,
1713
+ "default": "'medium'",
1714
+ "generated": null,
1715
+ "name": "priority",
1716
+ "entityType": "columns",
1717
+ "table": "tasks"
1718
+ },
1719
+ {
1720
+ "type": "text",
1721
+ "notNull": false,
1722
+ "autoincrement": false,
1723
+ "default": null,
1724
+ "generated": null,
1725
+ "name": "type",
1726
+ "entityType": "columns",
1727
+ "table": "tasks"
1728
+ },
1729
+ {
1730
+ "type": "text",
1731
+ "notNull": false,
1732
+ "autoincrement": false,
1733
+ "default": null,
1734
+ "generated": null,
1735
+ "name": "parent_id",
1736
+ "entityType": "columns",
1737
+ "table": "tasks"
1738
+ },
1739
+ {
1740
+ "type": "text",
1741
+ "notNull": false,
1742
+ "autoincrement": false,
1743
+ "default": null,
1744
+ "generated": null,
1745
+ "name": "phase",
1746
+ "entityType": "columns",
1747
+ "table": "tasks"
1748
+ },
1749
+ {
1750
+ "type": "text",
1751
+ "notNull": false,
1752
+ "autoincrement": false,
1753
+ "default": null,
1754
+ "generated": null,
1755
+ "name": "size",
1756
+ "entityType": "columns",
1757
+ "table": "tasks"
1758
+ },
1759
+ {
1760
+ "type": "integer",
1761
+ "notNull": false,
1762
+ "autoincrement": false,
1763
+ "default": null,
1764
+ "generated": null,
1765
+ "name": "position",
1766
+ "entityType": "columns",
1767
+ "table": "tasks"
1768
+ },
1769
+ {
1770
+ "type": "integer",
1771
+ "notNull": false,
1772
+ "autoincrement": false,
1773
+ "default": "0",
1774
+ "generated": null,
1775
+ "name": "position_version",
1776
+ "entityType": "columns",
1777
+ "table": "tasks"
1778
+ },
1779
+ {
1780
+ "type": "text",
1781
+ "notNull": false,
1782
+ "autoincrement": false,
1783
+ "default": "'[]'",
1784
+ "generated": null,
1785
+ "name": "labels_json",
1786
+ "entityType": "columns",
1787
+ "table": "tasks"
1788
+ },
1789
+ {
1790
+ "type": "text",
1791
+ "notNull": false,
1792
+ "autoincrement": false,
1793
+ "default": "'[]'",
1794
+ "generated": null,
1795
+ "name": "notes_json",
1796
+ "entityType": "columns",
1797
+ "table": "tasks"
1798
+ },
1799
+ {
1800
+ "type": "text",
1801
+ "notNull": false,
1802
+ "autoincrement": false,
1803
+ "default": "'[]'",
1804
+ "generated": null,
1805
+ "name": "acceptance_json",
1806
+ "entityType": "columns",
1807
+ "table": "tasks"
1808
+ },
1809
+ {
1810
+ "type": "text",
1811
+ "notNull": false,
1812
+ "autoincrement": false,
1813
+ "default": "'[]'",
1814
+ "generated": null,
1815
+ "name": "files_json",
1816
+ "entityType": "columns",
1817
+ "table": "tasks"
1818
+ },
1819
+ {
1820
+ "type": "text",
1821
+ "notNull": false,
1822
+ "autoincrement": false,
1823
+ "default": null,
1824
+ "generated": null,
1825
+ "name": "origin",
1826
+ "entityType": "columns",
1827
+ "table": "tasks"
1828
+ },
1829
+ {
1830
+ "type": "text",
1831
+ "notNull": false,
1832
+ "autoincrement": false,
1833
+ "default": null,
1834
+ "generated": null,
1835
+ "name": "blocked_by",
1836
+ "entityType": "columns",
1837
+ "table": "tasks"
1838
+ },
1839
+ {
1840
+ "type": "text",
1841
+ "notNull": false,
1842
+ "autoincrement": false,
1843
+ "default": null,
1844
+ "generated": null,
1845
+ "name": "epic_lifecycle",
1846
+ "entityType": "columns",
1847
+ "table": "tasks"
1848
+ },
1849
+ {
1850
+ "type": "integer",
1851
+ "notNull": false,
1852
+ "autoincrement": false,
1853
+ "default": null,
1854
+ "generated": null,
1855
+ "name": "no_auto_complete",
1856
+ "entityType": "columns",
1857
+ "table": "tasks"
1858
+ },
1859
+ {
1860
+ "type": "text",
1861
+ "notNull": true,
1862
+ "autoincrement": false,
1863
+ "default": "(datetime('now'))",
1864
+ "generated": null,
1865
+ "name": "created_at",
1866
+ "entityType": "columns",
1867
+ "table": "tasks"
1868
+ },
1869
+ {
1870
+ "type": "text",
1871
+ "notNull": false,
1872
+ "autoincrement": false,
1873
+ "default": null,
1874
+ "generated": null,
1875
+ "name": "updated_at",
1876
+ "entityType": "columns",
1877
+ "table": "tasks"
1878
+ },
1879
+ {
1880
+ "type": "text",
1881
+ "notNull": false,
1882
+ "autoincrement": false,
1883
+ "default": null,
1884
+ "generated": null,
1885
+ "name": "completed_at",
1886
+ "entityType": "columns",
1887
+ "table": "tasks"
1888
+ },
1889
+ {
1890
+ "type": "text",
1891
+ "notNull": false,
1892
+ "autoincrement": false,
1893
+ "default": null,
1894
+ "generated": null,
1895
+ "name": "cancelled_at",
1896
+ "entityType": "columns",
1897
+ "table": "tasks"
1898
+ },
1899
+ {
1900
+ "type": "text",
1901
+ "notNull": false,
1902
+ "autoincrement": false,
1903
+ "default": null,
1904
+ "generated": null,
1905
+ "name": "cancellation_reason",
1906
+ "entityType": "columns",
1907
+ "table": "tasks"
1908
+ },
1909
+ {
1910
+ "type": "text",
1911
+ "notNull": false,
1912
+ "autoincrement": false,
1913
+ "default": null,
1914
+ "generated": null,
1915
+ "name": "archived_at",
1916
+ "entityType": "columns",
1917
+ "table": "tasks"
1918
+ },
1919
+ {
1920
+ "type": "text",
1921
+ "notNull": false,
1922
+ "autoincrement": false,
1923
+ "default": null,
1924
+ "generated": null,
1925
+ "name": "archive_reason",
1926
+ "entityType": "columns",
1927
+ "table": "tasks"
1928
+ },
1929
+ {
1930
+ "type": "integer",
1931
+ "notNull": false,
1932
+ "autoincrement": false,
1933
+ "default": null,
1934
+ "generated": null,
1935
+ "name": "cycle_time_days",
1936
+ "entityType": "columns",
1937
+ "table": "tasks"
1938
+ },
1939
+ {
1940
+ "type": "text",
1941
+ "notNull": false,
1942
+ "autoincrement": false,
1943
+ "default": null,
1944
+ "generated": null,
1945
+ "name": "verification_json",
1946
+ "entityType": "columns",
1947
+ "table": "tasks"
1948
+ },
1949
+ {
1950
+ "type": "text",
1951
+ "notNull": false,
1952
+ "autoincrement": false,
1953
+ "default": null,
1954
+ "generated": null,
1955
+ "name": "created_by",
1956
+ "entityType": "columns",
1957
+ "table": "tasks"
1958
+ },
1959
+ {
1960
+ "type": "text",
1961
+ "notNull": false,
1962
+ "autoincrement": false,
1963
+ "default": null,
1964
+ "generated": null,
1965
+ "name": "modified_by",
1966
+ "entityType": "columns",
1967
+ "table": "tasks"
1968
+ },
1969
+ {
1970
+ "type": "text",
1971
+ "notNull": false,
1972
+ "autoincrement": false,
1973
+ "default": null,
1974
+ "generated": null,
1975
+ "name": "session_id",
1976
+ "entityType": "columns",
1977
+ "table": "tasks"
1978
+ },
1979
+ {
1980
+ "type": "text",
1981
+ "notNull": false,
1982
+ "autoincrement": false,
1983
+ "default": null,
1984
+ "generated": null,
1985
+ "name": "id",
1986
+ "entityType": "columns",
1987
+ "table": "warp_chain_instances"
1988
+ },
1989
+ {
1990
+ "type": "text",
1991
+ "notNull": true,
1992
+ "autoincrement": false,
1993
+ "default": null,
1994
+ "generated": null,
1995
+ "name": "chain_id",
1996
+ "entityType": "columns",
1997
+ "table": "warp_chain_instances"
1998
+ },
1999
+ {
2000
+ "type": "text",
2001
+ "notNull": true,
2002
+ "autoincrement": false,
2003
+ "default": null,
2004
+ "generated": null,
2005
+ "name": "epic_id",
2006
+ "entityType": "columns",
2007
+ "table": "warp_chain_instances"
2008
+ },
2009
+ {
2010
+ "type": "text",
2011
+ "notNull": false,
2012
+ "autoincrement": false,
2013
+ "default": null,
2014
+ "generated": null,
2015
+ "name": "variables",
2016
+ "entityType": "columns",
2017
+ "table": "warp_chain_instances"
2018
+ },
2019
+ {
2020
+ "type": "text",
2021
+ "notNull": false,
2022
+ "autoincrement": false,
2023
+ "default": null,
2024
+ "generated": null,
2025
+ "name": "stage_to_task",
2026
+ "entityType": "columns",
2027
+ "table": "warp_chain_instances"
2028
+ },
2029
+ {
2030
+ "type": "text",
2031
+ "notNull": true,
2032
+ "autoincrement": false,
2033
+ "default": "'pending'",
2034
+ "generated": null,
2035
+ "name": "status",
2036
+ "entityType": "columns",
2037
+ "table": "warp_chain_instances"
2038
+ },
2039
+ {
2040
+ "type": "text",
2041
+ "notNull": false,
2042
+ "autoincrement": false,
2043
+ "default": null,
2044
+ "generated": null,
2045
+ "name": "current_stage",
2046
+ "entityType": "columns",
2047
+ "table": "warp_chain_instances"
2048
+ },
2049
+ {
2050
+ "type": "text",
2051
+ "notNull": false,
2052
+ "autoincrement": false,
2053
+ "default": null,
2054
+ "generated": null,
2055
+ "name": "gate_results",
2056
+ "entityType": "columns",
2057
+ "table": "warp_chain_instances"
2058
+ },
2059
+ {
2060
+ "type": "text",
2061
+ "notNull": false,
2062
+ "autoincrement": false,
2063
+ "default": "(datetime('now'))",
2064
+ "generated": null,
2065
+ "name": "created_at",
2066
+ "entityType": "columns",
2067
+ "table": "warp_chain_instances"
2068
+ },
2069
+ {
2070
+ "type": "text",
2071
+ "notNull": false,
2072
+ "autoincrement": false,
2073
+ "default": "(datetime('now'))",
2074
+ "generated": null,
2075
+ "name": "updated_at",
2076
+ "entityType": "columns",
2077
+ "table": "warp_chain_instances"
2078
+ },
2079
+ {
2080
+ "type": "text",
2081
+ "notNull": false,
2082
+ "autoincrement": false,
2083
+ "default": null,
2084
+ "generated": null,
2085
+ "name": "id",
2086
+ "entityType": "columns",
2087
+ "table": "warp_chains"
2088
+ },
2089
+ {
2090
+ "type": "text",
2091
+ "notNull": true,
2092
+ "autoincrement": false,
2093
+ "default": null,
2094
+ "generated": null,
2095
+ "name": "name",
2096
+ "entityType": "columns",
2097
+ "table": "warp_chains"
2098
+ },
2099
+ {
2100
+ "type": "text",
2101
+ "notNull": true,
2102
+ "autoincrement": false,
2103
+ "default": null,
2104
+ "generated": null,
2105
+ "name": "version",
2106
+ "entityType": "columns",
2107
+ "table": "warp_chains"
2108
+ },
2109
+ {
2110
+ "type": "text",
2111
+ "notNull": false,
2112
+ "autoincrement": false,
2113
+ "default": null,
2114
+ "generated": null,
2115
+ "name": "description",
2116
+ "entityType": "columns",
2117
+ "table": "warp_chains"
2118
+ },
2119
+ {
2120
+ "type": "text",
2121
+ "notNull": true,
2122
+ "autoincrement": false,
2123
+ "default": null,
2124
+ "generated": null,
2125
+ "name": "definition",
2126
+ "entityType": "columns",
2127
+ "table": "warp_chains"
2128
+ },
2129
+ {
2130
+ "type": "integer",
2131
+ "notNull": false,
2132
+ "autoincrement": false,
2133
+ "default": "false",
2134
+ "generated": null,
2135
+ "name": "validated",
2136
+ "entityType": "columns",
2137
+ "table": "warp_chains"
2138
+ },
2139
+ {
2140
+ "type": "text",
2141
+ "notNull": false,
2142
+ "autoincrement": false,
2143
+ "default": "(datetime('now'))",
2144
+ "generated": null,
2145
+ "name": "created_at",
2146
+ "entityType": "columns",
2147
+ "table": "warp_chains"
2148
+ },
2149
+ {
2150
+ "type": "text",
2151
+ "notNull": false,
2152
+ "autoincrement": false,
2153
+ "default": "(datetime('now'))",
2154
+ "generated": null,
2155
+ "name": "updated_at",
2156
+ "entityType": "columns",
2157
+ "table": "warp_chains"
2158
+ },
2159
+ {
2160
+ "columns": [
2161
+ "from_adr_id"
2162
+ ],
2163
+ "tableTo": "architecture_decisions",
2164
+ "columnsTo": [
2165
+ "id"
2166
+ ],
2167
+ "onUpdate": "NO ACTION",
2168
+ "onDelete": "CASCADE",
2169
+ "nameExplicit": false,
2170
+ "name": "fk_adr_relations_from_adr_id_architecture_decisions_id_fk",
2171
+ "entityType": "fks",
2172
+ "table": "adr_relations"
2173
+ },
2174
+ {
2175
+ "columns": [
2176
+ "to_adr_id"
2177
+ ],
2178
+ "tableTo": "architecture_decisions",
2179
+ "columnsTo": [
2180
+ "id"
2181
+ ],
2182
+ "onUpdate": "NO ACTION",
2183
+ "onDelete": "CASCADE",
2184
+ "nameExplicit": false,
2185
+ "name": "fk_adr_relations_to_adr_id_architecture_decisions_id_fk",
2186
+ "entityType": "fks",
2187
+ "table": "adr_relations"
2188
+ },
2189
+ {
2190
+ "columns": [
2191
+ "adr_id"
2192
+ ],
2193
+ "tableTo": "architecture_decisions",
2194
+ "columnsTo": [
2195
+ "id"
2196
+ ],
2197
+ "onUpdate": "NO ACTION",
2198
+ "onDelete": "CASCADE",
2199
+ "nameExplicit": false,
2200
+ "name": "fk_adr_task_links_adr_id_architecture_decisions_id_fk",
2201
+ "entityType": "fks",
2202
+ "table": "adr_task_links"
2203
+ },
2204
+ {
2205
+ "columns": [
2206
+ "stage_id"
2207
+ ],
2208
+ "tableTo": "lifecycle_stages",
2209
+ "columnsTo": [
2210
+ "id"
2211
+ ],
2212
+ "onUpdate": "NO ACTION",
2213
+ "onDelete": "CASCADE",
2214
+ "nameExplicit": false,
2215
+ "name": "fk_lifecycle_evidence_stage_id_lifecycle_stages_id_fk",
2216
+ "entityType": "fks",
2217
+ "table": "lifecycle_evidence"
2218
+ },
2219
+ {
2220
+ "columns": [
2221
+ "stage_id"
2222
+ ],
2223
+ "tableTo": "lifecycle_stages",
2224
+ "columnsTo": [
2225
+ "id"
2226
+ ],
2227
+ "onUpdate": "NO ACTION",
2228
+ "onDelete": "CASCADE",
2229
+ "nameExplicit": false,
2230
+ "name": "fk_lifecycle_gate_results_stage_id_lifecycle_stages_id_fk",
2231
+ "entityType": "fks",
2232
+ "table": "lifecycle_gate_results"
2233
+ },
2234
+ {
2235
+ "columns": [
2236
+ "task_id"
2237
+ ],
2238
+ "tableTo": "tasks",
2239
+ "columnsTo": [
2240
+ "id"
2241
+ ],
2242
+ "onUpdate": "NO ACTION",
2243
+ "onDelete": "CASCADE",
2244
+ "nameExplicit": false,
2245
+ "name": "fk_lifecycle_pipelines_task_id_tasks_id_fk",
2246
+ "entityType": "fks",
2247
+ "table": "lifecycle_pipelines"
2248
+ },
2249
+ {
2250
+ "columns": [
2251
+ "pipeline_id"
2252
+ ],
2253
+ "tableTo": "lifecycle_pipelines",
2254
+ "columnsTo": [
2255
+ "id"
2256
+ ],
2257
+ "onUpdate": "NO ACTION",
2258
+ "onDelete": "CASCADE",
2259
+ "nameExplicit": false,
2260
+ "name": "fk_lifecycle_stages_pipeline_id_lifecycle_pipelines_id_fk",
2261
+ "entityType": "fks",
2262
+ "table": "lifecycle_stages"
2263
+ },
2264
+ {
2265
+ "columns": [
2266
+ "pipeline_id"
2267
+ ],
2268
+ "tableTo": "lifecycle_pipelines",
2269
+ "columnsTo": [
2270
+ "id"
2271
+ ],
2272
+ "onUpdate": "NO ACTION",
2273
+ "onDelete": "CASCADE",
2274
+ "nameExplicit": false,
2275
+ "name": "fk_lifecycle_transitions_pipeline_id_lifecycle_pipelines_id_fk",
2276
+ "entityType": "fks",
2277
+ "table": "lifecycle_transitions"
2278
+ },
2279
+ {
2280
+ "columns": [
2281
+ "pipeline_id"
2282
+ ],
2283
+ "tableTo": "lifecycle_pipelines",
2284
+ "columnsTo": [
2285
+ "id"
2286
+ ],
2287
+ "onUpdate": "NO ACTION",
2288
+ "onDelete": "CASCADE",
2289
+ "nameExplicit": false,
2290
+ "name": "fk_manifest_entries_pipeline_id_lifecycle_pipelines_id_fk",
2291
+ "entityType": "fks",
2292
+ "table": "manifest_entries"
2293
+ },
2294
+ {
2295
+ "columns": [
2296
+ "stage_id"
2297
+ ],
2298
+ "tableTo": "lifecycle_stages",
2299
+ "columnsTo": [
2300
+ "id"
2301
+ ],
2302
+ "onUpdate": "NO ACTION",
2303
+ "onDelete": "CASCADE",
2304
+ "nameExplicit": false,
2305
+ "name": "fk_manifest_entries_stage_id_lifecycle_stages_id_fk",
2306
+ "entityType": "fks",
2307
+ "table": "manifest_entries"
2308
+ },
2309
+ {
2310
+ "columns": [
2311
+ "task_id"
2312
+ ],
2313
+ "tableTo": "tasks",
2314
+ "columnsTo": [
2315
+ "id"
2316
+ ],
2317
+ "onUpdate": "NO ACTION",
2318
+ "onDelete": "CASCADE",
2319
+ "nameExplicit": false,
2320
+ "name": "fk_task_dependencies_task_id_tasks_id_fk",
2321
+ "entityType": "fks",
2322
+ "table": "task_dependencies"
2323
+ },
2324
+ {
2325
+ "columns": [
2326
+ "depends_on"
2327
+ ],
2328
+ "tableTo": "tasks",
2329
+ "columnsTo": [
2330
+ "id"
2331
+ ],
2332
+ "onUpdate": "NO ACTION",
2333
+ "onDelete": "CASCADE",
2334
+ "nameExplicit": false,
2335
+ "name": "fk_task_dependencies_depends_on_tasks_id_fk",
2336
+ "entityType": "fks",
2337
+ "table": "task_dependencies"
2338
+ },
2339
+ {
2340
+ "columns": [
2341
+ "task_id"
2342
+ ],
2343
+ "tableTo": "tasks",
2344
+ "columnsTo": [
2345
+ "id"
2346
+ ],
2347
+ "onUpdate": "NO ACTION",
2348
+ "onDelete": "CASCADE",
2349
+ "nameExplicit": false,
2350
+ "name": "fk_task_relations_task_id_tasks_id_fk",
2351
+ "entityType": "fks",
2352
+ "table": "task_relations"
2353
+ },
2354
+ {
2355
+ "columns": [
2356
+ "related_to"
2357
+ ],
2358
+ "tableTo": "tasks",
2359
+ "columnsTo": [
2360
+ "id"
2361
+ ],
2362
+ "onUpdate": "NO ACTION",
2363
+ "onDelete": "CASCADE",
2364
+ "nameExplicit": false,
2365
+ "name": "fk_task_relations_related_to_tasks_id_fk",
2366
+ "entityType": "fks",
2367
+ "table": "task_relations"
2368
+ },
2369
+ {
2370
+ "columns": [
2371
+ "session_id"
2372
+ ],
2373
+ "tableTo": "sessions",
2374
+ "columnsTo": [
2375
+ "id"
2376
+ ],
2377
+ "onUpdate": "NO ACTION",
2378
+ "onDelete": "CASCADE",
2379
+ "nameExplicit": false,
2380
+ "name": "fk_task_work_history_session_id_sessions_id_fk",
2381
+ "entityType": "fks",
2382
+ "table": "task_work_history"
2383
+ },
2384
+ {
2385
+ "columns": [
2386
+ "parent_id"
2387
+ ],
2388
+ "tableTo": "tasks",
2389
+ "columnsTo": [
2390
+ "id"
2391
+ ],
2392
+ "onUpdate": "NO ACTION",
2393
+ "onDelete": "SET NULL",
2394
+ "nameExplicit": false,
2395
+ "name": "fk_tasks_parent_id_tasks_id_fk",
2396
+ "entityType": "fks",
2397
+ "table": "tasks"
2398
+ },
2399
+ {
2400
+ "columns": [
2401
+ "chain_id"
2402
+ ],
2403
+ "tableTo": "warp_chains",
2404
+ "columnsTo": [
2405
+ "id"
2406
+ ],
2407
+ "onUpdate": "NO ACTION",
2408
+ "onDelete": "NO ACTION",
2409
+ "nameExplicit": false,
2410
+ "name": "fk_warp_chain_instances_chain_id_warp_chains_id_fk",
2411
+ "entityType": "fks",
2412
+ "table": "warp_chain_instances"
2413
+ },
2414
+ {
2415
+ "columns": [
2416
+ "from_adr_id",
2417
+ "to_adr_id",
2418
+ "relation_type"
2419
+ ],
2420
+ "nameExplicit": false,
2421
+ "name": "adr_relations_pk",
2422
+ "entityType": "pks",
2423
+ "table": "adr_relations"
2424
+ },
2425
+ {
2426
+ "columns": [
2427
+ "adr_id",
2428
+ "task_id"
2429
+ ],
2430
+ "nameExplicit": false,
2431
+ "name": "adr_task_links_pk",
2432
+ "entityType": "pks",
2433
+ "table": "adr_task_links"
2434
+ },
2435
+ {
2436
+ "columns": [
2437
+ "name",
2438
+ "entity_type"
2439
+ ],
2440
+ "nameExplicit": false,
2441
+ "name": "status_registry_pk",
2442
+ "entityType": "pks",
2443
+ "table": "status_registry"
2444
+ },
2445
+ {
2446
+ "columns": [
2447
+ "task_id",
2448
+ "depends_on"
2449
+ ],
2450
+ "nameExplicit": false,
2451
+ "name": "task_dependencies_pk",
2452
+ "entityType": "pks",
2453
+ "table": "task_dependencies"
2454
+ },
2455
+ {
2456
+ "columns": [
2457
+ "task_id",
2458
+ "related_to"
2459
+ ],
2460
+ "nameExplicit": false,
2461
+ "name": "task_relations_pk",
2462
+ "entityType": "pks",
2463
+ "table": "task_relations"
2464
+ },
2465
+ {
2466
+ "columns": [
2467
+ "id"
2468
+ ],
2469
+ "nameExplicit": false,
2470
+ "name": "architecture_decisions_pk",
2471
+ "table": "architecture_decisions",
2472
+ "entityType": "pks"
2473
+ },
2474
+ {
2475
+ "columns": [
2476
+ "id"
2477
+ ],
2478
+ "nameExplicit": false,
2479
+ "name": "audit_log_pk",
2480
+ "table": "audit_log",
2481
+ "entityType": "pks"
2482
+ },
2483
+ {
2484
+ "columns": [
2485
+ "id"
2486
+ ],
2487
+ "nameExplicit": false,
2488
+ "name": "lifecycle_evidence_pk",
2489
+ "table": "lifecycle_evidence",
2490
+ "entityType": "pks"
2491
+ },
2492
+ {
2493
+ "columns": [
2494
+ "id"
2495
+ ],
2496
+ "nameExplicit": false,
2497
+ "name": "lifecycle_gate_results_pk",
2498
+ "table": "lifecycle_gate_results",
2499
+ "entityType": "pks"
2500
+ },
2501
+ {
2502
+ "columns": [
2503
+ "id"
2504
+ ],
2505
+ "nameExplicit": false,
2506
+ "name": "lifecycle_pipelines_pk",
2507
+ "table": "lifecycle_pipelines",
2508
+ "entityType": "pks"
2509
+ },
2510
+ {
2511
+ "columns": [
2512
+ "id"
2513
+ ],
2514
+ "nameExplicit": false,
2515
+ "name": "lifecycle_stages_pk",
2516
+ "table": "lifecycle_stages",
2517
+ "entityType": "pks"
2518
+ },
2519
+ {
2520
+ "columns": [
2521
+ "id"
2522
+ ],
2523
+ "nameExplicit": false,
2524
+ "name": "lifecycle_transitions_pk",
2525
+ "table": "lifecycle_transitions",
2526
+ "entityType": "pks"
2527
+ },
2528
+ {
2529
+ "columns": [
2530
+ "id"
2531
+ ],
2532
+ "nameExplicit": false,
2533
+ "name": "manifest_entries_pk",
2534
+ "table": "manifest_entries",
2535
+ "entityType": "pks"
2536
+ },
2537
+ {
2538
+ "columns": [
2539
+ "id"
2540
+ ],
2541
+ "nameExplicit": false,
2542
+ "name": "pipeline_manifest_pk",
2543
+ "table": "pipeline_manifest",
2544
+ "entityType": "pks"
2545
+ },
2546
+ {
2547
+ "columns": [
2548
+ "key"
2549
+ ],
2550
+ "nameExplicit": false,
2551
+ "name": "schema_meta_pk",
2552
+ "table": "schema_meta",
2553
+ "entityType": "pks"
2554
+ },
2555
+ {
2556
+ "columns": [
2557
+ "id"
2558
+ ],
2559
+ "nameExplicit": false,
2560
+ "name": "sessions_pk",
2561
+ "table": "sessions",
2562
+ "entityType": "pks"
2563
+ },
2564
+ {
2565
+ "columns": [
2566
+ "id"
2567
+ ],
2568
+ "nameExplicit": false,
2569
+ "name": "task_work_history_pk",
2570
+ "table": "task_work_history",
2571
+ "entityType": "pks"
2572
+ },
2573
+ {
2574
+ "columns": [
2575
+ "id"
2576
+ ],
2577
+ "nameExplicit": false,
2578
+ "name": "tasks_pk",
2579
+ "table": "tasks",
2580
+ "entityType": "pks"
2581
+ },
2582
+ {
2583
+ "columns": [
2584
+ "id"
2585
+ ],
2586
+ "nameExplicit": false,
2587
+ "name": "warp_chain_instances_pk",
2588
+ "table": "warp_chain_instances",
2589
+ "entityType": "pks"
2590
+ },
2591
+ {
2592
+ "columns": [
2593
+ "id"
2594
+ ],
2595
+ "nameExplicit": false,
2596
+ "name": "warp_chains_pk",
2597
+ "table": "warp_chains",
2598
+ "entityType": "pks"
2599
+ },
2600
+ {
2601
+ "columns": [
2602
+ {
2603
+ "value": "task_id",
2604
+ "isExpression": false
2605
+ }
2606
+ ],
2607
+ "isUnique": false,
2608
+ "where": null,
2609
+ "origin": "manual",
2610
+ "name": "idx_adr_task_links_task_id",
2611
+ "entityType": "indexes",
2612
+ "table": "adr_task_links"
2613
+ },
2614
+ {
2615
+ "columns": [
2616
+ {
2617
+ "value": "status",
2618
+ "isExpression": false
2619
+ }
2620
+ ],
2621
+ "isUnique": false,
2622
+ "where": null,
2623
+ "origin": "manual",
2624
+ "name": "idx_arch_decisions_status",
2625
+ "entityType": "indexes",
2626
+ "table": "architecture_decisions"
2627
+ },
2628
+ {
2629
+ "columns": [
2630
+ {
2631
+ "value": "task_id",
2632
+ "isExpression": false
2633
+ }
2634
+ ],
2635
+ "isUnique": false,
2636
+ "where": null,
2637
+ "origin": "manual",
2638
+ "name": "idx_audit_log_task_id",
2639
+ "entityType": "indexes",
2640
+ "table": "audit_log"
2641
+ },
2642
+ {
2643
+ "columns": [
2644
+ {
2645
+ "value": "action",
2646
+ "isExpression": false
2647
+ }
2648
+ ],
2649
+ "isUnique": false,
2650
+ "where": null,
2651
+ "origin": "manual",
2652
+ "name": "idx_audit_log_action",
2653
+ "entityType": "indexes",
2654
+ "table": "audit_log"
2655
+ },
2656
+ {
2657
+ "columns": [
2658
+ {
2659
+ "value": "timestamp",
2660
+ "isExpression": false
2661
+ }
2662
+ ],
2663
+ "isUnique": false,
2664
+ "where": null,
2665
+ "origin": "manual",
2666
+ "name": "idx_audit_log_timestamp",
2667
+ "entityType": "indexes",
2668
+ "table": "audit_log"
2669
+ },
2670
+ {
2671
+ "columns": [
2672
+ {
2673
+ "value": "domain",
2674
+ "isExpression": false
2675
+ }
2676
+ ],
2677
+ "isUnique": false,
2678
+ "where": null,
2679
+ "origin": "manual",
2680
+ "name": "idx_audit_log_domain",
2681
+ "entityType": "indexes",
2682
+ "table": "audit_log"
2683
+ },
2684
+ {
2685
+ "columns": [
2686
+ {
2687
+ "value": "request_id",
2688
+ "isExpression": false
2689
+ }
2690
+ ],
2691
+ "isUnique": false,
2692
+ "where": null,
2693
+ "origin": "manual",
2694
+ "name": "idx_audit_log_request_id",
2695
+ "entityType": "indexes",
2696
+ "table": "audit_log"
2697
+ },
2698
+ {
2699
+ "columns": [
2700
+ {
2701
+ "value": "project_hash",
2702
+ "isExpression": false
2703
+ }
2704
+ ],
2705
+ "isUnique": false,
2706
+ "where": null,
2707
+ "origin": "manual",
2708
+ "name": "idx_audit_log_project_hash",
2709
+ "entityType": "indexes",
2710
+ "table": "audit_log"
2711
+ },
2712
+ {
2713
+ "columns": [
2714
+ {
2715
+ "value": "stage_id",
2716
+ "isExpression": false
2717
+ }
2718
+ ],
2719
+ "isUnique": false,
2720
+ "where": null,
2721
+ "origin": "manual",
2722
+ "name": "idx_lifecycle_evidence_stage_id",
2723
+ "entityType": "indexes",
2724
+ "table": "lifecycle_evidence"
2725
+ },
2726
+ {
2727
+ "columns": [
2728
+ {
2729
+ "value": "stage_id",
2730
+ "isExpression": false
2731
+ }
2732
+ ],
2733
+ "isUnique": false,
2734
+ "where": null,
2735
+ "origin": "manual",
2736
+ "name": "idx_lifecycle_gate_results_stage_id",
2737
+ "entityType": "indexes",
2738
+ "table": "lifecycle_gate_results"
2739
+ },
2740
+ {
2741
+ "columns": [
2742
+ {
2743
+ "value": "task_id",
2744
+ "isExpression": false
2745
+ }
2746
+ ],
2747
+ "isUnique": false,
2748
+ "where": null,
2749
+ "origin": "manual",
2750
+ "name": "idx_lifecycle_pipelines_task_id",
2751
+ "entityType": "indexes",
2752
+ "table": "lifecycle_pipelines"
2753
+ },
2754
+ {
2755
+ "columns": [
2756
+ {
2757
+ "value": "status",
2758
+ "isExpression": false
2759
+ }
2760
+ ],
2761
+ "isUnique": false,
2762
+ "where": null,
2763
+ "origin": "manual",
2764
+ "name": "idx_lifecycle_pipelines_status",
2765
+ "entityType": "indexes",
2766
+ "table": "lifecycle_pipelines"
2767
+ },
2768
+ {
2769
+ "columns": [
2770
+ {
2771
+ "value": "pipeline_id",
2772
+ "isExpression": false
2773
+ }
2774
+ ],
2775
+ "isUnique": false,
2776
+ "where": null,
2777
+ "origin": "manual",
2778
+ "name": "idx_lifecycle_stages_pipeline_id",
2779
+ "entityType": "indexes",
2780
+ "table": "lifecycle_stages"
2781
+ },
2782
+ {
2783
+ "columns": [
2784
+ {
2785
+ "value": "stage_name",
2786
+ "isExpression": false
2787
+ }
2788
+ ],
2789
+ "isUnique": false,
2790
+ "where": null,
2791
+ "origin": "manual",
2792
+ "name": "idx_lifecycle_stages_stage_name",
2793
+ "entityType": "indexes",
2794
+ "table": "lifecycle_stages"
2795
+ },
2796
+ {
2797
+ "columns": [
2798
+ {
2799
+ "value": "status",
2800
+ "isExpression": false
2801
+ }
2802
+ ],
2803
+ "isUnique": false,
2804
+ "where": null,
2805
+ "origin": "manual",
2806
+ "name": "idx_lifecycle_stages_status",
2807
+ "entityType": "indexes",
2808
+ "table": "lifecycle_stages"
2809
+ },
2810
+ {
2811
+ "columns": [
2812
+ {
2813
+ "value": "pipeline_id",
2814
+ "isExpression": false
2815
+ }
2816
+ ],
2817
+ "isUnique": false,
2818
+ "where": null,
2819
+ "origin": "manual",
2820
+ "name": "idx_lifecycle_transitions_pipeline_id",
2821
+ "entityType": "indexes",
2822
+ "table": "lifecycle_transitions"
2823
+ },
2824
+ {
2825
+ "columns": [
2826
+ {
2827
+ "value": "pipeline_id",
2828
+ "isExpression": false
2829
+ }
2830
+ ],
2831
+ "isUnique": false,
2832
+ "where": null,
2833
+ "origin": "manual",
2834
+ "name": "idx_manifest_entries_pipeline_id",
2835
+ "entityType": "indexes",
2836
+ "table": "manifest_entries"
2837
+ },
2838
+ {
2839
+ "columns": [
2840
+ {
2841
+ "value": "stage_id",
2842
+ "isExpression": false
2843
+ }
2844
+ ],
2845
+ "isUnique": false,
2846
+ "where": null,
2847
+ "origin": "manual",
2848
+ "name": "idx_manifest_entries_stage_id",
2849
+ "entityType": "indexes",
2850
+ "table": "manifest_entries"
2851
+ },
2852
+ {
2853
+ "columns": [
2854
+ {
2855
+ "value": "status",
2856
+ "isExpression": false
2857
+ }
2858
+ ],
2859
+ "isUnique": false,
2860
+ "where": null,
2861
+ "origin": "manual",
2862
+ "name": "idx_manifest_entries_status",
2863
+ "entityType": "indexes",
2864
+ "table": "manifest_entries"
2865
+ },
2866
+ {
2867
+ "columns": [
2868
+ {
2869
+ "value": "task_id",
2870
+ "isExpression": false
2871
+ }
2872
+ ],
2873
+ "isUnique": false,
2874
+ "where": null,
2875
+ "origin": "manual",
2876
+ "name": "idx_pipeline_manifest_task_id",
2877
+ "entityType": "indexes",
2878
+ "table": "pipeline_manifest"
2879
+ },
2880
+ {
2881
+ "columns": [
2882
+ {
2883
+ "value": "session_id",
2884
+ "isExpression": false
2885
+ }
2886
+ ],
2887
+ "isUnique": false,
2888
+ "where": null,
2889
+ "origin": "manual",
2890
+ "name": "idx_pipeline_manifest_session_id",
2891
+ "entityType": "indexes",
2892
+ "table": "pipeline_manifest"
2893
+ },
2894
+ {
2895
+ "columns": [
2896
+ {
2897
+ "value": "distilled",
2898
+ "isExpression": false
2899
+ }
2900
+ ],
2901
+ "isUnique": false,
2902
+ "where": null,
2903
+ "origin": "manual",
2904
+ "name": "idx_pipeline_manifest_distilled",
2905
+ "entityType": "indexes",
2906
+ "table": "pipeline_manifest"
2907
+ },
2908
+ {
2909
+ "columns": [
2910
+ {
2911
+ "value": "status",
2912
+ "isExpression": false
2913
+ }
2914
+ ],
2915
+ "isUnique": false,
2916
+ "where": null,
2917
+ "origin": "manual",
2918
+ "name": "idx_pipeline_manifest_status",
2919
+ "entityType": "indexes",
2920
+ "table": "pipeline_manifest"
2921
+ },
2922
+ {
2923
+ "columns": [
2924
+ {
2925
+ "value": "content_hash",
2926
+ "isExpression": false
2927
+ }
2928
+ ],
2929
+ "isUnique": false,
2930
+ "where": null,
2931
+ "origin": "manual",
2932
+ "name": "idx_pipeline_manifest_content_hash",
2933
+ "entityType": "indexes",
2934
+ "table": "pipeline_manifest"
2935
+ },
2936
+ {
2937
+ "columns": [
2938
+ {
2939
+ "value": "status",
2940
+ "isExpression": false
2941
+ }
2942
+ ],
2943
+ "isUnique": false,
2944
+ "where": null,
2945
+ "origin": "manual",
2946
+ "name": "idx_sessions_status",
2947
+ "entityType": "indexes",
2948
+ "table": "sessions"
2949
+ },
2950
+ {
2951
+ "columns": [
2952
+ {
2953
+ "value": "previous_session_id",
2954
+ "isExpression": false
2955
+ }
2956
+ ],
2957
+ "isUnique": false,
2958
+ "where": null,
2959
+ "origin": "manual",
2960
+ "name": "idx_sessions_previous",
2961
+ "entityType": "indexes",
2962
+ "table": "sessions"
2963
+ },
2964
+ {
2965
+ "columns": [
2966
+ {
2967
+ "value": "agent_identifier",
2968
+ "isExpression": false
2969
+ }
2970
+ ],
2971
+ "isUnique": false,
2972
+ "where": null,
2973
+ "origin": "manual",
2974
+ "name": "idx_sessions_agent_identifier",
2975
+ "entityType": "indexes",
2976
+ "table": "sessions"
2977
+ },
2978
+ {
2979
+ "columns": [
2980
+ {
2981
+ "value": "entity_type",
2982
+ "isExpression": false
2983
+ }
2984
+ ],
2985
+ "isUnique": false,
2986
+ "where": null,
2987
+ "origin": "manual",
2988
+ "name": "idx_status_registry_entity_type",
2989
+ "entityType": "indexes",
2990
+ "table": "status_registry"
2991
+ },
2992
+ {
2993
+ "columns": [
2994
+ {
2995
+ "value": "namespace",
2996
+ "isExpression": false
2997
+ }
2998
+ ],
2999
+ "isUnique": false,
3000
+ "where": null,
3001
+ "origin": "manual",
3002
+ "name": "idx_status_registry_namespace",
3003
+ "entityType": "indexes",
3004
+ "table": "status_registry"
3005
+ },
3006
+ {
3007
+ "columns": [
3008
+ {
3009
+ "value": "depends_on",
3010
+ "isExpression": false
3011
+ }
3012
+ ],
3013
+ "isUnique": false,
3014
+ "where": null,
3015
+ "origin": "manual",
3016
+ "name": "idx_deps_depends_on",
3017
+ "entityType": "indexes",
3018
+ "table": "task_dependencies"
3019
+ },
3020
+ {
3021
+ "columns": [
3022
+ {
3023
+ "value": "session_id",
3024
+ "isExpression": false
3025
+ }
3026
+ ],
3027
+ "isUnique": false,
3028
+ "where": null,
3029
+ "origin": "manual",
3030
+ "name": "idx_work_history_session",
3031
+ "entityType": "indexes",
3032
+ "table": "task_work_history"
3033
+ },
3034
+ {
3035
+ "columns": [
3036
+ {
3037
+ "value": "status",
3038
+ "isExpression": false
3039
+ }
3040
+ ],
3041
+ "isUnique": false,
3042
+ "where": null,
3043
+ "origin": "manual",
3044
+ "name": "idx_tasks_status",
3045
+ "entityType": "indexes",
3046
+ "table": "tasks"
3047
+ },
3048
+ {
3049
+ "columns": [
3050
+ {
3051
+ "value": "parent_id",
3052
+ "isExpression": false
3053
+ }
3054
+ ],
3055
+ "isUnique": false,
3056
+ "where": null,
3057
+ "origin": "manual",
3058
+ "name": "idx_tasks_parent_id",
3059
+ "entityType": "indexes",
3060
+ "table": "tasks"
3061
+ },
3062
+ {
3063
+ "columns": [
3064
+ {
3065
+ "value": "phase",
3066
+ "isExpression": false
3067
+ }
3068
+ ],
3069
+ "isUnique": false,
3070
+ "where": null,
3071
+ "origin": "manual",
3072
+ "name": "idx_tasks_phase",
3073
+ "entityType": "indexes",
3074
+ "table": "tasks"
3075
+ },
3076
+ {
3077
+ "columns": [
3078
+ {
3079
+ "value": "type",
3080
+ "isExpression": false
3081
+ }
3082
+ ],
3083
+ "isUnique": false,
3084
+ "where": null,
3085
+ "origin": "manual",
3086
+ "name": "idx_tasks_type",
3087
+ "entityType": "indexes",
3088
+ "table": "tasks"
3089
+ },
3090
+ {
3091
+ "columns": [
3092
+ {
3093
+ "value": "priority",
3094
+ "isExpression": false
3095
+ }
3096
+ ],
3097
+ "isUnique": false,
3098
+ "where": null,
3099
+ "origin": "manual",
3100
+ "name": "idx_tasks_priority",
3101
+ "entityType": "indexes",
3102
+ "table": "tasks"
3103
+ },
3104
+ {
3105
+ "columns": [
3106
+ {
3107
+ "value": "chain_id",
3108
+ "isExpression": false
3109
+ }
3110
+ ],
3111
+ "isUnique": false,
3112
+ "where": null,
3113
+ "origin": "manual",
3114
+ "name": "idx_warp_instances_chain",
3115
+ "entityType": "indexes",
3116
+ "table": "warp_chain_instances"
3117
+ },
3118
+ {
3119
+ "columns": [
3120
+ {
3121
+ "value": "epic_id",
3122
+ "isExpression": false
3123
+ }
3124
+ ],
3125
+ "isUnique": false,
3126
+ "where": null,
3127
+ "origin": "manual",
3128
+ "name": "idx_warp_instances_epic",
3129
+ "entityType": "indexes",
3130
+ "table": "warp_chain_instances"
3131
+ },
3132
+ {
3133
+ "columns": [
3134
+ {
3135
+ "value": "status",
3136
+ "isExpression": false
3137
+ }
3138
+ ],
3139
+ "isUnique": false,
3140
+ "where": null,
3141
+ "origin": "manual",
3142
+ "name": "idx_warp_instances_status",
3143
+ "entityType": "indexes",
3144
+ "table": "warp_chain_instances"
3145
+ },
3146
+ {
3147
+ "columns": [
3148
+ {
3149
+ "value": "name",
3150
+ "isExpression": false
3151
+ }
3152
+ ],
3153
+ "isUnique": false,
3154
+ "where": null,
3155
+ "origin": "manual",
3156
+ "name": "idx_warp_chains_name",
3157
+ "entityType": "indexes",
3158
+ "table": "warp_chains"
3159
+ }
3160
+ ],
3161
+ "renames": []
3162
+ }