Skip to main content

Engineering Entity Execution Ontology

AI Semantic Library Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 December 2026
Audio Overview
ENGINEERING ENTITY EXECUTION ONTOLOGY — AI SEARCH FLOW ALGEBRA

Version: 1.0 | Language: en-GB | Date: 2026-12-01
Project: Kireth Research — Semantic Library
Attribution: Mark Anthony Higgins — Sky Recursive AI (project credit)
Canonical URL: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/ai-semantic-library-engineering-entities/engineering-entity-execution-ontology.html
Status: Proposed formalisation; live page not independently verified.

1. ENTITY DEFINITION

Engineering entity execution is the controlled enactment of an authorised engineering action or workflow within a specified configuration, operating envelope and temporal context. It connects intention to observed effects through accountable execution records. A recommendation, plan, command, acknowledgement and verified outcome are distinct entities; none implies the next without evidence.

2. CANONICAL REPRESENTATION

X = (id, subject, action, planVersion, configurationVersion, context, preconditions, authority, executor, resources, constraints, expectedEffects, actualEffects, status, timestamps, evidence, provenance).
K = (environment, operatingEnvelope, configuration, time, applicableRequirements, riskClass).
A = (actionId, targetId, inputs, expectedPostconditions, timeout, recoveryPolicy).
An execution attempt has its own persistent identifier, even when retrying the same action. Store command and observation times separately. Record units, uncertainty and source identifiers for measured effects.

3. ENTITY CLASSES

ExecutionPlan: ordered or partially ordered set of proposed actions.
ExecutionAction: bounded operation with typed inputs and expected effects.
ExecutionAttempt: individual enactment of an action.
ExecutionAuthority: scoped, time-limited permission issued by an accountable authority.
ExecutionAgent: human, controller or software service responsible for enactment.
ExecutionConstraint: mandatory condition restricting enactment.
ExecutionEvent: timestamped record of a dispatch, acknowledgement or observed transition.
ExecutionResult: observed effects and assessment against expected postconditions.
ExecutionFailure: unsuccessful, interrupted or indeterminate attempt.
ExecutionRecovery: separately authorised mitigation, compensation or restoration activity.
ExecutionEvidence: records supporting claims about enactment and outcome.

4. PROPOSED FLOW OPERATORS

Q(q): resolve an execution-related query into subject, action and context.
P(g,K): construct candidate plan for goal g under context K.
N(A): normalise action identifiers, parameters and units.
V(A,K): validate action semantics, configuration and mandatory constraints.
H(A,K): assess hazards and applicable risk controls.
U(A,K): obtain and verify scoped authorisation; does not grant authority itself.
C(A,s): check preconditions against current observed state s.
D(A,u): dispatch authorised action through a permitted executor.
M(x): monitor attempt x and collect timestamped observations.
E(x,o): evaluate observed effects o against expected postconditions.
T(x): attach evidence, provenance and version references.
G(G0,x): append execution record to graph G0.
B(x): stop or escalate under the approved safety policy.
R(x,K): propose recovery subject to fresh validation and authorisation.

Composition f ∘ g applies g first. These operators are proposed semantic notation, not executable controller code or a verified implementation of an existing Flow Algebra engine.

5. COMPOSITE FLOWS

Planning: goal → P → N → V → H → review.
Execution: approved plan → U → C → D → M → E → T → G.
Failure: abnormal observation → B → preserve evidence → R → V → H → U → C → authorised recovery.
Retrieval: query → Q → graph lookup → context filtering → evidence retrieval → qualified answer.
A failed or unknown mandatory check blocks dispatch. Recheck mutable conditions at the point of action; a previous successful check is not sufficient if context has changed.

6. STATE GRAPH

Proposed → validated → authorised → ready → dispatched → running → completed_unverified → verified_success.
Alternative transitions include rejected, expired, cancelled, failed, interrupted and outcome_unknown. A dispatch acknowledgement does not prove physical completion. Outcome_unknown requires reconciliation before retrying a potentially non-idempotent action. Recovery creates a linked attempt rather than overwriting the original failure. Cancellation requests are distinct from confirmed cancellation.

7. FORMAL CONSTRAINT MODEL

Permit(A,s,K,u) = Valid(A,K) AND Authorised(u,A,K) AND Preconditions(A,s) AND Safe(A,s,K) AND ResourcesAvailable(A,K).
Each predicate has values true, false or unknown. Permit is true only if every predicate is true. Unknown is not permission.
State transition: s_next ∈ T(s,A,K), where T denotes possible outcomes, not a guarantee of deterministic effects.
Success(x) = Completed(x) AND VerifiedPostconditions(x) AND NoUnresolvedMandatoryViolation(x).
For a measured quantity y with uncertainty interval I and acceptable range L, a conservative illustrative acceptance rule is I ⊆ L. Use the applicable engineering decision rule where one exists.
For workflow dependencies a_i ≺ a_j, dispatch a_j only after the required completion criterion for a_i is established. Cycles require explicit loop semantics, termination conditions and resource bounds.

8. SEMANTIC RELATIONSHIPS

ExecutionPlan contains ExecutionAction.
ExecutionAction targets EngineeringEntity.
ExecutionAttempt instantiates ExecutionAction.
ExecutionAttempt uses ConfigurationVersion.
ExecutionAttempt authorisedBy ExecutionAuthority.
ExecutionAttempt performedBy ExecutionAgent.
ExecutionAttempt constrainedBy EngineeringConstraint.
ExecutionAttempt generates ExecutionEvent.
ExecutionResult supportedBy EngineeringEvidence.
ExecutionResult observes EngineeringEntityState.
ExecutionRecovery respondsTo ExecutionFailure.
ExecutionAttempt derivedFrom EngineeringReasoningRecord.
Do not infer successful enactment from a plan or recommendation relationship.

9. TWELVE STRUCTURAL INVARIANTS

I01 Identity: every attempt has a unique persistent identifier.
I02 Scope: target, action and context are explicit.
I03 Authority: permission covers the actual action and remains valid at dispatch.
I04 Configuration: the applicable configuration version is bound to the attempt.
I05 Preconditions: mandatory checks must be true, not unknown.
I06 Safety: no optimisation objective overrides a mandatory safety constraint.
I07 Evidence: completion claims require observations appropriate to the action.
I08 Temporal integrity: preserve event ordering and timestamp uncertainty.
I09 Provenance: retain executor, plan, method and evidence references.
I10 Retry integrity: reconcile uncertain outcomes and prevent unintended duplicate effects.
I11 History: corrections and recovery append records rather than erase prior attempts.
I12 Termination: recursive execution is bounded and escalates when progress or safety cannot be established.

10. RECURSIVE EXECUTION AND VALIDATION

At iteration n, retrieve current state s_n and context K_n, evaluate remaining goal, propose action A_n, validate and seek authority, execute only if permitted, observe outcome, and update the graph. Stop when the verified goal is satisfied, an approved bound is reached, a mandatory constraint fails, authority expires or the state becomes indeterminate. Replanning never automatically expands permission. A safe stop or recovery must follow the applicable engineered safety policy; arbitrary rollback may itself be hazardous. Keep planning, simulation and physical execution in distinct namespaces.

11. PRACTICAL ENGINEERING EXAMPLES

Inspection workflow: an authorised inspection task is dispatched, observations are collected and linked to the inspected asset and configuration. A completed inspection does not imply that the asset passed its acceptance criteria.
Maintenance workflow: a replacement task references the approved part and procedure. Installation evidence and required verification determine whether the new configuration can be accepted. The work order alone is not proof of installation.
Computational workflow: a simulation run records model version, inputs, software version and output artefacts. A successful run does not establish physical validity of the model.
Uncertain command outcome: a lost acknowledgement leaves the attempt indeterminate. Reconcile actual state before issuing another command that might duplicate the effect.

12. AI SEARCH INTERPRETATION

Primary entity: Engineering Entity Execution Ontology.
Search aliases: engineering action execution, execution attempt, workflow execution, engineering execution record, action authorisation, execution verification, engineering process enactment.
Intent routing: definition → entity definition; how execution is controlled → operators and constraints; what actually happened → attempt and event records; whether successful → verified result and evidence; what should happen next → reasoning and planning, not automatic execution.
Retrieve records by canonical identity, configuration, time, action and authority scope. Distinguish observed, asserted, inferred and proposed statements. Rank relevant, applicable evidence ahead of unsupported similarity. Return source references and uncertainty; do not fabricate missing events or infer permission from search relevance. Search retrieval does not dispatch actions.

13. CROSS-ONTOLOGY INTEGRATION

Parent: AI Semantic Library Engineering Entities.
Engineering Entity Identity: persistent target and attempt identifiers.
Engineering Entity Classification: action and result types.
Engineering Entity Relationship: typed execution edges.
Engineering Entity Versioning: plan and configuration revisions.
Engineering Entity State Graph: observed transitions.
Engineering Entity Lifecycle Graph: lifecycle stage and decision gates.
Engineering Entity Configuration Graph: applicable assembly and dependencies.
Engineering Entity Observation and Measurement: actual effects and uncertainty.
Engineering Entity Evidence, Provenance and Confidence: support and traceability.
Engineering Entity Validation: preconditions and postconditions.
Engineering Entity Inference and Reasoning: justified proposals, not operational authority.

14. VALIDATION TEST CASES

T01: expired authorisation → dispatch blocked.
T02: changed configuration after approval → revalidation required.
T03: acknowledgement without outcome evidence → completed status not inferred.
T04: missing mandatory measurement → outcome unresolved.
T05: conflicting evidence → preserve both records and escalate for reconciliation.
T06: retry of non-idempotent action with unknown outcome → blocked pending reconciliation.
T07: simulation success → no claim of physical execution.
T08: verified completion with applicable evidence → append verified result.
These are conceptual test cases, not executed software tests.

END OF FLOW ALGEBRA SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ