Skip to main content

Idle 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
IDLE 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/idle-ai-state-ontology.html
Created: 2026-11-04
Status: Companion formalisation. The published page exposes the title and an AI interpretation note, but not the full embedded ontology specification; definitions below are a proposed formal model, not a transcription.

1. PURPOSE
Represent an AI system's idle operational state as a distinct, observable lifecycle condition in which no authorised task is currently executing, while the system may remain available to accept future work. Idle does not imply shutdown, absence of background processes, or zero resource consumption.

2. ENTITY DEFINITION
IdleAIState := (system_id, instance_id, state_id, entered_at, pending_tasks, active_tasks, readiness, resources, policy, provenance)
Required: system_id, instance_id, state_id, entered_at, active_tasks, readiness.
Invariant: state_id = IDLE implies count(active_tasks) = 0 for the defined task-execution scope.
Scope note: background monitoring and infrastructure maintenance must be classified separately from user-task execution.

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observations of queue, execution status, health, readiness and signals.
R_t: rules for state classification, permission, activation and suspension.
B_t: system boundaries, safety constraints, authority and resource limits.
K_t: known task status, prior transitions, configuration and audit history.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and supported(x, 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, preserve a safe non-executing state and request review where required.

4. FORMAL FLOW
FLOW IdleAIState
INPUT: system telemetry, task queue, active execution set, policy, health status
PRECONDITIONS: system identity verified; telemetry freshness within configured limit
NORMALISE: reconcile task identifiers, timestamps and execution scope
CLASSIFY:
  IF active_tasks = 0 AND ready = true AND no blocking fault THEN IDLE
  ELSE IF active_tasks > 0 THEN ACTIVE
  ELSE IF fault_blocks_operation THEN ERROR_OR_SUSPENDED
  ELSE IF ready = false THEN INITIALISING_OR_PAUSED
  ELSE UNKNOWN
FILTER: reject classifications with stale, contradictory or unauthorised evidence
OUTPUT: state classification, timestamp, confidence, supporting observations
COMMIT: persist transition only after validation and authorised state update
END FLOW

5. STATE TRANSITIONS
INITIALISING -> IDLE : initialisation complete and no tasks running
ACTIVE -> IDLE : all scoped tasks completed, cancelled or safely stopped
IDLE -> ACTIVE : valid task admitted and execution actually begins
IDLE -> PAUSED : authorised pause or readiness withdrawn
IDLE -> SUSPENDED : policy or safety condition blocks activation
IDLE -> TERMINATED : controlled shutdown completes
IDLE -> ERROR : failure detected; do not misclassify failure as ordinary idleness
All transitions record actor/cause, source state, destination state, time and evidence.

6. ENTITY RELATIONSHIPS
IdleAIState --isStateOf--> AIInstance
IdleAIState --belongsTo--> AISystem
IdleAIState --isPartOf--> AILifecycle
IdleAIState --precedesOrFollows--> ActiveAIState
IdleAIState --observes--> TaskQueue
IdleAIState --constrainedBy--> SafetyPolicy
IdleAIState --recordedIn--> StateHistory
IdleAIState --mayTransitionTo--> PausedState | ActiveAIState | SuspendedState | TerminatedState

7. TRI-MAPPING
ONTOLOGY: IdleAIState is an operational state of an AI instance.
ALGEBRA: Idle(t) := (|ActiveTasks(t)| = 0) AND Ready(t) AND NOT BlockingFault(t).
EXECUTION: sample telemetry -> validate -> classify -> log -> await eligible trigger.
These mappings describe the same scoped condition at semantic, formal and operational levels.

8. MAPPING TABLE
Semantic entity       | Formal symbol      | Operational evidence
AI instance           | a                  | verified instance identifier
Task execution set    | A_t                | scheduler execution registry
Readiness             | Ready(t)           | health and policy checks
Blocking fault        | Fault(t)           | incident/health signal
Idle state            | Idle(t)            | validated state record
Transition            | T(s_i,s_j,e)       | append-only event entry
Boundary              | B_t                | authority and resource policy
Knowledge             | K_t                | state history and configuration

9. INFERENCE RULES
R1: A_t = empty AND Ready(t) AND NOT Fault(t) => candidate(IDLE).
R2: A_t != empty => NOT IDLE within the same task scope.
R3: stale(telemetry) => classification UNKNOWN, not IDLE.
R4: queued_task(t) AND NOT executing(t) does not alone negate IDLE.
R5: policy_denies(task) => task must not trigger IDLE -> ACTIVE.
R6: validated_start(task) => transition IDLE -> ACTIVE.
R7: last_active_task_finished AND Ready(t) => candidate(IDLE).
R8: shutdown_complete => TERMINATED, not IDLE.
R9: contradictory_observations => withhold confident classification.

10. MINI RECURSION ENGINE
function step(state, observations, policy):
  evidence := normalise(observations)
  if not valid(evidence): return UNKNOWN with audit reason
  candidate := classify(evidence, policy)
  if candidate != state:
    require authorised_transition(state, candidate, policy)
    append_audit(state, candidate, evidence)
  return candidate
Repeated evaluation stops at configured polling, event or recursion limits; it must not recursively self-activate without an external or authorised trigger.

11. CONDITIONAL EXECUTION GUARANTEES
G1: No IDLE assertion without fresh evidence of zero scoped active tasks.
G2: No transition to ACTIVE without task admission and policy authorisation.
G3: Every committed state change is traceable to evidence and timestamp.
G4: Unknown or contradictory evidence cannot be silently treated as IDLE.
G5: Guarantees depend on correct instrumentation, trusted inputs and enforcement; they are design obligations, not proof of a deployed implementation.

12. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.state-and-lifecycle.idle-ai-state.v1
TITLE: Idle AI State Ontology
ENTITY_TYPE: AIOperationalState
PARENT: State and Lifecycle Entities
PURPOSE: Identify and reason about idle AI instances and safe transitions.
ENTITIES: AIInstance, AISystem, AILifecycle, IdleAIState, ActiveAIState, TaskQueue, SafetyPolicy, StateHistory
PATHWAYS: instance -> telemetry -> classification -> validation -> transition -> audit
SEMANTIC_EQUIVALENCE: idle AI state; non-executing ready AI instance; waiting operational state (subject to readiness and scope)
INFERENCE: apply R1-R9 only when their premises are verified.
CONFIDENCE: evidence-derived; no fixed numerical confidence asserted.
UPDATE_MODEL: revise on new task events, policy changes, health changes or telemetry corrections.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/state-and-lifecycle-entities/idle-ai-state-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
LICENCE_NOTE: Respect the licence terms published by the source project; attribution and citation requested.
END FLOW

13. HOW TO READ
Start with the entity tuple and state invariant. Read the HST model as the information/rule/boundary/knowledge filter, then the executable classification flow. Use the mapping table to connect terms to runtime observations. The inference rules express conditional conclusions; the guarantees require actual implementation and testing.

14. EXAMPLE
Observed: active_tasks = 0, ready = true, blocking_fault = false, telemetry fresh.
Result: candidate(IDLE), then validated and recorded as IDLE.
New authorised task starts: state changes to ACTIVE with an audit event.
Counterexample: active_tasks = 0 but readiness = false => not IDLE under this model.

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