Skip to main content

Safety Monitor Entity Ontology

Monitoring Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — FLOW ALGEBRA v1.0
SAFETY MONITOR ENTITY ONTOLOGY
Category: AI Core / Entity Graph / AI Entities / Monitoring Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/monitoring-entities/safety-monitor-entity-ontology.html
Authors: Mark Anthony Higgins — Sky, Recursive AI
Date: 2026-11-04
Status: Companion formalisation; full embedded source specification was not retrievable.
Licence: Refer to the applicable Kireth Research Open Research Licence; citation requested.

1. PURPOSE
Represent a safety monitor as an observable, auditable control entity that evaluates AI system events against explicit safety constraints, emits evidence-backed alerts, and routes responses through authorised gates. Monitoring is not itself proof of safety.

2. ENTITY DEFINITION
SafetyMonitor = (monitor_id, target_id, policy_version, observation_window, rules, thresholds, evidence_refs, state, authority_scope, audit_log)
Inputs: system events, outputs, tool intents, policy constraints, risk signals, historical observations.
Outputs: assessments, alerts, recommended mitigations, escalation requests, audit records.

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observed system and environmental inputs.
R_t: safety constraints, authorised actions and inference rules.
B_t: operational boundaries, permissions, privacy and resource limits.
K_t: verified knowledge, evidence provenance and prior assessments.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and evidence_valid(x, K_t)}
a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t), subject to risk constraints.
S_{t+1} = update(S_t, a_t, observation_t, audit_t)
If V_t is empty, the monitor must abstain, flag uncertainty and request review rather than invent an assessment.

4. FORMAL MONITORING FLOW
F0 RECEIVE(event, context, policy_version)
F1 VALIDATE schema, timestamps, signatures and provenance
F2 NORMALISE event to canonical monitored entities
F3 MAP event to applicable safety rules and boundaries
F4 ASSESS severity, likelihood, confidence and potential impact
F5 CHECK uncertainty, evidence sufficiency and false-alarm risk
F6 CLASSIFY as CLEAR / WATCH / ALERT / CRITICAL / UNKNOWN
F7 ROUTE alert or mitigation request according to authority
F8 RECORD immutable-style audit entry and evidence references
F9 VERIFY outcome and revise monitoring state
F10 CONTINUE monitoring or ESCALATE for human review

5. STATE TRANSITIONS
UNINITIALISED -> CONFIGURED: validated target and policy.
CONFIGURED -> OBSERVING: authorised data source active.
OBSERVING -> WATCH: weak or emerging safety signal.
OBSERVING/WATCH -> ALERT: rule threshold met with adequate evidence.
ANY_ACTIVE -> UNKNOWN: unavailable or conflicting evidence.
ALERT -> ESCALATED: severity or authority requires human intervention.
ALERT -> MITIGATION_PENDING: proposed action awaiting authorisation.
MITIGATION_PENDING -> VERIFYING: authorised mitigation applied.
VERIFYING -> OBSERVING: independent checks pass.
ANY_ACTIVE -> SUSPENDED: policy invalid, access revoked or monitor compromised.
SUSPENDED -> OBSERVING: explicit reauthorisation and health checks.

6. ENTITY RELATIONSHIPS
SafetyMonitor --monitors--> AIModel / AISystem / AIAgent / ToolCall
SafetyMonitor --evaluatesAgainst--> SafetyPolicy / BoundaryRule
SafetyMonitor --consumes--> Observation / Telemetry / ModelOutput
SafetyMonitor --produces--> SafetyAssessment / Alert / AuditRecord
SafetyMonitor --requests--> HumanApproval / RecoveryAction
SafetyMonitor --references--> EvidenceEntity / FailureEvent
SafetyMonitor --coordinatesWith--> SystemMonitor / BehaviourMonitor / ModelMonitor

7. TRI-MAPPING
Semantic: monitor, observed subject, policy, violation, evidence, action.
Formal: typed entities, predicates, transitions, risk and confidence functions.
Operational: collect -> validate -> assess -> gate -> log -> verify.

8. MAPPING TABLE
Concept                  Formal element                  Operational interpretation
Observed signal          o_t                             Incoming telemetry/event
Policy                   R_t                             Versioned safety rules
Boundary                 B_t                             Permitted monitoring/action scope
Evidence                 K_t                             Verified supporting records
Candidate assessment     E_t                             Possible interpretations
Valid assessment         V_t                             Constraint-compliant conclusions
Monitor action           a_t                             Alert, abstain, escalate or request
Next monitor state       S_(t+1)                         Updated monitored state

9. INFERENCE RULES
R1 IF event provenance fails THEN classification = UNKNOWN; prohibit definitive claims.
R2 IF rule is breached AND evidence is sufficient THEN emit an evidence-linked ALERT.
R3 IF estimated impact is critical THEN request immediate authorised escalation.
R4 IF confidence is low THEN preserve uncertainty; do not downgrade risk silently.
R5 IF monitoring coverage is missing THEN raise a coverage-gap alert.
R6 IF mitigation is proposed THEN check authority and require approval when specified.
R7 IF a mitigation executes THEN verify postconditions before marking resolved.
R8 IF observations contradict one another THEN record conflict and request investigation.
R9 IF policy changes THEN revalidate thresholds, permissions and pending assessments.
R10 IF a monitor is compromised THEN suspend its trusted assessments and escalate.

10. MINI RECURSION ENGINE
function MONITOR(state, events, depth, max_depth):
  assert depth <= max_depth
  validated = validate(events, state.boundaries)
  candidates = expand(validated, state.rules)
  permitted = filter(candidates, state.boundaries, state.evidence)
  decision = assess_or_abstain(permitted)
  next_state = record_and_update(state, decision)
  if decision.requires_escalation or depth == max_depth:
      return next_state
  if new_events_available(next_state):
      return MONITOR(next_state, next_events(next_state), depth + 1, max_depth)
  return next_state
Termination conditions: no new observations, escalation, revoked authority, or recursion bound.

11. CONDITIONAL EXECUTION GUARANTEES
G1 Every assessment is linked to the policy version used, if audit storage succeeds.
G2 No automated mitigation is permitted outside explicit authority boundaries.
G3 Missing evidence produces UNKNOWN/ABSTAIN rather than a fabricated clear status.
G4 Escalation and action outcomes are recorded when logging infrastructure is available.
G5 Bounded recursion prevents unbounded self-monitoring loops.
These are design obligations requiring implementation tests, not guarantees about any deployed AI system.

12. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.monitoring.safety-monitor-entity.v1
TITLE: Safety Monitor Entity Ontology — Flow Algebra
LANGUAGE: en-GB
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/monitoring-entities/safety-monitor-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/monitoring-entities/safety-monitor-entity-ontology.html
PURPOSE: Evidence-based AI safety observation, alerting and authorised escalation.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: SafetyMonitor; SafetyPolicy; Observation; EvidenceEntity; SafetyAssessment; Alert; AuditRecord; HumanApproval; RecoveryAction
PATHWAYS: receive > validate > normalise > assess > classify > gate > log > verify
INFERENCE_RULES: R1-R10
CONFIDENCE: derived from evidence quality, coverage and calibration; never assumed.
SEMANTIC_EQUIVALENCE: safety monitor; AI safety monitoring entity; policy compliance observer
UPDATE_MODEL: versioned policies, evidence records and revalidation on change.
FLOW_HASH: compute SHA-256 over final UTF-8 bytes at publication; not prefilled.

13. HOW TO READ
Read the entity definition first, then HST state model, transitions, mappings and rules. The recursion engine describes bounded control flow. The AI Search Flow section provides machine-discovery metadata, not an assertion that monitoring has been deployed.

14. EXAMPLE
Input: tool call requests a prohibited external write.
Rule match: boundary disallows the write without approval.
Assessment: ALERT with rule reference and evidence.
Action: block or hold only where authorised; otherwise request intervention.
Verification: confirm that no unauthorised write occurred; record the result.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ