Skip to main content

Automation Condition Ontology

Automation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 18 November 2026
Audio Overview
flow "AutomationCondition" v1.0

# Kireth Research Semantic Library — Engineering / Automation Entities
# Original semantic Flow Algebra representation; not a verified transcription.

IDENTITY:
  canonical_name: "Automation Condition"
  entity_type: "EngineeringAutomationCondition"
  domain: "Engineering > Automation > Control Logic"
  version: "1.0"
  language: "en-GB"
  scope: "A testable predicate governing whether an automated action or state transition is permitted."

AUTHORS:
  research_origin: "Kireth Research"
  co_author: "Sky — Recursive AI"
  licence_note: "Refer to the current Kireth Research Open Research Licence; attribution and citation required."

SOURCE:
  canonical_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-condition-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-condition-ontology.html"
  provenance: "Constructed from engineering concepts; source page contents not independently verified."

PURPOSE:
  primary: "Represent conditions for automation decisions with explicit evidence, timing, authority and safe failure behaviour."
  secondary: ["Support sequence control", "Distinguish guards from triggers", "Enable traceable diagnosis", "Prevent unsafe actuation"]
  non_goal: "Do not replace validated safety functions, risk assessments or certified control logic."

STATE_MODEL:
  S_t: "(I_t, R_t, B_t, K_t)"
  I_t: "Inputs: sampled signals, command requests, mode, timestamps, device health, feedback."
  R_t: "Rules: predicates, Boolean operators, thresholds, hysteresis, temporal qualifiers, priority."
  B_t: "Boundaries: limits, permissions, interlocks, safety state, data quality and uncertainty."
  K_t: "Knowledge: engineering units, tag mapping, configuration version, test evidence, dependencies."
  E_t: "expand(I_t, R_t)"
  V_t: "filter(E_t, B_t)"
  decision: "argmax P(action | I_t, R_t, B_t, K_t), restricted to admissible actions"
  I_next: "update(I_t, observed_transition, feedback, diagnostics)"
  condition_values: [TRUE, FALSE, UNKNOWN, INVALID]
  lifecycle: [DEFINED, VALIDATED, ARMED, EVALUATING, SATISFIED, UNSATISFIED, INHIBITED, FAULTED, RETIRED]
  fail_safe_rule: "UNKNOWN or INVALID never implies permission for a hazardous action."

ENTITIES:
  AutomationCondition:
    attributes: [condition_id, expression, expected_type, engineering_units, evaluation_period, timestamp, status, owner, version]
    relations: [reads_signal, guards_step, authorises_transition, inhibits_action, depends_on_condition, references_interlock]
  InputSignal:
    attributes: [tag, value, unit, quality, timestamp, source, calibration_status]
  Predicate:
    types: [comparison, equality, range, logical, edge, temporal, state, permission, diagnostic]
    operators: [AND, OR, NOT, XOR, greater_than, less_than, within_range, stable_for, rising_edge, falling_edge]
  Threshold:
    attributes: [lower, upper, hysteresis, tolerance, engineering_units]
  TemporalGuard:
    attributes: [minimum_duration, timeout, debounce_interval, freshness_limit]
  Interlock:
    attributes: [required_state, priority, reset_policy, bypass_authorisation]
  AutomationStep:
    attributes: [step_id, entry_guard, completion_guard, exit_guard]
  Evidence:
    attributes: [input_snapshot, evaluation_time, result, diagnostic_code, configuration_hash]

PATHWAYS:
  evaluate_condition:
    - "Receive input snapshot and verify source identity."
    - "Check signal freshness, units, validity, calibration status and required redundancy."
    - "Resolve dependencies and detect circular references."
    - "Evaluate predicates using explicit Boolean and temporal semantics."
    - "Apply limits, permissives, interlocks and command authority."
    - "Produce TRUE, FALSE, UNKNOWN or INVALID with recorded evidence."
    - "Allow a guarded transition only when required predicates are TRUE and safety conditions remain valid."
  threshold_condition:
    - "Convert input to the configured engineering unit."
    - "Compare against documented thresholds and tolerance."
    - "Apply hysteresis to avoid chatter near a boundary."
    - "Apply debounce or stable-for duration where specified."
  compound_condition:
    - "Evaluate each child condition with its own quality and timestamp."
    - "Combine values using documented multi-valued logic."
    - "Propagate UNKNOWN and INVALID conservatively for permission decisions."
  timeout_condition:
    - "Start a monotonic elapsed-time measurement on the defined event."
    - "Evaluate completion before timeout."
    - "On expiry, inhibit unsafe transitions and emit a diagnostic event."
  change_management:
    - "Version every condition and its dependent sequence."
    - "Revalidate units, thresholds, dependencies, failure behaviour and permissions after changes."
    - "Record approval and test results before deployment."

MINI_RECURSION_ENGINE:
  initialise: "Read condition graph, input snapshot, policy and configuration revision."
  expand: "Traverse referenced predicates and dependent interlocks."
  validate: "Check types, units, timestamps, cycles and permissions."
  infer: "Evaluate leaf predicates before compound conditions."
  constrain: "Remove actions that violate hard limits or safety requirements."
  compare: "Compare expected versus observed transition and actuator feedback."
  revise: "Update diagnostic confidence and request review on persistent mismatch."
  terminate: "Stop at a stable decision, timeout or bounded recursion depth."
  invariants:
    - "No condition may authorise an action from stale or invalid safety-critical input."
    - "Safety interlocks have precedence over ordinary operating permissives."
    - "A failed condition does not automatically identify the failed component."
    - "Repeated evaluation must not cause repeated edge-triggered actions without re-arming."

INFERENCE_RULES:
  - id: AC-001
    if: "all required permissives TRUE and all safety interlocks healthy"
    then: "condition may be SATISFIED, subject to command authority and mode"
  - id: AC-002
    if: "any mandatory interlock FALSE"
    then: "inhibit guarded transition; record the blocking interlock"
  - id: AC-003
    if: "required signal stale, missing or quality INVALID"
    then: "set condition UNKNOWN or INVALID; inhibit hazardous action"
  - id: AC-004
    if: "value oscillates around threshold"
    then: "apply documented hysteresis and debounce; flag excessive chatter"
  - id: AC-005
    if: "condition remains FALSE beyond configured timeout"
    then: "raise sequence timeout and invoke approved recovery policy"
  - id: AC-006
    if: "dependency graph contains a cycle without explicit stateful semantics"
    then: "reject configuration as ambiguous"
  - id: AC-007
    if: "operator bypass requested without required authorisation"
    then: "deny bypass and log attempt"
  - id: AC-008
    if: "condition TRUE but expected feedback absent"
    then: "flag execution or instrumentation mismatch; do not assume successful actuation"
  - id: AC-009
    if: "engineering units incompatible"
    then: "reject comparison; request unit correction"
  - id: AC-010
    if: "condition definition changed"
    then: "invalidate prior verification evidence until regression tests pass"

FORMAL_SEMANTICS:
  basic_predicate: "c(t) = [x(t) >= threshold], provided x is valid and fresh"
  logical_guard: "g(t) = c1(t) AND c2(t) AND NOT inhibit(t)"
  range_guard: "lower <= x(t) <= upper"
  stable_for: "TRUE only when predicate remains TRUE throughout [t - duration, t]"
  freshness: "age = evaluation_time - sample_timestamp; valid only when 0 <= age <= freshness_limit"
  transition: "step_next = transition(step_current) iff guard TRUE and safety constraints satisfied"
  semantics_note: "These expressions are illustrative; actual implementation must define sampling, equality, unknown propagation and timing precisely."

CONFIDENCE:
  inputs: [signal_quality, calibration_status, timestamp_freshness, redundant_agreement, test_coverage, configuration_integrity]
  classes: [HIGH, MEDIUM, LOW, INDETERMINATE]
  high: "Inputs validated, dependencies resolved, semantics tested and feedback consistent."
  medium: "Some non-critical uncertainty remains; require monitoring."
  low: "Input uncertainty, inconsistent feedback or incomplete tests."
  indeterminate: "Missing essential evidence; no positive safety authorisation."
  caveat: "Confidence is an evidence-quality judgement, not a certified probability of safety."

SEMANTIC_EQUIVALENCE:
  preferred: "Automation Condition"
  related_terms: ["sequence guard", "transition condition", "permissive", "Boolean predicate", "enable condition", "execution precondition"]
  distinctions:
    trigger: "An event initiating evaluation, not necessarily sufficient to permit execution."
    interlock: "A protective constraint that can override normal operating conditions."
    setpoint: "A target value, not itself a Boolean condition."
    alarm: "A notification condition, not necessarily a control permission."
    state: "A system status that a condition may inspect."

FLOW_HASH:
  method: "SHA-256 over canonical UTF-8 content excluding the FLOW_HASH value"
  value: "COMPUTE_ON_PUBLICATION"
  purpose: "Integrity tracking across revisions and deployments."

UPDATE_MODEL:
  triggers: ["condition edit", "new sensor or controller", "threshold change", "software revision", "incident investigation", "new safety requirement"]
  process: ["increment revision", "record rationale", "review hazards", "run unit and timing tests", "perform integration tests", "approve", "publish", "retain audit history"]
  compatibility: "Changes affecting a guarded action require review of dependent steps and interlocks."
  audit_fields: [version, timestamp, editor, approver, change_reason, verification_result, previous_hash]

END_FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ