Skip to main content

Computational Process Ontology

Process Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
COMPUTATIONAL PROCESS ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Process Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/process-entities/computational-process-ontology-2.html
Prepared: 11 November 2026
Status: Constructed, topic-specific Flow Algebra mapping; not a verified transcription of webpage content.

1. PURPOSE
Represent a computational process as an executing programme instance with an identity, address space, resources, execution context, lifecycle, and observable transitions. Distinguish the process from its executable image, constituent threads, and operating-system scheduler.

2. HST STATE MODEL AND FLOW
S_t = (I_t, R_t, B_t, K_t)
I_t: current process facts, including PID, parent, image, state, threads, open handles and metrics.
R_t: transition and relationship rules.
B_t: constraints on permissions, resource budgets, scheduling, and lifecycle.
K_t: known environment, runtime, policies, and observations.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_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))
The scoring expression is a modelling choice; operating-system execution is not necessarily probabilistic.

3. ENTITY MODEL
ComputationalProcess: process_id, parent_id?, executable_reference, owner, state, start_time, exit_status?, address_space, credentials, resource_limits.
Thread: thread_id, parent_process_id, instruction_pointer, stack, thread_state.
Executable: code image and launch metadata; distinct from a running process.
AddressSpace: virtual memory mappings and protections.
ResourceHandle: file, socket, pipe, device or other managed resource reference.
Scheduler: selects runnable execution contexts according to policy.
IPCChannel: permitted communication mechanism between processes.
ProcessEvent: spawn, exec, block, wake, signal, terminate, reap.

4. RELATIONSHIP GRAPH
Process --instanceOf--> Executable
Process --createdBy--> ParentProcess or SystemService
Process --contains--> Thread
Process --ownsOrReferences--> ResourceHandle
Process --uses--> AddressSpace
Process --scheduledBy--> Scheduler
Process --communicatesVia--> IPCChannel
Process --emits--> ProcessEvent
Process --subjectTo--> SecurityPolicy and ResourceLimit

5. CORE FLOWS
FLOW A — CREATE
Input: launch request, executable, arguments, credentials, environment.
Expand: check executable availability, permissions, parent context and resources.
Filter: reject disallowed or unsatisfiable launch conditions.
Select: permitted creation strategy; allocate process identity and initial context.
Output: created process or structured failure.

FLOW B — SCHEDULE
Input: ready threads, scheduler policy, available compute capacity.
Expand: eligible runnable contexts.
Filter: enforce affinity, priority, permissions and policy constraints.
Select: next eligible thread; record dispatch and pre-emption events.
Output: execution slice and updated scheduling state.

FLOW C — BLOCK AND WAKE
Input: running thread awaiting I/O, lock, timer or event.
Transition: running -> waiting; register wait condition.
On qualifying event: waiting -> ready, subject to synchronisation checks.
Output: updated process/thread state and event provenance.

FLOW D — COMMUNICATE
Input: process message, channel, intended receiver.
Validate: endpoint identity, permissions, message format, limits.
Transfer: via OS-managed IPC mechanism; preserve ordering only where guaranteed.
Output: delivery acknowledgement, pending state, or failure.

FLOW E — TERMINATE AND REAP
Input: exit request, fatal error or external termination event.
Transition: running/waiting -> terminating -> exited.
Release: reclaim resources as applicable; preserve exit metadata until collected.
Output: terminal process state, exit status and audit event.

6. INFERENCE RULES
R1: A process with at least one runnable thread may be eligible for scheduling, subject to scheduler constraints.
R2: A waiting thread cannot execute user instructions until it becomes runnable.
R3: A process may contain multiple threads sharing process-level resources while retaining thread-specific execution contexts.
R4: Process identity does not imply enduring identity across PID reuse; pair with lifetime or generation information.
R5: An exited process is not necessarily fully reaped; lifecycle semantics depend on operating system.
R6: Successful creation does not guarantee successful execution or completion.
R7: Access to another process's resources requires an authorised mechanism; shared ancestry alone does not grant access.

7. BOUNDED RECURSION ENGINE
function explore(process, depth, visited):
    if depth <= 0 or process.identity in visited: return
    visited.add(process.identity)
    validate(process.state, process.permissions, process.resources)
    emit(process.identity, process.state, process.events)
    for child in permitted_children(process):
        explore(child, depth - 1, visited)
Stop on depth, time, memory, policy, or visited-set limits. Process trees can change during observation; snapshots are not guaranteed atomic.

8. STATE TRANSITIONS AND INVARIANTS
Illustrative states: new, ready, running, waiting, stopped, terminating, exited.
Transitions are operating-system dependent and must not be treated as a universal kernel state machine.
Invariant: process identity must be scoped to its execution environment and lifetime.
Invariant: every resource access is constrained by applicable permissions and ownership semantics.
Invariant: termination cannot be inferred solely from lack of CPU activity.
Invariant: thread-level states and process-level summaries are not interchangeable.

9. SEMANTIC EQUIVALENCE
'Running process', 'programme instance' and 'OS process' may denote related concepts, but equivalence requires matching lifecycle and address-space semantics.
A container is not automatically one process; a virtual machine is not automatically a process; a service may comprise one or more processes.
Normalise process identity as (host_or_namespace, process_id, start_time_or_generation) when those attributes are available.

10. EXECUTION TRACE EXAMPLE
1. A permitted launch request names an executable and arguments.
2. Validation checks identity, permissions and resource limits.
3. The OS creates a process and its initial thread.
4. The scheduler dispatches the runnable thread.
5. The thread waits for I/O, then becomes ready after completion.
6. The process exits; the parent or supervisor collects exit information.
Each step may fail; logs should distinguish attempted, observed and confirmed transitions.

11. BOUNDARIES, GUARANTEES AND PROVENANCE
This ontology describes process behaviour abstractly; exact APIs, lifecycle states and scheduling guarantees vary across operating systems. The bounded engine guarantees termination only when its finite limits are enforced; it does not guarantee process progress, fairness, successful I/O, or complete system visibility. Treat security checks as mandatory and observed telemetry as potentially stale.
Citation: Mark Anthony Higgins and Sky Recursive AI, 'Computational Process Ontology — Flow Algebra v1.0', Kireth Research Semantic Library, 11 November 2026.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/process-entities/computational-process-ontology-2.html
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ