datanotes 3.0.0 → 3.1.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 (60) hide show
  1. package/README.md +1 -5
  2. package/dist/api/client.d.cts +37 -4
  3. package/dist/api/client.d.ts +37 -4
  4. package/dist/api/index.cjs +388 -52
  5. package/dist/api/index.d.cts +3 -2
  6. package/dist/api/index.d.ts +3 -2
  7. package/dist/api/index.js +388 -52
  8. package/dist/api/mcp.cjs +6 -3
  9. package/dist/api/mcp.js +6 -3
  10. package/dist/api/otlp.d.cts +63 -15
  11. package/dist/api/otlp.d.ts +63 -15
  12. package/dist/api/redact.d.cts +25 -0
  13. package/dist/api/redact.d.ts +25 -0
  14. package/dist/api/tokens.d.cts +5 -0
  15. package/dist/api/tokens.d.ts +5 -0
  16. package/dist/api/tracing.d.cts +107 -0
  17. package/dist/api/tracing.d.ts +107 -0
  18. package/dist/datanotes.cjs +9380 -2554
  19. package/dist/docs/administration/limits.md +96 -12
  20. package/dist/docs/administration/run-the-service.md +18 -0
  21. package/dist/docs/api/operations/graph_neighbors.md +4 -2
  22. package/dist/docs/api/operations/graph_path.md +3 -3
  23. package/dist/docs/api/operations/graph_traverse.md +2 -2
  24. package/dist/docs/api/operations/record_tool_call.md +1 -0
  25. package/dist/docs/api/operations/tags/queries.md +2 -2
  26. package/dist/docs/api.md +3 -3
  27. package/dist/docs/develop/concurrency.md +36 -1
  28. package/dist/docs/develop/http-api.md +11 -1
  29. package/dist/docs/develop/telemetry.md +224 -25
  30. package/dist/docs/guides/data-quality/check-constraints.md +10 -10
  31. package/dist/docs/guides/data-quality/hand-edits.md +8 -8
  32. package/dist/docs/guides/database-objects/bases.md +11 -11
  33. package/dist/docs/guides/database-objects/catalogs-and-schemas.md +10 -10
  34. package/dist/docs/guides/database-objects/columns.md +38 -38
  35. package/dist/docs/guides/database-objects/relations.md +27 -27
  36. package/dist/docs/guides/database-objects/tables.md +37 -101
  37. package/dist/docs/guides/database-objects/views.md +44 -44
  38. package/dist/docs/guides/history/back-up.md +12 -4
  39. package/dist/docs/guides/history/change-data-feed.md +34 -34
  40. package/dist/docs/guides/history/journal-and-undo.md +12 -12
  41. package/dist/docs/guides/history/restore.md +20 -20
  42. package/dist/docs/guides/history/table-history.md +31 -31
  43. package/dist/docs/guides/history/vacuum.md +1 -10
  44. package/dist/docs/guides/read-and-write/automatic-links.md +15 -15
  45. package/dist/docs/guides/read-and-write/import-notes.md +20 -20
  46. package/dist/docs/guides/read-and-write/joins-and-aggregates.md +7 -7
  47. package/dist/docs/guides/read-and-write/read-and-filter.md +10 -10
  48. package/dist/docs/guides/read-and-write/write-rows.md +10 -10
  49. package/dist/docs/guides/search/link-graph.md +95 -0
  50. package/dist/docs/guides/search/text.md +1 -1
  51. package/dist/docs/guides/security/who-did-what.md +2 -0
  52. package/dist/docs/reference/cli.md +10 -3
  53. package/dist/docs/reference/compatibility.md +33 -13
  54. package/dist/docs/reference/operations/queries.md +3 -3
  55. package/dist/docs/reference/operations.md +11 -11
  56. package/dist/docs/reference/settings.md +37 -25
  57. package/dist/docs/release-notes.md +121 -0
  58. package/dist/docs/start/how-it-works.md +35 -3
  59. package/dist/docs/start/quick-start.md +2 -0
  60. package/package.json +3 -2
@@ -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": "20261012T071949-create_table-create-table-main-public-watch"
59
+ "migration_id": "20261014T191519-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": "20261012T071949-insert_row-insert-into-watch"
88
+ "migration_id": "20261014T191519-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: 01a12efb-6265-7094-88e9-b7fc57c84b37
97
+ id: 01a13bd7-29c4-790f-bb11-5bcb70ba79cf
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": "20261012T071949-add_column-add-column-films-to-actor"
192
+ "migration_id": "20261014T191519-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": "20261012T071949-add_column-add-column-cast-to-film"
220
+ "migration_id": "20261014T191519-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": "20261012T071949-update_row-update-film"
262
+ "migration_id": "20261014T191519-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: 01a12efb-6245-7d26-b6fb-0820654b699a
271
+ id: 01a13bd7-299b-7edc-b1ed-cf26ab668970
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: 01a12efb-621d-71b4-a0ec-578ef615f6b0
294
+ id: 01a13bd7-294c-784d-8436-19760ff440a9
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": "01a12efb-621d-71b4-a0ec-578ef615f6b0",
362
+ "id": "01a13bd7-294c-784d-8436-19760ff440a9",
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": "01a12efb-622a-7ee5-b08f-81dd7aa17fb1",
370
+ "id": "01a13bd7-2978-7561-9e4e-769c1a55fe6e",
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": "20261012T071949-alter_column-alter-column-see_also-in-film"
426
+ "migration_id": "20261014T191519-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": "20261012T071949-align_relations-align-inverse-links-of-main-pu"
482
+ "migration_id": "20261014T191519-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": "20261012T071949-add_column-add-column-tags-to-film"
576
+ "migration_id": "20261014T191519-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": "20261012T071949-update_row-update-film-4"
632
+ "migration_id": "20261014T191519-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": "20261012T071949-create_table-create-table-main-public-genre"
680
+ "migration_id": "20261014T191519-create_table-create-table-main-public-genre"
681
681
  }
682
682
  ```
683
683
 
@@ -787,7 +787,7 @@ Answer:
787
787
  "commits": [
788
788
  { "table": "main.public.genre", "version": 10, "operation": "CHANGE COLUMN" }
789
789
  ],
790
- "migration_id": "20261012T071951-alter_column-alter-column-parent-in-genre"
790
+ "migration_id": "20261014T191521-alter_column-alter-column-parent-in-genre"
791
791
  }
792
792
  ```
793
793
 
@@ -945,7 +945,7 @@ Answer:
945
945
  "op": "add_column",
946
946
  "planned_texts": ["datanotes/metastore.yaml"],
947
947
  "commits": [{ "table": "main.public.film", "version": 13, "operation": "ADD COLUMNS" }],
948
- "migration_id": "20261012T071951-add_column-add-column-genre-to-film"
948
+ "migration_id": "20261014T191521-add_column-add-column-genre-to-film"
949
949
  }
950
950
  ```
951
951
 
@@ -1027,7 +1027,7 @@ Answer:
1027
1027
  "op": "add_column",
1028
1028
  "planned_texts": ["datanotes/metastore.yaml"],
1029
1029
  "commits": [{ "table": "main.public.watch", "version": 3, "operation": "ADD COLUMNS" }],
1030
- "migration_id": "20261012T071951-add_column-add-column-on_day-to-watch"
1030
+ "migration_id": "20261014T191521-add_column-add-column-on_day-to-watch"
1031
1031
  }
1032
1032
  ```
1033
1033
 
@@ -1056,7 +1056,7 @@ Answer:
1056
1056
  "files_created": 1,
1057
1057
  "planned_creates": ["datanotes/main/public/watch/2026-10-31T2300.md"],
1058
1058
  "commits": [{ "table": "main.public.watch", "version": 4, "operation": "WRITE" }],
1059
- "migration_id": "20261012T071951-insert_row-insert-into-watch"
1059
+ "migration_id": "20261014T191521-insert_row-insert-into-watch"
1060
1060
  }
1061
1061
  ```
1062
1062
 
@@ -1065,7 +1065,7 @@ Answer:
1065
1065
  ```markdown
1066
1066
  ---
1067
1067
  table: main.public.watch
1068
- id: 01a12efb-6be3-7ac0-b188-7489a3e62a71
1068
+ id: 01a13bd7-31d3-73b7-b24a-735b30d93502
1069
1069
  film: "[[Night of the Living Dead]]"
1070
1070
  where: cinema
1071
1071
  place: the film club downtown
@@ -1142,13 +1142,13 @@ Answer (72 lines)
1142
1142
  "ok": true,
1143
1143
  "op": "batch",
1144
1144
  "dry_run": false,
1145
- "migration_id": "20261012T071951-batch-remove-charade-and-its-viewing",
1145
+ "migration_id": "20261014T191521-batch-remove-charade-and-its-viewing",
1146
1146
  "steps": [
1147
1147
  {
1148
1148
  "index": 0,
1149
1149
  "op": "delete_rows",
1150
1150
  "ok": true,
1151
- "migration_id": "20261012T071951-delete_rows-archive-1-rows-of-watch",
1151
+ "migration_id": "20261014T191521-delete_rows-archive-1-rows-of-watch",
1152
1152
  "result": {
1153
1153
  "ok": true,
1154
1154
  "op": "delete_rows",
@@ -1160,14 +1160,14 @@ Answer (72 lines)
1160
1160
  }
1161
1161
  ],
1162
1162
  "commits": [{ "table": "main.public.watch", "version": 5, "operation": "DELETE" }],
1163
- "migration_id": "20261012T071951-delete_rows-archive-1-rows-of-watch"
1163
+ "migration_id": "20261014T191521-delete_rows-archive-1-rows-of-watch"
1164
1164
  }
1165
1165
  },
1166
1166
  {
1167
1167
  "index": 1,
1168
1168
  "op": "delete_rows",
1169
1169
  "ok": true,
1170
- "migration_id": "20261012T071951-delete_rows-archive-1-rows-of-film",
1170
+ "migration_id": "20261014T191521-delete_rows-archive-1-rows-of-film",
1171
1171
  "result": {
1172
1172
  "ok": true,
1173
1173
  "op": "delete_rows",
@@ -1205,7 +1205,7 @@ Answer (72 lines)
1205
1205
  { "table": "main.public.actor", "version": 7, "operation": "DELETE" },
1206
1206
  { "table": "main.public.film", "version": 14, "operation": "DELETE" }
1207
1207
  ],
1208
- "migration_id": "20261012T071951-delete_rows-archive-1-rows-of-film"
1208
+ "migration_id": "20261014T191521-delete_rows-archive-1-rows-of-film"
1209
1209
  }
1210
1210
  }
1211
1211
  ]
@@ -1223,7 +1223,7 @@ Answer:
1223
1223
  ```markdown
1224
1224
  ---
1225
1225
  table: main.public.actor
1226
- id: 01a12efb-621d-71b4-a0ec-578ef615f6b0
1226
+ id: 01a13bd7-294c-784d-8436-19760ff440a9
1227
1227
  name: Cary Grant
1228
1228
  born: 1904-01-18
1229
1229
  films:
@@ -1245,7 +1245,7 @@ The engine wrote this file with the relations from this page:
1245
1245
 
1246
1246
  ```yaml
1247
1247
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
1248
- id: 01a12efb-6211-77a6-a9b2-1c2a593b92c9
1248
+ id: 01a13bd7-28e9-7fae-aac4-f73856dcd3a3
1249
1249
  config:
1250
1250
  history: true
1251
1251
 
@@ -58,7 +58,7 @@ Answer:
58
58
  ```json
59
59
  {
60
60
  "ok": true,
61
- "migration_id": "20261012T071946-create_table-create-table-main-public-film",
61
+ "migration_id": "20261014T191515-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: 01a12efb-589d-722c-bc9b-81ec34e480a4
70
+ id: 01a13bd7-1943-7bc6-ab38-ab176313afeb
71
71
  config:
72
72
  history: true
73
73
 
@@ -377,24 +377,24 @@ Answer:
377
377
  "ok": true,
378
378
  "op": "insert_row",
379
379
  "files_created": 1,
380
- "planned_creates": ["datanotes/main/public/watch/2026-10-12 Nosferatu.md"],
380
+ "planned_creates": ["datanotes/main/public/watch/2026-10-14 Nosferatu.md"],
381
381
  "commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
382
- "migration_id": "20261012T071946-insert_row-insert-into-watch"
382
+ "migration_id": "20261014T191515-insert_row-insert-into-watch"
383
383
  }
384
384
  ```
385
385
 
386
- `datanotes/main/public/watch/2026-10-12 Nosferatu.md` now reads:
386
+ `datanotes/main/public/watch/2026-10-14 Nosferatu.md` now reads:
387
387
 
388
388
  ```markdown
389
389
  ---
390
390
  table: main.public.watch
391
391
  cssclasses:
392
392
  - watch
393
- id: 01a12efb-596f-7f8d-a613-98700dbd6bde
393
+ id: 01a13bd7-1c3b-7687-845d-b10ea8ff95a2
394
394
  film: Nosferatu
395
395
  where: outdoor screening
396
396
  place: the park by the river
397
- occurred_at: 2026-10-12T07:19:46Z
397
+ occurred_at: 2026-10-14T19:15:15Z
398
398
  ---
399
399
  Watched Nosferatu (outdoor screening).
400
400
 
@@ -465,28 +465,8 @@ Answer:
465
465
  ],
466
466
  "planned_moves": [
467
467
  {
468
- "from": "store:transaction_log/diary.classics.actors/00000000000000000000.json",
469
- "to": "store:transaction_log/diary.classics.actor/00000000000000000000.json"
470
- },
471
- {
472
- "from": "store:transaction_log/diary.classics.actors/00000000000000000001.json",
473
- "to": "store:transaction_log/diary.classics.actor/00000000000000000001.json"
474
- },
475
- {
476
- "from": "store:transaction_log/diary.classics.actors/00000000000000000002.json",
477
- "to": "store:transaction_log/diary.classics.actor/00000000000000000002.json"
478
- },
479
- {
480
- "from": "store:transaction_log/diary.classics.actors/00000000000000000003.json",
481
- "to": "store:transaction_log/diary.classics.actor/00000000000000000003.json"
482
- },
483
- {
484
- "from": "store:transaction_log/diary.classics.actors/00000000000000000004.json",
485
- "to": "store:transaction_log/diary.classics.actor/00000000000000000004.json"
486
- },
487
- {
488
- "from": "store:transaction_log/diary.classics.actors/00000000000000000005.json",
489
- "to": "store:transaction_log/diary.classics.actor/00000000000000000005.json"
468
+ "from": "store:transaction_log/diary.classics.actors/00000000000000000000.segment.jsonl",
469
+ "to": "store:transaction_log/diary.classics.actor/00000000000000000000.segment.jsonl"
490
470
  },
491
471
  {
492
472
  "from": "datanotes/diary/classics/actors/Max Schreck.md",
@@ -503,14 +483,14 @@ Answer:
503
483
  { "table": "classics.actors", "name": "actor" }
504
484
  ```
505
485
 
506
- Answer (48 lines)
486
+ Answer:
507
487
 
508
488
  ```json
509
489
  {
510
490
  "ok": true,
511
491
  "op": "alter_table",
512
492
  "notes_changed": 1,
513
- "files_moved": 7,
493
+ "files_moved": 2,
514
494
  "planned_edits": [
515
495
  {
516
496
  "path": "datanotes/diary/classics/actors/Max Schreck.md",
@@ -520,28 +500,8 @@ Answer (48 lines)
520
500
  ],
521
501
  "planned_moves": [
522
502
  {
523
- "from": "store:transaction_log/diary.classics.actors/00000000000000000000.json",
524
- "to": "store:transaction_log/diary.classics.actor/00000000000000000000.json"
525
- },
526
- {
527
- "from": "store:transaction_log/diary.classics.actors/00000000000000000001.json",
528
- "to": "store:transaction_log/diary.classics.actor/00000000000000000001.json"
529
- },
530
- {
531
- "from": "store:transaction_log/diary.classics.actors/00000000000000000002.json",
532
- "to": "store:transaction_log/diary.classics.actor/00000000000000000002.json"
533
- },
534
- {
535
- "from": "store:transaction_log/diary.classics.actors/00000000000000000003.json",
536
- "to": "store:transaction_log/diary.classics.actor/00000000000000000003.json"
537
- },
538
- {
539
- "from": "store:transaction_log/diary.classics.actors/00000000000000000004.json",
540
- "to": "store:transaction_log/diary.classics.actor/00000000000000000004.json"
541
- },
542
- {
543
- "from": "store:transaction_log/diary.classics.actors/00000000000000000005.json",
544
- "to": "store:transaction_log/diary.classics.actor/00000000000000000005.json"
503
+ "from": "store:transaction_log/diary.classics.actors/00000000000000000000.segment.jsonl",
504
+ "to": "store:transaction_log/diary.classics.actor/00000000000000000000.segment.jsonl"
545
505
  },
546
506
  {
547
507
  "from": "datanotes/diary/classics/actors/Max Schreck.md",
@@ -552,7 +512,7 @@ Answer (48 lines)
552
512
  "commits": [
553
513
  { "table": "diary.classics.actor", "version": 6, "operation": "ALTER TABLE" }
554
514
  ],
555
- "migration_id": "20261012T072004-alter_table-move-table-diary-classics-acto"
515
+ "migration_id": "20261014T191534-alter_table-move-table-diary-classics-acto"
556
516
  }
557
517
  ```
558
518
 
@@ -564,14 +524,14 @@ Then move it to a schema of its own:
564
524
  { "table": "classics.actor", "catalog": "diary", "schema": "credits" }
565
525
  ```
566
526
 
567
- Answer (52 lines)
527
+ Answer:
568
528
 
569
529
  ```json
570
530
  {
571
531
  "ok": true,
572
532
  "op": "alter_table",
573
533
  "notes_changed": 1,
574
- "files_moved": 8,
534
+ "files_moved": 2,
575
535
  "planned_edits": [
576
536
  {
577
537
  "path": "datanotes/diary/classics/actor/Max Schreck.md",
@@ -581,32 +541,8 @@ Answer (52 lines)
581
541
  ],
582
542
  "planned_moves": [
583
543
  {
584
- "from": "store:transaction_log/diary.classics.actor/00000000000000000000.json",
585
- "to": "store:transaction_log/diary.credits.actor/00000000000000000000.json"
586
- },
587
- {
588
- "from": "store:transaction_log/diary.classics.actor/00000000000000000001.json",
589
- "to": "store:transaction_log/diary.credits.actor/00000000000000000001.json"
590
- },
591
- {
592
- "from": "store:transaction_log/diary.classics.actor/00000000000000000002.json",
593
- "to": "store:transaction_log/diary.credits.actor/00000000000000000002.json"
594
- },
595
- {
596
- "from": "store:transaction_log/diary.classics.actor/00000000000000000003.json",
597
- "to": "store:transaction_log/diary.credits.actor/00000000000000000003.json"
598
- },
599
- {
600
- "from": "store:transaction_log/diary.classics.actor/00000000000000000004.json",
601
- "to": "store:transaction_log/diary.credits.actor/00000000000000000004.json"
602
- },
603
- {
604
- "from": "store:transaction_log/diary.classics.actor/00000000000000000005.json",
605
- "to": "store:transaction_log/diary.credits.actor/00000000000000000005.json"
606
- },
607
- {
608
- "from": "store:transaction_log/diary.classics.actor/00000000000000000006.json",
609
- "to": "store:transaction_log/diary.credits.actor/00000000000000000006.json"
544
+ "from": "store:transaction_log/diary.classics.actor/00000000000000000000.segment.jsonl",
545
+ "to": "store:transaction_log/diary.credits.actor/00000000000000000000.segment.jsonl"
610
546
  },
611
547
  {
612
548
  "from": "datanotes/diary/classics/actor/Max Schreck.md",
@@ -617,7 +553,7 @@ Answer (52 lines)
617
553
  "commits": [
618
554
  { "table": "diary.credits.actor", "version": 7, "operation": "ALTER TABLE" }
619
555
  ],
620
- "migration_id": "20261012T072004-alter_table-move-table-diary-classics-acto-2"
556
+ "migration_id": "20261014T191534-alter_table-move-table-diary-classics-acto-2"
621
557
  }
622
558
  ```
623
559
 
@@ -681,7 +617,7 @@ Answer:
681
617
  "commits": [
682
618
  { "table": "diary.classics.film", "version": 13, "operation": "ALTER TABLE" }
683
619
  ],
684
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil"
620
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-5"
685
621
  }
686
622
  ```
687
623
 
@@ -733,7 +669,7 @@ Answer:
733
669
  "commits": [
734
670
  { "table": "diary.classics.film", "version": 14, "operation": "ALTER TABLE" }
735
671
  ],
736
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil-2"
672
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-6"
737
673
  }
738
674
  ```
739
675
 
@@ -775,7 +711,7 @@ Answer:
775
711
  "commits": [
776
712
  { "table": "diary.classics.film", "version": 15, "operation": "ALTER TABLE" }
777
713
  ],
778
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil-3"
714
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-7"
779
715
  }
780
716
  ```
781
717
 
@@ -795,7 +731,7 @@ Answer:
795
731
  "commits": [
796
732
  { "table": "diary.classics.film", "version": 16, "operation": "ALTER TABLE" }
797
733
  ],
798
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil-4"
734
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-8"
799
735
  }
800
736
  ```
801
737
 
@@ -815,7 +751,7 @@ Answer:
815
751
  "commits": [
816
752
  { "table": "diary.classics.film", "version": 17, "operation": "ALTER TABLE" }
817
753
  ],
818
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil-5"
754
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-9"
819
755
  }
820
756
  ```
821
757
 
@@ -842,7 +778,7 @@ Answer:
842
778
  "files_created": 1,
843
779
  "planned_creates": ["datanotes/diary/classics/film/1925/Battleship Potemkin (1925).md"],
844
780
  "commits": [{ "table": "diary.classics.film", "version": 18, "operation": "WRITE" }],
845
- "migration_id": "20261012T072004-insert_row-insert-into-film-3"
781
+ "migration_id": "20261014T191534-insert_row-insert-into-film-4"
846
782
  }
847
783
  ```
848
784
 
@@ -852,7 +788,7 @@ Answer:
852
788
  ---
853
789
  table: diary.classics.film
854
790
  cut: restored
855
- id: 01a12efb-9da0-70b8-9f73-bb00b210e05f
791
+ id: 01a13bd7-6708-7c51-9bc8-ec11609a2c93
856
792
  title: Battleship Potemkin
857
793
  year: 1925
858
794
  minutes: 75
@@ -883,7 +819,7 @@ Answer:
883
819
  "commits": [
884
820
  { "table": "diary.classics.film", "version": 19, "operation": "ALTER TABLE" }
885
821
  ],
886
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil-6"
822
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-10"
887
823
  }
888
824
  ```
889
825
 
@@ -905,7 +841,7 @@ Answer:
905
841
  "files_created": 1,
906
842
  "planned_creates": ["datanotes/diary/classics/film/1924/Sherlock Jr. (1924).md"],
907
843
  "commits": [{ "table": "diary.classics.film", "version": 20, "operation": "WRITE" }],
908
- "migration_id": "20261012T072004-insert_row-insert-into-film-4"
844
+ "migration_id": "20261014T191534-insert_row-insert-into-film-5"
909
845
  }
910
846
  ```
911
847
 
@@ -915,7 +851,7 @@ Answer:
915
851
  ---
916
852
  table: diary.classics.film
917
853
  cut: restored
918
- id: 01a12efb-9dba-741f-a279-de88358083ce
854
+ id: 01a13bd7-6717-7265-ac31-ce2823c07dc6
919
855
  title: Sherlock Jr.
920
856
  year: 1924
921
857
  minutes: 45
@@ -948,7 +884,7 @@ Answer:
948
884
  "commits": [
949
885
  { "table": "diary.classics.film", "version": 21, "operation": "ALTER TABLE" }
950
886
  ],
951
- "migration_id": "20261012T072004-alter_table-alter-table-diary-classics-fil-7"
887
+ "migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-11"
952
888
  }
953
889
  ```
954
890
 
@@ -1030,7 +966,7 @@ Answer:
1030
966
  ```json
1031
967
  {
1032
968
  "ok": true,
1033
- "migration_id": "20261012T072004-create_table-create-table-diary-log-watch"
969
+ "migration_id": "20261014T191534-create_table-create-table-diary-log-watch"
1034
970
  }
1035
971
  ```
1036
972
 
@@ -1059,7 +995,7 @@ Answer:
1059
995
  "files_created": 1,
1060
996
  "planned_creates": ["datanotes/diary/log/watch/2026/10/2026-10-06 2130.md"],
1061
997
  "commits": [{ "table": "diary.log.watch", "version": 1, "operation": "WRITE" }],
1062
- "migration_id": "20261012T072004-insert_row-insert-into-watch"
998
+ "migration_id": "20261014T191534-insert_row-insert-into-watch"
1063
999
  }
1064
1000
  ```
1065
1001
 
@@ -1068,7 +1004,7 @@ Answer:
1068
1004
  ```markdown
1069
1005
  ---
1070
1006
  table: diary.log.watch
1071
- id: 01a12efb-9e05-7ed2-95c8-870d481fea29
1007
+ id: 01a13bd7-6747-7f6c-aff2-ff81497a9a02
1072
1008
  film: "[[Nosferatu (1922)]]"
1073
1009
  occurred_at: 2026-10-06T21:30:00+02:00
1074
1010
  where: outdoor screening
@@ -1104,7 +1040,7 @@ Answer:
1104
1040
  "commits": [
1105
1041
  { "table": "sandbox.classics.film_copy", "version": 0, "operation": "CLONE" }
1106
1042
  ],
1107
- "migration_id": "20261012T072004-clone_table-clone-diary-classics-film-to-s"
1043
+ "migration_id": "20261014T191534-clone_table-clone-diary-classics-film-to-s"
1108
1044
  }
1109
1045
  ```
1110
1046
 
@@ -1170,7 +1106,7 @@ Answer:
1170
1106
  "commits": [
1171
1107
  { "table": "sandbox.classics.film_empty", "version": 0, "operation": "CLONE" }
1172
1108
  ],
1173
- "migration_id": "20261012T072004-clone_table-clone-diary-classics-film-to-s-2"
1109
+ "migration_id": "20261014T191534-clone_table-clone-diary-classics-film-to-s-2"
1174
1110
  }
1175
1111
  ```
1176
1112
 
@@ -1252,7 +1188,7 @@ Answer:
1252
1188
  ],
1253
1189
  "planned_texts": ["datanotes/metastore.yaml"],
1254
1190
  "commits": [{ "table": "main.public.scratch", "version": 2, "operation": "DROP TABLE" }],
1255
- "migration_id": "20261012T071946-drop_table-drop-table-scratch"
1191
+ "migration_id": "20261014T191516-drop_table-drop-table-scratch"
1256
1192
  }
1257
1193
  ```
1258
1194
 
@@ -1276,7 +1212,7 @@ The engine wrote this file in its own words. It holds `film`, `watch` and `revie
1276
1212
 
1277
1213
  ```yaml
1278
1214
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
1279
- id: 01a12efb-589d-722c-bc9b-81ec34e480a4
1215
+ id: 01a13bd7-1943-7bc6-ab38-ab176313afeb
1280
1216
  config:
1281
1217
  history: true
1282
1218