datanotes 3.2.0 → 3.3.1

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 (63) hide show
  1. package/README.md +1 -0
  2. package/SECURITY.md +12 -0
  3. package/dist/api/client.d.cts +2 -0
  4. package/dist/api/client.d.ts +2 -0
  5. package/dist/api/docs.d.cts +14 -4
  6. package/dist/api/docs.d.ts +14 -4
  7. package/dist/api/extension-files.d.cts +23 -0
  8. package/dist/api/extension-files.d.ts +23 -0
  9. package/dist/api/extension-host.d.cts +108 -0
  10. package/dist/api/extension-host.d.ts +108 -0
  11. package/dist/api/extension-manifest.d.cts +154 -0
  12. package/dist/api/extension-manifest.d.ts +154 -0
  13. package/dist/api/extension-plan.d.cts +174 -0
  14. package/dist/api/extension-plan.d.ts +174 -0
  15. package/dist/api/extension-record.d.cts +65 -0
  16. package/dist/api/extension-record.d.ts +65 -0
  17. package/dist/api/extension-sdk.d.cts +65 -0
  18. package/dist/api/extension-sdk.d.ts +65 -0
  19. package/dist/api/extensions.cjs +19660 -0
  20. package/dist/api/extensions.d.cts +11 -0
  21. package/dist/api/extensions.d.ts +11 -0
  22. package/dist/api/extensions.js +19597 -0
  23. package/dist/api/index.cjs +1568 -375
  24. package/dist/api/index.js +1568 -375
  25. package/dist/api/mcp.cjs +1238 -27
  26. package/dist/api/mcp.js +1238 -27
  27. package/dist/datanotes.cjs +8365 -4335
  28. package/dist/docs/administration/extensions.md +213 -0
  29. package/dist/docs/api/operations/alter_table.md +4 -3
  30. package/dist/docs/api/operations/extensions_delete.md +29 -0
  31. package/dist/docs/api/operations/extensions_list.md +20 -0
  32. package/dist/docs/api/operations/extensions_record.md +44 -0
  33. package/dist/docs/api/operations/tags/extensions.md +9 -0
  34. package/dist/docs/api.md +9 -1
  35. package/dist/docs/develop/write-an-extension.md +369 -0
  36. package/dist/docs/guides/data-quality/check-constraints.md +10 -10
  37. package/dist/docs/guides/data-quality/hand-edits.md +8 -8
  38. package/dist/docs/guides/database-objects/bases.md +11 -11
  39. package/dist/docs/guides/database-objects/catalogs-and-schemas.md +30 -10
  40. package/dist/docs/guides/database-objects/columns.md +38 -38
  41. package/dist/docs/guides/database-objects/relations.md +28 -28
  42. package/dist/docs/guides/database-objects/tables.md +167 -43
  43. package/dist/docs/guides/database-objects/views.md +44 -44
  44. package/dist/docs/guides/history/change-data-feed.md +34 -34
  45. package/dist/docs/guides/history/journal-and-undo.md +12 -12
  46. package/dist/docs/guides/history/restore.md +20 -20
  47. package/dist/docs/guides/history/table-history.md +31 -31
  48. package/dist/docs/guides/read-and-write/automatic-links.md +15 -15
  49. package/dist/docs/guides/read-and-write/import-notes.md +20 -20
  50. package/dist/docs/guides/read-and-write/joins-and-aggregates.md +7 -7
  51. package/dist/docs/guides/read-and-write/read-and-filter.md +10 -10
  52. package/dist/docs/guides/read-and-write/write-rows.md +10 -10
  53. package/dist/docs/guides/search/text.md +1 -1
  54. package/dist/docs/guides/security/security-model.md +12 -0
  55. package/dist/docs/reference/cli.md +32 -1
  56. package/dist/docs/reference/glossary.md +8 -0
  57. package/dist/docs/reference/operations/auxiliary.md +1 -1
  58. package/dist/docs/reference/operations/rows.md +1 -1
  59. package/dist/docs/reference/operations/schema.md +3 -3
  60. package/dist/docs/reference/operations.md +4 -4
  61. package/dist/docs/release-notes.md +49 -0
  62. package/dist/docs/start/connect-agents.md +11 -0
  63. package/package.json +11 -1
@@ -63,7 +63,7 @@ Answer:
63
63
  "commits": [
64
64
  { "table": "diary.classics.film", "version": 0, "operation": "CREATE TABLE" }
65
65
  ],
66
- "migration_id": "20261019T040655-create_table-create-table-diary-classics-fi"
66
+ "migration_id": "20261024T053837-create_table-create-table-diary-classics-fi"
67
67
  }
68
68
  ```
69
69
 
@@ -91,7 +91,7 @@ Answer:
91
91
  "files_created": 1,
92
92
  "planned_creates": ["datanotes/diary/classics/film/Nosferatu.md"],
93
93
  "commits": [{ "table": "diary.classics.film", "version": 1, "operation": "WRITE" }],
94
- "migration_id": "20261019T040655-insert_row-insert-into-film"
94
+ "migration_id": "20261024T053837-insert_row-insert-into-film"
95
95
  }
96
96
  ```
97
97
 
@@ -127,7 +127,7 @@ Answer:
127
127
  "commits": [
128
128
  { "table": "diary.classics.film", "version": 3, "operation": "ALTER TABLE" }
129
129
  ],
130
- "migration_id": "20261019T040655-alter_table-alter-table-diary-classics-fil-2"
130
+ "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-2"
131
131
  }
132
132
  ```
133
133
 
@@ -144,7 +144,7 @@ Answer:
144
144
  "ok": true,
145
145
  "op": "comment_on",
146
146
  "planned_texts": ["datanotes/metastore.yaml"],
147
- "migration_id": "20261019T040655-comment_on-comment-on-catalog-diary"
147
+ "migration_id": "20261024T053837-comment_on-comment-on-catalog-diary"
148
148
  }
149
149
  ```
150
150
 
@@ -165,7 +165,7 @@ Answer:
165
165
  "ok": true,
166
166
  "op": "comment_on",
167
167
  "planned_texts": ["datanotes/metastore.yaml"],
168
- "migration_id": "20261019T040655-comment_on-comment-on-schema-diary-classi"
168
+ "migration_id": "20261024T053837-comment_on-comment-on-schema-diary-classi"
169
169
  }
170
170
  ```
171
171
 
@@ -173,7 +173,7 @@ Answer:
173
173
 
174
174
  ```yaml
175
175
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
176
- id: 01a15257-4b68-7b8b-bf1b-44c297b63995
176
+ id: 01a16c6b-0d6f-702d-bc09-cd959a95f3fe
177
177
  config:
178
178
  history: true
179
179
 
@@ -270,7 +270,7 @@ Answer:
270
270
  "commits": [
271
271
  { "table": "diary.classics.film", "version": 4, "operation": "ALTER TABLE" }
272
272
  ],
273
- "migration_id": "20261019T040655-alter_table-alter-table-diary-classics-fil-3"
273
+ "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-3"
274
274
  }
275
275
  ```
276
276
 
@@ -287,7 +287,7 @@ Answer:
287
287
  "ok": true,
288
288
  "op": "comment_on",
289
289
  "planned_texts": ["datanotes/metastore.yaml"],
290
- "migration_id": "20261019T040655-comment_on-remove-the-comment-on-schema-d"
290
+ "migration_id": "20261024T053837-comment_on-remove-the-comment-on-schema-d"
291
291
  }
292
292
  ```
293
293
 
@@ -309,7 +309,7 @@ Answer:
309
309
  "commits": [
310
310
  { "table": "diary.classics.film", "version": 5, "operation": "ALTER TABLE" }
311
311
  ],
312
- "migration_id": "20261019T040655-alter_table-alter-table-diary-classics-fil-4"
312
+ "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-4"
313
313
  }
314
314
  ```
315
315
 
@@ -593,7 +593,7 @@ This is the database of this page as the engine wrote it. `metastore.yaml` holds
593
593
 
594
594
  ```yaml
595
595
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
596
- id: 01a15257-4b68-7b8b-bf1b-44c297b63995
596
+ id: 01a16c6b-0d6f-702d-bc09-cd959a95f3fe
597
597
  config:
598
598
  history: true
599
599
  default_catalog: diary
@@ -667,6 +667,10 @@ catalogs:
667
667
  min: 1
668
668
  max: 5
669
669
  description: My rating, from 1 (poor) to 5 (a masterpiece)
670
+ - name: lead
671
+ type: link
672
+ ref: diary.credits.actor
673
+ description: The actor in the leading role
670
674
  genre:
671
675
  description: Eras and genres of cinema, as a tree
672
676
  options:
@@ -703,6 +707,14 @@ catalogs:
703
707
  type: string
704
708
  required: true
705
709
  description: The name of the era or genre
710
+ views:
711
+ cast_list:
712
+ description: Every actor, by name
713
+ query:
714
+ table: diary.credits.actor
715
+ columns:
716
+ - name
717
+ order_by: name
706
718
  credits:
707
719
  tables:
708
720
  actor:
@@ -819,6 +831,10 @@ catalogs:
819
831
  min: 1
820
832
  max: 5
821
833
  description: My rating, from 1 (poor) to 5 (a masterpiece)
834
+ - name: lead
835
+ type: link
836
+ ref: diary.credits.actor
837
+ description: The actor in the leading role
822
838
  film_empty:
823
839
  description: "One note per classic film: what I watched and what I thought"
824
840
  aliases:
@@ -875,6 +891,10 @@ catalogs:
875
891
  min: 1
876
892
  max: 5
877
893
  description: My rating, from 1 (poor) to 5 (a masterpiece)
894
+ - name: lead
895
+ type: link
896
+ ref: diary.credits.actor
897
+ description: The actor in the leading role
878
898
  bases:
879
899
  entry:
880
900
  description: A note of the film diary
@@ -35,7 +35,7 @@ Answer:
35
35
  "op": "add_column",
36
36
  "planned_texts": ["datanotes/metastore.yaml"],
37
37
  "commits": [{ "table": "main.public.film", "version": 3, "operation": "ADD COLUMNS" }],
38
- "migration_id": "20261019T040638-add_column-add-column-minutes-to-film"
38
+ "migration_id": "20261024T053819-add_column-add-column-minutes-to-film"
39
39
  }
40
40
  ```
41
41
 
@@ -118,7 +118,7 @@ Answer:
118
118
  ],
119
119
  "planned_texts": ["datanotes/metastore.yaml"],
120
120
  "commits": [{ "table": "main.public.film", "version": 5, "operation": "ADD COLUMNS" }],
121
- "migration_id": "20261019T040638-add_column-add-column-favourite-to-film"
121
+ "migration_id": "20261024T053819-add_column-add-column-favourite-to-film"
122
122
  }
123
123
  ```
124
124
 
@@ -176,7 +176,7 @@ Answer:
176
176
  "op": "add_column",
177
177
  "planned_texts": ["datanotes/metastore.yaml"],
178
178
  "commits": [{ "table": "main.public.film", "version": 6, "operation": "ADD COLUMNS" }],
179
- "migration_id": "20261019T040638-add_column-add-column-status-to-film"
179
+ "migration_id": "20261024T053819-add_column-add-column-status-to-film"
180
180
  }
181
181
  ```
182
182
 
@@ -283,7 +283,7 @@ Answer:
283
283
  ],
284
284
  "planned_texts": ["datanotes/metastore.yaml"],
285
285
  "commits": [{ "table": "main.public.film", "version": 9, "operation": "UPDATE" }],
286
- "migration_id": "20261019T040638-rename_value-rename-film-status-value-seen-"
286
+ "migration_id": "20261024T053819-rename_value-rename-film-status-value-seen-"
287
287
  }
288
288
  ```
289
289
 
@@ -338,7 +338,7 @@ Answer:
338
338
  "commits": [
339
339
  { "table": "main.public.film", "version": 10, "operation": "CHANGE COLUMN" }
340
340
  ],
341
- "migration_id": "20261019T040638-alter_column-alter-column-status-in-film"
341
+ "migration_id": "20261024T053819-alter_column-alter-column-status-in-film"
342
342
  }
343
343
  ```
344
344
 
@@ -402,7 +402,7 @@ Answer:
402
402
  "commits": [
403
403
  { "table": "main.public.film", "version": 11, "operation": "CHANGE COLUMN" }
404
404
  ],
405
- "migration_id": "20261019T040638-alter_column-alter-column-minutes-in-film"
405
+ "migration_id": "20261024T053819-alter_column-alter-column-minutes-in-film"
406
406
  }
407
407
  ```
408
408
 
@@ -424,7 +424,7 @@ Answer:
424
424
  "commits": [
425
425
  { "table": "main.public.film", "version": 12, "operation": "CHANGE COLUMN" }
426
426
  ],
427
- "migration_id": "20261019T040638-alter_column-alter-column-minutes-in-film-2"
427
+ "migration_id": "20261024T053819-alter_column-alter-column-minutes-in-film-2"
428
428
  }
429
429
  ```
430
430
 
@@ -454,7 +454,7 @@ Answer:
454
454
  "commits": [
455
455
  { "table": "main.public.film", "version": 13, "operation": "CHANGE COLUMN" }
456
456
  ],
457
- "migration_id": "20261019T040638-alter_column-alter-column-minutes-in-film-3"
457
+ "migration_id": "20261024T053819-alter_column-alter-column-minutes-in-film-3"
458
458
  }
459
459
  ```
460
460
 
@@ -463,7 +463,7 @@ Answer:
463
463
  ```markdown
464
464
  ---
465
465
  table: main.public.film
466
- id: 01a15257-0b64-7ab6-932a-3735e098cc48
466
+ id: 01a16c6a-c855-700d-a1ce-24a15e0b4225
467
467
  title: Nosferatu
468
468
  year: 1922
469
469
  favourite: false
@@ -490,7 +490,7 @@ Answer:
490
490
  "commits": [
491
491
  { "table": "main.public.film", "version": 14, "operation": "CHANGE COLUMN" }
492
492
  ],
493
- "migration_id": "20261019T040638-alter_column-alter-column-minutes-in-film-4"
493
+ "migration_id": "20261024T053819-alter_column-alter-column-minutes-in-film-4"
494
494
  }
495
495
  ```
496
496
 
@@ -499,7 +499,7 @@ Answer:
499
499
  ```markdown
500
500
  ---
501
501
  table: main.public.film
502
- id: 01a15257-0b64-7ab6-932a-3735e098cc48
502
+ id: 01a16c6a-c855-700d-a1ce-24a15e0b4225
503
503
  title: Nosferatu
504
504
  year: 1922
505
505
  favourite: false
@@ -541,7 +541,7 @@ Answer:
541
541
  "commits": [
542
542
  { "table": "main.public.film", "version": 15, "operation": "RENAME COLUMN" }
543
543
  ],
544
- "migration_id": "20261019T040638-rename_column-rename-column-favourite-to-lov"
544
+ "migration_id": "20261024T053819-rename_column-rename-column-favourite-to-lov"
545
545
  }
546
546
  ```
547
547
 
@@ -603,14 +603,14 @@ Answer:
603
603
  ],
604
604
  "planned_texts": ["datanotes/metastore.yaml"],
605
605
  "commits": [{ "table": "main.public.film", "version": 16, "operation": "DROP COLUMNS" }],
606
- "migration_id": "20261019T040638-drop_column-drop-column-loved_it-from-film"
606
+ "migration_id": "20261024T053819-drop_column-drop-column-loved_it-from-film"
607
607
  }
608
608
  ```
609
609
 
610
610
  **`undo_migration`**
611
611
 
612
612
  ```json
613
- { "migration_id": "20261019T040638-drop_column-drop-column-loved_it-from-film" }
613
+ { "migration_id": "20261024T053819-drop_column-drop-column-loved_it-from-film" }
614
614
  ```
615
615
 
616
616
  Answer:
@@ -619,8 +619,8 @@ Answer:
619
619
  {
620
620
  "ok": true,
621
621
  "op": "undo_migration",
622
- "undoes": "20261019T040638-drop_column-drop-column-loved_it-from-film",
623
- "migration_id": "20261019T040638-undo_migration-undo-20261019t040638-drop_colu",
622
+ "undoes": "20261024T053819-drop_column-drop-column-loved_it-from-film",
623
+ "migration_id": "20261024T053819-undo_migration-undo-20261024t053819-drop_colu",
624
624
  "conflicts": [],
625
625
  "failed": []
626
626
  }
@@ -681,7 +681,7 @@ Answer:
681
681
  "op": "add_column",
682
682
  "planned_texts": ["datanotes/metastore.yaml"],
683
683
  "commits": [{ "table": "main.public.film", "version": 18, "operation": "ADD COLUMNS" }],
684
- "migration_id": "20261019T040638-add_column-add-column-added-to-film"
684
+ "migration_id": "20261024T053820-add_column-add-column-added-to-film"
685
685
  }
686
686
  ```
687
687
 
@@ -714,7 +714,7 @@ Answer:
714
714
  "files_created": 1,
715
715
  "planned_creates": ["datanotes/main/public/film/Sherlock Jr..md"],
716
716
  "commits": [{ "table": "main.public.film", "version": 20, "operation": "WRITE" }],
717
- "migration_id": "20261019T040638-insert_row-insert-into-film-3"
717
+ "migration_id": "20261024T053820-insert_row-insert-into-film"
718
718
  }
719
719
  ```
720
720
 
@@ -723,12 +723,12 @@ Answer:
723
723
  ```markdown
724
724
  ---
725
725
  table: main.public.film
726
- id: 01a15257-0c62-7a36-afe1-f1afff29f8d8
726
+ id: 01a16c6a-c8f6-7574-84e1-70fd6a9c3d59
727
727
  loved_it: false
728
728
  title: Sherlock Jr.
729
729
  year: 1924
730
- added: 2026-10-19
731
- added_at: 2026-10-19T04:06:38Z
730
+ added: 2026-10-24
731
+ added_at: 2026-10-24T05:38:20Z
732
732
  ---
733
733
  ```
734
734
 
@@ -759,7 +759,7 @@ Answer:
759
759
  "op": "add_column",
760
760
  "planned_texts": ["datanotes/metastore.yaml"],
761
761
  "commits": [{ "table": "main.public.film", "version": 21, "operation": "ADD COLUMNS" }],
762
- "migration_id": "20261019T040638-add_column-add-column-seen_at-to-film"
762
+ "migration_id": "20261024T053820-add_column-add-column-seen_at-to-film"
763
763
  }
764
764
  ```
765
765
 
@@ -784,7 +784,7 @@ Answer:
784
784
  "op": "add_column",
785
785
  "planned_texts": ["datanotes/metastore.yaml"],
786
786
  "commits": [{ "table": "main.public.film", "version": 22, "operation": "ADD COLUMNS" }],
787
- "migration_id": "20261019T040638-add_column-add-column-viewings-to-film"
787
+ "migration_id": "20261024T053820-add_column-add-column-viewings-to-film"
788
788
  }
789
789
  ```
790
790
 
@@ -833,7 +833,7 @@ Answer:
833
833
  }
834
834
  ],
835
835
  "commits": [{ "table": "main.public.film", "version": 23, "operation": "UPDATE" }],
836
- "migration_id": "20261019T040638-update_row-update-film-4"
836
+ "migration_id": "20261024T053820-update_row-update-film"
837
837
  }
838
838
  ```
839
839
 
@@ -842,7 +842,7 @@ Answer:
842
842
  ```markdown
843
843
  ---
844
844
  table: main.public.film
845
- id: 01a15257-0b64-7ab6-932a-3735e098cc48
845
+ id: 01a16c6a-c855-700d-a1ce-24a15e0b4225
846
846
  title: Nosferatu
847
847
  year: 1922
848
848
  loved_it: false
@@ -942,7 +942,7 @@ Answer:
942
942
  "op": "create_table",
943
943
  "planned_texts": ["datanotes/metastore.yaml"],
944
944
  "commits": [{ "table": "main.public.watch", "version": 0, "operation": "CREATE TABLE" }],
945
- "migration_id": "20261019T040638-create_table-create-table-main-public-watch"
945
+ "migration_id": "20261024T053820-create_table-create-table-main-public-watch"
946
946
  }
947
947
  ```
948
948
 
@@ -968,7 +968,7 @@ Answer:
968
968
  "files_created": 1,
969
969
  "planned_creates": ["datanotes/main/public/watch/2026-10-03T2130.md"],
970
970
  "commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
971
- "migration_id": "20261019T040639-insert_row-insert-into-watch"
971
+ "migration_id": "20261024T053820-insert_row-insert-into-watch"
972
972
  }
973
973
  ```
974
974
 
@@ -977,7 +977,7 @@ Answer:
977
977
  ```markdown
978
978
  ---
979
979
  table: main.public.watch
980
- id: 01a15257-0c9b-7856-9c12-bebb7eaf82e5
980
+ id: 01a16c6a-c91c-75d4-af58-f40270afa72e
981
981
  film: His Girl Friday
982
982
  occurred_at: 2026-10-03T21:30
983
983
  where: home
@@ -1037,7 +1037,7 @@ Answer:
1037
1037
  "op": "add_column",
1038
1038
  "planned_texts": ["datanotes/metastore.yaml"],
1039
1039
  "commits": [{ "table": "main.public.film", "version": 24, "operation": "ADD COLUMNS" }],
1040
- "migration_id": "20261019T040639-add_column-add-column-note_name-to-film"
1040
+ "migration_id": "20261024T053820-add_column-add-column-note_name-to-film"
1041
1041
  }
1042
1042
  ```
1043
1043
 
@@ -1058,7 +1058,7 @@ Answer:
1058
1058
  "op": "add_column",
1059
1059
  "planned_texts": ["datanotes/metastore.yaml"],
1060
1060
  "commits": [{ "table": "main.public.film", "version": 25, "operation": "ADD COLUMNS" }],
1061
- "migration_id": "20261019T040639-add_column-add-column-created-to-film"
1061
+ "migration_id": "20261024T053820-add_column-add-column-created-to-film"
1062
1062
  }
1063
1063
  ```
1064
1064
 
@@ -1077,7 +1077,7 @@ Answer:
1077
1077
  "files_created": 1,
1078
1078
  "planned_creates": ["datanotes/main/public/film/Charade.md"],
1079
1079
  "commits": [{ "table": "main.public.film", "version": 26, "operation": "WRITE" }],
1080
- "migration_id": "20261019T040639-insert_row-insert-into-film"
1080
+ "migration_id": "20261024T053820-insert_row-insert-into-film-2"
1081
1081
  }
1082
1082
  ```
1083
1083
 
@@ -1086,14 +1086,14 @@ Answer:
1086
1086
  ```markdown
1087
1087
  ---
1088
1088
  table: main.public.film
1089
- id: 01a15257-0cc0-77b2-82b2-f18e2ec3a3e1
1089
+ id: 01a16c6a-c932-724c-b71e-793d0c0744ff
1090
1090
  loved_it: false
1091
1091
  title: Charade
1092
1092
  year: 1963
1093
- added: 2026-10-19
1094
- added_at: 2026-10-19T04:06:39Z
1093
+ added: 2026-10-24
1094
+ added_at: 2026-10-24T05:38:20Z
1095
1095
  note_name: Charade
1096
- created: 2026-10-19T04:06:39Z
1096
+ created: 2026-10-24T05:38:20Z
1097
1097
  ---
1098
1098
  ```
1099
1099
 
@@ -1134,7 +1134,7 @@ Answer:
1134
1134
  "op": "create_table",
1135
1135
  "planned_texts": ["datanotes/metastore.yaml"],
1136
1136
  "commits": [{ "table": "main.public.actor", "version": 0, "operation": "CREATE TABLE" }],
1137
- "migration_id": "20261019T040640-create_table-create-table-main-public-actor"
1137
+ "migration_id": "20261024T053821-create_table-create-table-main-public-actor"
1138
1138
  }
1139
1139
  ```
1140
1140
 
@@ -1153,7 +1153,7 @@ Answer:
1153
1153
  "files_created": 1,
1154
1154
  "planned_creates": ["datanotes/main/public/actor/1904/Cary Grant.md"],
1155
1155
  "commits": [{ "table": "main.public.actor", "version": 1, "operation": "WRITE" }],
1156
- "migration_id": "20261019T040640-insert_row-insert-into-actor"
1156
+ "migration_id": "20261024T053821-insert_row-insert-into-actor"
1157
1157
  }
1158
1158
  ```
1159
1159
 
@@ -1190,7 +1190,7 @@ The engine wrote this file with the columns from this page, in the operations’
1190
1190
 
1191
1191
  ```yaml
1192
1192
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
1193
- id: 01a15257-0b53-73e7-8389-d60b05c9574b
1193
+ id: 01a16c6a-c84a-7a99-9e17-51884bf8c6da
1194
1194
  config:
1195
1195
  history: true
1196
1196
 
@@ -56,7 +56,7 @@ Answer:
56
56
  "op": "create_table",
57
57
  "planned_texts": ["datanotes/metastore.yaml"],
58
58
  "commits": [{ "table": "main.public.watch", "version": 0, "operation": "CREATE TABLE" }],
59
- "migration_id": "20261019T040640-create_table-create-table-main-public-watch"
59
+ "migration_id": "20261024T053821-create_table-create-table-main-public-watch"
60
60
  }
61
61
  ```
62
62
 
@@ -85,7 +85,7 @@ Answer:
85
85
  "files_created": 1,
86
86
  "planned_creates": ["datanotes/main/public/watch/2026-03-14T2030.md"],
87
87
  "commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
88
- "migration_id": "20261019T040640-insert_row-insert-into-watch"
88
+ "migration_id": "20261024T053821-insert_row-insert-into-watch"
89
89
  }
90
90
  ```
91
91
 
@@ -94,7 +94,7 @@ Answer:
94
94
  ```markdown
95
95
  ---
96
96
  table: main.public.watch
97
- id: 01a15257-1334-78ef-a884-7dec625383fb
97
+ id: 01a16c6a-cf6b-78f7-8cbe-58de4c01b163
98
98
  film: "[[His Girl Friday]]"
99
99
  where: cinema
100
100
  place: the film club downtown
@@ -189,7 +189,7 @@ Answer:
189
189
  "op": "add_column",
190
190
  "planned_texts": ["datanotes/metastore.yaml"],
191
191
  "commits": [{ "table": "main.public.actor", "version": 4, "operation": "ADD COLUMNS" }],
192
- "migration_id": "20261019T040640-add_column-add-column-films-to-actor"
192
+ "migration_id": "20261024T053821-add_column-add-column-films-to-actor"
193
193
  }
194
194
  ```
195
195
 
@@ -217,7 +217,7 @@ Answer:
217
217
  "op": "add_column",
218
218
  "planned_texts": ["datanotes/metastore.yaml"],
219
219
  "commits": [{ "table": "main.public.film", "version": 4, "operation": "ADD COLUMNS" }],
220
- "migration_id": "20261019T040640-add_column-add-column-cast-to-film"
220
+ "migration_id": "20261024T053821-add_column-add-column-cast-to-film"
221
221
  }
222
222
  ```
223
223
 
@@ -259,7 +259,7 @@ Answer:
259
259
  { "table": "main.public.actor", "version": 5, "operation": "UPDATE" },
260
260
  { "table": "main.public.film", "version": 5, "operation": "UPDATE" }
261
261
  ],
262
- "migration_id": "20261019T040640-update_row-update-film"
262
+ "migration_id": "20261024T053821-update_row-update-film"
263
263
  }
264
264
  ```
265
265
 
@@ -268,7 +268,7 @@ Answer:
268
268
  ```markdown
269
269
  ---
270
270
  table: main.public.film
271
- id: 01a15257-1318-7711-9b6a-1133ed5ade2a
271
+ id: 01a16c6a-cf5a-7d85-b3fd-1e653a93a493
272
272
  title: Charade
273
273
  year: 1963
274
274
  minutes: 113
@@ -291,7 +291,7 @@ Answer:
291
291
  ```markdown
292
292
  ---
293
293
  table: main.public.actor
294
- id: 01a15257-12f4-74ff-9c67-ad018a33f0ad
294
+ id: 01a16c6a-cf47-77b2-adf0-d258b1d181d2
295
295
  name: Cary Grant
296
296
  born: 1904-01-18
297
297
  films:
@@ -359,7 +359,7 @@ Answer:
359
359
  {
360
360
  "path": "datanotes/main/public/actor/Cary Grant.md",
361
361
  "table": "main.public.actor",
362
- "id": "01a15257-12f4-74ff-9c67-ad018a33f0ad",
362
+ "id": "01a16c6a-cf47-77b2-adf0-d258b1d181d2",
363
363
  "name": "Cary Grant",
364
364
  "born": "1904-01-18",
365
365
  "films": ["[[Charade]]", "[[His Girl Friday]]"]
@@ -367,7 +367,7 @@ Answer:
367
367
  {
368
368
  "path": "datanotes/main/public/actor/Audrey Hepburn.md",
369
369
  "table": "main.public.actor",
370
- "id": "01a15257-1302-766a-9b85-dcc175445424",
370
+ "id": "01a16c6a-cf4e-75f9-a04a-1648a159b99d",
371
371
  "name": "Audrey Hepburn",
372
372
  "born": "1929-05-04",
373
373
  "films": ["[[Charade]]"]
@@ -423,7 +423,7 @@ Answer:
423
423
  "op": "alter_column",
424
424
  "planned_texts": ["datanotes/metastore.yaml"],
425
425
  "commits": [{ "table": "main.public.film", "version": 9, "operation": "CHANGE COLUMN" }],
426
- "migration_id": "20261019T040640-alter_column-alter-column-see_also-in-film"
426
+ "migration_id": "20261024T053821-alter_column-alter-column-see_also-in-film"
427
427
  }
428
428
  ```
429
429
 
@@ -479,7 +479,7 @@ Answer:
479
479
  "commits": [
480
480
  { "table": "main.public.film", "version": 10, "operation": "ALIGN RELATIONS" }
481
481
  ],
482
- "migration_id": "20261019T040640-align_relations-align-inverse-links-of-main-pu"
482
+ "migration_id": "20261024T053821-align_relations-align-inverse-links-of-main-pu"
483
483
  }
484
484
  ```
485
485
 
@@ -573,7 +573,7 @@ Answer:
573
573
  "op": "add_column",
574
574
  "planned_texts": ["datanotes/metastore.yaml"],
575
575
  "commits": [{ "table": "main.public.film", "version": 11, "operation": "ADD COLUMNS" }],
576
- "migration_id": "20261019T040640-add_column-add-column-tags-to-film"
576
+ "migration_id": "20261024T053821-add_column-add-column-tags-to-film"
577
577
  }
578
578
  ```
579
579
 
@@ -629,7 +629,7 @@ Answer:
629
629
  }
630
630
  ],
631
631
  "commits": [{ "table": "main.public.film", "version": 12, "operation": "UPDATE" }],
632
- "migration_id": "20261019T040640-update_row-update-film-4"
632
+ "migration_id": "20261024T053821-update_row-update-film-4"
633
633
  }
634
634
  ```
635
635
 
@@ -677,7 +677,7 @@ Answer:
677
677
  "op": "create_table",
678
678
  "planned_texts": ["datanotes/metastore.yaml"],
679
679
  "commits": [{ "table": "main.public.genre", "version": 0, "operation": "CREATE TABLE" }],
680
- "migration_id": "20261019T040640-create_table-create-table-main-public-genre"
680
+ "migration_id": "20261024T053821-create_table-create-table-main-public-genre"
681
681
  }
682
682
  ```
683
683
 
@@ -793,7 +793,7 @@ Answer:
793
793
  "op": "add_column",
794
794
  "planned_texts": ["datanotes/metastore.yaml"],
795
795
  "commits": [{ "table": "main.public.film", "version": 13, "operation": "ADD COLUMNS" }],
796
- "migration_id": "20261019T040640-add_column-add-column-watch_after-to-film"
796
+ "migration_id": "20261024T053821-add_column-add-column-watch_after-to-film"
797
797
  }
798
798
  ```
799
799
 
@@ -907,7 +907,7 @@ Answer:
907
907
  "commits": [
908
908
  { "table": "main.public.genre", "version": 10, "operation": "CHANGE COLUMN" }
909
909
  ],
910
- "migration_id": "20261019T040642-alter_column-alter-column-parent-in-genre"
910
+ "migration_id": "20261024T053823-alter_column-alter-column-parent-in-genre"
911
911
  }
912
912
  ```
913
913
 
@@ -1065,7 +1065,7 @@ Answer:
1065
1065
  "op": "add_column",
1066
1066
  "planned_texts": ["datanotes/metastore.yaml"],
1067
1067
  "commits": [{ "table": "main.public.film", "version": 17, "operation": "ADD COLUMNS" }],
1068
- "migration_id": "20261019T040642-add_column-add-column-genre-to-film"
1068
+ "migration_id": "20261024T053823-add_column-add-column-genre-to-film"
1069
1069
  }
1070
1070
  ```
1071
1071
 
@@ -1147,7 +1147,7 @@ Answer:
1147
1147
  "op": "add_column",
1148
1148
  "planned_texts": ["datanotes/metastore.yaml"],
1149
1149
  "commits": [{ "table": "main.public.watch", "version": 3, "operation": "ADD COLUMNS" }],
1150
- "migration_id": "20261019T040642-add_column-add-column-on_day-to-watch"
1150
+ "migration_id": "20261024T053823-add_column-add-column-on_day-to-watch"
1151
1151
  }
1152
1152
  ```
1153
1153
 
@@ -1176,7 +1176,7 @@ Answer:
1176
1176
  "files_created": 1,
1177
1177
  "planned_creates": ["datanotes/main/public/watch/2026-10-31T2300.md"],
1178
1178
  "commits": [{ "table": "main.public.watch", "version": 4, "operation": "WRITE" }],
1179
- "migration_id": "20261019T040642-insert_row-insert-into-watch"
1179
+ "migration_id": "20261024T053823-insert_row-insert-into-watch"
1180
1180
  }
1181
1181
  ```
1182
1182
 
@@ -1185,7 +1185,7 @@ Answer:
1185
1185
  ```markdown
1186
1186
  ---
1187
1187
  table: main.public.watch
1188
- id: 01a15257-1c26-7cdc-8409-61767eceb696
1188
+ id: 01a16c6a-d617-72d6-b67f-57bab02edd13
1189
1189
  film: "[[Night of the Living Dead]]"
1190
1190
  where: cinema
1191
1191
  place: the film club downtown
@@ -1262,13 +1262,13 @@ Answer (77 lines)
1262
1262
  "ok": true,
1263
1263
  "op": "batch",
1264
1264
  "dry_run": false,
1265
- "migration_id": "20261019T040643-batch-remove-charade-and-its-viewing",
1265
+ "migration_id": "20261024T053823-batch-remove-charade-and-its-viewing",
1266
1266
  "steps": [
1267
1267
  {
1268
1268
  "index": 0,
1269
1269
  "op": "delete_rows",
1270
1270
  "ok": true,
1271
- "migration_id": "20261019T040643-delete_rows-archive-1-rows-of-watch",
1271
+ "migration_id": "20261024T053823-delete_rows-archive-1-rows-of-watch",
1272
1272
  "result": {
1273
1273
  "ok": true,
1274
1274
  "op": "delete_rows",
@@ -1280,14 +1280,14 @@ Answer (77 lines)
1280
1280
  }
1281
1281
  ],
1282
1282
  "commits": [{ "table": "main.public.watch", "version": 5, "operation": "DELETE" }],
1283
- "migration_id": "20261019T040643-delete_rows-archive-1-rows-of-watch"
1283
+ "migration_id": "20261024T053823-delete_rows-archive-1-rows-of-watch"
1284
1284
  }
1285
1285
  },
1286
1286
  {
1287
1287
  "index": 1,
1288
1288
  "op": "delete_rows",
1289
1289
  "ok": true,
1290
- "migration_id": "20261019T040643-delete_rows-archive-1-rows-of-film",
1290
+ "migration_id": "20261024T053823-delete_rows-archive-1-rows-of-film",
1291
1291
  "result": {
1292
1292
  "ok": true,
1293
1293
  "op": "delete_rows",
@@ -1330,7 +1330,7 @@ Answer (77 lines)
1330
1330
  { "table": "main.public.actor", "version": 7, "operation": "DELETE" },
1331
1331
  { "table": "main.public.film", "version": 18, "operation": "DELETE" }
1332
1332
  ],
1333
- "migration_id": "20261019T040643-delete_rows-archive-1-rows-of-film"
1333
+ "migration_id": "20261024T053823-delete_rows-archive-1-rows-of-film"
1334
1334
  }
1335
1335
  }
1336
1336
  ]
@@ -1348,7 +1348,7 @@ Answer:
1348
1348
  ```markdown
1349
1349
  ---
1350
1350
  table: main.public.actor
1351
- id: 01a15257-12f4-74ff-9c67-ad018a33f0ad
1351
+ id: 01a16c6a-cf47-77b2-adf0-d258b1d181d2
1352
1352
  name: Cary Grant
1353
1353
  born: 1904-01-18
1354
1354
  films:
@@ -1370,7 +1370,7 @@ The engine wrote this file with the relations from this page:
1370
1370
 
1371
1371
  ```yaml
1372
1372
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
1373
- id: 01a15257-12e1-7b62-b27c-c29567a21bea
1373
+ id: 01a16c6a-cf3b-791d-af81-4ffb84b8c9b1
1374
1374
  config:
1375
1375
  history: true
1376
1376