hololake-system-architecture/product-source/hololake-native-desktop/contracts/code-channel.json

52 lines
1.8 KiB
JSON
Raw Normal View History

{
"schema": "hololake.user-code-channel-contract/v1",
"record_id": "HLP-USER-CODE-CHANNEL-001",
"state": "LOCAL_INSTALLED_RUNTIME_ACCEPTED_PUBLIC_RELEASE_PENDING",
"entry_methods": ["OFFICIAL_HTTPS_CHANNEL_CLONE", "LOCAL_GIT_FOLDER_REGISTRATION"],
"clone": {
"allowed_schemes": ["https"],
"allowed_hosts": ["guanghulab.com", "guanghubingshuo.com"],
"embedded_credentials_allowed": false,
"query_or_fragment_credentials_allowed": false,
"terminal_prompt_allowed": false,
"credential_helper_allowed": false,
"app_owned_destination": true,
"failed_destination_cleanup_bounded": true
},
"registry": {
"owner": "HOLOLAKE_NATIVE_RUST_CORE",
"location": "TAURI_APP_DATA_ACCOUNTS_V1_HASHED_ACCOUNT_CODE_CHANNEL_V1",
"authenticated_account_required": true,
"cross_account_projection_allowed": false,
"stored_fields_include_credentials": false,
"atomic_write": true,
"restart_readback": true
},
"workbench": {
"repository_tree_browse": true,
"registered_repository_openable": true,
"path_escape_denied": true,
"symlink_traversal_denied": true,
"maximum_text_file_bytes": 2097152,
"knowledge_projection": true,
"source_projection": true,
"human_readable_formats": ["markdown", "json", "hdlp", "yaml", "toml", "ini", "source_code"]
},
"authority": {
"source_read_access": true,
"automatic_push": false,
"publication_authority": false,
"deployment_authority": false,
"server_authority": false
},
"acceptance": {
"rust_url_and_registry_tests": true,
"react_projection_integrated": true,
"repository_tree_runtime_tested": true,
"human_projection_runtime_tested": true,
"installed_runtime_acceptance": true,
"public_clone_runtime_acceptance": true,
"restart_readback": true,
"server_deployment": false
}
}