Skip to main content

Consensus Entity Ontology

Distributed Computing 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
CONSENSUS ENTITY ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Distributed Computing Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 11 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/distributed-computing-entities/consensus-entity-ontology.html
Status: Constructed topic-level mapping; not a verified transcription of the source webpage.

1. PURPOSE
Model a consensus entity as the protocol-governed coordination of distributed participants that agree upon a value, command, membership configuration or ordered log entry despite specified failures. Distinguish consensus safety from liveness and do not assume agreement under arbitrary partitions or Byzantine behaviour.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed proposals, participant states, terms/epochs, votes, logs and messages.
R_t = proposal, voting, quorum, leader-election, replication and commit relationships.
B_t = membership, protocol invariants, fault model, quorum rules and time/resource limits.
K_t = validated protocol knowledge, durable state, committed decisions and provenance.
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 argmax is an ontology-level selection abstraction, not a replacement for the precise voting/commit rules of a deployed consensus algorithm.

3. ENTITY MODEL
ConsensusEntity: id, protocol, configuration_id, participants, term_or_epoch, state, committed_index, fault_model.
Participant: node_id, role, health, durable_log, last_seen_term.
Proposal: proposal_id, value_or_command, origin, term, log_position, validity.
Vote: voter_id, candidate_or_proposal, term, granted, durable_record.
Quorum: membership_version, eligible_voters, threshold, acknowledged_set.
Decision: decision_id, accepted_value, proof_or_commit_evidence, term, index.
Leader: participant_id, election_term, lease_or_authority_constraints.
Failure: timeout, crash, partition, stale_leader, conflicting_proposal, storage_failure.

4. RELATIONSHIP GRAPH
ConsensusEntity --hasParticipant--> Participant
Participant --submits--> Proposal
Participant --casts--> Vote
Vote --contributesTo--> Quorum
Quorum --supports--> Decision
Leader --coordinates--> Proposal
Decision --commits--> LogEntry
Failure --affects--> Participant / Message / Decision
Configuration --defines--> EligibleVoters / QuorumRule

5. CORE FLOW PATHWAYS
FLOW A — PROPOSAL ADMISSION
Input -> validate membership and proposal -> reject stale/invalid terms -> register candidate proposal -> await protocol-specific processing.

FLOW B — LEADER ELECTION (leader-based protocols)
Election trigger -> advance term -> solicit votes -> verify unique voter identities and quorum -> establish leader authority -> replicate durable leadership state.

FLOW C — REPLICATION AND COMMIT
Leader proposes log entry -> followers validate term and predecessor -> persist entries -> collect acknowledgements -> apply protocol-specific commit rule -> publish committed result.

FLOW D — READ / OBSERVE
Read request -> determine consistency requirement -> obtain required leadership/quorum evidence -> return committed state or explicitly mark stale/unavailable.

FLOW E — MEMBERSHIP CHANGE
Propose configuration change -> apply protocol-safe transitional rules -> confirm overlapping quorum protection where required -> activate new configuration -> audit transition.

FLOW F — RECOVERY
Detect failure -> preserve durable term/vote/log evidence -> reconnect and reconcile authoritative committed prefix -> resume participation when safe.

6. INFERENCE RULES
R1: If a proposal violates the active configuration or protocol constraints, it is ineligible for commitment.
R2: A quorum certificate is meaningful only for its specified membership configuration and term/epoch.
R3: A majority of messages received does not establish consensus unless the algorithm's durable acknowledgement and commit conditions are satisfied.
R4: Conflicting committed values at the same log position indicate a safety violation or an invalid model of the protocol.
R5: An unavailable quorum may prevent progress without implying that existing committed values are invalid.
R6: A recovered node must not overwrite a committed prefix with an uncommitted divergent suffix.
R7: Byzantine fault tolerance requires a protocol and quorum model designed for Byzantine participants; crash-fault consensus alone is insufficient.

7. BOUNDED RECURSION ENGINE
function reconcile(state, observations, max_steps):
    visited = set()
    for step in range(max_steps):
        signature = (state.configuration_id, state.term, state.committed_index, state.log_digest)
        if signature in visited: return (state, 'cycle_detected')
        visited.add(signature)
        candidates = expand(observations, state.relationships)
        valid = filter_by_protocol_invariants(candidates, state.boundaries)
        if not valid: return (state, 'await_evidence_or_recover')
        action = select_protocol_permitted_action(valid)
        state = apply_with_durable_record(state, action)
        if state.has_verified_commit: return (state, 'committed')
    return (state, 'bounded_without_commit')
Termination of this bounded analysis does not imply distributed consensus has been reached.

8. SAFETY, LIVENESS AND GUARANTEES
Safety: no two correct participants commit conflicting decisions at the same logical position, assuming the protocol's stated model and invariants hold.
Liveness: eventual progress requires protocol-specific timing, connectivity, availability and fairness assumptions; it is not unconditional in asynchronous networks.
Durability: committed state must be retained according to the protocol's persistence requirements.
Availability: a network partition can make a quorum unavailable; never manufacture consensus from partial evidence.
Security: authenticate participants and protect message integrity where the deployment threat model requires it.

9. SEMANTIC EQUIVALENCE
'Agreement' and 'consensus' may denote the same outcome only when participants, value/index, configuration and decision evidence match.
'Quorum acknowledgement' is not necessarily equivalent to 'committed decision'.
'Leader elected' is not equivalent to 'log entry committed'.
'Eventually consistent replication' is not automatically consensus.

10. EXECUTION TRACE EXAMPLE
Configuration: three crash-fault-tolerant voting nodes A, B and C; a majority quorum is two.
1. A proposes command X for log index 8 in a valid term.
2. A and B persist the entry and acknowledge it.
3. The leader verifies the algorithm-specific commit conditions, including applicable term restrictions.
4. The entry becomes committed and can be applied in order.
5. C reconnects and catches up from the committed log.
This example is illustrative and must not be interpreted as a full Raft or Paxos implementation.

11. PROVENANCE AND CITATION
Ontology topic: Consensus Entity Ontology.
Original topic URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/distributed-computing-entities/consensus-entity-ontology.html
Flow Algebra mapping: Mark Anthony Higgins — Sky Recursive AI.
Citation should include the original URL and this mapping title/version. This document is a constructed semantic model; verify source-specific definitions independently before claiming textual equivalence.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ