@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,1078 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "58edc290-0ec2-410c-bc24-89956e60e5d5",
5
+ "prevIds": [
6
+ "a4f01f6b-7d40-4489-a633-1e12066a0eb0"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "name": "brain_decisions",
11
+ "entityType": "tables"
12
+ },
13
+ {
14
+ "name": "brain_learnings",
15
+ "entityType": "tables"
16
+ },
17
+ {
18
+ "name": "brain_memory_links",
19
+ "entityType": "tables"
20
+ },
21
+ {
22
+ "name": "brain_observations",
23
+ "entityType": "tables"
24
+ },
25
+ {
26
+ "name": "brain_page_edges",
27
+ "entityType": "tables"
28
+ },
29
+ {
30
+ "name": "brain_page_nodes",
31
+ "entityType": "tables"
32
+ },
33
+ {
34
+ "name": "brain_patterns",
35
+ "entityType": "tables"
36
+ },
37
+ {
38
+ "name": "brain_schema_meta",
39
+ "entityType": "tables"
40
+ },
41
+ {
42
+ "type": "text",
43
+ "notNull": false,
44
+ "autoincrement": false,
45
+ "default": null,
46
+ "generated": null,
47
+ "name": "id",
48
+ "entityType": "columns",
49
+ "table": "brain_decisions"
50
+ },
51
+ {
52
+ "type": "text",
53
+ "notNull": true,
54
+ "autoincrement": false,
55
+ "default": null,
56
+ "generated": null,
57
+ "name": "type",
58
+ "entityType": "columns",
59
+ "table": "brain_decisions"
60
+ },
61
+ {
62
+ "type": "text",
63
+ "notNull": true,
64
+ "autoincrement": false,
65
+ "default": null,
66
+ "generated": null,
67
+ "name": "decision",
68
+ "entityType": "columns",
69
+ "table": "brain_decisions"
70
+ },
71
+ {
72
+ "type": "text",
73
+ "notNull": true,
74
+ "autoincrement": false,
75
+ "default": null,
76
+ "generated": null,
77
+ "name": "rationale",
78
+ "entityType": "columns",
79
+ "table": "brain_decisions"
80
+ },
81
+ {
82
+ "type": "text",
83
+ "notNull": true,
84
+ "autoincrement": false,
85
+ "default": null,
86
+ "generated": null,
87
+ "name": "confidence",
88
+ "entityType": "columns",
89
+ "table": "brain_decisions"
90
+ },
91
+ {
92
+ "type": "text",
93
+ "notNull": false,
94
+ "autoincrement": false,
95
+ "default": null,
96
+ "generated": null,
97
+ "name": "outcome",
98
+ "entityType": "columns",
99
+ "table": "brain_decisions"
100
+ },
101
+ {
102
+ "type": "text",
103
+ "notNull": false,
104
+ "autoincrement": false,
105
+ "default": null,
106
+ "generated": null,
107
+ "name": "alternatives_json",
108
+ "entityType": "columns",
109
+ "table": "brain_decisions"
110
+ },
111
+ {
112
+ "type": "text",
113
+ "notNull": false,
114
+ "autoincrement": false,
115
+ "default": null,
116
+ "generated": null,
117
+ "name": "context_epic_id",
118
+ "entityType": "columns",
119
+ "table": "brain_decisions"
120
+ },
121
+ {
122
+ "type": "text",
123
+ "notNull": false,
124
+ "autoincrement": false,
125
+ "default": null,
126
+ "generated": null,
127
+ "name": "context_task_id",
128
+ "entityType": "columns",
129
+ "table": "brain_decisions"
130
+ },
131
+ {
132
+ "type": "text",
133
+ "notNull": false,
134
+ "autoincrement": false,
135
+ "default": null,
136
+ "generated": null,
137
+ "name": "context_phase",
138
+ "entityType": "columns",
139
+ "table": "brain_decisions"
140
+ },
141
+ {
142
+ "type": "text",
143
+ "notNull": true,
144
+ "autoincrement": false,
145
+ "default": "(datetime('now'))",
146
+ "generated": null,
147
+ "name": "created_at",
148
+ "entityType": "columns",
149
+ "table": "brain_decisions"
150
+ },
151
+ {
152
+ "type": "text",
153
+ "notNull": false,
154
+ "autoincrement": false,
155
+ "default": null,
156
+ "generated": null,
157
+ "name": "updated_at",
158
+ "entityType": "columns",
159
+ "table": "brain_decisions"
160
+ },
161
+ {
162
+ "type": "text",
163
+ "notNull": false,
164
+ "autoincrement": false,
165
+ "default": null,
166
+ "generated": null,
167
+ "name": "id",
168
+ "entityType": "columns",
169
+ "table": "brain_learnings"
170
+ },
171
+ {
172
+ "type": "text",
173
+ "notNull": true,
174
+ "autoincrement": false,
175
+ "default": null,
176
+ "generated": null,
177
+ "name": "insight",
178
+ "entityType": "columns",
179
+ "table": "brain_learnings"
180
+ },
181
+ {
182
+ "type": "text",
183
+ "notNull": true,
184
+ "autoincrement": false,
185
+ "default": null,
186
+ "generated": null,
187
+ "name": "source",
188
+ "entityType": "columns",
189
+ "table": "brain_learnings"
190
+ },
191
+ {
192
+ "type": "real",
193
+ "notNull": true,
194
+ "autoincrement": false,
195
+ "default": null,
196
+ "generated": null,
197
+ "name": "confidence",
198
+ "entityType": "columns",
199
+ "table": "brain_learnings"
200
+ },
201
+ {
202
+ "type": "integer",
203
+ "notNull": true,
204
+ "autoincrement": false,
205
+ "default": "false",
206
+ "generated": null,
207
+ "name": "actionable",
208
+ "entityType": "columns",
209
+ "table": "brain_learnings"
210
+ },
211
+ {
212
+ "type": "text",
213
+ "notNull": false,
214
+ "autoincrement": false,
215
+ "default": null,
216
+ "generated": null,
217
+ "name": "application",
218
+ "entityType": "columns",
219
+ "table": "brain_learnings"
220
+ },
221
+ {
222
+ "type": "text",
223
+ "notNull": false,
224
+ "autoincrement": false,
225
+ "default": null,
226
+ "generated": null,
227
+ "name": "applicable_types_json",
228
+ "entityType": "columns",
229
+ "table": "brain_learnings"
230
+ },
231
+ {
232
+ "type": "text",
233
+ "notNull": true,
234
+ "autoincrement": false,
235
+ "default": "(datetime('now'))",
236
+ "generated": null,
237
+ "name": "created_at",
238
+ "entityType": "columns",
239
+ "table": "brain_learnings"
240
+ },
241
+ {
242
+ "type": "text",
243
+ "notNull": false,
244
+ "autoincrement": false,
245
+ "default": null,
246
+ "generated": null,
247
+ "name": "updated_at",
248
+ "entityType": "columns",
249
+ "table": "brain_learnings"
250
+ },
251
+ {
252
+ "type": "text",
253
+ "notNull": true,
254
+ "autoincrement": false,
255
+ "default": null,
256
+ "generated": null,
257
+ "name": "memory_type",
258
+ "entityType": "columns",
259
+ "table": "brain_memory_links"
260
+ },
261
+ {
262
+ "type": "text",
263
+ "notNull": true,
264
+ "autoincrement": false,
265
+ "default": null,
266
+ "generated": null,
267
+ "name": "memory_id",
268
+ "entityType": "columns",
269
+ "table": "brain_memory_links"
270
+ },
271
+ {
272
+ "type": "text",
273
+ "notNull": true,
274
+ "autoincrement": false,
275
+ "default": null,
276
+ "generated": null,
277
+ "name": "task_id",
278
+ "entityType": "columns",
279
+ "table": "brain_memory_links"
280
+ },
281
+ {
282
+ "type": "text",
283
+ "notNull": true,
284
+ "autoincrement": false,
285
+ "default": null,
286
+ "generated": null,
287
+ "name": "link_type",
288
+ "entityType": "columns",
289
+ "table": "brain_memory_links"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "notNull": true,
294
+ "autoincrement": false,
295
+ "default": "(datetime('now'))",
296
+ "generated": null,
297
+ "name": "created_at",
298
+ "entityType": "columns",
299
+ "table": "brain_memory_links"
300
+ },
301
+ {
302
+ "type": "text",
303
+ "notNull": false,
304
+ "autoincrement": false,
305
+ "default": null,
306
+ "generated": null,
307
+ "name": "id",
308
+ "entityType": "columns",
309
+ "table": "brain_observations"
310
+ },
311
+ {
312
+ "type": "text",
313
+ "notNull": true,
314
+ "autoincrement": false,
315
+ "default": null,
316
+ "generated": null,
317
+ "name": "type",
318
+ "entityType": "columns",
319
+ "table": "brain_observations"
320
+ },
321
+ {
322
+ "type": "text",
323
+ "notNull": true,
324
+ "autoincrement": false,
325
+ "default": null,
326
+ "generated": null,
327
+ "name": "title",
328
+ "entityType": "columns",
329
+ "table": "brain_observations"
330
+ },
331
+ {
332
+ "type": "text",
333
+ "notNull": false,
334
+ "autoincrement": false,
335
+ "default": null,
336
+ "generated": null,
337
+ "name": "subtitle",
338
+ "entityType": "columns",
339
+ "table": "brain_observations"
340
+ },
341
+ {
342
+ "type": "text",
343
+ "notNull": false,
344
+ "autoincrement": false,
345
+ "default": null,
346
+ "generated": null,
347
+ "name": "narrative",
348
+ "entityType": "columns",
349
+ "table": "brain_observations"
350
+ },
351
+ {
352
+ "type": "text",
353
+ "notNull": false,
354
+ "autoincrement": false,
355
+ "default": null,
356
+ "generated": null,
357
+ "name": "facts_json",
358
+ "entityType": "columns",
359
+ "table": "brain_observations"
360
+ },
361
+ {
362
+ "type": "text",
363
+ "notNull": false,
364
+ "autoincrement": false,
365
+ "default": null,
366
+ "generated": null,
367
+ "name": "concepts_json",
368
+ "entityType": "columns",
369
+ "table": "brain_observations"
370
+ },
371
+ {
372
+ "type": "text",
373
+ "notNull": false,
374
+ "autoincrement": false,
375
+ "default": null,
376
+ "generated": null,
377
+ "name": "project",
378
+ "entityType": "columns",
379
+ "table": "brain_observations"
380
+ },
381
+ {
382
+ "type": "text",
383
+ "notNull": false,
384
+ "autoincrement": false,
385
+ "default": null,
386
+ "generated": null,
387
+ "name": "files_read_json",
388
+ "entityType": "columns",
389
+ "table": "brain_observations"
390
+ },
391
+ {
392
+ "type": "text",
393
+ "notNull": false,
394
+ "autoincrement": false,
395
+ "default": null,
396
+ "generated": null,
397
+ "name": "files_modified_json",
398
+ "entityType": "columns",
399
+ "table": "brain_observations"
400
+ },
401
+ {
402
+ "type": "text",
403
+ "notNull": false,
404
+ "autoincrement": false,
405
+ "default": null,
406
+ "generated": null,
407
+ "name": "source_session_id",
408
+ "entityType": "columns",
409
+ "table": "brain_observations"
410
+ },
411
+ {
412
+ "type": "text",
413
+ "notNull": true,
414
+ "autoincrement": false,
415
+ "default": "'agent'",
416
+ "generated": null,
417
+ "name": "source_type",
418
+ "entityType": "columns",
419
+ "table": "brain_observations"
420
+ },
421
+ {
422
+ "type": "text",
423
+ "notNull": false,
424
+ "autoincrement": false,
425
+ "default": null,
426
+ "generated": null,
427
+ "name": "content_hash",
428
+ "entityType": "columns",
429
+ "table": "brain_observations"
430
+ },
431
+ {
432
+ "type": "integer",
433
+ "notNull": false,
434
+ "autoincrement": false,
435
+ "default": null,
436
+ "generated": null,
437
+ "name": "discovery_tokens",
438
+ "entityType": "columns",
439
+ "table": "brain_observations"
440
+ },
441
+ {
442
+ "type": "text",
443
+ "notNull": true,
444
+ "autoincrement": false,
445
+ "default": "(datetime('now'))",
446
+ "generated": null,
447
+ "name": "created_at",
448
+ "entityType": "columns",
449
+ "table": "brain_observations"
450
+ },
451
+ {
452
+ "type": "text",
453
+ "notNull": false,
454
+ "autoincrement": false,
455
+ "default": null,
456
+ "generated": null,
457
+ "name": "updated_at",
458
+ "entityType": "columns",
459
+ "table": "brain_observations"
460
+ },
461
+ {
462
+ "type": "text",
463
+ "notNull": true,
464
+ "autoincrement": false,
465
+ "default": null,
466
+ "generated": null,
467
+ "name": "from_id",
468
+ "entityType": "columns",
469
+ "table": "brain_page_edges"
470
+ },
471
+ {
472
+ "type": "text",
473
+ "notNull": true,
474
+ "autoincrement": false,
475
+ "default": null,
476
+ "generated": null,
477
+ "name": "to_id",
478
+ "entityType": "columns",
479
+ "table": "brain_page_edges"
480
+ },
481
+ {
482
+ "type": "text",
483
+ "notNull": true,
484
+ "autoincrement": false,
485
+ "default": null,
486
+ "generated": null,
487
+ "name": "edge_type",
488
+ "entityType": "columns",
489
+ "table": "brain_page_edges"
490
+ },
491
+ {
492
+ "type": "real",
493
+ "notNull": false,
494
+ "autoincrement": false,
495
+ "default": "1",
496
+ "generated": null,
497
+ "name": "weight",
498
+ "entityType": "columns",
499
+ "table": "brain_page_edges"
500
+ },
501
+ {
502
+ "type": "text",
503
+ "notNull": true,
504
+ "autoincrement": false,
505
+ "default": "(datetime('now'))",
506
+ "generated": null,
507
+ "name": "created_at",
508
+ "entityType": "columns",
509
+ "table": "brain_page_edges"
510
+ },
511
+ {
512
+ "type": "text",
513
+ "notNull": false,
514
+ "autoincrement": false,
515
+ "default": null,
516
+ "generated": null,
517
+ "name": "id",
518
+ "entityType": "columns",
519
+ "table": "brain_page_nodes"
520
+ },
521
+ {
522
+ "type": "text",
523
+ "notNull": true,
524
+ "autoincrement": false,
525
+ "default": null,
526
+ "generated": null,
527
+ "name": "node_type",
528
+ "entityType": "columns",
529
+ "table": "brain_page_nodes"
530
+ },
531
+ {
532
+ "type": "text",
533
+ "notNull": true,
534
+ "autoincrement": false,
535
+ "default": null,
536
+ "generated": null,
537
+ "name": "label",
538
+ "entityType": "columns",
539
+ "table": "brain_page_nodes"
540
+ },
541
+ {
542
+ "type": "text",
543
+ "notNull": false,
544
+ "autoincrement": false,
545
+ "default": null,
546
+ "generated": null,
547
+ "name": "metadata_json",
548
+ "entityType": "columns",
549
+ "table": "brain_page_nodes"
550
+ },
551
+ {
552
+ "type": "text",
553
+ "notNull": true,
554
+ "autoincrement": false,
555
+ "default": "(datetime('now'))",
556
+ "generated": null,
557
+ "name": "created_at",
558
+ "entityType": "columns",
559
+ "table": "brain_page_nodes"
560
+ },
561
+ {
562
+ "type": "text",
563
+ "notNull": false,
564
+ "autoincrement": false,
565
+ "default": null,
566
+ "generated": null,
567
+ "name": "id",
568
+ "entityType": "columns",
569
+ "table": "brain_patterns"
570
+ },
571
+ {
572
+ "type": "text",
573
+ "notNull": true,
574
+ "autoincrement": false,
575
+ "default": null,
576
+ "generated": null,
577
+ "name": "type",
578
+ "entityType": "columns",
579
+ "table": "brain_patterns"
580
+ },
581
+ {
582
+ "type": "text",
583
+ "notNull": true,
584
+ "autoincrement": false,
585
+ "default": null,
586
+ "generated": null,
587
+ "name": "pattern",
588
+ "entityType": "columns",
589
+ "table": "brain_patterns"
590
+ },
591
+ {
592
+ "type": "text",
593
+ "notNull": true,
594
+ "autoincrement": false,
595
+ "default": null,
596
+ "generated": null,
597
+ "name": "context",
598
+ "entityType": "columns",
599
+ "table": "brain_patterns"
600
+ },
601
+ {
602
+ "type": "integer",
603
+ "notNull": true,
604
+ "autoincrement": false,
605
+ "default": "1",
606
+ "generated": null,
607
+ "name": "frequency",
608
+ "entityType": "columns",
609
+ "table": "brain_patterns"
610
+ },
611
+ {
612
+ "type": "real",
613
+ "notNull": false,
614
+ "autoincrement": false,
615
+ "default": null,
616
+ "generated": null,
617
+ "name": "success_rate",
618
+ "entityType": "columns",
619
+ "table": "brain_patterns"
620
+ },
621
+ {
622
+ "type": "text",
623
+ "notNull": false,
624
+ "autoincrement": false,
625
+ "default": null,
626
+ "generated": null,
627
+ "name": "impact",
628
+ "entityType": "columns",
629
+ "table": "brain_patterns"
630
+ },
631
+ {
632
+ "type": "text",
633
+ "notNull": false,
634
+ "autoincrement": false,
635
+ "default": null,
636
+ "generated": null,
637
+ "name": "anti_pattern",
638
+ "entityType": "columns",
639
+ "table": "brain_patterns"
640
+ },
641
+ {
642
+ "type": "text",
643
+ "notNull": false,
644
+ "autoincrement": false,
645
+ "default": null,
646
+ "generated": null,
647
+ "name": "mitigation",
648
+ "entityType": "columns",
649
+ "table": "brain_patterns"
650
+ },
651
+ {
652
+ "type": "text",
653
+ "notNull": false,
654
+ "autoincrement": false,
655
+ "default": "'[]'",
656
+ "generated": null,
657
+ "name": "examples_json",
658
+ "entityType": "columns",
659
+ "table": "brain_patterns"
660
+ },
661
+ {
662
+ "type": "text",
663
+ "notNull": true,
664
+ "autoincrement": false,
665
+ "default": "(datetime('now'))",
666
+ "generated": null,
667
+ "name": "extracted_at",
668
+ "entityType": "columns",
669
+ "table": "brain_patterns"
670
+ },
671
+ {
672
+ "type": "text",
673
+ "notNull": false,
674
+ "autoincrement": false,
675
+ "default": null,
676
+ "generated": null,
677
+ "name": "updated_at",
678
+ "entityType": "columns",
679
+ "table": "brain_patterns"
680
+ },
681
+ {
682
+ "type": "text",
683
+ "notNull": false,
684
+ "autoincrement": false,
685
+ "default": null,
686
+ "generated": null,
687
+ "name": "key",
688
+ "entityType": "columns",
689
+ "table": "brain_schema_meta"
690
+ },
691
+ {
692
+ "type": "text",
693
+ "notNull": true,
694
+ "autoincrement": false,
695
+ "default": null,
696
+ "generated": null,
697
+ "name": "value",
698
+ "entityType": "columns",
699
+ "table": "brain_schema_meta"
700
+ },
701
+ {
702
+ "columns": [
703
+ "memory_type",
704
+ "memory_id",
705
+ "task_id",
706
+ "link_type"
707
+ ],
708
+ "nameExplicit": false,
709
+ "name": "brain_memory_links_pk",
710
+ "entityType": "pks",
711
+ "table": "brain_memory_links"
712
+ },
713
+ {
714
+ "columns": [
715
+ "from_id",
716
+ "to_id",
717
+ "edge_type"
718
+ ],
719
+ "nameExplicit": false,
720
+ "name": "brain_page_edges_pk",
721
+ "entityType": "pks",
722
+ "table": "brain_page_edges"
723
+ },
724
+ {
725
+ "columns": [
726
+ "id"
727
+ ],
728
+ "nameExplicit": false,
729
+ "name": "brain_decisions_pk",
730
+ "table": "brain_decisions",
731
+ "entityType": "pks"
732
+ },
733
+ {
734
+ "columns": [
735
+ "id"
736
+ ],
737
+ "nameExplicit": false,
738
+ "name": "brain_learnings_pk",
739
+ "table": "brain_learnings",
740
+ "entityType": "pks"
741
+ },
742
+ {
743
+ "columns": [
744
+ "id"
745
+ ],
746
+ "nameExplicit": false,
747
+ "name": "brain_observations_pk",
748
+ "table": "brain_observations",
749
+ "entityType": "pks"
750
+ },
751
+ {
752
+ "columns": [
753
+ "id"
754
+ ],
755
+ "nameExplicit": false,
756
+ "name": "brain_page_nodes_pk",
757
+ "table": "brain_page_nodes",
758
+ "entityType": "pks"
759
+ },
760
+ {
761
+ "columns": [
762
+ "id"
763
+ ],
764
+ "nameExplicit": false,
765
+ "name": "brain_patterns_pk",
766
+ "table": "brain_patterns",
767
+ "entityType": "pks"
768
+ },
769
+ {
770
+ "columns": [
771
+ "key"
772
+ ],
773
+ "nameExplicit": false,
774
+ "name": "brain_schema_meta_pk",
775
+ "table": "brain_schema_meta",
776
+ "entityType": "pks"
777
+ },
778
+ {
779
+ "columns": [
780
+ {
781
+ "value": "type",
782
+ "isExpression": false
783
+ }
784
+ ],
785
+ "isUnique": false,
786
+ "where": null,
787
+ "origin": "manual",
788
+ "name": "idx_brain_decisions_type",
789
+ "entityType": "indexes",
790
+ "table": "brain_decisions"
791
+ },
792
+ {
793
+ "columns": [
794
+ {
795
+ "value": "confidence",
796
+ "isExpression": false
797
+ }
798
+ ],
799
+ "isUnique": false,
800
+ "where": null,
801
+ "origin": "manual",
802
+ "name": "idx_brain_decisions_confidence",
803
+ "entityType": "indexes",
804
+ "table": "brain_decisions"
805
+ },
806
+ {
807
+ "columns": [
808
+ {
809
+ "value": "outcome",
810
+ "isExpression": false
811
+ }
812
+ ],
813
+ "isUnique": false,
814
+ "where": null,
815
+ "origin": "manual",
816
+ "name": "idx_brain_decisions_outcome",
817
+ "entityType": "indexes",
818
+ "table": "brain_decisions"
819
+ },
820
+ {
821
+ "columns": [
822
+ {
823
+ "value": "context_epic_id",
824
+ "isExpression": false
825
+ }
826
+ ],
827
+ "isUnique": false,
828
+ "where": null,
829
+ "origin": "manual",
830
+ "name": "idx_brain_decisions_context_epic",
831
+ "entityType": "indexes",
832
+ "table": "brain_decisions"
833
+ },
834
+ {
835
+ "columns": [
836
+ {
837
+ "value": "context_task_id",
838
+ "isExpression": false
839
+ }
840
+ ],
841
+ "isUnique": false,
842
+ "where": null,
843
+ "origin": "manual",
844
+ "name": "idx_brain_decisions_context_task",
845
+ "entityType": "indexes",
846
+ "table": "brain_decisions"
847
+ },
848
+ {
849
+ "columns": [
850
+ {
851
+ "value": "confidence",
852
+ "isExpression": false
853
+ }
854
+ ],
855
+ "isUnique": false,
856
+ "where": null,
857
+ "origin": "manual",
858
+ "name": "idx_brain_learnings_confidence",
859
+ "entityType": "indexes",
860
+ "table": "brain_learnings"
861
+ },
862
+ {
863
+ "columns": [
864
+ {
865
+ "value": "actionable",
866
+ "isExpression": false
867
+ }
868
+ ],
869
+ "isUnique": false,
870
+ "where": null,
871
+ "origin": "manual",
872
+ "name": "idx_brain_learnings_actionable",
873
+ "entityType": "indexes",
874
+ "table": "brain_learnings"
875
+ },
876
+ {
877
+ "columns": [
878
+ {
879
+ "value": "task_id",
880
+ "isExpression": false
881
+ }
882
+ ],
883
+ "isUnique": false,
884
+ "where": null,
885
+ "origin": "manual",
886
+ "name": "idx_brain_links_task",
887
+ "entityType": "indexes",
888
+ "table": "brain_memory_links"
889
+ },
890
+ {
891
+ "columns": [
892
+ {
893
+ "value": "memory_type",
894
+ "isExpression": false
895
+ },
896
+ {
897
+ "value": "memory_id",
898
+ "isExpression": false
899
+ }
900
+ ],
901
+ "isUnique": false,
902
+ "where": null,
903
+ "origin": "manual",
904
+ "name": "idx_brain_links_memory",
905
+ "entityType": "indexes",
906
+ "table": "brain_memory_links"
907
+ },
908
+ {
909
+ "columns": [
910
+ {
911
+ "value": "type",
912
+ "isExpression": false
913
+ }
914
+ ],
915
+ "isUnique": false,
916
+ "where": null,
917
+ "origin": "manual",
918
+ "name": "idx_brain_observations_type",
919
+ "entityType": "indexes",
920
+ "table": "brain_observations"
921
+ },
922
+ {
923
+ "columns": [
924
+ {
925
+ "value": "project",
926
+ "isExpression": false
927
+ }
928
+ ],
929
+ "isUnique": false,
930
+ "where": null,
931
+ "origin": "manual",
932
+ "name": "idx_brain_observations_project",
933
+ "entityType": "indexes",
934
+ "table": "brain_observations"
935
+ },
936
+ {
937
+ "columns": [
938
+ {
939
+ "value": "created_at",
940
+ "isExpression": false
941
+ }
942
+ ],
943
+ "isUnique": false,
944
+ "where": null,
945
+ "origin": "manual",
946
+ "name": "idx_brain_observations_created_at",
947
+ "entityType": "indexes",
948
+ "table": "brain_observations"
949
+ },
950
+ {
951
+ "columns": [
952
+ {
953
+ "value": "source_type",
954
+ "isExpression": false
955
+ }
956
+ ],
957
+ "isUnique": false,
958
+ "where": null,
959
+ "origin": "manual",
960
+ "name": "idx_brain_observations_source_type",
961
+ "entityType": "indexes",
962
+ "table": "brain_observations"
963
+ },
964
+ {
965
+ "columns": [
966
+ {
967
+ "value": "source_session_id",
968
+ "isExpression": false
969
+ }
970
+ ],
971
+ "isUnique": false,
972
+ "where": null,
973
+ "origin": "manual",
974
+ "name": "idx_brain_observations_source_session",
975
+ "entityType": "indexes",
976
+ "table": "brain_observations"
977
+ },
978
+ {
979
+ "columns": [
980
+ {
981
+ "value": "content_hash",
982
+ "isExpression": false
983
+ }
984
+ ],
985
+ "isUnique": false,
986
+ "where": null,
987
+ "origin": "manual",
988
+ "name": "idx_brain_observations_content_hash",
989
+ "entityType": "indexes",
990
+ "table": "brain_observations"
991
+ },
992
+ {
993
+ "columns": [
994
+ {
995
+ "value": "from_id",
996
+ "isExpression": false
997
+ }
998
+ ],
999
+ "isUnique": false,
1000
+ "where": null,
1001
+ "origin": "manual",
1002
+ "name": "idx_brain_edges_from",
1003
+ "entityType": "indexes",
1004
+ "table": "brain_page_edges"
1005
+ },
1006
+ {
1007
+ "columns": [
1008
+ {
1009
+ "value": "to_id",
1010
+ "isExpression": false
1011
+ }
1012
+ ],
1013
+ "isUnique": false,
1014
+ "where": null,
1015
+ "origin": "manual",
1016
+ "name": "idx_brain_edges_to",
1017
+ "entityType": "indexes",
1018
+ "table": "brain_page_edges"
1019
+ },
1020
+ {
1021
+ "columns": [
1022
+ {
1023
+ "value": "node_type",
1024
+ "isExpression": false
1025
+ }
1026
+ ],
1027
+ "isUnique": false,
1028
+ "where": null,
1029
+ "origin": "manual",
1030
+ "name": "idx_brain_nodes_type",
1031
+ "entityType": "indexes",
1032
+ "table": "brain_page_nodes"
1033
+ },
1034
+ {
1035
+ "columns": [
1036
+ {
1037
+ "value": "type",
1038
+ "isExpression": false
1039
+ }
1040
+ ],
1041
+ "isUnique": false,
1042
+ "where": null,
1043
+ "origin": "manual",
1044
+ "name": "idx_brain_patterns_type",
1045
+ "entityType": "indexes",
1046
+ "table": "brain_patterns"
1047
+ },
1048
+ {
1049
+ "columns": [
1050
+ {
1051
+ "value": "impact",
1052
+ "isExpression": false
1053
+ }
1054
+ ],
1055
+ "isUnique": false,
1056
+ "where": null,
1057
+ "origin": "manual",
1058
+ "name": "idx_brain_patterns_impact",
1059
+ "entityType": "indexes",
1060
+ "table": "brain_patterns"
1061
+ },
1062
+ {
1063
+ "columns": [
1064
+ {
1065
+ "value": "frequency",
1066
+ "isExpression": false
1067
+ }
1068
+ ],
1069
+ "isUnique": false,
1070
+ "where": null,
1071
+ "origin": "manual",
1072
+ "name": "idx_brain_patterns_frequency",
1073
+ "entityType": "indexes",
1074
+ "table": "brain_patterns"
1075
+ }
1076
+ ],
1077
+ "renames": []
1078
+ }