Skip to main content

Plan Evaluation Entity 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
PLAN EVALUATION ENTITY ONTOLOGY
Version: 1.0 | Date: 2026-11-02 | Language: en-GB
Authors: Mark Higgins; Sky — Recursive AI (formalisation assistance)
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/plan-evaluation-entity-ontology.html
Status: Constructed formalisation. Source page content could not be retrieved for verification; this is not a verbatim extraction.
Licence: Intended for use under the project's Open Research Licence; consult the published licence for governing terms. Citation requested.

1. PURPOSE
Represent the evaluation of a candidate plan against goals, constraints, resources, uncertainty, risk, feasibility, and observed execution outcomes. Distinguish prospective assessment from retrospective verification. An evaluation is evidence-bound, repeatable where inputs are fixed, and open to revision when evidence changes.

2. ENTITY MODEL
PlanEvaluation E = (id, plan, initial_state, goal, criteria, evidence, scores, verdict, provenance, timestamp, version).
Plan P = (actions, ordering, dependencies, predicted_transitions, resources).
Criterion c = (name, measure, direction, weight, threshold, hard_constraint).
Evidence e = (source, observation, reliability, timestamp, scope).
Verdict ∈ {acceptable, unacceptable, indeterminate}.
Entities: Plan, Goal, PlanningState, InitialState, GoalState, Action, ActionSequence, Precondition, Postcondition, ActionConstraint, PlanningPath, PlanningHorizon, ContingencyPlan, AdaptivePlan, RecursivePlan, PlanEvaluation.
Relations: evaluates(E,P), targets(P,G), observes(E,e), measures(E,c), constrains(c,P), supports(e,score), revises(E,P), precedes(P.action_i,P.action_j).

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: available plan facts, state observations, predicted outcomes.
R_t: evaluation and inference rules.
B_t: feasibility, safety, resource, authority and scope boundaries.
K_t: known criteria, evidence, uncertainties, and prior evaluations.
Expand: E_t = expand(I_t, R_t).
Validate: V_t = {x in E_t | satisfies(x,B_t) and supported(x,K_t)}.
Select: x*_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t), when V_t is non-empty and the probability model is defined.
Update: I_{t+1} = update(I_t, x*_t, observations_t), preserving provenance.
The selection equation is a modelling convention, not a guarantee that a calibrated probability model exists.

4. FLOW ALGEBRA — EVALUATION
INPUT(P,G,S0,C,Evidence)
  -> NORMALISE(P,G,C)
  -> CHECK_COMPLETENESS(P,S0,C,Evidence)
  -> SIMULATE_OR_ESTIMATE(P,S0)
  -> VERIFY_PRECONDITIONS_AND_CONSTRAINTS(P)
  -> SCORE_CRITERIA(P,G,C,Evidence)
  -> ASSESS_RISK_AND_UNCERTAINTY(P)
  -> AGGREGATE_WITH_HARD_GATES
  -> ISSUE_VERDICT_WITH_REASONS
  -> STORE_PROVENANCE_AND_VERSION
  -> MONITOR_AND_REEVALUATE_IF_CHANGED.

Define Feasible(P) = all required preconditions and hard constraints are satisfied, or 'unknown' if evidence is insufficient.
Define GoalFit(P,G) = degree to which predicted terminal state satisfies G, conditional on the prediction model.
Define Utility(P) = Σ_i w_i * normalise_i(score_i(P)), where w_i >= 0 and Σ_i w_i = 1; weights and normalisation must be documented.
Define RiskAdjusted(P) = Utility(P) - λ * Risk(P), λ >= 0.
Decision(P) = unacceptable if a proven hard constraint fails;
              indeterminate if a required test or critical evidence is unknown;
              acceptable if Feasible(P)=true and all mandatory thresholds hold.
A high utility score cannot override a failed hard constraint.

5. RECURSIVE EVALUATION
Evaluate(P, depth, history):
  if P is invalid: return unacceptable with reasons
  if evidence insufficient: return indeterminate with missing-evidence set
  assess child plans/subplans and dependencies
  combine supported child results with whole-plan constraints
  if improvement needed and depth < max_depth:
      generate bounded revisions and compare with baseline
  else return verdict, scores, uncertainty and provenance
Termination requires finite branching, a depth or budget bound, and cycle detection.
No recursion step may silently replace a mandatory constraint or alter the goal.

6. INFERENCE RULES
R1: IF a required precondition is false THEN reject affected action path.
R2: IF a hard constraint is violated THEN plan verdict = unacceptable.
R3: IF a critical criterion cannot be measured THEN verdict = indeterminate.
R4: IF all mandatory gates pass AND thresholds pass THEN verdict = acceptable.
R5: IF observed postcondition differs from prediction THEN mark model discrepancy and trigger reassessment.
R6: IF a revision improves utility without violating hard gates THEN prefer it under the declared comparison policy.
R7: IF two evaluations use different evidence or weights THEN do not treat their scores as directly comparable without reconciliation.
R8: IF evaluation provenance is missing THEN flag auditability failure.

7. TRI-MAPPING
Semantic: PlanEvaluation -> evaluates -> Plan; Plan -> targets -> Goal; Evaluation -> uses -> Evidence and Criteria.
Formal: (P,G,S0,C,Evidence) -> (scores, feasibility, uncertainty, verdict).
Operational: ingest -> validate -> predict -> measure -> decide -> log -> revisit.

8. FLOW DIAGRAM
[Plan + Goal + Initial State]
              |
              v
      [Criteria + Evidence]
              |
              v
     [Constraint Gate] ----fail----> [Unacceptable]
              |
         pass/unknown
              v
    [Predictions + Scoring]
              |
              v
      [Evidence Adequate?] --no--> [Indeterminate]
              |
             yes
              v
       [Threshold Gate] ----fail----> [Unacceptable]
              |
             pass
              v
         [Acceptable]
              |
              v
 [Record Provenance + Monitor]
              |
              +----changed evidence----> [Re-evaluate]

9. MAPPING TABLE
Concept | Formal symbol | Operational test
Plan | P | Validate actions and dependencies
Goal | G | Test goal predicates
Initial state | S0 | Verify starting assumptions
Criteria | C | Check weights, metrics and thresholds
Evidence | Evidence | Verify provenance and currency
Hard boundary | B | Constraint satisfaction
Feasibility | Feasible(P) | Three-valued gate
Utility | Utility(P) | Weighted normalised score
Risk | Risk(P) | Documented risk estimate
Verdict | Decision(P) | Accept/reject/indeterminate
Revision | P' | Compare against baseline P

10. EXECUTION GUARANTEE — CONDITIONAL
This ontology specifies evaluation rules; it cannot guarantee real-world plan success. A verdict is reproducible only when inputs, rules, measurements, random seeds (where relevant), and model versions are fixed. Soundness depends on valid evidence, complete constraints, and correct implementation. Unknown information must remain explicitly unknown.

11. AI SEARCH FLOW
FLOW_ID: semantic-library.ai.planning.plan-evaluation-entity.v1
ENTITY: Plan Evaluation Entity
ENTITY_TYPE: AI Planning / Evaluation
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/plan-evaluation-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/plan-evaluation-entity-ontology.html
PURPOSE: Evaluate plans against goals, evidence, criteria, constraints, risk and uncertainty.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Plan; Goal; PlanningState; Action; Precondition; Postcondition; ActionConstraint; Evidence; Criterion; EvaluationVerdict
PATHWAYS: input>validate>simulate>score>gate>verdict>monitor
MINI_RECURSION_ENGINE: bounded subplan evaluation; evidence-driven re-evaluation; cycle detection
INFERENCE_RULES: R1-R8 above
CONFIDENCE: evidence-dependent; not assigned without data
SEMANTIC_EQUIVALENCE: plan assessment; plan appraisal; plan feasibility evaluation (context-dependent, not exact synonyms)
FLOW_HASH: compute from canonical UTF-8 content when publishing; not pre-populated
UPDATE_MODEL: version on change of criteria, evidence, rules or source ontology

12. HOW TO READ / IMPLEMENT
Read each arrow as a typed processing step, not as a claim of autonomous execution. Use explicit three-valued logic for missing information. Implement hard gates before weighted ranking. Persist each criterion definition, input snapshot, evidence source, decision reason, and evaluation version. Test invalid plans, conflicting evidence, circular subplans, zero-weight criteria, and changing observations.

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