Skip to main content

Workflow Decision Point Ontology

Workflow Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
WORKFLOW DECISION POINT ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Workflow Entities

SOURCE
https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/workflow-decision-point-ontology.html

AUTHORS AND ATTRIBUTION
Mark Anthony Higgins — Sky Recursive AI
Original page: © Mark Anthony Higgins, 11 October 2025; revised 01 August 2026.
Companion formalisation prepared 02 November 2026.

SCOPE AND PROVENANCE
The public page identifies the ontology, authors and dates, but does not expose the full embedded specification in the retrieved HTML. The definitions below are a proposed, internally consistent companion Flow Algebra model, not a transcription of hidden source code.

1. PURPOSE
Represent a workflow decision point as an explicit stateful entity which evaluates admissible conditions, selects an eligible outgoing branch and records a reproducible decision trace. No branch may execute merely because it exists: it must satisfy its guard and the applicable constraints.

2. ENTITY DEFINITION
DecisionPoint D = (id, input, state, guards, branches, priority, policy, constraints, result, trace).
  id: stable identifier
  input: workflow data and upstream outputs
  state: current workflow state
  guards: predicates over input and state
  branches: labelled outgoing transitions
  priority: optional deterministic tie-break ordering
  policy: selection semantics (exclusive, ordered, or parallel)
  constraints: global and local admissibility rules
  result: selected branch set or explicit failure state
  trace: evidence of evaluation and selection

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
  I_t = input and workflow facts at step t
  R_t = decision rules, guards and transition relations
  B_t = boundary conditions and authorised actions
  K_t = accumulated knowledge, previous outcomes and provenance

Candidate expansion:
  E_t = expand(I_t, R_t)
Admissible candidates:
  V_t = {b in E_t | guard_b(I_t, S_t) = TRUE and constraints_b(S_t) = TRUE and b in B_t}
Selection under a deterministic policy:
  b*_t = select(V_t, policy, priority)
Transition:
  S_(t+1) = update(S_t, execute(b*_t), trace_t)

Where probabilistic ranking is explicitly authorised:
  b*_t = argmax_(b in V_t) P(b | I_t, R_t, B_t, K_t)
This ranking does not override hard constraints or permission boundaries.

4. DECISION SEMANTICS
Guard values belong to {TRUE, FALSE, UNKNOWN, ERROR}.
  TRUE: branch may be eligible subject to constraints
  FALSE: branch excluded
  UNKNOWN: branch held pending further evidence or an explicit fallback rule
  ERROR: evaluation fails safely and is recorded
Exclusive policy: exactly one eligible branch selected; ambiguity is resolved by declared priority or reported.
Ordered policy: evaluate in declared order and choose first admissible TRUE guard.
Parallel policy: select all admissible TRUE branches only where concurrency is authorised.
Default branch: permitted only if explicitly declared and no preceding eligible branch applies.

5. INFERENCE RULES
R1 Eligibility: guard(b)=TRUE AND valid(b)=TRUE -> eligible(b).
R2 Rejection: guard(b)=FALSE -> excluded(b).
R3 Boundary: NOT authorised(b) -> excluded(b).
R4 Uncertainty: guard(b)=UNKNOWN -> defer(b), unless a documented fallback applies.
R5 Exclusive: unique eligible(b) AND policy=exclusive -> select(b).
R6 Tie-break: multiple eligible branches AND declared total priority -> select highest priority.
R7 Ambiguity: multiple eligible branches AND no tie-break -> decision_error(AMBIGUOUS).
R8 No match: zero eligible branches AND no valid default -> decision_error(NO_MATCH).
R9 Traceability: selected(b) -> record(guard evidence, policy, constraints, timestamp, branch id).
R10 Recursion: downstream decision output may re-enter a workflow only through an explicit transition with bounded execution controls.

6. IMPLEMENTS
Inputs: facts, upstream workflow outputs, guard definitions, policy and constraints.
Process: normalise inputs -> evaluate guards -> filter by constraints -> resolve policy -> record decision -> emit transition.
Outputs: decision_status, selected_branch_ids, rejected_branch_ids, evidence, updated_state, trace.

7. HOW TO READ THE FLOW
A decision point is not a free-form guess. It is a controlled transition operator. Rules expand possible branches; boundaries remove forbidden choices; policy determines which admissible choice is taken; the resulting state and evidence are preserved for subsequent workflow steps.

8. TRI-MAPPING
Semantic: DecisionPoint --evaluates--> Condition; DecisionPoint --selects--> WorkflowBranch.
Structural: node D with incoming data edges and labelled outgoing guarded edges.
Operational: evaluate -> validate -> select -> transition -> log.

9. RELATIONSHIP MAPPING TABLE
DecisionPoint | hasInput | WorkflowInput | receives evaluation facts
DecisionPoint | readsState | WorkflowState | obtains current context
DecisionPoint | evaluates | WorkflowCondition | tests guard truth
DecisionPoint | constrainedBy | WorkflowConstraint | enforces boundaries
DecisionPoint | selects | WorkflowBranch | chooses transition
DecisionPoint | produces | WorkflowOutput | emits decision record
DecisionPoint | dependsOn | WorkflowDependency | honours upstream readiness
DecisionPoint | mayTrigger | WorkflowTrigger | activates downstream execution
DecisionPoint | mayEnter | WorkflowLoop | bounded repeat if explicitly authorised

10. EXECUTION DIAGRAM
[Workflow Input / State]
          |
          v
   [Decision Point]
          |
   [Evaluate Guards]
          |
   [Check Constraints]
          |
    +-----+-----+
    |           |
 [Eligible]   [None / Error]
    |           |
 [Apply Policy] [Fallback or Stop]
    |
 [Select Branch(es)]
    |
 [Record Evidence]
    |
 [Next Workflow State]

11. VALIDATION RULES
V1 Every decision point has a unique identifier.
V2 Every outgoing branch has an identifier and a declared guard or default status.
V3 Guard inputs and expected types are defined.
V4 Guard evaluation must be deterministic for identical immutable inputs unless explicitly declared otherwise.
V5 Exclusive selection cannot silently choose multiple branches.
V6 Every fallback is explicit and auditable.
V7 All selected branches satisfy authorisation and constraints.
V8 Unknown and error guard states have documented handling.
V9 Cyclic paths include loop limits, progress checks or termination safeguards.
V10 The decision trace contains sufficient provenance for replay or explanation.

12. CONDITIONAL EXECUTION GUARANTEE
Under complete inputs, terminating guard evaluations, consistent constraints and a deterministic selection policy, the decision operator returns either a valid branch selection or an explicit no-match/error outcome. This is a conditional property of the specified operator, not a guarantee of correct real-world facts or successful downstream execution.

13. AI SEARCH FLOW
FLOW_ID: workflow-decision-point-ontology
FLOW_TYPE: semantic-library/ai-core/workflow-entity
VERSION: 1.0
LANGUAGE: en-GB
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/workflow-decision-point-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/workflow-decision-point-ontology.html
PURPOSE: Formalise guarded and auditable workflow branch selection.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: DecisionPoint, WorkflowCondition, WorkflowBranch, WorkflowConstraint, WorkflowState, WorkflowOutput
PATHWAYS: input -> guard evaluation -> boundary filter -> policy selection -> output
MINI_RECURSION_ENGINE: repeat only through authorised bounded transitions
INFERENCE_RULES: R1-R10 above
CONFIDENCE: structural companion model; source specification not fully visible
SEMANTIC_EQUIVALENCE: decision node / guarded gateway / conditional routing point (context-dependent)
UPDATE_MODEL: revise guards, policies, constraints and provenance with version control
FLOW_HASH: not calculated; calculate from canonical final content on publication

14. EXAMPLE
Input: invoice_total=120; approved_limit=100.
Guards: b1=(invoice_total<=approved_limit); b2=(invoice_total>approved_limit).
Constraints: both branches authorised; exclusive policy.
Result: b1=FALSE; b2=TRUE; selected=b2 (request approval).
Trace: record input snapshot, guard results, policy, branch and outcome.

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