AI COMPUTE ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Infrastructure Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/ai-compute-entity-ontology.html
Generated: 04 November 2026
Status: Original interpretative formalisation; not a verbatim extraction of hidden site specifications.
1. PURPOSE
Represent compute capacity, allocation, execution, telemetry and constraints as typed entities and formal transitions. Distinguish provisioned resources from available resources and observed performance.
2. ENTITY AND STATE MODEL
ComputeEntity C = (id, kind, hardware, capacity, allocation, workload, telemetry, policy, status, provenance).
kind ∈ {CPU, GPU, TPU, accelerator, virtual-machine, container, cluster, edge-node, other}.
capacity = (cores, memory_bytes, storage_bytes, accelerator_memory_bytes, bandwidth_bps, compute_rate).
allocation = (reserved, assigned, utilised); all non-negative and expressed in compatible units.
workload = (job_id, requirements, priority, dependencies, execution_state).
telemetry = (timestamp, utilisation, latency, throughput, error_rate, temperature, energy).
policy = (quota, placement, isolation, access, energy_limit, reliability_target).
status ∈ {discovered, ready, allocated, running, degraded, unavailable, retired}.
State S_t = (I_t, R_t, B_t, K_t), where I = observations and requests; R = typed rules and transitions; B = safety/resource boundaries; K = validated knowledge and provenance.
3. FORMAL FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x ∈ E_t | satisfies(x, B_t) ∧ type_valid(x) ∧ evidence_valid(x)}
x*_t = argmax_{x ∈ V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observed_outcome_t)
If V_t = ∅, return NO_VALID_ALLOCATION with reasons; never fabricate capacity.
4. RESOURCE INVARIANTS
For each resource dimension d:
0 ≤ assigned_d ≤ allocatable_d ≤ provisioned_d.
remaining_d = allocatable_d − assigned_d.
A workload w is feasible on C only if requirements_d(w) ≤ remaining_d(C) for every required dimension d.
Execution permission requires authorised(w, C) ∧ policy_compliant(w, C).
Measured throughput and latency are observations, not guarantees.
5. TRANSITION RULES
DISCOVER: registered(C) ∧ verified_inventory(C) ⇒ status(C) := ready.
RESERVE: ready(C) ∧ feasible(w,C) ∧ authorised(w,C) ⇒ reserve(w,C).
ALLOCATE: reserved(w,C) ∧ dependencies_met(w) ⇒ assigned(w,C) and status(C) := allocated.
EXECUTE: assigned(w,C) ∧ runtime_healthy(C) ⇒ state(w) := running.
MONITOR: new_telemetry(C,t) ⇒ update_observed_metrics(C,t).
DEGRADE: policy_breach(C) ∨ repeated_failures(C) ⇒ status(C) := degraded; restrict_new_allocations(C).
RELEASE: terminal(w) ⇒ release_reserved_and_assigned_resources(w,C).
RETIRE: no_active_work(C) ∧ authorised_retirement(C) ⇒ status(C) := retired.
Every transition produces a timestamped, attributable event.
6. TRI-MAPPING
Semantic: Compute Entity → supplies capacity → hosts execution → emits telemetry.
Mathematical: C_t → feasible set V_t → selection x*_t → observed C_(t+1).
Operational: inventory → validate → schedule → reserve → execute → monitor → release / recover.
7. RELATIONSHIP MAPPING TABLE
Compute Entity | hasCapacity | Resource Capacity
Compute Entity | hosts | Workload
Compute Entity | belongsTo | Infrastructure Cluster
Compute Entity | governedBy | Resource Policy
Compute Entity | emits | Monitoring Metric
Compute Entity | produces | Monitoring Event
Compute Entity | mayTrigger | Alert Entity
Compute Entity | records | Audit Log Entity
Workload | consumes | Allocated Resource
Scheduler | assigns | Workload
8. RECURSIVE EXECUTION ENGINE
INPUT: incoming requests, infrastructure inventory, policies, telemetry.
REPEAT for each scheduling or monitoring cycle:
1. Validate identities, units, freshness and provenance.
2. Expand candidate placements through declared relationships.
3. Filter candidates by capacity, authorisation and boundaries.
4. Rank feasible candidates by explicit policy objectives.
5. Commit reservation atomically or report a conflict.
6. Execute only after allocation confirmation.
7. Compare observed results against policy thresholds.
8. Record events; update K only with verified observations.
9. Release resources or invoke bounded recovery on completion/failure.
STOP on terminal workload state, explicit cancellation, or cycle/time budget.
9. FLOW DIAGRAM
[Compute Inventory] → [Type / Provenance Validation]
↓
[Capacity + Policy Boundaries] ← [Workload Requirements]
↓
[Feasible Placements] → [Rank / Select] → [Atomic Reservation]
↓ ↓
[No Valid Candidate: Explain] [Execute Workload]
↓
[Telemetry + Monitoring]
↓
[Update / Release / Recover]
↺
10. INFERENCE RULES
R1: insufficient_capacity(C,w) ⇒ not_feasible(C,w).
R2: stale_telemetry(C) ⇒ confidence(capacity_claim(C)) decreases.
R3: repeated_errors(C) ∧ threshold_defined(C) ⇒ investigate(C).
R4: policy_violation(C,w) ⇒ block_or_revoke_allocation(C,w).
R5: release_confirmed(w,C) ⇒ capacity_available(C) may increase after reconciliation.
R6: degraded(C) ⇒ candidate_placement(C,w) requires explicit degraded-mode permission.
No rule treats correlation as proof of root cause.
11. EXECUTION GUARANTEE — CONDITIONAL
Given consistent resource accounting, valid telemetry, atomic reservations and enforced authorisation, each accepted allocation respects the declared capacity and policy constraints at commit time. This does not guarantee job completion, physical uptime, performance or absence of external failures. Conflicts and unknowns produce explicit non-success states.
12. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.infrastructure.ai-compute-entity
VERSION: 1.0
LANGUAGE: en-GB
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/ai-compute-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/ai-compute-entity-ontology.html
PURPOSE: Resolve and reason over AI compute resources, allocations, constraints and telemetry.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: ComputeEntity; ResourceCapacity; Workload; Scheduler; Policy; MonitoringMetric; MonitoringEvent; AuditLog.
PATHWAYS: discover>validate>filter>rank>reserve>execute>monitor>release.
MINI_RECURSION_ENGINE: iterate bounded validation, scheduling and observation updates.
INFERENCE_RULES: R1–R6 above.
CONFIDENCE: evidence-dependent; unknown when observations or provenance are absent.
SEMANTIC_EQUIVALENCE: compute node ≈ processing resource only when scope and type agree.
FLOW_HASH: calculate SHA-256 over the published canonical TXT when deployed; not pre-assigned.
UPDATE_MODEL: versioned revisions; preserve audit provenance and cite source changes.
13. HOW TO READ
A named entity denotes a typed object, an arrow denotes a relationship or transition, and ⇒ denotes a conditional inference. Capacity feasibility is a necessary but not sufficient condition for successful execution. All numeric comparisons require matching units and timestamps.
14. IMPLEMENTATION NOTES
Use typed resource units, monotonic event IDs, reservation transaction IDs, workload ownership, access controls and reconciliation after crashes. Keep planned allocations separate from measured utilisation. Preserve raw monitoring records for auditability according to retention policy.
END OF FLOW
Download Code
Copy to Clipboard