Skip to main content

Recursive Plan Entity Ontology

Recursive AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
RECURSIVE PLAN ENTITY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Recursive AI Entities
Version: 1.0 | Date: 05 November 2026 | Encoding: UTF-8
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/recursive-ai-entities/recursive-plan-entity-ontology.html
Status: Companion formalisation; the full embedded source specification was not exposed in the accessible page text.

1. PURPOSE
Represent a plan as a recursively revisable, evidence-constrained structure of goals, actions, dependencies, conditions, resources and evaluations. The entity supports decomposition, execution monitoring, replanning and bounded termination.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current planning information (goal, environment, progress, observations).
R_t: permitted planning transformations and inference rules.
B_t: boundaries (safety, time, budget, permissions, scope, depth).
K_t: knowledge (action models, dependencies, history, evidence).
Plan_t = (G, A_t, D_t, C_t, Q_t, H_t)
G: goals and success criteria; A_t: actions/subplans; D_t: dependencies;
C_t: constraints; Q_t: quality/risk estimates; H_t: execution history.

3. RECURSIVE EXPANSION
E_t = expand(I_t, R_t)
Candidate_t = {p | p is a permitted decomposition, refinement or repair of Plan_t}
Valid_t = {p in Candidate_t | respects(p, B_t) AND feasible(p, K_t)}
p*_t = argmax_{p in Valid_t} P(p | I_t, R_t, B_t, K_t)
Where probability is not calibrated, replace P with an explicitly defined utility score U(p).
If Valid_t is empty, return BLOCKED with reasons; never invent a viable plan.

4. PLAN DECOMPOSITION
Decompose(goal, depth) -> ordered or partially ordered subgoals.
Each subgoal carries an identifier, prerequisites, expected result and verification test.
Leaf actions must be executable under current permissions and available tools.
Recursion: Plan(goal) -> {Plan(subgoal_1), ..., Plan(subgoal_n)}.
Stop decomposition at an executable leaf, a proved infeasibility, or a depth limit.

5. TRANSITION AND FEEDBACK
Observe_t = evidence from action execution or environment change.
I_(t+1) = update(I_t, Observe_t, result_t)
K_(t+1) = consolidate(K_t, validated(Observe_t))
Plan_(t+1) = revise(Plan_t, I_(t+1), R_t, B_t, K_(t+1))
Do not overwrite verified history with unverified assumptions.

6. INFERENCE RULES
R1: If a prerequisite is unmet, block the dependent action.
R2: If an action violates a hard boundary, reject it.
R3: If a subgoal fails, assess repair or alternative decomposition.
R4: If new evidence invalidates an assumption, re-evaluate affected descendants.
R5: If goals are satisfied and verified, mark the plan COMPLETE.
R6: If evidence is insufficient, mark the decision UNCERTAIN and request validation.
R7: If a plan cycle repeats without improvement, halt or escalate.
R8: Human approval gates cannot be bypassed by recursive replanning.

7. SEMANTIC RELATIONSHIPS
RecursivePlanEntity --hasGoal--> GoalEntity
RecursivePlanEntity --hasSubplan--> RecursivePlanEntity
RecursivePlanEntity --containsAction--> ActionEntity
ActionEntity --dependsOn--> ActionEntity
RecursivePlanEntity --usesContext--> RecursiveContextEntity
RecursivePlanEntity --usesMemory--> RecursiveMemoryEntity
RecursivePlanEntity --usesInference--> RecursiveInferenceEntity
RecursivePlanEntity --hasState--> RecursiveStateEntity
RecursivePlanEntity --evaluatedBy--> EvaluationEntity
RecursivePlanEntity --produces--> PlanOutcomeEntity

8. EXECUTION LOOP
INITIALISE -> VALIDATE_GOAL -> DECOMPOSE -> FILTER -> SELECT
-> EXECUTE_ALLOWED_ACTION -> OBSERVE -> VERIFY -> UPDATE
-> {COMPLETE | REPLAN | BLOCKED | ESCALATE | TERMINATED}

9. INVARIANTS
Every active action must map to a goal or justified maintenance requirement.
Every dependency must be explicit and cycle-checked.
Every state change must preserve provenance and execution status.
No unverified outcome may be labelled complete.
Safety and authorisation constraints remain binding across recursion.

10. TERMINATION CONDITIONS
COMPLETE: all mandatory goals pass their verification tests.
BLOCKED: no feasible authorised action exists.
LIMIT: recursion depth, time, cost or action budget reached.
CANCELLED: authorised controller withdraws the goal.
ESCALATED: a required human decision or missing evidence prevents progress.

11. CONDITIONAL EXECUTION GUARANTEE
Given finite candidate sets, bounded recursion, terminating rule evaluations,
and enforced action budgets, each planning cycle terminates with a status.
This does not guarantee that a goal is achievable, that a plan is optimal,
or that external tools or the environment will behave as predicted.

12. TRACE RECORD
Record {plan_id, iteration, parent_plan_id, goal_id, state_hash,
candidate_ids, accepted_plan_id, rejected_reasons, evidence_refs,
constraints_checked, action_result, verification_result, next_status}.

13. SOURCE AND LICENCE NOTE
Companion Flow Algebra written for the linked Recursive Plan Entity Ontology.
The public page identifies Mark Anthony Higgins and Sky Recursive AI as authors.
Refer to the source site for its applicable Open Research Licence and citation terms.
Citation: Mark Anthony Higgins and Sky — Recursive AI, Recursive Plan Entity Ontology,
Kireth Research, revised 01 August 2026. Source URL above.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ