clm:
abstract_spec:
context: >
Runtime type for the PTR evaluation action — the universal mechanism to evaluate any data payload against any functional specification across any language runtime.
goal: "Validate that an evaluate invocation is well-formed."
success_criteria:
- "Payload contains a 'payload' MCard input."
- "Payload contains a 'target_pcard' referencing the function to apply."
- "Result is cryptographically bound by V_pre and V_post witnesses."
concrete_impl:
runtime: system
operation: type_validator_evaluate
universe_level: 2
precondition:
description: "Both payload and target_pcard must be provided."
vcard_pre: gate:payload_nonempty
postcondition:
description: "Returns the transformed result MCard and a VCard attestation."
vcard_post: gate:result_sealed
schema:
required_fields:
- name: "payload"
type: "MCard"
description: "The input data or arguments to transform."
- name: "target_pcard"
type: "PCard"
description: "The function, logic, or type to apply."
optional_fields:
- name: "runtime_override"
type: "string"
description: "Override the default runtime adapter."
inputs:
payload: "MCard — generic input data"
target_pcard: "PCard — functional specification"
outputs:
result: "MCard — the transformed output"
v_post: "VCard — attestation of evaluation result"
process:
type: meta_evaluate
target: "core.ptr_engine"
balanced_exp:
expectation: "Evaluate type validator accepts valid evaluation payloads."
pending_cases:
- given:
payload: {"value": "5"}
target_pcard: {"ref": "Integer.clm"}
when: "evaluate"
then:
result: {"value": 5}
v_post: {"status": "verified"}
_meta:
clm_root_hash: sha256:4bfdc2c6e0be57124db467b85979c217009290d4cc75787dbc928f08c3eed649
a_hash: sha256:ea1e38c89120e680d740e921a5b6c4f0b521ef82fccf3da1f39e4dd1954b159b
c_hash: sha256:d15caf60779b648372db459c8828058b923b2f5838a8e7bed1839a7a14a6f77c
b_hash: sha256:d335f16d170d867460e154bb198989c149c9a76b7c7a550e55d9caee6ad0645c
clm_name: type_validator_evaluate
computed_at: "2026-05-27T08:50:07Z"
depends_on: []