lib

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

browser_workspace.v2.json (12931B)


      1 {
      2   "schema_version": 1,
      3   "contract_id": "radroots.storage.browser_workspace.v2",
      4   "state": "implemented_verified_operation_journal_component",
      5   "owner": "radroots_storage_indexeddb",
      6   "feature": "workspace",
      7   "target": "wasm32-unknown-unknown",
      8   "shared_policy": "radroots_storage::workspace::grant",
      9   "native_policy_consumer": "radroots_storage_sqlite::workspace",
     10   "shared_grant_wire_private": true,
     11   "default_import_side_effects": false,
     12   "scope": "fresh_unrelated_buyer_or_seller_outbox",
     13   "stock_authority": false,
     14   "participant_key_is_workspace_proof": false,
     15   "storage": {
     16     "namespace_domain": "radroots.browser.local_outbox.namespace.v2",
     17     "grant_key_domain": "radroots.browser.local_outbox.grant.v1",
     18     "create_and_existing_open_separate": true,
     19     "existing_requires_selection_and_protected_proof": true,
     20     "grant_acknowledgement": "actual_indexeddb_transaction_completion",
     21     "missing_or_damaged_state_replacement_allowed": false,
     22     "envelope_version": 2,
     23     "fresh_key_and_nonce_per_grant_seal": true,
     24     "native_context_and_wire_preserved": true,
     25     "browser_grant_purpose": "radroots.browser.workspace.grant",
     26     "browser_grant_payload_schema": "radroots.browser.workspace.grant.v2",
     27     "predecessor_opening_migration_or_replacement": false
     28   },
     29   "writer": {
     30     "mechanism": "origin_scoped_web_locks",
     31     "mode": "exclusive",
     32     "if_available": true,
     33     "fallback_allowed": false,
     34     "accepted_jobs_serial": true,
     35     "accepted_work_rust_owned": true,
     36     "admission_and_active_write_check_lease": true,
     37     "guard_refusal_aborts_whole_batch": true,
     38     "close_order": [
     39       "stop_admission",
     40       "drain_accepted_jobs",
     41       "close_database",
     42       "observe_released_lock_promise"
     43     ],
     44     "fresh_work_active_write_callback_rechecks_clock_and_expiry": true,
     45     "obtained_capture_active_write_checks_retained_proof_and_lease": true
     46   },
     47   "resources": {
     48     "clear_grant_bytes_max": 16384,
     49     "protected_grant_bytes_max": 32768,
     50     "conservative_job_reservation_bytes": 4194304,
     51     "live_job_bytes_max": 4194304,
     52     "live_jobs_max_per_workspace": 1,
     53     "setup_jobs_max_per_host_thread": 8,
     54     "close_observers_max": 32,
     55     "whole_browser_memory_bound_claim": false,
     56     "setup_conservative_reservation_bytes": 524288,
     57     "reservation_revision": "One accepted 4 MiB serial workspace job covers the complete 384 KiB T1 plan, S claims/obtained output and bounded read-set witnesses; the separate generic host reserves 2 MiB for each admitted scan. No whole-browser memory bound is claimed.",
     58     "scoped_snapshot_records_max": 16384,
     59     "scoped_snapshot_read_reservation_bytes": 2097152,
     60     "atomic_mutation_records_max": 32
     61   },
     62   "qualification": {
     63     "browsers": [
     64       "chromium",
     65       "firefox",
     66       "webkit"
     67     ],
     68     "main_thread_and_worker_required": true,
     69     "actual_worker_termination_and_page_restart_required": true,
     70     "native_workspace_and_ordinary_inquiry_regressions_required": true,
     71     "final_phone_or_full_rcld_claim": false,
     72     "expanded_fixture_deadline_seconds": 180,
     73     "fixture_deadline_is_product_performance_acceptance": false
     74   },
     75   "shared_prepared_codec": "radroots_storage::command::protected",
     76   "operation_admission": {
     77     "phase": "T0_only",
     78     "original_identity_and_window_retained": true,
     79     "exact_replay_before_fresh_deadline_or_entropy": true,
     80     "same_id_different_digest_refused": true,
     81     "private_record_clear_bytes_max": 16384,
     82     "complete_preparation_clear_bytes_max": 65536,
     83     "manifest_clear_bytes": 40,
     84     "part_count_max": 4,
     85     "fixed_slots_compared_atomically": 5,
     86     "grant_compared_in_same_transaction": true,
     87     "part_context_binds": [
     88       "workspace",
     89       "operation",
     90       "position",
     91       "complete_preparation_digest"
     92     ],
     93     "active_callback_checks": [
     94       "writer_lease",
     95       "current_grant_and_proof",
     96       "monotonic_positive_clock",
     97       "fresh_first_issue_deadline"
     98     ],
     99     "unknown_completion": "retain_original_attempt_stop_admission_exact_reopen",
    100     "orphan_or_corrupt_replacement_allowed": false,
    101     "participant_issuance_installation_or_delivery": false,
    102     "absent_t0_complete_operation_prefix_compared_atomically": true
    103   },
    104   "shared_plan_codec": "radroots_storage::command::protected::plan::PlanManifest",
    105   "signing_plan_binding": {
    106     "phase": "T1_only",
    107     "complete_plan_clear_bytes_max": 393216,
    108     "private_record_clear_bytes_max": 16384,
    109     "part_count_max": 24,
    110     "fixed_plan_slots_compared_atomically": 25,
    111     "grant_t0_and_t1_batch_records": 31,
    112     "batch_records_max": 32,
    113     "original_preparation_transaction_and_window_retained": true,
    114     "exact_retained_replay_before_fresh_deadline_or_entropy": true,
    115     "independent_context_binds": [
    116       "workspace",
    117       "operation",
    118       "manifest_or_part_position",
    119       "complete_plan_digest_for_parts"
    120     ],
    121     "unknown_completion": "retain_original_attempt_stop_admission_exact_reopen",
    122     "missing_or_orphan_replacement_allowed": false,
    123     "native_v1_wire_schema_and_context_preserved": true,
    124     "participant_issuance_installation_or_delivery": false
    125   },
    126   "supersedes_browser_profile": "radroots.storage.browser_workspace.v1",
    127   "read_set": {
    128     "owner_bound": true,
    129     "clone_or_serialization": false,
    130     "opaque_operation_prefix_bytes": 16,
    131     "record_key_bytes": 32,
    132     "witness": "ordered_key_length_sha256",
    133     "every_decoded_record_matches_witness": true,
    134     "same_transaction_exact_set_revalidation_before_mutations": true,
    135     "provider_work_inside_transaction": false,
    136     "readwrite_durability_requested_and_observed": "strict",
    137     "physical_power_loss_guarantee_claim": false
    138   },
    139   "operation_addresses": {
    140     "prefix_domain": "radroots.browser.local_outbox.operation.prefix.v2",
    141     "suffix": "closed_kind_recipient_position_attempt_position_part_observation_and_zero_reserved_bytes",
    142     "reserved_families": [
    143       "preparation",
    144       "plan",
    145       "claim",
    146       "obtained_seal",
    147       "installation",
    148       "publication_work",
    149       "delivery_frame",
    150       "delivery_observation",
    151       "delivery_request_index",
    152       "listing_installation",
    153       "public_publication_work"
    154     ],
    155     "reserved_not_yet_implemented_families": []
    156   },
    157   "signing_claim": {
    158     "phase": "S_claim",
    159     "fresh_eligibility": "current_access_lease_clock_original_first_issue_window",
    160     "retained_claim_authorizes_redispatch": false,
    161     "original_attempt_transaction_intent_and_observation_preserved": true
    162   },
    163   "obtained_capture": {
    164     "phase": "S_capture",
    165     "actual_original_claim_and_independent_proof_required": true,
    166     "fresh_time_or_revocation_discards_obtained_fact": false,
    167     "unknown_observation_time": "null",
    168     "capture_only_open_allows_fresh_authentication_or_commands": false,
    169     "each_signed_field_id_and_signature_verified_against_stored_intent": true,
    170     "caller_original_proof_and_evidence_borrowed": true,
    171     "admitted_driver_retains_bounded_work_copy": true
    172   },
    173   "qualification_state": "behavior_verified_native_and_three_browsers",
    174   "shared_claim_codec": "radroots_storage::command::protected::issuance::ClaimRecord",
    175   "shared_obtained_metadata_codec": "radroots_storage::command::protected::issuance::EvidenceManifest",
    176   "chat_installation": {
    177     "phase": "T2",
    178     "shared_checked_models": [
    179       "ChatInstallation",
    180       "PublicationWork",
    181       "OperationSnapshot"
    182     ],
    183     "private_wire": "fixed_binary_v2_468_bytes",
    184     "body_in_original_command": true,
    185     "one_original_message_and_basis": true,
    186     "later_obtained_recipients_append_distinct_work": true,
    187     "fresh_current_access_lease_and_clock_required": true,
    188     "original_first_issue_window_applied_to_installation": false,
    189     "exact_retained_replay_before_entropy": true,
    190     "complete_prefix_checked_in_actual_transaction": true,
    191     "unknown_original_attempt_retained": true,
    192     "delivery_or_full_client_claim": false
    193   },
    194   "concrete_ports": [
    195     "operation",
    196     "signing_plan",
    197     "claim_attempt",
    198     "signing_attempt",
    199     "capture_evidence",
    200     "obtained_evidence",
    201     "install_transition_and_outbox",
    202     "operation_snapshot",
    203     "prepare_delivery_attempt",
    204     "delivery_attempt",
    205     "record_delivery_observation",
    206     "delivery_observations",
    207     "reconcile_unknown",
    208     "admit_command_and_hold",
    209     "bind_signing_intents"
    210   ],
    211   "delivery_frame": {
    212     "phase": "D_attempt",
    213     "complete_bytes_max": 393216,
    214     "clear_part_bytes_max": 16384,
    215     "parts_max": 24,
    216     "manifest_bytes": 200,
    217     "request_index_bytes": 100,
    218     "new_records_max": 26,
    219     "grant_t0_comparisons": 6,
    220     "atomic_records_max": 32,
    221     "per_recipient_slots_max": 192,
    222     "total_slots_max": 384,
    223     "per_endpoint_invocations_max": 12,
    224     "protected_request_index_and_manifest_must_agree": true,
    225     "one_original_publication_policy": true,
    226     "retained_or_unknown_authorizes_redispatch": false,
    227     "actual_original_seal_containment_and_temporary_key_verified": true,
    228     "current_access_lease_clock_and_original_delivery_deadline_at_commit": true,
    229     "signing_window_applied_to_delivery": false,
    230     "caller_candidate_borrowed": true,
    231     "accepted_work_has_bounded_owned_copy": true,
    232     "actual_complete_prefix_fence": true,
    233     "provider_signing_or_network_inside_transaction": false,
    234     "delivery_observations_or_full_client_claim": false
    235   },
    236   "delivery_observation": {
    237     "phase": "D_observation",
    238     "record_bytes_max": 16384,
    239     "reports_max_per_operation": 2304,
    240     "independent_classes": 6,
    241     "append_only_first_original_details_and_optional_time": true,
    242     "expected_context_binds_original_attempt_work_target_class_and_transaction": true,
    243     "streamed_with_actual_attempt_frame": true,
    244     "original_retained_proof_required": true,
    245     "current_expiry_revocation_or_unavailable_clock_discards_obtained_fact": false,
    246     "full_prefix_and_original_grant_checked_in_retention_transaction": true,
    247     "provider_or_network_inside_transaction": false,
    248     "query_current_access_required": true,
    249     "retained_or_unknown_authorizes_dispatch": false,
    250     "capture_only_owner_allows_fresh_authentication_or_commands": false,
    251     "actual_remote_acceptance_or_full_client_claim": false
    252   },
    253   "full_operation_journal_implemented_and_verified": true,
    254   "full_browser_client_or_transport_execution_qualified": false,
    255   "general_storage_spi_implemented": false,
    256   "shared_operation_journal": "radroots_storage::command::OperationJournal",
    257   "retained_capture_recovery": {
    258     "ordinary_admission_while_uncertain": "denied",
    259     "writer_held_through_connection_close_and_reopen": true,
    260     "open_mode": "same_existing_namespace_and_schema_only",
    261     "original_proof_authenticated_before_connection_disposal": true,
    262     "cached_original_grant_after_confirmed_close": true,
    263     "cached_grant_clear_bytes_max": 16384,
    264     "raw_proof_retained_in_handle": false,
    265     "current_grant_and_actual_original_claim_or_attempt_revalidated": true,
    266     "old_witness_replayed_after_reopen": false,
    267     "refcell_borrow_held_across_await": false,
    268     "confirmation_clears_only_matching_original_capture_identity": true,
    269     "unrelated_capture_clears_uncertainty": false,
    270     "general_or_multiple_unrelated_uncertainty": "explicit_close_and_reopen_required",
    271     "fresh_grant_clock_or_dispatch_authority_acquired": false,
    272     "namespace_initialization_migration_or_damaged_state_repair": false,
    273     "failed_recovery_keeps_uncertainty_and_writer": true,
    274     "accepted_recovery_survives_lost_observer": true,
    275     "final_close_drains_recovery_before_writer_release": true
    276   },
    277   "public_listing": {
    278     "state": "implemented_under_current_component_qualification",
    279     "stock_authority": false,
    280     "shared_checked_models": [
    281       "CapturedListingCommand",
    282       "PublicSigningPlan",
    283       "SigningTarget::PublicEvent",
    284       "ListingInstallation",
    285       "PublicPublicationWork",
    286       "OperationSnapshot"
    287     ],
    288     "initial_coordinate": "atomic_T0_protected_author_listing_index_outside_operation_prefix",
    289     "coordinate_existing_decision_and_original_preparation_verified": true,
    290     "coordinate_compared_with_every_later_write": true,
    291     "coordinate_replacement_or_expiry_reclamation": false,
    292     "private_contexts_and_record_bytes_unchanged": true,
    293     "public_issuance_target_position": 2,
    294     "public_issuance_context_domain": "radroots.browser.local_outbox.public_issuance.context.v1",
    295     "public_installation_and_work_families": [
    296       10,
    297       11
    298     ],
    299     "installation_metadata_clear_bytes": 76,
    300     "work_metadata_clear_bytes": 76,
    301     "public_delivery_frame_version": 3,
    302     "private_delivery_frame_version": 2,
    303     "public_delivery_uses_original_signed_bytes_without_wrapping": true,
    304     "public_recipient": null,
    305     "actual_page_worker_and_three_browser_execution_required": true,
    306     "protected_corruption_reopen_and_private_regressions_required": true,
    307     "full_browser_distribution_or_RCLD_qualification_claim": false
    308   }
    309 }