lib

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

shared_sdk_refactor.v1.json (42610B)


      1 {
      2   "schema_version": 1,
      3   "contract_id": "radroots.shared_sdk.refactor.v1",
      4   "state": "approved_target_implementation_pending",
      5   "publication_authorized": false,
      6   "toolchain": {
      7     "edition": "2024",
      8     "stable": "1.99.0",
      9     "msrv": "1.99.0",
     10     "historical_receipts_immutable": true,
     11     "dedicated_nightly_and_sp1_separate": true
     12   },
     13   "ownership": {
     14     "shared_repository": "https://github.com/radrootslabs/lib",
     15     "ordinary_facade": "radroots",
     16     "native_bindings": "radroots_ffi",
     17     "browser_artifact": "radroots_browser",
     18     "sdk_repository_role": "generated_artifact_consumer",
     19     "app_owns_shared_semantics": false
     20   },
     21   "roles": {
     22     "cli": [
     23       "buyer",
     24       "seller"
     25     ],
     26     "tera": [
     27       "seller"
     28     ],
     29     "browser": [
     30       "buyer",
     31       "seller"
     32     ],
     33     "generic_ffi": [
     34       "buyer",
     35       "seller"
     36     ]
     37   },
     38   "deferred_application_migrations": [
     39     "harvestcircle",
     40     "applesauce",
     41     "kotlin_application"
     42   ],
     43   "retained_capability_families": [
     44     "farm",
     45     "social",
     46     "calendar",
     47     "media",
     48     "places",
     49     "knowledge",
     50     "communication",
     51     "optional_attestation"
     52   ],
     53   "independence": {
     54     "hosted_account_required": false,
     55     "farm_hierarchy_required": false,
     56     "rhi_required": false,
     57     "payment_implementation_in_scope": false,
     58     "seller_owner_executor_optional_to_single_device": true
     59   },
     60   "local_outbox_authority": {
     61     "scopes": [
     62       "new_buyer_outbox",
     63       "new_seller_outbox"
     64     ],
     65     "seller_enrollment_explicit": true,
     66     "scope_retained_in_authenticated_binding_and_preparation": true,
     67     "legacy_preparation_v2_scope": "new_buyer_outbox",
     68     "scope_separates_route_genesis_and_credential_commitments": true,
     69     "coverage": "partial",
     70     "stock_authority": false,
     71     "organization_or_delegation_authority": false,
     72     "existing_order_or_history_recovery": false
     73   },
     74   "native_seller_stock_authority": {
     75     "qualified_local_recovery": {
     76       "scoped_method": "SignerSession.recover_exact",
     77       "scoped_identity_and_capability_rechecked": true,
     78       "scoped_callback_binding_enforced": true,
     79       "scoped_close_waits_for_active_call": true,
     80       "scoped_method_grants_store_authority": false,
     81       "provider_method": "radroots_signing.provider.ParticipantProvider.recover_exact",
     82       "adapter": "radroots_nostr.signing.LocalSigner",
     83       "native_authorizer": "NativeWorkspace.authorize_stock_exact_replay",
     84       "captured_replay": "local_replay_safe",
     85       "native_catalog": 20,
     86       "worker_charge_bytes": 1048576,
     87       "existing_protected_claim_required": true,
     88       "current_execute_consent_required": true,
     89       "original_window_required": true,
     90       "call_budget_extends_original_window": false,
     91       "recovery_refusal_proves_original_unissued": false,
     92       "creates_claim_or_stock_effect": false,
     93       "provider_work_inside_sql": false,
     94       "unsupported_legacy_fallback": false,
     95       "after_expiry_retrieval_available": false,
     96       "legacy_and_first_dispatch_unchanged": true,
     97       "current_replay_admission_required": true,
     98       "replay_admission_journal_family": 9,
     99       "replay_admission_payload_version": 1,
    100       "replay_admission_payload_bytes": 184,
    101       "replay_admission_unknown_returns_permit": false,
    102       "replay_admission_reauthorizes_current": true,
    103       "replay_admission_clear_on_refusal": false,
    104       "replay_admission_stock_effect": false,
    105       "retained_untracked_catalogs": [
    106         13,
    107         14
    108       ],
    109       "replay_admission_report_is_release_authority": false
    110     },
    111     "scope": "seller_stock_owner",
    112     "database": "stock_execution_v1.sqlite",
    113     "lock": ".stock_execution_v1.lock",
    114     "schema_version": 20,
    115     "retained_enrollment_versions": [
    116       1
    117     ],
    118     "retained_inventory_versions": [
    119       2,
    120       3,
    121       4,
    122       5,
    123       6,
    124       7,
    125       8,
    126       9,
    127       10,
    128       11,
    129       12,
    130       13,
    131       14,
    132       15,
    133       16,
    134       17,
    135       18,
    136       19
    137     ],
    138     "authority_payload_schema": "radroots.seller_stock.authority.v20",
    139     "public_source_payload_schemas": [
    140       "radroots.seller_stock.public_source_event.v1",
    141       "radroots.seller_stock.public_source_head.v1",
    142       "radroots.seller_stock.public_source_part.v1"
    143     ],
    144     "public_source_owner_administration_required": true,
    145     "inventory_scope_grants_public_source_access": false,
    146     "public_source_checkpoint_independent": true,
    147     "public_source_input_requires_signature_evidence": true,
    148     "public_source_read_reverifies_signature": true,
    149     "public_source_global_completeness_claimed": false,
    150     "public_source_profile_implies_actionability": false,
    151     "public_source_head_policy": "nip01_timestamp_then_lowest_id_before_profile",
    152     "public_source_duplicate_encodings": "retain_original_authenticated_event_id",
    153     "public_source_raw_max_bytes": 65536,
    154     "public_source_part_max_bytes": 16384,
    155     "public_source_part_max_count": 4,
    156     "public_source_worker_charge_bytes": 262144,
    157     "inventory_operation_payload_schema": "radroots.seller_stock.operation.v5",
    158     "operation_part_payload_schema": "radroots.seller_stock.operation_part.v1",
    159     "operation_body_max_bytes": 262144,
    160     "operation_part_max_bytes": 16384,
    161     "operation_part_max_count": 16,
    162     "operation_identity_requires_protected_ancestry": true,
    163     "acceptance_preparation": {
    164       "shared_storage_port": "radroots_storage.inventory.InventoryStore.prepare_stock_acceptance",
    165       "shared_model_owner": "radroots_storage.inventory",
    166       "legacy_native_aliases": false,
    167       "unsupported_hosts_refuse": true,
    168       "model_constructs_runtime": false,
    169       "payload_version": 1,
    170       "planner_owner": "radroots_domain",
    171       "order_payload_schema": "radroots.seller_stock.order.v1",
    172       "movement_payload_schema": "radroots.seller_stock.acceptance_movement.v1",
    173       "worker_charge_bytes": 524288,
    174       "max_allocations": 64,
    175       "max_pool_observations": 96,
    176       "max_first_issue_window_seconds": 120,
    177       "original_replay_before_fresh_planning": true,
    178       "complete_allocation_required": true,
    179       "atomic_holds_and_order_fence_required": true,
    180       "current_issued_consent_required": true,
    181       "final_source_counts_and_witnesses_required": true,
    182       "signer_invoked": false,
    183       "agreement_installed": false
    184     },
    185     "business_consent_payload_version": 1,
    186     "business_consent_action": "orders.accept",
    187     "business_consent_modes": [
    188       "execute_and_recover",
    189       "recover_only"
    190     ],
    191     "business_consent_admin_issuance_required": true,
    192     "business_consent_binds_exact_command_and_subject_grant": true,
    193     "business_consent_issuance_has_order_or_stock_effects": false,
    194     "business_consent_worker_charge_bytes": 524288,
    195     "mapping_payload_schema": "radroots.seller_stock.mapping.v1",
    196     "mapping_owner_administration_required": true,
    197     "mapping_changes_physical_stock": false,
    198     "mapping_changes_pool_version": false,
    199     "mapping_create_expected_version": 0,
    200     "inventory_movement_payload_schema": "radroots.seller_stock.movement.v2",
    201     "pool_tick_scale_explicit": true,
    202     "pool_tick_scale_encoding": "canonical_integer_string",
    203     "inventory_checkpoint_minimum_required": true,
    204     "empty_pool_has_physical_movement": false,
    205     "enrollment_prepared_before_durable_creation": true,
    206     "prepared_enrollment_single_use": true,
    207     "same_connection_owner_as_outbox": true,
    208     "protected_authority_and_grants_separate": true,
    209     "automatic_outbox_migration": false,
    210     "historical_obligations_recovered": false,
    211     "business_effects_qualified": false,
    212     "grant_payload_schema": "radroots.seller_stock.grant.v2",
    213     "grant_change_payload_schema": "radroots.seller_stock.grant_change.v1",
    214     "namespace_excludes_caller_grant": true,
    215     "actor_operation_unique_across_grants": true,
    216     "grant_checkpoint_minimum_required": true,
    217     "grant_checkpoint_policy": "exact_current_for_fresh_work_original_prior_for_exact_admin_recovery",
    218     "grant_set_max": 64,
    219     "grant_pool_scope_max": 64,
    220     "grant_action_max": 6,
    221     "grant_scope_actions": [
    222       "read_pools",
    223       "read_operations",
    224       "create_pool",
    225       "add_stock",
    226       "remove_stock",
    227       "spoil_stock"
    228     ],
    229     "grant_write_requires_receipt_and_recovery_read": true,
    230     "inventory_scope_grants_administration": false,
    231     "grant_admin_prepared_transaction_required": true,
    232     "retained_grants_automatically_evicted": false,
    233     "old_self_revoke_api_supported": false,
    234     "capability_contract": {
    235       "id": "radroots.seller_stock.native_inventory",
    236       "version": "1"
    237     },
    238     "source_payload_schemas": [
    239       "radroots.seller_stock.source_record.v1",
    240       "radroots.seller_stock.source_evidence.v1",
    241       "radroots.seller_stock.source_part.v1"
    242     ],
    243     "source_profile_dispositions": [
    244       "known",
    245       "unsupported",
    246       "rejected"
    247     ],
    248     "source_owner_administration_required": true,
    249     "inventory_scope_grants_source_access": false,
    250     "source_checkpoint_independent": true,
    251     "source_profile_implies_actionability": false,
    252     "causal_history_current_administrator_required": true,
    253     "causal_history_complete_local_scope_required": true,
    254     "causal_history_includes_actual_local_signed_records": true,
    255     "causal_history_inventory_minimum_required": true,
    256     "causal_history_logical_record_deduplication_required": true,
    257     "causal_history_implies_installation": false,
    258     "causal_history_uninterpreted_policy": "conservative_authenticated_participant_pair_barrier",
    259     "causal_history_transaction_witnesses_required": true,
    260     "causal_history_implies_business_permission": false,
    261     "source_carrier_max_bytes": 65536,
    262     "source_chunk_max_bytes": 16384,
    263     "signing_plan_binding": {
    264       "ordinary_acceptance_owner": "radroots_execution.CommandRuntime",
    265       "ordinary_acceptance_facade": "radroots.Orders.accept",
    266       "ordinary_peer_installed_before_self_work": true,
    267       "ordinary_accepted_task_survives_observer_loss": true,
    268       "ordinary_obtained_owned_before_descriptor_conversion": true,
    269       "generic_obtained_owned_before_descriptor_conversion": true,
    270       "retained_drain_preserves_original_error_and_operation": true,
    271       "rejected_signer_error": "SignerTampering",
    272       "effectful_command_result": "ExecutionResult",
    273       "common_error_max_bytes": 64,
    274       "execution_failure_max_bytes": 128,
    275       "rejected_signer_metadata_owner": "radroots_signing.issuance.RejectedArtifact",
    276       "rejected_signer_report_is_nonissuance": false,
    277       "generic_peer_installed_before_rejected_self_return": true,
    278       "unknown_installation_blocks_delivery": true,
    279       "native_first_dispatch_owns_issuer_invocation": true,
    280       "shared_first_dispatch_port": "radroots_execution.session.commerce.AcceptanceDispatch.dispatch",
    281       "shared_unissued_owner": "ClientSession.stock_captures",
    282       "shared_unissued_retained_before_capture": true,
    283       "shared_unissued_drained_before_storage_close": true,
    284       "shared_unissued_failure_blocks_fresh_commands": true,
    285       "public_native_intent_extraction": false,
    286       "coherent_snapshot_preserves_original_unissued": true,
    287       "exact_issuer_port": "radroots_signing.issuance.ExactIssuer",
    288       "native_failure_boundary": "radroots_ffi.Error",
    289       "native_failure_preserves_signer_rejection": true,
    290       "native_failure_fingerprint_bytes": 32,
    291       "native_failure_coverage": "canonical_decimal_strings",
    292       "native_failure_max_bytes": 128,
    293       "browser_failure_boundary": "radroots_browser.bindings.Failure",
    294       "browser_failure_preserves_signer_rejection": true,
    295       "browser_failure_max_bytes": 128,
    296       "original_unissued_live_observation_owner": "radroots_storage_sqlite.workspace.StockUnissuedInvocation",
    297       "original_unissued_observation_is_durable": false,
    298       "original_unissued_observation_releases_stock": false,
    299       "recovery_refusal_creates_original_unissued_observation": false,
    300       "ordinary_existing_claim_grants_first_dispatch": false,
    301       "ordinary_replay_requires_original_policy_and_current_permit": true,
    302       "ordinary_acceptance_implies_delivery": false,
    303       "crypto_verifier_owner": "radroots_signing.commerce",
    304       "scoped_crypto_verification": "SignerSession.verify_commerce_plan",
    305       "predecessor_nostr_verifier_alias": false,
    306       "crypto_verification_grants_dispatch_authority": false,
    307       "payload_version": 1,
    308       "journal_family": 3,
    309       "worker_charge_bytes": 1048576,
    310       "complete_recipient_count": 2,
    311       "crypto_and_route_verification_required": true,
    312       "original_t0_rumor_required": true,
    313       "exact_intent_digests_retained": true,
    314       "protected_identity_presence_and_absence_required": true,
    315       "current_issued_consent_required": true,
    316       "final_permission_and_clock_witnesses_required": true,
    317       "signer_invoked": false,
    318       "agreement_installed": false,
    319       "original_unissued_capture_owner": "NativeWorkspace.capture_stock_original_unissued",
    320       "original_unissued_payload_version": 1,
    321       "original_unissued_journal_family": 8,
    322       "original_unissued_capture_requires_owned_observation": true,
    323       "original_unissued_capture_borrows_observation": true,
    324       "original_unissued_capture_rechecks_original_claim": true,
    325       "original_unissued_capture_requires_fresh_permission": false,
    326       "original_unissued_capture_requires_fresh_clock": false,
    327       "original_unissued_capture_releases_stock": false,
    328       "original_unissued_reconciliation_same_owner": true,
    329       "original_unissued_late_evidence_retained": true,
    330       "original_unissued_worker_charge_bytes": 262144
    331     },
    332     "signing_issuance": {
    333       "shared_capture_port": "InventoryStore.capture_stock_evidence",
    334       "shared_reconciliation_port": "InventoryStore.reconcile_stock_evidence",
    335       "reconciliation_retains_writer_through_replacement": true,
    336       "reconciliation_authenticates_before_connection_close": true,
    337       "reconciliation_preflight_initializes_or_migrates": false,
    338       "reconciliation_clears_fence_only_after_confirmed_capture": true,
    339       "shared_capture_model_owner": "radroots_storage.inventory",
    340       "shared_capture_descriptors_are_authority": false,
    341       "shared_capture_reauthenticates_original": true,
    342       "native_capture_report_aliases": false,
    343       "coherent_operation_snapshot_required": true,
    344       "final_evidence_selectors_and_page_rows_required": true,
    345       "recovery_view_has_dispatch_or_installation_rights": false,
    346       "fresh_current_backing_projection_required": true,
    347       "evidence_page_max": 32,
    348       "claim_family": 4,
    349       "evidence_family": 5,
    350       "claim_worker_charge_bytes": 1048576,
    351       "capture_worker_charge_bytes": 262144,
    352       "capture_raw_max_bytes": 65536,
    353       "first_dispatch_requires_confirmed_commit": true,
    354       "existing_claim_returns_dispatch_permit": false,
    355       "protected_identity_presence_and_absence_required": true,
    356       "capture_requires_original_claim_and_credential": true,
    357       "capture_requires_current_consent": false,
    358       "capture_requires_observation_clock": false,
    359       "capture_preserves_first_optional_time": true,
    360       "capture_retains_distinct_valid_encodings": true,
    361       "agreement_installed": false
    362     },
    363     "initial_agreement_installation": {
    364       "payload_version": 1,
    365       "journal_family": 6,
    366       "worker_charge_bytes": 1048576,
    367       "required_peer_evidence": true,
    368       "missing_self_copy_blocks_installation": false,
    369       "original_order_fence_immutable": true,
    370       "exact_original_hold_quantities_required": true,
    371       "current_exact_recovery_consent_required": true,
    372       "fresh_time_not_before_original_bound_plan": true,
    373       "atomic_pool_agreement_and_work_required": true,
    374       "recipient_work_count": 2,
    375       "unknown_commit_fences_owner": true,
    376       "signer_or_transport_invoked": false,
    377       "relay_delivery_claimed": false
    378     },
    379     "preparation_abort": {
    380       "payload_version": 2,
    381       "journal_family": 7,
    382       "worker_charge_bytes": 1048576,
    383       "caller_nonissuance_assertion_is_proof": false,
    384       "current_exact_recovery_consent_required": true,
    385       "atomic_exact_original_release_required": true,
    386       "original_preparations_retained": true,
    387       "current_order_projection_authenticated": true,
    388       "later_initial_requires_original_abort": true,
    389       "fresh_signing_after_abort": false,
    390       "unknown_commit_fences_owner": true,
    391       "signer_or_transport_invoked": false,
    392       "shared_storage_port": "radroots_storage.inventory.InventoryStore",
    393       "shared_model_owner": "radroots_storage.inventory",
    394       "native_workspace_type_aliases": false,
    395       "unsupported_hosts_return": "capability_unavailable",
    396       "retained_payload_versions": [
    397         1
    398       ],
    399       "retained_v1_requires_absent_claims": true,
    400       "claimed_cleanup_catalogs": [
    401         15,
    402         16,
    403         17,
    404         18,
    405         19,
    406         20
    407       ],
    408       "untracked_claimed_catalogs": [
    409         13,
    410         14
    411       ],
    412       "per_recipient_proof_count": 2,
    413       "original_unissued_required_for_every_claim": true,
    414       "replay_admission_blocks_release": true,
    415       "obtained_evidence_blocks_release": true,
    416       "contradictory_evidence_retained": true,
    417       "contradiction_requires_recovery": true,
    418       "caller_reports_are_release_authority": false
    419     },
    420     "envelope_retention": {
    421       "journal_family": 10,
    422       "payload_version": 1,
    423       "payload_prefix_bytes": 213,
    424       "supported_catalogs": [
    425         16,
    426         17,
    427         18,
    428         19,
    429         20
    430       ],
    431       "retained_unsupported_catalogs": [
    432         1,
    433         2,
    434         3,
    435         4,
    436         5,
    437         6,
    438         7,
    439         8,
    440         9,
    441         10,
    442         11,
    443         12,
    444         13,
    445         14,
    446         15
    447       ],
    448       "raw_max_bytes": 65536,
    449       "worker_charge_bytes": 1048576,
    450       "capture_port": "InventoryStore.capture_stock_envelope",
    451       "query_port": "InventoryStore.stock_envelope",
    452       "original_preparation_plan_claim_seal_installation_required": true,
    453       "temporary_key_derivation_and_exact_decryption_required": true,
    454       "temporary_key_retained": false,
    455       "original_party_as_outer_author_allowed": false,
    456       "body_derived_projection_and_complete_ancestry_required": true,
    457       "original_credential_capture_requires_live_clock_or_grant": false,
    458       "query_requires_current_recovery_access": true,
    459       "observation_nullable": true,
    460       "existing_original_bytes_may_be_replaced": false,
    461       "capture_grants_dispatch": false,
    462       "capture_changes_physical_stock": false,
    463       "provider_io_inside_sql": false,
    464       "recovery_port": "InventoryStore.reconcile_stock_envelope"
    465     },
    466     "delivery": {
    467       "supported_catalogs": [
    468         17,
    469         18,
    470         19,
    471         20
    472       ],
    473       "retained_unsupported_catalogs": [
    474         1,
    475         2,
    476         3,
    477         4,
    478         5,
    479         6,
    480         7,
    481         8,
    482         9,
    483         10,
    484         11,
    485         12,
    486         13,
    487         14,
    488         15,
    489         16
    490       ],
    491       "attempt_journal_family": 11,
    492       "observation_journal_family": 12,
    493       "attempt_payload_version": 1,
    494       "observation_payload_version": 1,
    495       "attempt_body_max_bytes": 65536,
    496       "observation_body_max_bytes": 16384,
    497       "target_max": 16,
    498       "attempts_per_target": 12,
    499       "attempts_per_operation_max": 384,
    500       "observations_per_operation_max": 2304,
    501       "observation_page_max": 16,
    502       "summary_target_max": 16,
    503       "worker_charge_bytes": 1048576,
    504       "storage_ports": [
    505         "InventoryStore.prepare_stock_delivery_attempt",
    506         "InventoryStore.stock_delivery_attempt",
    507         "InventoryStore.stock_delivery_summary",
    508         "InventoryStore.record_stock_delivery_observation",
    509         "InventoryStore.reconcile_stock_delivery_observation",
    510         "InventoryStore.stock_delivery_observations"
    511       ],
    512       "original_stock_evidence_installation_outer_required": true,
    513       "original_captured_route_and_current_write_policy_required": true,
    514       "fresh_current_scoped_consent_grant_clock_required": true,
    515       "installed_original_recovery_delivery_supported": true,
    516       "fresh_claim_requires_confirmed_commit": true,
    517       "existing_attempt_grants_dispatch": false,
    518       "unknown_commit_grants_dispatch": false,
    519       "query_grants_dispatch": false,
    520       "first_complete_targets_and_criterion_immutable": true,
    521       "ordinary_command_replays_existing_attempt": false,
    522       "ordinary_fresh_claim_binds_observed_attempt_count": true,
    523       "ordinary_repeat_uses_selected_envelope_attempt_count": true,
    524       "ordinary_obtained_material_owner": "ClientSession.stock_captures",
    525       "ordinary_peer_delivery_precedes_self_signing": true,
    526       "installed_original_delivery_requires_signer": false,
    527       "explicit_resume_claims_bounded_new_attempt": true,
    528       "retries_use_original_outer_bytes": true,
    529       "observation_nullable": true,
    530       "original_credential_capture_requires_live_clock_or_grant": false,
    531       "same_owner_obtained_material_reconciliation_required": true,
    532       "first_observation_per_class_immutable": true,
    533       "wrong_event_request_target_ack_rejected": true,
    534       "protected_refs_indexes_complete_ancestry_required": true,
    535       "final_transaction_witnesses_required": true,
    536       "unbounded_attempt_or_observation_collections": false,
    537       "physical_stock_effect": false,
    538       "transport_inside_sql": false
    539     },
    540     "rewrapping": {
    541       "journal_family": 14,
    542       "payload_version": 1,
    543       "payload_prefix_bytes": 117,
    544       "supported_catalogs": [
    545         18,
    546         19,
    547         20
    548       ],
    549       "retained_unsupported_catalogs": [
    550         1,
    551         2,
    552         3,
    553         4,
    554         5,
    555         6,
    556         7,
    557         8,
    558         9,
    559         10,
    560         11,
    561         12,
    562         13,
    563         14,
    564         15,
    565         16,
    566         17
    567       ],
    568       "raw_max_bytes": 65536,
    569       "worker_charge_bytes": 1048576,
    570       "additional_envelopes_per_recipient_max": 192,
    571       "descriptor_page_max": 16,
    572       "capture_port": "InventoryStore.capture_stock_rewrap",
    573       "recovery_port": "InventoryStore.reconcile_stock_rewrap",
    574       "query_port": "InventoryStore.stock_envelope",
    575       "page_port": "InventoryStore.stock_rewraps",
    576       "original_f10_and_same_s_t2_required": true,
    577       "default_selection_is_original": true,
    578       "new_envelope_selection_explicit": true,
    579       "first_policy_source_bound": true,
    580       "transport_counters_cumulative": true,
    581       "outcomes_scoped_to_exact_envelope": true,
    582       "natural_index_transaction_witness_required": true,
    583       "existing_bytes_may_be_replaced": false,
    584       "original_capture_requires_live_clock_or_grant": false,
    585       "capture_or_query_grants_dispatch": false,
    586       "physical_stock_effect": false,
    587       "temporary_key_retained": false,
    588       "provider_io_inside_sql": false,
    589       "admission_journal_family": 13,
    590       "admission_payload_bytes": 248,
    591       "admission_window_seconds_max": 30,
    592       "admission_port": "InventoryStore.prepare_stock_rewrap",
    593       "admission_recovery_port": "InventoryStore.reconcile_stock_rewrap_admission",
    594       "admission_query_port": "InventoryStore.stock_rewrap_attempt",
    595       "explicit_request_id_required": true,
    596       "newly_confirmed_admission_before_wrapping": true,
    597       "existing_or_uncertain_admission_grants_invocation": false,
    598       "unknown_admissions_count_toward_limit": true,
    599       "descriptor_includes_uncaptured_admissions": true,
    600       "admission_repair_grants_history_or_invocation": false,
    601       "ordinary_owner": "ClientSession.stock_captures",
    602       "ordinary_facade_methods": [
    603         "Orders.rewrap_acceptance",
    604         "Orders.resume_acceptance_rewrap",
    605         "Orders.acceptance_rewrap_status"
    606       ],
    607       "ordinary_resume_generates_key_or_business_signature": false,
    608       "ordinary_status_is_atomic_absence_proof": false
    609     }
    610   },
    611   "provenance": {
    612     "app_behavior_implementation": "independent_reimplementation",
    613     "retain_source_provenance": true,
    614     "retain_notices": true,
    615     "map_meaningful_removed_tests_before_removal": true,
    616     "relabel_app_source_license": false
    617   },
    618   "targets": {
    619     "native": [
    620       "aarch64-apple-darwin",
    621       "x86_64-unknown-linux-gnu"
    622     ],
    623     "apple_artifacts": [
    624       "aarch64-apple-ios",
    625       "aarch64-apple-ios-sim"
    626     ],
    627     "browsers": [
    628       "chromium",
    629       "firefox",
    630       "webkit"
    631     ],
    632     "browser_contexts": [
    633       "main_thread",
    634       "dedicated_worker"
    635     ],
    636     "generic_binding_languages": [
    637       "swift",
    638       "kotlin"
    639     ],
    640     "node_ssr_import_required": true,
    641     "full_node_client_in_scope": false,
    642     "actual_beta_iphone_required": true
    643   },
    644   "portability": {
    645     "native_futures": "send",
    646     "browser_futures": "local",
    647     "unsafe_send_bridge_allowed": false,
    648     "portable_core_has_native_hosts": false,
    649     "memory_store_firm_stock_allowed": false,
    650     "nostr_forces_media": false,
    651     "global_no_std_promise": false
    652   },
    653   "packages": [
    654     {
    655       "key": "identity",
    656       "package": "radroots_identity",
    657       "directory": "crates/identity",
    658       "dependencies": [],
    659       "dependency_mode": "selected_target_required"
    660     },
    661     {
    662       "key": "domain",
    663       "package": "radroots_domain",
    664       "directory": "crates/domain",
    665       "dependencies": [
    666         "identity"
    667       ],
    668       "dependency_mode": "selected_target_required"
    669     },
    670     {
    671       "key": "protocol",
    672       "package": "radroots_protocol",
    673       "directory": "crates/protocol",
    674       "dependencies": [
    675         "domain",
    676         "identity"
    677       ],
    678       "dependency_mode": "selected_target_required"
    679     },
    680     {
    681       "key": "signing",
    682       "package": "radroots_signing",
    683       "directory": "crates/signing",
    684       "dependencies": [
    685         "domain",
    686         "identity",
    687         "protocol"
    688       ],
    689       "dependency_mode": "selected_target_required"
    690     },
    691     {
    692       "key": "storage",
    693       "package": "radroots_storage",
    694       "directory": "crates/storage",
    695       "dependencies": [
    696         "domain",
    697         "protocol"
    698       ],
    699       "dependency_mode": "selected_target_required"
    700     },
    701     {
    702       "key": "transport",
    703       "package": "radroots_transport",
    704       "directory": "crates/transport",
    705       "dependencies": [
    706         "protocol",
    707         "identity"
    708       ],
    709       "dependency_mode": "selected_target_required"
    710     },
    711     {
    712       "key": "execution",
    713       "package": "radroots_execution",
    714       "directory": "crates/execution",
    715       "dependencies": [
    716         "domain",
    717         "protocol",
    718         "signing",
    719         "storage",
    720         "transport"
    721       ],
    722       "dependency_mode": "selected_target_required"
    723     },
    724     {
    725       "key": "storage_sqlite",
    726       "package": "radroots_storage_sqlite",
    727       "directory": "crates/storage_sqlite",
    728       "dependencies": [
    729         "storage",
    730         "domain"
    731       ],
    732       "dependency_mode": "selected_target_required"
    733     },
    734     {
    735       "key": "storage_indexeddb",
    736       "package": "radroots_storage_indexeddb",
    737       "directory": "crates/storage_indexeddb",
    738       "dependencies": [
    739         "storage",
    740         "domain"
    741       ],
    742       "dependency_mode": "selected_target_required"
    743     },
    744     {
    745       "key": "transport_nostr",
    746       "package": "radroots_transport_nostr",
    747       "directory": "crates/transport_nostr",
    748       "dependencies": [
    749         "transport",
    750         "protocol"
    751       ],
    752       "dependency_mode": "selected_target_required"
    753     },
    754     {
    755       "key": "transport_nostr_native",
    756       "package": "radroots_transport_nostr_native",
    757       "directory": "crates/transport_nostr_native",
    758       "dependencies": [
    759         "transport_nostr"
    760       ],
    761       "dependency_mode": "selected_target_required"
    762     },
    763     {
    764       "key": "transport_nostr_browser",
    765       "package": "radroots_transport_nostr_browser",
    766       "directory": "crates/transport_nostr_browser",
    767       "dependencies": [
    768         "transport_nostr"
    769       ],
    770       "dependency_mode": "selected_target_required"
    771     },
    772     {
    773       "key": "secrets",
    774       "package": "radroots_secrets",
    775       "directory": "crates/secrets",
    776       "dependencies": [
    777         "identity"
    778       ],
    779       "dependency_mode": "selected_target_required"
    780     },
    781     {
    782       "key": "nostr_connect",
    783       "package": "radroots_nostr_connect",
    784       "directory": "crates/nostr_connect",
    785       "dependencies": [
    786         "signing",
    787         "transport"
    788       ],
    789       "dependency_mode": "selected_target_required"
    790     },
    791     {
    792       "key": "blossom",
    793       "package": "radroots_blossom",
    794       "directory": "crates/blossom",
    795       "dependencies": [
    796         "identity",
    797         "signing"
    798       ],
    799       "dependency_mode": "selected_target_required"
    800     },
    801     {
    802       "key": "geonames",
    803       "package": "radroots_geonames",
    804       "directory": "crates/geonames",
    805       "dependencies": [
    806         "domain"
    807       ],
    808       "dependency_mode": "selected_target_required"
    809     },
    810     {
    811       "key": "nostrdb",
    812       "package": "radroots_nostrdb",
    813       "directory": "crates/nostrdb",
    814       "dependencies": [
    815         "storage",
    816         "protocol"
    817       ],
    818       "dependency_mode": "selected_target_required"
    819     },
    820     {
    821       "key": "sql_core",
    822       "package": "radroots_sql_core",
    823       "directory": "crates/sql_core",
    824       "dependencies": [],
    825       "dependency_mode": "selected_target_required"
    826     },
    827     {
    828       "key": "replica_schema",
    829       "package": "radroots_replica_schema",
    830       "directory": "crates/replica_schema",
    831       "dependencies": [
    832         "domain"
    833       ],
    834       "dependency_mode": "selected_target_required"
    835     },
    836     {
    837       "key": "replica_store",
    838       "package": "radroots_replica_store",
    839       "directory": "crates/replica_store",
    840       "dependencies": [
    841         "replica_schema",
    842         "sql_core"
    843       ],
    844       "dependency_mode": "selected_target_required"
    845     },
    846     {
    847       "key": "replica_sync",
    848       "package": "radroots_replica_sync",
    849       "directory": "crates/replica_sync",
    850       "dependencies": [
    851         "replica_store",
    852         "protocol",
    853         "transport"
    854       ],
    855       "dependency_mode": "selected_target_required"
    856     },
    857     {
    858       "key": "runtime_paths",
    859       "package": "radroots_runtime_paths",
    860       "directory": "crates/runtime_paths",
    861       "dependencies": [],
    862       "dependency_mode": "selected_target_required"
    863     },
    864     {
    865       "key": "runtime_distribution",
    866       "package": "radroots_runtime_distribution",
    867       "directory": "crates/runtime_distribution",
    868       "dependencies": [
    869         "runtime_paths"
    870       ],
    871       "dependency_mode": "selected_target_required"
    872     },
    873     {
    874       "key": "runtime_manager",
    875       "package": "radroots_runtime_manager",
    876       "directory": "crates/runtime_manager",
    877       "dependencies": [
    878         "runtime_paths",
    879         "runtime_distribution"
    880       ],
    881       "dependency_mode": "selected_target_required"
    882     },
    883     {
    884       "key": "service_host",
    885       "package": "radroots_service_host",
    886       "directory": "crates/service_host",
    887       "dependencies": [
    888         "runtime_paths"
    889       ],
    890       "dependency_mode": "selected_target_required"
    891     },
    892     {
    893       "key": "service_sqlite",
    894       "package": "radroots_service_sqlite",
    895       "directory": "crates/service_sqlite",
    896       "dependencies": [
    897         "sql_core",
    898         "service_host"
    899       ],
    900       "dependency_mode": "selected_target_required"
    901     },
    902     {
    903       "key": "mesh_agent_proto",
    904       "package": "radroots_mesh_agent_proto",
    905       "directory": "crates/mesh_agent_proto",
    906       "dependencies": [],
    907       "dependency_mode": "selected_target_required"
    908     },
    909     {
    910       "key": "mesh_agent_client",
    911       "package": "radroots_mesh_agent_client",
    912       "directory": "crates/mesh_agent_client",
    913       "dependencies": [
    914         "mesh_agent_proto"
    915       ],
    916       "dependency_mode": "selected_target_required"
    917     },
    918     {
    919       "key": "mesh",
    920       "package": "radroots_mesh",
    921       "directory": "crates/mesh",
    922       "dependencies": [
    923         "mesh_agent_proto",
    924         "mesh_agent_client",
    925         "identity"
    926       ],
    927       "dependency_mode": "selected_target_required"
    928     },
    929     {
    930       "key": "transport_reticulum",
    931       "package": "radroots_transport_reticulum",
    932       "directory": "crates/transport_reticulum",
    933       "dependencies": [
    934         "transport",
    935         "mesh"
    936       ],
    937       "dependency_mode": "selected_target_required"
    938     },
    939     {
    940       "key": "simplex_agent_proto",
    941       "package": "radroots_simplex_agent_proto",
    942       "directory": "crates/simplex_agent_proto",
    943       "dependencies": [],
    944       "dependency_mode": "selected_target_required"
    945     },
    946     {
    947       "key": "simplex_smp_crypto",
    948       "package": "radroots_simplex_smp_crypto",
    949       "directory": "crates/simplex_smp_crypto",
    950       "dependencies": [],
    951       "dependency_mode": "selected_target_required"
    952     },
    953     {
    954       "key": "simplex_smp_proto",
    955       "package": "radroots_simplex_smp_proto",
    956       "directory": "crates/simplex_smp_proto",
    957       "dependencies": [
    958         "simplex_smp_crypto"
    959       ],
    960       "dependency_mode": "selected_target_required"
    961     },
    962     {
    963       "key": "simplex_smp_transport",
    964       "package": "radroots_simplex_smp_transport",
    965       "directory": "crates/simplex_smp_transport",
    966       "dependencies": [
    967         "simplex_smp_proto"
    968       ],
    969       "dependency_mode": "selected_target_required"
    970     },
    971     {
    972       "key": "simplex_chat_proto",
    973       "package": "radroots_simplex_chat_proto",
    974       "directory": "crates/simplex_chat_proto",
    975       "dependencies": [
    976         "simplex_smp_proto"
    977       ],
    978       "dependency_mode": "selected_target_required"
    979     },
    980     {
    981       "key": "simplex_app_store",
    982       "package": "radroots_simplex_app_store",
    983       "directory": "crates/simplex_app_store",
    984       "dependencies": [
    985         "simplex_chat_proto",
    986         "sql_core"
    987       ],
    988       "dependency_mode": "selected_target_required"
    989     },
    990     {
    991       "key": "radroots",
    992       "package": "radroots",
    993       "directory": "crates/radroots",
    994       "dependencies": [
    995         "execution",
    996         "storage_sqlite",
    997         "transport_nostr_native",
    998         "secrets",
    999         "nostr_connect",
   1000         "blossom",
   1001         "geonames",
   1002         "replica_sync",
   1003         "mesh",
   1004         "simplex_chat_proto"
   1005       ],
   1006       "dependency_mode": "target_specific_optional_concrete_hosts"
   1007     },
   1008     {
   1009       "key": "radroots_browser",
   1010       "package": "radroots_browser",
   1011       "directory": "crates/radroots_browser",
   1012       "dependencies": [
   1013         "execution",
   1014         "storage_indexeddb",
   1015         "transport_nostr_browser"
   1016       ],
   1017       "dependency_mode": "selected_target_required"
   1018     },
   1019     {
   1020       "key": "radroots_ffi",
   1021       "package": "radroots_ffi",
   1022       "directory": "crates/radroots_ffi",
   1023       "dependencies": [
   1024         "radroots"
   1025       ],
   1026       "dependency_mode": "selected_target_required"
   1027     },
   1028     {
   1029       "key": "test_fixtures",
   1030       "package": "radroots_test_fixtures",
   1031       "directory": "crates/test_fixtures",
   1032       "dependencies": [
   1033         "domain",
   1034         "protocol"
   1035       ],
   1036       "dependency_mode": "selected_target_required"
   1037     },
   1038     {
   1039       "key": "xtask",
   1040       "package": "xtask",
   1041       "directory": "tools/xtask",
   1042       "dependencies": [
   1043         "test_fixtures"
   1044       ],
   1045       "dependency_mode": "selected_target_required"
   1046     }
   1047   ],
   1048   "values": {
   1049     "quantity_coefficient_max": 999999999999,
   1050     "quantity_scale_max": 6,
   1051     "count_quantities_integral": true,
   1052     "money_minor_max": 999999999999999,
   1053     "currency_exponent_max": 4,
   1054     "currency_registry": "pinned_supported_registry_with_verified_redistribution",
   1055     "rounding": "half_even_once_per_net_line_then_checked_sum",
   1056     "binding_numbers": "exact_decimal_or_integer_strings",
   1057     "stock_ticks_max": 1000000000000000000,
   1058     "stock_scale_max": 6,
   1059     "stock_units": [
   1060       "g",
   1061       "kg",
   1062       "mL",
   1063       "L",
   1064       "each"
   1065     ],
   1066     "stock_physical_categories": [
   1067       "available",
   1068       "preparatory_hold",
   1069       "committed_hold",
   1070       "physical_quarantine",
   1071       "consumed",
   1072       "waste",
   1073       "removed"
   1074     ],
   1075     "generation_max": 9223372036854775807
   1076   },
   1077   "limits": {
   1078     "public_event_bytes": 65536,
   1079     "private_record_bytes": 16384,
   1080     "complete_rumor_bytes": 24576,
   1081     "chat_bytes": 4096,
   1082     "json_depth": 16,
   1083     "single_profile_tag_bytes": 32768,
   1084     "order_lines": 32,
   1085     "listing_options": 16,
   1086     "parent_records": 8,
   1087     "causal_records_per_scope": 1000,
   1088     "causal_source_identities_per_collection": 8000,
   1089     "read_page_events": 1000,
   1090     "unknown_quarantine_events_per_scope": 1024,
   1091     "live_queue_events": 256,
   1092     "live_queue_bytes": 4194304,
   1093     "default_relays": 4,
   1094     "maximum_session_relays": 16,
   1095     "concurrent_verifications": 4,
   1096     "delivery_attempts_per_target": 12,
   1097     "first_issuance_seconds": 120
   1098   },
   1099   "stock_accounting": {
   1100     "replacement_terms_admission": {
   1101       "owner": "radroots_domain.causal.prepare_replacement_terms",
   1102       "scope": "explicit_existing_agreement_proposal_and_counterparty_authorization",
   1103       "complete_local_causal_coverage_required": true,
   1104       "conflicting_authorizations_require_reconciliation": true,
   1105       "native_canonical_digest_recompute_required": true,
   1106       "native_current_head_and_residual_required": true,
   1107       "claim_grants_current_authority": false,
   1108       "claim_creates_stock_effects": false
   1109     },
   1110     "native_inspection": {
   1111       "model_owner": "radroots_storage.inventory.StockSnapshot",
   1112       "facade_method": "Stock.inspect",
   1113       "storage_port": "InventoryStore.inspect_stock",
   1114       "supported_catalogs": [
   1115         19,
   1116         20
   1117       ],
   1118       "worker_charge_bytes": 1048576,
   1119       "same_checkpoint_required": true,
   1120       "original_allocation_required": true,
   1121       "read_pools_and_operations_required": true,
   1122       "pending_claims_are_installed": false,
   1123       "query_creates_store_effects": false,
   1124       "reports_global_business_completeness": false
   1125     },
   1126     "value_owner": "radroots_domain.stock",
   1127     "scope": "one_fixed_pool_unit",
   1128     "obligation_equation": "remaining = backed + deficit",
   1129     "ticks_max": 1000000000000000000,
   1130     "values_create_store_effects": false,
   1131     "deficit_counts_as_physical_stock": false,
   1132     "receipt_consumes_again": false,
   1133     "released_deficit_adds_available": false,
   1134     "loss_deletes_obligation": false,
   1135     "native_atomic_allocation_and_identity_required": true,
   1136     "native_correction": {
   1137       "catalog": 20,
   1138       "selection": "available_then_original_installation_and_allocation_order",
   1139       "max_affected_allocations": 32,
   1140       "protected_original_allocation_required": true,
   1141       "deficit_projection_in_final_transaction": true,
   1142       "quantity_storage": "protected_original_operation_body",
   1143       "worker_charge_bytes": 1048576,
   1144       "preparatory_loss_implicit": false,
   1145       "quarantine_loss_implicit": false
   1146     },
   1147     "native_terms_installation": {
   1148       "catalog": 20,
   1149       "facade_method": "Orders.install_terms",
   1150       "execution_method": "ClientSession.install_stock_terms",
   1151       "source_owner": "radroots_domain.causal.prepare_replacement_terms",
   1152       "allocation_owner": "radroots_domain.stock.resolve_replacement_allocations",
   1153       "delta_owner": "radroots_domain.stock.plan_replacement_allocations",
   1154       "current_installed_base_required": true,
   1155       "original_allocations_required": true,
   1156       "positive_hold_phase": "T0",
   1157       "negative_release_phase": "T2",
   1158       "pending_negatives_finance_holds": false,
   1159       "old_commitment_retained_while_pending": true,
   1160       "changed_residual_requires_new_admission": true,
   1161       "release_composition": "original_installation_order_deficit_then_backed",
   1162       "quantity_storage": "protected_installation_body",
   1163       "index_plaintext_quantities": false,
   1164       "automatic_changed_multi_pool_split": "requires_explicit_complete_allocation",
   1165       "same_signing_and_recovery_owner": true,
   1166       "unknown_issuance_releases_stock": false,
   1167       "retained_catalog_auto_upgrade": false
   1168     }
   1169   },
   1170   "execution": {
   1171     "ordinary_inventory_owner": {
   1172       "owned_capture_method": "capture_stock_evidence",
   1173       "capture_drain_uses_explicit_reconciliation": true,
   1174       "retained_capture_survives_observer_loss": true,
   1175       "failed_capture_blocks_fresh_work": true,
   1176       "failed_capture_blocks_disposal": true,
   1177       "capture_preserves_actual_error_code": true,
   1178       "pending_capture_retry": "manual_reconciliation",
   1179       "capture_reports_must_match_original": true,
   1180       "capture_scope_metadata_renews_issuance": false,
   1181       "owned_acceptance_method": "prepare_stock_acceptance",
   1182       "acceptance_is_preparation_only": true,
   1183       "lost_accepted_admission_is_unknown": true,
   1184       "execution": "radroots_execution.ClientSession",
   1185       "facade": "radroots.Client",
   1186       "selected_workspace_views_share_owner": true,
   1187       "exact_owned_attachment_required": true,
   1188       "bounded_task_host_required": true,
   1189       "native_accepted_work_max": 32,
   1190       "native_pending_work_blocks_queries": false,
   1191       "native_controls_drain_prior_work": true,
   1192       "observer_loss_cancels_accepted_work": false,
   1193       "close_drains_before_workspace_disposal": true,
   1194       "stock_signer_or_transport_constructed": false
   1195     },
   1196     "phases": [
   1197       "T0",
   1198       "T1",
   1199       "S",
   1200       "T2",
   1201       "D"
   1202     ],
   1203     "selected_executor_required_for_stock": true,
   1204     "fresh_same_key_cache_can_allocate": false,
   1205     "shared_route_local_fallback_allowed": false,
   1206     "effects_inside_stock_transaction": false,
   1207     "unknown_is_nonspendable": true,
   1208     "expiry_proves_nonissuance": false,
   1209     "obtained_evidence_append_only": true,
   1210     "observation_time_nullable": true,
   1211     "positive_amendment_hold_before_issuance": true,
   1212     "negative_amendment_release_at_installation": true,
   1213     "handover_consumes_once": true,
   1214     "buyer_receipt_moves_stock": false,
   1215     "private_causal_heads_use_timestamp_lww": false
   1216   },
   1217   "protocol": {
   1218     "listing_kind": 30402,
   1219     "chat_rumor_kind": 14,
   1220     "seal_kind": 13,
   1221     "gift_wrap_kind": 1059,
   1222     "commerce_kind": 8890,
   1223     "capability_kind": 18890,
   1224     "assignment_contract": "radroots.shared_sdk.protocol.v1",
   1225     "structured_authoring": "blocked_until_wire_and_crypto_qualification",
   1226     "independent_vectors_required": true,
   1227     "duplicate_json_fields_rejected": true
   1228   },
   1229   "cutover": {
   1230     "new_persistent_namespace": true,
   1231     "protected_export_and_quarantine_required": true,
   1232     "restore_starts_nonpublishing": true,
   1233     "unknowns_and_obligations_protected": true,
   1234     "automatic_legacy_reissue_allowed": false,
   1235     "meaningful_state_reset_requires_operator_approval": true
   1236   },
   1237   "qualification": {
   1238     "implementation_claimed": false,
   1239     "software_matrix_executed": false,
   1240     "device_matrix_executed": false,
   1241     "final_gate_acceptance_claimed": false
   1242   }
   1243 }