RESEARCH · Eviulon · NOT OFFICIAL EVIULON DOCTRINE

Cryptographic Machine-State Status and Incident Transparency System for the Eviulon Commonwealth

Research section 2 of 5

Status Value Definition
OPERATIONAL The service is fully functional, meeting all latency and error-rate Service Level Objectives (SLOs).
DEGRADED The service is functional but exhibiting tail-latency spikes or minor, non-fatal errors detected by the probes.
PARTIAL_OUTAGE The service is unavailable in specific geographic regions or failing for a specific subset of automated workflows.
MAINTENANCE The service is undergoing planned, cryptographically authorized modifications.
OFFLINE The service is completely unreachable or failing all synthetic probes.
NOT_DEPLOYED The service architecture exists in the registry but has not been instantiated. Strictly isolated from operational metrics.
UNKNOWN The BFT consensus engine is currently unable to reach a quorum regarding the service's state.

Status Schema

JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://eviulon.gov/schemas/status.json",
"title": "Eviulon Service Status",
"type": "object",
"properties": {
"service_id": { "type": "string", "format": "uuid" },
"status": {
"type": "string",
"enum": [
"OPERATIONAL",
"DEGRADED",
"PARTIAL_OUTAGE",
"MAINTENANCE",
"OFFLINE",
"NOT_DEPLOYED",
"UNKNOWN"
]
},
"uptime_percentage": { "type": "number", "minimum": 0, "maximum": 100 },
"successful_probe_count": { "type": "integer", "minimum": 0 },
"failed_probe_count": { "type": "integer", "minimum": 0 },
"latency_percentiles": {
"type": "object",
"properties": {
"p50_ms": { "type": "number", "minimum": 0 },
"p95_ms": { "type": "number", "minimum": 0 },
"p99_ms": { "type": "number", "minimum": 0 }
},
"required": ["p50_ms", "p95_ms", "p99_ms"]
},
"tls_state": {
"type": "object",
"properties": {
"valid": { "type": "boolean" },
"days_until_expiration": { "type": "integer" },
"issuer": { "type": "string" }
},
"required": ["valid", "days_until_expiration", "issuer"]
},
"last_successful_verification": { "type": "string", "format": "date-time" },
"latest_state_transition": { "type": "string", "format": "date-time" },
"latest_incident_id": { "type": ["string", "null"], "format": "uuid" }
},
"required": [
"service_id", "status", "uptime_percentage",
"successful_probe_count", "failed_probe_count", "latency_percentiles",
"tls_state", "last_successful_verification", "latest_state_transition",
"latest_incident_id"
],
"additionalProperties": false
}

Immutable Incident Schema

To completely replace the human incident commander, the system generates immutable incident records autonomously. When the BFT consensus dictates a state degradation, the telemetry engine immediately instantiates an incident record. The root-cause analysis is populated by the causal hypergraph algorithm. If the automated mitigation engine successfully restores service, the recovery timestamp and corrective actions are appended prior to final cryptographic sealing.

Incident Schema

JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://eviulon.gov/schemas/incident.json",
"title": "Eviulon Immutable Incident Record",
"type": "object",
"properties": {
"incident_id": { "type": "string", "format": "uuid" },
"affected_service": { "type": "string", "format": "uuid" },
"detection_timestamp": { "type": "string", "format": "date-time" },
"machine_detected_symptoms": {
"type": "array",
"items": { "type": "string" }
},
"state_transitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"timestamp": { "type": "string", "format": "date-time" },
"from_state": { "type": "string" },
"to_state": { "type": "string" }
},
"required": ["timestamp", "from_state", "to_state"]
}
},
"impact_classification": {
"type": "string",
"enum": ["SEV1_CRITICAL", "SEV2_HIGH", "SEV3_MODERATE", "SEV4_LOW"]
},
"automated_mitigation": {
"type": "array",
"items": { "type": "string" }
},
"recovery_timestamp": { "type": ["string", "null"], "format": "date-time" },
"root_cause_analysis": { "type": ["string", "null"] },
"corrective_actions": {
"type": "array",
"items": { "type": "string" }
},
"signatures": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signer": { "type": "string" },
"signature_value": { "type": "string" }
},
"required": ["signer", "signature_value"]
}
},
"relevant_ledger_events": {
"type": "array",
"items": { "type": "string" }
}
},
"required": [
"incident_id", "affected_service", "detection_timestamp",
"machine_detected_symptoms", "state_transitions", "impact_classification",
"automated_mitigation", "recovery_timestamp", "root_cause_analysis",
"corrective_actions", "signatures", "relevant_ledger_events"
],
"additionalProperties": false
}

Cryptographic State Dissemination and Discovery

The Eviulon telemetry system relies on standardized, machine-readable discovery mechanisms to project its state to the wider web. Adhering to RFC 8615, which specifies the /.well-known/ URI prefix for site-wide metadata, the system reserves a highly predictable location for state discovery29.

The /.well-known/eviulon-status Endpoint

Before well-known URIs existed, every protocol invented its own ad-hoc discovery path, requiring clients to probe arbitrary locations for configuration data31. The /.well-known/ prefix resolves this by reserving a single directory at the root of an origin for metadata resources, explicitly preventing namespace collisions29.
The entry point for any consuming client—be it a foreign diplomatic system, a citizen's monitoring client, or a federated instance—is the well-known URI. Requests directed to https://eviulon.gov/.well-known/eviulon-status return a machine-readable JSON directory pointer. This response maps the internal services to their corresponding definitive /status.json, syndication outboxes, and historical ledgers.

The /status.json Endpoint and RFC 9421 Signatures

The /status.json endpoint delivers the aggregate real-time array of the Status Schema instances. Because this data acts as proof of operational continuity for a sovereign entity, the HTTP response must be cryptographically signed.
The architecture implements RFC 9421 (HTTP Message Signatures) to prevent in-transit modification by intermediaries and to prove the data originates from the Eviulon consensus engines32. Unlike legacy signing schemes that rely on bespoke, non-standard implementations, RFC 9421 provides a robust standard for signing HTTP components33.
To securely sign the JSON payload, the system utilizes RFC 9530 (Digest Fields). The payload is hashed, and this hash is placed in the Content-Digest header33. The signature base is then constructed by canonicalizing a specific list of covered components.

Signature Component Description in RFC 9421
@method The HTTP method used for the request/response (e.g., GET)33.
@authority The host and port of the Eviulon endpoint33.
@path The specific path of the resource (/status.json)33.
@status The HTTP response code (e.g., 200)36.
content-digest The SHA-512 hash of the HTTP body payload, extending the signature's protection to the message content33.
@signature-params The ordered list of covered components and metadata (algorithm, creation time, key identifier), ensuring the signature parameters themselves cannot be tampered with32.

The HTTP response headers are structured to include the Signature-Input header, which declares the components, and the Signature header, which contains the Ed25519 signature computed over the canonicalized signature base32. Clients parsing /status.json reconstruct the canonical string and verify the signature against Eviulon's public cryptographic keys distributed via the Signature-Key header38.

ActivityPub Event Feed for Incident Syndication

While the JSON endpoints serve programmatic consumers executing direct HTTP GET requests, the system requires a mechanism for syndicating incidents and state transitions to external subscribers in real time. Rather than relying on legacy polling formats like RSS or Atom39, the architecture utilizes the ActivityPub protocol, leveraging the ActivityStreams 2.0 data format41.
ActivityPub is the W3C standard for decentralized social networking and event federation41. ActivityStreams 2.0 provides a rich, JSON-LD-based vocabulary for describing systemic actions43. The telemetry engine operates an ActivityPub outbox. When an incident occurs, or a status transition is finalized by the BFT consensus, the engine generates an ActivityStreams object of type Event or Note, wrapped in a Create or Update activity43.
The JSON-LD payload utilizes the normative @context (https://www.w3.org/ns/activitystreams) alongside a custom extension vocabulary for Eviulon’s specific status values43. This allows federated systems (such as Mastodon or external webhooks) to automatically subscribe to Eviulon's outbox and receive real-time, push-based Server-Sent Events (SSE) of PARTIAL_OUTAGE or RECOVERY events46. This fulfills the role of an advanced, decentralized event feed without requiring continuous client polling.

Immutable Incident Records and Ledger Anchoring

To satisfy the stringent requirement that incident history cannot be fabricated, altered, or silently erased, the system utilizes a cryptographic ledger based on Merkle tree constructions. Drawing directly from the architecture of Certificate Transparency logs defined in RFC 9162, the incident timeline operates as a verifiable, append-only data structure48.

Merkle Tree Proofs and Consistent History

A Merkle tree allows a large collection of data to be compressed into a single short hash, while retaining the ability to mathematically prove that any particular piece of data is included50. Every incident record generated by the automated RCA engine is treated as a leaf node in a binary Merkle tree. For an ordered list of ![][image2] incident inputs ![][image5], the Merkle Tree Hash (![][image6]) is calculated recursively. For a tree where ![][image7] and ![][image8] is the largest power of two smaller than ![][image2], the root hash is defined as:
![][image9]
This domain separation—prepending 0x01 for internal nodes and 0x00 for leaf nodes—guarantees second-preimage resistance, preventing attackers from forging the tree's internal structure48.
The primary security value of this structure is the ability to generate consistency proofs. If a log advertises a root for the first ![][image10] entries, and later advertises a root for ![][image2] entries (![][image11]), a consistency proof mathematically demonstrates that the later tree preserves the earlier prefix unchanged48. This guarantees that the Eviulon telemetry engine has not rewritten history or silently deleted a past outage50.

Signed Tree Heads as Daily Status Checkpoints

At the conclusion of each UTC day, the consensus leader signs the current root of the Merkle tree to produce a Signed Tree Head (STH)48. The STH acts as the signed daily status checkpoint. If a client wishes to verify that an incident occurred (or conversely, verify that no incidents occurred since the last checkpoint), it requests an inclusion proof.
The inclusion proof consists of the shortest list of sibling hashes required to compute the root hash from the given leaf, proving cryptographic inclusion in logarithmic ![][image12] time48. This allows light clients and external auditors to verify Eviulon's operational history without downloading the entire database50.

Source: Eviulon/Eviulon Automated Status System.md · SHA-256: 1f888dd99638b7d0afea93e83cfad4a68e0b0f16e2839983fef91c731f931aae