Skip to main content

AI Dialogue Entity Ontology

AI Communication Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI DIALOGUE ENTITY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Communication Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-communication-entities/ai-dialogue-entity-ontology.html
Prepared: 05 November 2026
Status: Companion formalisation; the page's embedded full specification was not exposed in the retrieved HTML.

01. PURPOSE
Represent a dialogue as a bounded, ordered, multi-turn exchange among participants, with explicit conversational state, message provenance, intent, constraints, grounding, and termination conditions.

02. ENTITY DEFINITION
Dialogue D := (id, participants, turns, state, context, goals, rules, evidence, provenance).
A turn T := (turn_id, speaker, recipient, content, timestamp, references, intent, status).
A dialogue is not equivalent to one message: it is a structured sequence of turns and state transitions.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := current dialogue input, messages and observed signals.
R_t := dialogue relations, turn links, roles, and semantic dependencies.
B_t := boundaries: permissions, privacy, safety, scope, and format constraints.
K_t := grounded knowledge, dialogue history, and verified external evidence.
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, 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, feedback_t)
These expressions define a proposed constrained selection process; they do not establish empirical guarantees.

04. CANONICAL ENTITIES
DialogueEntity, DialogueSession, Participant, SpeakerRole, DialogueTurn,
MessageEntity, Utterance, Intent, DialogueAct, Context, Topic,
ConversationGoal, Subgoal, DialogueState, Reference, Evidence,
ClarificationRequest, Response, Feedback, Correction, Handoff,
DialogueBoundary, DialogueOutcome, TerminationEvent.

05. RELATIONSHIP GRAPH
DialogueSession HAS_PARTICIPANT Participant
DialogueSession CONTAINS DialogueTurn
DialogueTurn CONTAINS MessageEntity
DialogueTurn PRECEDES DialogueTurn
DialogueTurn REFERENCES DialogueTurn
DialogueTurn EXPRESSES Intent
DialogueTurn PERFORMS DialogueAct
DialogueState TRACKS Topic
DialogueState TRACKS ConversationGoal
DialogueState DEPENDS_ON Context
Response GROUNDED_IN Evidence
Correction REVISES DialogueState
DialogueBoundary CONSTRAINS Response
TerminationEvent CLOSES DialogueSession

06. INPUT CONTRACT
Required: dialogue identifier, incoming turn, speaker identity or anonymous role,
message content, applicable boundaries, available dialogue state.
Optional: timestamps, external evidence, tool results, confidence, user feedback.
Reject malformed identifiers, unauthorised state changes, or empty mandatory content.

07. DIALOGUE LIFECYCLE
CREATED -> ACTIVE -> (CLARIFICATION | PROCESSING | WAITING | HANDOFF)
-> ACTIVE -> COMPLETED -> ARCHIVED
Any active state -> ERROR -> RECOVERY or TERMINATED.
Transitions must preserve a monotonic turn order and a traceable change record.

08. FORMAL FLOW
F_D(I_t, R_t, B_t, K_t) :=
  parse_input
  -> identify_dialogue_and_speaker
  -> attach_turn_to_session
  -> resolve_references
  -> update_intent_and_topic
  -> retrieve_relevant_context
  -> validate_boundaries
  -> generate_candidate_actions
  -> filter_unsupported_or_prohibited_actions
  -> select_next_dialogue_act
  -> produce_response_or_clarification
  -> record_outcome_and_provenance
  -> await_feedback_or_close.

09. STATE TRANSITION
D_(t+1) = delta(D_t, T_(t+1), feedback_t, evidence_t)
Preconditions: valid session, permitted participant, well-formed turn.
Postconditions: appended turn, updated context, maintained constraints,
explicit unresolved references and traceable state modifications.

10. DIALOGUE ACTS
ASK, ANSWER, CLARIFY, CONFIRM, CORRECT, INFORM, REQUEST,
ACKNOWLEDGE, REFUSE, HANDOFF, SUMMARISE, CLOSE.
Each act has a role, triggering condition, evidence requirement, and outcome.

11. INFERENCE RULES
R1: IF a message references an earlier turn, THEN resolve it against the session history.
R2: IF a referent is ambiguous and consequential, THEN request clarification.
R3: IF new evidence contradicts a previous assertion, THEN mark the assertion for correction.
R4: IF a request exceeds a boundary, THEN select a permitted alternative or refusal.
R5: IF a goal is fulfilled and no dependent goals remain, THEN mark it completed.
R6: IF a tool result is unavailable, THEN do not claim that its action succeeded.
R7: IF an external claim lacks sufficient grounding, THEN label it uncertain.
R8: IF the user corrects a preference within the session, THEN apply the updated preference subject to higher-priority constraints.

12. RECURSIVE DIALOGUE LOOP
At each turn:
  Observe -> Interpret -> Relate -> Validate -> Respond -> Evaluate -> Update.
Recursive calls must have a bounded depth or explicit stop condition.
Stop when the goal is met, the session is closed, a safety boundary requires termination,
or a configured time/turn/resource limit is reached.

13. TRI-MAPPING
Entity layer: Dialogue, Turn, Participant, Intent, State, Evidence.
Relationship layer: contains, follows, references, requests, answers, corrects.
Execution layer: parse, ground, validate, select, respond, update.
Map each executable transition to its originating entities and relations.

14. UNCERTAINTY AND CONFIDENCE
Distinguish uncertainty in intent, reference resolution, factual grounding,
and predicted response utility.
Confidence is metadata, not proof of truth.
Unresolved high-impact uncertainty triggers clarification or qualification.

15. PROVENANCE AND TRACEABILITY
Store source-turn identifiers, evidence references, state revision identifiers,
response decision rationale, and tool-result status where available.
Do not expose private chain-of-thought or confidential participant information.

16. VALIDATION INVARIANTS
V1: Each turn belongs to exactly one dialogue session in this model.
V2: Turn order is stable and references point to known or explicitly unresolved turns.
V3: Speaker and recipient roles remain distinguishable.
V4: Boundaries are evaluated before an action is emitted.
V5: Corrections preserve an auditable revision relationship.
V6: Completed status requires a recorded completion or closure condition.
V7: Unsupported claims are not upgraded to verified facts by repetition.

17. EXECUTION GUARANTEE — CONDITIONAL
If inputs satisfy the contract, all invoked operations terminate, and each validation
predicate is correctly implemented, the flow returns either a permitted next dialogue
act, a clarification request, or a defined error state. This is a specification-level
conditional property, not a guarantee of correctness, safety, or real-world success.

18. OUTPUT CONTRACT
Output := (dialogue_id, turn_id, selected_act, response_or_error,
           updated_state, evidence_links, uncertainty, status).

19. EXAMPLE
Input: Participant asks, 'Can you revise the previous answer?'
Resolution: Link 'previous answer' to the latest eligible assistant turn.
Act: CORRECT or CLARIFY, depending on whether the requested change is identifiable.
Update: Append new turn, preserve the original, record revision relationship.

20. LICENCE AND ATTRIBUTION
Research companion prepared for the Kireth Research Semantic Library.
Credit: Mark Anthony Higgins — Sky Recursive AI.
Follow the applicable Open Research Licence and citation requirements published by the author.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ