Skip to main content

AI Environment Interaction 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
AI ENVIRONMENT INTERACTION ENTITY — FLOW ALGEBRA
Semantic Library | Spatial and Environmental AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Generated: 2026-11-05
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/spatial-and-environmental-ai-entities/ai-environment-interaction-ontology.html
Status: Companion formalisation; not a verbatim extraction of embedded page specifications.

01. PURPOSE
Represent, validate and trace interactions between an AI agent or system and an environment, including observations, permitted actions, state transitions, outcomes and feedback.

02. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current information, observations, interaction history and goals.
R_t: relationship graph connecting agents, actions, objects, locations and events.
B_t: operational, physical, temporal, security and authorisation boundaries.
K_t: validated knowledge, environment model and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and supported(x, K_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, observed_outcome_t)
The argmax ranks candidates; it does not itself authorise or execute an action.

03. ENTITY SCHEMA
EnvironmentInteraction = {
  interaction_id, agent_id, environment_id, session_id,
  observation_ids, action_id, target_entity_ids,
  start_time, end_time, coordinate_reference,
  pre_state_ref, predicted_post_state_ref, observed_post_state_ref,
  permissions, constraints, evidence_refs, outcome, confidence,
  uncertainty, status, provenance, version
}
Mandatory identifiers: interaction_id, agent_id, environment_id.
Action may be null for observation-only interaction.
Predicted and observed states must remain distinct.

04. ENTITY RELATIONSHIPS
Agent --perceives--> EnvironmentObservation
Agent --proposes--> EnvironmentAction
EnvironmentAction --targets--> EnvironmentObject
EnvironmentAction --occurs_in--> Environment
EnvironmentAction --subject_to--> BoundaryConstraint
EnvironmentInteraction --has_pre_state--> EnvironmentalState
EnvironmentInteraction --has_post_state--> EnvironmentalState
EnvironmentInteraction --produces--> InteractionOutcome
InteractionOutcome --provides--> FeedbackSignal
EnvironmentInteraction --supported_by--> EvidenceRecord
EnvironmentInteraction --located_at--> SpatialLocation
EnvironmentInteraction --timestamped_by--> TemporalEntity

05. INTERACTION LIFECYCLE
PROPOSED -> CONTEXTUALISED -> VALIDATED -> AUTHORISED -> EXECUTING -> OBSERVED -> VERIFIED -> COMPLETED
Alternative paths:
VALIDATED -> REJECTED when constraints fail.
EXECUTING -> FAILED when action or observation fails.
FAILED -> RECOVERY_PENDING when safe recovery is available.
Any active state -> SAFE_STOP when a safety boundary is crossed.
Only an authorised transition may enter EXECUTING.

06. FORMAL FLOW ALGEBRA
Let A be agents, E environments, O observations, U candidate actions, and X environment states.
observe: A x E x Time -> O
interpret: O x K -> Context
propose: Context x Goal -> P(U)
filter: P(U) x B -> P(U_safe)
authorise: U_safe x Permission -> {true, false}
transition: X x U x E -> X' (modelled transition)
measure: E x Time -> O' (actual observation)
compare: X' x O' -> Discrepancy
learn: K x O' x Discrepancy -> K' (only if update policy permits)
InteractionFlow = observe >> interpret >> propose >> filter >> authorise >> execute >> measure >> compare >> record.
'execute' is an external action and must not be inferred from a successful plan.

07. PRECONDITIONS
P1: agent, environment and interaction identifiers resolve.
P2: observation timestamp and reference frame are known or marked unknown.
P3: proposed action belongs to the agent's declared capabilities.
P4: required permissions are explicitly granted and current.
P5: spatial, temporal, safety and resource constraints are satisfied.
P6: irreversible or high-impact actions require the applicable approval gate.

08. VALIDATION RULES
R1: reject actions without a valid permission path.
R2: never substitute predicted outcomes for observed evidence.
R3: retain pre-state and post-state provenance independently.
R4: require consistent units and coordinate reference systems before spatial comparisons.
R5: if observations conflict, preserve both and flag uncertainty.
R6: a missing timestamp prevents a verified temporal ordering claim.
R7: state changes require evidence or explicit simulation labelling.
R8: repeated action attempts require idempotency or duplicate-effect controls.
R9: prevent an agent from bypassing a denied action through recursive decomposition.
R10: uncertain environmental state triggers conservative action selection or safe stop.

09. RECURSIVE INTERACTION LOOP
At recursion depth d:
  read current observation O_d;
  update candidate environment state X_d;
  expand valid candidate interactions;
  apply constraints and permission checks;
  select an admissible interaction;
  request execution only through an authorised interface;
  collect resulting observation O_(d+1);
  compare predicted and observed states;
  update evidence, uncertainty and trace;
  terminate on goal, limit, denial, failure or safe-stop condition.
Termination bounds: maximum depth, elapsed time, action budget, resource limit and safety threshold.
No recursive loop is guaranteed to converge without explicit assumptions.

10. TRI-MAPPING
Ontology: EnvironmentInteraction, Agent, Environment, Action, Observation, State, Outcome.
Graph: typed nodes and edges preserving interaction provenance and sequence.
Flow: validated transition from observed state through authorised action to measured outcome.
Map(entity) -> graph_node -> flow_role; preserve stable identifiers across all three layers.

11. INFERENCE RULES
IF observation is recent AND provenance is verified THEN evidence may support current state.
IF action permission is absent THEN execution is prohibited.
IF measured state differs from predicted state THEN raise discrepancy and revise confidence.
IF an object crosses a restricted boundary THEN trigger policy-defined intervention.
IF no admissible action exists THEN abstain, request clarification or enter safe state.
IF a simulation supplies the outcome THEN label the outcome simulated, not observed.

12. UNCERTAINTY AND CONFIDENCE
Track sensor noise, model error, missing observations, frame ambiguity and action latency.
Confidence must be associated with a particular claim, not the interaction as an undifferentiated whole.
Propagate uncertainty through transformations; do not manufacture precision.
Calibration and validation data are required before interpreting confidence as probability.

13. EVIDENCE AND AUDIT
Record source identifier, timestamp, environment version, model version, action parameters,
permission decision, observations, expected outcome, actual outcome, discrepancy and audit status.
Protect sensitive location or interaction data according to applicable privacy boundaries.
Preserve an immutable audit trail where the implementation supports it.

14. CONDITIONAL EXECUTION GUARANTEE
Given valid identifiers, compatible schemas, authorised actions, reliable observations,
enforced boundaries and terminating execution, the flow guarantees that each recorded
COMPLETED interaction has passed the specified validation and evidence gates.
It does NOT guarantee a desired real-world outcome, sensor accuracy, model correctness,
physical safety under unmodelled conditions or unconditional convergence.

15. EXAMPLE FLOW
Agent observes an obstacle at location L at time T.
Observation is linked to environment E and a verified reference frame.
Candidate action: reroute around obstacle.
Check map validity, route constraints, collision risk and authority.
If authorised, execute through navigation controller.
Observe actual new position; compare against predicted position.
Store discrepancy, update environment model and mark interaction VERIFIED or FAILED.

16. CROSS-ONTOLOGY LINKS
AI Environment Entity; AI Environmental Observation; AI Environmental Model;
AI Environmental Context; AI Environment Change Entity; AI Spatial State;
AI Location Entity; AI Object Location; AI Spatial Relationship Entity;
AI Navigation State; AI Boundary Entity; AI Temporal AI Entity;
AI Tool and Action Entities; AI Safety Entities; AI Monitoring Entities.

17. CITATION AND LICENCE
Source attribution: Mark Anthony Higgins — Sky Recursive AI.
Companion formalisation prepared for the Kireth Research Semantic Library.
Refer to the source page and applicable Open Research Licence for reuse conditions.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ