feat(tcs): observe real macOS object tree read-only

This commit is contained in:
冰朔 2026-08-24 13:20:52 +08:00
commit de5fadf048
112 changed files with 15197 additions and 154 deletions

View file

@ -0,0 +1,148 @@
# Host Structured Object Tree Read Only Observation Protocol · Human Engineering Language (English)
> This is an English reading projection of validated native TCS/HLDP source. It is not a new canonical source and grants no execution authority.
## What this is
This is a **protocol** declaration with identifier `TCS-HOST-STRUCTURED-OBJECT-TREE-OBSERVATION-0001` and version `0.1.0`. The projector validates it with the Stage-1 compiler before changing its reading order.
## Who is here
The native source does not provide this field; the projector does not guess.
## Why this started
- **source** `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`
## What changed
The native source does not provide this field; the projector does not guess.
## How it will execute
This is a non-executable declaration and has no action graph.
## Boundaries and exception handling
- **failure** `failure`
- **accessibility_not_granted**TCS-HOST-E4003 `failure.accessibility_not_granted`
- **fail closed**yes `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`
## How completion is proven
The native source does not provide this field; the projector does not guess.
## Where to continue next time
The native source does not provide this field; the projector does not guess.
## Source and verification
- **Native declaration identifier**: `TCS-HOST-STRUCTURED-OBJECT-TREE-OBSERVATION-0001`
- **Native declaration kind**: `PROTOCOL`
- **TCS source SHA-256**: `c2cffe724020e9d616743303858df28df6dd06bf412dc4af885efa5e7b19f52b`
- **Validation compiler**: `TCS-COMPILER-STAGE6-HOST-OBJECT-OBSERVATION-0001`
- **Projection protocol**: `GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
## Complete native structure cross-reference
All top-level structures and field paths are retained below so a reader can audit whether the projection omitted information.
- **boundary** `boundary`
- **no_control_permission_inference**yes `boundary.no_control_permission_inference`
- **no_old_language_ui_or_product_rule**yes `boundary.no_old_language_ui_or_product_rule`
- **no_real_action_completion_claim**yes `boundary.no_real_action_completion_claim`
- **rust_swift_objc_or_os_api_is_mechanical_projection_only**yes `boundary.rust_swift_objc_or_os_api_is_mechanical_projection_only`
- **tcs_is_product_semantic_source**yes `boundary.tcs_is_product_semantic_source`
- **failure** `failure`
- **accessibility_not_granted**TCS-HOST-E4003 `failure.accessibility_not_granted`
- **fail closed**yes `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** `header`
- **canonical source path**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
- **language**TCS/0.1 `header.language`
- **lifecycle**CANDIDATE `header.lifecycle`
- **English name**Host Structured Object Tree Read Only Observation Protocol `header.name_en`
- **Chinese name**:宿主结构化对象树只读观察协议 `header.name_zh`
- **profile**HLDP-NP/1 `header.profile`
- **schema**tcs.protocol/v1 `header.schema`
- **version**0.1.0 `header.version`
- **identity** `identity`
- **coordinates_are_identity**no `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**no `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**no `output.desktop_action_attempted`
- **host_semantic_authority**no `output.host_semantic_authority`
- **network_action**no `output.network_action`
- **permission_prompted**no `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**yes `output.tree_hash_required_when_observed`
- **permission** `permission`
- **current_stage_may_execute_ax_action**no `permission.current_stage_may_execute_ax_action`
- **current_stage_may_open_system_settings**no `permission.current_stage_may_open_system_settings`
- **current_stage_may_read_trust_state**yes `permission.current_stage_may_read_trust_state`
- **current_stage_may_request_tcc_prompt**no `permission.current_stage_may_request_tcc_prompt`
- **separate_direct_human_permission_required_after_denial**yes `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**no `primitive.natural_language_interpretation`
- **operation**CORE.OBSERVE_HOST_OBJECT_TREE `primitive.operation`
- **product_action**no `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**no `privacy.raw_accessibility_tree_committed_to_git`
- **title_plaintext_persisted**no `privacy.title_plaintext_persisted`
- **title_projection** `privacy.title_projection`
- TITLE_PRESENT
- TITLE_SHA256
- **value_plaintext_persisted**no `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**no `request.trust_prompt`
- **source** `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`
---
This page changes only the reading order; it does not change TCS/HLDP semantics.