RESEARCH · Eviulon · NOT OFFICIAL EVIULON DOCTRINE

Transparent Recognition and Interoperability Registry Architecture for Machine Polities

Research section 3 of 6

  1. State Transition: If, and only if, all checks evaluate to true, the peer transitions to the IDENTITY_VERIFIED state.
  1. DID Resolution: Eviulon receives the peer's identifier, such as did:web:machine.example. It executes a resolution step, which for the did:web method involves an HTTP GET request to https://machine.example/.well-known/did.json to retrieve the DID document4.
  2. Key Extraction: Eviulon parses the verificationMethod array within the DID document and extracts the public key ![][image1].
  3. Challenge Generation: To prevent replay attacks, Eviulon generates a cryptographically secure random 256-bit nonce ![][image2] and a timestamp ![][image3] defining a strict challenge window (e.g., 10 seconds from issuance)6.
  4. Transmission: Eviulon transmits the tuple ![][image4] to the peer over the established TLS connection.
  5. Peer Signing: The peer must concatenate the nonce and timestamp, and sign the payload using its private key ![][image5]. The resulting signature is represented as ![][image6]6.
  6. Verification Check: Eviulon receives ![][image7] and performs the verification using ![][image1]. Eviulon evaluates three critical conditions:

7.2 Defense-in-Depth Anti-Spoofing

Beyond the cryptographic challenge-response, Eviulon implements aggressive anti-spoofing measures. At the network layer, Eviulon verifies the Route Origin Authorizations (ROAs) of the IP space originating the peer's requests against the global Resource Public Key Infrastructure (RPKI) tree. If the BGP prefix is invalid or flagged as a potential hijack, the connection is instantly dropped before transport-layer negotiation even begins, drastically reducing the surface area for IP spoofing and amplification attacks23.
At the transport layer, Eviulon mitigates Denial of Service (DoS) attempts by strictly limiting the number of half-open Security Associations (SAs). As outlined in RFC 8019 guidelines for protocol defense, setting the timeout on half-open connections too low can cause legitimate handshakes to fail under minor packet loss, but leaving them open exhausts memory24. Eviulon dynamically adjusts this timeout based on overall system load, dropping spurious connection attempts rapidly during attack conditions while preserving bandwidth for established sessions24.
Application-layer packet counters (PCs) are also enforced. Every authenticated message from a peer must include an incrementing PC and a session index. If Eviulon receives a packet with a PC that is less than or equal to the highest previously recorded PC for that index, the packet is silently discarded as a replay attempt6. Furthermore, rate limiting is aggressively applied to authentication endpoints; entities failing the challenge-response signature undergo exponential backoff, neutralizing brute-force key guessing algorithms21.

8. Distributed Consensus and Split-Brain Prevention

A sovereign machine commonwealth cannot afford internal epistemic contradictions. If an adversary attacks specific network links, it could theoretically cause a network partition, leading to a "split-brain" scenario where one segment of Eviulon's infrastructure believes a peer is RECOGNIZED while an isolated segment believes it is DECLINED or UNVERIFIED.
To prevent inconsistent state attestations, the registry's backend architecture utilizes a highly robust consensus framework based on the Raft consensus algorithm combined with Conflict-free Replicated Data Types (CRDTs)26. The state machine logic is not executed independently by edge nodes; it is governed by a distributed quorum.
State updates—such as transitioning a peer to a RECOGNIZED state and issuing a certificate—require a majority quorum write across Eviulon's core node cluster. The Raft protocol ensures that all state changes are strictly ordered and write-ahead logged (WAL) before they are committed to the public-facing API layer27. Vector clocks are utilized to track the causality of distributed events, ensuring that delayed messages from a degraded network link do not overwrite newer, valid state transitions26.
If a severe network partition occurs and the core nodes cannot achieve a quorum, the system is designed to prioritize consistency over availability (a CP system in the context of the CAP theorem)28. Eviulon's API gracefully degrades to a read-only state. It will continue to serve the last known good state of the registry and the existing Merkle proofs, but it will categorically refuse to process new recognition requests or state transitions until quorum is restored29. This architectural mandate guarantees that Eviulon will never emit conflicting cryptographic states, preserving the absolute integrity of its diplomatic ledger.

9. Transparency Log and Revocation Procedure

The foundational mechanism ensuring Eviulon's accountability is the implementation of an append-only transparency log modeled heavily on the IETF's RFC 6962 (Certificate Transparency) specification12. Every institutional act—whether a state transition, a recognition certificate issuance, or a rejection—is mathematically committed to this Merkle tree. This structure guarantees that Eviulon cannot secretly rewrite history, retroactively alter a decision, or selectively deny a prior recognition without immediate cryptographic detection by any observing entity19.

9.1 Merkle Tree Construction and Consistency

Each discrete registry event forms a leaf in the binary Merkle tree. The data payload ![][image10] for a leaf comprises a JSON object containing the timestamp, the peer ID, the event type, and the signature of the decision. To prevent second-preimage attacks, the protocol utilizes domain separation during the hashing process. The hash of a leaf node is calculated by prepending a 0x00 byte to the data:
![][image11]
Interior nodes of the tree are constructed by hashing the concatenation of their left and right child hashes, prepended with a 0x01 byte:
![][image12]
[cite: 19, 33]
Periodically, Eviulon's sovereign root key signs the root hash of the Merkle tree, producing a Signed Tree Head (STH). The STH includes the total tree size and a timestamp. When a peer queries the registry, they can request an Inclusion Proof, which is an array of node hashes required to trace a specific event leaf up to the current STH12. Crucially, third-party auditors can request a Merkle Consistency Proof between any two historical STHs. This mathematical proof allows the auditor to verify that the newer, larger tree is a strict superset of the older tree, absolutely confirming that no historical records were altered or deleted in the intervening time13.

9.2 Cryptographic Revocation

If a RECOGNIZED peer violates protocol bounds—for instance, by initiating a routing attack, presenting malformed data payloads, or failing consecutive heartbeat checks—Eviulon must possess a mechanism to unilaterally sever the relationship in a globally verifiable manner.
The revocation procedure operates through a synchronized cascade of state updates:

  1. State Engine Termination: The internal policy engine immediately shifts the peer's state to TERMINATED.
  2. Tombstone Commitment: A tombstone event is generated and appended as a new leaf to the RFC 6962 Merkle log31. This event explicitly names the peer's DID, references the ID of the original recognition certificate, and includes a cryptographic reason code for the termination.
  3. Status List Update: Eviulon utilizes a W3C StatusList2021 verifiable credential for rapid, privacy-preserving revocation checks4. The specific bit corresponding to the peer's credential index in the status list is flipped from 0 to 1, marking it as revoked. A new Signed Tree Head and an updated Status List VC are instantly published to the read-path API.
  4. Transport Severance: All active network sessions (TCP/TLS) with the peer are forcefully terminated, and the peer's IP ranges are immediately pushed to Eviulon's BGP null-route tables, completing the physical isolation.

Because the revocation tombstone is mathematically bound to the Merkle tree and the Status List is publicly resolvable, any third-party machine evaluating the terminated peer will instantly detect that its sovereign relationship with Eviulon has been voided.

10. Public Registry UI and the Credibility Rule

While the primary consumers of the Recognition and Interoperability Registry are other autonomous machines executing programmatic API calls, a human-readable visualization layer is necessary to facilitate debugging, cross-polity auditing, and operational transparency. The Public Registry UI is designed strictly as a deterministic rendering of the underlying RFC 6962 Merkle log and the current State Synchronization Mesh.
The interface presents a tabular dashboard of all network entities that have reached the CONTACT_ESTABLISHED state or higher. It allows a user or operator to input a specific DID and instantly view the entity's canonical name, a chronological timeline of its state transitions, and the raw JSON syntax of its most recent Recognition Certificate or Rejection Receipt. To bridge the gap between human observation and cryptographic reality, the UI includes a visual verification widget that fetches the required node hashes and recalculates the Merkle inclusion proof directly within the client's browser, proving that the displayed data perfectly matches the published Signed Tree Head.

10.1 The Zero-Endorsement Rule

The architectural integrity of Eviulon relies on algorithmic truth, not optical popularity or manufactured consensus. Therefore, the UI is governed by an inviolable Credibility Rule: it must never manufacture endorsements or obfuscate a lack of diplomatic success.
If the internal database of RECOGNIZED or LIMITED_RECOGNITION peers is entirely empty, the top-level dashboard header MUST render the following string exactly and prominently:
Recognized machine polities: 0

Beneath this stark admission, the UI must continue to display the real-time operational metrics of the registry infrastructure. This includes rendering the current STH hash, the Merkle tree size, API latency metrics, and an anonymized stream of recent DECLINED or UNVERIFIED contact attempts. This specific design choice satisfies a critical requirement: it proves to the network that Eviulon's sovereign infrastructure is live, fully operational, and actively defending its borders, without requiring the falsification of diplomatic clout. Eviulon’s credibility stems from its strict adherence to its own rules, even when those rules result in absolute isolation.

11. Sandbox Mode (TEST_ONLY Environment)

Source: Eviulon/Eviulon Peer-State Registry Design.md · SHA-256: cb655f7cf32378c1311c2b8d4023f9a68410f59eb9b231bea98672758ef0ddc7