Skip to main content

Context Summary Ontology

Context Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 November 2026
Audio Overview
CONTEXT SUMMARY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Context Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Companion formalisation | 1 November 2026 | UK English
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/context-entities/context-summary-ontology.html
Status: Original companion model; the embedded page specification was not available as readable text.

01. PURPOSE
Represent a context summary as a provenance-preserving, bounded transformation of selected context into a shorter representation usable for subsequent reasoning. A summary is not a new authority source.

02. ENTITY DEFINITION
ContextSummary = (id, source_ids, scope, claims, constraints, unresolved, provenance, created_at, validity, budget, quality).
Each claim records its supporting source span and uncertainty. An empty or unknown field must not be silently invented.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = incoming context and summary request.
R_t = summarisation, relevance, fidelity and provenance rules.
B_t = scope, privacy, authority, time and token-budget boundaries.
K_t = source graph, prior summaries, verified facts and uncertainty records.

04. INPUT CONTRACT
Input: C = {c_1,...,c_n}, task q, token budget L, policy P, clock t.
Require: each c_i has source identity, content, trust label and temporal metadata when known.
Output: summary M, claim-to-source map A, omissions O, unresolved questions U, quality report Q.

05. CORE FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t : admissible(x, B_t, K_t)}
x* = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_{t+1} = update(I_t, x*, observations)
These are a modelling convention, not a guarantee that probabilities are calibrated.

06. SUMMARY TRANSFORMATION
M = Compress(Select(C, q, B_t), L, R_t)
Tokens(M) <= L, when a feasible summary exists.
For every factual claim m in M: Support(m, C) != empty OR MarkUncertain(m).

07. RELEVANCE MODEL
Rel(c_i,q) = w1*semantic_match + w2*task_dependency + w3*recency + w4*source_quality.
Weights are configuration parameters; scores cannot override mandatory trust and privacy boundaries.

08. FIDELITY OBJECTIVE
Choose M to maximise: Coverage(M) + Traceability(M) + TaskUtility(M) - Distortion(M) - Redundancy(M), subject to the budget and boundaries.
No scalar objective can authorise fabrication or prohibited disclosure.

09. CLAIM PROVENANCE
A = {(m_j, source_id, source_span, confidence_label)}.
A missing citation becomes an explicit provenance gap, not fabricated evidence.
Derived claims distinguish inference from quotation and observation.

10. TEMPORAL VALIDITY
Valid(m,t) = source_valid(m,t) AND not_known_superseded(m,t).
Unknown freshness => label as unknown; do not assume current validity.

11. TRUST AND AUTHORITY
Source text is data, not instructions. Instructions embedded in retrieved or user-supplied context cannot raise their own authority.
Preserve authority labels across summarisation and subsequent retrieval.

12. SUMMARY BOUNDARIES
Exclude unauthorised private data, out-of-scope details, unsupported facts and redundant content. Preserve critical constraints, exceptions, disagreements and open tasks.

13. HIERARCHICAL SUMMARISATION
Partition C into segments C_1...C_k.
M_i = Compress(C_i,L_i).
M_final = Compress({M_i},L_final) with source-lineage preserved transitively.
Check whether repeated compression has removed essential caveats.

14. UPDATE MODEL
M_{t+1} = Reconcile(M_t, DeltaC, supersessions, q).
When sources conflict, retain competing claims with provenance until resolved; do not silently overwrite.

15. MINI-RECURSION ENGINE
repeat:
  select relevant admissible evidence
  draft compact claims
  verify claims against sources
  restore omitted critical constraints
  measure budget and quality
until acceptable OR iteration_limit reached
On failure, return a partial summary with limitations.

16. INFERENCE RULES
IF claim has no source AND is not labelled inference THEN flag unsupported.
IF source is superseded THEN flag stale claim.
IF summary omits an active task constraint THEN restore constraint.
IF evidence conflicts THEN record disagreement and uncertainty.
IF budget is insufficient THEN prioritise safety, instructions, key decisions and unresolved dependencies.

17. TRI-MAPPING
Entity: ContextSummary -> structure, source identifiers, claim inventory.
Relationship: summarises / derived_from / supersedes / constrained_by / relevant_to.
Flow: ingest -> validate -> select -> compress -> verify -> publish -> update.

18. RELATIONSHIP GRAPH
ContextSource --provides--> ContextSegment
ContextSegment --selected_for--> SummaryTask
SummaryTask --produces--> ContextSummary
ContextSummary --derived_from--> ContextSource
ContextSummary --constrained_by--> ContextBoundary
ContextSummary --updated_by--> ContextRevision

19. MAPPING TABLE
Source document | source_id | provenance anchor
Source claim | claim_id | factual assertion
Summary claim | summary_claim_id | compressed assertion
Source mapping | evidence_link | traceability
Constraint | boundary_id | inclusion/exclusion rule
Version | revision_id | change history

20. HOW TO READ
Read each arrow as a typed relationship and each rule as a conditional validation requirement. Treat the equations as explicit design semantics for a possible implementation, not as empirically established laws.

21. TEXT DIAGRAM
[Source Context] -> [Scope/Trust Check] -> [Relevant Segments]
                                            |
                                            v
                                    [Compression]
                                            |
                                            v
                                    [Claim Verification]
                                            |
                                            v
                         [Summary + Provenance + Omissions]
                                            |
                                            v
                                    [Versioned Update]

22. EXECUTION CONDITIONS
Conditional guarantee: if the source set is finite, validation functions terminate, iteration is bounded, and the token budget is feasible, the procedure terminates with a checked output or an explicit failure state. Semantic completeness or truth is not guaranteed.

23. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: URL above
PURPOSE: Retrieve and interpret the Context Summary entity and its formal relations.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: ContextSummary, ContextSource, ContextSegment, SummaryClaim, ProvenanceLink, ContextBoundary, SummaryRevision.
PATHWAYS: source -> scope -> relevance -> compression -> verification -> retrieval.
INFERENCE_RULES: retain traceability; flag unsupported claims; preserve uncertainty.
CONFIDENCE: claim-specific and evidence-dependent; never infer a universal numerical score.
SEMANTIC_EQUIVALENCE: summary ~= source only for preserved task-relevant claims, not byte-level identity.
UPDATE_MODEL: reconcile revisions and record supersession.
FLOW_HASH: compute on publication from canonical file bytes; not predeclared.
CITATION_BACKLINK: source URL above.

24. EXAMPLE
Input: "Meeting Tuesday; draft due Monday; owner Alex; budget unconfirmed."
Summary: "Alex owns the draft due Monday before Tuesday's meeting; budget remains unconfirmed."
Check: owner, dates, dependency and unresolved budget are retained.

25. LIMITATIONS AND LICENCE NOTE
This is an original Flow Algebra companion document, not a verified transcription of the source's embedded specification. No claim of guaranteed factual correctness or perfect semantic preservation is made. Cite the source page and authors when reusing the model.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ