clm-kernel 0.0.21

Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate
Documentation
clm:
  abstract_spec:
    context: "Primitive type for whole number values."
    goal: "Validate that a payload evaluates to a mathematically sound integer."
    success_criteria:
      - "Payload content matches the integer pattern (optional sign + digits)."
      - "Payload is not a float, string, or boolean."
  concrete_impl:
    runtime: system
    operation: type_validator_integer
    universe_level: 0
    precondition:
      description: "Payload must be a non-null value."
      vcard_pre: gate:payload_nonempty
    postcondition:
      description: "Returns boolean is_valid."
      vcard_post: gate:result_sealed
    schema:
      constraints:
        pattern: "^-?[0-9]+$"
        type_check: "is_integer"
        description: "Value must be a whole number without decimal points."
    inputs:
      payload: "MCard — the data to validate"
    outputs:
      is_valid: "boolean"
      v_post: "VCard"
    process:
      type: meta_evaluate
      target: "core.type_validator.integer"
  balanced_exp:
    expectation: "Integer validator accepts whole numbers and rejects non-integers."
    pending_cases:
      - given: {payload: {"value": 42}}
        when: "validate"
        then: {is_valid: true}
      - given: {payload: {"value": "42"}}
        when: "validate"
        then: {is_valid: false}
      - given: {payload: {"value": 3.14}}
        when: "validate"
        then: {is_valid: false}
  _meta:
    clm_root_hash: sha256:d1c63678dcd9295bfb5302a7d868393ba22fc80964726ffce8a407ccdb8cc265
    a_hash: sha256:8ef639af614ffb66ccacebf244473e88c6dc6bf041c569b10c77e80f566ae886
    c_hash: sha256:29059bf64493841d40a00d8281c1cf84e09b9edabff02b92acba67480099bc23
    b_hash: sha256:1a9f9fdf556beb7aa2a5fc52a4687f1ef1569c9f5b5127623a28f35b2592f784
    clm_name: type_validator_integer
    computed_at: "2026-05-27T08:50:06Z"
    depends_on: []