lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

runtime_schema_v1.toml (16677B)


      1 schema_version = 1
      2 database = "runtime.sqlite"
      3 application_id = 1380209236                                                           # ASCII "RDRT"
      4 minimum_version = 1
      5 current_version = 9
      6 migration_name = "legacy_import_commits"
      7 migration_sha256 = "f0807eecd652a26844c3502d81386a9d54480cb178abe1b71035e0601916afb7"
      8 forward_only = true
      9 raw_sql_public = false
     10 
     11 authorities = [
     12   "canonical_events",
     13   "event_provenance",
     14   "operation_journal",
     15   "outbox",
     16   "delivery_evidence",
     17   "projection_coordination",
     18   "event_index_metadata",
     19   "atomic_commit_receipts",
     20   "legacy_import_recovery",
     21   "legacy_event_staging",
     22   "legacy_outbox_staging",
     23   "legacy_import_commits",
     24 ]
     25 
     26 source_invariants = [
     27   "source_generation_identity_immutable",
     28   "source_generation_history_append_only",
     29   "canonical_event_identity_immutable",
     30   "canonical_event_payload_immutable",
     31   "canonical_event_history_append_only",
     32 ]
     33 
     34 [[migrations]]
     35 version = 1
     36 name = "runtime_authority"
     37 sha256 = "3b869122dd5bd58f4a15e7a71fd1377879640b36cd496d7b3f15278ef1e128c9"
     38 
     39 owned_objects = [
     40   "radroots_runtime_atomic_commits",
     41   "radroots_runtime_delivery_evidence",
     42   "radroots_runtime_delivery_evidence_item_idx",
     43   "radroots_runtime_event_index_checkpoints",
     44   "radroots_runtime_event_index_manifests",
     45   "radroots_runtime_event_index_shards",
     46   "radroots_runtime_event_provenance",
     47   "radroots_runtime_event_provenance_observed_idx",
     48   "radroots_runtime_events",
     49   "radroots_runtime_events_admission_idx",
     50   "radroots_runtime_events_delete_guard",
     51   "radroots_runtime_events_event_id_idx",
     52   "radroots_runtime_events_raw_update_guard",
     53   "radroots_runtime_journal_idempotency_idx",
     54   "radroots_runtime_journal_operations",
     55   "radroots_runtime_journal_recovery_idx",
     56   "radroots_runtime_outbox_items",
     57   "radroots_runtime_outbox_ready_idx",
     58   "radroots_runtime_outbox_targets",
     59   "radroots_runtime_projection_checkpoints",
     60   "radroots_runtime_projection_invalidations",
     61   "radroots_runtime_projection_rebuilds",
     62   "radroots_runtime_projection_rebuilds_stage_idx",
     63   "radroots_runtime_source_generations",
     64   "radroots_runtime_source_generations_delete_guard",
     65   "radroots_runtime_source_generations_identity_guard",
     66 ]
     67 
     68 [[migrations]]
     69 version = 2
     70 name = "canonical_event_storage"
     71 sha256 = "35b036ba84eff7135665c4ae42fa8232d8bacd8115805b03011a3eb76423f4b8"
     72 
     73 owned_objects = [
     74   "radroots_runtime_atomic_commits",
     75   "radroots_runtime_delivery_evidence",
     76   "radroots_runtime_delivery_evidence_item_idx",
     77   "radroots_runtime_event_index_checkpoints",
     78   "radroots_runtime_event_index_manifests",
     79   "radroots_runtime_event_index_shards",
     80   "radroots_runtime_event_provenance",
     81   "radroots_runtime_event_provenance_observed_idx",
     82   "radroots_runtime_events",
     83   "radroots_runtime_events_admission_idx",
     84   "radroots_runtime_events_delete_guard",
     85   "radroots_runtime_events_event_id_idx",
     86   "radroots_runtime_events_raw_update_guard",
     87   "radroots_runtime_journal_idempotency_idx",
     88   "radroots_runtime_journal_operations",
     89   "radroots_runtime_journal_recovery_idx",
     90   "radroots_runtime_outbox_items",
     91   "radroots_runtime_outbox_ready_idx",
     92   "radroots_runtime_outbox_targets",
     93   "radroots_runtime_projection_checkpoints",
     94   "radroots_runtime_projection_invalidations",
     95   "radroots_runtime_projection_rebuilds",
     96   "radroots_runtime_projection_rebuilds_stage_idx",
     97   "radroots_runtime_source_generations",
     98   "radroots_runtime_source_generations_active_idx",
     99   "radroots_runtime_source_generations_delete_guard",
    100   "radroots_runtime_source_generations_identity_guard",
    101   "radroots_runtime_source_generations_sequence_guard",
    102 ]
    103 
    104 [[migrations]]
    105 version = 3
    106 name = "operation_journal"
    107 sha256 = "4caa69a316777cabfc647e6d022007c1433a5793b2a55679629e8fac4d50a0f0"
    108 
    109 owned_objects = [
    110   "radroots_runtime_atomic_commits",
    111   "radroots_runtime_delivery_evidence",
    112   "radroots_runtime_delivery_evidence_item_idx",
    113   "radroots_runtime_event_index_checkpoints",
    114   "radroots_runtime_event_index_manifests",
    115   "radroots_runtime_event_index_shards",
    116   "radroots_runtime_event_provenance",
    117   "radroots_runtime_event_provenance_observed_idx",
    118   "radroots_runtime_events",
    119   "radroots_runtime_events_admission_idx",
    120   "radroots_runtime_events_delete_guard",
    121   "radroots_runtime_events_event_id_idx",
    122   "radroots_runtime_events_raw_update_guard",
    123   "radroots_runtime_journal_idempotency_idx",
    124   "radroots_runtime_journal_operations",
    125   "radroots_runtime_journal_recovery_idx",
    126   "radroots_runtime_outbox_items",
    127   "radroots_runtime_outbox_ready_idx",
    128   "radroots_runtime_outbox_targets",
    129   "radroots_runtime_projection_checkpoints",
    130   "radroots_runtime_projection_invalidations",
    131   "radroots_runtime_projection_rebuilds",
    132   "radroots_runtime_projection_rebuilds_stage_idx",
    133   "radroots_runtime_source_generations",
    134   "radroots_runtime_source_generations_active_idx",
    135   "radroots_runtime_source_generations_delete_guard",
    136   "radroots_runtime_source_generations_identity_guard",
    137   "radroots_runtime_source_generations_sequence_guard",
    138 ]
    139 
    140 [[migrations]]
    141 version = 4
    142 name = "outbox_delivery_evidence"
    143 sha256 = "435ad7590be7cd9d5b5ee3c9eb2d53419eba3ba12b0f0fc623f1787517524842"
    144 
    145 owned_objects = [
    146   "radroots_runtime_atomic_commits",
    147   "radroots_runtime_delivery_evidence",
    148   "radroots_runtime_delivery_evidence_item_idx",
    149   "radroots_runtime_event_index_checkpoints",
    150   "radroots_runtime_event_index_manifests",
    151   "radroots_runtime_event_index_shards",
    152   "radroots_runtime_event_provenance",
    153   "radroots_runtime_event_provenance_observed_idx",
    154   "radroots_runtime_events",
    155   "radroots_runtime_events_admission_idx",
    156   "radroots_runtime_events_delete_guard",
    157   "radroots_runtime_events_event_id_idx",
    158   "radroots_runtime_events_raw_update_guard",
    159   "radroots_runtime_journal_idempotency_idx",
    160   "radroots_runtime_journal_operations",
    161   "radroots_runtime_journal_recovery_idx",
    162   "radroots_runtime_outbox_items",
    163   "radroots_runtime_outbox_operation_idx",
    164   "radroots_runtime_outbox_ready_idx",
    165   "radroots_runtime_outbox_targets",
    166   "radroots_runtime_projection_checkpoints",
    167   "radroots_runtime_projection_invalidations",
    168   "radroots_runtime_projection_rebuilds",
    169   "radroots_runtime_projection_rebuilds_stage_idx",
    170   "radroots_runtime_source_generations",
    171   "radroots_runtime_source_generations_active_idx",
    172   "radroots_runtime_source_generations_delete_guard",
    173   "radroots_runtime_source_generations_identity_guard",
    174   "radroots_runtime_source_generations_sequence_guard",
    175 ]
    176 
    177 [[migrations]]
    178 version = 5
    179 name = "projection_metadata"
    180 sha256 = "ef162e3591057414b5704ff07fc93e57127ad7996ab3d431541418fd9c285e51"
    181 
    182 owned_objects = [
    183   "radroots_runtime_atomic_commits",
    184   "radroots_runtime_delivery_evidence",
    185   "radroots_runtime_delivery_evidence_item_idx",
    186   "radroots_runtime_event_index_checkpoints",
    187   "radroots_runtime_event_index_manifests",
    188   "radroots_runtime_event_index_shards",
    189   "radroots_runtime_event_provenance",
    190   "radroots_runtime_event_provenance_observed_idx",
    191   "radroots_runtime_events",
    192   "radroots_runtime_events_admission_idx",
    193   "radroots_runtime_events_delete_guard",
    194   "radroots_runtime_events_event_id_idx",
    195   "radroots_runtime_events_raw_update_guard",
    196   "radroots_runtime_journal_idempotency_idx",
    197   "radroots_runtime_journal_operations",
    198   "radroots_runtime_journal_recovery_idx",
    199   "radroots_runtime_outbox_items",
    200   "radroots_runtime_outbox_operation_idx",
    201   "radroots_runtime_outbox_ready_idx",
    202   "radroots_runtime_outbox_targets",
    203   "radroots_runtime_projection_checkpoints",
    204   "radroots_runtime_projection_invalidations",
    205   "radroots_runtime_projection_rebuilds",
    206   "radroots_runtime_projection_rebuilds_stage_idx",
    207   "radroots_runtime_source_generations",
    208   "radroots_runtime_source_generations_active_idx",
    209   "radroots_runtime_source_generations_delete_guard",
    210   "radroots_runtime_source_generations_identity_guard",
    211   "radroots_runtime_source_generations_sequence_guard",
    212 ]
    213 
    214 [[migrations]]
    215 version = 6
    216 name = "legacy_import_journal"
    217 sha256 = "5858336c25b048d6cdae1beedc8bf0bdfb530b858c3c50f501621c3314d23d4a"
    218 
    219 owned_objects = [
    220   "radroots_runtime_atomic_commits",
    221   "radroots_runtime_delivery_evidence",
    222   "radroots_runtime_delivery_evidence_item_idx",
    223   "radroots_runtime_event_index_checkpoints",
    224   "radroots_runtime_event_index_manifests",
    225   "radroots_runtime_event_index_shards",
    226   "radroots_runtime_event_provenance",
    227   "radroots_runtime_event_provenance_observed_idx",
    228   "radroots_runtime_events",
    229   "radroots_runtime_events_admission_idx",
    230   "radroots_runtime_events_delete_guard",
    231   "radroots_runtime_events_event_id_idx",
    232   "radroots_runtime_events_raw_update_guard",
    233   "radroots_runtime_journal_idempotency_idx",
    234   "radroots_runtime_journal_operations",
    235   "radroots_runtime_journal_recovery_idx",
    236   "radroots_runtime_legacy_import_delete_guard",
    237   "radroots_runtime_legacy_import_identity_guard",
    238   "radroots_runtime_legacy_import_member_delete_guard",
    239   "radroots_runtime_legacy_import_member_identity_guard",
    240   "radroots_runtime_legacy_import_member_state_guard",
    241   "radroots_runtime_legacy_import_members",
    242   "radroots_runtime_legacy_import_state_guard",
    243   "radroots_runtime_legacy_import_state_idx",
    244   "radroots_runtime_legacy_imports",
    245   "radroots_runtime_outbox_items",
    246   "radroots_runtime_outbox_operation_idx",
    247   "radroots_runtime_outbox_ready_idx",
    248   "radroots_runtime_outbox_targets",
    249   "radroots_runtime_projection_checkpoints",
    250   "radroots_runtime_projection_invalidations",
    251   "radroots_runtime_projection_rebuilds",
    252   "radroots_runtime_projection_rebuilds_stage_idx",
    253   "radroots_runtime_source_generations",
    254   "radroots_runtime_source_generations_active_idx",
    255   "radroots_runtime_source_generations_delete_guard",
    256   "radroots_runtime_source_generations_identity_guard",
    257   "radroots_runtime_source_generations_sequence_guard",
    258 ]
    259 
    260 [[migrations]]
    261 version = 7
    262 name = "legacy_event_staging"
    263 sha256 = "cb10766ab1a98fa13e27f36fdab869c72efefda98ea2331da32e90b3528c63aa"
    264 
    265 owned_objects = [
    266   "radroots_runtime_atomic_commits",
    267   "radroots_runtime_delivery_evidence",
    268   "radroots_runtime_delivery_evidence_item_idx",
    269   "radroots_runtime_event_index_checkpoints",
    270   "radroots_runtime_event_index_manifests",
    271   "radroots_runtime_event_index_shards",
    272   "radroots_runtime_event_provenance",
    273   "radroots_runtime_event_provenance_observed_idx",
    274   "radroots_runtime_events",
    275   "radroots_runtime_events_admission_idx",
    276   "radroots_runtime_events_delete_guard",
    277   "radroots_runtime_events_event_id_idx",
    278   "radroots_runtime_events_raw_update_guard",
    279   "radroots_runtime_journal_idempotency_idx",
    280   "radroots_runtime_journal_operations",
    281   "radroots_runtime_journal_recovery_idx",
    282   "radroots_runtime_legacy_event_staging",
    283   "radroots_runtime_legacy_event_staging_delete_guard",
    284   "radroots_runtime_legacy_event_staging_insert_guard",
    285   "radroots_runtime_legacy_event_staging_update_guard",
    286   "radroots_runtime_legacy_import_delete_guard",
    287   "radroots_runtime_legacy_import_identity_guard",
    288   "radroots_runtime_legacy_import_member_delete_guard",
    289   "radroots_runtime_legacy_import_member_identity_guard",
    290   "radroots_runtime_legacy_import_member_state_guard",
    291   "radroots_runtime_legacy_import_members",
    292   "radroots_runtime_legacy_import_state_guard",
    293   "radroots_runtime_legacy_import_state_idx",
    294   "radroots_runtime_legacy_imports",
    295   "radroots_runtime_outbox_items",
    296   "radroots_runtime_outbox_operation_idx",
    297   "radroots_runtime_outbox_ready_idx",
    298   "radroots_runtime_outbox_targets",
    299   "radroots_runtime_projection_checkpoints",
    300   "radroots_runtime_projection_invalidations",
    301   "radroots_runtime_projection_rebuilds",
    302   "radroots_runtime_projection_rebuilds_stage_idx",
    303   "radroots_runtime_source_generations",
    304   "radroots_runtime_source_generations_active_idx",
    305   "radroots_runtime_source_generations_delete_guard",
    306   "radroots_runtime_source_generations_identity_guard",
    307   "radroots_runtime_source_generations_sequence_guard",
    308 ]
    309 
    310 [[migrations]]
    311 version = 8
    312 name = "legacy_outbox_staging"
    313 sha256 = "b2ad0ee5bf7ac9e56584623c641e5208f5446dd0ff5ced9f235cd1756781be34"
    314 
    315 owned_objects = [
    316   "radroots_runtime_atomic_commits",
    317   "radroots_runtime_delivery_evidence",
    318   "radroots_runtime_delivery_evidence_item_idx",
    319   "radroots_runtime_event_index_checkpoints",
    320   "radroots_runtime_event_index_manifests",
    321   "radroots_runtime_event_index_shards",
    322   "radroots_runtime_event_provenance",
    323   "radroots_runtime_event_provenance_observed_idx",
    324   "radroots_runtime_events",
    325   "radroots_runtime_events_admission_idx",
    326   "radroots_runtime_events_delete_guard",
    327   "radroots_runtime_events_event_id_idx",
    328   "radroots_runtime_events_raw_update_guard",
    329   "radroots_runtime_journal_idempotency_idx",
    330   "radroots_runtime_journal_operations",
    331   "radroots_runtime_journal_recovery_idx",
    332   "radroots_runtime_legacy_event_staging",
    333   "radroots_runtime_legacy_event_staging_delete_guard",
    334   "radroots_runtime_legacy_event_staging_insert_guard",
    335   "radroots_runtime_legacy_event_staging_update_guard",
    336   "radroots_runtime_legacy_import_delete_guard",
    337   "radroots_runtime_legacy_import_identity_guard",
    338   "radroots_runtime_legacy_import_member_delete_guard",
    339   "radroots_runtime_legacy_import_member_identity_guard",
    340   "radroots_runtime_legacy_import_member_state_guard",
    341   "radroots_runtime_legacy_import_members",
    342   "radroots_runtime_legacy_import_state_guard",
    343   "radroots_runtime_legacy_import_state_idx",
    344   "radroots_runtime_legacy_imports",
    345   "radroots_runtime_legacy_outbox_staging",
    346   "radroots_runtime_legacy_outbox_staging_delete_guard",
    347   "radroots_runtime_legacy_outbox_staging_insert_guard",
    348   "radroots_runtime_legacy_outbox_staging_parent_idx",
    349   "radroots_runtime_legacy_outbox_staging_update_guard",
    350   "radroots_runtime_outbox_items",
    351   "radroots_runtime_outbox_operation_idx",
    352   "radroots_runtime_outbox_ready_idx",
    353   "radroots_runtime_outbox_targets",
    354   "radroots_runtime_projection_checkpoints",
    355   "radroots_runtime_projection_invalidations",
    356   "radroots_runtime_projection_rebuilds",
    357   "radroots_runtime_projection_rebuilds_stage_idx",
    358   "radroots_runtime_source_generations",
    359   "radroots_runtime_source_generations_active_idx",
    360   "radroots_runtime_source_generations_delete_guard",
    361   "radroots_runtime_source_generations_identity_guard",
    362   "radroots_runtime_source_generations_sequence_guard",
    363 ]
    364 
    365 [[migrations]]
    366 version = 9
    367 name = "legacy_import_commits"
    368 sha256 = "f0807eecd652a26844c3502d81386a9d54480cb178abe1b71035e0601916afb7"
    369 
    370 owned_objects = [
    371   "radroots_runtime_atomic_commits",
    372   "radroots_runtime_delivery_evidence",
    373   "radroots_runtime_delivery_evidence_item_idx",
    374   "radroots_runtime_event_index_checkpoints",
    375   "radroots_runtime_event_index_manifests",
    376   "radroots_runtime_event_index_shards",
    377   "radroots_runtime_event_provenance",
    378   "radroots_runtime_event_provenance_observed_idx",
    379   "radroots_runtime_events",
    380   "radroots_runtime_events_admission_idx",
    381   "radroots_runtime_events_delete_guard",
    382   "radroots_runtime_events_event_id_idx",
    383   "radroots_runtime_events_raw_update_guard",
    384   "radroots_runtime_journal_idempotency_idx",
    385   "radroots_runtime_journal_operations",
    386   "radroots_runtime_journal_recovery_idx",
    387   "radroots_runtime_legacy_event_staging",
    388   "radroots_runtime_legacy_event_staging_delete_guard",
    389   "radroots_runtime_legacy_event_staging_insert_guard",
    390   "radroots_runtime_legacy_event_staging_update_guard",
    391   "radroots_runtime_legacy_import_commit_delete_guard",
    392   "radroots_runtime_legacy_import_commit_update_guard",
    393   "radroots_runtime_legacy_import_commits",
    394   "radroots_runtime_legacy_import_delete_guard",
    395   "radroots_runtime_legacy_import_identity_guard",
    396   "radroots_runtime_legacy_import_member_delete_guard",
    397   "radroots_runtime_legacy_import_member_identity_guard",
    398   "radroots_runtime_legacy_import_member_state_guard",
    399   "radroots_runtime_legacy_import_members",
    400   "radroots_runtime_legacy_import_state_guard",
    401   "radroots_runtime_legacy_import_state_idx",
    402   "radroots_runtime_legacy_imports",
    403   "radroots_runtime_legacy_outbox_staging",
    404   "radroots_runtime_legacy_outbox_staging_delete_guard",
    405   "radroots_runtime_legacy_outbox_staging_insert_guard",
    406   "radroots_runtime_legacy_outbox_staging_parent_idx",
    407   "radroots_runtime_legacy_outbox_staging_update_guard",
    408   "radroots_runtime_outbox_items",
    409   "radroots_runtime_outbox_operation_idx",
    410   "radroots_runtime_outbox_ready_idx",
    411   "radroots_runtime_outbox_targets",
    412   "radroots_runtime_projection_checkpoints",
    413   "radroots_runtime_projection_invalidations",
    414   "radroots_runtime_projection_rebuilds",
    415   "radroots_runtime_projection_rebuilds_stage_idx",
    416   "radroots_runtime_source_generations",
    417   "radroots_runtime_source_generations_active_idx",
    418   "radroots_runtime_source_generations_delete_guard",
    419   "radroots_runtime_source_generations_identity_guard",
    420   "radroots_runtime_source_generations_sequence_guard",
    421 ]