Skip to main content

Workflow Dependency Ontology

Workflow Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
WORKFLOW DEPENDENCY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Workflow Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/workflow-dependency-ontology.html
Source revised: 01 August 2026
Formalisation prepared: 02 November 2026
Status: Companion formalisation; source page exposes the ontology heading and interpretation note but not its full embedded rules.
Licence: Refer to the source site's Open Research Licence; citation requested.

1. PURPOSE
Represent prerequisite, ordering, resource, data and conditional dependencies between workflow stages, with explicit readiness and execution checks.

2. ENTITY MODEL
WorkflowDependency = (id, predecessor, successor, kind, condition, required_state, evidence, status, version)
kind in {finish_to_start, start_to_start, finish_to_finish, start_to_finish, data, resource, conditional}
status in {declared, satisfied, blocked, waived, invalid}
Workflow = (N, D, R, B, K)
N: finite set of stages; D subset of N x N: directed dependencies; R: transition and validation rules; B: execution boundaries; K: verified knowledge and evidence.

3. FLOW ALGEBRA
S_t = (I_t, R, B, K_t)
E_t = expand(I_t, R)
V_t = {x in E_t | valid(x,B,K_t)}
a_t = argmax_(x in V_t) P(x | I_t,R,B,K_t)
I_(t+1) = update(I_t,a_t,observe(a_t))

For stage v and dependency d=(u,v):
SAT(d,t) = condition(d,t) AND required_state(u,d,t) AND evidence_valid(d,t)
READY(v,t) = enabled(v,t) AND ALL_{d in incoming(v)} (SAT(d,t) OR authorised_waiver(d,t))
BLOCKED(v,t) = NOT READY(v,t)
EXECUTE(v,t) => READY(v,t) AND within_boundary(v,B)

4. DEPENDENCY RULES
R1: A dependency references existing workflow stage identifiers.
R2: A hard dependency must be satisfied before the successor transition it guards.
R3: A conditional dependency applies only when its condition evaluates true.
R4: Missing or unverified evidence does not imply satisfaction.
R5: Waivers require explicit authorisation, reason, provenance and audit record.
R6: Resource dependencies additionally require capacity and reservation checks.
R7: Data dependencies require the declared input artefact and schema/version compatibility.
R8: A directed cycle in hard finish-to-start dependencies is invalid unless an explicitly modelled iteration boundary breaks the cycle.
R9: On predecessor change or failure, invalidate downstream satisfaction claims dependent on that state.
R10: Persist transitions with timestamps, source identifiers and outcome evidence.

5. IMPLEMENTS
INPUT: workflow stages, dependency declarations, conditions, stage states, evidence, resource availability.
PROCESS: validate references -> identify applicable dependencies -> evaluate satisfaction -> detect blocking cycles -> calculate readiness -> select eligible stages -> execute -> record outputs -> propagate changes.
OUTPUT: dependency graph, ready stage set, blocked stage set, unsatisfied dependency explanations, audit trail.

6. HOW TO READ
A -> B means B depends on A. It does not mean A alone is sufficient to run B.
A -[data: report_v2]-> B means B needs the named compatible artefact from A.
A -[conditional: approved]-> B applies only when the approval condition holds.

7. TRI-MAPPING
ENTITY: Workflow Dependency -> RELATION: constrains successor stage -> STATE: declared/satisfied/blocked/waived/invalid.
ENTITY: Predecessor Stage -> RELATION: supplies prerequisite -> STATE: pending/running/completed/failed.
ENTITY: Evidence -> RELATION: verifies satisfaction -> STATE: absent/valid/expired/revoked.

8. DIAGRAM
[Stage A] --completion/evidence--> [Dependency A:B] --readiness gate--> [Stage B]
                                      |
                                      +--unsatisfied--> [Blocked + explanation]
                                      +--waived-------> [Audit + authorisation]

9. MAPPING TABLE
Source stage | Dependency kind | Target stage | Satisfaction evidence | Enforcement
A            | finish_to_start | B          | A completed           | hard
A            | data            | C          | compatible artefact   | hard
B            | conditional     | D          | predicate + evidence  | conditional

10. EXECUTION GUARANTEE (CONDITIONAL)
If the workflow graph is finite, hard prerequisite edges are acyclic, conditions and evidence are decidable, and scheduling is fair, a stage will never execute before its enforced prerequisites are satisfied. Progress is not guaranteed when resources, approvals or external evidence remain unavailable. This is a safety property, not a blanket guarantee of termination.

11. AI SEARCH FLOW
FLOW_ID: workflow-dependency-ontology
VERSION: 1.0
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/workflow-dependency-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/workflow-dependency-ontology.html
PURPOSE: Interpret, validate and reason about dependencies between workflow stages.
STATE_MODEL: (I,R,B,K)
ENTITIES: workflow; workflow_stage; workflow_dependency; prerequisite; evidence; resource; artefact; condition; waiver.
PATHWAYS: declare -> validate -> evaluate -> gate -> execute -> record -> propagate.
MINI_RECURSION_ENGINE: Re-evaluate affected successors when a predecessor state or dependency changes, stopping at a fixed point or an explicit iteration boundary.
INFERENCE_RULES: R1-R10 above.
CONFIDENCE: Only mark satisfaction verified where its evidence and required state have been checked.
SEMANTIC_EQUIVALENCE: prerequisite_of(A,B) <=> depends_on(B,A), provided direction and dependency type are preserved.
FLOW_HASH: Compute a content digest at publication; no hash asserted in this draft.
UPDATE_MODEL: Increment version when entity definitions, dependency semantics or rules change; invalidate affected cached conclusions.

12. VALIDATION EXAMPLE
Stages: collect -> validate -> publish.
Dependencies: collect completed before validate; validate completed and approved before publish.
If collect=completed and validate=pending: READY(validate)=true; READY(publish)=false.
If validate=completed but approval missing: READY(publish)=false.

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