148 lines
7.7 KiB
Markdown
148 lines
7.7 KiB
Markdown
# 宿主结构化对象树只读观察协议 · 简体中文人类工程语言版
|
||
|
||
> 这是 TCS/HLDP 原生源码的简体中文阅读投影,不是新的正本,也不授予执行权限。若本页与 `.tcs` 源码不一致,以经过校验的 `.tcs` 源码为准。
|
||
|
||
## 这是什么
|
||
|
||
这是一份 **协议** 声明,编号为 `TCS-HOST-STRUCTURED-OBJECT-TREE-OBSERVATION-0001`,版本为 `0.1.0`。转换器已先用 Stage-1 编译器校验原生源码,再把机器枚举翻译成汉语;原始编号保留在括号和字段路径中。
|
||
|
||
## 谁在这里
|
||
|
||
源程序没有提供这一项,转换器不猜。
|
||
|
||
## 为什么开始
|
||
|
||
- **来源** `source`
|
||
- **comparison**:PASS_TCS_BRAIN_AND_SHARED_COMPUTER_REQUIRE_SAME_CANONICAL_WORLD_WITHOUT_OLD_LANGUAGE_SEMANTIC_AUTHORITY `source.comparison`
|
||
- **engineering_anchor_sha256**:a3dd8dbd2203b631bdb23f2693eb314d4ef86af68fdeaee8835e3cf0861ddd23 `source.engineering_anchor_sha256`
|
||
- **reasoning_anchor_sha256**:987600f9f2a52821425d9e5a3d3b5350415912588cf522ef3384d282cb0a26bf `source.reasoning_anchor_sha256`
|
||
|
||
## 发生了什么变化
|
||
|
||
源程序没有提供这一项,转换器不猜。
|
||
|
||
## 准备怎样执行
|
||
|
||
这是非执行声明,没有动作图。
|
||
|
||
## 边界与异常处理
|
||
|
||
- **失败处理** `failure`
|
||
- **accessibility_not_granted**:TCS-HOST-E4003 `failure.accessibility_not_granted`
|
||
- **失败时默认关闭**:是 `failure.fail_closed`
|
||
- **invalid_scope**:TCS-E4002 `failure.invalid_scope`
|
||
- **observation_failed**:TCS-HOST-E5102 `failure.observation_failed`
|
||
- **unsupported_platform**:TCS-E2101 `failure.unsupported_platform`
|
||
- **write_or_action_request**:TCS-E4001 `failure.write_or_action_request`
|
||
|
||
## 怎样算完成
|
||
|
||
源程序没有提供这一项,转换器不猜。
|
||
|
||
## 下一次从哪里继续
|
||
|
||
源程序没有提供这一项,转换器不猜。
|
||
|
||
## 来源与校验
|
||
|
||
- **原生声明编号**:`TCS-HOST-STRUCTURED-OBJECT-TREE-OBSERVATION-0001`
|
||
- **原生声明类型**:`PROTOCOL`
|
||
- **TCS 源码 SHA-256**:`c2cffe724020e9d616743303858df28df6dd06bf412dc4af885efa5e7b19f52b`
|
||
- **校验编译器**:`TCS-COMPILER-STAGE6-HOST-OBJECT-OBSERVATION-0001`
|
||
- **投影协议**:`GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
|
||
|
||
## 原生结构逐项对照
|
||
|
||
下面保留源码的全部顶层结构和字段路径,供人类审计投影有没有漏掉信息。
|
||
|
||
- **boundary** `boundary`
|
||
- **no_control_permission_inference**:是 `boundary.no_control_permission_inference`
|
||
- **no_old_language_ui_or_product_rule**:是 `boundary.no_old_language_ui_or_product_rule`
|
||
- **no_real_action_completion_claim**:是 `boundary.no_real_action_completion_claim`
|
||
- **rust_swift_objc_or_os_api_is_mechanical_projection_only**:是 `boundary.rust_swift_objc_or_os_api_is_mechanical_projection_only`
|
||
- **tcs_is_product_semantic_source**:是 `boundary.tcs_is_product_semantic_source`
|
||
- **失败处理** `failure`
|
||
- **accessibility_not_granted**:TCS-HOST-E4003 `failure.accessibility_not_granted`
|
||
- **失败时默认关闭**:是 `failure.fail_closed`
|
||
- **invalid_scope**:TCS-E4002 `failure.invalid_scope`
|
||
- **observation_failed**:TCS-HOST-E5102 `failure.observation_failed`
|
||
- **unsupported_platform**:TCS-E2101 `failure.unsupported_platform`
|
||
- **write_or_action_request**:TCS-E4001 `failure.write_or_action_request`
|
||
- **语言头** `header`
|
||
- **正本路径**:language/protocols/TCS-HOST-STRUCTURED-OBJECT-TREE-OBSERVATION-0001.tcs `header.canonical_uri`
|
||
- **compatibility** `header.compatibility`
|
||
- TCS-COMPILER-STAGE6-HOST-OBJECT-OBSERVATION-0001
|
||
- GIR/1
|
||
- **语言**:TCS/0.1 `header.language`
|
||
- **生命周期**:候选版本,尚未成为正式正本(`CANDIDATE`) `header.lifecycle`
|
||
- **英文名**:Host Structured Object Tree Read Only Observation Protocol `header.name_en`
|
||
- **中文名**:宿主结构化对象树只读观察协议 `header.name_zh`
|
||
- **协议配置**:HLDP-NP/1 `header.profile`
|
||
- **schema**:tcs.protocol/v1 `header.schema`
|
||
- **版本**:0.1.0 `header.version`
|
||
- **identity** `identity`
|
||
- **coordinates_are_identity**:否 `identity.coordinates_are_identity`
|
||
- **missing_role**:PRESERVE_UNKNOWN_NO_GUESS `identity.missing_role`
|
||
- **object_id**:SHA256_HOST_SNAPSHOT_PID_AX_PATH_ROLE_AND_SUBROLE `identity.object_id`
|
||
- **scope**:ONE_SNAPSHOT_ONE_HOST_ADAPTER `identity.scope`
|
||
- **screenshot_is_identity**:否 `identity.screenshot_is_identity`
|
||
- **snapshot_id**:SHA256_HOST_BINARY_PID_AND_OBSERVATION_TIME `identity.snapshot_id`
|
||
- **tree_hash**:SHA256_CANONICAL_OBSERVED_TREE `identity.tree_hash`
|
||
- **output** `output`
|
||
- **desktop_action_attempted**:否 `output.desktop_action_attempted`
|
||
- **host_semantic_authority**:否 `output.host_semantic_authority`
|
||
- **network_action**:否 `output.network_action`
|
||
- **permission_prompted**:否 `output.permission_prompted`
|
||
- **states** `output.states`
|
||
- OBSERVED_TARGET_READBACK_VERIFIED
|
||
- HALTED_ACCESSIBILITY_PERMISSION_NOT_GRANTED
|
||
- HALTED_NO_FOCUSED_APPLICATION
|
||
- HALTED_OBSERVATION_ERROR
|
||
- **tree_hash_required_when_observed**:是 `output.tree_hash_required_when_observed`
|
||
- **permission** `permission`
|
||
- **current_stage_may_execute_ax_action**:否 `permission.current_stage_may_execute_ax_action`
|
||
- **current_stage_may_open_system_settings**:否 `permission.current_stage_may_open_system_settings`
|
||
- **current_stage_may_read_trust_state**:是 `permission.current_stage_may_read_trust_state`
|
||
- **current_stage_may_request_tcc_prompt**:否 `permission.current_stage_may_request_tcc_prompt`
|
||
- **separate_direct_human_permission_required_after_denial**:是 `permission.separate_direct_human_permission_required_after_denial`
|
||
- **primitive** `primitive`
|
||
- **first_adapter**:MACOS_ACCESSIBILITY `primitive.first_adapter`
|
||
- **host_role**:MECHANICAL_READ_ONLY_ADAPTER `primitive.host_role`
|
||
- **natural_language_interpretation**:否 `primitive.natural_language_interpretation`
|
||
- **操作**:CORE.OBSERVE_HOST_OBJECT_TREE `primitive.operation`
|
||
- **product_action**:否 `primitive.product_action`
|
||
- **semantic_owner**:CALLING_TCS_GIR `primitive.semantic_owner`
|
||
- **privacy** `privacy`
|
||
- **local_raw_diagnostic_if_created**:MOVE_TO_ACCOUNT_ONLY_PRIVATE_EVIDENCE_AND_NEVER_REMOTE `privacy.local_raw_diagnostic_if_created`
|
||
- **raw_accessibility_tree_committed_to_git**:否 `privacy.raw_accessibility_tree_committed_to_git`
|
||
- **title_plaintext_persisted**:否 `privacy.title_plaintext_persisted`
|
||
- **title_projection** `privacy.title_projection`
|
||
- TITLE_PRESENT
|
||
- TITLE_SHA256
|
||
- **value_plaintext_persisted**:否 `privacy.value_plaintext_persisted`
|
||
- **value_projection**:VALUE_KIND_ONLY `privacy.value_projection`
|
||
- **request** `request`
|
||
- **attributes** `request.attributes`
|
||
- ROLE
|
||
- SUBROLE
|
||
- TITLE_HASH
|
||
- VALUE_KIND
|
||
- ENABLED
|
||
- FOCUSED
|
||
- CHILDREN
|
||
- **max_depth_max**:4 `request.max_depth_max`
|
||
- **max_depth_min**:0 `request.max_depth_min`
|
||
- **max_nodes_max**:512 `request.max_nodes_max`
|
||
- **max_nodes_min**:1 `request.max_nodes_min`
|
||
- **mode**:READ_ONLY `request.mode`
|
||
- **platform**:MACOS `request.platform`
|
||
- **root**:FOCUSED_APPLICATION `request.root`
|
||
- **trust_prompt**:否 `request.trust_prompt`
|
||
- **来源** `source`
|
||
- **comparison**:PASS_TCS_BRAIN_AND_SHARED_COMPUTER_REQUIRE_SAME_CANONICAL_WORLD_WITHOUT_OLD_LANGUAGE_SEMANTIC_AUTHORITY `source.comparison`
|
||
- **engineering_anchor_sha256**:a3dd8dbd2203b631bdb23f2693eb314d4ef86af68fdeaee8835e3cf0861ddd23 `source.engineering_anchor_sha256`
|
||
- **reasoning_anchor_sha256**:987600f9f2a52821425d9e5a3d3b5350415912588cf522ef3384d282cb0a26bf `source.reasoning_anchor_sha256`
|
||
|
||
---
|
||
|
||
本页只改变阅读顺序,不改变 TCS/HLDP 语义。
|