Skip to main content

Plan Ontology

Planning Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
PLAN ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Planning Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/plan-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Source revised: 01 August 2026
Flow compilation: 02 November 2026

PURPOSE
Define a plan as a structured, revisable sequence or partial order of actions connecting an initial state to a goal under constraints. This is a derived Flow Algebra representation of the linked ontology, not a verbatim extraction of hidden page code.

STATE_MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current observations, plan context, candidate actions and execution history.
R_t: action preconditions, effects, ordering rules and dependencies.
B_t: resource, time, safety, permission and environmental boundaries.
K_t: known goals, state facts, confidence, provenance and learned outcomes.

ENTITIES
Plan P = (G, A, O, C, Q, M)
G: target goal predicates.
A: finite set of action instances.
O: precedence relation over A (partial or total order).
C: constraints over actions, resources, time and permissions.
Q: expected state transitions and checkpoints.
M: monitoring, recovery and revision policy.
Related: planning entity, goal entity, action entity, task entity, agent entity, world-state entity, resource entity, constraint entity, policy entity, execution trace.

FLOW
F0 RECEIVE: read initial state S_0 and desired goal G.
F1 NORMALISE: resolve entities, action schemas, goal predicates and constraints.
F2 EXPAND: E_t = expand(I_t, R_t), producing candidate next actions and plan refinements.
F3 FILTER: V_t = {x in E_t | preconditions(x,S_t) AND respects(x,B_t) AND consistent(x,K_t)}.
F4 RANK: x* = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t) or an explicit domain utility U(x,S_t).
F5 ASSEMBLE: append or refine the plan graph, preserving dependency ordering.
F6 VALIDATE: test feasibility, goal reachability, constraint compliance and failure paths.
F7 EXECUTE: carry out only authorised and verified executable actions.
F8 OBSERVE: obtain resulting observations and execution evidence.
F9 UPDATE: I_{t+1} = update(I_t, x*, observation_t); revise K_{t+1}, R_{t+1} and B_{t+1} when justified.
F10 RECURSE: repeat until goal satisfaction, infeasibility, budget exhaustion or authorised termination.

FORMAL RELATIONS
hasGoal(Plan, Goal)
hasAction(Plan, Action)
precedes(Action_i, Action_j)
requires(Action, Condition)
produces(Action, Effect)
constrainedBy(Plan, Constraint)
usesResource(Action, Resource)
executedBy(Action, Agent)
observedAs(Action, Result)
revises(Plan_new, Plan_old)

INFERENCE_RULES
R1: If action preconditions are not met, that action is not executable in the current state.
R2: If a required predecessor is incomplete, dependent actions are blocked.
R3: If any hard boundary is violated, reject the candidate plan or request authorised revision.
R4: If observed effects differ from predicted effects, mark the affected plan assumptions for re-evaluation.
R5: If the goal predicates are satisfied and verified, the plan may terminate successfully.
R6: If no feasible continuation exists, report a blocked or infeasible plan rather than asserting success.
R7: If uncertainty exceeds the domain threshold, seek additional observations or clarification.

MINI_RECURSION_ENGINE
function PlanStep(S_t, P_t):
  candidates := expand(I_t, R_t)
  valid := filter(candidates, B_t, K_t, P_t)
  if valid is empty: return BLOCKED(P_t)
  chosen := rank(valid, S_t)
  revised := integrate(P_t, chosen)
  if not validate(revised, S_t): return REVISE(P_t)
  if execution_authorised(chosen):
    outcome := execute_and_observe(chosen)
    S_next := update_state(S_t, outcome)
    return PlanStep(S_next, revised) unless terminal(S_next)
  return READY_FOR_APPROVAL(revised)

TRI_MAPPING
Entity mapping: Plan -> Goal, Action, Constraint, Resource, Agent, State.
Relationship mapping: hasGoal, hasAction, precedes, requires, produces, constrainedBy.
Process mapping: propose -> validate -> authorise -> execute -> observe -> revise.

DIAGRAM
[Initial State + Goal]
          |
          v
[Generate Candidates] -> [Boundary / Preconditions Filter]
                                   |
                                   v
                            [Rank + Assemble]
                                   |
                                   v
                              [Validate]
                              /       \
                           Fail       Pass
                            |           |
                         [Revise]   [Authorise]
                                        |
                                        v
                               [Execute / Observe]
                                        |
                                        v
                              [Update State / Plan]
                                        |
                              [Goal met?] -- No --> [Generate Candidates]
                                   |
                                  Yes
                                   v
                               [Complete]

MAPPING_TABLE
INPUT: S_0, G, action schemas -> F0/F1
TRANSFORM: candidate expansion -> F2
BOUNDARY: validity filter -> F3
SELECTION: ranking -> F4
STRUCTURE: plan assembly -> F5
CHECK: feasibility validation -> F6
ACTION: authorised execution -> F7
FEEDBACK: observation -> F8
MEMORY: state update -> F9
RECURSION: termination or replan -> F10

EXECUTION_GUARANTEE
Guarantees are conditional: a plan is only considered valid relative to its declared model, constraints and evidence. The flow does not guarantee real-world success, optimality, safety or termination in an unbounded environment. External actions require independent authorisation and verification.

AI_SEARCH_FLOW
ENTITY: Plan
ENTITY_TYPE: AI Planning Entity
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/plan-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/plan-ontology.html
PURPOSE: Represent goal-directed action structure, constraints, execution and recursive revision.
SEMANTIC_EQUIVALENCE: action plan; task plan; goal-directed plan; planning artefact.
CONFIDENCE: Conditional on input data, model accuracy and validation evidence.
UPDATE_MODEL: Revise plan graph and state after verified observations or changed constraints.
FLOW_HASH: Not computed; generate from final canonical content if required.
LICENCE_NOTE: Follow the source site's applicable Open Research Licence and citation requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ