clm-kernel 0.0.24

Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate
Documentation
clm:
  abstract_spec:
    context: >
      Type manifest for Content Missing tokens — returned by Layer 0 Content Resolution IoC when a routed handle's target content is not found in the local CAS database.

    goal: "Validate that a payload conforms to the Content Missing token schema."
    success_criteria:
      - "Payload contains a 'type' field matching 'meta/content_missing'."
      - "Payload contains a 'handle' field of type string."
      - "Payload contains a 'medium_hint' field of type string."
      - "Payload contains a 'uri' field of type string."
  concrete_impl:
    runtime: system
    operation: type_validator_content_missing
    universe_level: 1
    precondition:
      description: "Payload must be a non-empty YAML or JSON object."
      vcard_pre: gate:payload_nonempty
    postcondition:
      description: "Returns boolean is_valid and a VCard attestation."
      vcard_post: gate:result_sealed
    schema:
      required_fields:
        - name: "type"
          type: "string"
          description: "Must be 'meta/content_missing'"
        - name: "handle"
          type: "string"
          description: "The handle name that triggered resolution"
        - name: "medium_hint"
          type: "string"
          description: "The medium of the routed handle (e.g. http, ipfs, file)"
        - name: "uri"
          type: "string"
          description: "The physical routing URI location"
      optional_fields:
        - name: "cached_hash"
          type: "string"
          description: "The expected content hash (if declared in route)"
    inputs:
      payload: "MCard — the data to validate"
    outputs:
      is_valid: "boolean — true if payload conforms to Content Missing schema"
      v_post: "VCard — attestation of validation result"
    process:
      type: meta_evaluate
      target: "core.type_validator.content_missing"
  balanced_exp:
    expectation: "Content Missing token validator correctly identifies valid token metadata."
    pending_cases:
      - given:
          payload: {"type": "meta/content_missing", "handle": "http_test_handle", "medium_hint": "http", "uri": "http://example.com/spec.yaml", "cached_hash": "sha256:abc"}
        when: "validate"
        then:
          is_valid: true
      - given:
          payload: {"type": "meta/content_missing", "handle": "http_test_handle"}
        when: "validate"
        then:
          is_valid: false
  _meta:
    clm_root_hash: sha256:2233d7e12ac7eb07261ca6ed59b21834270e661a97c2eaa909606fdd1d5e569b
    a_hash: sha256:514454b8748180327f91e6273f34c24204e1f19d6d468c48d4b7aae6383fa30d
    c_hash: sha256:8ed7adb22d465d90e06f0d9401fa431174d6c1c275b797809c7a945a609b0be6
    b_hash: sha256:64de03bb8be3d1a2499f43f6b10dcc683d4fb345cdb82e83af73c1d557b7781a
    clm_name: type_validator_content_missing
    computed_at: "2026-05-28T15:49:54Z"
    depends_on: []