FLOW ALGEBRA — SPECIALIST AI SYSTEM ONTOLOGY
Semantic Library | Companion formalisation | 2026-10-28
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-system-entities/specialist-ai-system-ontology.html
Authors: Mark Higgins; Sky — Recursive AI
Status: Constructed companion model; source page's embedded specification not independently verified.
flow "SpecialistAISystemOntology" v1.0
PURPOSE
Represent an AI system designed and evaluated for a specified specialist domain, with explicit scope, capabilities, evidence, constraints, dependencies and failure boundaries.
STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current request, observations and domain context
R_t = typed relations among systems, tasks, tools, models, data and evidence
B_t = operational, safety, authorisation and domain boundaries
K_t = versioned domain knowledge, provenance and validated capability claims
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, observed_outcome)
If V_t is empty: abstain, request clarification, or escalate.
ENTITIES
SpecialistAISystem: id, name, version, owner, lifecycle_state
SpecialistDomain: id, taxonomy, domain_scope
SpecialistTask: id, inputs, outputs, acceptance_criteria
Capability: id, task_support, evidence, limitations
Model: id, architecture, version, training_provenance
Tool: id, interface, permissions, failure_modes
Dataset: id, licence, provenance, representativeness
Evaluation: id, benchmark, metric, test_conditions, result
Constraint: id, scope, policy, safety, compliance
Decision: id, explanation, confidence, supporting_evidence
HumanReviewer: id, role, escalation_authority
TYPED RELATIONSHIPS
system SPECIALISES_IN domain
system SUPPORTS task
system IMPLEMENTS capability
system USES model
system INVOKES tool
model TRAINED_OR_EVALUATED_ON dataset
capability SUPPORTED_BY evaluation
system GOVERNED_BY constraint
decision DERIVED_FROM evidence
decision REVIEWED_BY human_reviewer
system VERSION_OF prior_system
INVARIANTS
1. Every specialist capability claim identifies its domain and evaluation conditions.
2. Task execution remains within authorised domain, tool and policy boundaries.
3. A benchmark result is not a universal guarantee of task performance.
4. Unverified or out-of-scope requests must not be silently treated as validated.
5. Provenance, version and evaluation context remain attached to derived claims.
6. A system is not assumed to possess general intelligence merely because it excels in a specialist domain.
RECURSIVE PATHWAY
receive request -> resolve domain and task -> retrieve relevant entities -> expand typed relations -> check authorisation and constraints -> rank valid candidate actions -> execute or abstain -> observe outcome -> append provenance -> re-evaluate capability and knowledge -> repeat subject to stopping rule.
INFERENCE RULES
R1: IF task.domain within system.domain_scope AND task has validated capability THEN eligible_for_execution.
R2: IF capability evidence is absent OR conditions differ materially THEN mark unverified and seek review.
R3: IF tool permission is missing THEN block invocation.
R4: IF evaluation contradicts capability claim THEN flag revision; do not propagate claim unchanged.
R5: IF source version changes THEN invalidate dependent conclusions pending revalidation.
R6: IF multiple systems cover a task THEN compare evidence under matching test conditions.
R7: IF request exceeds scope THEN abstain or route to an authorised specialist.
TRI-MAPPING
Entity: SpecialistAISystem | Relation: SUPPORTS | Process: task execution
Entity: Capability | Relation: SUPPORTED_BY | Process: evidence validation
Entity: Model | Relation: TRAINED_OR_EVALUATED_ON | Process: performance assessment
Entity: Decision | Relation: DERIVED_FROM | Process: provenance trace
Entity: Constraint | Relation: GOVERNED_BY | Process: boundary enforcement
DIAGRAM
[Request] -> [Domain/Task Resolver] -> [Specialist Entity Graph]
-> [Evidence + Boundary Filter]
-> [Candidate Selection]
-> [Execute / Abstain / Escalate]
-> [Observed Outcome]
-> [Versioned Knowledge Update]
-> [Next Request]
MAPPING TABLE
Input: domain-specific query | Output: scoped task representation | Guard: domain classification
Input: candidate capability | Output: eligible or unverified | Guard: evaluation provenance
Input: tool action | Output: authorised execution or block | Guard: permissions
Input: result | Output: evidence-linked decision | Guard: confidence and traceability
Input: new evidence | Output: revised knowledge state | Guard: version consistency
VALIDATION
Check identifiers, type constraints, provenance links, domain boundaries, tool permissions, evidence quality, evaluation conditions, version integrity and traceable outcomes. Report failed checks explicitly.
CONDITIONAL EXECUTION GUARANTEE
Given valid inputs, correctly implemented checks and available dependencies, the flow either returns a boundary-compliant candidate or a recorded abstention/escalation. This is a specification-level property, not a guarantee of real-world correctness, safety or accuracy.
AI SEARCH FLOW
QUERY -> ENTITY RESOLUTION -> DOMAIN FILTER -> RELATION EXPANSION -> PROVENANCE CHECK -> VALIDATION -> RANKED RESPONSE -> CITATION BACKLINK
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-system-entities/specialist-ai-system-ontology.html
UPDATE_MODEL: append-only evidence history; explicit versioning; revalidate changed dependencies.
Download Code
Copy to Clipboard