@cleocode/cleo 2026.2.9 → 2026.3.0

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