Skip to main content

Planning State Ontology

Planning Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — FLOW ALGEBRA
PLANNING STATE ONTOLOGY
Version: 1.0 | Date: 02 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/planning-state-ontology.html
Citation: Kireth Research, Planning State Ontology (revised 01 August 2026).
STATUS: Constructed formalisation. The publicly rendered page identifies the ontology but does not expose its full formal rules. The algebra below is a proposed mapping, not a verbatim transcription.

1. PURPOSE
Represent a planning state as a bounded, versioned snapshot of what an agent knows, intends, has completed, and may legally do next. Distinguish world state from planning metadata and from predicted successor states.

2. ENTITY DEFINITION
PlanningState := (id, t, W, G, T, A, D, C, R, H, status, provenance)
W = believed world facts with confidence and evidence;
G = active goals and satisfaction predicates;
T = tasks/subtasks and completion states;
A = available actions and their preconditions/effects;
D = ordering/dependency relation;
C = constraints, permissions and boundaries;
R = available resources and budgets;
H = immutable transition history;
status in {initial, open, blocked, satisfied, failed, suspended}.
Each state has a stable identifier and revision; unknown facts are not assumed false.

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current observations and planning inputs;
R_t = transition, dependency and inference rules;
B_t = safety, feasibility, authorisation and resource boundaries;
K_t = stored facts, action history and prior plans.
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))
If V_t is empty, return BLOCKED with reasons; do not infer success.

4. FLOW ALGEBRA
FLOW PlanningStateTransition
INPUT: state S_t, candidate action a, evidence e
PRECONDITION: wellFormed(S_t) AND authorised(a,S_t)
EXPAND: Candidate_t = applicableActions(S_t)
FILTER: Feasible_t = {a in Candidate_t : pre(a,S_t) AND constraints(a,S_t)}
SELECT: a* = choose(Feasible_t, objective, risk, resources)
PREDICT: S_hat = simulate(S_t,a*)
EXECUTE: result = execute(a*) only if execution is explicitly authorised
OBSERVE: o = verify(result,e)
COMMIT: S_(t+1) = reconcile(S_t,S_hat,o)
OUTPUT: (S_(t+1), transitionRecord, confidence, unresolvedQuestions)
FAILURE: if no feasible action or verification fails, preserve prior confirmed facts, log failure and replan.
END FLOW

5. RECURSIVE STATE REFINEMENT
Refine(S_t, depth):
  if goalSatisfied(S_t): return SATISFIED
  if depth >= maxDepth OR budgetExhausted(S_t): return BOUNDED_STOP
  if inconsistent(S_t): return REQUEST_EVIDENCE
  candidates = filter(expand(S_t), boundaries(S_t))
  if candidates is empty: return BLOCKED
  for candidate in ranked(candidates):
    successor = predict(S_t,candidate)
    if safe(successor): evaluate Refine(successor, depth+1)
  return highest-ranked validated branch or failure reason.
Termination is guaranteed only with a finite branching factor, finite depth bound and finite computation budget.

6. RELATIONSHIP GRAPH
PlanningState --hasGoal--> Goal
PlanningState --containsTask--> Task
Task --decomposesInto--> Subtask
PlanningState --enables--> Action
Action --belongsTo--> ActionSequence
Action --requires--> Preconditions
Action --produces--> Effects
PlanningState --constrainedBy--> Boundary
PlanningState --transitionsTo--> PlanningState
PlanningState --supportedBy--> Evidence
PlanningState --records--> TransitionHistory

7. INFERENCE RULES
R1 Applicable(a,S) <- PreconditionsSatisfied(a,S) AND Authorised(a,S).
R2 Blocked(S) <- ActiveGoal(S) AND NOT ExistsFeasibleAction(S).
R3 Achieved(g,S) <- EveryRequiredPredicate(g) verified in S.
R4 Successor(S,a,S') <- Applicable(a,S) AND VerifiedEffects(a,S').
R5 Replan(S) <- UnexpectedObservation(S) OR ConstraintViolation(S).
R6 PreserveUnknown(f,S) <- NeitherVerifiedTrue(f,S) NOR VerifiedFalse(f,S).
R7 NoExecution(a) <- MissingPermission(a) OR SafetyBoundaryViolated(a).
These rules use explicit evidence and must not interpret absence of a fact as proof of its negation.

8. TRI-MAPPING
Semantic: PlanningState is a temporally indexed planning snapshot with provenance.
Mathematical: S_(t+1) = F(S_t,a_t,o_(t+1)) subject to C(S_t,a_t)=true.
Operational: validate -> expand -> filter -> rank -> predict -> authorise -> act -> observe -> reconcile.

9. FLOW DIAGRAM
[Inputs / Evidence]
       |
       v
[Planning State S_t] -> [Validate & Constraints]
       |                       |
       v                       +--> [Blocked / Clarify]
[Expand Candidate Actions]
       |
       v
[Filter + Rank] -> [Predict Successor]
       |                 |
       v                 v
[Authorisation Gate] -> [Execute / Simulate]
                         |
                         v
                  [Observe & Verify]
                         |
                         v
                 [Commit S_(t+1)]
                         |
                         +--> [Goal Test / Replan]

10. MAPPING TABLE
Entity                 State field    Verification
World fact             W              Evidence + timestamp
Goal                   G              Satisfaction predicate
Task / subtask         T              Status + dependency check
Candidate action       A              Preconditions + permission
Dependency             D              Acyclicity or declared loop
Constraint             C              Boundary validator
Resource               R              Availability + budget
Transition record      H              Immutable provenance

11. EXECUTION GUARANTEE (CONDITIONAL)
Given a finite candidate set, terminating validators, bounded recursion and deterministic tie-breaking, evaluation terminates with either a validated proposed successor or an explicit blocked/failure result. This does NOT guarantee goal attainment, truth of uncertain world facts, safe external execution, or that an authorised action will succeed. External effects require independent verification.

12. AI SEARCH FLOW
FLOW_ID: semantic-library.ai.planning-entities.planning-state.v1
ENTITY: Planning State
ALIASES: plan state; planning snapshot; planner state
INTENT: define, compare, validate, transition, query
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/planning-state-ontology.html
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
STATE_MODEL: (I,R,B,K)
PATHWAY: parse -> identify state -> resolve facts -> apply rules -> enforce boundaries -> return grounded answer
SEMANTIC_EQUIVALENCE: planning state != physical world state; predicted state != observed state
CONFIDENCE: evidence-dependent; no unsupported numerical confidence
UPDATE_MODEL: append verified transitions, version snapshots, retain provenance
CITATION_BACKLINK: source URL above
FLOW_HASH: not assigned; compute after final publication from canonical file bytes

13. IMPLEMENTATION NOTES
Store each state snapshot with version, timestamp and source evidence. Validate dependencies before action selection. Keep simulated and observed outcomes separate. Log rejected actions and boundary failures. Preserve reproducibility through explicit rule versions, budgets and deterministic ordering where appropriate.

14. HOW TO READ
A state describes a moment in a plan. The flow proposes or performs a bounded transition, checks the result and records what changed. Repetition forms a recursive planning process without equating predictions with verified reality.

LICENCE NOTE: Attribution to the named authors and source is requested. Consult the published Kireth Research Open Research Licence for operative terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ