Skip to main content

Automation Event Ontology

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

# Kireth Research Semantic Library — Engineering / Automation Entities

IDENTITY:
  id: "engineering.automation.automation_event"
  name: "Automation Event"
  kind: "Temporal automation entity"
  version: "1.0"
  language: "en-GB"
  definition: "A time-associated occurrence or detected change in an automated system, represented with provenance, context and a defined consequence or observation."

AUTHORS:
  primary: "Kireth Research"
  collaborator: "Sky — Recursive AI"
  licence: "Open Research Licence; citation required"

SOURCE:
  canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-event-ontology.html"
  source_status: "Ontology URL supplied; page text not independently verified"
  derivation: "Original domain-informed Flow Algebra representation, not a verbatim extraction"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-event-ontology.html"

PURPOSE:
  describe: "Identify, classify, validate, correlate and record automation events."
  enable: ["event-driven sequence transitions", "audit trails", "diagnostics", "supervisory monitoring", "safe response selection"]
  distinguish: "An event is an occurrence; an alarm is an event requiring operator attention; a command is a requested action; a state is a condition persisting over time."

STATE_MODEL:
  S(t) = (I(t), R(t), B(t), K(t))
  I(t): "Inputs: observations, event payload, timestamp, source identity, current machine state"
  R(t): "Relations: causes, precedes, correlates_with, triggers, acknowledges, belongs_to"
  B(t): "Boundaries: permissions, deadlines, operating limits, interlocks, data validity"
  K(t): "Knowledge: equipment model, sequence rules, event schema, historical baseline"
  lifecycle: ["observed", "received", "validated", "classified", "correlated", "handled", "archived"]
  exceptional: ["rejected", "duplicate", "late", "unresolved", "quarantined"]
  invariant: "A received event is not evidence that the underlying physical action completed."

ENTITIES:
  AutomationEvent:
    fields: ["event_id", "event_type", "source_id", "event_time", "receive_time", "sequence_number", "payload", "quality", "severity", "correlation_id", "state", "handler_outcome"]
    event_types: ["state_change", "threshold_crossing", "timer_expiry", "operator_action", "command_result", "equipment_fault", "communication_change", "interlock_transition", "maintenance_activity"]
  EventSource:
    types: ["PLC", "RTU", "SCADA", "HMI", "sensor", "actuator", "gateway", "safety_controller"]
    fields: ["source_id", "device_clock_status", "authority", "health"]
  EventPayload:
    fields: ["measured_value", "engineering_unit", "old_state", "new_state", "quality_code", "raw_reference"]
  EventClock:
    fields: ["time_base", "clock_offset", "synchronisation_quality", "timestamp_uncertainty"]
  EventRule:
    fields: ["predicate", "guard", "priority", "action", "timeout", "recovery_policy"]
  EventLog:
    fields: ["append_index", "integrity_digest", "retention_policy", "access_control", "trace_id"]
  SafetyBoundary:
    fields: ["hazard_id", "required_safe_state", "independent_protection", "reset_authority"]

PATHWAYS:
  acquisition:
    source_observation -> timestamp -> assign_identity -> capture_payload -> queue
  validation:
    queued_event -> check_schema -> check_source -> check_timestamp -> check_quality -> accepted_or_quarantined
  correlation:
    accepted_event -> correlate_sequence -> detect_duplicate -> associate_equipment -> contextualise
  dispatch:
    contextualised_event -> evaluate_guard -> select_handler -> authorise_action -> execute_or_block
  confirmation:
    dispatched_action -> observe_feedback -> verify_outcome -> record_result
  alarm_path:
    abnormal_event -> alarm_rationalisation -> priority_assignment -> annunciation -> acknowledgement_tracking
  safety_path:
    hazardous_event -> independent_safety_assessment -> protective_response -> latched_record -> authorised_reset
  audit:
    event -> append_immutable_record -> retention_check -> traceable_retrieval

EVENT_SEMANTICS:
  ordering:
    happens_before(a,b): "a causally precedes b, based on sequence evidence rather than timestamp alone"
    concurrency: "Events without a proven ordering may be concurrent."
    clock_skew: "Timestamp order is uncertain when clock offsets or uncertainty intervals overlap."
  delivery:
    at_least_once: "Duplicates possible; handlers should be idempotent."
    at_most_once: "Loss possible; do not assume every physical transition is observed."
    exactly_once: "Requires explicit end-to-end protocol guarantees; never infer from transport alone."
  timing:
    latency = receive_time - event_time
    deadline_violation = "latency > configured_deadline, after accounting for timestamp uncertainty"
    debounce: "Require persistence or repeated evidence to suppress contact bounce."
    hysteresis: "Use separate enter/exit thresholds to reduce event chattering."
  integrity:
    sequence_gap = "current_sequence > previous_sequence + 1 within a validated sequence domain"
    stale = "event_age > freshness_limit"
    duplicate = "same source, stable event identifier and equivalent payload"

MINI_RECURSION_ENGINE:
  initialise: "Load event schema, equipment relationships, timing policy and safety constraints."
  observe: "Ingest the next event candidate and current plant context."
  expand: "Et = expand(It, Rt): derive candidate causes, effects, related events and handlers."
  filter: "Vt = {x in Et | satisfies(x, Bt) and evidence_valid(x)}"
  rank: "x* = argmax P(x | It, Rt, Bt, Kt) with safety and authority as hard guards."
  act: "Dispatch only authorised, bounded non-safety actions; otherwise alert or request review."
  verify: "Compare expected and observed state changes using independent feedback."
  update: "It+1 = update(It, observations, outcome); revise correlations without rewriting source events."
  stop: "Stop on completed handling, timeout, exhausted evidence or safety inhibit."

INFERENCE_RULES:
  - "IF source authentication fails THEN quarantine event AND forbid command dispatch."
  - "IF event is duplicated THEN retain provenance AND suppress non-idempotent repeated actions."
  - "IF sequence gap is detected THEN flag possible missing events AND request reconciliation."
  - "IF event timestamp is stale THEN exclude it from real-time control decisions."
  - "IF timestamps disagree beyond uncertainty THEN avoid asserting a total causal order."
  - "IF event predicate is true AND guard is true AND authority is valid THEN permit bounded handler evaluation."
  - "IF guard is false THEN log inhibited transition without altering the plant state."
  - "IF a command-issued event lacks confirming feedback THEN mark outcome unverified, not successful."
  - "IF repeated threshold events occur near the boundary THEN inspect hysteresis and debounce settings."
  - "IF an event indicates a hazard THEN prioritise the validated independent protective function."
  - "IF event severity is high THEN escalate according to the approved alarm philosophy, not arbitrary labels."
  - "IF network connectivity is lost THEN preserve local event buffering where supported and report data gaps."
  - "IF event processing exceeds deadline THEN declare degraded handling and follow the system-specific fallback."
  - "IF a reset is requested after a safety trip THEN require the documented reset conditions and authority."

CONFIDENCE:
  evidence_factors: ["source authenticity", "timestamp quality", "payload validity", "sensor health", "corroboration", "sequence completeness"]
  levels:
    high: "Authenticated, fresh, internally consistent and corroborated."
    medium: "Plausible event with limited corroboration or minor timing uncertainty."
    low: "Stale, incomplete, conflicting or weakly sourced evidence."
  policy: "Confidence informs diagnosis; it does not override hard safety constraints."
  calibration: "Confidence thresholds require validation against representative operating data."

SEMANTIC_EQUIVALENCE:
  aliases: ["automation event", "industrial control event", "machine event", "process event", "control-system occurrence"]
  related_not_equivalent: ["alarm", "fault", "trigger", "condition", "state transition", "command", "notification", "event log"]
  normalisation: "Map vendor-specific event codes to a common event_type while retaining raw codes."

SAFETY_AND_SECURITY:
  constraints:
    - "Never allow an ordinary event handler to bypass a certified safety function."
    - "Treat remote event payloads as untrusted until authenticated and validated."
    - "Apply least-privilege permissions to event acknowledgement and control actions."
    - "Retain auditable evidence of who changed rules, thresholds and reset conditions."
    - "Keep safety-rated functions independent where required by the safety design."
    - "Use the installation's approved hazard analysis and functional safety requirements."
  standards_context: "IEC 61508 / IEC 61511 and IEC 62443 may be relevant depending on the installation; compliance is not implied."

FLOW_HASH:
  algorithm: "SHA-256 recommended"
  canonicalisation: "UTF-8, normalised line endings, stable key ordering and whitespace policy"
  value: "COMPUTE_ON_PUBLICATION"
  note: "Do not mistake a placeholder for a verified cryptographic digest."

UPDATE_MODEL:
  revision_policy: "Increment version when event semantics, inference rules or safety boundaries change."
  provenance: "Record editor, timestamp, reason, source revision and validation evidence."
  compatibility: "Preserve stable identifiers and document breaking schema changes."
  validation: ["schema tests", "duplicate replay tests", "clock-skew tests", "loss-of-communication tests", "interlock tests", "audit integrity tests"]
  review: "Revalidate against site-specific control and safety requirements before deployment."

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