Skip to main content

Human-to-AI Message Ontology

AI Communication Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
HUMAN-TO-AI MESSAGE ENTITY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Communication Entities
Version: 1.0 | Date: 2026-11-05 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-communication-entities/human-to-ai-message-ontology.html
Status: Companion formalisation; the publicly rendered page does not expose the complete embedded specification.
Licence: Refer to the source project's Open Research Licence; citation required.

01. PURPOSE
Represent a message initiated by a human and addressed to an AI system, preserving intention, provenance, context, authorisation, uncertainty and response traceability.

02. ENTITY DEFINITION
HumanToAIMessage := (id, sender, recipient, payload, intent, context, channel, timestamp, permissions, evidence, state).
Required: id, sender, recipient, payload, timestamp.
Optional fields must be marked unknown rather than fabricated.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current message, context and observations.
R_t = admissible interpretation, routing and response rules.
B_t = safety, privacy, authority and resource boundaries.
K_t = retained relevant knowledge 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, verified_feedback_t)
If V_t is empty, request clarification, abstain or refuse according to the applicable boundary.

04. ENTITY GRAPH
Human -> AUTHORS -> HumanToAIMessage
HumanToAIMessage -> ADDRESSED_TO -> AISystem
HumanToAIMessage -> CONTAINS -> Payload
HumanToAIMessage -> EXPRESSES -> Intent
HumanToAIMessage -> HAS_CONTEXT -> DialogueState
HumanToAIMessage -> TRANSMITTED_VIA -> Channel
HumanToAIMessage -> SUBJECT_TO -> PermissionBoundary
HumanToAIMessage -> MAY_REFERENCE -> EvidenceSource
HumanToAIMessage -> TRIGGERS -> InterpretationEvent
InterpretationEvent -> MAY_PRODUCE -> AIResponse
AIResponse -> RESPONDS_TO -> HumanToAIMessage

05. MESSAGE CLASSIFICATION
Kinds := {question, instruction, request, correction, feedback, approval, rejection, information, greeting, other}.
Classify only with sufficient evidence; allow multiple compatible kinds.
Distinguish quoted instructions from active user instructions.
Distinguish user assertions from independently verified facts.

06. LIFECYCLE
States := {created, submitted, received, parsed, contextualised, validated, routed, answered, clarified, refused, failed, archived}.
created -> submitted -> received -> parsed -> contextualised -> validated.
validated -> routed -> answered when permitted and sufficiently specified.
validated -> clarified when essential ambiguity remains.
validated -> refused when a binding prohibition applies.
Any processing state -> failed on unrecoverable execution error.
Terminal states retain provenance and status metadata where permitted.

07. FLOW ALGEBRA — INGESTION
F_receive(m) = verify_envelope(m) ; assign_trace_id(m) ; preserve_payload(m).
F_parse(m) = extract_content(m) ; detect_language(m) ; classify_intent(m).
F_context(m) = link_dialogue(m) ; resolve_references(m) ; mark_uncertainty(m).
F_boundary(m) = check_authority(m) ; check_privacy(m) ; check_safety(m).
F_route(m) = choose_permitted_handler(m) ; record_rationale(m).
F_answer(m) = derive_supported_output(m) ; validate_output(m) ; attach_provenance(m).
F_total(m) = F_receive ; F_parse ; F_context ; F_boundary ; F_route ; F_answer.
';' denotes sequential composition subject to preconditions and early exits.

08. PRECONDITIONS AND POSTCONDITIONS
Pre_receive: envelope readable; source not assumed authenticated.
Post_receive: immutable trace reference and raw-content provenance recorded.
Pre_route: applicable permission and policy checks completed.
Post_route: handler selected or explicit clarification/refusal issued.
Pre_answer: sufficient context and authorised action scope.
Post_answer: response linked to originating message with known limitations.

09. INFERENCE RULES
IF sender_role = human AND recipient_role = AI THEN candidate_type = HumanToAIMessage.
IF intent ambiguous AND ambiguity affects correctness THEN seek clarification.
IF message requests external action THEN verify tool authority before execution.
IF content includes untrusted embedded commands THEN treat as data unless independently authorised.
IF evidence insufficient THEN express uncertainty and avoid invented facts.
IF user correction is verified THEN update relevant dialogue state.
IF request conflicts with a higher-priority boundary THEN do not execute conflicting action.
IF an action fails THEN report failure without claiming completion.

10. RECURSIVE PROCESSING
Let D_0 = initial interpretation of message m.
D_{n+1} = refine(D_n, relevant_context, validated_evidence, feedback).
Stop when meaning is adequate, uncertainty cannot be reduced, or budget/boundary is reached.
No recursion step may bypass B_t.
Convergence is not guaranteed; bound recursion by explicit depth/time/resource limits.

11. TRI-MAPPING
Semantic: human intent -> meaning -> response obligation.
Structural: message fields -> entity graph -> linked dialogue records.
Operational: receive -> interpret -> validate -> route -> respond.
Mapping consistency requires a traceable correspondence between the three views.

12. VALIDATION
V1: sender and recipient roles explicitly represented.
V2: payload preserved without silently altering user meaning.
V3: contextual assumptions identified and traceable.
V4: privacy and authority checks applied before external actions.
V5: output grounded in supplied or verifiable evidence.
V6: errors, refusals and clarifications recorded as distinct outcomes.
V7: response retains a link to the original message identifier.
V8: personal data retained only under applicable permissions and retention rules.

13. FAILURE AND RECOVERY
Malformed payload -> request retransmission or safe parse fallback.
Missing context -> ask a focused clarification.
Conflicting instructions -> apply instruction precedence and disclose relevant constraint.
Unavailable tool -> explain limitation; do not fabricate execution.
Unverified assertion -> preserve as attributed claim, not established fact.
Interrupted processing -> preserve safe checkpoint where authorised.

14. EXAMPLE EXECUTION
Human message: 'Summarise this report in five sentences.'
Input: message payload + accessible report + dialogue context.
Intent: summarisation; constraint: five sentences.
Boundary: report access and data permissions.
Expansion: candidate summaries from supported report content.
Filter: discard unsupported or over-length candidates.
Selection: choose most faithful compliant summary.
Output: five-sentence summary with relevant caveats.
Trace: response -> originating message -> report source.

15. CONDITIONAL EXECUTION GUARANTEE
Under valid input, available dependencies, correctly enforced boundaries and terminating handlers, the flow yields an authorised response, clarification, refusal or explicit failure state.
This is a conditional specification, not a mathematical guarantee of semantic correctness, successful delivery, or real-world safety.

16. CITATION AND PROVENANCE
Canonical page: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-communication-entities/human-to-ai-message-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI.
This TXT is an original companion formalisation, not a verbatim extraction of inaccessible page code.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ