datanotes 3.3.1 → 3.4.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 (68) hide show
  1. package/SECURITY.md +5 -3
  2. package/dist/api/extensions.cjs +141 -5
  3. package/dist/api/extensions.js +141 -5
  4. package/dist/api/index.cjs +141 -5
  5. package/dist/api/index.js +141 -5
  6. package/dist/api/mcp.cjs +141 -5
  7. package/dist/api/mcp.js +141 -5
  8. package/dist/datanotes.cjs +1672 -600
  9. package/dist/docs/administration/extensions.md +2 -2
  10. package/dist/docs/api/operations/add_column.md +1 -0
  11. package/dist/docs/api/operations/check_table.md +1 -0
  12. package/dist/docs/api/operations/create_table.md +1 -0
  13. package/dist/docs/api/operations/describe_database.md +2 -0
  14. package/dist/docs/api/operations/describe_history.md +1 -0
  15. package/dist/docs/api/operations/describe_semantic_index.md +1 -0
  16. package/dist/docs/api/operations/describe_table.md +1 -0
  17. package/dist/docs/api/operations/graph_neighbors.md +1 -0
  18. package/dist/docs/api/operations/graph_path.md +1 -0
  19. package/dist/docs/api/operations/graph_traverse.md +1 -0
  20. package/dist/docs/api/operations/infer_table.md +1 -0
  21. package/dist/docs/api/operations/list_changes.md +1 -0
  22. package/dist/docs/api/operations/list_folder.md +1 -0
  23. package/dist/docs/api/operations/list_link_targets.md +1 -0
  24. package/dist/docs/api/operations/list_migrations.md +1 -0
  25. package/dist/docs/api/operations/list_tables.md +2 -0
  26. package/dist/docs/api/operations/list_webhooks.md +1 -0
  27. package/dist/docs/api/operations/read_note.md +1 -0
  28. package/dist/docs/api/operations/search.md +39 -0
  29. package/dist/docs/api/operations/search_notes.md +1 -0
  30. package/dist/docs/api/operations/select_rows.md +1 -0
  31. package/dist/docs/api/operations/semantic_search.md +1 -0
  32. package/dist/docs/api/operations/table_changes.md +1 -0
  33. package/dist/docs/api/operations/tags/queries.md +1 -0
  34. package/dist/docs/api/operations/tags/tokens.md +1 -1
  35. package/dist/docs/api/operations/tokens_create.md +1 -0
  36. package/dist/docs/api/operations/tokens_update.md +2 -1
  37. package/dist/docs/api.md +5 -4
  38. package/dist/docs/develop/build-an-app.md +2 -1
  39. package/dist/docs/develop/change-feed-and-webhooks.md +1 -1
  40. package/dist/docs/develop/http-api.md +1 -1
  41. package/dist/docs/guides/data-quality/check-constraints.md +10 -10
  42. package/dist/docs/guides/data-quality/hand-edits.md +8 -8
  43. package/dist/docs/guides/database-objects/bases.md +11 -11
  44. package/dist/docs/guides/database-objects/catalogs-and-schemas.md +10 -10
  45. package/dist/docs/guides/database-objects/columns.md +241 -38
  46. package/dist/docs/guides/database-objects/relations.md +28 -28
  47. package/dist/docs/guides/database-objects/tables.md +26 -26
  48. package/dist/docs/guides/database-objects/views.md +19 -19
  49. package/dist/docs/guides/history/change-data-feed.md +34 -34
  50. package/dist/docs/guides/history/journal-and-undo.md +12 -12
  51. package/dist/docs/guides/history/restore.md +20 -20
  52. package/dist/docs/guides/history/table-history.md +31 -31
  53. package/dist/docs/guides/read-and-write/automatic-links.md +15 -15
  54. package/dist/docs/guides/read-and-write/import-notes.md +20 -20
  55. package/dist/docs/guides/read-and-write/write-rows.md +10 -10
  56. package/dist/docs/guides/search/hybrid.md +162 -0
  57. package/dist/docs/guides/search/text.md +1 -1
  58. package/dist/docs/guides/security/security-model.md +5 -3
  59. package/dist/docs/guides/security/tokens.md +121 -8
  60. package/dist/docs/reference/cli.md +1 -1
  61. package/dist/docs/reference/glossary.md +1 -1
  62. package/dist/docs/reference/operations/auxiliary.md +2 -2
  63. package/dist/docs/reference/operations/queries.md +16 -0
  64. package/dist/docs/reference/operations/schema.md +2 -2
  65. package/dist/docs/reference/operations.md +2 -1
  66. package/dist/docs/release-notes.md +43 -0
  67. package/dist/docs/start/connect-agents.md +10 -3
  68. package/package.json +1 -1
@@ -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": "20261024T053821-create_table-create-table-main-public-watch"
59
+ "migration_id": "20261024T063905-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": "20261024T053821-insert_row-insert-into-watch"
88
+ "migration_id": "20261024T063905-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: 01a16c6a-cf6b-78f7-8cbe-58de4c01b163
97
+ id: 01a16ca2-6a46-7ba7-aab3-b44a9f6a46ac
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": "20261024T053821-add_column-add-column-films-to-actor"
192
+ "migration_id": "20261024T063905-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": "20261024T053821-add_column-add-column-cast-to-film"
220
+ "migration_id": "20261024T063905-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": "20261024T053821-update_row-update-film"
262
+ "migration_id": "20261024T063905-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: 01a16c6a-cf5a-7d85-b3fd-1e653a93a493
271
+ id: 01a16ca2-6a33-7632-913d-3e5953bdd08d
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: 01a16c6a-cf47-77b2-adf0-d258b1d181d2
294
+ id: 01a16ca2-6a08-747b-b3fd-aca4ce9b450b
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": "01a16c6a-cf47-77b2-adf0-d258b1d181d2",
362
+ "id": "01a16ca2-6a08-747b-b3fd-aca4ce9b450b",
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": "01a16c6a-cf4e-75f9-a04a-1648a159b99d",
370
+ "id": "01a16ca2-6a25-75c7-b32a-05c50c51c2d1",
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": "20261024T053821-alter_column-alter-column-see_also-in-film"
426
+ "migration_id": "20261024T063905-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": "20261024T053821-align_relations-align-inverse-links-of-main-pu"
482
+ "migration_id": "20261024T063905-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": "20261024T053821-add_column-add-column-tags-to-film"
576
+ "migration_id": "20261024T063905-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": "20261024T053821-update_row-update-film-4"
632
+ "migration_id": "20261024T063905-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": "20261024T053821-create_table-create-table-main-public-genre"
680
+ "migration_id": "20261024T063905-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": "20261024T053821-add_column-add-column-watch_after-to-film"
796
+ "migration_id": "20261024T063906-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": "20261024T053823-alter_column-alter-column-parent-in-genre"
910
+ "migration_id": "20261024T063907-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": "20261024T053823-add_column-add-column-genre-to-film"
1068
+ "migration_id": "20261024T063907-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": "20261024T053823-add_column-add-column-on_day-to-watch"
1150
+ "migration_id": "20261024T063907-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": "20261024T053823-insert_row-insert-into-watch"
1179
+ "migration_id": "20261024T063907-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: 01a16c6a-d617-72d6-b67f-57bab02edd13
1188
+ id: 01a16ca2-7140-7aeb-b6ac-226c8e820686
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": "20261024T053823-batch-remove-charade-and-its-viewing",
1265
+ "migration_id": "20261024T063907-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": "20261024T053823-delete_rows-archive-1-rows-of-watch",
1271
+ "migration_id": "20261024T063907-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": "20261024T053823-delete_rows-archive-1-rows-of-watch"
1283
+ "migration_id": "20261024T063907-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": "20261024T053823-delete_rows-archive-1-rows-of-film",
1290
+ "migration_id": "20261024T063907-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": "20261024T053823-delete_rows-archive-1-rows-of-film"
1333
+ "migration_id": "20261024T063907-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: 01a16c6a-cf47-77b2-adf0-d258b1d181d2
1351
+ id: 01a16ca2-6a08-747b-b3fd-aca4ce9b450b
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: 01a16c6a-cf3b-791d-af81-4ffb84b8c9b1
1373
+ id: 01a16ca2-6985-734f-9ae1-3ae2a9e4fbce
1374
1374
  config:
1375
1375
  history: true
1376
1376
 
@@ -58,7 +58,7 @@ Answer:
58
58
  ```json
59
59
  {
60
60
  "ok": true,
61
- "migration_id": "20261024T053819-create_table-create-table-main-public-film",
61
+ "migration_id": "20261024T063903-create_table-create-table-main-public-film",
62
62
  "summary": null
63
63
  }
64
64
  ```
@@ -67,7 +67,7 @@ Answer:
67
67
 
68
68
  ```yaml
69
69
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
70
- id: 01a16c6a-c732-7310-8bb4-c9f28c15517c
70
+ id: 01a16ca2-5f45-719f-8adb-a140728d9eed
71
71
  config:
72
72
  history: true
73
73
 
@@ -381,7 +381,7 @@ Answer:
381
381
  "files_created": 1,
382
382
  "planned_creates": ["datanotes/main/public/watch/2026-10-24 Nosferatu.md"],
383
383
  "commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
384
- "migration_id": "20261024T053819-insert_row-insert-into-watch"
384
+ "migration_id": "20261024T063903-insert_row-insert-into-watch"
385
385
  }
386
386
  ```
387
387
 
@@ -392,11 +392,11 @@ Answer:
392
392
  table: main.public.watch
393
393
  cssclasses:
394
394
  - watch
395
- id: 01a16c6a-c7d4-7cbb-a3cc-e6066a366800
395
+ id: 01a16ca2-6190-781a-af0d-a0c61192113b
396
396
  film: Nosferatu
397
397
  where: outdoor screening
398
398
  place: the park by the river
399
- occurred_at: 2026-10-24T05:38:19Z
399
+ occurred_at: 2026-10-24T06:39:03Z
400
400
  ---
401
401
  Watched Nosferatu (outdoor screening).
402
402
 
@@ -440,7 +440,7 @@ Answer:
440
440
  "op": "alter_table",
441
441
  "planned_texts": ["datanotes/metastore.yaml"],
442
442
  "commits": [{ "table": "main.public.watch", "version": 2, "operation": "ALTER TABLE" }],
443
- "migration_id": "20261024T053819-alter_table-alter-table-main-public-watch"
443
+ "migration_id": "20261024T063903-alter_table-alter-table-main-public-watch"
444
444
  }
445
445
  ```
446
446
 
@@ -614,7 +614,7 @@ Answer (44 lines)
614
614
  { "table": "diary.classics.actor", "version": 6, "operation": "ALTER TABLE" },
615
615
  { "table": "diary.classics.film", "version": 14, "operation": "ALTER TABLE" }
616
616
  ],
617
- "migration_id": "20261024T053837-alter_table-move-table-diary-classics-acto",
617
+ "migration_id": "20261024T063921-alter_table-move-table-diary-classics-acto",
618
618
  "schema_references": [
619
619
  {
620
620
  "table": "diary.classics.film",
@@ -671,7 +671,7 @@ Answer (44 lines)
671
671
  { "table": "diary.classics.film", "version": 15, "operation": "ALTER TABLE" },
672
672
  { "table": "diary.credits.actor", "version": 7, "operation": "ALTER TABLE" }
673
673
  ],
674
- "migration_id": "20261024T053837-alter_table-move-table-diary-classics-acto-2",
674
+ "migration_id": "20261024T063921-alter_table-move-table-diary-classics-acto-2",
675
675
  "schema_references": [
676
676
  {
677
677
  "table": "diary.classics.film",
@@ -783,7 +783,7 @@ Answer:
783
783
  "commits": [
784
784
  { "table": "diary.classics.film", "version": 17, "operation": "ALTER TABLE" }
785
785
  ],
786
- "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-5"
786
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil"
787
787
  }
788
788
  ```
789
789
 
@@ -835,7 +835,7 @@ Answer:
835
835
  "commits": [
836
836
  { "table": "diary.classics.film", "version": 18, "operation": "ALTER TABLE" }
837
837
  ],
838
- "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-6"
838
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil-2"
839
839
  }
840
840
  ```
841
841
 
@@ -877,7 +877,7 @@ Answer:
877
877
  "commits": [
878
878
  { "table": "diary.classics.film", "version": 19, "operation": "ALTER TABLE" }
879
879
  ],
880
- "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-7"
880
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil-3"
881
881
  }
882
882
  ```
883
883
 
@@ -897,7 +897,7 @@ Answer:
897
897
  "commits": [
898
898
  { "table": "diary.classics.film", "version": 20, "operation": "ALTER TABLE" }
899
899
  ],
900
- "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-8"
900
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil-4"
901
901
  }
902
902
  ```
903
903
 
@@ -917,7 +917,7 @@ Answer:
917
917
  "commits": [
918
918
  { "table": "diary.classics.film", "version": 21, "operation": "ALTER TABLE" }
919
919
  ],
920
- "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-9"
920
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil-5"
921
921
  }
922
922
  ```
923
923
 
@@ -944,7 +944,7 @@ Answer:
944
944
  "files_created": 1,
945
945
  "planned_creates": ["datanotes/diary/classics/film/1925/Battleship Potemkin (1925).md"],
946
946
  "commits": [{ "table": "diary.classics.film", "version": 22, "operation": "WRITE" }],
947
- "migration_id": "20261024T053837-insert_row-insert-into-film-4"
947
+ "migration_id": "20261024T063921-insert_row-insert-into-film-3"
948
948
  }
949
949
  ```
950
950
 
@@ -954,7 +954,7 @@ Answer:
954
954
  ---
955
955
  table: diary.classics.film
956
956
  cut: restored
957
- id: 01a16c6b-0f27-7090-8d6f-7412c09f30e9
957
+ id: 01a16ca2-a6bc-7cb6-8200-5208c70c73fd
958
958
  title: Battleship Potemkin
959
959
  year: 1925
960
960
  minutes: 75
@@ -985,7 +985,7 @@ Answer:
985
985
  "commits": [
986
986
  { "table": "diary.classics.film", "version": 23, "operation": "ALTER TABLE" }
987
987
  ],
988
- "migration_id": "20261024T053837-alter_table-alter-table-diary-classics-fil-10"
988
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil-6"
989
989
  }
990
990
  ```
991
991
 
@@ -1007,7 +1007,7 @@ Answer:
1007
1007
  "files_created": 1,
1008
1008
  "planned_creates": ["datanotes/diary/classics/film/1924/Sherlock Jr. (1924).md"],
1009
1009
  "commits": [{ "table": "diary.classics.film", "version": 24, "operation": "WRITE" }],
1010
- "migration_id": "20261024T053838-insert_row-insert-into-film"
1010
+ "migration_id": "20261024T063921-insert_row-insert-into-film-4"
1011
1011
  }
1012
1012
  ```
1013
1013
 
@@ -1017,7 +1017,7 @@ Answer:
1017
1017
  ---
1018
1018
  table: diary.classics.film
1019
1019
  cut: restored
1020
- id: 01a16c6b-0f36-716a-acd2-d5e466f33d94
1020
+ id: 01a16ca2-a6cd-7965-b3f6-d8fe19c1527b
1021
1021
  title: Sherlock Jr.
1022
1022
  year: 1924
1023
1023
  minutes: 45
@@ -1050,7 +1050,7 @@ Answer:
1050
1050
  "commits": [
1051
1051
  { "table": "diary.classics.film", "version": 25, "operation": "ALTER TABLE" }
1052
1052
  ],
1053
- "migration_id": "20261024T053838-alter_table-alter-table-diary-classics-fil"
1053
+ "migration_id": "20261024T063921-alter_table-alter-table-diary-classics-fil-7"
1054
1054
  }
1055
1055
  ```
1056
1056
 
@@ -1132,7 +1132,7 @@ Answer:
1132
1132
  ```json
1133
1133
  {
1134
1134
  "ok": true,
1135
- "migration_id": "20261024T053838-create_table-create-table-diary-log-watch"
1135
+ "migration_id": "20261024T063921-create_table-create-table-diary-log-watch"
1136
1136
  }
1137
1137
  ```
1138
1138
 
@@ -1161,7 +1161,7 @@ Answer:
1161
1161
  "files_created": 1,
1162
1162
  "planned_creates": ["datanotes/diary/log/watch/2026/10/2026-10-06 2130.md"],
1163
1163
  "commits": [{ "table": "diary.log.watch", "version": 1, "operation": "WRITE" }],
1164
- "migration_id": "20261024T053838-insert_row-insert-into-watch"
1164
+ "migration_id": "20261024T063921-insert_row-insert-into-watch"
1165
1165
  }
1166
1166
  ```
1167
1167
 
@@ -1170,7 +1170,7 @@ Answer:
1170
1170
  ```markdown
1171
1171
  ---
1172
1172
  table: diary.log.watch
1173
- id: 01a16c6b-0f60-7b71-8d2f-3889591b195e
1173
+ id: 01a16ca2-a703-76e7-80ce-9d75d9129f91
1174
1174
  film: "[[Nosferatu (1922)]]"
1175
1175
  occurred_at: 2026-10-06T21:30:00+02:00
1176
1176
  where: outdoor screening
@@ -1206,7 +1206,7 @@ Answer:
1206
1206
  "commits": [
1207
1207
  { "table": "sandbox.classics.film_copy", "version": 0, "operation": "CLONE" }
1208
1208
  ],
1209
- "migration_id": "20261024T053838-clone_table-clone-diary-classics-film-to-s"
1209
+ "migration_id": "20261024T063921-clone_table-clone-diary-classics-film-to-s"
1210
1210
  }
1211
1211
  ```
1212
1212
 
@@ -1272,7 +1272,7 @@ Answer:
1272
1272
  "commits": [
1273
1273
  { "table": "sandbox.classics.film_empty", "version": 0, "operation": "CLONE" }
1274
1274
  ],
1275
- "migration_id": "20261024T053838-clone_table-clone-diary-classics-film-to-s-2"
1275
+ "migration_id": "20261024T063921-clone_table-clone-diary-classics-film-to-s-2"
1276
1276
  }
1277
1277
  ```
1278
1278
 
@@ -1354,7 +1354,7 @@ Answer:
1354
1354
  ],
1355
1355
  "planned_texts": ["datanotes/metastore.yaml"],
1356
1356
  "commits": [{ "table": "main.public.scratch", "version": 2, "operation": "DROP TABLE" }],
1357
- "migration_id": "20261024T053819-drop_table-drop-table-scratch"
1357
+ "migration_id": "20261024T063903-drop_table-drop-table-scratch"
1358
1358
  }
1359
1359
  ```
1360
1360
 
@@ -1378,7 +1378,7 @@ The engine wrote this file in its own words. It holds `film`, `watch` and `revie
1378
1378
 
1379
1379
  ```yaml
1380
1380
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
1381
- id: 01a16c6a-c732-7310-8bb4-c9f28c15517c
1381
+ id: 01a16ca2-5f45-719f-8adb-a140728d9eed
1382
1382
  config:
1383
1383
  history: true
1384
1384
 
@@ -41,7 +41,7 @@ Answer:
41
41
  "ok": true,
42
42
  "op": "create_view",
43
43
  "planned_texts": ["datanotes/metastore.yaml"],
44
- "migration_id": "20261024T053830-create_view-create-view-main-public-vw_rec"
44
+ "migration_id": "20261024T063913-create_view-create-view-main-public-vw_rec"
45
45
  }
46
46
  ```
47
47
 
@@ -156,7 +156,7 @@ Answer:
156
156
  "ok": true,
157
157
  "op": "create_view",
158
158
  "planned_texts": ["datanotes/metastore.yaml"],
159
- "migration_id": "20261024T053830-create_view-create-view-main-public-vw_rec-2"
159
+ "migration_id": "20261024T063914-create_view-create-view-main-public-vw_rec"
160
160
  }
161
161
  ```
162
162
 
@@ -194,7 +194,7 @@ Answer:
194
194
  "ok": true,
195
195
  "op": "create_view",
196
196
  "planned_texts": ["datanotes/metastore.yaml"],
197
- "migration_id": "20261024T053830-create_view-create-view-main-public-vw_las"
197
+ "migration_id": "20261024T063914-create_view-create-view-main-public-vw_las"
198
198
  }
199
199
  ```
200
200
 
@@ -219,7 +219,7 @@ Answer (65 lines)
219
219
  {
220
220
  "path": "datanotes/main/public/actor/Duane Jones.md",
221
221
  "table": "main.public.actor",
222
- "id": "01a16c6a-f2b8-7bf4-b9c8-37a8e44ac291",
222
+ "id": "01a16ca2-896a-723d-9bf0-d5abc6f8bbc4",
223
223
  "name": "Duane Jones",
224
224
  "born": "1937-04-02"
225
225
  }
@@ -236,7 +236,7 @@ Answer (65 lines)
236
236
  {
237
237
  "path": "datanotes/main/public/actor/Charlie Chaplin.md",
238
238
  "table": "main.public.actor",
239
- "id": "01a16c6a-f2a6-766b-9e5a-ff314d6e21c4",
239
+ "id": "01a16ca2-8934-7eb4-827e-5043b7fcfd56",
240
240
  "name": "Charlie Chaplin",
241
241
  "born": "1889-04-16"
242
242
  }
@@ -253,14 +253,14 @@ Answer (65 lines)
253
253
  {
254
254
  "path": "datanotes/main/public/actor/Cary Grant.md",
255
255
  "table": "main.public.actor",
256
- "id": "01a16c6a-f2ac-74f2-990f-86297adc0834",
256
+ "id": "01a16ca2-8944-7dd4-944e-5fcac42b9d73",
257
257
  "name": "Cary Grant",
258
258
  "born": "1904-01-18"
259
259
  },
260
260
  {
261
261
  "path": "datanotes/main/public/actor/Audrey Hepburn.md",
262
262
  "table": "main.public.actor",
263
- "id": "01a16c6a-f2b4-7a73-a180-6e3bbcafc6d2",
263
+ "id": "01a16ca2-895c-7e12-9674-74302f0e6d67",
264
264
  "name": "Audrey Hepburn",
265
265
  "born": "1929-05-04"
266
266
  }
@@ -313,7 +313,7 @@ Answer:
313
313
  "ok": true,
314
314
  "op": "create_view",
315
315
  "planned_texts": ["datanotes/metastore.yaml"],
316
- "migration_id": "20261024T053830-create_view-create-view-main-public-vw_mos"
316
+ "migration_id": "20261024T063914-create_view-create-view-main-public-vw_mos"
317
317
  }
318
318
  ```
319
319
 
@@ -382,7 +382,7 @@ Answer:
382
382
  "ok": true,
383
383
  "op": "create_view",
384
384
  "planned_texts": ["datanotes/metastore.yaml"],
385
- "migration_id": "20261024T053830-create_view-create-view-main-public-vw_lat"
385
+ "migration_id": "20261024T063914-create_view-create-view-main-public-vw_lat"
386
386
  }
387
387
  ```
388
388
 
@@ -404,7 +404,7 @@ Answer (64 lines)
404
404
  "film": {
405
405
  "path": "datanotes/main/public/film/Night of the Living Dead.md",
406
406
  "table": "main.public.film",
407
- "id": "01a16c6a-f2f2-7eca-9172-5a1f777e8a9f",
407
+ "id": "01a16ca2-89d7-75b2-985e-231483636e52",
408
408
  "title": "Night of the Living Dead",
409
409
  "year": 1968,
410
410
  "minutes": 96,
@@ -423,7 +423,7 @@ Answer (64 lines)
423
423
  "film": {
424
424
  "path": "datanotes/main/public/film/The Gold Rush.md",
425
425
  "table": "main.public.film",
426
- "id": "01a16c6a-f2e1-7300-a845-25363d3fba3a",
426
+ "id": "01a16ca2-8998-78ea-87d6-04d333028e0c",
427
427
  "title": "The Gold Rush",
428
428
  "year": 1925,
429
429
  "minutes": 95,
@@ -442,7 +442,7 @@ Answer (64 lines)
442
442
  "film": {
443
443
  "path": "datanotes/main/public/film/Charade.md",
444
444
  "table": "main.public.film",
445
- "id": "01a16c6a-f2ed-7847-9ccb-bcd02466ba08",
445
+ "id": "01a16ca2-89b8-76fb-bd2a-22824fd5062c",
446
446
  "title": "Charade",
447
447
  "year": 1963,
448
448
  "minutes": 113,
@@ -476,14 +476,14 @@ Answer:
476
476
  "ok": true,
477
477
  "op": "drop_view",
478
478
  "planned_texts": ["datanotes/metastore.yaml"],
479
- "migration_id": "20261024T053830-drop_view-drop-view-main-public-vw_most_"
479
+ "migration_id": "20261024T063914-drop_view-drop-view-main-public-vw_most_"
480
480
  }
481
481
  ```
482
482
 
483
483
  **`undo_migration`**
484
484
 
485
485
  ```json
486
- { "migration_id": "20261024T053830-drop_view-drop-view-main-public-vw_most_" }
486
+ { "migration_id": "20261024T063914-drop_view-drop-view-main-public-vw_most_" }
487
487
  ```
488
488
 
489
489
  Answer:
@@ -492,8 +492,8 @@ Answer:
492
492
  {
493
493
  "ok": true,
494
494
  "op": "undo_migration",
495
- "undoes": "20261024T053830-drop_view-drop-view-main-public-vw_most_",
496
- "migration_id": "20261024T053830-undo_migration-undo-20261024t053830-drop_view",
495
+ "undoes": "20261024T063914-drop_view-drop-view-main-public-vw_most_",
496
+ "migration_id": "20261024T063914-undo_migration-undo-20261024t063914-drop_view",
497
497
  "conflicts": [],
498
498
  "failed": []
499
499
  }
@@ -526,7 +526,7 @@ Answer:
526
526
  "ok": true,
527
527
  "op": "create_view",
528
528
  "planned_texts": ["datanotes/metastore.yaml"],
529
- "migration_id": "20261024T053830-create_view-create-view-main-reports-vw_wa"
529
+ "migration_id": "20261024T063914-create_view-create-view-main-reports-vw_wa"
530
530
  }
531
531
  ```
532
532
 
@@ -619,7 +619,7 @@ Answer:
619
619
  ```json
620
620
  {
621
621
  "ok": true,
622
- "migration_id": "20261024T053830-batch-views-for-film-and-actor-notes",
622
+ "migration_id": "20261024T063914-batch-views-for-film-and-actor-notes",
623
623
  "steps": [
624
624
  { "op": "create_view", "ok": true },
625
625
  { "op": "create_view", "ok": true },
@@ -766,7 +766,7 @@ The engine wrote this page’s views under `views:` in their schema, next to the
766
766
 
767
767
  ```yaml
768
768
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
769
- id: 01a16c6a-f294-7ef1-beac-412aa775cd89
769
+ id: 01a16ca2-8907-71b2-9310-d55e75339146
770
770
  config:
771
771
  history: true
772
772