AGENT GOAL ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Agent Entities
Version: 1.0 | 2026-11-02 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/agent-goal-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source page.
1. PURPOSE
Represent an agent goal as an explicit, testable target condition that governs planning, action selection, monitoring and termination. Distinguish desired outcomes from actions, observations and evidence of completion.
2. ENTITY MODEL
Goal G = (id, owner, objective, target, constraints, priority, deadline, status, provenance).
Agent A = (identity, state, capabilities, policy, memory, active_goals).
Environment E = (observations, available_actions, resources, boundaries).
Goal status in {proposed, active, blocked, achieved, failed, cancelled}.
Relations: agent HAS_GOAL goal; goal REQUIRES condition; action ADVANCES goal; observation SUPPORTS achievement; goal DEPENDS_ON subgoal; constraint LIMITS action.
3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current agent observations, active goal and progress evidence.
R_t: goal decomposition, dependency and causal relationships.
B_t: permission, resource, safety, temporal and scope boundaries.
K_t: known facts, action models, policies and prior outcomes.
4. FORMAL FLOW
Input: agent A, goal G, environment E_t.
Candidate actions: C_t = expand(I_t, R_t, G).
Valid actions: V_t = {a in C_t | permitted(a,B_t) AND feasible(a,E_t)}.
Action choice: a*_t = argmax_{a in V_t} U(a | I_t,R_t,B_t,K_t,G).
Transition: E_(t+1) = transition(E_t,a*_t,observation_(t+1)).
State update: I_(t+1) = update(I_t,a*_t,observation_(t+1)).
Goal test: achieved(G,t) = target_satisfied(G,E_t) AND evidence_valid(G,I_t).
If V_t is empty, mark blocked or request authorised intervention; do not invent an action.
5. HOW TO READ THE FLOW
The goal specifies what success means. The state supplies what is currently known. Relationships expose dependencies. Boundaries exclude impermissible or infeasible actions. The policy selects a useful action; subsequent observations establish whether progress or success actually occurred.
6. TRI-MAPPING
Entity: Goal -> target condition -> observable completion evidence.
Relationship: Goal -> depends_on -> subgoal or prerequisite.
Execution: Goal -> select action -> observe -> evaluate -> update.
7. RELATIONSHIP GRAPH
Agent --HAS_GOAL--> Goal
Goal --REQUIRES--> TargetCondition
Goal --DEPENDS_ON--> Subgoal
Goal --CONSTRAINED_BY--> Boundary
Action --ADVANCES--> Goal
Observation --EVIDENCES--> GoalStatus
Goal --PROVENANCE--> SourceRecord
8. MINI RECURSION ENGINE
initialise(G,S_0)
for t = 0 .. max_steps-1:
if achieved(G,t): return ACHIEVED with evidence
if deadline_expired(G,t): return FAILED_OR_EXPIRED with evidence
subgoals = decompose(G,R_t,K_t) if needed
candidates = expand(I_t,R_t,G,subgoals)
valid = filter(candidates,B_t,E_t)
if not valid: return BLOCKED with reason
action = select(valid,policy,utility)
result = execute_if_authorised(action)
S_(t+1) = update(S_t,result)
return INCOMPLETE with trace
9. MAPPING TABLE
Field | Input | Operator | Output
Goal target | objective | normalise | testable target
Dependencies | relationship graph | decompose | subgoals
Candidates | current state | expand | action set
Boundaries | policies/resources | filter | permitted actions
Choice | valid actions | argmax utility | selected action
Progress | observations | evaluate | status and evidence
Memory | execution trace | update | revised knowledge
10. INFERENCE RULES
IF target_satisfied AND evidence_valid THEN goal_status = achieved.
IF unmet_dependency THEN dependent_goal_status = blocked.
IF action violates boundary THEN exclude action.
IF progress evidence contradicts prior belief THEN revise status and confidence.
IF goal is cancelled by authorised owner THEN stop execution.
IF outcome cannot be verified THEN do not assert achievement.
11. CONDITIONAL EXECUTION GUARANTEE
The flow guarantees a structured decision and trace when its operators are implemented correctly; it does not guarantee real-world goal achievement. Termination requires a bounded step count, deadline or explicit stop condition. Success claims require observable evidence. Tool use requires authorisation and error handling.
12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/agent-goal-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/agent-goal-ontology.html
PURPOSE: Resolve agent-goal concepts, dependencies, action selection and completion verification.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Agent; Goal; TargetCondition; Subgoal; Action; Observation; Boundary; GoalStatus; Evidence.
PATHWAYS: query -> goal identification -> dependency expansion -> boundary filter -> action or explanation -> evidence check.
MINI_RECURSION_ENGINE: expand -> filter -> rank -> observe -> update -> repeat until stop.
INFERENCE_RULES: evidence-gated success; boundary-first action; dependency-aware planning.
CONFIDENCE: separate source confidence, action feasibility and goal-achievement confidence; never treat scores as proof.
SEMANTIC_EQUIVALENCE: agent objective ~ desired outcome (context dependent); goal != action; goal != evidence.
FLOW_HASH: implementation should compute a canonical content hash; no hash asserted here.
UPDATE_MODEL: version, timestamp, source revision, dependency changes and validation history.
13. EXAMPLE
Goal: produce a validated report.
Target: report exists and passes specified checks.
Subgoals: gather sources; draft; verify citations; run quality checks.
Boundary: do not fabricate sources.
Success: checks pass and report is available; otherwise report incomplete status.
14. ATTRIBUTION AND USE
Mark Anthony Higgins — Sky Recursive AI.
Kireth Research Semantic Library. Open research intent; cite the source URL when reusing this formalisation. This text is an independent supplementary model, not a claim of verbatim source reproduction.
Download Code
Copy to Clipboard