Skip to main content

Compute Cluster Ontology

Infrastructure Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — AI CORE / INFRASTRUCTURE ENTITIES
COMPUTE CLUSTER ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 04 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/compute-cluster-ontology.html
Status: Original interpretative formalisation; not a verbatim extraction of embedded site code.
Licence: Refer to the source project's published Open Research Licence; citation requested.

1. PURPOSE
Model a compute cluster as a bounded, observable collection of interconnected compute nodes that accept workloads, schedule tasks, allocate resources, execute work and report results while respecting capacity, health, placement and access constraints.

2. ENTITY DEFINITIONS
ComputeCluster C = (N, E, Q, S, P, M, O)
N: finite set of compute nodes (CPU/GPU/TPU/NPU-capable hosts).
E: network links and communication topology.
Q: queued and running workloads.
S: scheduler and placement policy.
P: resource, security, locality and reliability policies.
M: monitoring and telemetry observations.
O: outputs, execution records and audit evidence.
Node n = (id, capabilities, capacity, allocated, health, locality).
Workload w = (id, tasks, requirements, priority, dependencies, deadline, provenance).
Task t = (id, input, resource_demand, predecessors, state, result).

3. FORMAL STATE MODEL
At time k:
I_k = (arrivals, completed_tasks, node_telemetry, faults, policy_updates)
R = scheduling, capacity, dependency, access and consistency rules
B_k = (available_nodes, network_reachability, authorisations, budget, deadlines)
K_k = (cluster_topology, task_history, node_capabilities, resource_usage)
Cluster state: X_k = (I_k, R, B_k, K_k, Q_k, A_k, H_k)
where A_k is task-to-node allocation and H_k is node/task health.

4. CORE FLOW ALGEBRA
S_k = (I_k, R, B_k, K_k)
E_k = expand(I_k, R)
V_k = {x in E_k : feasible(x, B_k, K_k) and authorised(x, P)}
x*_k = argmax_{x in V_k} Score(x | I_k, R, B_k, K_k)
X_{k+1} = Update(X_k, x*_k, Observations_k)
If V_k = empty, emit DEFERRED or UNSCHEDULABLE with reasons; never assert successful execution.

5. FEASIBILITY AND PLACEMENT
For each resource dimension d and node n:
  allocated(n,d) + demand(t,d) <= capacity_usable(n,d)
For every task t:
  assigned(t,n) => healthy(n) and reachable(n) and compatible(t,n)
  start(t) => all predecessors(t) have succeeded
  assigned(t,n) => permitted(t,n,P)
Optional locality and accelerator requirements constrain eligible nodes.
Score(x) = alpha*throughput(x) - beta*latency(x)
         - gamma*energy_cost(x) - delta*failure_risk(x)
         + epsilon*fairness(x)
Weights are declared policy parameters, not universal constants.

6. STATE TRANSITIONS
RECEIVED -> VALIDATED -> QUEUED -> PLACED -> RUNNING
RUNNING -> SUCCEEDED | FAILED | PREEMPTED | TIMED_OUT
FAILED -> RETRY_QUEUED (only if retry policy allows)
PREEMPTED -> QUEUED (if resumable)
Any state -> CANCELLED (only under authorised cancellation)
Each transition must record timestamp, actor, cause and evidence.

7. INFERENCE RULES
R1: If a node is unhealthy, exclude it from new placements.
R2: If task requirements exceed every eligible node, mark UNSCHEDULABLE.
R3: If task dependencies are incomplete, retain QUEUED/BLOCKED.
R4: If telemetry shows sustained saturation, evaluate scaling or backpressure.
R5: If a running node fails, mark affected tasks uncertain until reconciled.
R6: If capacity recovers, reconsider deferred tasks subject to fairness policy.
R7: If a task exceeds its deadline, emit a timeout or policy-specific exception.
R8: If access checks fail, reject placement and create an audit record.
R9: If a result is confirmed, bind it to task identity and provenance.
R10: If observations conflict, request reconciliation rather than inventing a state.

8. MINI RECURSION ENGINE
function Step(X_k):
  observations := Observe(X_k)
  candidates := Expand(observations, R)
  feasible := Filter(candidates, B_k, K_k, P)
  decision := Select(feasible, Score)
  X_next := ApplyOrDefer(X_k, decision)
  evidence := VerifyAndLog(X_next)
  return (X_next, evidence)
Repeat while active and within declared termination or service constraints.
Termination is not guaranteed for an indefinitely operating cluster.

9. TRI-MAPPING
Physical: hosts, accelerators, memory, storage, interconnects, power.
Logical: nodes, resource pools, tasks, queues, scheduler, policies.
Semantic: ComputeCluster, containsNode, runsTask, allocatesResource,
          dependsOn, reportsMetric, emitsEvent, producesResult.
Mappings preserve node IDs, resource units, provenance and timestamps.

10. FLOW DIAGRAM
[Workload Input]
      |
      v
[Validate + Authorise] --> [Reject + Audit] (invalid)
      |
      v
[Queue + Dependency Check]
      |
      v
[Discover Healthy Capacity]
      |
      v
[Generate Feasible Placements] --> [Defer + Explain] (none)
      |
      v
[Policy-Based Selection]
      |
      v
[Dispatch + Execute]
      |
      v
[Observe + Verify] --> [Retry / Recover / Reconcile] (exception)
      |
      v
[Result + Provenance + Metrics]
      |
      +----> [Update Cluster State] ----> [Next Cycle]

11. RELATIONSHIP MAPPING TABLE
ComputeCluster | containsNode | ComputeNode | membership
ComputeCluster | connectsVia | NetworkLink | topology
ComputeCluster | manages | ResourcePool | capacity
ComputeCluster | schedules | Workload | coordination
Workload | containsTask | Task | decomposition
Task | requires | ResourceRequirement | feasibility
Task | allocatedTo | ComputeNode | placement
Task | dependsOn | Task | execution ordering
ComputeNode | reports | MonitoringMetric | observability
ComputeCluster | emits | MonitoringEvent | state change
ComputeCluster | generates | AuditLog | accountability
Task | produces | ExecutionResult | output

12. EXECUTION GUARANTEE (CONDITIONAL)
Given accurate telemetry, consistent state, correct capacity accounting,
valid policy evaluation and successful dispatch acknowledgement, the
scheduler can guarantee that an accepted placement satisfied the declared
constraints at decision time. This does NOT guarantee task completion,
absence of faults, global optimality, or future capacity availability.
Safety invariant: no admitted placement intentionally exceeds declared
usable resources or violates authorisation at the moment of admission.
Liveness requires additional assumptions about fairness, capacity and faults.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.infrastructure.compute-cluster.v1
ENTITY: Compute Cluster
ENTITY_TYPE: InfrastructureEntity
PURPOSE: Describe cluster composition, scheduling and operational reasoning.
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/compute-cluster-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/compute-cluster-ontology.html
INPUTS: workload, resource inventory, topology, policies, telemetry
OUTPUTS: placement decision, task status, metrics, provenance, audit events
PATHWAYS: validate -> queue -> assess -> place -> execute -> observe -> update
INFERENCE: R1..R10
SEMANTIC_EQUIVALENCE: compute cluster; distributed compute cluster; AI compute cluster
CONFIDENCE: depends on telemetry quality and verification evidence
UPDATE_MODEL: recompute after arrivals, completions, faults or policy changes
FLOW_HASH: generate from canonical file bytes at publication; not pre-assigned

14. HOW TO READ AND APPLY
Treat definitions as an ontology, predicates as admissibility conditions,
transitions as a state machine, and scoring as an explicitly configurable
selection objective. Record each decision's evidence and distinguish
requested, scheduled, running and verified-complete states.

15. IMPLEMENTATION NOTES
Use atomic reservation or equivalent concurrency control to avoid double
allocation. Protect tenant isolation and secrets. Model GPU memory and
interconnect bandwidth separately from CPU and RAM. Account for stale
telemetry, clock skew, retries, partial failures and idempotency. Integrate
Monitoring Event, Monitoring Report, Audit Log and Diagnostic Record entities.

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