field_ios

In-the-field app for Radroots on iOS
git clone https://radroots.dev/git/field_ios.git
Log | Files | Refs | README | LICENSE

commit e3805c001b3e293c231e60b908b093cbe33e34ee
parent 78d5bcabdd52166e8fd43839b96ba48a23a83643
Author: triesap <tyson@radroots.org>
Date:   Fri,  2 Oct 2026 22:38:42 +0000

test: qualify actual historical upgrade and restore

- Freeze sanitized bytes from exact historical owners
- Preserve acknowledged identities through current binary migration
- Refuse unsafe migration and historical reader downgrade
- Restore hidden media and require fresh original target review

Diffstat:
M.gitignore | 4++++
MTera.xcodeproj/project.pbxproj | 20++++++++++++++++++++
MTeraFFI/provenance.json | 44++++++++++++++++++++++----------------------
MTeraFFI/source.lock | 4++--
MTeraFFI/source/aarch64-apple-darwin.json | 92+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
MTeraFFI/source/aarch64-apple-ios-sim.json | 92+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
MTeraFFI/source/aarch64-apple-ios.json | 92+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
ATeraTests/TeraHistoricalOwnerFixture.swift | 133+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATeraTests/TeraHistoricalOwnerTests.swift | 120+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acore/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs | 201+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acore/crates/tera_core/src/runtime/legacy_upgrade_tests/mod.rs | 5+++++
Acore/crates/tera_core/src/runtime/legacy_upgrade_tests/restore.rs | 137+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acore/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs | 122+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acore/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs | 136+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acore/crates/tera_core/src/runtime/legacy_upgrade_tests/upgrade.rs | 92+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mcore/crates/tera_core/src/runtime/mod.rs | 3+++
Mproject.yml | 5+++++
Mrelease/provenance.json | 6+++---
Ascripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ascripts/legacy_fixture_writers/historical_writer.rs | 347+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ascripts/legacy_upgrade_fixture_admission.py | 245+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ascripts/legacy_upgrade_fixture_producer.py | 353+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mscripts/swift-quality.sh | 4++++
Ascripts/test_legacy_upgrade_fixture.py | 292+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mscripts/verify-package-contract.sh | 3++-
Mtest-fixtures/legacy-identifiers.v1.json | 316+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Atest-fixtures/legacy_upgrade_v1/data/background_transfers/transfers.json | 2++
Atest-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/.radroots-storage-writer.lock | 0
Atest-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/private.sqlite | 0
Atest-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/runtime.sqlite | 0
Atest-fixtures/legacy_upgrade_v1/data/settings/radroots_configuration_v3.json | 20++++++++++++++++++++
Atest-fixtures/legacy_upgrade_v1/data/state/source_generation_v1.json | 6++++++
Atest-fixtures/legacy_upgrade_v1/host-metadata.json | 12++++++++++++
Atest-fixtures/legacy_upgrade_v1/manifest.json | 1144+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Atest-fixtures/legacy_upgrade_v1/native-metadata.json | 9+++++++++
Atest-fixtures/legacy_upgrade_v1/owner-expectations.json | 1051+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Atest-fixtures/legacy_upgrade_v1/refusal_inputs/damaged_catalog/runtime.sqlite | 0
Atest-fixtures/legacy_upgrade_v1/refusal_inputs/unsupported_version/runtime.sqlite | 0
Atest-fixtures/legacy_upgrade_v1/rust-metadata.json | 1198+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Atest-fixtures/legacy_upgrade_v1/tmp/staged_blobs/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d | 0
40 files changed, 6346 insertions(+), 67 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -40,6 +40,10 @@ justfile # OS .DS_Store + +# Frozen historical owner media is input evidence, including its original path. +!test-fixtures/legacy_upgrade_v1/tmp/ +!test-fixtures/legacy_upgrade_v1/tmp/** Thumbs.db # Secrets diff --git a/Tera.xcodeproj/project.pbxproj b/Tera.xcodeproj/project.pbxproj @@ -15,6 +15,7 @@ 095FBECA7268AA594F614EFA /* TeraScopeBackend.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9ED6D3E35C3235B6068E1902 /* TeraScopeBackend.swift */; }; 1077ED6CD94589B273E94F06 /* TeraVisibilityTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6308AE4246EA401D29F36496 /* TeraVisibilityTests.swift */; }; 116EF45DA06343BA3FA697AD /* TeraFoodDecimalEntryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 547AD45DC8C58FC4AA0D073D /* TeraFoodDecimalEntryTests.swift */; }; + 11F4583DF23972489EDCBDE7 /* TeraHistoricalOwnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32207238333C60B9B9E9791C /* TeraHistoricalOwnerTests.swift */; }; 1381A92874CF80925EEC06F5 /* TeraComposerMediaOwnershipTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE713B98919CB7692E3104A9 /* TeraComposerMediaOwnershipTests.swift */; }; 141327BC6BAE2CFA2C62C584 /* TeraTodayReconciliationTaskTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EB21C33D6173E4FED05FDA0 /* TeraTodayReconciliationTaskTests.swift */; }; 17805D95512D7144DAC59D85 /* TeraTodayRenderingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7283D1C8F6E90A236BC84AF6 /* TeraTodayRenderingTests.swift */; }; @@ -46,6 +47,7 @@ 45328FDB3E5F4715743FE7CD /* TeraRecoverySettlementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47E7B696B1BDDBF3B7FE838F /* TeraRecoverySettlementTests.swift */; }; 46ECA0EA5CE33D30BB5E08AF /* TeraOfflineMediaTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649F88AE533C3BEEBC466894 /* TeraOfflineMediaTests.swift */; }; 4734A842C366608EC1BD31C5 /* TeraUserMessagesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46DDEE781FDD92A292FD847B /* TeraUserMessagesTests.swift */; }; + 477203E28C05C4A4842D1175 /* TeraHistoricalOwnerFixture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7EF0C998EA57D7DC69C51141 /* TeraHistoricalOwnerFixture.swift */; }; 4B093458FAF4C6E4860E313A /* TeraComposerAutosaveTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E55E47B15C42F13ABF2DFF27 /* TeraComposerAutosaveTests.swift */; }; 4D24610694C7F80F7B5DA904 /* TeraPublicationTargetTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 293D968D4E2ACA3BA414BF8D /* TeraPublicationTargetTests.swift */; }; 4DDC1E0EC1194DD15B2B19A3 /* TeraSubmissionReservationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4721B7A69E2FB989732A64D /* TeraSubmissionReservationTests.swift */; }; @@ -142,6 +144,7 @@ E98A5C885E3955D4DC4BB1EC /* TeraTodayCacheFirstTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53CB51FEF4CE772320B3264C /* TeraTodayCacheFirstTests.swift */; }; ED015228F2D757A485C902B8 /* TeraIdentityRecoveryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2C7C27B35A9F7176AA3416B /* TeraIdentityRecoveryTests.swift */; }; EF7293C553BF1DB45EEEBD49 /* local-social-personas.v1.json in Resources */ = {isa = PBXBuildFile; fileRef = 27D9D40699A01FFB02F30B11 /* local-social-personas.v1.json */; }; + F07F932E0D80C8713B625E15 /* legacy_upgrade_v1 in Resources */ = {isa = PBXBuildFile; fileRef = 70BECEA794AE8680BBCA54D0 /* legacy_upgrade_v1 */; }; F13090A3350CAE9CA3FFF3F3 /* TeraLateSigningTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217E44A3221756EC904702D6 /* TeraLateSigningTests.swift */; }; F14217EA66C2A9397E36E3FA /* TeraEditingOperationProtectionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC9B19425D3374B899485C17 /* TeraEditingOperationProtectionTests.swift */; }; F211D24BC279D3FF4AC12094 /* TeraPrivacyPackagingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EFD344F51F015AE6775F03D3 /* TeraPrivacyPackagingTests.swift */; }; @@ -196,6 +199,7 @@ 293D968D4E2ACA3BA414BF8D /* TeraPublicationTargetTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraPublicationTargetTests.swift; sourceTree = "<group>"; }; 2A4FFC0023C620B68D0EC0ED /* TeraRuntimeBoundedTaskTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraRuntimeBoundedTaskTests.swift; sourceTree = "<group>"; }; 2A506546B0EC1792240C36F7 /* TeraClockTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraClockTests.swift; sourceTree = "<group>"; }; + 32207238333C60B9B9E9791C /* TeraHistoricalOwnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraHistoricalOwnerTests.swift; sourceTree = "<group>"; }; 32CBDAE974FB8D7408108E69 /* TeraRemoteQualificationUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraRemoteQualificationUITests.swift; sourceTree = "<group>"; }; 36AF0D194520F0F02EAD6B50 /* TeraCalendarTimingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraCalendarTimingTests.swift; sourceTree = "<group>"; }; 3A756C16ACFABBD36C48DF62 /* TeraScopedAddTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraScopedAddTests.swift; sourceTree = "<group>"; }; @@ -233,6 +237,7 @@ 6D536D6625083ACB3DA4A674 /* TeraComposerDurabilityBoundaryTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraComposerDurabilityBoundaryTests.swift; sourceTree = "<group>"; }; 6F617B18A76B833F3575487F /* TeraExactDecimalPresentationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraExactDecimalPresentationTests.swift; sourceTree = "<group>"; }; 70A358431863E54EDDAA24F4 /* TeraLocalBackupTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraLocalBackupTests.swift; sourceTree = "<group>"; }; + 70BECEA794AE8680BBCA54D0 /* legacy_upgrade_v1 */ = {isa = PBXFileReference; lastKnownFileType = folder; name = legacy_upgrade_v1; path = "test-fixtures/legacy_upgrade_v1"; sourceTree = SOURCE_ROOT; }; 714B4DD70B881D29A89812C9 /* TeraTodayReconciliationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraTodayReconciliationTests.swift; sourceTree = "<group>"; }; 7283D1C8F6E90A236BC84AF6 /* TeraTodayRenderingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraTodayRenderingTests.swift; sourceTree = "<group>"; }; 73EBD10E201ECA26DCED523F /* TeraRuntimeInvalidationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraRuntimeInvalidationTests.swift; sourceTree = "<group>"; }; @@ -242,6 +247,7 @@ 7AF60EF9DCFDC4ECE77AED67 /* TeraProductStartupTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraProductStartupTests.swift; sourceTree = "<group>"; }; 7C0836F5D5F71F9A54795C57 /* TeraSessionGenerationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraSessionGenerationTests.swift; sourceTree = "<group>"; }; 7D1771A0E16F94F9750D1377 /* TeraRevisionPreparationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraRevisionPreparationTests.swift; sourceTree = "<group>"; }; + 7EF0C998EA57D7DC69C51141 /* TeraHistoricalOwnerFixture.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraHistoricalOwnerFixture.swift; sourceTree = "<group>"; }; 8120C6BA40C3087C4D11D432 /* TeraTodayPagingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraTodayPagingTests.swift; sourceTree = "<group>"; }; 8591841AD9AB9B718A37EB47 /* TeraRuntimeBackpressureTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraRuntimeBackpressureTests.swift; sourceTree = "<group>"; }; 88ED360C84532DA7088BFC6E /* TeraRuntimeClientFixtures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraRuntimeClientFixtures.swift; sourceTree = "<group>"; }; @@ -421,6 +427,8 @@ 6F617B18A76B833F3575487F /* TeraExactDecimalPresentationTests.swift */, 547AD45DC8C58FC4AA0D073D /* TeraFoodDecimalEntryTests.swift */, 99681A076A08E385942344F7 /* TeraForegroundSubmissionTests.swift */, + 7EF0C998EA57D7DC69C51141 /* TeraHistoricalOwnerFixture.swift */, + 32207238333C60B9B9E9791C /* TeraHistoricalOwnerTests.swift */, F666094C5E385A2820F0FE82 /* TeraIdentityCancellationTests.swift */, E2C7C27B35A9F7176AA3416B /* TeraIdentityRecoveryTests.swift */, F06622DFA682235F4BFA0841 /* TeraKeyRemovalTests.swift */, @@ -529,6 +537,7 @@ 587FA07B97C720E19966A5B8 = { isa = PBXGroup; children = ( + 70BECEA794AE8680BBCA54D0 /* legacy_upgrade_v1 */, C4B662981D34A18E44B6ADF7 /* App */, C59B9E3818DFB13F7D0E534F /* Config */, 1EFC18A250A6110CAF07AFF5 /* en.lproj */, @@ -618,6 +627,7 @@ buildConfigurationList = 00AFD792FF99098A81A2E4F0 /* Build configuration list for PBXNativeTarget "TeraTests" */; buildPhases = ( 043CF80508A308E3D1CF80D3 /* Sources */, + F5AEAA1DBAE4093601711CC6 /* Resources */, 0C55D66910BB8087B48BB40F /* Frameworks */, ); buildRules = ( @@ -692,6 +702,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F5AEAA1DBAE4093601711CC6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F07F932E0D80C8713B625E15 /* legacy_upgrade_v1 in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -756,6 +774,8 @@ 5813921C9074F00625F87E06 /* TeraExactDecimalPresentationTests.swift in Sources */, 116EF45DA06343BA3FA697AD /* TeraFoodDecimalEntryTests.swift in Sources */, 9A7E808CB591126300D3A118 /* TeraForegroundSubmissionTests.swift in Sources */, + 477203E28C05C4A4842D1175 /* TeraHistoricalOwnerFixture.swift in Sources */, + 11F4583DF23972489EDCBDE7 /* TeraHistoricalOwnerTests.swift in Sources */, 41BD76CAA07F6071411F7AC1 /* TeraIdentityCancellationTests.swift in Sources */, ED015228F2D757A485C902B8 /* TeraIdentityRecoveryTests.swift in Sources */, A5A98A2C7BE78267E6B23598 /* TeraKeyRemovalTests.swift in Sources */, diff --git a/TeraFFI/provenance.json b/TeraFFI/provenance.json @@ -22,9 +22,9 @@ "sha256": "3ed9b7ece2f86e5b5d1ddc6ecbb97deb49c46ca2ea91a930eaec1b580232345c" }, { - "bytes": 79610880, + "bytes": 79611288, "path": "TeraFFI.xcframework/ios-arm64-simulator/libtera_ffi.a", - "sha256": "36dc2f439121b07da5bb32e4a15b401686d7e6730393d0f4ba4be8f9a7ec1c84" + "sha256": "ef8b9167db554e775cbff57362441381339018fceae0c35173ffb0485265bf0b" }, { "bytes": 105627, @@ -39,7 +39,7 @@ { "bytes": 79645856, "path": "TeraFFI.xcframework/ios-arm64/libtera_ffi.a", - "sha256": "4ec9d8ba1b547d1f33fb14ca0c9b0dee290602e226da7e89ae723dd158ee6567" + "sha256": "e1c4926a9eef1db20cf5e0b7c17c6afae45773d88f7743502ccb5dcb4eab26ae" }, { "bytes": 64990, @@ -82,29 +82,29 @@ "sha256": "806c8175fa25676a1ad0b1b7f8da64309da2c5e686db4cd45dbbee21e543f115" }, { - "bytes": 79610880, + "bytes": 79611288, "path": "native/aarch64-apple-ios-sim/libtera_ffi.a", - "sha256": "36dc2f439121b07da5bb32e4a15b401686d7e6730393d0f4ba4be8f9a7ec1c84" + "sha256": "ef8b9167db554e775cbff57362441381339018fceae0c35173ffb0485265bf0b" }, { "bytes": 79645856, "path": "native/aarch64-apple-ios/libtera_ffi.a", - "sha256": "4ec9d8ba1b547d1f33fb14ca0c9b0dee290602e226da7e89ae723dd158ee6567" + "sha256": "e1c4926a9eef1db20cf5e0b7c17c6afae45773d88f7743502ccb5dcb4eab26ae" }, { - "bytes": 139714, + "bytes": 142758, "path": "source/aarch64-apple-darwin.json", - "sha256": "7e3e583ec0af493c4419927cac65799eff8406dbc8a1523f688f4677fc17804c" + "sha256": "25336b30b0607cf91bd9827e9a4e86bcd4f83d8fa246bd0074013f74cbdb1029" }, { - "bytes": 139558, + "bytes": 142602, "path": "source/aarch64-apple-ios-sim.json", - "sha256": "316a8064c893d6e7733706f9c1a4e25a89995d243898dd348dbb7513f07b6629" + "sha256": "9f9a53f218825bf16a366940aefb080334ff8fceefd5ea0fb0e79f8a891af764" }, { - "bytes": 139554, + "bytes": 142598, "path": "source/aarch64-apple-ios.json", - "sha256": "31713da92eb726e377614e00befd7e4eb47b30b9ad453c7e21d1c534f94bdabc" + "sha256": "8bddb15af64f3159c966a47e7108a204f5a44346ab86dd7159286b1f5a8fc36c" } ], "language": "swift", @@ -112,7 +112,7 @@ "schema": "radroots.artifact-manifest.v2", "source": { "repository": "https://github.com/radrootslabs/tera", - "tree": "10e9a06967e6aff750a8698abf08b03d7aa35ae2" + "tree": "54d4ba5bdf90a7ec899df79bc1bb31dafe7b2d6d" }, "source_records": { "aarch64-apple-darwin": "source/aarch64-apple-darwin.json", @@ -139,9 +139,9 @@ "sha256": "3ed9b7ece2f86e5b5d1ddc6ecbb97deb49c46ca2ea91a930eaec1b580232345c" }, { - "bytes": 79610880, + "bytes": 79611288, "path": "Tera/Frameworks/TeraFFI.xcframework/ios-arm64-simulator/libtera_ffi.a", - "sha256": "36dc2f439121b07da5bb32e4a15b401686d7e6730393d0f4ba4be8f9a7ec1c84" + "sha256": "ef8b9167db554e775cbff57362441381339018fceae0c35173ffb0485265bf0b" }, { "bytes": 105627, @@ -156,7 +156,7 @@ { "bytes": 79645856, "path": "Tera/Frameworks/TeraFFI.xcframework/ios-arm64/libtera_ffi.a", - "sha256": "4ec9d8ba1b547d1f33fb14ca0c9b0dee290602e226da7e89ae723dd158ee6567" + "sha256": "e1c4926a9eef1db20cf5e0b7c17c6afae45773d88f7743502ccb5dcb4eab26ae" }, { "bytes": 807948, @@ -174,19 +174,19 @@ "sha256": "5d74060f97e52dad69ab7567c16d6b6b34acfab846f468450d89e2394a8a69d5" }, { - "bytes": 139714, + "bytes": 142758, "path": "TeraFFI/source/aarch64-apple-darwin.json", - "sha256": "7e3e583ec0af493c4419927cac65799eff8406dbc8a1523f688f4677fc17804c" + "sha256": "25336b30b0607cf91bd9827e9a4e86bcd4f83d8fa246bd0074013f74cbdb1029" }, { - "bytes": 139558, + "bytes": 142602, "path": "TeraFFI/source/aarch64-apple-ios-sim.json", - "sha256": "316a8064c893d6e7733706f9c1a4e25a89995d243898dd348dbb7513f07b6629" + "sha256": "9f9a53f218825bf16a366940aefb080334ff8fceefd5ea0fb0e79f8a891af764" }, { - "bytes": 139554, + "bytes": 142598, "path": "TeraFFI/source/aarch64-apple-ios.json", - "sha256": "31713da92eb726e377614e00befd7e4eb47b30b9ad453c7e21d1c534f94bdabc" + "sha256": "8bddb15af64f3159c966a47e7108a204f5a44346ab86dd7159286b1f5a8fc36c" } ], "schema": "tera.installed-native-artifacts.v1" diff --git a/TeraFFI/source.lock b/TeraFFI/source.lock @@ -1,7 +1,7 @@ schema = "tera.installed-source.v1" repository = "https://github.com/radrootslabs/tera" -source_tree = "10e9a06967e6aff750a8698abf08b03d7aa35ae2" -manifest_sha256 = "31e4933703c474dc51f78be327bd8541e11b05137e93b10578faedc261d3e295" +source_tree = "54d4ba5bdf90a7ec899df79bc1bb31dafe7b2d6d" +manifest_sha256 = "507994df791418f0164c3b21873c9082e18a1d27cea93f2d8fff9414afad7691" source_date_epoch = 1787871027 [foundation] diff --git a/TeraFFI/source/aarch64-apple-darwin.json b/TeraFFI/source/aarch64-apple-darwin.json @@ -657,6 +657,42 @@ "mode": "100644", "sha256": "aab4ad29944763aca319e26f32868719ad9459a9949c6089fa31b577ee49762e" }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs": { + "bytes": 7589, + "git_blob": "55439bee9ebc8876324c97b6e414299db7eaac63", + "mode": "100644", + "sha256": "2a6fc787e96acdb1496e34d8ac0fba536520b57464c63dd217e3baffeb32cc01" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/mod.rs": { + "bytes": 77, + "git_blob": "b3aab8631f7bd623e419edc4ccbf6a34876dbbff", + "mode": "100644", + "sha256": "2f270474cf6fb8c847641a665c9ae58bdf9f8b899c0f573a115e72d89508bc1a" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore.rs": { + "bytes": 4971, + "git_blob": "702770bbf4aa4954f6370f2ee252b289ab495c0d", + "mode": "100644", + "sha256": "9e565ab59530187ef722b73e728295dfd7b9543785f5509128c9547bdd2a6223" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs": { + "bytes": 4209, + "git_blob": "33ab4f9f4848a5d08585336444c2c2e130bd0221", + "mode": "100644", + "sha256": "739da14d2627b617ebc0564d083d43f8b5a9ac87ac33b5fc769cc8988646e6dd" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs": { + "bytes": 5373, + "git_blob": "2c1cbdd4964e2b360e5fb891290298bee9fa3b62", + "mode": "100644", + "sha256": "34d294db5a5b26ae53a322be27f4a667172ad752910781154d789b0222dcfd39" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/upgrade.rs": { + "bytes": 3953, + "git_blob": "cb40a80e30f1adda42dd8ab1258e312e2750cab8", + "mode": "100644", + "sha256": "8d1b871f37f9cc7725f25915bcadb137f0df7b220abfaeffce69bd48ccced84d" + }, "core/crates/tera_core/src/runtime/lifecycle.rs": { "bytes": 8764, "git_blob": "ddc39b7e6002b3a7a2abe2b560cb2e9919488e4f", @@ -664,10 +700,10 @@ "sha256": "00229721cd2224f4b481c20bfd75144ea7755232eb03f81eb6fc8b556683872a" }, "core/crates/tera_core/src/runtime/mod.rs": { - "bytes": 9963, - "git_blob": "3ddb9dedd7e25de64e4047d44a9f360496b567c6", + "bytes": 10035, + "git_blob": "66bcdd6404ead15ad02459de079369ab50bccf76", "mode": "100644", - "sha256": "234ff71c8c15c9b05c5de32792e0df13f00f93e48813fa1139fba58c2d84b50d" + "sha256": "cb914ed4751ebe78215de64e503f55ae9487257a015b13395ebce1dcc4fd0ec3" }, "core/crates/tera_core/src/runtime/mutation_admission.rs": { "bytes": 2327, @@ -2805,12 +2841,36 @@ "mode": "100644", "sha256": "5a45f7d5a71408feeac1318d7fe1cd30da70836a3d983f903b7bfc18ccc3cb0c" }, + "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift": { + "bytes": 7445, + "git_blob": "8e5082c36460dd5c020ba5b5724ef30aa145a889", + "mode": "100644", + "sha256": "cd4100127b031467beb82c229a95157f12366d80e612a961b916cf2b524117f3" + }, + "scripts/legacy_fixture_writers/historical_writer.rs": { + "bytes": 13832, + "git_blob": "1e69faac2c4420ca03d13749350e4e58348be11f", + "mode": "100644", + "sha256": "adb33c04b6305091ff5bd98d7ac854c318d72c1d9eda5ca85d9bbc6785d397dc" + }, "scripts/legacy_identifiers.py": { "bytes": 9279, "git_blob": "30789f03dd290c3aab72ee266747ce660a466ea8", "mode": "100644", "sha256": "e7ba8cbd3c07bdf5f2ac16afb883af397969b3a668b59b8769b1e64522bb0f28" }, + "scripts/legacy_upgrade_fixture_admission.py": { + "bytes": 9840, + "git_blob": "9ca74ad285a2d37988c5ab181a85c1e5073d9b02", + "mode": "100644", + "sha256": "fc22d9a02286d9989ae881dbacb2a14e400e781f702b44ba0cea88248c9063e3" + }, + "scripts/legacy_upgrade_fixture_producer.py": { + "bytes": 12421, + "git_blob": "2d45141a1e2291267a0b84b85b5eedd37b550eda", + "mode": "100644", + "sha256": "5f20839c4fa395e93fba536ac83f7e8f733bf773167d7babee3385f5f75fbe29" + }, "scripts/linux-shared-rust.sh": { "bytes": 1489, "git_blob": "77a68234b40b69e4db79f4347b1b5b521705f3b8", @@ -2884,10 +2944,10 @@ "sha256": "1803572abdb2e22bedd275724edae5f09c523b132bc59086aacca0f5183905d0" }, "scripts/swift-quality.sh": { - "bytes": 2143, - "git_blob": "0dea0e430dcc4e246bc951938faaa25db2596074", + "bytes": 2308, + "git_blob": "f07b465c125de12548d523a293a96a3837c1193d", "mode": "100755", - "sha256": "9bb734eafe3c375ef30732e59a837ec345da438d96dc7882ec7f6ee1de43c13a" + "sha256": "07cd900d465744eab373c07d90b954758732a0564cab42f7bd4df88dd42bdeee" }, "scripts/test_app_dependency_graph.py": { "bytes": 4007, @@ -2925,6 +2985,12 @@ "mode": "100644", "sha256": "256f4358edcb861f3819b1b2159b7278bb88fff6b9b9f460871f4c8ecb6f76ea" }, + "scripts/test_legacy_upgrade_fixture.py": { + "bytes": 13543, + "git_blob": "a29c87aa80c13787c416a0169f51eca7e749cc11", + "mode": "100644", + "sha256": "00a1b2412a5054bb5c527fc4a7261d6c4a8de946a10d1821616c79ae054d4d1a" + }, "scripts/test_local_social_fixture.py": { "bytes": 50502, "git_blob": "8164e4c983bfef50bedcdb32599492158e179881", @@ -2956,10 +3022,10 @@ "sha256": "a917dfbc1d8ecac7d1539670651e4b468059bc77dfe31aeefbc6c6eb21bebbfb" }, "scripts/verify-package-contract.sh": { - "bytes": 1532, - "git_blob": "88f15a643269a8851d7fef68fe14208e71e2d843", + "bytes": 1575, + "git_blob": "7dd58131736db25391e8731d21d0137d00c16a2a", "mode": "100755", - "sha256": "028a8310c4a61a4cc04f1d0f86b8b953413b8efef5cb2059fbb0c84338483428" + "sha256": "682ca03f4cb6aec0ea5d2e5c4205d36cfb3c41b6207e8bff3fa0329be29d6a92" }, "scripts/xcode.sh": { "bytes": 22437, @@ -2968,13 +3034,13 @@ "sha256": "4e174e14512c1b12994dea63f58bf39d234d96c3bf245eb5d7eaa0fcf2b4fd24" }, "test-fixtures/legacy-identifiers.v1.json": { - "bytes": 187553, - "git_blob": "c0ce4d1c11ad8683bf9c45029db89c77dc8fc4f7", + "bytes": 196305, + "git_blob": "aa7969f2917ba4e752b16930b7b31e3ac29521a5", "mode": "100644", - "sha256": "e62d91d5b47a9565ca7cc46008be68cc780236cda46b7acb83234e59f538bcc7" + "sha256": "1d38428ad8618e117c538eb3f02ac7974d10ecb086c5eee4bccafa337b7281da" } }, "policy": "staged_inputs", - "tree": "10e9a06967e6aff750a8698abf08b03d7aa35ae2" + "tree": "54d4ba5bdf90a7ec899df79bc1bb31dafe7b2d6d" } } diff --git a/TeraFFI/source/aarch64-apple-ios-sim.json b/TeraFFI/source/aarch64-apple-ios-sim.json @@ -653,6 +653,42 @@ "mode": "100644", "sha256": "aab4ad29944763aca319e26f32868719ad9459a9949c6089fa31b577ee49762e" }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs": { + "bytes": 7589, + "git_blob": "55439bee9ebc8876324c97b6e414299db7eaac63", + "mode": "100644", + "sha256": "2a6fc787e96acdb1496e34d8ac0fba536520b57464c63dd217e3baffeb32cc01" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/mod.rs": { + "bytes": 77, + "git_blob": "b3aab8631f7bd623e419edc4ccbf6a34876dbbff", + "mode": "100644", + "sha256": "2f270474cf6fb8c847641a665c9ae58bdf9f8b899c0f573a115e72d89508bc1a" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore.rs": { + "bytes": 4971, + "git_blob": "702770bbf4aa4954f6370f2ee252b289ab495c0d", + "mode": "100644", + "sha256": "9e565ab59530187ef722b73e728295dfd7b9543785f5509128c9547bdd2a6223" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs": { + "bytes": 4209, + "git_blob": "33ab4f9f4848a5d08585336444c2c2e130bd0221", + "mode": "100644", + "sha256": "739da14d2627b617ebc0564d083d43f8b5a9ac87ac33b5fc769cc8988646e6dd" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs": { + "bytes": 5373, + "git_blob": "2c1cbdd4964e2b360e5fb891290298bee9fa3b62", + "mode": "100644", + "sha256": "34d294db5a5b26ae53a322be27f4a667172ad752910781154d789b0222dcfd39" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/upgrade.rs": { + "bytes": 3953, + "git_blob": "cb40a80e30f1adda42dd8ab1258e312e2750cab8", + "mode": "100644", + "sha256": "8d1b871f37f9cc7725f25915bcadb137f0df7b220abfaeffce69bd48ccced84d" + }, "core/crates/tera_core/src/runtime/lifecycle.rs": { "bytes": 8764, "git_blob": "ddc39b7e6002b3a7a2abe2b560cb2e9919488e4f", @@ -660,10 +696,10 @@ "sha256": "00229721cd2224f4b481c20bfd75144ea7755232eb03f81eb6fc8b556683872a" }, "core/crates/tera_core/src/runtime/mod.rs": { - "bytes": 9963, - "git_blob": "3ddb9dedd7e25de64e4047d44a9f360496b567c6", + "bytes": 10035, + "git_blob": "66bcdd6404ead15ad02459de079369ab50bccf76", "mode": "100644", - "sha256": "234ff71c8c15c9b05c5de32792e0df13f00f93e48813fa1139fba58c2d84b50d" + "sha256": "cb914ed4751ebe78215de64e503f55ae9487257a015b13395ebce1dcc4fd0ec3" }, "core/crates/tera_core/src/runtime/mutation_admission.rs": { "bytes": 2327, @@ -2801,12 +2837,36 @@ "mode": "100644", "sha256": "5a45f7d5a71408feeac1318d7fe1cd30da70836a3d983f903b7bfc18ccc3cb0c" }, + "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift": { + "bytes": 7445, + "git_blob": "8e5082c36460dd5c020ba5b5724ef30aa145a889", + "mode": "100644", + "sha256": "cd4100127b031467beb82c229a95157f12366d80e612a961b916cf2b524117f3" + }, + "scripts/legacy_fixture_writers/historical_writer.rs": { + "bytes": 13832, + "git_blob": "1e69faac2c4420ca03d13749350e4e58348be11f", + "mode": "100644", + "sha256": "adb33c04b6305091ff5bd98d7ac854c318d72c1d9eda5ca85d9bbc6785d397dc" + }, "scripts/legacy_identifiers.py": { "bytes": 9279, "git_blob": "30789f03dd290c3aab72ee266747ce660a466ea8", "mode": "100644", "sha256": "e7ba8cbd3c07bdf5f2ac16afb883af397969b3a668b59b8769b1e64522bb0f28" }, + "scripts/legacy_upgrade_fixture_admission.py": { + "bytes": 9840, + "git_blob": "9ca74ad285a2d37988c5ab181a85c1e5073d9b02", + "mode": "100644", + "sha256": "fc22d9a02286d9989ae881dbacb2a14e400e781f702b44ba0cea88248c9063e3" + }, + "scripts/legacy_upgrade_fixture_producer.py": { + "bytes": 12421, + "git_blob": "2d45141a1e2291267a0b84b85b5eedd37b550eda", + "mode": "100644", + "sha256": "5f20839c4fa395e93fba536ac83f7e8f733bf773167d7babee3385f5f75fbe29" + }, "scripts/linux-shared-rust.sh": { "bytes": 1489, "git_blob": "77a68234b40b69e4db79f4347b1b5b521705f3b8", @@ -2880,10 +2940,10 @@ "sha256": "1803572abdb2e22bedd275724edae5f09c523b132bc59086aacca0f5183905d0" }, "scripts/swift-quality.sh": { - "bytes": 2143, - "git_blob": "0dea0e430dcc4e246bc951938faaa25db2596074", + "bytes": 2308, + "git_blob": "f07b465c125de12548d523a293a96a3837c1193d", "mode": "100755", - "sha256": "9bb734eafe3c375ef30732e59a837ec345da438d96dc7882ec7f6ee1de43c13a" + "sha256": "07cd900d465744eab373c07d90b954758732a0564cab42f7bd4df88dd42bdeee" }, "scripts/test_app_dependency_graph.py": { "bytes": 4007, @@ -2921,6 +2981,12 @@ "mode": "100644", "sha256": "256f4358edcb861f3819b1b2159b7278bb88fff6b9b9f460871f4c8ecb6f76ea" }, + "scripts/test_legacy_upgrade_fixture.py": { + "bytes": 13543, + "git_blob": "a29c87aa80c13787c416a0169f51eca7e749cc11", + "mode": "100644", + "sha256": "00a1b2412a5054bb5c527fc4a7261d6c4a8de946a10d1821616c79ae054d4d1a" + }, "scripts/test_local_social_fixture.py": { "bytes": 50502, "git_blob": "8164e4c983bfef50bedcdb32599492158e179881", @@ -2952,10 +3018,10 @@ "sha256": "a917dfbc1d8ecac7d1539670651e4b468059bc77dfe31aeefbc6c6eb21bebbfb" }, "scripts/verify-package-contract.sh": { - "bytes": 1532, - "git_blob": "88f15a643269a8851d7fef68fe14208e71e2d843", + "bytes": 1575, + "git_blob": "7dd58131736db25391e8731d21d0137d00c16a2a", "mode": "100755", - "sha256": "028a8310c4a61a4cc04f1d0f86b8b953413b8efef5cb2059fbb0c84338483428" + "sha256": "682ca03f4cb6aec0ea5d2e5c4205d36cfb3c41b6207e8bff3fa0329be29d6a92" }, "scripts/xcode.sh": { "bytes": 22437, @@ -2964,13 +3030,13 @@ "sha256": "4e174e14512c1b12994dea63f58bf39d234d96c3bf245eb5d7eaa0fcf2b4fd24" }, "test-fixtures/legacy-identifiers.v1.json": { - "bytes": 187553, - "git_blob": "c0ce4d1c11ad8683bf9c45029db89c77dc8fc4f7", + "bytes": 196305, + "git_blob": "aa7969f2917ba4e752b16930b7b31e3ac29521a5", "mode": "100644", - "sha256": "e62d91d5b47a9565ca7cc46008be68cc780236cda46b7acb83234e59f538bcc7" + "sha256": "1d38428ad8618e117c538eb3f02ac7974d10ecb086c5eee4bccafa337b7281da" } }, "policy": "staged_inputs", - "tree": "10e9a06967e6aff750a8698abf08b03d7aa35ae2" + "tree": "54d4ba5bdf90a7ec899df79bc1bb31dafe7b2d6d" } } diff --git a/TeraFFI/source/aarch64-apple-ios.json b/TeraFFI/source/aarch64-apple-ios.json @@ -653,6 +653,42 @@ "mode": "100644", "sha256": "aab4ad29944763aca319e26f32868719ad9459a9949c6089fa31b577ee49762e" }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs": { + "bytes": 7589, + "git_blob": "55439bee9ebc8876324c97b6e414299db7eaac63", + "mode": "100644", + "sha256": "2a6fc787e96acdb1496e34d8ac0fba536520b57464c63dd217e3baffeb32cc01" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/mod.rs": { + "bytes": 77, + "git_blob": "b3aab8631f7bd623e419edc4ccbf6a34876dbbff", + "mode": "100644", + "sha256": "2f270474cf6fb8c847641a665c9ae58bdf9f8b899c0f573a115e72d89508bc1a" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore.rs": { + "bytes": 4971, + "git_blob": "702770bbf4aa4954f6370f2ee252b289ab495c0d", + "mode": "100644", + "sha256": "9e565ab59530187ef722b73e728295dfd7b9543785f5509128c9547bdd2a6223" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs": { + "bytes": 4209, + "git_blob": "33ab4f9f4848a5d08585336444c2c2e130bd0221", + "mode": "100644", + "sha256": "739da14d2627b617ebc0564d083d43f8b5a9ac87ac33b5fc769cc8988646e6dd" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs": { + "bytes": 5373, + "git_blob": "2c1cbdd4964e2b360e5fb891290298bee9fa3b62", + "mode": "100644", + "sha256": "34d294db5a5b26ae53a322be27f4a667172ad752910781154d789b0222dcfd39" + }, + "core/crates/tera_core/src/runtime/legacy_upgrade_tests/upgrade.rs": { + "bytes": 3953, + "git_blob": "cb40a80e30f1adda42dd8ab1258e312e2750cab8", + "mode": "100644", + "sha256": "8d1b871f37f9cc7725f25915bcadb137f0df7b220abfaeffce69bd48ccced84d" + }, "core/crates/tera_core/src/runtime/lifecycle.rs": { "bytes": 8764, "git_blob": "ddc39b7e6002b3a7a2abe2b560cb2e9919488e4f", @@ -660,10 +696,10 @@ "sha256": "00229721cd2224f4b481c20bfd75144ea7755232eb03f81eb6fc8b556683872a" }, "core/crates/tera_core/src/runtime/mod.rs": { - "bytes": 9963, - "git_blob": "3ddb9dedd7e25de64e4047d44a9f360496b567c6", + "bytes": 10035, + "git_blob": "66bcdd6404ead15ad02459de079369ab50bccf76", "mode": "100644", - "sha256": "234ff71c8c15c9b05c5de32792e0df13f00f93e48813fa1139fba58c2d84b50d" + "sha256": "cb914ed4751ebe78215de64e503f55ae9487257a015b13395ebce1dcc4fd0ec3" }, "core/crates/tera_core/src/runtime/mutation_admission.rs": { "bytes": 2327, @@ -2801,12 +2837,36 @@ "mode": "100644", "sha256": "5a45f7d5a71408feeac1318d7fe1cd30da70836a3d983f903b7bfc18ccc3cb0c" }, + "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift": { + "bytes": 7445, + "git_blob": "8e5082c36460dd5c020ba5b5724ef30aa145a889", + "mode": "100644", + "sha256": "cd4100127b031467beb82c229a95157f12366d80e612a961b916cf2b524117f3" + }, + "scripts/legacy_fixture_writers/historical_writer.rs": { + "bytes": 13832, + "git_blob": "1e69faac2c4420ca03d13749350e4e58348be11f", + "mode": "100644", + "sha256": "adb33c04b6305091ff5bd98d7ac854c318d72c1d9eda5ca85d9bbc6785d397dc" + }, "scripts/legacy_identifiers.py": { "bytes": 9279, "git_blob": "30789f03dd290c3aab72ee266747ce660a466ea8", "mode": "100644", "sha256": "e7ba8cbd3c07bdf5f2ac16afb883af397969b3a668b59b8769b1e64522bb0f28" }, + "scripts/legacy_upgrade_fixture_admission.py": { + "bytes": 9840, + "git_blob": "9ca74ad285a2d37988c5ab181a85c1e5073d9b02", + "mode": "100644", + "sha256": "fc22d9a02286d9989ae881dbacb2a14e400e781f702b44ba0cea88248c9063e3" + }, + "scripts/legacy_upgrade_fixture_producer.py": { + "bytes": 12421, + "git_blob": "2d45141a1e2291267a0b84b85b5eedd37b550eda", + "mode": "100644", + "sha256": "5f20839c4fa395e93fba536ac83f7e8f733bf773167d7babee3385f5f75fbe29" + }, "scripts/linux-shared-rust.sh": { "bytes": 1489, "git_blob": "77a68234b40b69e4db79f4347b1b5b521705f3b8", @@ -2880,10 +2940,10 @@ "sha256": "1803572abdb2e22bedd275724edae5f09c523b132bc59086aacca0f5183905d0" }, "scripts/swift-quality.sh": { - "bytes": 2143, - "git_blob": "0dea0e430dcc4e246bc951938faaa25db2596074", + "bytes": 2308, + "git_blob": "f07b465c125de12548d523a293a96a3837c1193d", "mode": "100755", - "sha256": "9bb734eafe3c375ef30732e59a837ec345da438d96dc7882ec7f6ee1de43c13a" + "sha256": "07cd900d465744eab373c07d90b954758732a0564cab42f7bd4df88dd42bdeee" }, "scripts/test_app_dependency_graph.py": { "bytes": 4007, @@ -2921,6 +2981,12 @@ "mode": "100644", "sha256": "256f4358edcb861f3819b1b2159b7278bb88fff6b9b9f460871f4c8ecb6f76ea" }, + "scripts/test_legacy_upgrade_fixture.py": { + "bytes": 13543, + "git_blob": "a29c87aa80c13787c416a0169f51eca7e749cc11", + "mode": "100644", + "sha256": "00a1b2412a5054bb5c527fc4a7261d6c4a8de946a10d1821616c79ae054d4d1a" + }, "scripts/test_local_social_fixture.py": { "bytes": 50502, "git_blob": "8164e4c983bfef50bedcdb32599492158e179881", @@ -2952,10 +3018,10 @@ "sha256": "a917dfbc1d8ecac7d1539670651e4b468059bc77dfe31aeefbc6c6eb21bebbfb" }, "scripts/verify-package-contract.sh": { - "bytes": 1532, - "git_blob": "88f15a643269a8851d7fef68fe14208e71e2d843", + "bytes": 1575, + "git_blob": "7dd58131736db25391e8731d21d0137d00c16a2a", "mode": "100755", - "sha256": "028a8310c4a61a4cc04f1d0f86b8b953413b8efef5cb2059fbb0c84338483428" + "sha256": "682ca03f4cb6aec0ea5d2e5c4205d36cfb3c41b6207e8bff3fa0329be29d6a92" }, "scripts/xcode.sh": { "bytes": 22437, @@ -2964,13 +3030,13 @@ "sha256": "4e174e14512c1b12994dea63f58bf39d234d96c3bf245eb5d7eaa0fcf2b4fd24" }, "test-fixtures/legacy-identifiers.v1.json": { - "bytes": 187553, - "git_blob": "c0ce4d1c11ad8683bf9c45029db89c77dc8fc4f7", + "bytes": 196305, + "git_blob": "aa7969f2917ba4e752b16930b7b31e3ac29521a5", "mode": "100644", - "sha256": "e62d91d5b47a9565ca7cc46008be68cc780236cda46b7acb83234e59f538bcc7" + "sha256": "1d38428ad8618e117c538eb3f02ac7974d10ecb086c5eee4bccafa337b7281da" } }, "policy": "staged_inputs", - "tree": "10e9a06967e6aff750a8698abf08b03d7aa35ae2" + "tree": "54d4ba5bdf90a7ec899df79bc1bb31dafe7b2d6d" } } diff --git a/TeraTests/TeraHistoricalOwnerFixture.swift b/TeraTests/TeraHistoricalOwnerFixture.swift @@ -0,0 +1,133 @@ +import CryptoKit +import Foundation +import RadrootsKit +@testable import TeraApp +import TeraKitBindings +import XCTest + +@MainActor +struct TeraHistoricalOwnerFixture { + let root: URL + let host: [String: Any] + let rust: [String: Any] + let native: [String: Any] + + init() throws { + let source = try XCTUnwrap(Bundle(for: TeraHistoricalOwnerTests.self).url(forResource: "legacy_upgrade_v1", withExtension: nil)) + let manifest = try Self.object(source.appendingPathComponent("manifest.json")) + XCTAssertEqual(manifest["state"] as? String, "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING") + root = FileManager.default.temporaryDirectory.appendingPathComponent(UUID().uuidString, isDirectory: true) + try FileManager.default.createDirectory(at: root, withIntermediateDirectories: false) + for (relative, hash) in try XCTUnwrap(manifest["files"] as? [String: String]) { + let components = relative.split(separator: "/", omittingEmptySubsequences: false) + guard !relative.hasPrefix("/"), !components.isEmpty, + components.allSatisfy({ !$0.isEmpty && $0 != "." && $0 != ".." }) + else { + throw CocoaError(.fileReadInvalidFileName) + } + var input = source + for component in components { + input.appendPathComponent(String(component)) + guard try input.resourceValues(forKeys: [.isSymbolicLinkKey]).isSymbolicLink == false else { + throw CocoaError(.fileReadInvalidFileName) + } + } + let output = root.appendingPathComponent(relative) + let bytes = try Data(contentsOf: input) + XCTAssertEqual(Self.hash(bytes), hash) + try FileManager.default.createDirectory(at: output.deletingLastPathComponent(), withIntermediateDirectories: true) + try bytes.write(to: output, options: [.atomic]) + } + for name in ["data", "cache", "tmp", "logs"] { + try FileManager.default.createDirectory(at: root.appendingPathComponent(name), withIntermediateDirectories: true) + } + host = try Self.object(root.appendingPathComponent("host-metadata.json")) + rust = try Self.object(root.appendingPathComponent("rust-metadata.json")) + native = try Self.object(root.appendingPathComponent("native-metadata.json")) + } + + func text(_ object: [String: Any], _ key: String) throws -> String { + try XCTUnwrap(object[key] as? String) + } + + func number(_ object: [String: Any], _ key: String) throws -> UInt64 { + try XCTUnwrap(object[key] as? NSNumber).uint64Value + } + + var publicKey: String { + get throws { try text(rust, "public_key") } + } + + var generation: String { + get throws { try text(host, "source_generation") } + } + + func roots() throws -> RadrootsAppleFileRoots { + let base = try RadrootsAppleFileRoots(appIdentifier: "dev.local.radroots", + dataRoot: root.appendingPathComponent("data"), cacheRoot: root.appendingPathComponent("cache"), + temporaryRoot: root.appendingPathComponent("tmp"), logsRoot: root.appendingPathComponent("logs")) + return try TeraDurableMediaRoots.selectingStaging(in: base) + } + + func blob() throws -> RadrootsStagedBlobReference { + let hash = try text(host, "media_sha256") + let count = try XCTUnwrap(Int(exactly: number(host, "media_bytes"))) + return try RadrootsStagedBlobReference(blobID: hash, sizeBytes: count, mediaType: "image/png", filenameHint: hash + ".png") + } + + func bootstrap() throws -> TeraConfigurationBootstrap { + try TeraConfigurationBootstrap(runtimeMode: "production", relayURLs: ["wss://relay-one.example", "wss://relay-two.example"], + blossomOrigins: ["https://blossom.example"], keychainServicePrefix: text(host, "keychain_service_prefix"), + bundleIdentifier: text(host, "bundle_identifier"), + appMetadata: TeraRuntimeAppMetadata(bundleIdentifier: text(host, "bundle_identifier"), version: "1.0.0-alpha", buildNumber: "1", buildSHA: nil)) + } + + func runtime() async throws -> TeraRuntime { + try await TeraRuntime(applicationSupportDirectory: roots().dataRoot.path, publicKeyHex: publicKey, + sourceGenerationHex: generation, sourceGenerationCreatedAtUnixMs: number(host, "generation_created_at_unix_ms"), protectedData: .available) + } + + func assertStatuses(_ runtime: TeraRuntime) async throws { + let statuses = try XCTUnwrap(rust["drafts"] as? [[String: Any]]) + XCTAssertEqual(statuses.count, 106) + for expected in statuses { + let actual = try await runtime.phase1DraftStatus(draftId: text(expected, "draft_id")) + XCTAssertEqual(actual.authorPublicKey, try publicKey) + XCTAssertEqual(actual.revision, try number(expected, "revision")) + XCTAssertEqual(actual.cardId, try text(expected, "card_id")) + XCTAssertEqual(actual.operationId, expected["operation_id"] as? String) + XCTAssertEqual(actual.createdAtUnixMs, try number(expected, "created_at_unix_ms")) + XCTAssertEqual(actual.updatedAtUnixMs, try number(expected, "updated_at_unix_ms")) + XCTAssertEqual(actual.state, try XCTUnwrap(Self.states[text(expected, "state")])) + if let settled = expected["settlement"] as? [String: Any] { + let actual = try XCTUnwrap(actual.settlement) + XCTAssertEqual(UInt64(actual.signed), try number(settled, "signed")) + XCTAssertEqual(UInt64(actual.admitted), try number(settled, "admitted")) + XCTAssertEqual(UInt64(actual.pending), try number(settled, "pending")) + XCTAssertEqual(UInt64(actual.deliveryPlans), try number(settled, "delivery_plans")) + XCTAssertEqual(UInt64(actual.deliverySatisfied), try number(settled, "delivery_satisfied")) + } else { + XCTAssertNil(actual.settlement) + } + } + } + + private static let states: [String: FfiOutboxState] = [ + "Draft": .draft, "MediaPreparing": .mediaPreparing, "MediaUploading": .mediaUploading, + "ReadyToSign": .readyToSign, "Signing": .signing, "Signed": .signed, "Queued": .queued, + "Delivering": .delivering, "PartiallyDelivered": .partiallyDelivered, "Retryable": .retryable, + "Terminal": .terminal, "Cancelled": .cancelled, "Complete": .complete, + ] + + static func object(_ path: URL) throws -> [String: Any] { + try XCTUnwrap(JSONSerialization.jsonObject(with: Data(contentsOf: path)) as? [String: Any]) + } + + static func hash(_ bytes: Data) -> String { + SHA256.hash(data: bytes).map { String(format: "%02x", $0) }.joined() + } + + func remove() { + try? FileManager.default.removeItem(at: root) + } +} diff --git a/TeraTests/TeraHistoricalOwnerTests.swift b/TeraTests/TeraHistoricalOwnerTests.swift @@ -0,0 +1,120 @@ +import Darwin +import Foundation +import RadrootsKit +@testable import TeraApp +import TeraKitBindings +import XCTest + +@MainActor +final class TeraHistoricalOwnerTests: XCTestCase { + func testHistoricalConfigurationMediaAndNativeReceiptKeepTheirOriginalIdentities() async throws { + let fixture = try TeraHistoricalOwnerFixture() + defer { fixture.remove() } + let roots = try fixture.roots() + let configuration = try TeraConfigurationStore(bootstrap: fixture.bootstrap(), roots: roots, clock: .fixed(unixSeconds: 1_700_000_000)) + let selected = try await configuration.load() + XCTAssertEqual(selected.bundleIdentifier, try fixture.text(fixture.host, "bundle_identifier")) + XCTAssertEqual(selected.keychainServicePrefix, try fixture.text(fixture.host, "keychain_service_prefix")) + XCTAssertEqual(selected.generation, 1) + let generation = try await configuration.sourceGeneration() + XCTAssertEqual(generation.generationHex, try fixture.generation) + XCTAssertEqual(generation.createdAtUnixMilliseconds, try fixture.number(fixture.host, "generation_created_at_unix_ms")) + let blob = try fixture.blob() + let legacy = try fixture.root.appendingPathComponent(fixture.text(fixture.host, "staged_relative_path")) + let original = try Data(contentsOf: legacy) + try TeraDurableMediaRoots.restoreLegacyBlob(blob, roots: roots) + XCTAssertEqual(try RadrootsAppleFileAccess(roots: roots).readStagedBlob(blob), original) + XCTAssertEqual(try Data(contentsOf: legacy), original) + let store = RadrootsAppleBackgroundTransferStore(roots: roots) + let snapshots = try await store.loadSnapshots() + XCTAssertEqual(snapshots.count, 1) + let snapshot = try XCTUnwrap(snapshots.first) + XCTAssertEqual(snapshot.identifier.rawValue, try fixture.text(fixture.native, "native_identifier")) + XCTAssertEqual(snapshot.state, .awaitingVerification) + XCTAssertEqual(snapshot.request.headers, [:]) + XCTAssertEqual(snapshot.request.expectedSourceSHA256, blob.blobID) + try FileManager.default.removeItem(at: roots.temporaryRoot) + try FileManager.default.removeItem(at: roots.cacheRoot) + try TeraDurableMediaRoots.restoreLegacyBlob(blob, roots: roots) + XCTAssertEqual(try RadrootsAppleFileAccess(roots: roots).readStagedBlob(blob), original) + let reopened = try await RadrootsAppleBackgroundTransferStore(roots: roots).loadSnapshots() + XCTAssertEqual(reopened, snapshots) + // Typed historical persistence is read without instantiating an OS driver. + } + + func testInstalledCurrentBinaryReadsAndReopensAllHistoricalAcknowledgedDraftsWithoutSigner() async throws { + let fixture = try TeraHistoricalOwnerFixture() + defer { fixture.remove() } + for _ in 0 ..< 2 { + let runtime = try await fixture.runtime() + try await fixture.assertStatuses(runtime) + let signed = try await runtime.phase1DraftStatus(draftId: String(repeating: "0", count: 31) + "3") + XCTAssertEqual(signed.settlement?.signed, 1) + // The historical owner signed this work and retained pending delivery; + // migration must preserve its original zero local-admission count. + XCTAssertEqual(signed.settlement?.admitted, 0) + XCTAssertEqual(signed.settlement?.pending, 1) + XCTAssertEqual(signed.settlement?.deliveryPlans, 1) + _ = try await runtime.shutdown() + } + } + + func testNativeColdRestoreOfHistoricalOutboxRetainsMediaAndCannotGrantResumeWithoutReview() async throws { + let fixture = try TeraHistoricalOwnerFixture() + defer { fixture.remove() } + let roots = try fixture.roots() + let blob = try fixture.blob() + try TeraDurableMediaRoots.restoreLegacyBlob(blob, roots: roots) + let signer = ComposerForbiddenSigner() + let backup = try await captureHistoricalBackup(fixture, roots: roots, blob: blob, signer: signer) + // This isolated fixture now simulates a fresh process after actual close. + // Production never removes its live PID marker to grant cold admission. + let access = RadrootsAppleFileAccess(roots: roots) + try access.delete(RadrootsFileReference(scope: .data, relativePath: "\(TeraMediaProcessUse.directory)/\(getpid())")) + try FileManager.default.removeItem(at: roots.stagedBlobURL(for: blob)) + let store = try FfiRestoreStore(applicationSupportDirectory: roots.dataRoot.path, publicKey: backup.publicKey, + sourceGeneration: backup.sourceGeneration, sourceGenerationCreatedAtMs: fixture.number(fixture.host, "generation_created_at_unix_ms"), protectedData: .available) + let request = try FfiRestoreRequest(attemptId: String(repeating: "18", count: 16), backup: backup, + requestedAtMs: TeraClock.system.unixMilliseconds(requirePositive: true)) + let restorer = try TeraLocalRestoreHost(roots: roots, activeTransfers: { [] }, protectedData: { true }) + let guardRecord = try await restorer.restore(store: store, request: request) + XCTAssertEqual(try TeraHistoricalOwnerFixture.hash(access.readStagedBlob(blob)), blob.blobID) + do { _ = try await fixture.runtime(); XCTFail("Ordinary startup must refuse a retained restore guard") } catch {} + let restored = try await TeraRuntime.withHostSignerAndRestoreGuard(store: store, + hostSigner: TeraGeneratedHostSigner(signer: signer), guard: guardRecord.bytes, localBackups: true) + try await fixture.assertStatuses(restored) + let status = try await restored.applicationRestoreStatus() + XCTAssertEqual(status?.phase, .held) + XCTAssertEqual(status?.targets.count, 4) + do { + _ = try await restored.reviewRestoredWork() + XCTFail("Historical local provenance cannot grant a fresh target review") + } catch { + XCTAssertEqual(TeraGeneratedRuntimeFailure.from(error).code, "restore_reconciliation_required") + } + try await fixture.assertStatuses(restored) + _ = try await restored.shutdown() + let requests = await signer.requests + XCTAssertEqual(requests, 0) + } + + private func captureHistoricalBackup(_ fixture: TeraHistoricalOwnerFixture, roots: RadrootsAppleFileRoots, + blob: RadrootsStagedBlobReference, signer: ComposerForbiddenSigner) async throws -> FfiBackupRequest + { + let now = try TeraClock.system.unixMilliseconds(requirePositive: true) + let backup = try FfiBackupRequest(schemaVersion: 1, backupId: String(repeating: "17", count: 16), publicKey: fixture.publicKey, + sourceGeneration: fixture.generation, requestedAtUnixMs: now, maximumBytes: 128 * 1024 * 1024) + let host = try TeraLocalBackupHost(roots: roots, publicKey: backup.publicKey, generation: backup.sourceGeneration, protectedData: { true }) + try await host.prepare(request: backup) + let runtime = try await TeraRuntime.withHostSignerAndLocalBackups(applicationSupportDirectory: roots.dataRoot.path, + publicKeyHex: backup.publicKey, sourceGenerationHex: backup.sourceGeneration, + sourceGenerationCreatedAtUnixMs: fixture.number(fixture.host, "generation_created_at_unix_ms"), + protectedData: .available, hostSigner: TeraGeneratedHostSigner(signer: signer)) + try await fixture.assertStatuses(runtime) + let captured = try await host.capture(runtime: runtime, request: backup) + XCTAssertEqual(captured.media.count, 1) + XCTAssertEqual(captured.media.first?.sha256, blob.blobID) + _ = try await runtime.shutdown() + return backup + } +} diff --git a/core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs b/core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs @@ -0,0 +1,201 @@ +//! Current readers consume frozen bytes written by exact historical owners. +use crate::TeraRuntime; +use crate::runtime::{builder::RuntimeBuilder, store::*}; +use radroots_storage::authored_draft::{AuthoredDraftId, AuthoredDraftRevision}; +use serde_json::Value; +use sha2::{Digest, Sha256}; +use std::path::{Component, Path, PathBuf}; + +pub(super) struct Fixture { + pub root: tempfile::TempDir, + pub host: Value, + pub rust: Value, + pub expected: Value, +} + +pub(super) fn hash(bytes: &[u8]) -> String { + hex::encode(Sha256::digest(bytes)) +} +pub(super) fn bytes<const N: usize>(value: &str) -> [u8; N] { + hex::decode(value).unwrap().try_into().unwrap() +} +pub(super) fn field<'a>(object: &'a Value, key: &str) -> &'a str { + object[key].as_str().unwrap() +} + +impl Fixture { + pub fn copy() -> Self { + let source = + Path::new(env!("CARGO_MANIFEST_DIR")).join("../../../test-fixtures/legacy_upgrade_v1"); + let manifest: Value = + serde_json::from_slice(&std::fs::read(source.join("manifest.json")).unwrap()).unwrap(); + assert_eq!( + manifest["state"], + "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING" + ); + let root = tempfile::tempdir().unwrap(); + for (relative, expected) in manifest["files"].as_object().unwrap() { + let path = Path::new(relative); + assert!( + !path.is_absolute() && path.components().all(|c| matches!(c, Component::Normal(_))) + ); + let mut input = source.clone(); + for component in path.components() { + input.push(component.as_os_str()); + assert!(!input.symlink_metadata().unwrap().file_type().is_symlink()); + } + let content = std::fs::read(input).unwrap(); + assert_eq!(hash(&content), expected.as_str().unwrap()); + let output = root.path().join(path); + std::fs::create_dir_all(output.parent().unwrap()).unwrap(); + std::fs::write(output, content).unwrap(); + } + let object = |name: &str| { + serde_json::from_slice(&std::fs::read(root.path().join(name)).unwrap()).unwrap() + }; + let host = object("host-metadata.json"); + let rust = object("rust-metadata.json"); + let expected = object("owner-expectations.json"); + assert_eq!( + manifest["sources"][0]["commit"], + "e25819267b51f659e5dfdf7b318239a8969bf45c" + ); + Self { + root, + host, + rust, + expected, + } + } + + pub fn config(&self, backups: bool) -> MobileUserStoreConfig { + let config = MobileUserStoreConfig::from_encoded( + self.root.path().join("data"), + field(&self.rust, "public_key"), + field(&self.host, "source_generation"), + self.host["generation_created_at_unix_ms"].as_u64().unwrap(), + ProtectedDataAvailability::Available, + ) + .unwrap(); + if backups { + std::fs::create_dir_all(config.backup_directory()).unwrap(); + config.with_local_backups() + } else { + config + } + } + + pub fn copy_for_old_reader_probe(&self) { + let Some(destination) = std::env::var_os("TERA_UPGRADE_PROBE_OUTPUT") else { + return; + }; + let destination = PathBuf::from(destination); + let managed = PathBuf::from(std::env::var_os("CARGO_TARGET_DIR").unwrap()) + .canonicalize() + .unwrap(); + assert!(destination.is_absolute() && destination.starts_with(&managed)); + assert!( + destination + .components() + .all(|part| !matches!(part, Component::ParentDir)) + ); + assert!(!destination.exists()); + std::fs::create_dir_all(&destination).unwrap(); + let metadata = |name: &str| { + std::fs::copy(self.root.path().join(name), destination.join(name)).unwrap() + }; + metadata("host-metadata.json"); + metadata("rust-metadata.json"); + let owner = self.config(false).owner_directory().to_path_buf(); + let output = destination + .join("data/radroots/users") + .join(field(&self.rust, "public_key")); + std::fs::create_dir_all(&output).unwrap(); + for name in ["runtime.sqlite", "private.sqlite"] { + std::fs::copy(owner.join(name), output.join(name)).unwrap(); + } + } + + pub fn blob(&self) -> PathBuf { + self.root + .path() + .join(field(&self.host, "staged_relative_path")) + } + + pub async fn open(&self, backups: bool) -> TeraRuntime { + RuntimeBuilder::new(self.config(backups)) + .build() + .await + .unwrap() + } + + pub async fn assert_revisions(&self, runtime: &TeraRuntime) { + let storage = runtime.client.storage().unwrap(); + for expected in self.expected["revisions"].as_array().unwrap() { + let actual = storage + .authored_draft_revision( + AuthoredDraftId::new(bytes(field(expected, "draft_id"))).unwrap(), + AuthoredDraftRevision::new(expected["revision"].as_u64().unwrap()).unwrap(), + ) + .await + .unwrap() + .unwrap(); + assert_eq!( + actual.author(), + &bytes::<32>(field(expected, "author_public_key")) + ); + assert_eq!( + actual.operation_id().map(|id| hex::encode(id.as_bytes())), + expected["operation_id"].as_str().map(str::to_owned) + ); + assert_eq!(actual.payload_schema(), field(expected, "payload_schema")); + assert_eq!( + hex::encode(actual.payload_sha256()), + field(expected, "payload_sha256") + ); + assert_eq!( + hash(&serde_json::to_vec(&actual).unwrap()), + field(expected, "snapshot_sha256") + ); + } + } + + pub async fn assert_statuses(&self, runtime: &TeraRuntime) { + assert_eq!( + runtime.authenticated_store_public_key_hex().as_deref(), + Some(field(&self.rust, "public_key")) + ); + for expected in self.rust["drafts"].as_array().unwrap() { + let actual = runtime + .phase1_draft_status(bytes(field(expected, "draft_id"))) + .await + .unwrap(); + assert_eq!( + actual.draft().revision().get(), + expected["revision"].as_u64().unwrap() + ); + assert_eq!(actual.card_id().to_hex(), field(expected, "card_id")); + assert_eq!(format!("{:?}", actual.state()), field(expected, "state")); + assert_eq!( + actual + .draft() + .operation_id() + .map(|id| hex::encode(id.as_bytes())), + expected["operation_id"].as_str().map(str::to_owned) + ); + } + let signed = runtime + .phase1_draft_status(bytes::<16>("00000000000000000000000000000003")) + .await + .unwrap(); + let signed = signed.push().unwrap().artifact().signed().unwrap().event(); + assert_eq!( + signed.raw_json(), + field(&self.expected["signed_event"], "raw_json") + ); + assert_eq!( + hash(signed.raw_json().as_bytes()), + field(&self.expected["signed_event"], "raw_sha256") + ); + } +} diff --git a/core/crates/tera_core/src/runtime/legacy_upgrade_tests/mod.rs b/core/crates/tera_core/src/runtime/legacy_upgrade_tests/mod.rs @@ -0,0 +1,5 @@ +mod fixture; +mod restore; +mod restore_host; +mod restore_source; +mod upgrade; diff --git a/core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore.rs b/core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore.rs @@ -0,0 +1,137 @@ +use super::{fixture::*, restore_host::Files, restore_source::*}; +use crate::runtime::{backup::*, builder::RuntimeBuilder, product_surface::*, restore::*}; +use std::sync::{Arc, atomic::Ordering}; + +#[tokio::test] +async fn actual_legacy_backup_restore_keeps_hidden_media_and_requires_fresh_original_target_review() +{ + let fixture = Fixture::copy(); + let config = fixture.config(true); + let runtime = fixture.open(true).await; + fixture.assert_revisions(&runtime).await; + fixture.assert_statuses(&runtime).await; + let files = Files::new(&fixture); + let now = phase1_operation_now_unix_ms().unwrap(); + let backup = BackupRequest::new( + [17; 16], + config.public_key().into_bytes(), + *config.source_generation().as_bytes(), + now, + 128 * 1024 * 1024, + ) + .unwrap(); + let manifest = runtime + .capture_application_backup(backup.clone(), &files) + .await + .unwrap(); + assert_eq!(manifest.media().len(), 1); + assert_eq!( + manifest.media()[0].sha256, + field(&fixture.host, "media_sha256") + ); + assert_eq!( + manifest.media()[0].byte_length, + fixture.host["media_bytes"].as_u64().unwrap() + ); + runtime.shutdown().await.unwrap(); + drop(runtime); + std::fs::remove_file(fixture.blob()).unwrap(); + let request = + RestoreRequest::new([18; 16], backup, phase1_operation_now_unix_ms().unwrap()).unwrap(); + let guard = restore_application_backup(config.clone(), request, &files) + .await + .unwrap(); + assert_eq!( + hash(&std::fs::read(fixture.blob()).unwrap()), + field(&fixture.host, "media_sha256") + ); + assert!(RuntimeBuilder::new(config.clone()).build().await.is_err()); + let source = Arc::new(OriginalTargets::new(&fixture)); + let runtime = controlled_runtime(&fixture, guard.clone(), source.clone()).await; + fixture.assert_revisions(&runtime).await; + fixture.assert_statuses(&runtime).await; + assert_eq!( + runtime.review_restored_work().await, + Err(RestoreError::ReconciliationRequired) + ); + let status = runtime.restore_status().await.unwrap().unwrap(); + assert_eq!(status.phase, RestorePhase::Held); + assert_eq!(status.targets.len(), 4); + let first = &status.targets[0]; + assert_eq!( + runtime + .phase1_advance_draft( + first.draft_id, + runtime + .phase1_draft_status(first.draft_id) + .await + .unwrap() + .draft() + .revision() + .get() + ) + .await + .unwrap_err(), + Phase1DraftError::Restore(RestoreError::ReconciliationRequired) + ); + let partial = runtime + .reconcile_restored_target(first.draft_id, &first.target_fingerprint) + .await + .unwrap(); + assert_eq!(partial.observation, RestoreObservation::Incomplete); + assert_eq!( + runtime.review_restored_work().await, + Err(RestoreError::ReconciliationRequired) + ); + source.incomplete.store(false, Ordering::SeqCst); + let mut observed = 0; + for target in &status.targets { + let fresh = runtime + .reconcile_restored_target(target.draft_id, &target.target_fingerprint) + .await + .unwrap(); + assert_eq!( + fresh.operation_id, + bytes::<16>(field( + fixture.rust["drafts"] + .as_array() + .unwrap() + .iter() + .find(|row| field(row, "draft_id") == hex::encode(target.draft_id)) + .unwrap(), + "operation_id" + )) + ); + assert_eq!(fresh.event_id, target.event_id); + assert_ne!(fresh.observation, RestoreObservation::Incomplete); + observed += usize::from(fresh.observation == RestoreObservation::Observed); + } + assert_eq!( + observed, 1, + "Only the old signed event from relay-one was freshly observed" + ); + let inventory = runtime.review_restored_work().await.unwrap(); + runtime.resume_restored_work(inventory).await.unwrap(); + runtime.resume_restored_work(inventory).await.unwrap(); + assert_eq!( + runtime.restore_status().await.unwrap().unwrap().phase, + RestorePhase::Resumed + ); + fixture.assert_statuses(&runtime).await; + assert_eq!(source.deliveries.load(Ordering::SeqCst), 0); + assert_eq!(source.requests.lock().unwrap().len(), 5); + runtime.shutdown().await.unwrap(); + drop(runtime); + let reopened = RuntimeBuilder::new(config) + .restore_guard(guard) + .build() + .await + .unwrap(); + fixture.assert_revisions(&reopened).await; + fixture.assert_statuses(&reopened).await; + assert_eq!( + reopened.restore_status().await.unwrap().unwrap().phase, + RestorePhase::Resumed + ); + reopened.shutdown().await.unwrap(); +} diff --git a/core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs b/core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs @@ -0,0 +1,122 @@ +use super::fixture::*; +use crate::runtime::{backup::*, restore::*}; +use radroots_transport::BoxFuture; +use std::{path::PathBuf, sync::Mutex}; + +pub(super) struct Files { + pub fixture_blob: PathBuf, + pub leases: PathBuf, + pub guard: PathBuf, + pub manifest: Mutex<Option<Vec<u8>>>, +} + +impl Files { + pub fn new(fixture: &Fixture) -> Self { + let leases = fixture.root.path().join("controlled_media_leases"); + std::fs::create_dir(&leases).unwrap(); + Self { + fixture_blob: fixture.blob(), + leases, + guard: fixture.config(true).restore_guard_path(), + manifest: Mutex::new(None), + } + } + fn verify(&self, path: &std::path::Path, sha: &str, length: u64) { + let content = std::fs::read(path).unwrap(); + assert_eq!(content.len() as u64, length); + assert_eq!(hash(&content), sha); + } +} + +impl BackupHost for Files { + fn load_candidate( + &self, + _: BackupRequest, + ) -> BoxFuture<'_, Result<Option<Vec<u8>>, BackupError>> { + Box::pin(async { Ok(self.manifest.lock().unwrap().clone()) }) + } + fn retain_media( + &self, + request: BackupRequest, + media: Vec<BackupMediaRequirement>, + ) -> BoxFuture<'_, Result<Vec<BackupMediaLease>, BackupError>> { + Box::pin(async move { + assert_eq!( + media.len(), + 1, + "Complete paged inventory must find old pending media outside its first 100 heads" + ); + let mut leases = vec![]; + for item in media { + self.verify(&self.fixture_blob, &item.sha256, item.byte_length); + let destination = self.leases.join(&item.sha256); + if destination.exists() { + self.verify(&destination, &item.sha256, item.byte_length); + } else { + std::fs::copy(&self.fixture_blob, &destination).unwrap(); + } + leases.push(BackupMediaLease { + identifier: request.lease_identifier(&item.sha256), + sha256: item.sha256, + byte_length: item.byte_length, + }); + } + Ok(leases) + }) + } + fn persist_candidate( + &self, + manifest: ApplicationBackupManifest, + ) -> BoxFuture<'_, Result<(), BackupError>> { + Box::pin(async move { + *self.manifest.lock().unwrap() = Some(manifest.encode()?); + Ok(()) + }) + } + fn publish_complete( + &self, + manifest: ApplicationBackupManifest, + ) -> BoxFuture<'_, Result<(), BackupError>> { + self.persist_candidate(manifest) + } +} + +impl RestoreHost for Files { + fn require_quiescent(&self) -> BoxFuture<'_, Result<(), RestoreError>> { + Box::pin(async { Ok(()) }) + } + fn load_completed(&self, _: RestoreRequest) -> BoxFuture<'_, Result<Vec<u8>, RestoreError>> { + Box::pin(async { Ok(self.manifest.lock().unwrap().clone().unwrap()) }) + } + fn restore_media( + &self, + manifest: ApplicationBackupManifest, + ) -> BoxFuture<'_, Result<(), RestoreError>> { + Box::pin(async move { + assert_eq!(manifest.media().len(), 1); + for item in manifest.media() { + let source = self.leases.join(&item.sha256); + self.verify(&source, &item.sha256, item.byte_length); + if self.fixture_blob.exists() { + self.verify(&self.fixture_blob, &item.sha256, item.byte_length); + } else { + std::fs::copy(source, &self.fixture_blob).unwrap(); + } + } + Ok(()) + }) + } + fn arm_guard(&self, guard: ApplicationRestoreGuard) -> BoxFuture<'_, Result<(), RestoreError>> { + Box::pin(async move { + use std::io::Write; + let mut file = std::fs::OpenOptions::new() + .write(true) + .create_new(true) + .open(&self.guard) + .unwrap(); + file.write_all(&guard.encode()?).unwrap(); + file.sync_all().unwrap(); + Ok(()) + }) + } +} diff --git a/core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs b/core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs @@ -0,0 +1,136 @@ +//! Controlled inbound SPI retains original public targets; it performs no I/O. +use super::fixture::*; +use crate::TeraRuntime; +use crate::runtime::{builder::RuntimeBuilder, restore::ApplicationRestoreGuard}; +use radroots_event::SignedEvent; +use radroots_transport::SinkStatus; +use radroots_transport::outcome::{FetchTargetOutcome, FetchTargetState}; +use radroots_transport::sink::{DeliveryReceipt, DeliveryRequest, SinkFailure}; +use radroots_transport::source::{EventProvenance, NextPage, ObservedEvent}; +use radroots_transport::{ + BoxFuture, Error, EventSink, EventSource, FetchPage, FetchRequest, SourceStatus, TransportId, +}; +use std::sync::{ + Arc, Mutex, + atomic::{AtomicBool, AtomicUsize, Ordering}, +}; + +pub(super) struct OriginalTargets { + pub incomplete: AtomicBool, + pub requests: Mutex<Vec<String>>, + pub deliveries: AtomicUsize, + pub original: SignedEvent, + pub author: radroots_identity::PublicKey, + pub authored_at: u64, +} + +impl OriginalTargets { + pub fn new(fixture: &Fixture) -> Self { + let raw = field(&fixture.expected["signed_event"], "raw_json"); + let wire = radroots_event::wire::Nip01EventWire::parse_json(raw).unwrap(); + Self { + incomplete: AtomicBool::new(true), + requests: Mutex::new(vec![]), + deliveries: AtomicUsize::new(0), + author: radroots_identity::PublicKey::from_hex(field(&fixture.rust, "public_key")) + .unwrap(), + authored_at: serde_json::from_str::<serde_json::Value>(raw).unwrap()["created_at"] + .as_u64() + .unwrap(), + original: SignedEvent::from_wire_verified_id(wire, raw).unwrap(), + } + } +} + +impl EventSource for OriginalTargets { + fn status(&self) -> BoxFuture<'_, Result<SourceStatus, Error>> { + Box::pin(async { unreachable!("Explicit reconciliation only") }) + } + fn fetch(&self, request: FetchRequest) -> BoxFuture<'_, Result<FetchPage, Error>> { + Box::pin(async move { + assert_eq!(request.target_set().len(), 1); + assert_eq!(request.bounds().limit(), 64); + let target = &request.target_set().targets()[0]; + assert!( + ["wss://relay-one.example", "wss://relay-two.example"] + .into_iter() + .map(|url| radroots_transport::Target::nostr_relay(url).unwrap()) + .any(|original| &original == target) + ); + assert_eq!(request.selector().authors(), &[self.author]); + assert_eq!(request.selector().kinds(), &[1]); + assert_eq!( + request.selector().since_unix_seconds(), + Some(self.authored_at) + ); + assert_eq!( + request.selector().until_unix_seconds(), + Some(self.authored_at) + ); + self.requests + .lock() + .unwrap() + .push(target.fingerprint().as_str().into()); + let incomplete = self.incomplete.load(Ordering::SeqCst); + let state = if incomplete { + FetchTargetState::Partial + } else { + FetchTargetState::Complete + }; + let events = if !incomplete && target.uri().as_str().contains("relay-one") { + let now = crate::runtime::product_surface::phase1_operation_now_unix_ms().unwrap(); + let provenance = + EventProvenance::new(TransportId::NOSTR, target.fingerprint().clone(), now) + .unwrap(); + vec![ObservedEvent::new(self.original.clone(), provenance)] + } else { + vec![] + }; + FetchPage::for_request( + &request, + events, + vec![FetchTargetOutcome::new(target.fingerprint().clone(), state)], + NextPage::Complete, + ) + }) + } +} + +impl EventSink for OriginalTargets { + fn status(&self) -> BoxFuture<'_, Result<SinkStatus, Error>> { + Box::pin(async { unreachable!("Reconciliation cannot publish") }) + } + fn deliver(&self, _: DeliveryRequest) -> BoxFuture<'_, Result<DeliveryReceipt, SinkFailure>> { + Box::pin(async { + self.deliveries.fetch_add(1, Ordering::SeqCst); + panic!("Restore/review/consent must not publish a replacement event") + }) + } +} + +pub(super) async fn controlled_runtime( + fixture: &Fixture, + guard: ApplicationRestoreGuard, + source: Arc<OriginalTargets>, +) -> TeraRuntime { + let config = fixture.config(true); + // First execute the actual production guarded constructor and startup + // checks. Only the inbound/outbound SPI is subsequently controlled; retain + // the same SQLite owner, guard and lifecycle, with no signer installed. + let mut runtime = RuntimeBuilder::new(config.clone()) + .restore_guard(guard) + .build() + .await + .unwrap(); + runtime.client.close().await.unwrap(); + runtime.client = radroots_sdk::ClientBuilder::sqlite(config.sqlite_options().unwrap()) + .await + .unwrap() + .source(source.clone()) + .sink(source) + .host_sync(radroots_sdk::sync::HostPolicy::standard()) + .build() + .unwrap(); + runtime.validate_restore_startup().await.unwrap(); + runtime +} diff --git a/core/crates/tera_core/src/runtime/legacy_upgrade_tests/upgrade.rs b/core/crates/tera_core/src/runtime/legacy_upgrade_tests/upgrade.rs @@ -0,0 +1,92 @@ +use super::fixture::*; + +#[tokio::test] +async fn pre_refactor_owner_bytes_upgrade_without_changing_any_acknowledged_identity() { + let fixture = Fixture::copy(); + assert_eq!(fixture.expected["databases"]["runtime"]["user_version"], 13); + assert_eq!(fixture.expected["draft_count"], 106); + for _ in 0..2 { + let runtime = fixture.open(false).await; + fixture.assert_revisions(&runtime).await; + fixture.assert_statuses(&runtime).await; + runtime.shutdown().await.unwrap(); + } + assert_eq!( + hash(&std::fs::read(fixture.blob()).unwrap()), + field(&fixture.host, "media_sha256") + ); + fixture.copy_for_old_reader_probe(); +} + +#[tokio::test] +async fn legacy_missing_companion_refuses_upgrade_without_inventing_empty_state() { + let fixture = Fixture::copy(); + let config = fixture.config(false); + let private = config.owner_directory().join("private.sqlite"); + let retained = private.with_extension("retained"); + std::fs::rename(&private, &retained).unwrap(); + let runtime = config.owner_directory().join("runtime.sqlite"); + let before = hash(&std::fs::read(&runtime).unwrap()); + let result = crate::runtime::builder::RuntimeBuilder::new(config) + .build() + .await; + match result { + Err(crate::TeraAppError::Store { report }) => assert_eq!(report.code, "store_incomplete"), + _ => panic!("Missing historical companion must produce the typed incomplete-store refusal"), + } + assert!(!private.exists()); + assert_eq!(hash(&std::fs::read(runtime).unwrap()), before); + std::fs::rename(retained, private).unwrap(); + let runtime = fixture.open(false).await; + fixture.assert_revisions(&runtime).await; + fixture.assert_statuses(&runtime).await; + runtime.shutdown().await.unwrap(); +} + +#[tokio::test] +async fn legacy_future_version_and_damaged_catalog_refuse_without_rewriting_acknowledged_bytes() { + for name in ["unsupported_version", "damaged_catalog"] { + let fixture = Fixture::copy(); + let config = fixture.config(false); + let runtime_path = config.owner_directory().join("runtime.sqlite"); + let pristine = std::fs::read(&runtime_path).unwrap(); + let negative = std::fs::read( + fixture + .root + .path() + .join("refusal_inputs") + .join(name) + .join("runtime.sqlite"), + ) + .unwrap(); + let derivative = &fixture.expected["negative_derivatives"][name]; + assert_eq!(hash(&pristine), field(derivative, "source_sha256")); + assert_eq!(hash(&negative), field(derivative, "derived_sha256")); + std::fs::write(&runtime_path, &negative).unwrap(); + let private_path = config.owner_directory().join("private.sqlite"); + let private_before = std::fs::read(&private_path).unwrap(); + let result = crate::runtime::builder::RuntimeBuilder::new(config) + .build() + .await; + let expected_code = if name == "unsupported_version" { + "schema_too_new" + } else { + "storage_integrity_failed" + }; + match result { + Err(crate::TeraAppError::Sdk { report }) => assert_eq!(report.code, expected_code), + _ => { + panic!("Negative historical input must produce its specific typed storage refusal") + } + } + assert_eq!(std::fs::read(&runtime_path).unwrap(), negative); + assert_eq!(std::fs::read(private_path).unwrap(), private_before); + // Recovery replaces only the disposable negative test copy with its + // original already-hashed bytes. Production never rewinds a schema. + std::fs::write(runtime_path, pristine).unwrap(); + let runtime = fixture.open(false).await; + fixture.assert_revisions(&runtime).await; + fixture.assert_statuses(&runtime).await; + runtime.shutdown().await.unwrap(); + } +} diff --git a/core/crates/tera_core/src/runtime/mod.rs b/core/crates/tera_core/src/runtime/mod.rs @@ -271,3 +271,6 @@ mod tests { assert!(json.contains("sdk")); } } + +#[cfg(all(test, feature = "mobile-social"))] +mod legacy_upgrade_tests; diff --git a/project.yml b/project.yml @@ -165,6 +165,11 @@ targets: - path: TeraTests/TeraLifecycleTests.swift - path: TeraTests/TeraDiagnosticPolicyTests.swift - path: TeraTests/TeraPrivacyPackagingTests.swift + - path: TeraTests/TeraHistoricalOwnerFixture.swift + - path: TeraTests/TeraHistoricalOwnerTests.swift + - path: test-fixtures/legacy_upgrade_v1 + type: folder + buildPhase: resources - path: TeraTests/TeraClockTests.swift - path: TeraTests/TeraCalendarFFICompatibilityTests.swift - path: TeraTests/TeraCalendarTimingTests.swift diff --git a/release/provenance.json b/release/provenance.json @@ -2,11 +2,11 @@ "artifacts": { "app_api_sha256": "020924097c0d7efc33128cb8fd3d3b2026d95f57c44da71880e585aff80f070b", "ffi_api_sha256": "5d74060f97e52dad69ab7567c16d6b6b34acfab846f468450d89e2394a8a69d5", - "ffi_provenance_sha256": "31e4933703c474dc51f78be327bd8541e11b05137e93b10578faedc261d3e295", + "ffi_provenance_sha256": "507994df791418f0164c3b21873c9082e18a1d27cea93f2d8fff9414afad7691", "info_plist_sha256": "b55010dd73b34bf5ad910a888be0ea1ae45f2a5c14329fa6a57059a317bdbd42", "privacy_manifest_sha256": "0f2103257ba596fbcaeb1d6a4dffe3ae021e84c010178852c6bf500a8cfb0f19", "sbom_sha256": "f0a15c2c9ad7799539fbc52fd1fdbcf17f4046b6f86cfe0a9b8980adc0079e10", - "xcode_project_sha256": "a14bc2bd4f2b69020947721014432389804c0a8797c70aa90172810407649a2e" + "xcode_project_sha256": "21a4160b2df410f26e2c239ef411770588350d28b081d3ec0e7fea68ef1f7a6a" }, "disposition": "unsigned", "platforms": [ @@ -22,7 +22,7 @@ "lib_revision": "189c49b74b4bafc142b00b76b296477931139e72", "source_date_epoch": 1787871027, "swift_package_lock_sha256": "8aec408132602a249111a65903c985cca5898ec316a45916d88ba756f08ea40d", - "tera_ffi_source_tree": "10e9a06967e6aff750a8698abf08b03d7aa35ae2", + "tera_ffi_source_tree": "54d4ba5bdf90a7ec899df79bc1bb31dafe7b2d6d", "xcode_package_lock_sha256": "3656728f8251f3ea644aa150d154819766470ca7bd4f85b7c51fdf301d361d16" }, "version": "0.1.0-alpha" diff --git a/scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift b/scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift @@ -0,0 +1,103 @@ +import CoreGraphics +import Foundation +import ImageIO +import RadrootsKit +import UniformTypeIdentifiers +import XCTest + +@MainActor +final class TeraHistoricalFixtureWriterTests: XCTestCase { + func testProduceHistoricalOwnerBytes() async throws { + let environment = ProcessInfo.processInfo.environment + let output = try URL(fileURLWithPath: XCTUnwrap(environment["TERA_LEGACY_FIXTURE_OUTPUT"]), isDirectory: true) + let roots = try roots(output) + if environment["TERA_LEGACY_FIXTURE_PHASE"] == "host" { + try await produceHost(output, roots: roots) + } else { + XCTAssertEqual(environment["TERA_LEGACY_FIXTURE_PHASE"], "transfer") + try await produceTransfer(output, roots: roots) + } + } + + private func roots(_ output: URL) throws -> RadrootsAppleFileRoots { + for directory in ["data", "cache", "tmp", "logs"] { + try FileManager.default.createDirectory(at: output.appendingPathComponent(directory), withIntermediateDirectories: true) + } + return try RadrootsAppleFileRoots(appIdentifier: "dev.local.radroots", + dataRoot: output.appendingPathComponent("data"), cacheRoot: output.appendingPathComponent("cache"), + temporaryRoot: output.appendingPathComponent("tmp"), logsRoot: output.appendingPathComponent("logs")) + } + + private func produceHost(_ output: URL, roots: RadrootsAppleFileRoots) async throws { + let metadata = RadrootsRuntimeAppMetadata(bundleIdentifier: "dev.local.radroots", version: "1.0.0-alpha", buildNumber: "1", buildSHA: nil) + let bootstrap = RadrootsConfigurationBootstrap(runtimeMode: "production", + relayURLs: ["wss://relay-one.example", "wss://relay-two.example"], blossomOrigins: ["https://blossom.example"], + keychainServicePrefix: "org.radroots.field_ios.local", bundleIdentifier: "dev.local.radroots", appMetadata: metadata) + let configuration = RadrootsConfigurationStore(bootstrap: bootstrap, roots: roots, clock: .fixed(unixSeconds: 1_700_000_000)) + let selected = try await configuration.load() + XCTAssertEqual(selected.generation, 1) + let generation = try await configuration.sourceGeneration() + let source = try RadrootsFileReference(scope: .temporary, relativePath: "synthetic_source.png") + try RadrootsAppleFileAccess(roots: roots).write(.inline(syntheticPNG()), to: source) + let image = try await RadrootsAppleMediaPreparer(roots: roots).prepareImage(RadrootsAppleImagePreparationRequest(source: .file(source))) + let staged = try roots.stagedBlobURL(for: image.file) + let value: [String: Any] = ["source_generation": generation.generationHex, + "generation_created_at_unix_ms": generation.createdAtUnixMilliseconds, + "media_sha256": image.sha256, "media_bytes": image.file.sizeBytes, + "media_width": image.width, "media_height": image.height, + "staged_relative_path": String(staged.path.dropFirst(output.path.count + 1)), + "bundle_identifier": selected.bundleIdentifier, "keychain_service_prefix": selected.keychainServicePrefix] + try write(value, to: output.appendingPathComponent("host-metadata.json")) + // Keep the actual historical sanitized blob, never the temporary source. + try RadrootsAppleFileAccess(roots: roots).delete(source) + } + + private func produceTransfer(_ output: URL, roots: RadrootsAppleFileRoots) async throws { + let host = try dictionary(output.appendingPathComponent("host-metadata.json")) + let rust = try dictionary(output.appendingPathComponent("rust-metadata.json")) + let job = try XCTUnwrap(rust["native_pending"] as? [String: Any]) + let hash = try XCTUnwrap(job["sha256"] as? String) + let count = try XCTUnwrap(Int(exactly: XCTUnwrap(job["byte_size"] as? NSNumber).uint64Value)) + let blob = try RadrootsStagedBlobReference(blobID: hash, sizeBytes: count, mediaType: "image/png", filenameHint: hash + ".png") + let id = try "radroots.add.\(XCTUnwrap(job["draft_id"] as? String)).\(XCTUnwrap(job["revision"] as? NSNumber)).\(XCTUnwrap(job["operation_id"] as? String))" + let request = try RadrootsBackgroundTransferRequest(identifier: RadrootsBackgroundTransferIdentifier(id), + remoteURL: XCTUnwrap(try URL(string: XCTUnwrap(job["remote_url"] as? String))), method: .put, + operation: .upload(source: .stagedBlob(blob)), responsePolicy: .boundedJSON(), expectedSourceSHA256: hash) + let descriptor: [String: Any] = ["url": "https://blossom.example/\(hash).png", "sha256": hash, "size": count, "type": "image/png", "uploaded": 1_786_000_000] + let body = try JSONSerialization.data(withJSONObject: descriptor, options: [.sortedKeys]) + let response = try RadrootsBackgroundTransferResponse(statusCode: 200, mediaType: "application/json", body: body) + let snapshot = try RadrootsBackgroundTransferSnapshot(request: request, state: .awaitingVerification, + progress: RadrootsBackgroundTransferProgress(bytesTransferred: Int64(count), totalBytesExpected: Int64(count)), + response: response, updatedAt: Date()) + let store = RadrootsAppleBackgroundTransferStore(roots: roots) + try await store.saveSnapshot(snapshot) + let loaded = try await store.loadSnapshots() + XCTAssertEqual(loaded.count, 1) + XCTAssertEqual(loaded[0].request.headers, [:]) + XCTAssertEqual(loaded[0].identifier.rawValue, id) + try write(["native_identifier": id, "media_sha256": hash, "public_key": XCTUnwrap(rust["public_key"] as? String), + "source_generation": XCTUnwrap(host["source_generation"] as? String), + "state": "awaitingVerification", "limit": "Actual old typed persistence; no physical OS upload/termination claim."], to: output.appendingPathComponent("native-metadata.json")) + } + + private func dictionary(_ url: URL) throws -> [String: Any] { + try XCTUnwrap(JSONSerialization.jsonObject(with: Data(contentsOf: url)) as? [String: Any]) + } + + private func write(_ value: [String: Any], to url: URL) throws { + try JSONSerialization.data(withJSONObject: value, options: [.prettyPrinted, .sortedKeys]).write(to: url, options: [.atomic]) + } + + private func syntheticPNG() throws -> Data { + let bytes = Data([255, 0, 0, 255, 0, 255, 0, 255, 0, 0, 255, 255, 255, 255, 0, 255, 255, 0, 255, 255, 0, 255, 255, 255]) + let provider = try XCTUnwrap(CGDataProvider(data: bytes as CFData)) + let image = try XCTUnwrap(CGImage(width: 2, height: 3, bitsPerComponent: 8, bitsPerPixel: 32, + bytesPerRow: 8, space: CGColorSpaceCreateDeviceRGB(), bitmapInfo: CGBitmapInfo(rawValue: CGImageAlphaInfo.premultipliedLast.rawValue), + provider: provider, decode: nil, shouldInterpolate: false, intent: .defaultIntent)) + let data = NSMutableData() + let destination = try XCTUnwrap(CGImageDestinationCreateWithData(data, UTType.png.identifier as CFString, 1, nil)) + CGImageDestinationAddImage(destination, image, [:] as CFDictionary) + XCTAssertTrue(CGImageDestinationFinalize(destination)) + return data as Data + } +} diff --git a/scripts/legacy_fixture_writers/historical_writer.rs b/scripts/legacy_fixture_writers/historical_writer.rs @@ -0,0 +1,347 @@ +//! Fixture producer compiled only against the exact historical Lib archive. +//! An ephemeral signer stays in memory; only public expectations are emitted. +use radroots_mobile_ffi::*; +use secp256k1::{Keypair, Message, Secp256k1}; +use serde_json::{Value, json}; +use std::os::fd::AsRawFd; +use std::path::Path; + +struct EphemeralSigner(Keypair); +#[async_trait::async_trait] +impl RadrootsHostSigner for EphemeralSigner { + async fn signer_status(&self) -> SignerStatusRecord { + SignerStatusRecord { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + availability: SignerAvailabilityRecord::Ready, + } + } + async fn sign(&self, request: HostSigningRequest) -> HostSigningResult { + assert_eq!(request.public_key, self.0.x_only_public_key().0.to_string()); + let digest: [u8; 32] = request.event_id_digest.try_into().unwrap(); + let signature = + Secp256k1::new().sign_schnorr_no_aux_rand(&Message::from_digest(digest), &self.0); + HostSigningResult { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + outcome: HostSigningOutcome::Signed, + operation_id: request.operation_id, + signer_request_id: request.signer_request_id, + public_key: request.public_key, + purpose: request.purpose, + signature_hex: Some(signature.to_string()), + completed_at_unix_ms: std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH) + .unwrap() + .as_millis() + .try_into() + .unwrap(), + } + } +} + +fn input(content: String, media: Vec<FfiPreparedMediaInput>) -> FfiAddDraftInput { + FfiAddDraftInput { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + command_type: if media.is_empty() { + FfiAddCommandType::CreateUpdate + } else { + FfiAddCommandType::CreatePhotoUpdate + }, + content, + identifier: None, + title: None, + summary: None, + location: None, + event_timing: None, + event_start_date: None, + event_end_date: None, + event_start_unix_s: None, + event_end_unix_s: None, + event_timezone: None, + price_amount: None, + currency: None, + unit: None, + quantity: None, + food_published_at_unix_s: None, + food_status: None, + media, + } +} + +fn expectation(status: &FfiDraftStatusRecord) -> Value { + let settled = status.settlement.as_ref().map(|s| { + json!({ + "signed":s.signed,"admitted":s.admitted,"pending":s.pending, + "delivery_plans":s.delivery_plans,"delivery_satisfied":s.delivery_satisfied + }) + }); + json!({ "draft_id": status.draft_id, "revision":status.revision, + "author_public_key":status.author_public_key,"card_id":status.card_id, + "operation_id":status.operation_id,"state":format!("{:?}",status.state), + "created_at_unix_ms":status.created_at_unix_ms, + "updated_at_unix_ms":status.updated_at_unix_ms,"settlement":settled }) +} + +async fn queue( + runtime: &RadrootsRuntime, + status: &FfiDraftStatusRecord, + at: u64, +) -> FfiDraftStatusRecord { + runtime + .phase1_queue_draft( + status.draft_id.clone(), + status.revision, + FfiQueuePolicyRecord { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + relay_urls: vec![ + "wss://relay-one.example".into(), + "wss://relay-two.example".into(), + ], + satisfaction: FfiRelaySatisfaction::AllAccepted, + delivery_deadline_unix_ms: 2_000_000_000_000, + cancellation: FfiCancellationPolicy::LocalCooperative, + }, + at, + ) + .await + .unwrap() +} + +#[tokio::test] +async fn produce_pre_refactor_owner_state() { + if let Ok(root) = std::env::var("TERA_LEGACY_DOWNGRADE_ROOT") { + refuse_current_owner_downgrade(Path::new(&root)).await; + return; + } + let output = std::env::var("TERA_LEGACY_FIXTURE_OUTPUT").unwrap(); + let root = Path::new(&output); + let host: Value = + serde_json::from_slice(&std::fs::read(root.join("host-metadata.json")).unwrap()).unwrap(); + let generation = host["source_generation"].as_str().unwrap(); + let key = Keypair::new(&Secp256k1::new(), &mut secp256k1::rand::thread_rng()); + let transient_secret = key.secret_key().secret_bytes(); + let public_key = key.x_only_public_key().0.to_string(); + let data = root.join("data"); + std::fs::create_dir_all(data.join("radroots/users").join(&public_key)).unwrap(); + let runtime = RadrootsRuntime::with_host_signer( + data.to_string_lossy().into(), + public_key.clone(), + generation.into(), + host["generation_created_at_unix_ms"].as_u64().unwrap(), + ProtectedDataAvailability::Available, + Box::new(EphemeralSigner(key)), + ) + .await + .unwrap(); + let preferences = runtime.phase1_settings().await.unwrap(); + runtime + .phase1_replace_settings(FfiReplaceSettingsRecord { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + expected_revision: preferences.revision, + relays: FfiRelayPreferencesRecord { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + environment: FfiMobileNetworkEnvironment::Public, + endpoints: ["wss://relay-one.example", "wss://relay-two.example"] + .into_iter() + .map(|url| FfiRelayPreferenceRecord { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + url: url.into(), + access: FfiRelayAccessPreference::ReadWrite, + }) + .collect(), + }, + blossom: FfiBlossomPreferencesRecord { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + environment: FfiMobileNetworkEnvironment::Public, + authority: FfiBlossomAuthorityPreference::PublicWebPki, + primary_origin: "https://blossom.example".into(), + fallback_origins: vec![], + }, + media_network: preferences.media_network, + local_storage: preferences.local_storage, + }) + .await + .unwrap(); + runtime.phase1_apply_settings_to_runtime().await.unwrap(); + runtime + .configure_blossom( + FfiBlossomHostKind::Native, + FfiBlossomEndpointAuthority::PublicWebPki, + "https://blossom.example".into(), + vec![], + ) + .unwrap(); + let image = + std::fs::File::open(root.join(host["staged_relative_path"].as_str().unwrap())).unwrap(); + let media = FfiPreparedMediaInput { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + opaque_reference: format!("media:{}", host["media_sha256"].as_str().unwrap()), + file_descriptor: image.as_raw_fd().try_into().unwrap(), + sha256: host["media_sha256"].as_str().unwrap().into(), + media_type: "image/png".into(), + byte_size: host["media_bytes"].as_u64().unwrap(), + width: host["media_width"].as_u64().unwrap().try_into().unwrap(), + height: host["media_height"].as_u64().unwrap().try_into().unwrap(), + alt: "Historical synthetic image é".into(), + prepared_at_unix_s: 1_786_000_000, + }; + let media_id = format!("{:032x}", 1); + let saved = runtime + .phase1_save_draft( + media_id.clone(), + input("Historical pending photo é".into(), vec![media.clone()]), + 1_786_000_000, + None, + 1_786_000_000_000, + ) + .await + .unwrap(); + let job = runtime + .phase1_prepare_add_media_background(FfiBlossomUploadIntent { + schema_version: MOBILE_FFI_SCHEMA_VERSION, + draft_id: media_id, + expected_revision: saved.revision, + media, + }) + .await + .unwrap(); + let native = json!({"draft_id":job.draft.draft_id,"revision":job.draft.revision, + "operation_id":job.operation_id,"remote_url":job.remote_url, + "sha256":job.expected_sha256,"byte_size":job.byte_size}); + // Never serialize the returned upload authorization header. + let transient_authorization = job.authorization_header.as_bytes().to_vec(); + assert!(!transient_authorization.is_empty()); + let pending_updated_at = job.draft.updated_at_unix_ms; + let pending_id = job.draft.draft_id.clone(); + let mut statuses = vec![expectation(&job.draft)]; + drop(job); + for index in 2..=106 { + let id = format!("{index:032x}"); + let at = std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH) + .unwrap() + .as_millis() + .try_into() + .unwrap(); + assert!(at >= pending_updated_at); + let saved = runtime + .phase1_save_draft( + id, + input( + format!("Historical synthetic draft {index} e\u{301}"), + vec![], + ), + 1_786_000_000, + None, + at, + ) + .await + .unwrap(); + let status = if index == 2 || index == 3 { + let queued = queue(&runtime, &saved, at).await; + if index == 3 { + runtime + .phase1_sign_queued_draft(queued.draft_id.clone(), queued.revision) + .await + .unwrap() + } else { + queued + } + } else { + saved + }; + statuses.push(expectation(&status)); + } + let first_page = runtime.phase1_draft_heads(100).await.unwrap(); + assert_eq!(first_page.len(), 100); + assert!(!first_page.iter().any(|row| row.draft_id == pending_id)); + runtime.shutdown().await.unwrap(); + drop(runtime); + drop(image); + reject_secret(root, &transient_secret); + reject_authorization(root, &transient_authorization); + std::fs::write(root.join("rust-metadata.json"),serde_json::to_vec_pretty(&json!({ + "public_key":public_key,"source_generation":generation,"drafts":statuses, + "native_pending":native,"actual_first_page_count":100,"pending_media_outside_first_page":true, + "secret_scan":"Actual closed owner files contain neither transient signer bytes nor hexadecimal secret; neither form is emitted.", + "authorization_scan":"Actual closed owner files contain no returned upload authorization header; its value is never emitted.", + "network_effects":"No socket or HTTP delivery was requested; only local save, queue, signing/admission and upload-job preparation."})).unwrap()).unwrap(); +} + +fn reject_authorization(root: &Path, authorization: &[u8]) { + for entry in std::fs::read_dir(root).unwrap() { + let path = entry.unwrap().path(); + if path.is_dir() { + reject_authorization(&path, authorization); + } else { + let bytes = std::fs::read(path).unwrap(); + assert!( + !bytes + .windows(authorization.len()) + .any(|part| part == authorization), + "Transient authorization reached fixture output" + ); + } + } +} + +fn reject_secret(root: &Path, secret: &[u8; 32]) { + let encoded = secret + .iter() + .map(|b| format!("{b:02x}")) + .collect::<String>(); + for entry in std::fs::read_dir(root).unwrap() { + let path = entry.unwrap().path(); + if path.is_dir() { + reject_secret(&path, secret); + } else { + let bytes = std::fs::read(path).unwrap(); + assert!( + !bytes.windows(32).any(|part| part == secret), + "Transient signer bytes reached fixture output" + ); + assert!( + !bytes + .windows(encoded.len()) + .any(|part| part.eq_ignore_ascii_case(encoded.as_bytes())), + "Transient signer encoding reached fixture output" + ); + } + } +} + +async fn refuse_current_owner_downgrade(root: &Path) { + let managed = std::path::PathBuf::from(std::env::var("CARGO_TARGET_DIR").unwrap()) + .canonicalize() + .unwrap(); + let root = root.canonicalize().unwrap(); + assert!(root.starts_with(managed) && root.file_name().unwrap() == "old_reader_probe"); + let host: Value = + serde_json::from_slice(&std::fs::read(root.join("host-metadata.json")).unwrap()).unwrap(); + let rust: Value = + serde_json::from_slice(&std::fs::read(root.join("rust-metadata.json")).unwrap()).unwrap(); + let public = rust["public_key"].as_str().unwrap(); + let owner = root.join("data/radroots/users").join(public); + let before: [Vec<u8>; 2] = + ["runtime.sqlite", "private.sqlite"].map(|name| std::fs::read(owner.join(name)).unwrap()); + let result = RadrootsRuntime::new( + root.join("data").to_string_lossy().into(), + public.into(), + host["source_generation"].as_str().unwrap().into(), + host["generation_created_at_unix_ms"].as_u64().unwrap(), + ProtectedDataAvailability::Available, + ) + .await; + assert!( + result.is_err(), + "Historical reader must refuse a newer current-owner schema" + ); + let failure = result.err().unwrap(); + assert_eq!(failure.report().code, "schema_too_new"); + assert_eq!( + failure.report().safe_message, + "SDK persistent storage schema is newer than this runtime" + ); + for (index, name) in ["runtime.sqlite", "private.sqlite"].iter().enumerate() { + assert_eq!(std::fs::read(owner.join(name)).unwrap(), before[index]); + } +} diff --git a/scripts/legacy_upgrade_fixture_admission.py b/scripts/legacy_upgrade_fixture_admission.py @@ -0,0 +1,245 @@ +"""Admit closed historical owner output and derive explicit refusal inputs.""" + +from __future__ import annotations + +from contextlib import closing, contextmanager +import hashlib +import json +import re +import shutil +import sqlite3 +from pathlib import Path + + +def sha256(raw: bytes) -> str: + return hashlib.sha256(raw).hexdigest() + + +def load_object(path: Path) -> dict: + value = json.loads(path.read_bytes()) + if not isinstance(value, dict): + raise ValueError("Historical owner metadata is not an object") + return value + + +@contextmanager +def closed_owner_reader(path: Path): + if not path.is_file() or path.is_symlink(): + raise ValueError("Historical owner database is not a regular closed file") + wal = path.with_name(path.name + "-wal") + if wal.exists() and wal.stat().st_size: + raise ValueError("Historical owner database has an uncheckpointed WAL") + with closing( + sqlite3.connect(path.as_uri() + "?mode=ro&immutable=1", uri=True) + ) as connection: + yield connection + + +def read_database(path: Path) -> dict: + with closed_owner_reader(path) as connection: + if connection.execute("PRAGMA integrity_check").fetchall() != [("ok",)]: + raise ValueError("Historical owner database integrity differs") + version = connection.execute("PRAGMA user_version").fetchone()[0] + identity = connection.execute("PRAGMA application_id").fetchone()[0] + catalog = connection.execute( + "SELECT type,name,tbl_name,sql FROM sqlite_master " + "WHERE name NOT LIKE 'sqlite_%' ORDER BY type,name" + ).fetchall() + return { + "user_version": version, + "application_id": identity, + "catalog_sha256": sha256(json.dumps(catalog).encode()), + } + + +def actual_revisions(path: Path) -> tuple[list[dict], list[str]]: + with closed_owner_reader(path) as connection: + rows = connection.execute( + "SELECT hex(draft_id),revision,hex(author),hex(operation_id)," + "hex(payload_sha256),snapshot FROM radroots_runtime_authored_draft_revisions " + "ORDER BY draft_id,revision" + ).fetchall() + signed = connection.execute( + "SELECT signed_raw_json FROM radroots_runtime_authored_artifacts " + "WHERE signed_raw_json IS NOT NULL ORDER BY artifact_id" + ).fetchall() + revisions = [] + for draft, revision, author, operation, payload_sha, snapshot in rows: + value = json.loads(bytes(snapshot)) + payload = bytes(value["payload"]) + if sha256(payload) != payload_sha.lower(): + raise ValueError("Historical authored payload hash differs") + if ( + value["revision"] != revision + or bytes(value["draft_id"]).hex() != draft.lower() + ): + raise ValueError("Historical authored revision identity differs") + revisions.append( + { + "draft_id": draft.lower(), + "revision": revision, + "author_public_key": author.lower(), + "operation_id": operation.lower() or None, + "payload_schema": value["payload_schema"], + "payload_sha256": payload_sha.lower(), + "snapshot_sha256": sha256(bytes(snapshot)), + } + ) + return revisions, [bytes(row[0]).decode() for row in signed] + + +def admit_case_logs(work: Path) -> dict: + expected = { + "historical-host": "testProduceHistoricalOwnerBytes", + "historical-rust": "produce_pre_refactor_owner_state", + "historical-transfer": "testProduceHistoricalOwnerBytes", + } + receipts = {} + for name, method in expected.items(): + path = work / (name + ".txt") + raw = path.read_text() + pattern = ( + r"^test " + method + r" \.\.\. ok$" + if name == "historical-rust" + else r"^Test Case .*" + method + r".* passed \(" + ) + summary = ( + "test result: ok. 1 passed; 0 failed; 0 ignored;" + if name == "historical-rust" + else "Executed 1 test, with 0 failures" + ) + if len(re.findall(pattern, raw, re.M)) != 1 or summary not in raw: + raise ValueError( + "Historical producer did not execute the required actual case: " + name + ) + receipts[name] = {"method": method, "log_sha256": sha256(path.read_bytes())} + return receipts + + +def admit_identities(host: dict, rust: dict, native: dict) -> str: + public_key = rust["public_key"] + if len(public_key) != 64 or bytes.fromhex(public_key).hex() != public_key: + raise ValueError("Historical public identity is not canonical") + if ( + native["public_key"] != public_key + or native["source_generation"] != host["source_generation"] + ): + raise ValueError("Historical native and Rust owner identities differ") + if ( + host["bundle_identifier"] != "dev.local.radroots" + or host["keychain_service_prefix"] != "org.radroots.field_ios.local" + ): + raise ValueError("Historical installed identity differs") + return public_key + + +def admit_media(output: Path, host: dict, native: dict) -> None: + media = output / host["staged_relative_path"] + if not media.resolve().is_relative_to(output.resolve()) or media.is_symlink(): + raise ValueError("Historical staged media escaped its fixture root") + if ( + sha256(media.read_bytes()) != host["media_sha256"] + or media.stat().st_size != host["media_bytes"] + ): + raise ValueError("Historical actual prepared media differs") + if ( + native["media_sha256"] != host["media_sha256"] + or native["state"] != "awaitingVerification" + ): + raise ValueError("Historical typed native receipt differs") + + +def admit_databases( + output: Path, public_key: str +) -> tuple[dict, list[dict], list[str]]: + owner = output / "data" / "radroots" / "users" / public_key + runtime = owner / "runtime.sqlite" + databases = { + "runtime": read_database(runtime), + "private": read_database(owner / "private.sqlite"), + } + if ( + databases["runtime"]["user_version"] != 13 + or databases["runtime"]["application_id"] != 1380209236 + ): + raise ValueError( + "Historical runtime schema is not the expected pre-refactor owner" + ) + if databases["private"]["application_id"] != 1380208722: + raise ValueError("Historical private store identity differs") + revisions, signed = actual_revisions(runtime) + if len(signed) != 1 or json.loads(signed[0])["kind"] != 1: + raise ValueError( + "Historical output must contain one signed synthetic Update and no authorization event" + ) + return databases, revisions, signed + + +def admit_statuses(rust: dict, revisions: list[dict], public_key: str) -> None: + heads = {row["draft_id"]: row for row in revisions} + statuses = rust["drafts"] + if ( + len(statuses) != 106 + or rust["actual_first_page_count"] != 100 + or not rust["pending_media_outside_first_page"] + ): + raise ValueError("Historical hidden pending media inventory was not exercised") + for status in statuses: + head = heads[status["draft_id"]] + if (head["revision"], head["author_public_key"], head["operation_id"]) != ( + status["revision"], + public_key, + status["operation_id"], + ): + raise ValueError( + "Historical returned status differs from closed owner bytes" + ) + if not rust.get("secret_scan") or not rust.get("authorization_scan"): + raise ValueError("Historical writer did not complete credential scans") + + +def admit_output(output: Path, work: Path) -> dict: + host = load_object(output / "host-metadata.json") + rust = load_object(output / "rust-metadata.json") + native = load_object(output / "native-metadata.json") + public_key = admit_identities(host, rust, native) + admit_media(output, host, native) + databases, revisions, signed = admit_databases(output, public_key) + admit_statuses(rust, revisions, public_key) + return { + "state": "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING", + "actual_case_receipts": admit_case_logs(work), + "databases": databases, + "revisions": revisions, + "draft_count": 106, + "signed_event": { + "event_id": json.loads(signed[0])["id"], + "raw_json": signed[0], + "raw_sha256": sha256(signed[0].encode()), + }, + "limits": "Actual historical synthetic owner bytes; no real account, credential, OS enqueue, device or external delivery.", + } + + +def derive_refusal_inputs(output: Path, public_key: str) -> dict: + """Only negative copies change; record both actual parent and derived hashes.""" + source = output / "data" / "radroots" / "users" / public_key / "runtime.sqlite" + statements = { + "unsupported_version": "PRAGMA user_version = 18", + "damaged_catalog": "DROP TRIGGER radroots_runtime_authored_draft_revisions_update_guard", + } + derivatives = {} + for name, statement in statements.items(): + destination = output / "refusal_inputs" / name / "runtime.sqlite" + destination.parent.mkdir(parents=True, exist_ok=False) + shutil.copyfile(source, destination) + with closing(sqlite3.connect(destination)) as connection: + with connection: + connection.execute(statement) + derivatives[name] = { + "source_sha256": sha256(source.read_bytes()), + "derived_sha256": sha256(destination.read_bytes()), + "only_mutation": statement, + "purpose": "Explicit negative startup-refusal input, never a positive historical write.", + } + return derivatives diff --git a/scripts/legacy_upgrade_fixture_producer.py b/scripts/legacy_upgrade_fixture_producer.py @@ -0,0 +1,353 @@ +"""Produce exact sanitized historical owner bytes from explicit public Git roots.""" + +from pathlib import Path +import argparse +import hashlib +import json +import os +import subprocess +import tarfile +from legacy_upgrade_fixture_admission import admit_output, derive_refusal_inputs + +MAX_FROZEN_FIXTURE_BYTES = 64 * 1024 * 1024 + +SOURCES = { + "tera": ("e25819267b51f659e5dfdf7b318239a8969bf45c", "radrootslabs/tera.git"), + "lib": ("ad17b7d3455a7147cfa303d976fc5c70c3a4c0cb", "radrootslabs/lib.git"), + "apple_kit": ( + "35aedb6b54ff645b663fecff26082b3e91fcb232", + "radrootslabs/apple_kit.git", + ), +} + + +def digest(data): + return hashlib.sha256(data).hexdigest() + + +def git(root, *args): + return subprocess.check_output( + ["git", "--no-replace-objects", "-C", str(root), *args] + ) + + +def validate_root(root, owner): + root = root.resolve(strict=True) + if ( + Path(git(root, "rev-parse", "--show-toplevel").decode().strip()).resolve() + != root + ): + raise ValueError("Explicit source root is not its Git root") + remote = git(root, "remote", "get-url", "origin").decode().strip() + suffix = SOURCES[owner][1] + if remote not in [ + "ssh://git@github.com/" + suffix, + "git@github.com:" + suffix, + "https://github.com/" + suffix, + ]: + raise ValueError("Explicit source identity differs") + revision = SOURCES[owner][0] + if ( + git(root, "rev-parse", "--verify", revision + "^{commit}").decode().strip() + != revision + ): + raise ValueError("Historical exact source is unavailable") + subprocess.run( + [ + "git", + "--no-replace-objects", + "-C", + str(root), + "merge-base", + "--is-ancestor", + revision, + "origin/master", + ], + check=True, + ) + return root + + +def archive(root, owner, work): + revision = SOURCES[owner][0] + path = work / (owner + ".tar") + directory = work / owner + raw = git(root, "archive", "--format=tar", revision) + path.write_bytes(raw) + directory.mkdir() + with tarfile.open(path) as tar: + members = [] + for member in tar.getmembers(): + name = Path(member.name) + if ( + name.is_absolute() + or ".." in name.parts + or not (member.isdir() or member.isfile()) + ): + raise ValueError("Historical archive contains unsupported paths") + if name.parts[0] not in [".github", ".act"]: + members.append(member) + tar.extractall(directory, members=members, filter="data") + return directory, { + "owner": owner, + "repository": "https://github.com/" + SOURCES[owner][1], + "commit": revision, + "tree": git(root, "rev-parse", revision + "^{tree}").decode().strip(), + "archive_sha256": digest(raw), + } + + +def copied_source(root, revision, path, destination, marker=None): + raw = git(root, "show", revision + ":" + path) + selected = raw if marker is None else raw[: raw.index(marker)] + destination.write_bytes(selected) + return { + "path": path, + "whole_blob_sha256": digest(raw), + "compiled_sha256": digest(selected), + "compiled_byte_count": len(selected), + "selection": "whole_file" + if marker is None + else "exact_prefix_before:" + marker.decode().strip(), + } + + +def run(argv, work, name, environment): + log = work / (name + ".txt") + with log.open("xb") as stream: + result = subprocess.run( + argv, stdout=stream, stderr=subprocess.STDOUT, env=environment + ) + if result.returncode: + raise RuntimeError( + "Historical producer lane failed; inspect its retained external log: " + + name + ) + return { + "name": name, + "exit_code": result.returncode, + "log_sha256": digest(log.read_bytes()), + } + + +def prepare_host(root, apple, work, swift_writer): + target = apple / "Tests/TeraHistoricalFixtureWriterTests" + target.mkdir() + manifest = apple / "Package.swift" + original = manifest.read_bytes() + anchor = b" targets: [\n" + if original.count(anchor) != 1: + raise ValueError("Historical test target insertion differs") + compiled = original.replace( + anchor, + anchor + + b' .testTarget(name: "TeraHistoricalFixtureWriterTests", dependencies: ["RadrootsKit"]),\n', + ) + manifest.write_bytes(compiled) + revision = SOURCES["tera"][0] + test_target = { + "path": "apple_kit/Package.swift", + "whole_blob_sha256": digest(original), + "compiled_sha256": digest(compiled), + "compiled_byte_count": len(compiled), + "selection": "explicit_isolated_historical_writer_test_target_only", + } + selections = [] + for path, name, marker in [ + ( + "Radroots/State/RadrootsConfigurationStore.swift", + "TeraLegacyConfigurationSource.swift", + None, + ), + ( + "Radroots/Runtime/RadrootsRuntimeModels.swift", + "TeraLegacyRuntimeModelsSource.swift", + b"enum RadrootsRuntimeSignerAvailability", + ), + ( + "Radroots/Runtime/RadrootsCheckedTime.swift", + "TeraLegacyCheckedTimeSource.swift", + None, + ), + ]: + selections.append(copied_source(root, revision, path, target / name, marker)) + (target / "TeraHistoricalFixtureWriterTests.swift").write_bytes( + swift_writer.read_bytes() + ) + return selections, test_target + + +def produce(roots, work, swift_writer, rust_writer): + # The caller must run through extbuild; never override Cargo routing. + managed = Path(os.environ["CARGO_TARGET_DIR"]).resolve().parent + work = work.resolve() + if work == managed or not work.is_relative_to(managed): + raise ValueError("Work must be a fresh child of the managed output root") + work.mkdir(parents=True, exist_ok=False) + archives = {} + provenance = [] + for owner, root in roots.items(): + archives[owner], record = archive(validate_root(root, owner), owner, work) + provenance.append(record) + selections, test_target = prepare_host( + roots["tera"], archives["apple_kit"], work, swift_writer + ) + test = archives["lib"] / "crates/mobile_ffi/tests/tera_historical_fixture_writer.rs" + test.parent.mkdir(exist_ok=True) + test.write_bytes(rust_writer.read_bytes()) + output = work / "output" + output.mkdir() + environment = os.environ.copy() + environment["TERA_LEGACY_FIXTURE_OUTPUT"] = str(output) + environment["RADROOTS_LIB_REVISION"] = SOURCES["lib"][0] + environment["RADROOTS_CONSUMER_REVISION"] = SOURCES["tera"][0] + environment["SOURCE_DATE_EPOCH"] = ( + git(roots["lib"], "show", "-s", "--format=%ct", SOURCES["lib"][0]) + .decode() + .strip() + ) + swift = [ + "swift", + "test", + "--package-path", + str(archives["apple_kit"]), + "--scratch-path", + str(work / "swift_scratch"), + "--cache-path", + os.environ["SWIFTPM_CACHE"], + "--disable-automatic-resolution", + "--filter", + "TeraHistoricalFixtureWriterTests/testProduceHistoricalOwnerBytes", + ] + receipts = [] + environment["TERA_LEGACY_FIXTURE_PHASE"] = "host" + receipts.append(run(swift, work, "historical-host", environment)) + receipts.append( + run( + [ + "cargo", + "test", + "--manifest-path", + str(archives["lib"] / "Cargo.toml"), + "--locked", + "-p", + "radroots_mobile_ffi", + "--test", + "tera_historical_fixture_writer", + "--", + "--test-threads=1", + ], + work, + "historical-rust", + environment, + ) + ) + environment["TERA_LEGACY_FIXTURE_PHASE"] = "transfer" + receipts.append(run(swift, work, "historical-transfer", environment)) + admission = admit_output(output, work) + admission["negative_derivatives"] = derive_refusal_inputs( + output, json.loads((output / "rust-metadata.json").read_text())["public_key"] + ) + (output / "owner-expectations.json").write_text( + json.dumps(admission, indent=2) + "\n" + ) + files = { + str(path.relative_to(output)): digest(path.read_bytes()) + for path in sorted(output.rglob("*")) + if path.is_file() + } + record = { + "state": "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING", + "sources": provenance, + "selected_unchanged_old_host_sources": selections, + "historical_writer_test_target": test_target, + "writer_source_sha256": { + "swift": digest(swift_writer.read_bytes()), + "rust": digest(rust_writer.read_bytes()), + }, + "actual_command_receipts": receipts, + "actual_case_admission": admission, + "files": files, + "limits": "Synthetic old actual owner writes, media preparation and typed native persistence. No old complete app binary, OS transfer, physical device, Keychain secret, network publication or byte-identical regeneration claim.", + } + (work / "producer.json").write_text(json.dumps(record, indent=2) + "\n") + return record + + +def frozen_source(work, relative): + path = Path(relative) + if path.is_absolute() or not path.parts or ".." in path.parts: + raise ValueError("Frozen fixture path escaped its owner") + source = work / "output" + if source.is_symlink(): + raise ValueError("Admitted owner bytes changed before freeze") + for part in path.parts: + source /= part + if source.is_symlink(): + raise ValueError("Admitted owner bytes changed before freeze") + if not source.is_file(): + raise ValueError("Admitted owner bytes changed before freeze") + return source + + +def frozen_inputs(work, record): + if record["state"] != "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING": + raise ValueError("Historical writer admission is missing") + contents = {} + total = 0 + for relative, expected_hash in record["files"].items(): + path = Path(relative) + source = frozen_source(work, relative) + total += source.stat().st_size + if total > MAX_FROZEN_FIXTURE_BYTES: + raise ValueError("Historical fixture tooling input exceeds its byte bound") + content = source.read_bytes() + if digest(content) != expected_hash: + raise ValueError("Admitted owner bytes changed before freeze") + contents[path] = content + return contents + + +def freeze_output(work, record, destination): + """Freeze admitted owner bytes once; never rewrite an existing fixture.""" + expected = ( + Path(__file__).resolve().parent.parent / "test-fixtures/legacy_upgrade_v1" + ) + if ( + destination.resolve() != expected.resolve() + or expected.exists() + or expected.is_symlink() + ): + raise ValueError("Frozen fixture must be a fresh canonical owner path") + contents = frozen_inputs(work, record) + expected.mkdir() + for path, content in contents.items(): + output = expected / path + output.parent.mkdir(parents=True, exist_ok=True) + output.write_bytes(content) + (expected / "manifest.json").write_text(json.dumps(record, indent=2) + "\n") + + +def main(): + parser = argparse.ArgumentParser() + for owner in SOURCES: + parser.add_argument( + "--" + owner.replace("_", "-") + "-git-root", type=Path, required=True + ) + parser.add_argument("--work", type=Path, required=True) + parser.add_argument("--swift-writer", type=Path, required=True) + parser.add_argument("--rust-writer", type=Path, required=True) + parser.add_argument("--fixture-destination", type=Path) + args = parser.parse_args() + roots = { + owner: validate_root(getattr(args, owner + "_git_root"), owner) + for owner in SOURCES + } + result = produce(roots, args.work, args.swift_writer, args.rust_writer) + if args.fixture_destination is not None: + freeze_output(args.work, result, args.fixture_destination) + print(json.dumps({"state": result["state"], "file_count": len(result["files"])})) + + +if __name__ == "__main__": + main() diff --git a/scripts/swift-quality.sh b/scripts/swift-quality.sh @@ -10,6 +10,7 @@ readonly -a SOURCE_PATHS=( TeraPublicAPITests TeraTests TeraUITests + scripts/legacy_fixture_writers ) readonly -a MAINTAINABILITY_RULES=( cyclomatic_complexity @@ -41,6 +42,9 @@ readonly -a PYTHON_QUALITY_PATHS=( scripts/kotlin_smoke.py scripts/test_kotlin_smoke.py scripts/test_xcode_selection.py + scripts/legacy_upgrade_fixture_producer.py + scripts/legacy_upgrade_fixture_admission.py + scripts/test_legacy_upgrade_fixture.py ) command -v swiftformat >/dev/null || { diff --git a/scripts/test_legacy_upgrade_fixture.py b/scripts/test_legacy_upgrade_fixture.py @@ -0,0 +1,292 @@ +from __future__ import annotations + +import copy +import io +import tempfile +import unittest +import sys +from pathlib import Path +from unittest.mock import patch +import tarfile + +SCRIPTS = Path(__file__).resolve().parent +if str(SCRIPTS) not in sys.path: + sys.path.insert(0, str(SCRIPTS)) + +import legacy_upgrade_fixture_producer as producer # noqa: E402 +import legacy_upgrade_fixture_admission as admission # noqa: E402 + + +class HistoricalProducerBoundaryTests(unittest.TestCase): + def test_freeze_refuses_unadmitted_changed_or_escaped_bytes_before_creating_destination( + self, + ): + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary) + fixture_root = root / "test-fixtures" + fixture_root.mkdir() + work = root / "managed" + (work / "output").mkdir(parents=True) + content = b"synthetic guard unit bytes, not a historical owner fixture" + (work / "output" / "guard.txt").write_bytes(content) + (work / "output" / "link.txt").symlink_to(work / "output" / "guard.txt") + (root / "outside").mkdir() + (root / "outside" / "guard.txt").write_bytes(content) + (work / "output" / "parent_link").symlink_to( + root / "outside", target_is_directory=True + ) + destination = fixture_root / "legacy_upgrade_v1" + record = { + "state": "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING", + "files": {"guard.txt": producer.digest(content)}, + } + with patch.object( + producer, "__file__", str(root / "scripts" / "producer.py") + ): + for changed in [ + {**record, "state": "UNADMITTED"}, + {**record, "files": {"guard.txt": "0" * 64}}, + {**record, "files": {"../outside": "0" * 64}}, + {**record, "files": {"link.txt": producer.digest(content)}}, + { + **record, + "files": {"parent_link/guard.txt": producer.digest(content)}, + }, + ]: + with self.assertRaises(ValueError): + producer.freeze_output(work, changed, destination) + self.assertFalse(destination.exists()) + producer.freeze_output(work, record, destination) + self.assertEqual((destination / "guard.txt").read_bytes(), content) + with self.assertRaisesRegex(ValueError, "fresh canonical"): + producer.freeze_output(work, record, destination) + + def test_source_root_must_be_its_exact_public_git_identity(self): + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary).resolve() + replies = [str(root).encode(), b"https://github.com/unrelated/lib.git"] + with patch.object(producer, "git", side_effect=replies): + with self.assertRaisesRegex(ValueError, "identity"): + producer.validate_root(root, "lib") + with patch.object(producer, "git", return_value=str(root.parent).encode()): + with self.assertRaisesRegex(ValueError, "Git root"): + producer.validate_root(root, "lib") + + def test_historical_commit_must_be_exact_and_published(self): + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary).resolve() + replies = [ + str(root).encode(), + b"https://github.com/radrootslabs/lib.git", + b"0" * 40, + ] + with patch.object(producer, "git", side_effect=replies): + with self.assertRaisesRegex(ValueError, "unavailable"): + producer.validate_root(root, "lib") + replies[-1] = producer.SOURCES["lib"][0].encode() + with patch.object(producer, "git", side_effect=replies): + with patch.object( + producer.subprocess, + "run", + side_effect=RuntimeError("not published"), + ): + with self.assertRaisesRegex(RuntimeError, "published"): + producer.validate_root(root, "lib") + with patch.object( + producer.subprocess, "check_output", return_value=b"record" + ) as command: + producer.git(root, "rev-parse", "HEAD") + command.assert_called_once_with( + [ + "git", + "--no-replace-objects", + "-C", + str(root), + "rev-parse", + "HEAD", + ] + ) + + def test_historical_archive_refuses_traversal_links_and_devices(self): + for name, kind in [ + ("../escaped", tarfile.REGTYPE), + ("/absolute", tarfile.REGTYPE), + ("link", tarfile.SYMTYPE), + ("hard", tarfile.LNKTYPE), + ("device", tarfile.CHRTYPE), + ]: + with self.subTest(name=name), tempfile.TemporaryDirectory() as temporary: + buffer = io.BytesIO() + with tarfile.open(fileobj=buffer, mode="w") as archive: + entry = tarfile.TarInfo(name) + entry.type = kind + archive.addfile(entry) + with patch.object(producer, "git", return_value=buffer.getvalue()): + with self.assertRaisesRegex(ValueError, "unsupported"): + producer.archive(Path(temporary), "lib", Path(temporary)) + + def test_work_must_be_a_fresh_child_of_managed_output(self): + with tempfile.TemporaryDirectory() as temporary: + managed = Path(temporary).resolve() + with patch.dict( + producer.os.environ, {"CARGO_TARGET_DIR": str(managed / "target")} + ): + for destination in [managed, managed.parent / "outside"]: + with ( + self.subTest(destination=destination), + self.assertRaisesRegex(ValueError, "fresh child"), + ): + producer.produce( + {}, destination, Path("unused.swift"), Path("unused.rs") + ) + used = managed / "already_used" + used.mkdir() + with self.assertRaises(FileExistsError): + producer.produce({}, used, Path("unused.swift"), Path("unused.rs")) + + +class HistoricalAdmissionBoundaryTests(unittest.TestCase): + def test_pending_wal_and_nonregular_owner_refuse_before_sqlite_open(self): + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary) + database = root / "runtime.sqlite" + database.write_bytes(b"negative unopened guard input") + database.with_name(database.name + "-wal").write_bytes(b"pending") + with patch.object(admission.sqlite3, "connect") as connect: + with self.assertRaisesRegex(ValueError, "uncheckpointed WAL"): + admission.read_database(database) + link = root / "linked.sqlite" + link.symlink_to(database) + with self.assertRaisesRegex(ValueError, "regular closed file"): + admission.read_database(link) + with self.assertRaisesRegex(ValueError, "regular closed file"): + admission.read_database(root / "missing.sqlite") + connect.assert_not_called() + + def test_zero_duplicate_missing_and_skipped_case_logs_cannot_be_admitted(self): + templates = { + "historical-host": "Test Case '-[TeraHistoricalFixtureWriterTests testProduceHistoricalOwnerBytes]' passed (0.1 seconds).\nExecuted 1 test, with 0 failures\n", + "historical-rust": "test produce_pre_refactor_owner_state ... ok\ntest result: ok. 1 passed; 0 failed; 0 ignored;\n", + "historical-transfer": "Test Case '-[TeraHistoricalFixtureWriterTests testProduceHistoricalOwnerBytes]' passed (0.1 seconds).\nExecuted 1 test, with 0 failures\n", + } + with tempfile.TemporaryDirectory() as temporary: + work = Path(temporary) + for name, raw in templates.items(): + (work / (name + ".txt")).write_text(raw) + self.assertEqual(len(admission.admit_case_logs(work)), 3) + for name, raw in templates.items(): + for malformed in [ + "", + raw + raw, + raw.replace("passed", "skipped").replace("... ok", "... ignored"), + raw.replace("1 passed", "0 passed").replace( + "Executed 1", "Executed 0" + ), + ]: + with self.subTest(name=name, malformed=malformed): + (work / (name + ".txt")).write_text(malformed) + with self.assertRaises(ValueError): + admission.admit_case_logs(work) + (work / (name + ".txt")).write_text(raw) + + def test_changed_public_generation_and_installed_identity_refuse(self): + host = { + "source_generation": "fixture_generation", + "bundle_identifier": "dev.local.radroots", + "keychain_service_prefix": "org.radroots.field_ios.local", + } + rust = {"public_key": "ab" * 32} + native = { + "public_key": rust["public_key"], + "source_generation": host["source_generation"], + } + self.assertEqual( + admission.admit_identities(host, rust, native), rust["public_key"] + ) + for field in ["source_generation", "public_key"]: + value = copy.deepcopy(native) + value[field] = "different" + with self.subTest(field=field), self.assertRaises(ValueError): + admission.admit_identities(host, rust, value) + for field in ["bundle_identifier", "keychain_service_prefix"]: + value = copy.deepcopy(host) + value[field] = "different" + with self.subTest(field=field), self.assertRaises(ValueError): + admission.admit_identities(value, rust, native) + for public in ["ab" * 31, "AB" * 32, "z" * 64]: + with self.subTest(public=public), self.assertRaises(ValueError): + admission.admit_identities(host, {"public_key": public}, native) + + def test_media_escape_hash_size_and_receipt_state_refuse(self): + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary) + output = root / "output" + output.mkdir() + content = ( + b"synthetic byte-boundary input, not a historical positive fixture" + ) + (output / "blob").write_bytes(content) + (root / "outside").write_bytes(content) + host = { + "staged_relative_path": "blob", + "media_sha256": admission.sha256(content), + "media_bytes": len(content), + } + native = { + "media_sha256": host["media_sha256"], + "state": "awaitingVerification", + } + admission.admit_media(output, host, native) + for field, value in [ + ("staged_relative_path", "../outside"), + ("media_sha256", "0" * 64), + ("media_bytes", len(content) + 1), + ]: + changed = {**host, field: value} + with self.subTest(field=field), self.assertRaises(ValueError): + admission.admit_media(output, changed, native) + with self.assertRaises(ValueError): + admission.admit_media(output, host, {**native, "state": "completed"}) + (output / "link").symlink_to(output / "blob") + with self.assertRaises(ValueError): + admission.admit_media( + output, {**host, "staged_relative_path": "link"}, native + ) + + def test_wrong_inventory_head_or_missing_credential_scan_refuses(self): + rows = [ + { + "draft_id": str(index), + "revision": 1, + "author_public_key": "public", + "operation_id": None, + } + for index in range(106) + ] + rust = { + "drafts": [ + {"draft_id": row["draft_id"], "revision": 1, "operation_id": None} + for row in rows + ], + "actual_first_page_count": 100, + "pending_media_outside_first_page": True, + "secret_scan": True, + "authorization_scan": True, + } + admission.admit_statuses(rust, rows, "public") + for field, value in [ + ("actual_first_page_count", 99), + ("pending_media_outside_first_page", False), + ("secret_scan", False), + ("authorization_scan", False), + ]: + with self.subTest(field=field), self.assertRaises(ValueError): + admission.admit_statuses({**rust, field: value}, rows, "public") + damaged = copy.deepcopy(rows) + damaged[0]["revision"] = 2 + with self.assertRaises(ValueError): + admission.admit_statuses(rust, damaged, "public") + + +if __name__ == "__main__": + unittest.main() diff --git a/scripts/verify-package-contract.sh b/scripts/verify-package-contract.sh @@ -22,7 +22,8 @@ sh "$repo_root/scripts/ffi-provenance.sh" contract-check scripts/test_ffi_installed.py \ scripts/test_kotlin_smoke.py \ scripts/test_xcode_selection.py \ - scripts/test_local_social_fixture.py + scripts/test_local_social_fixture.py \ + scripts/test_legacy_upgrade_fixture.py ) sh "$repo_root/scripts/persona-verifier.sh" verify-bud11-corpus \ diff --git a/test-fixtures/legacy-identifiers.v1.json b/test-fixtures/legacy-identifiers.v1.json @@ -93,6 +93,16 @@ ] }, { + "identifier": "RADROOTS_CONSUMER_REVISION", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + } + ] + }, + { "identifier": "RADROOTS_LIB_REVISION", "category": "shared_foundation_api", "occurrences": [ @@ -109,6 +119,10 @@ "count": 1 }, { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + }, + { "path": "scripts/test_ffi_artifacts.py", "count": 1 } @@ -137,6 +151,10 @@ "count": 1 }, { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 3 + }, + { "path": "scripts/test_legacy_identifiers.py", "count": 1 } @@ -283,8 +301,16 @@ "count": 2 }, { + "path": "TeraTests/TeraHistoricalOwnerTests.swift", + "count": 2 + }, + { "path": "TeraTests/TeraMediaCleanupTests.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -333,6 +359,10 @@ "count": 2 }, { + "path": "TeraTests/TeraHistoricalOwnerTests.swift", + "count": 3 + }, + { "path": "TeraTests/TeraLocalBackupTests.swift", "count": 1 }, @@ -347,6 +377,10 @@ { "path": "TeraTests/TeraStateMigrationTests.swift", "count": 10 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 2 } ] }, @@ -549,6 +583,14 @@ "count": 2 }, { + "path": "TeraTests/TeraHistoricalOwnerFixture.swift", + "count": 2 + }, + { + "path": "TeraTests/TeraHistoricalOwnerTests.swift", + "count": 1 + }, + { "path": "TeraTests/TeraLifecycleTests.swift", "count": 2 }, @@ -575,6 +617,10 @@ { "path": "TeraTests/TeraStateTestFixtures.swift", "count": 2 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 4 } ] }, @@ -605,6 +651,10 @@ { "path": "Tera/Runtime/TeraAddMediaCoordinator.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -681,6 +731,10 @@ { "path": "TeraTests/TeraOfflineMediaTests.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -1025,6 +1079,10 @@ { "path": "TeraTests/TeraRecoveryInventoryTests.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -1049,6 +1107,16 @@ ] }, { + "identifier": "RadrootsBackgroundTransferProgress", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 + } + ] + }, + { "identifier": "RadrootsBackgroundTransferRequest", "category": "shared_apple_api", "occurrences": [ @@ -1071,6 +1139,10 @@ { "path": "TeraTests/TeraNativeExecutionFixture.swift", "count": 3 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -1103,6 +1175,10 @@ { "path": "TeraTests/TeraUploadRenewalTests.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -1179,6 +1255,10 @@ { "path": "TeraTests/TeraUploadRenewalTests.swift", "count": 4 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -1339,6 +1419,46 @@ ] }, { + "identifier": "RadrootsCheckedTime.swift", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + } + ] + }, + { + "identifier": "RadrootsConfigurationBootstrap", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 + } + ] + }, + { + "identifier": "RadrootsConfigurationStore", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 + } + ] + }, + { + "identifier": "RadrootsConfigurationStore.swift", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + } + ] + }, + { "identifier": "RadrootsDocumentInterchangeError", "category": "shared_apple_api", "occurrences": [ @@ -1499,6 +1619,10 @@ "count": 5 }, { + "path": "TeraTests/TeraHistoricalOwnerTests.swift", + "count": 1 + }, + { "path": "TeraTests/TeraLocalRestoreTests.swift", "count": 1 }, @@ -1517,6 +1641,10 @@ { "path": "TeraTests/TeraStateMigrationTests.swift", "count": 7 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -1535,6 +1663,16 @@ ] }, { + "identifier": "RadrootsHostSigner", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_fixture_writers/historical_writer.rs", + "count": 1 + } + ] + }, + { "identifier": "RadrootsIdentityCustody", "category": "shared_apple_api", "occurrences": [ @@ -1901,6 +2039,14 @@ "count": 1 }, { + "path": "TeraTests/TeraHistoricalOwnerFixture.swift", + "count": 1 + }, + { + "path": "TeraTests/TeraHistoricalOwnerTests.swift", + "count": 1 + }, + { "path": "TeraTests/TeraIdentityCancellationTests.swift", "count": 1 }, @@ -2013,6 +2159,14 @@ "count": 2 }, { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 + }, + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + }, + { "path": "scripts/package_contract.py", "count": 1 }, @@ -2301,6 +2455,46 @@ ] }, { + "identifier": "RadrootsRuntime", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_fixture_writers/historical_writer.rs", + "count": 3 + } + ] + }, + { + "identifier": "RadrootsRuntimeAppMetadata", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 + } + ] + }, + { + "identifier": "RadrootsRuntimeModels.swift", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + } + ] + }, + { + "identifier": "RadrootsRuntimeSignerAvailability", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 + } + ] + }, + { "identifier": "RadrootsSecretAccessPolicy", "category": "shared_apple_api", "occurrences": [ @@ -2421,12 +2615,24 @@ "count": 2 }, { + "path": "TeraTests/TeraHistoricalOwnerFixture.swift", + "count": 2 + }, + { + "path": "TeraTests/TeraHistoricalOwnerTests.swift", + "count": 1 + }, + { "path": "TeraTests/TeraLocalBackupTests.swift", "count": 1 }, { "path": "TeraTests/TeraLocalRestoreTests.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -2879,6 +3085,10 @@ "count": 1 }, { + "path": "TeraTests/TeraHistoricalOwnerFixture.swift", + "count": 1 + }, + { "path": "TeraTests/TeraLifecycleTests.swift", "count": 1 }, @@ -2903,6 +3113,10 @@ "count": 1 }, { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs", + "count": 1 + }, + { "path": "core/crates/tera_core/src/runtime/product_surface/composer/storage_sqlite_tests.rs", "count": 1 }, @@ -2967,10 +3181,26 @@ "count": 1 }, { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 3 + }, + { + "path": "scripts/legacy_fixture_writers/historical_writer.rs", + "count": 2 + }, + { "path": "scripts/legacy_identifiers.py", "count": 3 }, { + "path": "scripts/legacy_upgrade_fixture_admission.py", + "count": 3 + }, + { + "path": "scripts/test_legacy_upgrade_fixture.py", + "count": 1 + }, + { "path": "scripts/test_local_social_fixture.py", "count": 1 } @@ -3203,6 +3433,10 @@ { "path": "TeraTests/TeraRecoveryInventoryTests.swift", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 } ] }, @@ -3849,6 +4083,18 @@ { "path": "Tera/Config/Debug.xcconfig", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/TeraHistoricalHostWriter.swift", + "count": 1 + }, + { + "path": "scripts/legacy_upgrade_fixture_admission.py", + "count": 1 + }, + { + "path": "scripts/test_legacy_upgrade_fixture.py", + "count": 1 } ] }, @@ -5351,6 +5597,10 @@ "count": 1 }, { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs", + "count": 2 + }, + { "path": "core/crates/tera_core/src/runtime/product_surface/authoring.rs", "count": 2 }, @@ -5649,6 +5899,10 @@ "count": 1 }, { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs", + "count": 2 + }, + { "path": "core/crates/tera_core/src/runtime/mod.rs", "count": 1 }, @@ -5837,6 +6091,14 @@ { "path": "scripts/app_dependency_graph.py", "count": 1 + }, + { + "path": "scripts/legacy_fixture_writers/historical_writer.rs", + "count": 1 + }, + { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 1 } ] }, @@ -5971,6 +6233,36 @@ ] }, { + "identifier": "radroots_runtime_authored_artifacts", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_admission.py", + "count": 1 + } + ] + }, + { + "identifier": "radroots_runtime_authored_draft_revisions", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_admission.py", + "count": 1 + } + ] + }, + { + "identifier": "radroots_runtime_authored_draft_revisions_update_guard", + "category": "verification_compatibility", + "occurrences": [ + { + "path": "scripts/legacy_upgrade_fixture_admission.py", + "count": 1 + } + ] + }, + { "identifier": "radroots_sdk", "category": "shared_foundation_api", "occurrences": [ @@ -5995,6 +6287,10 @@ "count": 2 }, { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs", + "count": 2 + }, + { "path": "core/crates/tera_core/src/runtime/lifecycle.rs", "count": 4 }, @@ -6355,6 +6651,10 @@ "count": 1 }, { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/fixture.rs", + "count": 1 + }, + { "path": "core/crates/tera_core/src/runtime/mutation_admission.rs", "count": 1 }, @@ -6855,6 +7155,14 @@ "count": 1 }, { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_host.rs", + "count": 1 + }, + { + "path": "core/crates/tera_core/src/runtime/legacy_upgrade_tests/restore_source.rs", + "count": 6 + }, + { "path": "core/crates/tera_core/src/runtime/product_surface/context.rs", "count": 1 }, @@ -6999,6 +7307,10 @@ "count": 1 }, { + "path": "scripts/legacy_upgrade_fixture_producer.py", + "count": 3 + }, + { "path": "scripts/package_contract.py", "count": 4 }, @@ -7015,6 +7327,10 @@ "count": 1 }, { + "path": "scripts/test_legacy_upgrade_fixture.py", + "count": 1 + }, + { "path": "scripts/test_package_contract.py", "count": 2 } diff --git a/test-fixtures/legacy_upgrade_v1/data/background_transfers/transfers.json b/test-fixtures/legacy_upgrade_v1/data/background_transfers/transfers.json @@ -0,0 +1 @@ +{"schemaVersion":1,"snapshots":[{"possibleRemoteOrphan":false,"progress":{"bytesTransferred":176,"totalBytesExpected":176},"request":{"expectedSourceSHA256":"f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d","identifier":{"rawValue":"radroots.add.00000000000000000000000000000001.2.bfe0aa719eb24d7c87180db4fc3491ae"},"maximumTransferBytes":67108864,"metadata":{},"method":"PUT","networkPolicy":"publicHTTPS","operation":{"upload":{"source":{"stagedBlob":{"_0":{"blobID":"f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d","filenameHint":"f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d.png","mediaType":"image\/png","sizeBytes":176}}}}},"remoteURL":"https:\/\/blossom.example\/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d.png","responsePolicy":{"acceptedMediaTypes":["application\/json"],"maximumBodyBytes":16384}},"response":{"body":"eyJzaGEyNTYiOiJmNWE5ZGQwOWM3MmVkNjk2MmZhYmRlODBkMWM4NjZlODcxZTkxOTVlZmRiMzg1YzhlYWMyYmYzNzIyMTUwMTZkIiwic2l6ZSI6MTc2LCJ0eXBlIjoiaW1hZ2VcL3BuZyIsInVwbG9hZGVkIjoxNzg2MDAwMDAwLCJ1cmwiOiJodHRwczpcL1wvYmxvc3NvbS5leGFtcGxlXC9mNWE5ZGQwOWM3MmVkNjk2MmZhYmRlODBkMWM4NjZlODcxZTkxOTVlZmRiMzg1YzhlYWMyYmYzNzIyMTUwMTZkLnBuZyJ9","mediaType":"application\/json","statusCode":200},"state":"awaitingVerification","updatedAt":812665916.199945}]} +\ No newline at end of file diff --git a/test-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/.radroots-storage-writer.lock b/test-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/.radroots-storage-writer.lock diff --git a/test-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/private.sqlite b/test-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/private.sqlite Binary files differ. diff --git a/test-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/runtime.sqlite b/test-fixtures/legacy_upgrade_v1/data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/runtime.sqlite Binary files differ. diff --git a/test-fixtures/legacy_upgrade_v1/data/settings/radroots_configuration_v3.json b/test-fixtures/legacy_upgrade_v1/data/settings/radroots_configuration_v3.json @@ -0,0 +1,19 @@ +{ + "activationState" : "current", + "blossom" : { + "endpointAuthority" : "public_web_pki", + "fallbackOrigins" : [ + + ], + "hostKind" : "physical_device", + "primaryOrigin" : "https:\/\/blossom.example" + }, + "bootstrapFingerprint" : "1ed66ae4cba2412c1a4ec83aeec12c7fbeed48febb5ac41666e69fef026a1139", + "format" : "radroots_ios_configuration_v3", + "generation" : 1, + "profile" : "public", + "writableRelays" : [ + "wss:\/\/relay-one.example", + "wss:\/\/relay-two.example" + ] +} +\ No newline at end of file diff --git a/test-fixtures/legacy_upgrade_v1/data/state/source_generation_v1.json b/test-fixtures/legacy_upgrade_v1/data/state/source_generation_v1.json @@ -0,0 +1,5 @@ +{ + "createdAtUnixMilliseconds" : 1700000000000, + "generationHex" : "0f71049d3c9674edc170cd02c6f6c8589591befb2646590bc0dc54d5274433ba", + "schemaVersion" : 1 +} +\ No newline at end of file diff --git a/test-fixtures/legacy_upgrade_v1/host-metadata.json b/test-fixtures/legacy_upgrade_v1/host-metadata.json @@ -0,0 +1,11 @@ +{ + "bundle_identifier" : "dev.local.radroots", + "generation_created_at_unix_ms" : 1700000000000, + "keychain_service_prefix" : "org.radroots.field_ios.local", + "media_bytes" : 176, + "media_height" : 3, + "media_sha256" : "f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d", + "media_width" : 2, + "source_generation" : "0f71049d3c9674edc170cd02c6f6c8589591befb2646590bc0dc54d5274433ba", + "staged_relative_path" : "tmp\/staged_blobs\/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d" +} +\ No newline at end of file diff --git a/test-fixtures/legacy_upgrade_v1/manifest.json b/test-fixtures/legacy_upgrade_v1/manifest.json @@ -0,0 +1,1144 @@ +{ + "state": "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING", + "sources": [ + { + "owner": "tera", + "repository": "https://github.com/radrootslabs/tera.git", + "commit": "e25819267b51f659e5dfdf7b318239a8969bf45c", + "tree": "96aaa651dcc32ee29adc18e4efc2a3056c29b545", + "archive_sha256": "f3616bea6d60869ab28d219063f763591a56d7487f4dd0d58bfc60b6ed4bbfd0" + }, + { + "owner": "lib", + "repository": "https://github.com/radrootslabs/lib.git", + "commit": "ad17b7d3455a7147cfa303d976fc5c70c3a4c0cb", + "tree": "3d8cdf4b928d37e29a2dbc8aa785e7e4e4938a62", + "archive_sha256": "4aceda1bd13c49e0068b6de36d44c7949e1b16f344d8fe9b17ff80ec71d5d368" + }, + { + "owner": "apple_kit", + "repository": "https://github.com/radrootslabs/apple_kit.git", + "commit": "35aedb6b54ff645b663fecff26082b3e91fcb232", + "tree": "bf1dc7036e12c91236559c6fc86530184086c4dd", + "archive_sha256": "782ddc4376c051390c19c875698ce197e0aec6991bbd5db4492045c9c8e29aaa" + } + ], + "selected_unchanged_old_host_sources": [ + { + "path": "Radroots/State/RadrootsConfigurationStore.swift", + "whole_blob_sha256": "255c908454b06cc3a838bded42644e88cf63b0a4951658d6b37115e68c52e857", + "compiled_sha256": "255c908454b06cc3a838bded42644e88cf63b0a4951658d6b37115e68c52e857", + "compiled_byte_count": 29272, + "selection": "whole_file" + }, + { + "path": "Radroots/Runtime/RadrootsRuntimeModels.swift", + "whole_blob_sha256": "99e1658d27aee3371ab1dbf0243e60ce8f18a6c5d780d86fbc9e186b97733b2f", + "compiled_sha256": "a2ab8edd6f0c13e697b0015b2b84b5a8396f2d2d05f2b6f0ae3070e69e326d1d", + "compiled_byte_count": 1971, + "selection": "exact_prefix_before:enum RadrootsRuntimeSignerAvailability" + }, + { + "path": "Radroots/Runtime/RadrootsCheckedTime.swift", + "whole_blob_sha256": "dd2a6b1bceb433349ded8df8ae0927201c7baee202981794ea5237a83dc0b6f6", + "compiled_sha256": "dd2a6b1bceb433349ded8df8ae0927201c7baee202981794ea5237a83dc0b6f6", + "compiled_byte_count": 2424, + "selection": "whole_file" + } + ], + "historical_writer_test_target": { + "path": "apple_kit/Package.swift", + "whole_blob_sha256": "72a93521239d982f7067c4dedbc959cbed619f858517440009742c1f9a721264", + "compiled_sha256": "2cebe81bd20888cd82068fe5df493d16a23e6d00eb6da0288b135fbb85a5e776", + "compiled_byte_count": 1926, + "selection": "explicit_isolated_historical_writer_test_target_only" + }, + "writer_source_sha256": { + "swift": "cd4100127b031467beb82c229a95157f12366d80e612a961b916cf2b524117f3", + "rust": "adb33c04b6305091ff5bd98d7ac854c318d72c1d9eda5ca85d9bbc6785d397dc" + }, + "actual_command_receipts": [ + { + "name": "historical-host", + "exit_code": 0, + "log_sha256": "18793f9adc44a93519773ef83c21c266433c1fb11d26624da1cc6ff97b80ac35" + }, + { + "name": "historical-rust", + "exit_code": 0, + "log_sha256": "5c6a82cc6679242d16816c1d2190076998cf00920a08668fe3a7466cbe647e5b" + }, + { + "name": "historical-transfer", + "exit_code": 0, + "log_sha256": "80d61194ca1bb28b12e5e2171790a3eaa3c4d2f11a4f0fad6ce76c6847cad670" + } + ], + "actual_case_admission": { + "state": "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING", + "actual_case_receipts": { + "historical-host": { + "method": "testProduceHistoricalOwnerBytes", + "log_sha256": "18793f9adc44a93519773ef83c21c266433c1fb11d26624da1cc6ff97b80ac35" + }, + "historical-rust": { + "method": "produce_pre_refactor_owner_state", + "log_sha256": "5c6a82cc6679242d16816c1d2190076998cf00920a08668fe3a7466cbe647e5b" + }, + "historical-transfer": { + "method": "testProduceHistoricalOwnerBytes", + "log_sha256": "80d61194ca1bb28b12e5e2171790a3eaa3c4d2f11a4f0fad6ce76c6847cad670" + } + }, + "databases": { + "runtime": { + "user_version": 13, + "application_id": 1380209236, + "catalog_sha256": "6be7c33e6b5712ab4e1ab4ddaf0a6511bb071a7fd76eab3ffb71c208eb226c5f" + }, + "private": { + "user_version": 4, + "application_id": 1380208722, + "catalog_sha256": "c4e576e11885c127d1f8da10a1ac8c3f7a5c88944d6a9f1fb75b8b02ce7d4795" + } + }, + "revisions": [ + { + "draft_id": "00000000000000000000000000000001", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d720f61fcc460a8848326cf68f2a11d02c1b8fc04dd892ac5a1466cfa18b0237", + "snapshot_sha256": "f4a85317789021e7ece2e0512aa000d3c6857d09a00c05abaf53f6a551a43fd1" + }, + { + "draft_id": "00000000000000000000000000000001", + "revision": 2, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "f5039426929d2c2c78b85f9f09c709f74e80a304c82c06bd9fb10e12c9a4d2fb", + "snapshot_sha256": "cc008c24b13208b10f8e0b7c51ac3eeda7d44543408095c7efcfc3ae2a24d099" + }, + { + "draft_id": "00000000000000000000000000000002", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6fda8d0be00d55eefd10903a61f7d18f167bd273dd38cb4facf830a016635050", + "snapshot_sha256": "f0c2d368eb5f1fc9b4df996030699727930ddbbd6b34d2907ed4d711f44c4fbd" + }, + { + "draft_id": "00000000000000000000000000000002", + "revision": 2, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "1b5b25e3a16add8c2ba005f5cc3257fc", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e22114928682ced0f8d05313f0598673b98748db3a38b6fdb1f8a078c2686ecf", + "snapshot_sha256": "2b26c19705e985cdcc495b75dc9aae56c4b19c8b5b8dabc82ce5423df398ec5a" + }, + { + "draft_id": "00000000000000000000000000000002", + "revision": 3, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "1b5b25e3a16add8c2ba005f5cc3257fc", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e22114928682ced0f8d05313f0598673b98748db3a38b6fdb1f8a078c2686ecf", + "snapshot_sha256": "e7dd0fb267b31a0b8df1283dee7c5818bad539d454400828cc693ac1aea5177b" + }, + { + "draft_id": "00000000000000000000000000000003", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "cd45ae159f85ebfb242bd91bce4ac74fb1e2c934f66418684d00d06a97e72c0a", + "snapshot_sha256": "0967cd5278af75742834e5e3d584082fc467d64ec34797bbc5bb51442a220bcd" + }, + { + "draft_id": "00000000000000000000000000000003", + "revision": 2, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "b6fb067edf2c2e42bc0bfd05e3f16d45", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "caba99f7426f1d106633ec2503644f3c3e7277a1ec171177191aa18b040a6de4", + "snapshot_sha256": "bbe9d483c7efafcbed95524eab7f7e4369729be2914a345a8ca1858e2c619618" + }, + { + "draft_id": "00000000000000000000000000000003", + "revision": 3, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "b6fb067edf2c2e42bc0bfd05e3f16d45", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "caba99f7426f1d106633ec2503644f3c3e7277a1ec171177191aa18b040a6de4", + "snapshot_sha256": "4ef27802e0635f5c92ee5dc82de3582423b46bc8966edffe6ca5f358e278b2d5" + }, + { + "draft_id": "00000000000000000000000000000004", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2ef4e3047b6db7aeead32f6cd6246280a6e58d704b31c6d6cad6adef6508d62f", + "snapshot_sha256": "712bae256dd0d459c6b79a8a72d80f56834f19783cda908249dab248d7664f63" + }, + { + "draft_id": "00000000000000000000000000000005", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6353ff5c10f96dd4f97b9cbaf81b68cd4d6ede69d5dde31c3b64c8e88af3ca91", + "snapshot_sha256": "61e5442d608b654a7227757712551f4cdc8f5d54bd8fed20e5b0e793903fe17f" + }, + { + "draft_id": "00000000000000000000000000000006", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d96359a34b7ed35174dd99e5a6afd2aadf89b3d4d3080d90e605dbebe314f129", + "snapshot_sha256": "71b66a58d99a68b85cf8ba3390d9030e3fbd5a6d942597b80b130b39519d4d48" + }, + { + "draft_id": "00000000000000000000000000000007", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8f8962d697dcf27013891a1a810769533707733e2516088237bd8fa27cf908e6", + "snapshot_sha256": "ef2949839928288444bd2727ed04d83272c37debfa2c27e4c917d0154e33e7b1" + }, + { + "draft_id": "00000000000000000000000000000008", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ca353dff0808d1c3390b667b09b64a069e84e1326dbfddc2960d086e60d92fbd", + "snapshot_sha256": "a774dc2cdd3983a0f4a98bfb262d9b7b5a8f94014ed2e85c8d9449ac58bd04c5" + }, + { + "draft_id": "00000000000000000000000000000009", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "07162f9122424c2fb1a65d271c18620531df72a696c7a5039ca4ccf2933f8baf", + "snapshot_sha256": "4394a5fc087801abfc87aa3110ba12f45a491633218e613003763595481bdd56" + }, + { + "draft_id": "0000000000000000000000000000000a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "a9ad79dc7456af07766d0cb7c79d8150a39cb746480e08e873b7fa2ab655a20e", + "snapshot_sha256": "b938e551e73fd0d5ae335da989dcda3d77f33174b854e8143aa5a4b96ba8d90c" + }, + { + "draft_id": "0000000000000000000000000000000b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d1259ef90b0284ae3194acb9afe2c0cfde32b9c8e0942bf50c3526f96d125d8f", + "snapshot_sha256": "87b81ec0e0c89a946537f9a0d6fddeb79864fa19245682b4d981c21dff7c13a8" + }, + { + "draft_id": "0000000000000000000000000000000c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d64730e4568b5d091ed08a51f9800f4daa00c3c1aa89edd393dc5dca5006cc2e", + "snapshot_sha256": "34610ce82eb1dc3a6c8fc5a77238c1dddfad32f18c792d50a05e9a2ce808a1c2" + }, + { + "draft_id": "0000000000000000000000000000000d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "aa9df2b120d2adafc7c412babc2b74d908bf6062a5fd52d562f87b72f12bcfe9", + "snapshot_sha256": "4d7245e3c039344a55752d6c4ae9c75e27ef8ab76b7ff1a0e6a99d214f71b312" + }, + { + "draft_id": "0000000000000000000000000000000e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "bc6a61a4ecc6c7a082edda0e38d76d570fa2a16f860a01d7c913c550fed9e95b", + "snapshot_sha256": "f8de54d4e951f351ecf030ca8529bfac1a904cd6b690a7faa5c789ef1a47dce9" + }, + { + "draft_id": "0000000000000000000000000000000f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "16f325ca6530982dec138383287be2e9b73835b4e8d567a68439c6ac44a8d76d", + "snapshot_sha256": "28a168b2368312a1c58e5a8d022d6746d7241de52a4ac5ab18dc8252df9455c1" + }, + { + "draft_id": "00000000000000000000000000000010", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "15f6cb9bfda6da1196de54ce16fee435cff6e182d0733112429a0744e5e76cb8", + "snapshot_sha256": "146c27810e4c700bdbc07138aaf90660baa8e21bafc103d8d20149dbcd56fd50" + }, + { + "draft_id": "00000000000000000000000000000011", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e40500668daf3828c2aa108fae263c828724c0a0e5359255ac11c1847f2baf5f", + "snapshot_sha256": "3b232ad3bfd990aad206d464b014402c87cdabc91621c355cb3efa4bdaac1d08" + }, + { + "draft_id": "00000000000000000000000000000012", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "630fc40adadbcd2324b75325c6f8dc22a98cc8cc44c808835ab86f111c49cca2", + "snapshot_sha256": "078c18cc24da3abeb8b993e1283a7026862df348e7016f57be6fa1be52a5f7e3" + }, + { + "draft_id": "00000000000000000000000000000013", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3f85232df1c4ae339f858dea46925fca12a968644629e83eac362e71b756ff10", + "snapshot_sha256": "13d237c94c5f02b30d873e91c84c3aae1b34d385d4a489cb27c1ab3cb94e7f3d" + }, + { + "draft_id": "00000000000000000000000000000014", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8c34e75cc0be39ef340dcf8c822d823fb8d90412d9b14382eeb84805abf3a1e7", + "snapshot_sha256": "29baf4f27c89686e93fe79c83ce9f7c816386454d1fe489c874c3772e822535d" + }, + { + "draft_id": "00000000000000000000000000000015", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1d117627f097ed403597c11b79539544b9bc32445873319f97e1c7510b4db921", + "snapshot_sha256": "d2a3c2f860f0643d2db4119874408e6f3c92eaf84cea30c2940410a4e3bd265f" + }, + { + "draft_id": "00000000000000000000000000000016", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1a359e34eaf6333fb772036e84f440355103332141035392f5049861781f7f1b", + "snapshot_sha256": "de4e42af5fa3577fb93645f8462ea13ba144d8e7c1410a4a00d4fe7bd59328f3" + }, + { + "draft_id": "00000000000000000000000000000017", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8f72769e6c380d1bfb4849f58efeedf3513b7a6c354519a89610f77b4f98d0de", + "snapshot_sha256": "cd2ff372612d85631cf4bb83a784508b2bdb7be535fbd81219a3708a0587d215" + }, + { + "draft_id": "00000000000000000000000000000018", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "5eb846a561180de29dcd01d49c7997519352876f9a17ab86127eee98fd0953d1", + "snapshot_sha256": "a8028e11f5303e627b14e08c8f3313ff2c98cffe032ddac588be41bb91f102c2" + }, + { + "draft_id": "00000000000000000000000000000019", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "095dd4db53737c587f5b84207386fe2f6717d41120a77c838259e613145a4c04", + "snapshot_sha256": "5b6ea341dfcbed0cbd88bb680f3d0df05d3cd5e9bc835bf16b221a507d426d60" + }, + { + "draft_id": "0000000000000000000000000000001a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "45d1f1b922ff0dd053c407a24bee75ca844f68d9b7e0d0522749d4f5896cbdc4", + "snapshot_sha256": "16d29946024c989996022e263b6c6e09a6360d8a9db1c1e1bb82380b42722abb" + }, + { + "draft_id": "0000000000000000000000000000001b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8a8aa3f6f8ddcdcc454a0ead164215a65388e74cf6bdd66a75dd7f1c71d596ea", + "snapshot_sha256": "a0a8fc640b5f51707abdcbf909ba6932aa28adfb7871b63bf55c07d3231f798d" + }, + { + "draft_id": "0000000000000000000000000000001c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b2cbef4ba825ab6deaa7082e42125aab5d5329a9a842936b3b1ab54d3a836a93", + "snapshot_sha256": "c97a3d474d72ee7c0e5df35fc3a7c47df52cbaacc8804eb8d06cc33ccd07eb48" + }, + { + "draft_id": "0000000000000000000000000000001d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ec3381e6e56f8b96349adeaf8fe76dd6a586891bc8a6ab361b339084d76bfc6f", + "snapshot_sha256": "5d2ff87c01cbeaf8623137dc5790472a6ce614ae7c5d6761ddfc035009601b61" + }, + { + "draft_id": "0000000000000000000000000000001e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "20801e5126109263a990ba7e4b16d74e1e4a17d6b563889ee1de8fe400c43d9b", + "snapshot_sha256": "fc89692016e72e739a88faea37dac8dafee376fb5ff4a7a8b69fa86abe545c7a" + }, + { + "draft_id": "0000000000000000000000000000001f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "c7b1a564c3f1ae1af5b5195af3cfbd58b2e7b43298315206173042e3cbf6b49b", + "snapshot_sha256": "6ba1468e8e16150434c472fab581ac746d7a1d9ee180dad25df93e32ec5f1d66" + }, + { + "draft_id": "00000000000000000000000000000020", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "5c39a342cce3fa248ccd7b77dd7d638190744361a65d8f71810af052509dced3", + "snapshot_sha256": "e0ab98ac6eda732f9d5d9613f94d2392f88d81c3add6e26cf82ad79724e82891" + }, + { + "draft_id": "00000000000000000000000000000021", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b785b5f973f5460b3218ba5f21aab87b804978be87ed23e4a5aa38601fb033e9", + "snapshot_sha256": "27acca3b74bc50383dce96a44276ef01ac775aa4a1faa66948af3cc5a553c7e3" + }, + { + "draft_id": "00000000000000000000000000000022", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8da8a9c011beb831bc3c4efb4368d25ce0a2c9e2062b53eea2e5e1c390eede64", + "snapshot_sha256": "93b2fa7861f5def2a8df8c49308f3be8219ab67bcdbff055c173b11711ff8159" + }, + { + "draft_id": "00000000000000000000000000000023", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1c2e137ea3f0968516ae42b4fdf71d3f446aa6f5473ee05ea04b3bc453505aca", + "snapshot_sha256": "b46abf389ce6416ce1d8ae342d667941aa8ef538f9decbcaf4ae5658a043bc30" + }, + { + "draft_id": "00000000000000000000000000000024", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "7d3781dcf901cd77674406bb41d89843224956254c3ae6e1de0f902f0459d774", + "snapshot_sha256": "c50c5c150473d0e822a14c7a6deeeb3d11fb1da59f1ed0d34b5b0360e68e988e" + }, + { + "draft_id": "00000000000000000000000000000025", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6f271d6b59e0a415d9f6a26c51f5f23e8feefa555f35342408dcf2ce718288c1", + "snapshot_sha256": "ad279806531b4b6f1da30a9c0afb4c88d96b5b8940caff2f5a108a640d5a9abd" + }, + { + "draft_id": "00000000000000000000000000000026", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "870f3f2bb56297cb595730394dcbb6b019e3371a6aad852cca1ce634d395a04a", + "snapshot_sha256": "0884d35560f8088bad6dc249b86c29f1e86e3d0fa86de7fbd1e89e3eb7cf97c2" + }, + { + "draft_id": "00000000000000000000000000000027", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b8d94f767aea03868b78442ac024eafc2a838355e5b391bc755043f44762c753", + "snapshot_sha256": "9a3101812522ab40243d53ffcd75712ab2abf6c89e085ed4c9d17c64b74a2c95" + }, + { + "draft_id": "00000000000000000000000000000028", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4d352032bdcb050b00115cb9841caad93ec41b2f891974e3eaf51663e1d27c09", + "snapshot_sha256": "c85185f17cbfc7ca85d39d840a4f5ef6f0dea77bfd1e3195e5b6da818eb5d10f" + }, + { + "draft_id": "00000000000000000000000000000029", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2f9121b6c2a067200bf0efef74705a1a0c471d044bce71685c2426cd5e0be947", + "snapshot_sha256": "fba0855ca7949baec627d603e0a8540c697f1fd070676f291b185b8f7902c91d" + }, + { + "draft_id": "0000000000000000000000000000002a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d8dedd8e250ab9f6939b74c6f899dee0d79af4c4a6b0e91dc102b65e64f63a73", + "snapshot_sha256": "807d848d471859dc03240b51a4457cd1913968f2af8cb9332b643a9832b5397e" + }, + { + "draft_id": "0000000000000000000000000000002b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "5e5371869e0ae6a68e3b597cc0386eb50289c7b8230f29517255502c89d2605b", + "snapshot_sha256": "20dc59fad113cec72c54401cdd820d72108aab8c9e6b40e2f9de10a7b5228966" + }, + { + "draft_id": "0000000000000000000000000000002c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1b51c6cec8346f56c209ebc9721fd3120465057688feb6e1d4398247e6bdc9ce", + "snapshot_sha256": "f49726e419c10ca8dd59d16bc75a34defba77f5fc73a5b44773b9b540eced7aa" + }, + { + "draft_id": "0000000000000000000000000000002d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ff54243b0672e9bc57a9e88415f76017ba985b55d8ab929229976824cd2c47a3", + "snapshot_sha256": "29bc085adb5be2c2537107ced29280fd7fd345a50ae9c08c56626283ba95c12c" + }, + { + "draft_id": "0000000000000000000000000000002e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e605c0b8ae6af9d5ab5a6c5d4c999f5b41c2e6acc8f0cd7495eb68d4f13be63f", + "snapshot_sha256": "6d3da38d98df478a45c942b80e3ea309155e92b245cc88cdb5d0bba04a08733b" + }, + { + "draft_id": "0000000000000000000000000000002f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4a8deef887d0d3598360efcb0aac39cc8d7266b96b4a97d39c0c21d5b5b13ec0", + "snapshot_sha256": "bd708ceb14ec64b9f857465bc7eb2bce33a2018323b0be00b966dc60284e46bc" + }, + { + "draft_id": "00000000000000000000000000000030", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e95952e0bf7bdbfe454ef738bc56dfce6013a176b3a2e715f618dca4865de09d", + "snapshot_sha256": "7de083d8e51ff9881357161bbc285b689ae647552e2af9cbbd879d348aad0eca" + }, + { + "draft_id": "00000000000000000000000000000031", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6011b6aaab0946f0b36fd264c09789e788e225a9ec7805be8605ae9421903811", + "snapshot_sha256": "00d41dbbd652a9740204fb9e3feec1350cbebf9b6769f07f9e40c3655ec2085d" + }, + { + "draft_id": "00000000000000000000000000000032", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "68d05edcf47172fc6cc095d8d197f86d081f9d0d935165a642231bc1d4ed1cc2", + "snapshot_sha256": "7c569f5f63f03e30bcc0647c13f2a76dd2aca0326b7acdb003788b72ed8d7fd5" + }, + { + "draft_id": "00000000000000000000000000000033", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6855461668c0f300f83a4b5edb07c9a2ce4a0ff7c2172343345346552089659a", + "snapshot_sha256": "2268b838ffab64a5874a12d554e89c0b69ff4ddf07575bc3b2e213e69ce9c614" + }, + { + "draft_id": "00000000000000000000000000000034", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1fa8fac0fe493f605887ef6f38286f998664c1260c3f2374b61acfd0b52828a6", + "snapshot_sha256": "e86f27d33c77df67b4a71416f477936112e0553a9879c9fa51e39220f799b9df" + }, + { + "draft_id": "00000000000000000000000000000035", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "634925c91cef9928e111bd57e7ea919c18f3d23ed87c55ebe3ca79c6da92dc44", + "snapshot_sha256": "2e7a220714d7af8d45e5b740524122caf498ad8eb144b2b8279fe87e643de3a4" + }, + { + "draft_id": "00000000000000000000000000000036", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "f49dbd8d96867bef87b9d4ef6816703bc48c367af7681566df8f71d0f348700f", + "snapshot_sha256": "f49bff1efec4293ff0d237e4aa752636411b61e772b48c3cd34b9570393f6619" + }, + { + "draft_id": "00000000000000000000000000000037", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8f00e51f879bbf1fd75f53ae0416321ff4a5d51e12941ef87fb1922c0ef42fe9", + "snapshot_sha256": "aaad9f2a9bbb4648c63c30454d6487acf79693b28b1a48313a719e7b9beabd80" + }, + { + "draft_id": "00000000000000000000000000000038", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2cc18522bb4bc48f785ca27449032631bdc8dd1bd2a5784fc1f24e5b590ed388", + "snapshot_sha256": "921b6a8843c3f4645d9d29d7f528add8bc1af56af077abe4b87b51e3d85aee70" + }, + { + "draft_id": "00000000000000000000000000000039", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "606d80015e5eb3a8de1ccae76a7cf3e109fc68199fc87ec3e9554fcbfee0900c", + "snapshot_sha256": "c4bb8c503f2d8badd93995ef1c9590923ea56b13a451eaa3542d41768048a684" + }, + { + "draft_id": "0000000000000000000000000000003a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "7b18ef09cade4e0ca76ee65585a85f2cd8a80abda8ea3c8faaf93a7e9f21a8b6", + "snapshot_sha256": "a916fafb15b5ad7f86adb10626cf44aad55b46e650a8577c272c128fc8ecde93" + }, + { + "draft_id": "0000000000000000000000000000003b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "dea92c5b625d24b7b45ec57777037b251182a4764075247cf78dab840a23890c", + "snapshot_sha256": "2acb56b836b8388b92cbe7af60fb6851374f3d53f7b99610294a5bbf5a101b1d" + }, + { + "draft_id": "0000000000000000000000000000003c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "fd01f889d638eb427447a3872fda719ee0c273d265edc6830994dc4b506fbbed", + "snapshot_sha256": "0249ad3f7e5ffa6eecce4edece54c02fa18ca00a7214d3320a32b38f7b8e3cdb" + }, + { + "draft_id": "0000000000000000000000000000003d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d0188a5af34707649ce583b1c311c787d2c883de24cbc0197c583e63ae73d441", + "snapshot_sha256": "294888d9aa2d3e8da0d1e79e4fb7b2460826671ae26c495029e7b8a36da0ddfc" + }, + { + "draft_id": "0000000000000000000000000000003e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3b1080d12c4e25aa2459902b2ad21f9777897a5de7ce08310666cdfdb1063889", + "snapshot_sha256": "40b92407a0ceedbceb336e0a2ad43c5a2cf3cc1ff33a52fcf17d9786eea795dc" + }, + { + "draft_id": "0000000000000000000000000000003f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "82f158b9f894252c5f838c112c089735e287c3e8872a8945ff32939e59486b0a", + "snapshot_sha256": "69ce5b36223504390f59225075ddc9440285e73d747b143eb965109614427fe0" + }, + { + "draft_id": "00000000000000000000000000000040", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d8d7db86ded4dccd9d792b3ef3b7a5e85b5e971f4bad3c0c18066d1d83aca118", + "snapshot_sha256": "a1f55865beb1a646f9e0cea4146ad53db27b95847b31485a3c1a0730b3819009" + }, + { + "draft_id": "00000000000000000000000000000041", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d36906ec2217f27bb4b646dbbf7db9287a30382cf3d2f44e5a0ad7e88fbc936b", + "snapshot_sha256": "683e8570fad0c1a3cda84d7de5ae4dd9a49b37bf939ca332ab1b7eb1e7a3f007" + }, + { + "draft_id": "00000000000000000000000000000042", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "dba5aa55680ae0e133c0b17baf5cde630aec6a44a02c1ff04ec4bd19cd6fe12f", + "snapshot_sha256": "3c80424a3902b4519e17404f0305d68d910e13490954c57f1fd63d1574aac104" + }, + { + "draft_id": "00000000000000000000000000000043", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6e27c380256a5a24dc4dc411a563e8a38e6e38c4ddcf7f5abbccd4a1f8a7c126", + "snapshot_sha256": "12adc5b8a73d0f691dc75aaa05fd88f218f40344a8fcf28eff73d32225e8362d" + }, + { + "draft_id": "00000000000000000000000000000044", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "dad1dd4c2ea12489a99aeff5dd01451aba8ef6ffaf36f989eac90098f2be802a", + "snapshot_sha256": "c0759432e15bc097d2832f71f8c312ca1f450add32dcb3f882d9b92d867ea4b1" + }, + { + "draft_id": "00000000000000000000000000000045", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d360f04143c6613c427e95d1587bfb6563afdbc5df4cb8ae6ebd5ba7ae6ac27f", + "snapshot_sha256": "4f21f037ddc728c656a77d6426603438a82c9db9a647875031cccbb8fb67d243" + }, + { + "draft_id": "00000000000000000000000000000046", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "7872a895fc2215b93c51d6d1743c00fe22de2f2a42b66e9e7215cf5f681e2538", + "snapshot_sha256": "af4fed1ba690750bf701eb1d715bbd4a492c58780543395aaf45d6bdc0e78623" + }, + { + "draft_id": "00000000000000000000000000000047", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4a7b8440609f87ba80067fd703047a7451d1ba6b862b3d103f8d8f83d19e4f00", + "snapshot_sha256": "9f17fcd8becb4a04648f04267cdcae7ff3941b7b24509a02aa3016ad72e15798" + }, + { + "draft_id": "00000000000000000000000000000048", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6535c043c542e40b1e3d218ead34e698ea174f69593eeee29b849a0e77fb7fa6", + "snapshot_sha256": "44c3ea924a7a15232cb54d55183de0b89256ad5a381fe696641bdd4864a993f7" + }, + { + "draft_id": "00000000000000000000000000000049", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "266520c2d56df3f141336a61229256f3cd2858f55c5615f345359f18b3395f43", + "snapshot_sha256": "740b08d6a14e32cee7d4553dee0ed915d655d328e9b4d6a96125938d7bf78723" + }, + { + "draft_id": "0000000000000000000000000000004a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "9d74aa6be89f6b40336166068d2ddb2ee1f6714b0d1c4f36787eb2b3242151cd", + "snapshot_sha256": "706bf5abe7f6279cd6cf10c5d2b7460d54aa73835f4d38304ddc2e7031e58e9a" + }, + { + "draft_id": "0000000000000000000000000000004b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "547c7bc55a2cbd6ae31665bccfad9080aea445d13dfce849624f29496862f12e", + "snapshot_sha256": "9fcee87b33400cc725444fc4dd9e9fc1ab8194201ba5e5f6720c13c7eb435460" + }, + { + "draft_id": "0000000000000000000000000000004c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "0ee54a731ad9e936669be07a4605029b42b6366980c6e5ca1403f21c37a7e834", + "snapshot_sha256": "1db1863b8876476a3e291671c2246c537eb2b045e4fa9ab09bf18930ca2a3285" + }, + { + "draft_id": "0000000000000000000000000000004d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3a0a8991c0704c29db5093a9a93c56f4393b29834973cc655e1d7fba03cb5946", + "snapshot_sha256": "e624e2a426f9b9135d6efbec746261c83c0e0c027650ae89c98f5aa5172fab3b" + }, + { + "draft_id": "0000000000000000000000000000004e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "47dacb2fcd15a511e5064b7f7238bdae0ecc879dd5b54715445deefbf397564b", + "snapshot_sha256": "288b6fade5d685fe51663de70d283de89b8edbdc10183e1ecc59cb793f334508" + }, + { + "draft_id": "0000000000000000000000000000004f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e48b5fe04a00ea3889ee00276750d45aa4d599058d102588ec28e634491dfbcc", + "snapshot_sha256": "67ff3bb2ea0b11771400fd1286b71aa9af3171af6408af3af87dda13cef8ca51" + }, + { + "draft_id": "00000000000000000000000000000050", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ffc0883e720968b41d7539d4a56d9568ed1326698d3b2f4a9a40ba81fa56278d", + "snapshot_sha256": "ce124c94c8d82d92fe6b5a24690f6ca7d0fc14f797c2da1956bee645ee6cfd80" + }, + { + "draft_id": "00000000000000000000000000000051", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "a2eace6b75ee5f902e40651045f534a09c0241b9259ff931b5287fdf59c2ea32", + "snapshot_sha256": "1b62fa5e4cbe7dc5b9022b39150e260ec0b17e7c33403cad8b3a99556f3fd556" + }, + { + "draft_id": "00000000000000000000000000000052", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "004e07b3d41b86cd1980c3e8aaa905452f87651021b293f224ef03ee800084fd", + "snapshot_sha256": "108f00e9f89598066fcb5f37659b8a45986a5013e4fa393e265cf38b9c35985d" + }, + { + "draft_id": "00000000000000000000000000000053", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "bc40af55638e1ea5ab1f54734a5bd820b689d20cb312b0b474ddcd85b879f78b", + "snapshot_sha256": "a097bc61e904c03688a36e3616842425a3e3b20f5bbbe3efaa8de5cbb8e5bd74" + }, + { + "draft_id": "00000000000000000000000000000054", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "a59b8a82f20f14a90c44f70ee909d3903970577f1dbf0273e984f780c6bea681", + "snapshot_sha256": "b61fef946f3fdcc12edf4a8c395584e22937f1d7d24d2333061325aeaac5ec08" + }, + { + "draft_id": "00000000000000000000000000000055", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2bfc313f36ec76e8eae585ee7e5f649841b8092b9344d9d8e212a31752b1585f", + "snapshot_sha256": "635817522d0b74f534c4566cf60b5d8bb42b2b7240fc79b5efee76eb74231e74" + }, + { + "draft_id": "00000000000000000000000000000056", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "59eb6f6b99a7b912854267eaae12781e92f0443b31cda4cc45e2c9db4467142a", + "snapshot_sha256": "aec2f6c206ded6bba538079e5d195af2cdfd0d91ac430e0a47c796d844c4eeb0" + }, + { + "draft_id": "00000000000000000000000000000057", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "c3c754e1fd6777da73215afed0b028460a2c6729b78025e7d0f517e2f4d7f938", + "snapshot_sha256": "60df0486a6d588bb64f58a0a28c430ba8f0d207ab1e96a5d198b1ffc133fd56e" + }, + { + "draft_id": "00000000000000000000000000000058", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e38b9561ff10ab51028ae94dc4d1555d2b44202e2de9afd523a4969ee74bdcc3", + "snapshot_sha256": "abcfdf2c68828e93297c3a6075acd881e6e2fa1a74e20dc7e794d8ecb6007bdf" + }, + { + "draft_id": "00000000000000000000000000000059", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "799b24c657874b78818412ca42b84117d68168849a70c0603629ff1838f2751d", + "snapshot_sha256": "4f158e5e02c9f484045e2f7313d25c114bf9eb3f8e2e853f0fdf8a138d07b37d" + }, + { + "draft_id": "0000000000000000000000000000005a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d6aa17806721241008703b238884f7092066fc8860514934c68e20459ae8a737", + "snapshot_sha256": "270df0b5cf4407810065d82ef884ea673eaa707e73c274783268556df8c22d28" + }, + { + "draft_id": "0000000000000000000000000000005b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "75bde5e0009b041a94a4919bcd4b470be89102904919d9badcd15f6b140423dd", + "snapshot_sha256": "10286816454ab34f9a70fafd436a26353b9da94dde631fbc1bb7afa650d34ab1" + }, + { + "draft_id": "0000000000000000000000000000005c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4b7fab56f8c0625a3e94dcbb75c1146a48177e6967f00580054ae2d244c40af6", + "snapshot_sha256": "ed56af94d7c2e3ebd16e16231311bbe5fd41c7d0feeb124ef51eedd49788f7a8" + }, + { + "draft_id": "0000000000000000000000000000005d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "f32144e3bb470de9288776a5ebca5edd4fd97f2431b01da51457068bfebfeccd", + "snapshot_sha256": "e77fd3b31656b053737b251ef4fe2aa7a20be2d71378336927791ac9eb4fe45b" + }, + { + "draft_id": "0000000000000000000000000000005e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6c7d957577d7034ef60f547d9215e0a6844642c7dbeee6f9a91e2744ca24b8e6", + "snapshot_sha256": "983a21960b7f110124e73e796fa53a1293e6ecc2121c20b03036eb731b1c13c0" + }, + { + "draft_id": "0000000000000000000000000000005f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "13e05e63130b4b4579913cd5c43cff644dd0c474b88c97b10ee1beb9ce12ba63", + "snapshot_sha256": "ef5b826b9a9fb0a464666b53864c0c343114ed9aeae082f687212c0b2a774c48" + }, + { + "draft_id": "00000000000000000000000000000060", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d7a51ee7aaadba533204ac08731cd7ff8fb672dcba84a51491b0b40536704409", + "snapshot_sha256": "7f1a3c017a5c369b40bf7aec03bee2e61aedcab0ea0e4eaeefb0cfab611eb62f" + }, + { + "draft_id": "00000000000000000000000000000061", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "502c4754f92b99cbb4df6717051daee936bc546fd69eef69b6a7c20f05cc4e7b", + "snapshot_sha256": "d76bd311362f650c2f1642043830d2d766548adc68af2c9c3c7ad57d182ee8e0" + }, + { + "draft_id": "00000000000000000000000000000062", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d401bdcfc5daf6eee1881c3be94aa5f6b45ea29bf421d3adec324040fedb0ef2", + "snapshot_sha256": "b2edaef68815a3c88df5f879ddef5f1cde97f2ea82907b476c47f912cea5a27a" + }, + { + "draft_id": "00000000000000000000000000000063", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ebc8a004ce146d43ab3ca2abbe04633335eb47c6118196e6944d13e194307843", + "snapshot_sha256": "fd33d282867eca23c36016377408ab795dfd1129600dd76b16ea8a510d69f6a3" + }, + { + "draft_id": "00000000000000000000000000000064", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2bf9c711ed8f8c52d39cb59312b7079db655ec65924e539af7a22f476d6d9066", + "snapshot_sha256": "f545fbe2c44fc5e92200a30740f63b5bb4e441e2eafb0539e316b76525316826" + }, + { + "draft_id": "00000000000000000000000000000065", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6ac967c6ad1f31cb1cddc513c691fbfd9bc390580bc965a3d3d3d0321bb2edee", + "snapshot_sha256": "7fd48ed5c06df0a8fd66d3a23c6d188c4f4795ee222afb7303581ffce1526188" + }, + { + "draft_id": "00000000000000000000000000000066", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d9cc246cd93e61794a170d85a8d244e3cd0e32ba213071c15942f800c6713585", + "snapshot_sha256": "e0bc1a462d03b80bc29fd74a8b4facd8bca8f70e35b1d8a3373b548c4ca0ec05" + }, + { + "draft_id": "00000000000000000000000000000067", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "c5dd0fe9ee08cd78726d917ce4e1ee399dae2b8207ac3938ed8ead7e5c2dc130", + "snapshot_sha256": "8ce959d0d76c8666a94a0431510e5b97ecc8e73a4ca12b86c42af87036f5e4f2" + }, + { + "draft_id": "00000000000000000000000000000068", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3192c87aac66623421ac507c0d3d2da2c8e41c3e73d8b35bdfe535ac4e213b37", + "snapshot_sha256": "07c407fdcf080c4409e0b262bd95dc47dd50079f9440c61a2b66aa4720feddd8" + }, + { + "draft_id": "00000000000000000000000000000069", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d348fdcbca041f5319958018df5635756b3d5c1ba7ae39f31360053896819264", + "snapshot_sha256": "e670cb333408f9d89fd2c7be1ce9516e79a8af468ec52052ea1577c102dcd002" + }, + { + "draft_id": "0000000000000000000000000000006a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b599e428c4bcf6703e163e5875c591feab18f2972eb4421f62b02f05bb89563e", + "snapshot_sha256": "2bbc16ebdc23d079b882e24aedeafe5a8a592ae1b2777d0261f4042e7acb1937" + } + ], + "draft_count": 106, + "signed_event": { + "event_id": "0779f25308b7d459a240ef9d5c084a6dad58cbec5f112fba165b6a7feb9fea38", + "raw_json": "{\"id\":\"0779f25308b7d459a240ef9d5c084a6dad58cbec5f112fba165b6a7feb9fea38\",\"pubkey\":\"85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5\",\"created_at\":1786000000,\"kind\":1,\"tags\":[],\"content\":\"Historical synthetic draft 3 e\u0301\",\"sig\":\"8974e3f7e7be8c05813dc36890dd9b1e978bcb30357a27ae3cb21104670eb7f015eb2a255a111453da5223782c61eda963f78c0783e6a43891e4880308bed42d\"}", + "raw_sha256": "d07a7072e040d02c9ef6750f70a46e3ad34e5cdfa29168c31f0a84e4aa2ae800" + }, + "limits": "Actual historical synthetic owner bytes; no real account, credential, OS enqueue, device or external delivery.", + "negative_derivatives": { + "unsupported_version": { + "source_sha256": "41488c1079b9933e36916137ca68012c6e5d056ec3393d580ac289da74924fb8", + "derived_sha256": "7a7f468f7bfc261188a00c438b3ef77491f6876a1a199a13bf375de055dba9d9", + "only_mutation": "PRAGMA user_version = 18", + "purpose": "Explicit negative startup-refusal input, never a positive historical write." + }, + "damaged_catalog": { + "source_sha256": "41488c1079b9933e36916137ca68012c6e5d056ec3393d580ac289da74924fb8", + "derived_sha256": "126e919d928c7a4752c5a368c42003c02f0621a9dae85d083b31835e58ec6e33", + "only_mutation": "DROP TRIGGER radroots_runtime_authored_draft_revisions_update_guard", + "purpose": "Explicit negative startup-refusal input, never a positive historical write." + } + } + }, + "files": { + "data/background_transfers/transfers.json": "39c2d6724685bdd0b4355a122e6528257ff3678c2359e650032df78814020e49", + "data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/.radroots-storage-writer.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/private.sqlite": "841cb37ee7a7b10df6f96880081ce1a20f6e584f57361a800c7c40238c5333c8", + "data/radroots/users/85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5/runtime.sqlite": "41488c1079b9933e36916137ca68012c6e5d056ec3393d580ac289da74924fb8", + "data/settings/radroots_configuration_v3.json": "2948a52386862c318bda562cf34e8d3a5c4c0735e0b0957226eb9bc8e0f23d79", + "data/state/source_generation_v1.json": "5c5af06826c1bf4ee1f5a3d8d6102f14b71bfeec292006aa7ec3307fd96834a7", + "host-metadata.json": "17a5159b0b727f9287ba73aca255371d377fc2b0278b17f9b982080195f2d6a8", + "native-metadata.json": "910370a889868e6ea1f4f347cb87d77a125c895f3982ba59127a51776d93aaa9", + "owner-expectations.json": "da5cb7042c08466e4dccdddea9e8e62a0f0257dc636c6d2518869e505d7a0c67", + "refusal_inputs/damaged_catalog/runtime.sqlite": "126e919d928c7a4752c5a368c42003c02f0621a9dae85d083b31835e58ec6e33", + "refusal_inputs/unsupported_version/runtime.sqlite": "7a7f468f7bfc261188a00c438b3ef77491f6876a1a199a13bf375de055dba9d9", + "rust-metadata.json": "5d0637b5b966e5b98e80c91403bcbef8bd4f858ee8bd59fbf2141a09d3fe7e75", + "tmp/staged_blobs/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d": "f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d" + }, + "limits": "Synthetic old actual owner writes, media preparation and typed native persistence. No old complete app binary, OS transfer, physical device, Keychain secret, network publication or byte-identical regeneration claim." +} diff --git a/test-fixtures/legacy_upgrade_v1/native-metadata.json b/test-fixtures/legacy_upgrade_v1/native-metadata.json @@ -0,0 +1,8 @@ +{ + "limit" : "Actual old typed persistence; no physical OS upload\/termination claim.", + "media_sha256" : "f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d", + "native_identifier" : "radroots.add.00000000000000000000000000000001.2.bfe0aa719eb24d7c87180db4fc3491ae", + "public_key" : "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "source_generation" : "0f71049d3c9674edc170cd02c6f6c8589591befb2646590bc0dc54d5274433ba", + "state" : "awaitingVerification" +} +\ No newline at end of file diff --git a/test-fixtures/legacy_upgrade_v1/owner-expectations.json b/test-fixtures/legacy_upgrade_v1/owner-expectations.json @@ -0,0 +1,1051 @@ +{ + "state": "HISTORICAL_WRITER_ADMITTED_CURRENT_READERS_PENDING", + "actual_case_receipts": { + "historical-host": { + "method": "testProduceHistoricalOwnerBytes", + "log_sha256": "18793f9adc44a93519773ef83c21c266433c1fb11d26624da1cc6ff97b80ac35" + }, + "historical-rust": { + "method": "produce_pre_refactor_owner_state", + "log_sha256": "5c6a82cc6679242d16816c1d2190076998cf00920a08668fe3a7466cbe647e5b" + }, + "historical-transfer": { + "method": "testProduceHistoricalOwnerBytes", + "log_sha256": "80d61194ca1bb28b12e5e2171790a3eaa3c4d2f11a4f0fad6ce76c6847cad670" + } + }, + "databases": { + "runtime": { + "user_version": 13, + "application_id": 1380209236, + "catalog_sha256": "6be7c33e6b5712ab4e1ab4ddaf0a6511bb071a7fd76eab3ffb71c208eb226c5f" + }, + "private": { + "user_version": 4, + "application_id": 1380208722, + "catalog_sha256": "c4e576e11885c127d1f8da10a1ac8c3f7a5c88944d6a9f1fb75b8b02ce7d4795" + } + }, + "revisions": [ + { + "draft_id": "00000000000000000000000000000001", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d720f61fcc460a8848326cf68f2a11d02c1b8fc04dd892ac5a1466cfa18b0237", + "snapshot_sha256": "f4a85317789021e7ece2e0512aa000d3c6857d09a00c05abaf53f6a551a43fd1" + }, + { + "draft_id": "00000000000000000000000000000001", + "revision": 2, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "f5039426929d2c2c78b85f9f09c709f74e80a304c82c06bd9fb10e12c9a4d2fb", + "snapshot_sha256": "cc008c24b13208b10f8e0b7c51ac3eeda7d44543408095c7efcfc3ae2a24d099" + }, + { + "draft_id": "00000000000000000000000000000002", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6fda8d0be00d55eefd10903a61f7d18f167bd273dd38cb4facf830a016635050", + "snapshot_sha256": "f0c2d368eb5f1fc9b4df996030699727930ddbbd6b34d2907ed4d711f44c4fbd" + }, + { + "draft_id": "00000000000000000000000000000002", + "revision": 2, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "1b5b25e3a16add8c2ba005f5cc3257fc", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e22114928682ced0f8d05313f0598673b98748db3a38b6fdb1f8a078c2686ecf", + "snapshot_sha256": "2b26c19705e985cdcc495b75dc9aae56c4b19c8b5b8dabc82ce5423df398ec5a" + }, + { + "draft_id": "00000000000000000000000000000002", + "revision": 3, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "1b5b25e3a16add8c2ba005f5cc3257fc", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e22114928682ced0f8d05313f0598673b98748db3a38b6fdb1f8a078c2686ecf", + "snapshot_sha256": "e7dd0fb267b31a0b8df1283dee7c5818bad539d454400828cc693ac1aea5177b" + }, + { + "draft_id": "00000000000000000000000000000003", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "cd45ae159f85ebfb242bd91bce4ac74fb1e2c934f66418684d00d06a97e72c0a", + "snapshot_sha256": "0967cd5278af75742834e5e3d584082fc467d64ec34797bbc5bb51442a220bcd" + }, + { + "draft_id": "00000000000000000000000000000003", + "revision": 2, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "b6fb067edf2c2e42bc0bfd05e3f16d45", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "caba99f7426f1d106633ec2503644f3c3e7277a1ec171177191aa18b040a6de4", + "snapshot_sha256": "bbe9d483c7efafcbed95524eab7f7e4369729be2914a345a8ca1858e2c619618" + }, + { + "draft_id": "00000000000000000000000000000003", + "revision": 3, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": "b6fb067edf2c2e42bc0bfd05e3f16d45", + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "caba99f7426f1d106633ec2503644f3c3e7277a1ec171177191aa18b040a6de4", + "snapshot_sha256": "4ef27802e0635f5c92ee5dc82de3582423b46bc8966edffe6ca5f358e278b2d5" + }, + { + "draft_id": "00000000000000000000000000000004", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2ef4e3047b6db7aeead32f6cd6246280a6e58d704b31c6d6cad6adef6508d62f", + "snapshot_sha256": "712bae256dd0d459c6b79a8a72d80f56834f19783cda908249dab248d7664f63" + }, + { + "draft_id": "00000000000000000000000000000005", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6353ff5c10f96dd4f97b9cbaf81b68cd4d6ede69d5dde31c3b64c8e88af3ca91", + "snapshot_sha256": "61e5442d608b654a7227757712551f4cdc8f5d54bd8fed20e5b0e793903fe17f" + }, + { + "draft_id": "00000000000000000000000000000006", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d96359a34b7ed35174dd99e5a6afd2aadf89b3d4d3080d90e605dbebe314f129", + "snapshot_sha256": "71b66a58d99a68b85cf8ba3390d9030e3fbd5a6d942597b80b130b39519d4d48" + }, + { + "draft_id": "00000000000000000000000000000007", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8f8962d697dcf27013891a1a810769533707733e2516088237bd8fa27cf908e6", + "snapshot_sha256": "ef2949839928288444bd2727ed04d83272c37debfa2c27e4c917d0154e33e7b1" + }, + { + "draft_id": "00000000000000000000000000000008", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ca353dff0808d1c3390b667b09b64a069e84e1326dbfddc2960d086e60d92fbd", + "snapshot_sha256": "a774dc2cdd3983a0f4a98bfb262d9b7b5a8f94014ed2e85c8d9449ac58bd04c5" + }, + { + "draft_id": "00000000000000000000000000000009", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "07162f9122424c2fb1a65d271c18620531df72a696c7a5039ca4ccf2933f8baf", + "snapshot_sha256": "4394a5fc087801abfc87aa3110ba12f45a491633218e613003763595481bdd56" + }, + { + "draft_id": "0000000000000000000000000000000a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "a9ad79dc7456af07766d0cb7c79d8150a39cb746480e08e873b7fa2ab655a20e", + "snapshot_sha256": "b938e551e73fd0d5ae335da989dcda3d77f33174b854e8143aa5a4b96ba8d90c" + }, + { + "draft_id": "0000000000000000000000000000000b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d1259ef90b0284ae3194acb9afe2c0cfde32b9c8e0942bf50c3526f96d125d8f", + "snapshot_sha256": "87b81ec0e0c89a946537f9a0d6fddeb79864fa19245682b4d981c21dff7c13a8" + }, + { + "draft_id": "0000000000000000000000000000000c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d64730e4568b5d091ed08a51f9800f4daa00c3c1aa89edd393dc5dca5006cc2e", + "snapshot_sha256": "34610ce82eb1dc3a6c8fc5a77238c1dddfad32f18c792d50a05e9a2ce808a1c2" + }, + { + "draft_id": "0000000000000000000000000000000d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "aa9df2b120d2adafc7c412babc2b74d908bf6062a5fd52d562f87b72f12bcfe9", + "snapshot_sha256": "4d7245e3c039344a55752d6c4ae9c75e27ef8ab76b7ff1a0e6a99d214f71b312" + }, + { + "draft_id": "0000000000000000000000000000000e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "bc6a61a4ecc6c7a082edda0e38d76d570fa2a16f860a01d7c913c550fed9e95b", + "snapshot_sha256": "f8de54d4e951f351ecf030ca8529bfac1a904cd6b690a7faa5c789ef1a47dce9" + }, + { + "draft_id": "0000000000000000000000000000000f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "16f325ca6530982dec138383287be2e9b73835b4e8d567a68439c6ac44a8d76d", + "snapshot_sha256": "28a168b2368312a1c58e5a8d022d6746d7241de52a4ac5ab18dc8252df9455c1" + }, + { + "draft_id": "00000000000000000000000000000010", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "15f6cb9bfda6da1196de54ce16fee435cff6e182d0733112429a0744e5e76cb8", + "snapshot_sha256": "146c27810e4c700bdbc07138aaf90660baa8e21bafc103d8d20149dbcd56fd50" + }, + { + "draft_id": "00000000000000000000000000000011", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e40500668daf3828c2aa108fae263c828724c0a0e5359255ac11c1847f2baf5f", + "snapshot_sha256": "3b232ad3bfd990aad206d464b014402c87cdabc91621c355cb3efa4bdaac1d08" + }, + { + "draft_id": "00000000000000000000000000000012", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "630fc40adadbcd2324b75325c6f8dc22a98cc8cc44c808835ab86f111c49cca2", + "snapshot_sha256": "078c18cc24da3abeb8b993e1283a7026862df348e7016f57be6fa1be52a5f7e3" + }, + { + "draft_id": "00000000000000000000000000000013", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3f85232df1c4ae339f858dea46925fca12a968644629e83eac362e71b756ff10", + "snapshot_sha256": "13d237c94c5f02b30d873e91c84c3aae1b34d385d4a489cb27c1ab3cb94e7f3d" + }, + { + "draft_id": "00000000000000000000000000000014", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8c34e75cc0be39ef340dcf8c822d823fb8d90412d9b14382eeb84805abf3a1e7", + "snapshot_sha256": "29baf4f27c89686e93fe79c83ce9f7c816386454d1fe489c874c3772e822535d" + }, + { + "draft_id": "00000000000000000000000000000015", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1d117627f097ed403597c11b79539544b9bc32445873319f97e1c7510b4db921", + "snapshot_sha256": "d2a3c2f860f0643d2db4119874408e6f3c92eaf84cea30c2940410a4e3bd265f" + }, + { + "draft_id": "00000000000000000000000000000016", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1a359e34eaf6333fb772036e84f440355103332141035392f5049861781f7f1b", + "snapshot_sha256": "de4e42af5fa3577fb93645f8462ea13ba144d8e7c1410a4a00d4fe7bd59328f3" + }, + { + "draft_id": "00000000000000000000000000000017", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8f72769e6c380d1bfb4849f58efeedf3513b7a6c354519a89610f77b4f98d0de", + "snapshot_sha256": "cd2ff372612d85631cf4bb83a784508b2bdb7be535fbd81219a3708a0587d215" + }, + { + "draft_id": "00000000000000000000000000000018", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "5eb846a561180de29dcd01d49c7997519352876f9a17ab86127eee98fd0953d1", + "snapshot_sha256": "a8028e11f5303e627b14e08c8f3313ff2c98cffe032ddac588be41bb91f102c2" + }, + { + "draft_id": "00000000000000000000000000000019", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "095dd4db53737c587f5b84207386fe2f6717d41120a77c838259e613145a4c04", + "snapshot_sha256": "5b6ea341dfcbed0cbd88bb680f3d0df05d3cd5e9bc835bf16b221a507d426d60" + }, + { + "draft_id": "0000000000000000000000000000001a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "45d1f1b922ff0dd053c407a24bee75ca844f68d9b7e0d0522749d4f5896cbdc4", + "snapshot_sha256": "16d29946024c989996022e263b6c6e09a6360d8a9db1c1e1bb82380b42722abb" + }, + { + "draft_id": "0000000000000000000000000000001b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8a8aa3f6f8ddcdcc454a0ead164215a65388e74cf6bdd66a75dd7f1c71d596ea", + "snapshot_sha256": "a0a8fc640b5f51707abdcbf909ba6932aa28adfb7871b63bf55c07d3231f798d" + }, + { + "draft_id": "0000000000000000000000000000001c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b2cbef4ba825ab6deaa7082e42125aab5d5329a9a842936b3b1ab54d3a836a93", + "snapshot_sha256": "c97a3d474d72ee7c0e5df35fc3a7c47df52cbaacc8804eb8d06cc33ccd07eb48" + }, + { + "draft_id": "0000000000000000000000000000001d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ec3381e6e56f8b96349adeaf8fe76dd6a586891bc8a6ab361b339084d76bfc6f", + "snapshot_sha256": "5d2ff87c01cbeaf8623137dc5790472a6ce614ae7c5d6761ddfc035009601b61" + }, + { + "draft_id": "0000000000000000000000000000001e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "20801e5126109263a990ba7e4b16d74e1e4a17d6b563889ee1de8fe400c43d9b", + "snapshot_sha256": "fc89692016e72e739a88faea37dac8dafee376fb5ff4a7a8b69fa86abe545c7a" + }, + { + "draft_id": "0000000000000000000000000000001f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "c7b1a564c3f1ae1af5b5195af3cfbd58b2e7b43298315206173042e3cbf6b49b", + "snapshot_sha256": "6ba1468e8e16150434c472fab581ac746d7a1d9ee180dad25df93e32ec5f1d66" + }, + { + "draft_id": "00000000000000000000000000000020", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "5c39a342cce3fa248ccd7b77dd7d638190744361a65d8f71810af052509dced3", + "snapshot_sha256": "e0ab98ac6eda732f9d5d9613f94d2392f88d81c3add6e26cf82ad79724e82891" + }, + { + "draft_id": "00000000000000000000000000000021", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b785b5f973f5460b3218ba5f21aab87b804978be87ed23e4a5aa38601fb033e9", + "snapshot_sha256": "27acca3b74bc50383dce96a44276ef01ac775aa4a1faa66948af3cc5a553c7e3" + }, + { + "draft_id": "00000000000000000000000000000022", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8da8a9c011beb831bc3c4efb4368d25ce0a2c9e2062b53eea2e5e1c390eede64", + "snapshot_sha256": "93b2fa7861f5def2a8df8c49308f3be8219ab67bcdbff055c173b11711ff8159" + }, + { + "draft_id": "00000000000000000000000000000023", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1c2e137ea3f0968516ae42b4fdf71d3f446aa6f5473ee05ea04b3bc453505aca", + "snapshot_sha256": "b46abf389ce6416ce1d8ae342d667941aa8ef538f9decbcaf4ae5658a043bc30" + }, + { + "draft_id": "00000000000000000000000000000024", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "7d3781dcf901cd77674406bb41d89843224956254c3ae6e1de0f902f0459d774", + "snapshot_sha256": "c50c5c150473d0e822a14c7a6deeeb3d11fb1da59f1ed0d34b5b0360e68e988e" + }, + { + "draft_id": "00000000000000000000000000000025", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6f271d6b59e0a415d9f6a26c51f5f23e8feefa555f35342408dcf2ce718288c1", + "snapshot_sha256": "ad279806531b4b6f1da30a9c0afb4c88d96b5b8940caff2f5a108a640d5a9abd" + }, + { + "draft_id": "00000000000000000000000000000026", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "870f3f2bb56297cb595730394dcbb6b019e3371a6aad852cca1ce634d395a04a", + "snapshot_sha256": "0884d35560f8088bad6dc249b86c29f1e86e3d0fa86de7fbd1e89e3eb7cf97c2" + }, + { + "draft_id": "00000000000000000000000000000027", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b8d94f767aea03868b78442ac024eafc2a838355e5b391bc755043f44762c753", + "snapshot_sha256": "9a3101812522ab40243d53ffcd75712ab2abf6c89e085ed4c9d17c64b74a2c95" + }, + { + "draft_id": "00000000000000000000000000000028", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4d352032bdcb050b00115cb9841caad93ec41b2f891974e3eaf51663e1d27c09", + "snapshot_sha256": "c85185f17cbfc7ca85d39d840a4f5ef6f0dea77bfd1e3195e5b6da818eb5d10f" + }, + { + "draft_id": "00000000000000000000000000000029", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2f9121b6c2a067200bf0efef74705a1a0c471d044bce71685c2426cd5e0be947", + "snapshot_sha256": "fba0855ca7949baec627d603e0a8540c697f1fd070676f291b185b8f7902c91d" + }, + { + "draft_id": "0000000000000000000000000000002a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d8dedd8e250ab9f6939b74c6f899dee0d79af4c4a6b0e91dc102b65e64f63a73", + "snapshot_sha256": "807d848d471859dc03240b51a4457cd1913968f2af8cb9332b643a9832b5397e" + }, + { + "draft_id": "0000000000000000000000000000002b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "5e5371869e0ae6a68e3b597cc0386eb50289c7b8230f29517255502c89d2605b", + "snapshot_sha256": "20dc59fad113cec72c54401cdd820d72108aab8c9e6b40e2f9de10a7b5228966" + }, + { + "draft_id": "0000000000000000000000000000002c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1b51c6cec8346f56c209ebc9721fd3120465057688feb6e1d4398247e6bdc9ce", + "snapshot_sha256": "f49726e419c10ca8dd59d16bc75a34defba77f5fc73a5b44773b9b540eced7aa" + }, + { + "draft_id": "0000000000000000000000000000002d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ff54243b0672e9bc57a9e88415f76017ba985b55d8ab929229976824cd2c47a3", + "snapshot_sha256": "29bc085adb5be2c2537107ced29280fd7fd345a50ae9c08c56626283ba95c12c" + }, + { + "draft_id": "0000000000000000000000000000002e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e605c0b8ae6af9d5ab5a6c5d4c999f5b41c2e6acc8f0cd7495eb68d4f13be63f", + "snapshot_sha256": "6d3da38d98df478a45c942b80e3ea309155e92b245cc88cdb5d0bba04a08733b" + }, + { + "draft_id": "0000000000000000000000000000002f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4a8deef887d0d3598360efcb0aac39cc8d7266b96b4a97d39c0c21d5b5b13ec0", + "snapshot_sha256": "bd708ceb14ec64b9f857465bc7eb2bce33a2018323b0be00b966dc60284e46bc" + }, + { + "draft_id": "00000000000000000000000000000030", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e95952e0bf7bdbfe454ef738bc56dfce6013a176b3a2e715f618dca4865de09d", + "snapshot_sha256": "7de083d8e51ff9881357161bbc285b689ae647552e2af9cbbd879d348aad0eca" + }, + { + "draft_id": "00000000000000000000000000000031", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6011b6aaab0946f0b36fd264c09789e788e225a9ec7805be8605ae9421903811", + "snapshot_sha256": "00d41dbbd652a9740204fb9e3feec1350cbebf9b6769f07f9e40c3655ec2085d" + }, + { + "draft_id": "00000000000000000000000000000032", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "68d05edcf47172fc6cc095d8d197f86d081f9d0d935165a642231bc1d4ed1cc2", + "snapshot_sha256": "7c569f5f63f03e30bcc0647c13f2a76dd2aca0326b7acdb003788b72ed8d7fd5" + }, + { + "draft_id": "00000000000000000000000000000033", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6855461668c0f300f83a4b5edb07c9a2ce4a0ff7c2172343345346552089659a", + "snapshot_sha256": "2268b838ffab64a5874a12d554e89c0b69ff4ddf07575bc3b2e213e69ce9c614" + }, + { + "draft_id": "00000000000000000000000000000034", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "1fa8fac0fe493f605887ef6f38286f998664c1260c3f2374b61acfd0b52828a6", + "snapshot_sha256": "e86f27d33c77df67b4a71416f477936112e0553a9879c9fa51e39220f799b9df" + }, + { + "draft_id": "00000000000000000000000000000035", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "634925c91cef9928e111bd57e7ea919c18f3d23ed87c55ebe3ca79c6da92dc44", + "snapshot_sha256": "2e7a220714d7af8d45e5b740524122caf498ad8eb144b2b8279fe87e643de3a4" + }, + { + "draft_id": "00000000000000000000000000000036", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "f49dbd8d96867bef87b9d4ef6816703bc48c367af7681566df8f71d0f348700f", + "snapshot_sha256": "f49bff1efec4293ff0d237e4aa752636411b61e772b48c3cd34b9570393f6619" + }, + { + "draft_id": "00000000000000000000000000000037", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "8f00e51f879bbf1fd75f53ae0416321ff4a5d51e12941ef87fb1922c0ef42fe9", + "snapshot_sha256": "aaad9f2a9bbb4648c63c30454d6487acf79693b28b1a48313a719e7b9beabd80" + }, + { + "draft_id": "00000000000000000000000000000038", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2cc18522bb4bc48f785ca27449032631bdc8dd1bd2a5784fc1f24e5b590ed388", + "snapshot_sha256": "921b6a8843c3f4645d9d29d7f528add8bc1af56af077abe4b87b51e3d85aee70" + }, + { + "draft_id": "00000000000000000000000000000039", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "606d80015e5eb3a8de1ccae76a7cf3e109fc68199fc87ec3e9554fcbfee0900c", + "snapshot_sha256": "c4bb8c503f2d8badd93995ef1c9590923ea56b13a451eaa3542d41768048a684" + }, + { + "draft_id": "0000000000000000000000000000003a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "7b18ef09cade4e0ca76ee65585a85f2cd8a80abda8ea3c8faaf93a7e9f21a8b6", + "snapshot_sha256": "a916fafb15b5ad7f86adb10626cf44aad55b46e650a8577c272c128fc8ecde93" + }, + { + "draft_id": "0000000000000000000000000000003b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "dea92c5b625d24b7b45ec57777037b251182a4764075247cf78dab840a23890c", + "snapshot_sha256": "2acb56b836b8388b92cbe7af60fb6851374f3d53f7b99610294a5bbf5a101b1d" + }, + { + "draft_id": "0000000000000000000000000000003c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "fd01f889d638eb427447a3872fda719ee0c273d265edc6830994dc4b506fbbed", + "snapshot_sha256": "0249ad3f7e5ffa6eecce4edece54c02fa18ca00a7214d3320a32b38f7b8e3cdb" + }, + { + "draft_id": "0000000000000000000000000000003d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d0188a5af34707649ce583b1c311c787d2c883de24cbc0197c583e63ae73d441", + "snapshot_sha256": "294888d9aa2d3e8da0d1e79e4fb7b2460826671ae26c495029e7b8a36da0ddfc" + }, + { + "draft_id": "0000000000000000000000000000003e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3b1080d12c4e25aa2459902b2ad21f9777897a5de7ce08310666cdfdb1063889", + "snapshot_sha256": "40b92407a0ceedbceb336e0a2ad43c5a2cf3cc1ff33a52fcf17d9786eea795dc" + }, + { + "draft_id": "0000000000000000000000000000003f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "82f158b9f894252c5f838c112c089735e287c3e8872a8945ff32939e59486b0a", + "snapshot_sha256": "69ce5b36223504390f59225075ddc9440285e73d747b143eb965109614427fe0" + }, + { + "draft_id": "00000000000000000000000000000040", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d8d7db86ded4dccd9d792b3ef3b7a5e85b5e971f4bad3c0c18066d1d83aca118", + "snapshot_sha256": "a1f55865beb1a646f9e0cea4146ad53db27b95847b31485a3c1a0730b3819009" + }, + { + "draft_id": "00000000000000000000000000000041", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d36906ec2217f27bb4b646dbbf7db9287a30382cf3d2f44e5a0ad7e88fbc936b", + "snapshot_sha256": "683e8570fad0c1a3cda84d7de5ae4dd9a49b37bf939ca332ab1b7eb1e7a3f007" + }, + { + "draft_id": "00000000000000000000000000000042", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "dba5aa55680ae0e133c0b17baf5cde630aec6a44a02c1ff04ec4bd19cd6fe12f", + "snapshot_sha256": "3c80424a3902b4519e17404f0305d68d910e13490954c57f1fd63d1574aac104" + }, + { + "draft_id": "00000000000000000000000000000043", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6e27c380256a5a24dc4dc411a563e8a38e6e38c4ddcf7f5abbccd4a1f8a7c126", + "snapshot_sha256": "12adc5b8a73d0f691dc75aaa05fd88f218f40344a8fcf28eff73d32225e8362d" + }, + { + "draft_id": "00000000000000000000000000000044", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "dad1dd4c2ea12489a99aeff5dd01451aba8ef6ffaf36f989eac90098f2be802a", + "snapshot_sha256": "c0759432e15bc097d2832f71f8c312ca1f450add32dcb3f882d9b92d867ea4b1" + }, + { + "draft_id": "00000000000000000000000000000045", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d360f04143c6613c427e95d1587bfb6563afdbc5df4cb8ae6ebd5ba7ae6ac27f", + "snapshot_sha256": "4f21f037ddc728c656a77d6426603438a82c9db9a647875031cccbb8fb67d243" + }, + { + "draft_id": "00000000000000000000000000000046", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "7872a895fc2215b93c51d6d1743c00fe22de2f2a42b66e9e7215cf5f681e2538", + "snapshot_sha256": "af4fed1ba690750bf701eb1d715bbd4a492c58780543395aaf45d6bdc0e78623" + }, + { + "draft_id": "00000000000000000000000000000047", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4a7b8440609f87ba80067fd703047a7451d1ba6b862b3d103f8d8f83d19e4f00", + "snapshot_sha256": "9f17fcd8becb4a04648f04267cdcae7ff3941b7b24509a02aa3016ad72e15798" + }, + { + "draft_id": "00000000000000000000000000000048", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6535c043c542e40b1e3d218ead34e698ea174f69593eeee29b849a0e77fb7fa6", + "snapshot_sha256": "44c3ea924a7a15232cb54d55183de0b89256ad5a381fe696641bdd4864a993f7" + }, + { + "draft_id": "00000000000000000000000000000049", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "266520c2d56df3f141336a61229256f3cd2858f55c5615f345359f18b3395f43", + "snapshot_sha256": "740b08d6a14e32cee7d4553dee0ed915d655d328e9b4d6a96125938d7bf78723" + }, + { + "draft_id": "0000000000000000000000000000004a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "9d74aa6be89f6b40336166068d2ddb2ee1f6714b0d1c4f36787eb2b3242151cd", + "snapshot_sha256": "706bf5abe7f6279cd6cf10c5d2b7460d54aa73835f4d38304ddc2e7031e58e9a" + }, + { + "draft_id": "0000000000000000000000000000004b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "547c7bc55a2cbd6ae31665bccfad9080aea445d13dfce849624f29496862f12e", + "snapshot_sha256": "9fcee87b33400cc725444fc4dd9e9fc1ab8194201ba5e5f6720c13c7eb435460" + }, + { + "draft_id": "0000000000000000000000000000004c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "0ee54a731ad9e936669be07a4605029b42b6366980c6e5ca1403f21c37a7e834", + "snapshot_sha256": "1db1863b8876476a3e291671c2246c537eb2b045e4fa9ab09bf18930ca2a3285" + }, + { + "draft_id": "0000000000000000000000000000004d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3a0a8991c0704c29db5093a9a93c56f4393b29834973cc655e1d7fba03cb5946", + "snapshot_sha256": "e624e2a426f9b9135d6efbec746261c83c0e0c027650ae89c98f5aa5172fab3b" + }, + { + "draft_id": "0000000000000000000000000000004e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "47dacb2fcd15a511e5064b7f7238bdae0ecc879dd5b54715445deefbf397564b", + "snapshot_sha256": "288b6fade5d685fe51663de70d283de89b8edbdc10183e1ecc59cb793f334508" + }, + { + "draft_id": "0000000000000000000000000000004f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e48b5fe04a00ea3889ee00276750d45aa4d599058d102588ec28e634491dfbcc", + "snapshot_sha256": "67ff3bb2ea0b11771400fd1286b71aa9af3171af6408af3af87dda13cef8ca51" + }, + { + "draft_id": "00000000000000000000000000000050", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ffc0883e720968b41d7539d4a56d9568ed1326698d3b2f4a9a40ba81fa56278d", + "snapshot_sha256": "ce124c94c8d82d92fe6b5a24690f6ca7d0fc14f797c2da1956bee645ee6cfd80" + }, + { + "draft_id": "00000000000000000000000000000051", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "a2eace6b75ee5f902e40651045f534a09c0241b9259ff931b5287fdf59c2ea32", + "snapshot_sha256": "1b62fa5e4cbe7dc5b9022b39150e260ec0b17e7c33403cad8b3a99556f3fd556" + }, + { + "draft_id": "00000000000000000000000000000052", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "004e07b3d41b86cd1980c3e8aaa905452f87651021b293f224ef03ee800084fd", + "snapshot_sha256": "108f00e9f89598066fcb5f37659b8a45986a5013e4fa393e265cf38b9c35985d" + }, + { + "draft_id": "00000000000000000000000000000053", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "bc40af55638e1ea5ab1f54734a5bd820b689d20cb312b0b474ddcd85b879f78b", + "snapshot_sha256": "a097bc61e904c03688a36e3616842425a3e3b20f5bbbe3efaa8de5cbb8e5bd74" + }, + { + "draft_id": "00000000000000000000000000000054", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "a59b8a82f20f14a90c44f70ee909d3903970577f1dbf0273e984f780c6bea681", + "snapshot_sha256": "b61fef946f3fdcc12edf4a8c395584e22937f1d7d24d2333061325aeaac5ec08" + }, + { + "draft_id": "00000000000000000000000000000055", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2bfc313f36ec76e8eae585ee7e5f649841b8092b9344d9d8e212a31752b1585f", + "snapshot_sha256": "635817522d0b74f534c4566cf60b5d8bb42b2b7240fc79b5efee76eb74231e74" + }, + { + "draft_id": "00000000000000000000000000000056", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "59eb6f6b99a7b912854267eaae12781e92f0443b31cda4cc45e2c9db4467142a", + "snapshot_sha256": "aec2f6c206ded6bba538079e5d195af2cdfd0d91ac430e0a47c796d844c4eeb0" + }, + { + "draft_id": "00000000000000000000000000000057", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "c3c754e1fd6777da73215afed0b028460a2c6729b78025e7d0f517e2f4d7f938", + "snapshot_sha256": "60df0486a6d588bb64f58a0a28c430ba8f0d207ab1e96a5d198b1ffc133fd56e" + }, + { + "draft_id": "00000000000000000000000000000058", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "e38b9561ff10ab51028ae94dc4d1555d2b44202e2de9afd523a4969ee74bdcc3", + "snapshot_sha256": "abcfdf2c68828e93297c3a6075acd881e6e2fa1a74e20dc7e794d8ecb6007bdf" + }, + { + "draft_id": "00000000000000000000000000000059", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "799b24c657874b78818412ca42b84117d68168849a70c0603629ff1838f2751d", + "snapshot_sha256": "4f158e5e02c9f484045e2f7313d25c114bf9eb3f8e2e853f0fdf8a138d07b37d" + }, + { + "draft_id": "0000000000000000000000000000005a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d6aa17806721241008703b238884f7092066fc8860514934c68e20459ae8a737", + "snapshot_sha256": "270df0b5cf4407810065d82ef884ea673eaa707e73c274783268556df8c22d28" + }, + { + "draft_id": "0000000000000000000000000000005b", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "75bde5e0009b041a94a4919bcd4b470be89102904919d9badcd15f6b140423dd", + "snapshot_sha256": "10286816454ab34f9a70fafd436a26353b9da94dde631fbc1bb7afa650d34ab1" + }, + { + "draft_id": "0000000000000000000000000000005c", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "4b7fab56f8c0625a3e94dcbb75c1146a48177e6967f00580054ae2d244c40af6", + "snapshot_sha256": "ed56af94d7c2e3ebd16e16231311bbe5fd41c7d0feeb124ef51eedd49788f7a8" + }, + { + "draft_id": "0000000000000000000000000000005d", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "f32144e3bb470de9288776a5ebca5edd4fd97f2431b01da51457068bfebfeccd", + "snapshot_sha256": "e77fd3b31656b053737b251ef4fe2aa7a20be2d71378336927791ac9eb4fe45b" + }, + { + "draft_id": "0000000000000000000000000000005e", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6c7d957577d7034ef60f547d9215e0a6844642c7dbeee6f9a91e2744ca24b8e6", + "snapshot_sha256": "983a21960b7f110124e73e796fa53a1293e6ecc2121c20b03036eb731b1c13c0" + }, + { + "draft_id": "0000000000000000000000000000005f", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "13e05e63130b4b4579913cd5c43cff644dd0c474b88c97b10ee1beb9ce12ba63", + "snapshot_sha256": "ef5b826b9a9fb0a464666b53864c0c343114ed9aeae082f687212c0b2a774c48" + }, + { + "draft_id": "00000000000000000000000000000060", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d7a51ee7aaadba533204ac08731cd7ff8fb672dcba84a51491b0b40536704409", + "snapshot_sha256": "7f1a3c017a5c369b40bf7aec03bee2e61aedcab0ea0e4eaeefb0cfab611eb62f" + }, + { + "draft_id": "00000000000000000000000000000061", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "502c4754f92b99cbb4df6717051daee936bc546fd69eef69b6a7c20f05cc4e7b", + "snapshot_sha256": "d76bd311362f650c2f1642043830d2d766548adc68af2c9c3c7ad57d182ee8e0" + }, + { + "draft_id": "00000000000000000000000000000062", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d401bdcfc5daf6eee1881c3be94aa5f6b45ea29bf421d3adec324040fedb0ef2", + "snapshot_sha256": "b2edaef68815a3c88df5f879ddef5f1cde97f2ea82907b476c47f912cea5a27a" + }, + { + "draft_id": "00000000000000000000000000000063", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "ebc8a004ce146d43ab3ca2abbe04633335eb47c6118196e6944d13e194307843", + "snapshot_sha256": "fd33d282867eca23c36016377408ab795dfd1129600dd76b16ea8a510d69f6a3" + }, + { + "draft_id": "00000000000000000000000000000064", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "2bf9c711ed8f8c52d39cb59312b7079db655ec65924e539af7a22f476d6d9066", + "snapshot_sha256": "f545fbe2c44fc5e92200a30740f63b5bb4e441e2eafb0539e316b76525316826" + }, + { + "draft_id": "00000000000000000000000000000065", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "6ac967c6ad1f31cb1cddc513c691fbfd9bc390580bc965a3d3d3d0321bb2edee", + "snapshot_sha256": "7fd48ed5c06df0a8fd66d3a23c6d188c4f4795ee222afb7303581ffce1526188" + }, + { + "draft_id": "00000000000000000000000000000066", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d9cc246cd93e61794a170d85a8d244e3cd0e32ba213071c15942f800c6713585", + "snapshot_sha256": "e0bc1a462d03b80bc29fd74a8b4facd8bca8f70e35b1d8a3373b548c4ca0ec05" + }, + { + "draft_id": "00000000000000000000000000000067", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "c5dd0fe9ee08cd78726d917ce4e1ee399dae2b8207ac3938ed8ead7e5c2dc130", + "snapshot_sha256": "8ce959d0d76c8666a94a0431510e5b97ecc8e73a4ca12b86c42af87036f5e4f2" + }, + { + "draft_id": "00000000000000000000000000000068", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "3192c87aac66623421ac507c0d3d2da2c8e41c3e73d8b35bdfe535ac4e213b37", + "snapshot_sha256": "07c407fdcf080c4409e0b262bd95dc47dd50079f9440c61a2b66aa4720feddd8" + }, + { + "draft_id": "00000000000000000000000000000069", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "d348fdcbca041f5319958018df5635756b3d5c1ba7ae39f31360053896819264", + "snapshot_sha256": "e670cb333408f9d89fd2c7be1ce9516e79a8af468ec52052ea1577c102dcd002" + }, + { + "draft_id": "0000000000000000000000000000006a", + "revision": 1, + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "operation_id": null, + "payload_schema": "radroots.mobile.phase1-draft.v1", + "payload_sha256": "b599e428c4bcf6703e163e5875c591feab18f2972eb4421f62b02f05bb89563e", + "snapshot_sha256": "2bbc16ebdc23d079b882e24aedeafe5a8a592ae1b2777d0261f4042e7acb1937" + } + ], + "draft_count": 106, + "signed_event": { + "event_id": "0779f25308b7d459a240ef9d5c084a6dad58cbec5f112fba165b6a7feb9fea38", + "raw_json": "{\"id\":\"0779f25308b7d459a240ef9d5c084a6dad58cbec5f112fba165b6a7feb9fea38\",\"pubkey\":\"85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5\",\"created_at\":1786000000,\"kind\":1,\"tags\":[],\"content\":\"Historical synthetic draft 3 e\u0301\",\"sig\":\"8974e3f7e7be8c05813dc36890dd9b1e978bcb30357a27ae3cb21104670eb7f015eb2a255a111453da5223782c61eda963f78c0783e6a43891e4880308bed42d\"}", + "raw_sha256": "d07a7072e040d02c9ef6750f70a46e3ad34e5cdfa29168c31f0a84e4aa2ae800" + }, + "limits": "Actual historical synthetic owner bytes; no real account, credential, OS enqueue, device or external delivery.", + "negative_derivatives": { + "unsupported_version": { + "source_sha256": "41488c1079b9933e36916137ca68012c6e5d056ec3393d580ac289da74924fb8", + "derived_sha256": "7a7f468f7bfc261188a00c438b3ef77491f6876a1a199a13bf375de055dba9d9", + "only_mutation": "PRAGMA user_version = 18", + "purpose": "Explicit negative startup-refusal input, never a positive historical write." + }, + "damaged_catalog": { + "source_sha256": "41488c1079b9933e36916137ca68012c6e5d056ec3393d580ac289da74924fb8", + "derived_sha256": "126e919d928c7a4752c5a368c42003c02f0621a9dae85d083b31835e58ec6e33", + "only_mutation": "DROP TRIGGER radroots_runtime_authored_draft_revisions_update_guard", + "purpose": "Explicit negative startup-refusal input, never a positive historical write." + } + } +} diff --git a/test-fixtures/legacy_upgrade_v1/refusal_inputs/damaged_catalog/runtime.sqlite b/test-fixtures/legacy_upgrade_v1/refusal_inputs/damaged_catalog/runtime.sqlite Binary files differ. diff --git a/test-fixtures/legacy_upgrade_v1/refusal_inputs/unsupported_version/runtime.sqlite b/test-fixtures/legacy_upgrade_v1/refusal_inputs/unsupported_version/runtime.sqlite Binary files differ. diff --git a/test-fixtures/legacy_upgrade_v1/rust-metadata.json b/test-fixtures/legacy_upgrade_v1/rust-metadata.json @@ -0,0 +1,1197 @@ +{ + "actual_first_page_count": 100, + "authorization_scan": "Actual closed owner files contain no returned upload authorization header; its value is never emitted.", + "drafts": [ + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "03d17ef3821c29049a3f07759686c6989ba4bd1d07be747b23d80df1beaf0a23", + "created_at_unix_ms": 1786000000000, + "draft_id": "00000000000000000000000000000001", + "operation_id": null, + "revision": 2, + "settlement": null, + "state": "MediaUploading", + "updated_at_unix_ms": 1790973112015 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "2309fb9e77b0ef45c692d438b299062fd071d99a8ba52bea6a9891dd3328af69", + "created_at_unix_ms": 1790973112023, + "draft_id": "00000000000000000000000000000002", + "operation_id": "1b5b25e3a16add8c2ba005f5cc3257fc", + "revision": 3, + "settlement": { + "admitted": 0, + "delivery_plans": 1, + "delivery_satisfied": 0, + "pending": 1, + "signed": 0 + }, + "state": "Queued", + "updated_at_unix_ms": 1790973112023 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "bc7e699fc47c375d31bd2b29b961b07959e140a0ab097b87995589b2045262b7", + "created_at_unix_ms": 1790973112031, + "draft_id": "00000000000000000000000000000003", + "operation_id": "b6fb067edf2c2e42bc0bfd05e3f16d45", + "revision": 3, + "settlement": { + "admitted": 0, + "delivery_plans": 1, + "delivery_satisfied": 0, + "pending": 1, + "signed": 1 + }, + "state": "Signed", + "updated_at_unix_ms": 1790973112031 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "90dc17a3909a0873935c44f3c0f8a00dc003b944db9d58231aba7f904d102631", + "created_at_unix_ms": 1790973112051, + "draft_id": "00000000000000000000000000000004", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112051 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "8aa508332621bb14d0c5c8dff2cb239e272ce75fc6f7a05189c06b8b7b40bd09", + "created_at_unix_ms": 1790973112054, + "draft_id": "00000000000000000000000000000005", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112054 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "d87a33853ffebf7cf33d693f2e6db488bd9146dca0763232d3c1eaa53d50305c", + "created_at_unix_ms": 1790973112055, + "draft_id": "00000000000000000000000000000006", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112055 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7a4c6ac15645478330f530f1a1058dcfbb37a49edb08a67c5fd73954f5a989d2", + "created_at_unix_ms": 1790973112057, + "draft_id": "00000000000000000000000000000007", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112057 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "42dc15146324a16c580c5c415b9cd68e280831de7988fcfa4384010a63299dbd", + "created_at_unix_ms": 1790973112059, + "draft_id": "00000000000000000000000000000008", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112059 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "6af2c22e85e785c6439287ad08f6fcf0d683979fd4f3a689c6b718208b138957", + "created_at_unix_ms": 1790973112060, + "draft_id": "00000000000000000000000000000009", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112060 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "274f6d03a6d33c8c92ddbde211e1238ab4b2d0dc0126ede955462891c9d08211", + "created_at_unix_ms": 1790973112062, + "draft_id": "0000000000000000000000000000000a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112062 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7a394d04f131e370220637331495619832198bb1e6455bf50ac89ecaa5efddea", + "created_at_unix_ms": 1790973112063, + "draft_id": "0000000000000000000000000000000b", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112063 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "0fbc50bee5261ff1bf95bb7f803d081dd6a9c263926c433c464ae4c4d7145e36", + "created_at_unix_ms": 1790973112065, + "draft_id": "0000000000000000000000000000000c", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112065 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "30b413e255be663602b66c8aabbd7ebb6a20848117dfb7cc6eb7e0d680755a39", + "created_at_unix_ms": 1790973112066, + "draft_id": "0000000000000000000000000000000d", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112066 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "543c7f33152f45541b6ed8ceb2ed1bc5b647bc78240f15b332d45f645abbabbe", + "created_at_unix_ms": 1790973112068, + "draft_id": "0000000000000000000000000000000e", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112068 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "37e5c3c02dfb6cc894bbfd0f1a63acf322e3d602f30622e36c39b4b1723089f3", + "created_at_unix_ms": 1790973112069, + "draft_id": "0000000000000000000000000000000f", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112069 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "9178ad357d0defe86e9dcebe597b01e61ca4b4fcf5fb3a28632472307d876291", + "created_at_unix_ms": 1790973112070, + "draft_id": "00000000000000000000000000000010", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112070 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "92da423c6d82b682e1b3e49a569d1fe042468bdb8baab955538e6488fb1e322f", + "created_at_unix_ms": 1790973112072, + "draft_id": "00000000000000000000000000000011", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112072 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7753b4f871e4173f70bdd833281ab7f528c796cd151f9137b99bb752b5b679f2", + "created_at_unix_ms": 1790973112073, + "draft_id": "00000000000000000000000000000012", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112073 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "cd578523f01981b8be1e3a974130832f2df965aaeb15150ff58d489ce62ed421", + "created_at_unix_ms": 1790973112075, + "draft_id": "00000000000000000000000000000013", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112075 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "bd72cee4f091fdc8229ad940c1f3ced510c6bc5d1066228312ace262c3050beb", + "created_at_unix_ms": 1790973112076, + "draft_id": "00000000000000000000000000000014", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112076 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "bac2cce84962f58d0478ae3080061078afc7ead21e49dd289331c80b71b1c970", + "created_at_unix_ms": 1790973112077, + "draft_id": "00000000000000000000000000000015", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112077 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "12ecff11b544b847e12de788640e5a544a8fbab73e44ed6ba5cbca83c27e246d", + "created_at_unix_ms": 1790973112079, + "draft_id": "00000000000000000000000000000016", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112079 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "b5aad4d3a398876f742a62a38cc56db8cdc49691698b226fd0f95ef7d84efbbd", + "created_at_unix_ms": 1790973112080, + "draft_id": "00000000000000000000000000000017", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112080 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "26304cab3bd94a2fe4aaf292341f5cdeaa278db4a65f04c769555c34dfe331a1", + "created_at_unix_ms": 1790973112082, + "draft_id": "00000000000000000000000000000018", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112082 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "95537b0ba502c78a4356ce49b6a87043a4a61f4f8b7db3779b1225ce047d5e56", + "created_at_unix_ms": 1790973112083, + "draft_id": "00000000000000000000000000000019", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112083 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "60177893d691acd00326087ea04b06616776f942242bb43e65095c94b4134203", + "created_at_unix_ms": 1790973112084, + "draft_id": "0000000000000000000000000000001a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112084 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "b95d4449a916050a52a8f71eb9800796f092c7f2953da941bd87c4bc9e38823f", + "created_at_unix_ms": 1790973112086, + "draft_id": "0000000000000000000000000000001b", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112086 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7f1aabf52072eba854669bbcb7f00e9cf3e267d6ff7e2e0915859477ba88e439", + "created_at_unix_ms": 1790973112087, + "draft_id": "0000000000000000000000000000001c", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112087 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "d9c44d6accddcf4175bd88050cd19c504aa2120c4e30996c9c8f271a6e220fa0", + "created_at_unix_ms": 1790973112089, + "draft_id": "0000000000000000000000000000001d", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112089 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "f5c7c66b8019fbb05f0b48f4f7670f4bf0cd62782bf39ff9589010ba9c03080d", + "created_at_unix_ms": 1790973112090, + "draft_id": "0000000000000000000000000000001e", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112090 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "61de753c70b1c284f9591ea29b3b1b24ab4f07c2d3140c1b9832fa85728ffcf2", + "created_at_unix_ms": 1790973112092, + "draft_id": "0000000000000000000000000000001f", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112092 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "8b039c53f6bda6521a380b20d5eb82557eec372e245e256a07fa003e52ba07dc", + "created_at_unix_ms": 1790973112093, + "draft_id": "00000000000000000000000000000020", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112093 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "24c5bc10bf7c2d20acaecf65dc6d2843a62f4998563123f43c8e42cff210c9c2", + "created_at_unix_ms": 1790973112094, + "draft_id": "00000000000000000000000000000021", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112094 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "6e493739bb9612dfb837f84461591ae4fc7d2cbc85b09809a4b10fd7787a173a", + "created_at_unix_ms": 1790973112096, + "draft_id": "00000000000000000000000000000022", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112096 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "3fc1e67ca6fe17540885870d6e8f86ee3b9fd797b1f7c02ea26c0180eeba876d", + "created_at_unix_ms": 1790973112097, + "draft_id": "00000000000000000000000000000023", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112097 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "67c3fdab33ff4bf0e4b4dd04791050c3904bb9185b61175c418daa4b3d702b56", + "created_at_unix_ms": 1790973112099, + "draft_id": "00000000000000000000000000000024", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112099 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "1d7219c666247b2ccd69ef9f68f35f542b095a3ddaa64e5e1e4a4bcf0f3721c8", + "created_at_unix_ms": 1790973112100, + "draft_id": "00000000000000000000000000000025", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112100 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "f3d3dee1210d72d87ba16f43a6eb48ea5d74abb8c0c1aa2c50d3804e39937365", + "created_at_unix_ms": 1790973112102, + "draft_id": "00000000000000000000000000000026", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112102 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "f06852431c043d826af47d36b64b748d5e59943d6fc17cc14f781b605cdf0a39", + "created_at_unix_ms": 1790973112103, + "draft_id": "00000000000000000000000000000027", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112103 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "c6e83e3a0e594f9c7c657f27d51fa05281eb06ee65bb32533070803efb4ed94d", + "created_at_unix_ms": 1790973112105, + "draft_id": "00000000000000000000000000000028", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112105 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "eff3051450d74bebdf19cdd7f824bb5be03cb54366dee569de357159548b89e9", + "created_at_unix_ms": 1790973112106, + "draft_id": "00000000000000000000000000000029", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112106 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "89c95475fac9611139b63f89d9df97ace53f38e4684fb43c123e07dc978f79bc", + "created_at_unix_ms": 1790973112107, + "draft_id": "0000000000000000000000000000002a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112107 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "f238235f79227a86b0dcef003bd290d0a4956ae914e7d539441e76fc95fa703d", + "created_at_unix_ms": 1790973112109, + "draft_id": "0000000000000000000000000000002b", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112109 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "661a9499db90e79b6ae2bcd546b3ec2f887ce29fcbb027257154f1270e3ede1c", + "created_at_unix_ms": 1790973112110, + "draft_id": "0000000000000000000000000000002c", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112110 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "66a44a3a17f38d2fcaedae812c3d0ca591a1b94cb5b35af592b918f6ad7c158b", + "created_at_unix_ms": 1790973112112, + "draft_id": "0000000000000000000000000000002d", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112112 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "11327bb95ebb8589daaf42891d69a9828f1fed62993ed645ef3d0369b7dbef40", + "created_at_unix_ms": 1790973112113, + "draft_id": "0000000000000000000000000000002e", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112113 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "c4b9c06b8646ee4cfb26c0aa1038decefd37162f8f87a9ba5d247864d062c2b0", + "created_at_unix_ms": 1790973112115, + "draft_id": "0000000000000000000000000000002f", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112115 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "ee958e42612fa2f44e81d7605a49e8b2dd2e51f6dc55e6e79f08232cf31830cf", + "created_at_unix_ms": 1790973112116, + "draft_id": "00000000000000000000000000000030", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112116 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "d57e97ab41a46dc0d5174e71f9495068c37cb1748fa794b0d7a32303e1fccea4", + "created_at_unix_ms": 1790973112118, + "draft_id": "00000000000000000000000000000031", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112118 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "1ff3f004925315da1a784f410733878c677c099d30c4df44320fe1f7de614ba6", + "created_at_unix_ms": 1790973112119, + "draft_id": "00000000000000000000000000000032", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112119 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "3b41d13cfcf09094984c0c612c765aa368620c9d5be1943dd1f08b5f083c2a05", + "created_at_unix_ms": 1790973112120, + "draft_id": "00000000000000000000000000000033", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112120 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "79b3366b04669cb4915ca64b4a98f150ee8b6b621c9cef7563351f94507ecedc", + "created_at_unix_ms": 1790973112122, + "draft_id": "00000000000000000000000000000034", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112122 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "cedae71530c62091edb9873f9a137a397988ca31bc560a4fe343c414cb76d173", + "created_at_unix_ms": 1790973112123, + "draft_id": "00000000000000000000000000000035", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112123 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7d9fd0c8f5486fab77c8348bd8b8fca66ba4ca21d8b34d1f8ab07af31588335e", + "created_at_unix_ms": 1790973112125, + "draft_id": "00000000000000000000000000000036", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112125 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "21da257d79303e98c42e90d3da518256e463b8a191682f0932c1ecc66eea136b", + "created_at_unix_ms": 1790973112126, + "draft_id": "00000000000000000000000000000037", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112126 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "e6f459fe2e1a037089e9019737ef3716cfbd01f5a71d59b42bee250a2c0d8b4f", + "created_at_unix_ms": 1790973112127, + "draft_id": "00000000000000000000000000000038", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112127 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "69d63591d314b599fd69be40405587e255014e317d8e3b331a1b673e1d2bfbab", + "created_at_unix_ms": 1790973112129, + "draft_id": "00000000000000000000000000000039", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112129 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "33d3cc36052d1b3fd2af924c0ce94560a05ddefcd30dc5066f23a6d95677f32f", + "created_at_unix_ms": 1790973112130, + "draft_id": "0000000000000000000000000000003a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112130 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "253943756d63a0d9c06a3b43c59598777f51a4894837a01a42c559a6aca0d7c1", + "created_at_unix_ms": 1790973112132, + "draft_id": "0000000000000000000000000000003b", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112132 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "b6b4b833e0da8d51198c6462c548f8f7a5aad67a78746619627d9868e5bc0adb", + "created_at_unix_ms": 1790973112133, + "draft_id": "0000000000000000000000000000003c", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112133 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "2fa03f1e9bad96811e2bc5d336a384c3856687c29dee3ad59c7b091a1296bb8d", + "created_at_unix_ms": 1790973112134, + "draft_id": "0000000000000000000000000000003d", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112134 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "eb90bb8dafeee25070167c1b16f49925c865f9f8b92439aa99d1f33208aec082", + "created_at_unix_ms": 1790973112136, + "draft_id": "0000000000000000000000000000003e", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112136 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "a28df39d42bffab96457871137b9913a7131f4fe82234ad7f0711e10450a4585", + "created_at_unix_ms": 1790973112137, + "draft_id": "0000000000000000000000000000003f", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112137 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "b1fe6c55471a43a131b0bf4bd3c51c9ae52a7da277561d2f3600bcddd57c238b", + "created_at_unix_ms": 1790973112139, + "draft_id": "00000000000000000000000000000040", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112139 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "3d77728a878b441710339637b98bbdeb626456e86f9bf071c7f116f10d93b27e", + "created_at_unix_ms": 1790973112140, + "draft_id": "00000000000000000000000000000041", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112140 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "346c4bd98444a9674d5cbc7e0325fe17016969c2e4a852b12be29ab7de1b299a", + "created_at_unix_ms": 1790973112141, + "draft_id": "00000000000000000000000000000042", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112141 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "a650d0e388321d1198494741b347ae71e3daa6b2d8dc7b474b88185543fc33bc", + "created_at_unix_ms": 1790973112143, + "draft_id": "00000000000000000000000000000043", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112143 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "92e42d8e5df3fc88de224b50a47d0e3df143889b74fe9175ce4c55f8f43b8362", + "created_at_unix_ms": 1790973112144, + "draft_id": "00000000000000000000000000000044", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112144 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "262a1e1a13d0096fd9f4950bb03931256600e016065c246f0d3a4a7dfc6fb059", + "created_at_unix_ms": 1790973112146, + "draft_id": "00000000000000000000000000000045", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112146 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "0029cc18db0b0c5be80bc6f7c51d6a375a86e74f9a40bc6394a201af6508090f", + "created_at_unix_ms": 1790973112147, + "draft_id": "00000000000000000000000000000046", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112147 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "d95d1fb3eb219b821037fd0e8cd292f397155e48b23fce35aea41ad377ce23da", + "created_at_unix_ms": 1790973112149, + "draft_id": "00000000000000000000000000000047", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112149 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "5f97f00f001c50f09bc968fd5aa7b45834de9f2b7507fc74973838eb9e01d7eb", + "created_at_unix_ms": 1790973112150, + "draft_id": "00000000000000000000000000000048", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112150 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "a8efb78dd407b437092cd13c312d641886593d947abfb3162790cc55b9e7a0bb", + "created_at_unix_ms": 1790973112151, + "draft_id": "00000000000000000000000000000049", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112151 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "d3e2ab027e7692e5ff6df7abdf67bc00dead349f5f5ce0a5d7b85e5d209ec551", + "created_at_unix_ms": 1790973112153, + "draft_id": "0000000000000000000000000000004a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112153 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "562a8a0bb9289b26d9ba5d30a9bdb753a37309b2110401357f08a3a62602e2b4", + "created_at_unix_ms": 1790973112154, + "draft_id": "0000000000000000000000000000004b", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112154 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "e1af294707939bdf59ba1340603b168e2830d160c84c78fc5ce6441c0efe6999", + "created_at_unix_ms": 1790973112156, + "draft_id": "0000000000000000000000000000004c", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112156 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "3ba65cc27036f8a124d1c54d802fbf40fad9d76c13ce0344606b34e55db71d69", + "created_at_unix_ms": 1790973112157, + "draft_id": "0000000000000000000000000000004d", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112157 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "aecef7f207ada417e98609243f877813b3eabaf8cd52a02ad9c62bdd51259089", + "created_at_unix_ms": 1790973112158, + "draft_id": "0000000000000000000000000000004e", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112158 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "4c5143ff3516fbb506e29f78ab55a036e5667f9ce01ba64a391d9a2bad785e55", + "created_at_unix_ms": 1790973112160, + "draft_id": "0000000000000000000000000000004f", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112160 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "2005ac5aff0531522080bf3537a1cea8b76d013b914826b9bd3dea32b3a0e4bb", + "created_at_unix_ms": 1790973112161, + "draft_id": "00000000000000000000000000000050", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112161 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7f6e58aec096f36131019199f914d68c85a51248dbf6c639edf62b8d1fcfec13", + "created_at_unix_ms": 1790973112163, + "draft_id": "00000000000000000000000000000051", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112163 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "5359ed3c615bcdf5dd11abfd75491e63276e3afb041d9a5c96db08b3f622f2fa", + "created_at_unix_ms": 1790973112164, + "draft_id": "00000000000000000000000000000052", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112164 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "e2ceb0aeca3052f7ef599b2029dc06fe0344f532710129d703feb735ded6d7b6", + "created_at_unix_ms": 1790973112165, + "draft_id": "00000000000000000000000000000053", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112165 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "1a2dc4bdde9e0685800819c035810b78b5bc0383ceced4fbb063280d282504c3", + "created_at_unix_ms": 1790973112167, + "draft_id": "00000000000000000000000000000054", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112167 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7040a40cfbfeecfbdd17eaad45019c6058790fe849405178c21534a71677b40c", + "created_at_unix_ms": 1790973112168, + "draft_id": "00000000000000000000000000000055", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112168 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "79d5ff07448c3f7cf82c60d01043c9a4a3ce0275468e55c07db798ec57da1e78", + "created_at_unix_ms": 1790973112170, + "draft_id": "00000000000000000000000000000056", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112170 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "8c11e839f3554be4af9f78c61ef7eb19f1424dce0b557420de2e8eb8445426b8", + "created_at_unix_ms": 1790973112171, + "draft_id": "00000000000000000000000000000057", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112171 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "c290a13d6b97e976b7369d06ee48226f32aefb4cb8646466b37d505280122d31", + "created_at_unix_ms": 1790973112173, + "draft_id": "00000000000000000000000000000058", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112173 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "a0b69c3c2a6125377f6c27640b8490fb4f72c2fc115efbead03e06f542533062", + "created_at_unix_ms": 1790973112174, + "draft_id": "00000000000000000000000000000059", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112174 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "695483cbddb37cc804b62a97d7397a134e96310a7b8be20834156706680b5afe", + "created_at_unix_ms": 1790973112176, + "draft_id": "0000000000000000000000000000005a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112176 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "986ff3f2c8a9b8dfe9079c7a6e48e8ce96592074e27f28a97c502aef25be181c", + "created_at_unix_ms": 1790973112177, + "draft_id": "0000000000000000000000000000005b", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112177 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "5a818d57de47fa89d2e27fe8b6489e5b522082ef84785b4a0bf0e54a68c0d4df", + "created_at_unix_ms": 1790973112179, + "draft_id": "0000000000000000000000000000005c", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112179 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "2398dfc815b5526a05291e7040147b00fd0cb63503a93dee87547ab746fed796", + "created_at_unix_ms": 1790973112180, + "draft_id": "0000000000000000000000000000005d", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112180 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "f8ed2c3e611224e63506a5c02fbca52203d02a972f002e528a6dc6978637ea0d", + "created_at_unix_ms": 1790973112182, + "draft_id": "0000000000000000000000000000005e", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112182 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "d50b0abf2cc91e5f77610213e96f1537e959978bc111a43f3fe3355143022061", + "created_at_unix_ms": 1790973112183, + "draft_id": "0000000000000000000000000000005f", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112183 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "a2a7120a7a08fb0fe11707af8978f0b5b0a1d5a879bb1e6bbf5a9f259e0ad87b", + "created_at_unix_ms": 1790973112185, + "draft_id": "00000000000000000000000000000060", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112185 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "03a1354c4cf8fc1e935eed654182ac32d91470a27bcf676ccd84acb357b0720b", + "created_at_unix_ms": 1790973112186, + "draft_id": "00000000000000000000000000000061", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112186 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "c6528448a52db7a30ee2d4017af6f207550c86271a3a39093b484a731191d933", + "created_at_unix_ms": 1790973112188, + "draft_id": "00000000000000000000000000000062", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112188 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "f7cf20ea233127752ba5bdcd5d59982703c12639a6841c147f97132ade65a67c", + "created_at_unix_ms": 1790973112189, + "draft_id": "00000000000000000000000000000063", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112189 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "8965e4c9e2638027353309e7a42eb0e954138c9e797969e1f29d98733b3dcf91", + "created_at_unix_ms": 1790973112191, + "draft_id": "00000000000000000000000000000064", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112191 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "a960988af0a1de58dd2ddc90362937bf9564b43dbf005344f1ca2814b23fe1c8", + "created_at_unix_ms": 1790973112192, + "draft_id": "00000000000000000000000000000065", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112192 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "7e814bddcc4a8d8967113826f922178c8c9267c4f4c0e3b24f1e85dae49e8ccc", + "created_at_unix_ms": 1790973112194, + "draft_id": "00000000000000000000000000000066", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112194 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "ba7abe1a20f227624ef1205e75852d0694dfba25a9e4ebf85c2b4ac9aaf4e4c7", + "created_at_unix_ms": 1790973112195, + "draft_id": "00000000000000000000000000000067", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112195 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "0a76f9b10dcd09444e2ab7fc6c31d624451e5e80d8e204bedf55934a071b5d3d", + "created_at_unix_ms": 1790973112196, + "draft_id": "00000000000000000000000000000068", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112196 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "36b251b2641e394e4999d64ff6f86b0300ec0a7bcfbba03c3e57ed7fece14ae2", + "created_at_unix_ms": 1790973112198, + "draft_id": "00000000000000000000000000000069", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112198 + }, + { + "author_public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "card_id": "b4d2b2e55a94757ca54d3856e606b7beb131c8a49e1326f8bc939449e8181ce8", + "created_at_unix_ms": 1790973112200, + "draft_id": "0000000000000000000000000000006a", + "operation_id": null, + "revision": 1, + "settlement": null, + "state": "Draft", + "updated_at_unix_ms": 1790973112200 + } + ], + "native_pending": { + "byte_size": 176, + "draft_id": "00000000000000000000000000000001", + "operation_id": "bfe0aa719eb24d7c87180db4fc3491ae", + "remote_url": "https://blossom.example/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d.png", + "revision": 2, + "sha256": "f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d" + }, + "network_effects": "No socket or HTTP delivery was requested; only local save, queue, signing/admission and upload-job preparation.", + "pending_media_outside_first_page": true, + "public_key": "85d66109fb0183bd730e3be1dbb4a74bcedf09c7e9c005e12583c9157db313d5", + "secret_scan": "Actual closed owner files contain neither transient signer bytes nor hexadecimal secret; neither form is emitted.", + "source_generation": "0f71049d3c9674edc170cd02c6f6c8589591befb2646590bc0dc54d5274433ba" +} +\ No newline at end of file diff --git a/test-fixtures/legacy_upgrade_v1/tmp/staged_blobs/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d b/test-fixtures/legacy_upgrade_v1/tmp/staged_blobs/f5a9dd09c72ed6962fabde80d1c866e871e9195efdb385c8eac2bf372215016d Binary files differ.