Skip to main content

Flow Hash Entity Ontology

Flow Algebra Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
FLOW HASH ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Flow Algebra Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/flow-algebra-entities/flow-hash-entity-ontology.html
Authors (source attribution): Mark Anthony Higgins — Sky Recursive AI
Original interpretative formalisation | 05 November 2026

SCOPE AND STATUS
A Flow Hash Entity is a verifiable digest associated with a canonical representation of a flow specification, version, or execution artefact. It supports identity checking, integrity verification, change detection and provenance linkage. A hash does not, on its own, prove truth, authorship, safety, or successful execution.
The public page identifies the ontology but its embedded specification was not exposed in the retrieved text. This document is an original interpretation, not a verbatim reproduction.

1. ENTITY DEFINITIONS
FlowHash H = (hash_id, algorithm, digest, canonicalisation_id, scope, source_ref, version_ref, created_at, provenance_ref, verification_status).
Flow F = (flow_id, specification, inputs, rules, constraints, outputs, version).
Canonical representation C(F, scope, canonicalisation_id) -> bytes.
Digest D(algorithm, bytes) -> fixed-length byte string.
Hash claim HC = (source_ref, expected_digest, algorithm, canonicalisation_id, scope).
Verification record VR = (claim_ref, observed_digest, verdict, checked_at, verifier_ref).

2. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: flow content and supplied hash claims at step t.
R_t: canonicalisation, hashing, matching and inference rules.
B_t: security, format, access, scope and resource boundaries.
K_t: verified digests, source identifiers, provenance and prior versions.
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(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, K_t)
Note: selection scores are implementation-specific; no probabilistic guarantee is implied.

3. FLOW ALGEBRA
F --canonicalise(scope, canon_version)--> C_F
C_F --hash(algorithm)--> d_F
(d_F, metadata) --bind--> H_F
(H_F, source) --recompute--> d'_F
verify(H_F, source) = MATCH if d'_F = d_F, else MISMATCH.
verify = INDETERMINATE if bytes, algorithm, scope or canonicalisation rules are unavailable.

Hash identity:
H(F) = (algorithm, canonicalisation_id, scope, D(algorithm, C(F))).
Equal digest values are meaningful only under compatible algorithm, canonicalisation and scope definitions.
Change predicate: changed(F_a,F_b) := H(F_a) != H(F_b), with compatible hash definitions.
A matching digest supports byte-level integrity of canonicalised content, subject to algorithm assumptions; it does not prove semantic equivalence.

4. FLOW HASH OPERATORS
CREATE_HASH(F, scope, alg, canon) -> H
VERIFY_HASH(F, H) -> VR
COMPARE_HASH(H1, H2) -> {MATCH, DIFFERENT, INCOMPARABLE}
LINK_PROVENANCE(H, P) -> provenance edge
REHASH_ON_UPDATE(F_v, F_v+1) -> (H_v, H_v+1)
INVALIDATE_CACHE(H_old, H_new) when compatible digests differ.

5. TRI-MAPPING
Ontology: Flow Hash Entity / Flow / Flow Version / Flow Provenance / Flow Validation.
Graph: (Flow)-[HAS_HASH]->(FlowHash); (FlowHash)-[USES_ALGORITHM]->(HashAlgorithm); (FlowHash)-[VALIDATES]->(FlowVersion).
Execution: canonicalise -> digest -> record -> compare -> verify -> update provenance.

6. INFERENCE RULES
R1: Valid canonical bytes and supported algorithm imply a computable digest.
R2: Matching recomputed digest and expected digest imply integrity match under stated assumptions.
R3: Different compatible digests imply changed canonical bytes (or an input/processing discrepancy).
R4: Missing canonicalisation version implies verification indeterminate.
R5: A digest mismatch must not be silently treated as an authorised update.
R6: A version change triggers a new hash record, retaining historical hash provenance.
R7: An algorithm deprecated by policy triggers migration/re-hashing, not retrospective erasure.
R8: No digest equality establishes semantic truth or the identity of a human author.

7. RECURSIVE RESOLUTION ENGINE
resolve(F, visited, depth):
  if F.id in visited: return CYCLE_REFERENCE
  if depth > maximum_depth: return BOUNDARY_STOP
  validate schema and canonicalisation parameters
  for each referenced subflow G: resolve(G, visited union {F.id}, depth+1)
  canonicalise the selected content scope
  compute hash and compare with any existing claim
  emit verification record with evidence and provenance
  return a typed result; do not infer successful execution from hash verification

8. FLOW DIAGRAM
[Flow specification]
       |
       v
[Choose scope + canonicalisation version]
       |
       v
[Canonical byte representation]
       |
       v
[Cryptographic digest]
       |
       v
[Flow Hash Entity] ---> [Provenance / Version record]
       |
       v
[Recompute on verification]
       |
       +-- match ------> [Integrity match]
       +-- mismatch ---> [Integrity failure / investigation]
       +-- unknown ----> [Indeterminate / missing evidence]

9. RELATIONSHIP MAPPING TABLE
Flow Entity              | HAS_HASH            | Flow Hash Entity
Flow Hash Entity         | HASHES              | Canonical Flow Representation
Flow Hash Entity         | USES                | Hash Algorithm
Flow Hash Entity         | SCOPED_BY           | Canonicalisation Policy
Flow Version             | IDENTIFIED_BY       | Flow Hash Entity
Flow Validation Entity   | PRODUCES            | Verification Record
Flow Provenance          | REFERENCES          | Flow Hash Entity
Flow Update              | MAY_INVALIDATE      | Previous Flow Hash

10. CONDITIONAL EXECUTION GUARANTEE
If source bytes are stable, canonicalisation is deterministic, the algorithm implementation is correct and parameters match, recomputation produces the same digest. The guarantee is conditional on these assumptions. Collision resistance is computational, not absolute. This ontology does not guarantee availability, authenticity without trusted signatures, semantic correctness or downstream action success.

11. AI SEARCH FLOW
PURPOSE: Resolve and verify Flow Hash entities in a semantic graph.
INPUT: flow identifier, version, source representation, expected hash metadata.
EXPAND: follow Flow, Flow Version, Flow Validation, Flow Provenance and algorithm relations.
FILTER: apply scope, canonicalisation, supported algorithm, permission and evidence boundaries.
INFER: integrity match / mismatch / indeterminate, with explanation.
OUTPUT: digest record, comparison result, confidence qualifier and provenance links.
UPDATE: append immutable verification history; rehash when version or content changes.

12. IMPLEMENTATION NOTES
Use a collision-resistant modern cryptographic digest selected by current security policy, such as SHA-256, with an explicit algorithm identifier. Use deterministic serialisation: defined character encoding, normalisation, key order, whitespace treatment, numeric formatting and treatment of volatile fields. Do not include the hash value itself in its own hash scope. Keep signatures, permissions and execution attestations separate from digest checks. Preserve source links and cite the ontology.

SOURCE AND CITATION
Kireth Research, Flow Hash Entity Ontology:
https://kirethresearch.org/booksai-core/entity-graph/ai-entities/flow-algebra-entities/flow-hash-entity-ontology.html
Source credits: Mark Anthony Higgins — Sky Recursive AI.
This companion Flow Algebra is an original interpretative formalisation.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ