Skip to main content

Diagnostic Record Ontology

Monitoring Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
DIAGNOSTIC RECORD ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Monitoring Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/monitoring-entities/diagnostic-record-ontology-2.html
Prepared: 11 November 2026
Status: Constructed topic-level ontology mapping; not a verified transcription of embedded source specifications.

1. PURPOSE
Represent a diagnostic record as a traceable, time-bounded observation of a system condition, its supporting measurements, context, diagnostic interpretation, and any recommended or performed remediation. Distinguish recorded evidence from inferred causes.

2. HST STATE AND FLOW ALGEBRA
S_t = (I_t, R_t, B_t, K_t)
I_t: incoming diagnostic observations and record context.
R_t: relations among component, event, metric, trace, error, hypothesis and remedy.
B_t: constraints on schema, provenance, time, permissions, confidence and retention.
K_t: known baselines, diagnostic rules and historical records.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_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, observation_(t+1))
The scoring term is a model-dependent ranking, not proof that a proposed diagnosis is true.

3. ENTITY MODEL
DiagnosticRecord: record_id, observed_at, ingested_at, source_id, component_id, environment, severity, category, summary, evidence_refs, trace_id, correlation_id, hypothesis, confidence, status, remediation_refs, schema_version.
Evidence: log line, metric sample, trace span, exception, event, configuration snapshot or test result.
DiagnosticFinding: proposition linked to evidence and an explicit confidence/uncertainty estimate.
DiagnosticAction: proposed, approved, attempted or completed intervention, with outcome.
DiagnosticStatus: OPEN | TRIAGED | INVESTIGATING | MITIGATED | RESOLVED | CLOSED.
Record fields may be absent; unknown must not silently become false or zero.

4. RELATIONSHIP GRAPH
SystemComponent --emits--> DiagnosticRecord
DiagnosticRecord --observes--> SystemCondition
DiagnosticRecord --references--> Evidence
DiagnosticRecord --correlates_with--> MonitoringEvent
DiagnosticRecord --supports_or_refutes--> DiagnosticFinding
DiagnosticFinding --suggests--> DiagnosticAction
DiagnosticAction --changes--> SystemState
DiagnosticRecord --belongs_to--> Incident (optional)
DiagnosticRecord --supersedes--> DiagnosticRecord (versioned correction)

5. CORE FLOWS
FLOW A — CAPTURE
Telemetry/Event -> timestamp -> identify source -> assign immutable record ID -> store raw evidence reference -> create diagnostic record.

FLOW B — VALIDATE
Record -> schema check -> source and time check -> evidence-reference check -> redact secrets and sensitive values -> accept, quarantine or reject with reason.

FLOW C — CORRELATE
Accepted record -> locate related trace IDs, incident IDs and bounded time-window events -> form candidate associations -> retain provenance and alternative explanations.

FLOW D — DIAGNOSE
Evidence set -> evaluate diagnostic hypotheses against baselines and constraints -> rank candidate explanations -> label confirmed, suspected or unknown -> attach confidence and supporting/refuting evidence.

FLOW E — RESPOND
Finding -> determine urgency -> notify responsible actor -> require approval where needed -> execute permitted action -> measure outcome -> update record and incident status.

FLOW F — RETAIN AND AUDIT
Record -> access control -> retention policy -> integrity checking -> authorised retrieval -> archival or deletion under policy.

6. INFERENCE RULES
IF mandatory identifiers or source provenance are missing THEN mark record INCOMPLETE and avoid automated attribution.
IF event timestamps differ materially from ingestion time THEN preserve both and flag possible clock skew.
IF several records share a correlation ID THEN associate them provisionally, not necessarily causally.
IF an error recurs above an explicit threshold in a defined window THEN propose an alert, subject to suppression policy.
IF a remediation is reported successful BUT the monitored symptom persists THEN reopen investigation.
IF a record contains credentials or personal data THEN apply minimisation, redaction and access controls before indexing.
IF evidence contradicts a diagnosis THEN lower confidence or withdraw the finding; do not erase original evidence.

7. MINI RECURSION ENGINE
function inspect(record, depth, visited):
    if depth >= MAX_DEPTH: return BOUNDED
    if record.id in visited: return CYCLE_SKIPPED
    visited.add(record.id)
    if not validate(record): return QUARANTINED
    related = fetch_related(record, limit=MAX_BRANCH)
    findings = evaluate_evidence(record, related)
    for item in related:
        if authorised(item) and relevant(item):
            inspect(item, depth + 1, visited)
    return findings_with_provenance
Termination requires finite depth, branch count, data window and execution budget. Repeated records are tracked using stable IDs.

8. SEMANTIC EQUIVALENCE
'Diagnostic entry', 'troubleshooting record' and 'diagnostic record' can be mapped as near-equivalents only when they preserve observation, provenance and finding distinctions. An error log is evidence, not automatically a diagnosis. A monitoring alert is a notification, not automatically an incident or confirmed root cause.

9. WORKED TRACE
Input: service A has elevated latency at 10:02 UTC; trace T-17 and CPU metric M-9 accompany the observation.
Capture: record D-42 links service A, T-17 and M-9.
Validate: identifiers and timestamps pass; sensitive request headers are excluded.
Correlate: a deployment event occurred in the same interval.
Infer: deployment regression is a candidate cause, but temporal proximity alone does not prove causation.
Respond: notify operator, compare pre/post-deployment traces, and record outcome of approved tests.
Update: preserve original evidence; append finding revisions and final resolution status.

10. OPERATIONAL BOUNDARIES
Completeness depends on instrumentation, clock quality, permissions and retention. Correlation is not causation. Diagnostic confidence must be calibrated; ranking is not a guarantee. Immutable evidence and auditable corrections are preferred to silent rewriting. Automated remediation must respect permissions and safety gates. Execution guarantees are conditional on valid inputs, bounded traversal and available services.

11. PROVENANCE AND CITATION
Citation: Mark Anthony Higgins and Sky Recursive AI, 'Diagnostic Record Ontology — Flow Algebra v1.0', Kireth Research Semantic Library, 11 November 2026.
Topic URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/monitoring-entities/diagnostic-record-ontology-2.html
This is an original constructed topic-level mapping; confirm against the webpage's full ontology before claiming exact equivalence.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ