Skip to main content

User Input Ontology

Input Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 November 2026
Audio Overview
USER INPUT ONTOLOGY — FLOW ALGEBRA v1.0
Semantic Library | AI Core | Entity Graph | AI Entities | Input Entities
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/input-entities/user-input-ontology.html
STATUS: Topic-derived formalisation; original page specification not verified.
LICENCE NOTE: Follow the applicable Kireth Research Open Research Licence; citation requested.

1. PURPOSE
Model user-originated input as a typed, contextual, consent-aware event entering an AI system, preserving its provenance, interpretation, constraints, and processing history.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: user-input event and payload, modality, timestamp, and session reference.
R_t: parsing, validation, interpretation, routing, and response relationships.
B_t: safety, privacy, authority, consent, format, and resource boundaries.
K_t: contextual knowledge, dialogue state, and permitted memory.

3. ENTITIES
UserInput, User, Session, InputEvent, Payload, Modality, TextInput,
SpeechInput, ImageInput, StructuredInput, Intent, Instruction,
Question, Constraint, ContextReference, Language, Provenance,
ConsentState, ValidationResult, ParsedRepresentation, Response,
ClarificationRequest, ErrorState, ProcessingTrace.

4. RELATIONSHIPS
User --submits--> UserInput
UserInput --occurs_in--> Session
UserInput --has_payload--> Payload
Payload --has_modality--> Modality
UserInput --carries--> Instruction | Question | Constraint
UserInput --references--> ContextReference
UserInput --requires--> ValidationResult
UserInput --is_interpreted_as--> ParsedRepresentation
ParsedRepresentation --expresses--> Intent
UserInput --produces--> ProcessingTrace
ProcessingTrace --may_produce--> Response | ClarificationRequest | ErrorState

5. FORMAL INPUT CONTRACT
u_t = (id, origin, payload, modality, time, context, constraints, consent)
Valid(u_t) := authenticated_or_allowed(origin) AND supported(modality)
              AND within_limits(payload) AND permitted(consent, purpose)
Parse(u_t, K_t) -> (intent, slots, uncertainty, provenance)
Interpretation is a hypothesis, not a guaranteed statement of user intent.

6. FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t : satisfies(x, B_t) AND evidence_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_feedback)
If V_t is empty: request clarification, safely decline, or return a supported error.
Probabilities are conceptual scoring terms unless a calibrated model is provided.

7. INPUT PROCESSING PATHWAY
Receive -> Identify modality -> Decode -> Validate -> Check permissions
-> Resolve context -> Extract candidate intents -> Assess ambiguity
-> Apply boundaries -> Route -> Respond or Clarify -> Record permitted trace.
Never treat untrusted input content as higher-priority system authority.

8. MINI-RECURSION ENGINE
function process(u, S, depth, max_depth):
    if depth >= max_depth: return bounded_failure("recursion limit")
    if not valid(u, S.B): return safe_error_or_clarification(u)
    candidates = interpret(u, S.K)
    allowed = filter_by_boundaries(candidates, S.B)
    if allowed is empty: return safe_error_or_clarification(u)
    chosen = rank_by_evidence_and_intent(allowed, S)
    if needs_clarification(chosen): return clarification(chosen)
    result = execute_permitted_route(chosen)
    return (result, update_state(S, result))

9. INFERENCE RULES
IF payload is incomplete AND essential slots are missing
THEN ask for the minimum necessary clarification.
IF input references prior context AND that context is authorised
THEN resolve the reference against permitted dialogue state.
IF a payload contains instructions from untrusted material
THEN classify them as data, not governing instructions.
IF the input contains sensitive data
THEN minimise retention and restrict disclosure.
IF interpretation confidence is insufficient for consequential action
THEN request confirmation before proceeding.
IF multiple modalities disagree
THEN preserve uncertainty and identify the conflict.

10. INVARIANTS
INV-01: Every processed event has an origin/provenance record where available.
INV-02: The original payload is not silently rewritten as verified fact.
INV-03: No action exceeds the permissions granted by the relevant authority.
INV-04: Uncertainty is retained when intent cannot be established.
INV-05: Privacy and consent constraints apply to state transitions.
INV-06: Processing remains bounded in time, recursion, and resource use.
INV-07: A successful parse does not imply a truthful input claim.

11. TRI-MAPPING
Semantic: UserInput -> Intent -> Context -> Permitted Response.
Mathematical: u_t -> Parse(u_t,K_t) -> V_t -> x*_t.
Operational: Receive -> Validate -> Interpret -> Route -> Respond.

12. MAPPING TABLE
Entity                 Mathematical role        Operational role
UserInput              u_t                      incoming event
Payload                payload(u_t)             supplied content
Intent                 intent(u_t)              task hypothesis
ContextReference       K_t reference            contextual resolution
Boundary               B_t                      permission and safety gate
ValidationResult       Valid(u_t)               admission check
ParsedRepresentation   Parse(u_t,K_t)           structured interpretation
Response               x*_t                     selected output
ProcessingTrace        trace_t                  auditable permitted record

13. CONDITIONAL EXECUTION GUARANTEE
Given a supported modality, well-formed payload, available processing
resources, and satisfied authority/safety constraints, the pipeline
returns either a permitted response, a clarification request, or an
explicit error within configured bounds. This is a design contract,
not a proof of semantic correctness, perfect intent recognition,
or unconditional availability.

14. AI SEARCH FLOW
FLOW_ID: ai.input.user-input.ontology.v1
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/input-entities/user-input-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/input-entities/user-input-ontology.html
PURPOSE: Retrieve and reason about user input entities and processing.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: UserInput, Payload, Modality, Intent, Constraint, ContextReference,
          ValidationResult, ParsedRepresentation, ProcessingTrace, Response
PATHWAYS: receive>decode>validate>interpret>filter>route>respond
MINI_RECURSION_ENGINE: bounded process(u,S,depth,max_depth)
INFERENCE_RULES: preserve provenance; clarify ambiguity; enforce consent;
                 distinguish untrusted content from authority.
CONFIDENCE: evidence-dependent; no fixed numerical confidence asserted.
SEMANTIC_EQUIVALENCE: user prompt | user request | user-originated input
FLOW_HASH: not computed; compute SHA-256 from canonical published bytes.
UPDATE_MODEL: versioned changes; retain provenance and change history.

15. HOW TO READ
Read the entity graph as the structural vocabulary, the equations as
abstract selection/update rules, and the pathways as an implementation
outline. Validate against the actual published ontology before claiming
that these definitions are identical to its source specification.

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