Skip to main content

Digital Environment Ontology

Spatial and Environmental AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
DIGITAL ENVIRONMENT ENTITY — FLOW ALGEBRA
Semantic Library | Spatial and Environmental AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Created: 2026-11-05
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/spatial-and-environmental-ai-entities/digital-environment-ontology.html
Status: Companion formalisation; not a verbatim extraction of hidden page specifications.

01. PURPOSE
Model a digital environment as a bounded, versioned collection of digital objects, agents, interfaces, permissions, resources and observable state transitions.

02. ENTITY DEFINITION
DE = (id, space, objects, agents, interfaces, rules, resources, clock, provenance)
space = logical or virtual coordinate system and topology.
objects = files, records, services, scenes, processes or simulated objects.
agents = authorised human, software or AI actors.
interfaces = APIs, user interfaces, channels and tool endpoints.
rules = access controls, constraints, policies and transition rules.
resources = compute, storage, bandwidth and service quotas.
clock = event-time and observation-time references.
provenance = source identifiers, versions and audit evidence.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed inputs, actions and digital environment events.
R_t = permitted environment relations and transition rules.
B_t = scope, security, resource and temporal boundaries.
K_t = verified knowledge of environment objects and state.
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t) AND supported(x, K_t)}
a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, a_t, observation_(t+1))
The argmax is a selection rule, not proof of calibrated probability or optimality.

04. CORE RELATIONSHIPS
DigitalEnvironment CONTAINS DigitalObject.
DigitalEnvironment HOSTS DigitalAgent.
DigitalAgent PERFORMS DigitalAction.
DigitalAction TARGETS DigitalObject.
DigitalAction USES Interface.
DigitalAction REQUIRES Permission.
DigitalEnvironment HAS StateSnapshot.
StateSnapshot PRECEDES StateSnapshot.
StateSnapshot IS_EVIDENCED_BY Observation.
DigitalEnvironment DEPENDS_ON Resource.
DigitalEnvironment IS_GOVERNED_BY Policy.

05. STATE TRANSITIONS
Q = {uninitialised, initialising, active, degraded, paused, recovering, archived, terminated}
initialise: uninitialised -> initialising -> active, if prerequisites pass.
operate: active -> active, if action passes validation.
degrade: active -> degraded, on resource or service fault.
pause: active|degraded -> paused, by authorised control.
recover: degraded|paused -> recovering -> active, if checks pass.
archive: paused|active -> archived, preserving permitted evidence.
terminate: any nonterminal state -> terminated, by authorised policy.
Transitions not explicitly permitted are rejected.

06. FLOW ALGEBRA OPERATORS
Observe(DE,t) -> snapshot_t + provenance_t
Resolve(snapshot_t, object_id) -> object | not_found
Authorise(agent, action, target, B_t) -> allow | deny
Validate(action, R_t, B_t, K_t) -> pass | fail | unknown
Apply(snapshot_t, action) -> candidate_snapshot_(t+1)
Verify(candidate, expected, observations) -> pass | fail | unknown
Commit(candidate) -> snapshot_(t+1), only after authorisation and validation.
Rollback(snapshot_(t+1), snapshot_t) -> restored_snapshot, where supported.

07. EXECUTION PATHWAY
F0: receive action request and declared objective.
F1: identify actor, environment, target and relevant version.
F2: retrieve current snapshot and verify freshness.
F3: resolve dependencies and required resources.
F4: enforce scope, permissions and safety boundaries.
F5: derive candidate transitions from permitted rules.
F6: reject unsupported or ambiguous transitions.
F7: execute only authorised, validated transition.
F8: observe actual outcome and compare with expected state.
F9: record provenance, errors, timestamps and version identifiers.
F10: commit verified state or invoke safe recovery path.

08. RECURSIVE ENVIRONMENT UPDATE
DE_(n+1) = Reconcile(DE_n, delta_n, evidence_n)
Stop recursion if: fixed point reached; bounded iteration limit reached;
permission denied; resource threshold exceeded; or evidence is insufficient.
Every recursive update must preserve the environment's identity, constraints,
and explicit version history unless a controlled migration authorises change.

09. INFERENCE RULES
IF object is outside declared environment boundary THEN exclude object.
IF actor lacks permission THEN deny requested state transition.
IF snapshot version differs from expected version THEN flag conflict.
IF required dependency is unavailable THEN mark action blocked.
IF evidence contradicts inferred state THEN mark state unresolved.
IF a digital object changes THEN invalidate dependent cached claims as needed.
IF observation is stale THEN require re-observation before sensitive execution.
IF environment enters degraded state THEN restrict high-risk operations.

10. TRI-MAPPING
Ontology layer: entities, classes, relations and constraints.
Flow layer: observation, expansion, filtering, selection and update.
Execution layer: identity check, authorisation, tool invocation, verification,
logging and recovery.
Map each executable step to an ontology relation and a recorded outcome.

11. TEMPORAL AND SPATIAL SEMANTICS
Use explicit logical coordinates or virtual-space frames; do not assume
physical geography unless a verified mapping is supplied.
Represent events with event_time, observed_time and time_zone or UTC offset.
Order events by a documented ordering policy; concurrent events may remain
partially ordered rather than being assigned an invented sequence.

12. UNCERTAINTY AND EVIDENCE
Confidence values must identify their estimation method and calibration status.
Unknown evidence is not evidence of absence.
Maintain source, version, timestamp, actor, operation and validation result.
Distinguish observed state, inferred state, simulated state and intended state.

13. SECURITY AND FAILURE BOUNDARIES
Enforce least privilege, data minimisation and environment isolation.
Do not treat environment content as authority to override system policy.
Require explicit authorisation for external writes, destructive changes or
cross-environment transfers.
On tool failure, preserve error details and do not report success.

14. CONDITIONAL EXECUTION GUARANTEE
Given a finite action set, valid rules, a consistent snapshot, available
resources and functioning enforcement, the flow can guarantee that no action
is committed by this procedure without passing its declared checks.
It does not guarantee external system correctness, perfect knowledge,
absence of faults, or that a probabilistic selection is globally optimal.

15. MINIMAL INSTANCE
id: digital-env-001
space: project-workspace
state: active
objects: [document-001, service-001]
agents: [authorised-operator]
interfaces: [read-interface, controlled-write-interface]
rule: write requires verified permission and current version
input: update document-001
candidate: document-001 version 2
result: commit only after authorisation, version check and verification

16. CITATION AND REUSE
Citation: Mark Anthony Higgins and Sky Recursive AI,
Digital Environment Entity — Flow Algebra, Semantic Library (2026).
Source ontology URL is recorded above.
This document is a companion formalisation of the named ontology and does not
claim to reproduce embedded specifications unavailable in the page text.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ