Skip to main content

Conversation Entity Ontology

Human–AI Interaction Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
CONVERSATION ENTITY ONTOLOGY — FLOW ALGEBRA v1.0
Semantic Library / AI Core / Entity Graph / Human–AI Interaction Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/human-ai-interaction-entities/conversation-entity-ontology.html
Source page revised: 01 August 2026
Prepared: 04 November 2026
Status: Companion formalisation; not a verbatim extraction of hidden page specifications.
Licence: Open research use; attribution and source citation requested.

1. PURPOSE
Represent a conversation as an ordered, bounded, multi-party exchange of messages, actions, interpretations and feedback, retaining provenance, turn order, permissions and context continuity.

2. ENTITY DEFINITION
Conversation C = (ID, P, T, M, X, G, B, K, R, Q)
ID = stable conversation identifier
P = participants and roles
T = ordered turns
M = message content and metadata
X = context state
G = conversation goals
B = safety, privacy and authorisation boundaries
K = grounded knowledge and evidence
R = conversational relations
Q = quality, coherence and completion indicators

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = latest authorised input plus prior relevant turns
R_t = permitted conversation and reasoning transitions
B_t = active scope, consent, privacy and safety constraints
K_t = validated conversation context and available evidence

4. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and grounded(x, K_t)}
a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
S_(t+1) = update(S_t, a_t, feedback_t)
C_(t+1) = append(C_t, turn_(t+1))
If V_t is empty, transition to clarification, abstention or safe fallback.

5. IMPLEMENTS
ConversationEntity implements OrderedInteraction, ContextManagement,
ParticipantAttribution, TurnTracking, IntentResolution,
BoundaryValidation, FeedbackIntegration and ProvenanceRetention.

6. HOW TO READ
Input -> interpret speaker and intent -> retrieve permitted context ->
generate candidate responses -> validate boundaries and grounding ->
select response or clarification -> append turn -> update state.

7. TRI-MAPPING
Human layer: a person speaks, receives a reply and may correct it.
Semantic layer: participant -> turn -> intent -> context -> response -> feedback.
Formal layer: I_t -> E_t -> V_t -> a_t -> S_(t+1).

8. ENTITY RELATIONSHIPS
Conversation HAS_PARTICIPANT Participant
Conversation CONTAINS_TURN Turn
Turn HAS_SPEAKER Participant
Turn CONTAINS_MESSAGE Message
Message EXPRESSES_INTENT Intent
Message REFERENCES_CONTEXT Context
Response ANSWERS_OR_CLARIFIES Message
Feedback EVALUATES Response
Conversation OBSERVES_BOUNDARY Boundary
Conversation CITES_EVIDENCE Evidence
Conversation UPDATES_STATE ConversationState

9. MAPPING TABLE
Participant | role and identity scope | P
Turn | ordered exchange unit | T
Message | content, modality, timestamp | M
Context | relevant prior state | X / K_t
Goal | desired interaction outcome | G
Boundary | consent, policy, privacy, scope | B / B_t
Relation | reply-to, correction-of, cites | R
Feedback | approval, rejection, correction | feedback_t
Response | selected conversational action | a_t

10. INFERENCE RULES
R1: Every turn MUST have an attributable speaker or explicitly unknown source.
R2: A reply-to link MUST reference an existing or explicitly external message.
R3: New context MAY extend prior context but MUST NOT silently override explicit boundaries.
R4: A human correction SHOULD supersede the corrected claim within its stated scope.
R5: Human rejection MUST NOT be interpreted as approval.
R6: Sensitive context MUST be accessed only within applicable authorisation boundaries.
R7: Unverified facts MUST be marked uncertain or omitted where certainty is required.
R8: A conversation MAY branch; branches MUST retain parent-turn provenance.
R9: Completion requires a stated goal condition or explicit termination signal.
R10: Truncated history MUST be represented as incomplete rather than reconstructed as fact.

11. MINI RECURSION ENGINE
function STEP(C_t, input_t):
  state = extract_authorised_state(C_t, input_t)
  candidates = expand(state.input, state.rules)
  valid = filter(candidates, state.boundaries, state.evidence)
  action = select(valid) if valid else request_clarification_or_abstain()
  turn = record(input_t, action, provenance, boundary_decisions)
  return append_and_update(C_t, turn)
Repeat STEP only when another authorised input or workflow event occurs.

12. EXECUTION GUARANTEES / INVARIANTS
G1: Turn ordering is stable within each conversation branch.
G2: Message provenance is preserved when available.
G3: Boundary checks precede any consequential external action.
G4: Corrections and rejections remain distinguishable from approvals.
G5: Unknown or missing history is never presented as verified memory.
G6: No guarantee of factual truth, safety or completeness is implied solely by this algebra; guarantees depend on implementation and validation.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.human-ai.conversation-entity.v1
TITLE: Conversation Entity Ontology
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/human-ai-interaction-entities/conversation-entity-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: Define a conversation as a bounded, stateful sequence of participant turns.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: Conversation, Participant, Turn, Message, Context, Intent, Response, Feedback, Boundary, Evidence
PATHWAYS: input -> context -> candidate -> validation -> response -> feedback -> update
INFERENCE_RULES: R1-R10
CONFIDENCE: Conditional on provenance, evidence quality and implementation checks.
SEMANTIC_EQUIVALENCE: dialogue entity; conversational session; multi-turn interaction.
UPDATE_MODEL: append turns, preserve revisions, incorporate authorised corrections.
FLOW_HASH: implementation-generated on canonical file bytes; not precomputed.

14. DIAGRAM
[Participant Input]
        |
        v
[Conversation Context] --> [Goals + Evidence]
        |                       |
        v                       v
[Candidate Responses] --> [Boundary Filter]
                                |
                         +------+------+
                         |             |
                       Valid        No valid
                         |             |
                         v             v
                    [Response]   [Clarify/Abstain]
                         \             /
                          v           v
                        [Record Turn]
                              |
                              v
                        [Update State]

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