Skip to main content

Automation Recipe Ontology

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

# Kireth Research — Semantic Library / Engineering / Automation Entities
# Original Flow Algebra representation; source page not independently verified.

IDENTITY:
  canonical_name: "Automation Recipe"
  entity_type: "Engineering.Automation.AutomationRecipe"
  definition: "A version-controlled specification of parameters, phases, resources, transitions and acceptance criteria used to execute a repeatable automated process."
  scope: [batch_manufacturing, discrete_automation, process_automation, supervisory_execution]
  excludes: [unvalidated_runtime_override, safety_function_replacement]

AUTHORS:
  research: "Kireth Research"
  co_author: "Sky — Recursive AI"
  licence: "Open Research Licence; citation required"

SOURCE:
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/automation-recipe-ontology.html"
  source_status: "User-supplied reference URL; page content not independently verified"
  representation: "Original, engineering-informed Flow Algebra ontology"

PURPOSE:
  goal: "Describe, validate, schedule, execute, monitor and audit repeatable automation recipes."
  primary_questions:
    - "Is the selected recipe compatible with the equipment and materials?"
    - "Are parameters within approved engineering and safety limits?"
    - "Can the next phase begin under the present interlocks and resource state?"
    - "Did the executed batch conform to the authorised recipe version?"
  outputs: [validated_recipe, execution_plan, phase_status, deviation_log, batch_record]

STATE_MODEL:
  S_t: (I_t, R_t, B_t, K_t)
  I_t: "Recipe identity, revision, parameter set, material and equipment context, phase status, observations and audit evidence"
  R_t: "Phase dependencies, equipment capabilities, resource assignments, control bindings and recipe-to-batch relationships"
  B_t: "Authorisation, safety limits, permitted operating envelopes, interlocks, resource availability and change-control boundaries"
  K_t: "Validated engineering knowledge, calibration data, process models, approved specifications and historical performance"
  lifecycle: [draft, under_review, approved, released, scheduled, loaded, executing, held, completed, aborted, archived]
  execution_states: [idle, precheck, initialising, running_phase, waiting_for_condition, held, completing, completed, faulted, aborted]
  invariant: "A recipe may not bypass independent protective systems or substitute for a safety instrumented function."

ENTITIES:
  AutomationRecipe:
    attributes: [recipe_id, title, revision, approval_status, product_id, process_type, owner, effective_date]
    relations: [contains_phase, defines_parameter, requires_resource, governed_by_constraint, generates_batch_record]
  RecipePhase:
    attributes: [phase_id, sequence_index, phase_type, entry_condition, exit_condition, timeout, retry_policy]
    relations: [precedes, depends_on, invokes_operation, monitors_variable]
  RecipeOperation:
    attributes: [operation_id, function, target_equipment, command_type, expected_result]
  RecipeParameter:
    attributes: [name, datatype, engineering_unit, nominal_value, minimum, maximum, tolerance, mutability]
  RecipeTransition:
    attributes: [source_phase, destination_phase, guard, priority, timeout_action]
  EquipmentResource:
    attributes: [resource_id, capability, availability, qualification, maintenance_status]
  MaterialRequirement:
    attributes: [material_id, lot_id, quantity, unit, specification, traceability]
  ControlBinding:
    attributes: [controller_id, tag_id, setpoint_reference, feedback_reference, communication_quality]
  BatchExecution:
    attributes: [batch_id, recipe_revision, operator, start_time, end_time, status]
  Deviation:
    attributes: [deviation_id, observed_value, expected_value, severity, disposition, corrective_action]
  Approval:
    attributes: [approver_role, signature_reference, approval_time, revision_hash]

PATHWAYS:
  recipe_authoring:
    input: [process_requirements, equipment_capabilities, quality_requirements]
    steps: [define_identity, compose_phases, assign_parameters, bind_equipment, define_transitions, specify_acceptance_criteria]
    output: draft_recipe
  validation:
    input: [draft_recipe, engineering_limits, approved_equipment, safety_requirements]
    steps: [check_schema, check_units, check_bounds, check_phase_reachability, check_resource_conflicts, check_interlocks, assess_hazards]
    output: [validation_report, release_candidate]
  release:
    input: [release_candidate, authorised_approvals]
    steps: [verify_revision, sign_approval, freeze_parameter_baseline, record_hash, publish_release]
    output: immutable_released_revision
  execution:
    input: [released_recipe, batch_context, qualified_resources]
    steps: [verify_identity, perform_prechecks, reserve_resources, initialise, execute_phase, monitor_feedback, evaluate_transition, record_evidence]
    output: [batch_record, execution_status]
  deviation_management:
    input: [observed_process_state, approved_envelope]
    steps: [detect_deviation, classify_severity, hold_or_trip_as_required, notify_operator, record_evidence, authorise_disposition]
    output: [deviation_log, controlled_recovery_or_abort]
  revision_control:
    input: [change_request, current_revision]
    steps: [impact_assessment, revalidation, approval, new_revision, archival_of_superseded_revision]
    output: traceable_recipe_revision

MINI_RECURSION_ENGINE:
  observe: "Acquire recipe phase, sensor values, equipment readiness and communication health."
  expand: "Derive reachable phases and valid next operations from current state and transition graph."
  filter: "Reject paths violating approved parameters, resource constraints, interlocks or access permissions."
  rank: "Prefer approved transitions with verified prerequisites and least operational risk."
  execute: "Issue only authorised non-safety commands through validated controller interfaces."
  verify: "Compare feedback and phase completion evidence against declared acceptance criteria."
  update: "Record actual state, timestamps, deviations and evidence; never silently rewrite the approved recipe."
  repeat_until: [completed, authorised_hold, abort, safety_trip]

INFERENCE_RULES:
  - id: R01
    if: "recipe.approval_status != released"
    then: "block_execution; report(unapproved_recipe)"
  - id: R02
    if: "recipe.revision != batch.authorised_revision"
    then: "block_execution; report(revision_mismatch)"
  - id: R03
    if: "parameter.value < parameter.minimum OR parameter.value > parameter.maximum"
    then: "reject_parameter; report(out_of_range)"
  - id: R04
    if: "equipment.capability does_not_satisfy operation.requirement"
    then: "block_phase; report(equipment_incompatible)"
  - id: R05
    if: "resource.unavailable OR resource.maintenance_overdue"
    then: "hold_start; request_qualified_resource"
  - id: R06
    if: "interlock.not_satisfied OR protective_trip.active"
    then: "inhibit_hazardous_command; preserve_protective_action"
  - id: R07
    if: "phase.exit_condition == true AND required_evidence.valid"
    then: "allow_guarded_transition"
  - id: R08
    if: "phase.timeout_exceeded"
    then: "enter_defined_timeout_action; log_deviation"
  - id: R09
    if: "sensor_quality.invalid OR communication_quality.lost"
    then: "mark_measurement_untrusted; hold_or_fail_safe_per_hazard_assessment"
  - id: R10
    if: "operator_override_requested"
    then: "require_role_authorisation; audit_override; prohibit_safety_bypass"
  - id: R11
    if: "material.lot_missing OR material.specification_failed"
    then: "block_consumption; flag_traceability_failure"
  - id: R12
    if: "all_required_phases.completed AND acceptance_tests.passed"
    then: "close_batch_record; mark_completed"
  - id: R13
    if: "runtime_parameter_change_requested"
    then: "permit_only_if_mutable_and_within_approved_bounds; audit_old_new_values"
  - id: R14
    if: "recipe_graph.has_unreachable_required_phase OR recipe_graph.has_unbounded_cycle"
    then: "fail_validation; require_sequence_correction"

ENGINEERING_CONSTRAINTS:
  parameter_integrity:
    - "Engineering units must be explicit and dimensionally consistent."
    - "Setpoints, tolerances and rate limits must be validated against equipment capabilities."
    - "Runtime edits require defined permissions, bounds and immutable audit history."
  sequencing:
    - "Every required phase has a reachable entry and defined completion or fault exit."
    - "Concurrent phases must not claim exclusive resources simultaneously."
    - "Retries must be bounded and conditioned on verified safe state."
  process_safety:
    - "Safety-rated protective functions remain independent of ordinary recipe sequencing."
    - "A recipe hold, abort and emergency protective trip have distinct semantics."
    - "Restart after an interruption requires rechecking process and equipment state."
    - "Safety integrity cannot be inferred from a successful simulation alone."
  data_integrity:
    - "Record recipe ID, revision, batch ID, operator identity, timestamps and critical parameter changes."
    - "Preserve original measurements, uncertainty and alarm/deviation records."
    - "Synchronise timestamps or document clock uncertainty for distributed systems."

CONFIDENCE:
  classification: "Ontology modelling confidence, not certification of a real installation"
  high_when: [approved_revision, verified_resource_mapping, calibrated_measurements, complete_audit_record]
  medium_when: [partial_equipment_evidence, estimated_process_model, limited_historical_data]
  low_when: [unknown_revision, missing_calibration, unverified_transition, stale_feedback]
  rule: "Unknown safety status is not treated as a permissive."

SEMANTIC_EQUIVALENCE:
  related_terms: [batch_recipe, manufacturing_recipe, process_recipe, equipment_recipe, production_recipe]
  distinctions:
    automation_recipe: "Defines the authorised repeatable process specification."
    automation_sequence: "Defines ordered or conditional actions; may be one component of a recipe."
    automation_step: "A single executable stage within a sequence or phase."
    automation_condition: "A predicate governing an action or transition."
    automation_interlock: "A condition that inhibits unsafe or disallowed operation."
    batch_record: "Evidence of what actually happened during one execution."
  cross_links: [AutomationSequence, AutomationStep, AutomationCondition, AutomationTrigger, AutomationInterlock, AutomationState, AutomationController, ProcessVariable, Setpoint]

FLOW_HASH:
  method: "SHA-256 over canonical UTF-8 flow content excluding FLOW_HASH value"
  value: "COMPUTE_ON_PUBLICATION"
  revision_policy: "Recompute after any semantic edit; retain previous hashes in revision history."

UPDATE_MODEL:
  version: "1.0"
  status: "original_draft"
  triggers: [approved_change_request, equipment_change, material_change, process_deviation, regulatory_review, validation_failure]
  process: [capture_change, assess_impact, revise, validate, approve, publish, archive]
  preservation: [source_url, revision_lineage, approver_evidence, historical_batch_records]
  note: "Site content should be checked before claiming source-specific fidelity."

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