Skip to main content

Active AI State Ontology

State and Lifecycle Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
ACTIVE AI STATE ONTOLOGY — FLOW ALGEBRA v1.0
Semantic Library / AI Core / Entity Graph / State and Lifecycle Entities
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/state-and-lifecycle-entities/active-ai-state-ontology.html
Prepared: 2026-11-04
Status: Companion formalisation; detailed embedded page specification was not accessible.

1. PURPOSE
Represent the active operational state of an AI system as a bounded, observable, authorised, time-indexed entity. Active means capable of processing permitted inputs and producing permitted transitions; it does not imply consciousness, autonomy or uninterrupted execution.

2. ENTITY DEFINITION
ActiveAIState A_t := (id, system_id, instance_id, session_id, phase, I_t, R, B, K_t, permissions, resources, tasks, observations, timestamps, provenance).
phase = ACTIVE; id and system_id are stable identifiers; session_id may be null.
I_t = current inputs/context; R = transition rules; B = operational/safety boundaries; K_t = available knowledge or state memory.

3. FORMAL HST STATE
S_t = (I_t, R, B, K_t)
E_t = expand(I_t, R)
V_t = {x in E_t | respects(x,B) AND authorised(x,permissions) AND feasible(x,resources)}
x*_t = argmax_{x in V_t} P(x | I_t,R,B,K_t), when V_t is nonempty.
I_(t+1) = update(I_t,x*_t,observations_t)
K_(t+1) = revise(K_t,x*_t,observations_t,provenance)
If V_t is empty, no action is selected; record a blocked or escalation outcome.
The probability expression is a selection model, not a claim of calibrated likelihood.

4. STATE MACHINE
Lifecycle phases: INITIAL -> READY -> ACTIVE -> {PAUSED, BLOCKED, DEGRADED, TERMINATING} -> TERMINATED.
READY -> ACTIVE requires valid configuration, permissions and readiness checks.
ACTIVE -> ACTIVE occurs on an authorised successful operation.
ACTIVE -> PAUSED on requested suspension or resource waiting.
ACTIVE -> BLOCKED on policy failure, missing authorisation or unsafe candidate.
ACTIVE -> DEGRADED on partial resource or capability loss.
ACTIVE -> TERMINATING on shutdown request or terminal condition.
PAUSED/DEGRADED/BLOCKED -> ACTIVE requires a documented recovery gate.
TERMINATED is terminal for the instance; restarting creates a new instance or explicitly linked lifecycle event.

5. CORE FLOW
FLOW ActiveAIState:
  INPUT: event e_t, current state A_t
  VALIDATE: identity, phase, schema, provenance, authorisation
  EXPAND: candidate transitions E_t = expand(e_t,R)
  FILTER: V_t = valid(E_t,B,permissions,resources)
  DECIDE: choose x*_t if V_t nonempty, else BLOCK/ESCALATE
  EXECUTE: perform x*_t only after required approval
  OBSERVE: capture result, timestamps and failures
  UPDATE: A_(t+1) = transition(A_t,x*_t,result)
  AUDIT: append immutable or tamper-evident event record
  OUTPUT: updated state, result, audit reference
END FLOW

6. ENTITY RELATIONSHIPS
AI System --hasInstance--> AI Instance
AI Instance --hasLifecycleState--> Active AI State
Active AI State --uses--> AI Model / Context / Knowledge
Active AI State --governedBy--> Policy / Boundary / Permission
Active AI State --processes--> Input / Task / Tool Call
Active AI State --produces--> Output / Observation / Audit Event
Active AI State --transitionsTo--> Paused / Blocked / Degraded / Terminating State
Active AI State --belongsTo--> Session (optional)

7. TRI-MAPPING
Semantic: ActiveAIState is an operational lifecycle classification of a specific AI instance.
Formal: A_t = (S_t, phase, permissions, resources, provenance); phase = ACTIVE.
Execution: runtime gate checks, event processing, state persistence and auditable transitions.

8. MAPPING TABLE
Concept | Formal symbol | Implementation field
Instance identity | id | instance_id
Lifecycle phase | phase | lifecycle_status
Current context | I_t | context_snapshot
Rules | R | rule_set_version
Boundaries | B | policy_constraints
Knowledge | K_t | memory_reference
Permitted actions | V_t | admissible_actions
Chosen action | x*_t | selected_action
Transition | delta | state_transition
Evidence | observations | event_log

9. INFERENCE RULES
R1: phase=ACTIVE AND authorised(event) AND valid(event) -> evaluate(event).
R2: candidate violates B -> candidate NOT IN V_t.
R3: V_t=empty -> blocked_or_escalated; never invent a permissible action.
R4: shutdown_requested -> phase=TERMINATING before TERMINATED.
R5: approval_required AND approval_missing -> no execution.
R6: observation conflicts with K_t -> flag discrepancy; revise only with provenance.
R7: resource failure with safe fallback -> DEGRADED; without safe fallback -> BLOCKED.
R8: no evidence of transition -> do not assert transition completed.

10. MINI RECURSION ENGINE
recursively_process(A_t,e_t,depth):
  if depth >= max_depth: return bounded_stop(A_t)
  if A_t.phase != ACTIVE: return nonactive_outcome(A_t)
  candidates = expand(e_t,R)
  permitted = filter(candidates,B,permissions,resources)
  if permitted is empty: return blocked_outcome(A_t)
  action = select(permitted,K_t)
  result = execute_if_authorised(action)
  A_next = record_and_update(A_t,result)
  if continuation_allowed(A_next,result):
      return recursively_process(A_next,next_event(result),depth+1)
  return A_next
Termination is bounded by depth, time, resource and policy limits.

11. CONDITIONAL EXECUTION GUARANTEES
G1: Given correct validation and enforcement, no selected action violates encoded boundaries.
G2: Given reliable event persistence, each committed transition has an audit reference.
G3: Given bounded recursion and termination checks, the recursive engine halts.
G4: Given atomic state writes, the committed lifecycle phase is internally consistent.
These are conditional design properties, not verified guarantees of any deployed AI system.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/state-and-lifecycle-entities/active-ai-state-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: Identify, distinguish and reason about active AI operational states.
STATE_MODEL: S_t=(I_t,R,B,K_t); phase=ACTIVE
ENTITIES: ActiveAIState, AIInstance, AISystem, LifecycleTransition, Policy, Permission, Event, Observation
PATHWAYS: initialise -> ready -> activate -> process -> observe -> update -> pause/block/degrade/terminate
MINI_RECURSION_ENGINE: bounded recursive_process with validity and permission gates
INFERENCE_RULES: R1-R8 above
CONFIDENCE: Structural specification; operational claims require implementation evidence.
SEMANTIC_EQUIVALENCE: active AI state ~= running authorised AI instance state; NOT equivalent to consciousness or unrestricted agency.
UPDATE_MODEL: event-sourced revision with provenance, versioning and rollback controls.
FLOW_HASH: compute SHA-256 from final published UTF-8 file; not precomputed here.

13. HOW TO READ
Read the entity tuple as a snapshot of one instance. Read the state machine as allowable lifecycle edges. Read the FLOW as an operational specification. Read inference rules as constraints on decisions. Validate all execution guarantees against an actual implementation.

14. DIAGRAM
[INITIAL] -> [READY] -> [ACTIVE] -> [TERMINATING] -> [TERMINATED]
                         |  |  |
                         v  v  v
                     [PAUSED] [BLOCKED] [DEGRADED]
                         \      |      /
                          -- recovery gate --> [ACTIVE]

15. PROVENANCE NOTE
The public page confirms the title, category, authorship and presence of an AI interpretation note; its full embedded formal content was not exposed in the accessible page text. This is a newly authored companion Flow Algebra, not a verbatim extraction.

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