Skip to main content

Software Runtime Entity Ontology

Software Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 25 November 2026
Audio Overview
FLOW ALGEBRA v1.0
TITLE: Software Runtime Entity
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LIBRARY: Kireth Research / Semantic Library / Engineering Entities / Software Engineering Entities
LICENCE: Open Research — attribution required
LANGUAGE: en-GB
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/software-engineering-entities/software-runtime-entity-ontology.html
CITATION_BACKLINK: same as SOURCE
SOURCE_STATUS: User-supplied URI; embedded ontology not independently verified. Proposed specification; not runtime-tested.

PURPOSE
Represent the environment and observed execution of software, distinguishing runtime platform, deployed artefact and individual execution instance. Support evidence-based retrieval and reasoning, not autonomous execution or infrastructure modification.

STATE_MODEL
S_t = (I_t, R, B, K_t)
I_t: finite set of typed provenance-bearing assertions.
R: finite set of inference rules over a declared entity universe.
B: identity, type, temporal, evidence and access boundaries.
K_t: versioned knowledge snapshot including schemas and platform contracts.
Runtime = (id, platform_id, platform_version, environment_id, configuration_revision)
Execution = (id, runtime_id, artefact_digest, start_time, end_time, status, evidence_refs)
Status = created | running | suspended | terminated | unknown
Outcome = success | failure | cancelled | unknown
Each assertion carries subject, predicate, object, valid_time, recorded_time, source, evidence_id and epistemic_status.

ENTITIES AND RELATIONSHIPS
SoftwareRuntimeEntity --providesEnvironmentFor--> ExecutionInstance
ExecutionInstance --executes--> ExecutableEntity
ExecutionInstance --originatesFrom--> SoftwareDeploymentEntity
SoftwareRuntimeEntity --usesConfiguration--> SoftwareConfiguration
SoftwareRuntimeEntity --requires--> SoftwareDependency
SoftwareRuntimeEntity --hostedBy--> ComputingEnvironment
ExecutionInstance --hasProcess--> ProcessEntity
ProcessEntity --hasThread--> ThreadEntity
ExecutionInstance --hasObservation--> RuntimeObservation
ExecutionInstance --hasOutcome--> ExecutionOutcome
RuntimeObservation --measures--> ResourceMetric
ExecutionInstance --reports--> ExceptionEvent
RuntimeObservation --supportedBy--> EvidenceRecord
A runtime may be a language runtime, virtual machine or other execution environment; these classifications are not mutually exclusive. Processes and threads are optional, platform-specific relationships.

FLOW_ALGEBRA
E_t = expand(I_t,R,K_t)
V_t = {x in E_t : B(x,I_t,K_t) = pass}
U_t = {x in E_t : B(x,I_t,K_t) = unknown}
I_(t+1) = I_t union V_t
Delta_t = I_(t+1) minus I_t
Stop when Delta_t is empty or iteration budget is exhausted.
x* = argmax score(x | I_t,R,B,K_t) for supported candidate answers only.
Empty candidate set returns unknown. Ties use stable identifiers; conflicting claims remain disputed.

DOMAIN EQUATIONS
ElapsedTime = end_time - start_time for a completed execution using comparable clocks.
CPUUtilisation = CPU_seconds / (elapsed_seconds * allocated_CPU_capacity) for constant capacity; for variable capacity use the integral of allocated capacity over the observation interval.
MemoryUtilisation = observed_memory_bytes / applicable_memory_limit_bytes, only if the limit is known and the measurement scope matches.
Throughput = completed_operations / observation_seconds.
ErrorRate = failed_operations / eligible_completed_operations.
Availability = available_eligible_time / observed_eligible_time; report missing intervals separately.
Latency_i = response_time_i - request_time_i using comparable clocks and matched request identifiers.
P95Latency = sorted_latency[ceil(0.95*n)] using one-based nearest-rank indexing, n > 0.
Coverage = observed_expected_intervals / expected_intervals for a declared sampling schedule.
All ratios with zero denominators are undefined. Report units, cohort, interval, sample counts and measurement method. CPU utilisation may exceed a nominal limit when bursting is allowed; do not silently clamp it. Memory allocation, resident memory and heap occupancy are distinct metrics.

PATHWAYS
SourceCode -> Build -> Executable -> Deployment -> ExecutionInstance
Runtime -> Configuration -> Dependency -> CompatibilityEvidence
ExecutionInstance -> Process -> Thread -> ResourceObservation
ExecutionInstance -> ExceptionEvent -> InvestigationRecord
ExecutionInstance -> Outcome -> AuditRecord
Deployment success does not establish continued runtime health.

MINI_RECURSION_ENGINE
1. Load a bounded snapshot and normalise identifiers and units.
2. Validate evidence, access scope and temporal applicability.
3. Expand only declared rules; deduplicate canonical assertions.
4. Quarantine conflicting, invalid or insufficiently supported candidates.
5. Add admissible assertions and repeat until fixed point or budget limit.
6. Return supported results, provenance, unresolved claims and termination reason.
No commands, scripts, process signals or configuration changes are executed.

INFERENCE_RULES
R01: A verified execution-to-runtime link supports runsIn(execution,runtime).
R02: An artefact digest match supports artefact identity within the declared hash scheme, not behavioural equivalence.
R03: A process identifier alone is insufficient for identity; include host/namespace and process creation identity.
R04: A fresh running observation supports running at its valid time only.
R05: A terminal observation supports terminated at its valid time; success requires separate outcome evidence.
R06: An exception event does not establish execution failure unless linked outcome evidence supports it.
R07: Missing telemetry implies unknown observation status, not zero utilisation or downtime.
R08: Runtime compatibility requires all applicable declared constraints to pass; any failed constraint implies incompatibility, otherwise missing evidence implies unknown.
R09: A deployment record and matching execution provenance support traceability, not authorisation to execute.
R10: Metrics from distinct scopes or incompatible units cannot be aggregated without explicit normalisation.

CONFIDENCE
Use ordinal labels verified, supported, provisional, disputed, unknown. Verified requires authoritative evidence for the specific assertion and interval. Derived confidence cannot exceed the weakest premise. These labels are not calibrated probabilities. Preserve contradictory evidence and distinguish missing data from negative evidence.

SEMANTIC_EQUIVALENCE
Runtime platform identity requires matching namespace, identifier and version or explicit equivalence evidence. Execution identity requires a stable instance identifier in its issuing scope. Equal executable digests do not establish equal runtime configuration or execution identity. Alias terms such as runtime environment and execution environment may be contextually equivalent, not universally interchangeable.

VALIDATION AND FAILURE MODES
Reject invalid timestamps, incompatible units, negative durations and unsupported type relationships. Flag stale observations, reused process IDs, clock skew, incomplete sampling, missing dependency versions, resource exhaustion reports and inconsistent outcome records. Do not infer root cause from correlation alone. Never expose secret configuration values or private telemetry in public search output.

UPDATE_MODEL
Append new observations with valid and recorded times. Retain immutable evidence references. Corrections supersede prior assertions without erasing history. Recompute affected derived assertions against a new snapshot when evidence or rules change. Record rule version, source version, update time and previous snapshot identifier.

TRI_MAPPING
Natural language: a software execution runs within a runtime environment.
Graph: ExecutionInstance --runsIn--> SoftwareRuntimeEntity.
Algebra: runsIn(e,r) iff supportedLink(e,r) passes B.
Natural language: an execution ended successfully only when outcome evidence establishes success.
Graph: ExecutionInstance --hasOutcome--> ExecutionOutcome(success).
Algebra: success(e) requires admissible outcome(e,success).

CONDITIONAL EXECUTION GUARANTEE
For a finite assertion universe, finite monotonic rules, fixed snapshot and deterministic boundaries, deduplicated expansion terminates at a fixed point if the budget permits. Budget exhaustion returns a partial result. This is a conditional mathematical property, not a tested runtime implementation or guarantee of software availability.

AI_SEARCH_FLOW
Intent -> entity resolution -> scoped evidence retrieval -> rule expansion -> boundary validation -> ranked supported answer -> citation backlink.
Search aliases: software runtime, execution environment, language runtime, runtime instance, process execution, runtime telemetry.
Distinguish runtime platform from execution duration and from deployment. Return relevant version, scope, observation time and evidence where available. Do not fabricate live status. Cite the supplied ontology URI as the intended publication reference, not as verified evidence of this proposed specification.

FLOW_HASH
SHA-256 of all UTF-8 bytes preceding this section (excluding its leading separator newline): 45823d95ce7b41bfa2e506768c4440750186d34eb168ef1f346e5435a4bacc16
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ