feat(tcs): execute native provider state transitions
This commit is contained in:
parent
3c4abb314d
commit
594c7e0250
85 changed files with 10628 additions and 12 deletions
|
|
@ -0,0 +1,8 @@
|
|||
TCS 0.1;
|
||||
|
||||
PROTOCOL TCS-CORE-MACHINE-OPERATION-REGISTRY-0001 {
|
||||
header { schema = "tcs.protocol/v1"; name_zh = "TCS核心机器原语注册表"; name_en = "TCS Core Machine Primitive Registry"; version = "0.1.0"; language = "TCS/0.1"; profile = "HLDP-NP/1"; lifecycle = "CANDIDATE"; canonical_uri = "language/protocols/TCS-CORE-MACHINE-OPERATION-REGISTRY-0001.tcs"; }
|
||||
registry { R001 { operation = "CORE.APPLY_EXACT_STATE_TRANSITION"; version = "0.1.0"; protocol = "TCS-GENERIC-EXACT-STATE-PRIMITIVE-0001"; host_role = "MECHANICAL_ONLY"; semantic_owner = "CALLING_TCS_PROVIDER_GIR"; } }
|
||||
boundary { product_operations = ["LPM.*", "DESKTOP.*"]; product_operations_implemented_in_host = false; natural_language_interpretation_in_host = false; provider_required = true; }
|
||||
lifecycle { current = "REGISTERED_FOR_STAGE4_COMPILER_NOT_YET_RUNTIME_PROVEN"; install_is_separate = true; mount_is_separate = true; }
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
TCS 0.1;
|
||||
|
||||
PROTOCOL TCS-GENERIC-EXACT-STATE-PRIMITIVE-0001 {
|
||||
header { schema = "tcs.protocol/v1"; name_zh = "TCS通用精确状态转换机械原语"; name_en = "TCS Generic Exact State Transition Mechanical Primitive"; version = "0.1.0"; language = "TCS/0.1"; profile = "HLDP-NP/1"; lifecycle = "CANDIDATE"; canonical_uri = "language/protocols/TCS-GENERIC-EXACT-STATE-PRIMITIVE-0001.tcs"; }
|
||||
operation { id = "TCS-OP-CORE-EXACT-STATE-0001"; name = "CORE.APPLY_EXACT_STATE_TRANSITION"; input = "EXPECTED_PRIOR_PLUS_OPAQUE_NEXT_STATE"; output = "CANONICAL_STATE_TARGET_AND_READBACK_RECEIPT"; semantic_owner = "CALLING_TCS_PROVIDER_GIR"; host_role = "MECHANICAL_COMPARE_ATOMIC_WRITE_HASH_AND_READBACK_ONLY"; }
|
||||
inputs { expected_prior_modes = ["ABSENT", "SHA256"]; next_state = "OPAQUE_TYPED_TCS_GIR_VALUE"; exact_target = true; }
|
||||
machine_rules { verify_gir = true; verify_operation = true; verify_target_equals_receipt_path = true; reject_outside_root = true; compare_prior_before_write = true; canonical_json = true; atomic_same_directory_replace = true; readback_exact_bytes = true; }
|
||||
forbidden_host_semantics { interpret_natural_language = false; know_lpm = false; know_desktop = false; infer_authority = false; choose_next_state = false; expand_target = false; synthesize_product_receipt = false; }
|
||||
errors { prior_mismatch = "TCS-E6001"; invalid_hash = "TCS-E3001"; unregistered_operation = "TCS-E2101"; outside_root = "TCS-E4002"; write_or_readback_failure = "TCS-E8001"; }
|
||||
acceptance { one_absent_to_present_transition = "REQUIRED"; one_prior_hash_mismatch_rejection = "REQUIRED"; one_outside_root_rejection = "REQUIRED"; host_product_semantic_authority = false; }
|
||||
}
|
||||
Loading…
Reference in a new issue