@cleocode/cleo 2026.3.12 → 2026.3.14

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