Skip to main content

Automation Step Ontology

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

# Kireth Research — Semantic Library / Engineering Entity Graph
# Original Flow Algebra interpretation; source page not independently verified.

IDENTITY:
  name: "Automation Step"
  type: "Engineering.Automation.SequenceStep"
  version: "1.0"
  language: "en-GB"
  scope: "Atomic, governed stage within an automated sequence"
  parent: "AutomationSequence"
  related: ["AutomationState", "AutomationController", "TransitionCondition", "Interlock", "ActuatorCommand", "SensorFeedback"]

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

SOURCE:
  ontology: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-step-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-step-ontology.html"
  provenance: "Newly constructed domain model; not a verified extraction of webpage content"

PURPOSE:
  describe: "Represent a discrete unit of automated execution with entry guards, actions, completion evidence and exit rules."
  enable: ["sequence design", "state monitoring", "PLC execution", "diagnostics", "auditability", "safe recovery"]
  exclude: ["automatic permission to bypass safety functions", "unverified equipment commands"]

STATE_MODEL:
  S(t) = (I(t), R(t), B(t), K(t))
  I(t):
    step_id: str
    sequence_id: str
    revision: str
    mode: enum[manual, automatic, maintenance, simulation]
    phase: enum[idle, ready, entering, active, waiting, completed, failed, aborted, inhibited]
    entry_timestamp: datetime?
    elapsed_seconds: float
    command_requests: list
    observations: list
    transition_events: list
  R(t):
    predecessors: list[step_id]
    successors: list[step_id]
    owns_actions: list[action_id]
    reads: list[signal_id]
    writes: list[command_id]
    requires: list[guard_id]
    governed_by: list[interlock_id]
  B(t):
    entry_guards: list[condition]
    exit_guards: list[condition]
    timeout_seconds: float?
    retry_limit: int
    permitted_modes: list[mode]
    safe_output_policy: str
    transition_priority: [safety_trip, abort, fault, completion, timeout]
  K(t):
    validated_design: bool
    input_freshness: map
    command_acknowledgements: map
    observed_completion: bool
    fault_latches: list
    operator_authorisation: bool
    evidence_log: list

ENTITIES:
  AutomationStep:
    properties: [identity, description, sequence_membership, state, guards, actions, timeout, revision]
  StepAction:
    properties: [target, requested_value, unit, authorisation, acknowledgement, idempotency]
  EntryGuard:
    properties: [predicate, source_signal, freshness, truth_state]
  CompletionGuard:
    properties: [predicate, observation, tolerance, hold_time]
  Transition:
    properties: [source_step, target_step, trigger, priority, permitted]
  SafetyInterlock:
    properties: [hazard, trip_signal, safe_state, independent_validation]
  Timer:
    properties: [start_event, elapsed, timeout, pause_policy]
  ExecutionEvidence:
    properties: [timestamp, step_id, event, observed_value, quality, operator, controller]

PATHWAYS:
  P01_Identify:
    input: [step_id, sequence_revision]
    validate: "Step exists, revision is approved and successor references resolve"
    output: "identified step"
  P02_QualifyEntry:
    input: [mode, guards, interlocks, sensor_quality]
    rule: "All mandatory guards true; unknown or stale signals do not satisfy guards"
    output: [ready, inhibited]
  P03_Enter:
    precondition: "phase == ready and safety_permissives == true"
    action: "Record entry event; initialise timer; apply approved entry actions"
    output: entering
  P04_Execute:
    precondition: "phase in [entering, active, waiting]"
    action: "Issue bounded commands, observe acknowledgements and evaluate feedback"
    output: [active, waiting, failed]
  P05_VerifyCompletion:
    input: [completion_guard, measured_response, hold_time]
    rule: "Completion requires independently observed evidence, not command issue alone"
    output: [completed, waiting]
  P06_Transition:
    precondition: "phase == completed and target_entry_guards == true"
    action: "Close step record, release step-owned outputs per policy and activate successor"
    output: "next step ready"
  P07_Timeout:
    condition: "elapsed_seconds > timeout_seconds when timeout is configured"
    action: "Raise timeout fault; inhibit unsafe continuation; record evidence"
    output: failed
  P08_SafetyTrip:
    condition: "Any safety interlock trips"
    action: "Apply independently engineered safe-state response; latch fault where required"
    output: aborted
  P09_Recovery:
    input: [fault_cause, clearance, authorised_reset, equipment_state]
    rule: "Reset only after hazard cleared and approved restart path validated"
    output: [ready, inhibited]

MINI_RECURSION_ENGINE:
  observe: "Collect inputs, equipment state and time-stamped feedback"
  expand: "Generate candidate transitions from the current step and graph R(t)"
  constrain: "Filter candidates through safety, mode, freshness and sequence bounds B(t)"
  evaluate: "Score by validated guards, evidence completeness and risk"
  select: "Choose highest-priority permitted transition; otherwise remain in safe wait"
  update: "Commit I(t+1), R(t+1), B(t+1), K(t+1) with audit evidence"
  stop: "On completed, failed, aborted or inhibited state according to configured policy"
  invariant: "Recursive re-evaluation must never override a tripped interlock"

INFERENCE_RULES:
  R01: "IF entry_guard == false THEN phase = inhibited"
  R02: "IF entry_guard == unknown THEN phase = inhibited AND request signal validation"
  R03: "IF safety_trip == true THEN prohibit normal transition AND execute safe-state policy"
  R04: "IF command_sent AND NOT acknowledgement THEN do not infer physical completion"
  R05: "IF completion_guard == true AND hold_time_met THEN phase = completed"
  R06: "IF elapsed > timeout AND NOT completed THEN phase = failed"
  R07: "IF successor missing THEN reject sequence release"
  R08: "IF retry_count >= retry_limit THEN require fault handling, not automatic retry"
  R09: "IF input_timestamp too old THEN mark input stale and block dependent transitions"
  R10: "IF mode changes during active execution THEN evaluate approved mode-transfer procedure"
  R11: "IF actuator_feedback contradicts command THEN flag tracking fault"
  R12: "IF operator_reset requested AND hazard persists THEN reject reset"
  R13: "IF parallel steps share exclusive resource THEN require arbitration before action"
  R14: "IF sequence revision changes THEN invalidate unapproved cached transition rules"
  R15: "IF safety function requires independent hardware THEN software step logic is not a substitute"

CONFIDENCE:
  high: "Approved step design, fresh validated inputs and confirmed feedback"
  medium: "Partial observation or model-based inference with bounded uncertainty"
  low: "Missing, stale, inconsistent or uncalibrated input evidence"
  policy: "Low confidence must not authorise hazardous transitions"

SEMANTIC_EQUIVALENCE:
  preferred: "Automation Step"
  synonyms: ["sequence step", "process step", "control step", "SFC step", "automation stage"]
  distinguish_from:
    automation_state: "Overall mode or condition of a system, not necessarily a discrete step"
    automation_sequence: "Ordered or branched composition of multiple steps"
    transition: "Conditioned change between steps"
    action: "Command or activity associated with a step"

FLOW_HASH:
  algorithm: "SHA-256"
  canonicalisation: "UTF-8, normalised line endings, stable field order; exclude generated digest"
  digest: "Compute after publication from canonical content"

UPDATE_MODEL:
  version: "1.0"
  triggers: ["guard revision", "equipment change", "safety assessment", "fault investigation", "controller upgrade"]
  procedure: "Review hazards; revise logic; validate transitions; test recovery; approve; publish with provenance"
  retain: ["prior revision", "change rationale", "verification evidence", "approval history"]

VALIDATION:
  checks:
    - "Every step has a unique ID and an approved revision"
    - "All predecessor and successor references resolve"
    - "Every active command has a defined owner and bounded output"
    - "Each timeout and failure has a defined safe response"
    - "Entry and completion guards have observable, time-valid evidence"
    - "Recovery cannot bypass safety interlocks"
  note: "Conceptual ontology, not a commissioned or safety-certified control program"
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ