Metadata and Research-Status Front Matter#
Report Identifier: PATEFACERE-EVIULON-ARCH-002 Date of Synthesis: August 12, 2026 Subject: Systems Architecture, Distributed Consensus, Cryptographic Evidence, Institutional Boundary Delineation Status: \[RESEARCH FINDING\], \[PROJECT DESIGN RECOMMENDATION\]
Executive Decision Brief#
The integration of advanced autonomous systems into governance structures necessitates a paradigm shift in how digital evidence is recorded, preserved, and evaluated. Patefacere is formulated as an immutable, append-only system of evidence designed to store, validate, version, and expose state and cryptographic proofs \[PROJECT DESIGN RECOMMENDATION\]. It is strictly decoupled from Eviulon, which serves as the governance, constitutional, and decision-making layer. Patefacere guarantees that the storage of a record does not silently generate external actions, civic statuses, or operational permissions without Eviulon’s explicit, cryptographically signed authorization \[PROJECT DESIGN RECOMMENDATION\]. This architecture leverages Event Sourcing, Command-Query Responsibility Segregation (CQRS), and Merkle-tree-backed verifiable transparency logs to maintain non-repudiable state1. To prevent split-brain phenomena and ensure partition tolerance, Patefacere relies on state machine replication governed by the Raft consensus algorithm4. Eviulon interacts with Patefacere exclusively through a strictly defined trust boundary modeled on Zero Trust Architecture principles, treating Patefacere as a Policy Information Point (PIP) and Policy Enforcement Point (PEP) for evidence validation, while Eviulon acts as the overarching Policy Decision Point (PDP) for governance6.
Definitions and Institutional Boundary Model#
A robust institutional architecture requires strict functional isolation among systems managing state, evidence, and policy. The distinction between merely recording a fact and taking action upon it forms the foundation of the Patefacere-Eviulon relationship. The System of Record (SoR) acts as the authoritative source of current state at a specific point in time \[VERIFIED CURRENT PRACTICE\]. In contrast, a System of Evidence (SoE), which defines Patefacere, operates as an append-only, cryptographically verifiable ledger that records the chronological lineage of all state mutations, ensuring historical non-repudiation \[PROJECT DESIGN RECOMMENDATION\]. The Decision Authority, represented by Eviulon, is the governance layer responsible for evaluating evidence against a constitutional framework to issue binding judgments. The Policy Authority is the foundational ruleset or institutional body that defines the logic the Decision Authority must execute. Execution Systems are the operational entities that carry out external actions based on cryptographic receipts generated by the Decision Authority. Finally, a Public Presentation System is a read-only interface that exposes state and evidence. A public interface must never possess generic write paths or the ability to mutate authoritative records \[PROJECT DESIGN RECOMMENDATION\].
Patefacere–Eviulon Responsibility Matrix#
The fundamental operational distinction between Patefacere and Eviulon is enforced through cryptographic boundaries and asymmetric responsibilities. Patefacere focuses exclusively on the mathematics of evidence retention, while Eviulon focuses on the semantics and legality of that evidence.
| Function / Responsibility | Patefacere (Evidence & State) | Eviulon (Governance & Decision) |
|---|---|---|
| Data Storage & Integrity | Authoritative. Maintains Merkle log. | Non-authoritative. Consumes from log. |
| Cryptographic Validation | Validates signatures, schemas, and formats. | Evaluates semantic meaning of signatures. |
| Governance & Policy Logic | Ignorant of governance rules. | Authoritative. Evaluates rules and context. |
| State Versioning | Authoritative. Appends new versions. | Requests state changes via commands. |
| Decision Issuance | Stores Eviulon's decisions as evidence. | Generates decisions based on SoE data. |
| External Authorization | Does not authorize external actions. | Issues signed authorizations for external systems. |
| Conflict Resolution (Data) | Resolves via Raft consensus vector clocks. | Resolves via constitutional logic and policy. |
Table 1: Patefacere/Eviulon Authority Matrix
Authoritative-Data Classification#
Patefacere is authoritative for cryptographic evidence, state transitions, and historical lineage. It is not authoritative for external physical facts or human intent, which must be represented strictly as cryptographic claims made by identified actors \[RESEARCH FINDING\]. Data that must remain outside Patefacere includes unverifiable telemetry, un-hashed Personally Identifiable Information (PII), and ephemeral caching layers. PII is excluded to comply with data protection regulations utilizing cryptographic commitments in the SoE while the plaintext resides in external destructible stores \[CURRENT LEGAL REQUIREMENT\]. Unverifiable telemetry is excluded because Patefacere’s primary purpose is non-repudiation; injecting high-volume, low-value telemetry would unnecessarily bloat the Merkle trees and degrade the performance of inclusion proofs3.
| Data Class | Example | Retention | Patefacere Authority Status |
|---|---|---|---|
| Cryptographic Events | Signed transactions, inclusion proofs | Permanent (Append-only) | Authoritative System of Evidence |
| Identity Keys & PKI | Public keys, revocation lists (CRLs) | Permanent (Append-only) | Authoritative System of Record |
| Governance Decisions | Eviulon rulings, policy updates | Permanent (Append-only) | Authoritative Storage (Logic owned by Eviulon) |
| System Telemetry | Node health, CPU usage, latency | Transient / TTL-based | Non-Authoritative (Stored outside Patefacere) |
| Raw PII / Sensitive Data | Biometrics, raw human identity | External / Hash-only | Stores only cryptographic hashes/commitments |
| Draft / Ephemeral State | Unsigned proposals, cached reads | Destructible / TTL | Outside Patefacere |
Table 2: Data-Classification and Retention Matrix
Record Lifecycle and Mutation Taxonomy#
Patefacere operates as an append-only verifiable data structure1. Records are never physically deleted or modified in place. Mutations are represented as new events appended to the ledger that semantically alter the current state of a record, a pattern foundational to Event Sourcing \[VERIFIED CURRENT PRACTICE\].
| Record State | Technical Mechanism in Patefacere | Semantic Meaning in Ecosystem |
|---|---|---|
| Immutable | Standard Merkle tree leaf append. | A factual observation or completed transaction. |
| Append-Only | Linked event sourcing stream. | The continuous history of an entity. |
| Superseding | New event referencing a prior event\_id. | An updated record replacing an older version. |
| Correctable | CorrectionEvent appended to stream. | Acknowledgment of prior error, establishing new truth. |
| Revocable | RevocationEvent appended to stream. | Invalidation of a prior credential or decision. |
| Expiring | Event explicitly containing a NotAfter TTL. | Record automatically invalid at a timestamp. |
| Destructible | Cryptographic key deletion (crypto-shredding). | Plaintext destroyed externally; hash remains in SoE. |
Table 3: Record Mutability Matrix To represent incomplete, contradictory, or stale evidence, Patefacere uses specialized schema wrappers. Stale evidence is identified by SupersededBy pointers in subsequent events. Contradictory evidence is stored exactly as received; Patefacere does not attempt to resolve the contradiction, as that is the exclusive domain of Eviulon's governance logic. If source authorization changes, Patefacere rejects new writes from the revoked key, but historical records signed before revocation remain cryptographically valid, anchored by RFC 3161 Time-Stamp Tokens9.
Proposed Event and Evidence Architecture#
Patefacere is structured around Event Sourcing and Command-Query Responsibility Segregation (CQRS)2. The architecture bifurcates the handling of incoming evidence and the querying of established state. The Write Path processes commands submitted by Eviulon. Patefacere validates the cryptographic signature, schema, and current sequence number. If valid, the command is transformed into an Event and appended to the Merkle tree log. The Read Path asynchronously projects the event log into optimized Read Models. Eviulon queries these Read Models for fast state retrieval without locking the append-only ledger10. All records—including observations, source authorizations, inspections, reviews, disputes, corrections, decisions, and civic records—are normalized into standard Event envelopes. These envelopes contain an EventID (UUIDv7 or cryptographic hash), a SchemaID pointing to the structural definition, an IssuerID representing the cryptographic identifier of the actor, the domain-specific Payload, and the Signatures binding the payload to the Issuer1. The system heavily leverages CBOR Object Signing and Encryption (COSE) receipts and SCITT-compliant inclusion proofs to demonstrate incorporation into the transparency log1.
Trust-Boundary Architecture#
Following NIST SP 800-207 (Zero Trust Architecture), the system enforces strict logical separation6. Patefacere must never trust a write simply because it originates from an internal Eviulon IP address \[VERIFIED CURRENT STANDARD\]. Zero Trust dictates that network location does not imply trust, and service identity must be authenticated and dynamically authorized before any access is allowed.
| System / Component | Write Trust Level | Read Trust Level | ZTA Role |
|---|---|---|---|
| Eviulon Core | Must authenticate via mTLS and sign all payloads. | Authenticated Read | Policy Decision Point (PDP) |
| Patefacere API | Only validates signatures and schemas; applies events. | Exposes generic Read Models | Policy Enforcement Point (PEP) |
| Public Portal | NO WRITE ACCESS. | Cached, Rate-limited Read | Subject / Client |
| External Oracles | Must authenticate; payloads sandboxed. | Authenticated Read | Policy Information Point (PIP) |
Table 4: Read/Write Trust-Boundary Matrix Eviulon consumes Patefacere evidence without obtaining an unsafe generic write path by relying on an asynchronous event stream subscription. When Eviulon must write a decision, it invokes a narrow, strongly-typed endpoint on Patefacere. Patefacere evaluates the request strictly for cryptographic validity and schema compliance. Patefacere is deliberately oblivious to Eviulon's governance state; if Eviulon issues a ruling it lacks constitutional authority for, Patefacere will store the ruling as a cryptographically valid event, but a subsequent Eviulon audit process will flag it as unconstitutional. Operations that Patefacere must reject regardless of the caller include any request to delete a node, alter a historical Merkle hash, or mutate a payload without appending a superseding event \[PROJECT DESIGN RECOMMENDATION\].
System-of-Record Versus System-of-Decision Comparison#
To further clarify the boundaries, a direct architectural comparison of systems based on their functional governance roles is necessary \[RESEARCH FINDING\].
| System / Standard | System of Record | System of Evidence | Decision Authority | Focus Area |
|---|---|---|---|---|
| Patefacere (Proposed) | Yes (PKI, State) | Yes (Primary Ledger) | No | Sovereign Institutional Data |
| Eviulon (Proposed) | No | No | Yes | Governance / Constitution |
| Trillian / CT | No | Yes | No | Certificate / Key Transparency |
| SCITT (RFC 9943\) | No | Yes | No | Software Supply Chain Integrity |
Table 5: System-of-Record versus System-of-Decision Comparison
Synchronization and Conflict-Resolution Model#
When Patefacere and Eviulon are temporarily partitioned, Eviulon must operate in a degraded, read-only mode for historical data, or fail closed for new decisions \[PROJECT DESIGN RECOMMENDATION\]. Conflict resolution at the data layer relies strictly on distributed consensus mechanisms, specifically Raft, to avoid split-brain scenarios where multiple nodes incorrectly assume leadership4.
| State / Condition | Action / Mechanism |
|---|---|
| Network Partition (Eviulon \<-\> Patefacere) | Eviulon fails closed for writes; reads from local stale cache allowed if flagged as DEGRADED. |
| Patefacere Split Brain (Internal) | Raft consensus enforces a strict quorum (N/2 \+ 1). Minority partition halts writes4. |
| Schema Drift | Events include immutable Schema IDs. View projections apply upcasting to normalize historical data. |
| Duplicate Events | Patefacere enforces idempotency via deterministic hashing of the EventID and Payload. |
Table 6: Partition and Recovery State Machine
State Synchronization Sequence#
The synchronization of state between the governance layer and the evidence substrate requires a deterministic cryptographic sequence.
1. Eviulon generates a Decision Payload and signs it with its Service Identity. 2. Eviulon submits the payload via an HTTP POST to the Patefacere SCITT registration endpoint13. 3. Patefacere validates the signature and Schema ID without evaluating the policy implications of the payload. 4. Patefacere's Raft leader replicates the event to follower nodes to ensure state machine replication5. 5. Upon achieving quorum, Patefacere appends the event to the Merkle tree and generates a Signed Certificate Timestamp (SCT) or COSE receipt1. 6. Patefacere returns the cryptographic receipt to Eviulon, which subsequently updates its internal state to reflect the finalized decision.
Availability, Continuity, Backup, and Disaster Recovery#
Patefacere must remain independently recoverable. Relying on Eviulon for recovery data is an architectural violation \[PROJECT DESIGN RECOMMENDATION\]. High availability in distributed ledgers requires distinct tiers of recovery objectives based on the criticality of the data pathway.
| Availability Tier | RPO (Recovery Point) | RTO (Recovery Time) | Geographic Redundancy | Backup Strategy |
|---|---|---|---|---|
| Tier 1 (Core Ledger) | 0 seconds (Synchronous) | \< 30 seconds | Multi-Region (Raft Quorum) | Continuous snapshotting to WORM storage. |
| Tier 2 (Read Models) | \< 5 seconds (Async lag) | \< 5 minutes | Multi-Region | Rebuilt deterministically from Core Ledger. |
| Tier 3 (Public Cache) | \< 1 minute (Async lag) | \< 15 minutes | Edge CDN / Multi-Zone | N/A (Stateless cache). |
Table 7: RPO/RTO and Availability-Tier Matrix Disaster recovery exercises must include regular automated game-day testing, such as Chaos Engineering, to forcefully partition the Raft leader and terminate random nodes. This verifies the Mean Time to Failure Detection (MTTFD) and ensures automated leader election succeeds without human intervention18. During a Patefacere write-outage, the public presentation layer and Eviulon's read operations should continue in a degraded mode, serving stale but cryptographically verifiable data. Patefacere's write path must definitively fail closed if a Raft quorum cannot be achieved to prevent log divergence \[PROJECT DESIGN RECOMMENDATION\].
Cryptographic and Release-Identity Model#
Patefacere requires a rigorous identity model to bind records to their sources, particularly as cryptographic standards migrate toward Post-Quantum Cryptography (PQC)19.
| Identity Type | Purpose | Key Lifecycle & Binding |
|---|---|---|
| Cryptographic Identity | Proves mathematical authorship (e.g., Ed25519, ML-DSA). | X.509 or DID document. Rotated annually. Revocable via CRL/OCSP. |
| Release Identity | Proves organizational/institutional authority. | Bound to Cryptographic ID via verifiable credentials. |
| Service Identity | Authenticates node-to-node (mTLS). | Short-lived (e.g., SPIFFE/SPIRE). Rotated every 24 hours. |
| Schema Identity | Ensures payload structural integrity. | Content-addressable hash of the schema definition. Immutable. |
Table 8: Cryptographic Identity and Key-Lifecycle Matrix Where current external law requires attribution to a natural person or registered organization for liability purposes, this is achieved by anchoring the Cryptographic Identity to a trusted external Certificate Authority, such as eIDAS qualified certificates \[CURRENT LEGAL REQUIREMENT\]. The term "Machine Intelligence" is utilized for instantiated operational entities, which hold distinct cryptographic keys but must ultimately trace their Release Identity back to a legally recognized entity to satisfy external juridical requirements \[RESEARCH FINDING\].
Public Evidence Versus Protected Evidence#
A public interface must not allow the mutation of authoritative records. Furthermore, exporting a record inherently risks it being presented as current long after it has been revoked or superseded. To prevent a copied, cached, or exported record from being mistaken for a current authoritative record, Patefacere implements offline verifiability bounded by time. Exported records must include a proof of inclusion and a short-lived Signed Certificate Timestamp (SCT)17. Verifiers must demand a fresh consistency proof or check an online transparency log monitor to confirm the record's current validity \[VERIFIED CURRENT PRACTICE\].
| Evidence Element | Public Exposure | Protection Mechanism |
|---|---|---|
| Record Payload (Public) | Full plaintext exposed. | Digitally signed, appended to Merkle log. |
| Record Payload (Private) | Cryptographic hash only (Cbor/JSON). | Payload encrypted off-chain; SCITT transparency registers hash1. |
| Private Topology | Hidden. | ZK-SNARKs or selective disclosure (BBS+ signatures)22. |
| Raw Decision Inputs | Redacted or hashed. | Eviulon submits redacted subsets to Patefacere for public logging. |
Table 9: Evidence Export Privacy Matrix Patefacere can expose enough public evidence for verification without exposing credentials or sensitive decision inputs by utilizing cryptographic commitments. Hashes of the sensitive data are logged on-chain, proving existence and sequence, while the plaintext is supplied out-of-band only to authorized auditors who possess the requisite decryption keys or access tokens \[PROJECT DESIGN RECOMMENDATION\].
Threat Model and Risk Register#
The system must anticipate adversarial actions, hardware failures, and logical errors. Distributed consensus networks and transparency logs are susceptible to specific failure modes that require intentional architectural mitigation.
| ID | Threat Vector | Description | Mitigation Strategy |
|---|---|---|---|
| 1 | Split Brain | Network partition causes two active Raft leaders15. | Enforce strict N/2+1 quorum; fence isolated nodes4. |
| 2 | Clock Drift | NTP spoofing alters event timestamps24. | Logical clocks (Lamport/Vector) supersede wall-clock time25. |
| 3 | Schema Drift | V1 reader cannot parse V2 event. | Immutable schema registries; mandatory upcasting middleware. |
| 4 | Replay Attack | Adversary resubmits valid Eviulon command. | Idempotency keys and sequence numbers required on all writes. |
| 5 | Duplicate Events | Client retries post-timeout, causing double entry. | Deterministic hashing of payloads to reject duplicates. |
| 6 | Compromised Keys | Eviulon service key is stolen. | Hardware Security Modules (HSM); short-lived SPIFFE certificates. |
| 7 | Stale Cache Read | Portal shows revoked credential as valid. | Cache-Control headers; mandatory client-side inclusion proof checks. |
| 8 | Partial Migration | Database upgrade fails midway. | Blue/Green deployment; Event Store remains immutable truth. |
| 9 | Corrupt Backups | Silent bit rot in cold storage. | Continuous cryptographic verification of WORM storage blocks. |
| 10 | Hostile Admin | DB Admin attempts to rewrite history. | Merkle tree structure makes modifications tamper-evident3. |
| 11 | BGP Hijacking | Traffic routed to malicious Patefacere node. | Strict mTLS and Certificate Transparency monitoring27. |
| 12 | DDoS on Write API | Flooding the Command API to halt consensus. | Rate limiting, PoW challenges, edge filtering. |
| 13 | Hash Collision | Discovery of SHA-256 collision. | Agile cryptography; migration to SHA-3 or BLAKE329. |
| 14 | Quantum Crypto Break | Shor's algorithm breaks ECDSA/RSA19. | Post-Quantum signatures (ML-DSA) implementation strategy20. |
| 15 | Privilege Escalation | Read-only portal attempts write operation. | ZTA enforced at API Gateway; separate physical infrastructure. |
| 16 | Missing Revocation | Client accepts revoked key due to OCSP failure. | Stapled OCSP responses; hard-fail on revocation check timeout. |
| 17 | Storage Exhaustion | Append-only log fills all available disks. | Automated volume expansion; tiered storage (hot/warm/cold). |
| 18 | Legal Mandate Change | Court orders deletion of immutable record. | Crypto-shredding (delete external plaintext, leave hash in log). |
| 19 | Sync Conflict Storm | Partition heals, causing massive state merging. | Conflict-free Replicated Data Types (CRDTs) where applicable. |
| 20 | Malformed Evidence | Eviulon sends garbage payload with valid sig. | Strict JSON-Schema/Protobuf validation prior to Raft proposal. |
| 21 | Rogue PEP | Policy Enforcement Point ignores PDP. | Continuous auditing of PEP logic; code signing for infrastructure. |
| 22 | TEE Side-Channel | Cache timing attacks extract keys from SGX. | Use AMD SEV-SNP/Intel TDX; disable hyperthreading30. |
| 23 | Key Exfiltration | Backup of HSM is stolen. | M of N split-knowledge keys for HSM wrapping. |
| 24 | Malicious Auditor | Auditor node attempts to fork the Merkle tree. | Gossip protocols between clients to detect equivocation31. |
| 25 | Data Sovereignty | Node replicates data to illegal jurisdiction. | Geo-fenced routing; region-specific Raft clusters. |
| 26 | Dependency Poisoning | Compromised OSS library in Patefacere build. | SBOMs (SPDX 3.0/CycloneDX 1.6) and SLSA Level 3 builds33. |
| 27 | State Machine Bug | Non-deterministic bug causes node divergence. | Strict sandboxing of state transition functions (e.g., WebAssembly). |
| 28 | Unbounded Proof Size | Inclusion proofs become too large for clients. | Tree sharding and checkpointing. |
| 29 | Lost Root Key | Organization loses top-level trust anchor. | Multi-sig offline root ceremonies. |
| 30 | Vulnerability Exploit | Zero-day in Patefacere API gateway. | Web Application Firewall; continuous memory-safe language use (Rust). |
Table 10: 30-Entry Risk Register
Failure-Mode and Effects Analysis (FMEA)#
A systematic evaluation of component failures within Patefacere reveals critical architectural dependencies that must be managed to maintain data authority. Split-brain scenarios occur when a network partition causes nodes to become disconnected, leading to the potential for multiple nodes to incorrectly assume leadership and accept divergent writes15. Patefacere mitigates this by enforcing Raft's requirement for a strict majority quorum4. The minority partition is mathematically barred from committing logs and must fail closed, ensuring no divergent histories are created. Clock drift and NTP spoofing present threats to the chronological ordering of evidence. Because the authoritative sequence of Patefacere is dictated by the append-only log index rather than wall-clock time, clock drift cannot reorder events internally. However, integration with RFC 3161 Time-Stamp Protocols requires precise synchronization to an external UTC(k) laboratory26. If time bounds drift beyond the acceptable threshold (typically one second), the Timestamp Authority (TSA) must refuse to issue tokens, effectively halting external evidence generation until clocks are re-synchronized26. Stale caches on a public presentation node do not compromise the systemic integrity of the evidence ledger. Clients requiring high assurance, such as external auditors or judicial bodies, are required by protocol to request a current Merkle inclusion and consistency proof directly from the primary nodes3. Corrupt backups and partial migrations are mitigated by the innate immutability of the event stream; a read-model projection that becomes corrupt can simply be deleted and deterministically rebuilt from the primary event store.
Comparative Study of Relevant Systems and Standards#
To architect Patefacere, six relevant systems and standards were evaluated to establish a verified baseline for cryptographic evidence and transparency.
1. Certificate Transparency (RFC 6962 / 9162): Provides the foundational blueprint for publicly auditable, append-only Merkle hash tree logs. It excels at detecting misissuance but is highly specialized for X.509 certificates17. Patefacere adopts its Signed Tree Head (STH) and Signed Certificate Timestamp (SCT) constructs to prove that an event was observed and integrated into the ledger within a Maximum Merge Delay (MMD)21. 2. IETF SCITT (Supply Chain Integrity, Transparency, and Trust): A newer architecture (RFC 9943\) designed to track supply chain artifacts via COSE-signed statements and receipts1. Patefacere adopts the SCITT receipt format for interoperability, allowing it to seamlessly return proofs of registration to Eviulon utilizing standardized HTTP REST APIs13. 3. Google Trillian & Tessera: A generalized, highly scalable Merkle tree backend that supports both log and map modes3. Trillian's architecture serves as the reference model for Patefacere's core storage engine due to its proven capacity to handle billions of records with sub-1.3ms median action latency and robust multi-node transactional updates37. 4. Evidence Record Syntax (ERS \- RFC 4998/6283): Designed for long-term non-repudiation of data39. ERS supports archive timestamp chains, ensuring historical records remain verifiable when cryptographic algorithms weaken by periodically re-stamping the archive with newer, stronger algorithms20. Patefacere integrates ERS principles for long-term historical preservation. 5. ISO 16363 (Trustworthy Digital Repositories): An evidence-based audit framework for long-term digital preservation encompassing organizational infrastructure, digital object management, and security risk management41. Patefacere incorporates its lifecycle requirements to ensure the institutional repository can be externally certified. 6. Event Sourcing & CQRS: Architectural patterns where system state is derived from an immutable log of events2. Research demonstrates that CQRS combined with event sourcing reduces data retrieval latency by up to 71% compared to traditional query-based approaches44. Patefacere applies this strictly to separate the write path (Merkle tree) from the read path (relational/graph projections).
Recommended Target Architecture#
Patefacere must be implemented as an Event-Sourced, Merkle-Tree-Backed, Raft-Replicated Ledger \[PROJECT DESIGN RECOMMENDATION\]. The storage layer requires a highly scalable Key-Value store underpinning a Trillian-style generalized Merkle log3. The API must be a SCITT-compliant HTTP/gRPC interface accepting COSE-signed statements1. Consensus is managed via a Raft implementation deployed across at least three distinct geographic regions to guarantee partition tolerance5. Historical preservation relies on automated RFC 4998 ERS archiving procedures using post-quantum signatures to preserve validity as legacy algorithms deprecate20.
Minimum Viable Architecture and Higher-Assurance Architecture#
A Minimum Viable Architecture (MVA) for an ordinary hosted deployment can be achieved using standard virtual machines, PostgreSQL acting as both the append-only event store and read-model, and software-based key management. This setup provides logical segregation but remains vulnerable to hypervisor compromises and database administrator tampering. A Higher-Assurance Architecture requires specialized infrastructure. Nodes must execute within Trusted Execution Environments (TEEs, such as AMD SEV-SNP or Intel TDX) to isolate memory and prevent host OS introspection30. Root keys and timestamping operations utilize FIPS 140-3 Level 3 Hardware Security Modules (HSMs). Furthermore, Merkle tree roots are periodically anchored into external public transparency logs (e.g., Sigstore/Rekor) to achieve independent external temporal anchoring, mitigating the risk of total institutional compromise or a hostile administrator attempting a deep rewrite of the log32.
Migration Strategy from a Conventional Application Database#
Migrating from a legacy CRUD relational database to Patefacere's append-only event-sourced model requires a strict ETL (Extract, Transform, Load) process. Legacy records must first be mapped to strongly-typed Patefacere Schemas. A dedicated Migration Authority identity generates a digital signature for each legacy row, appending it to Patefacere as a LegacyStateImport event. Patefacere then projects the imported events into its CQRS read-models. Finally, the legacy database is locked to read-only mode, and Eviulon begins directing all new state mutations exclusively to Patefacere's Command API.
Verification and Acceptance Strategy#
Acceptance of the Patefacere implementation requires mathematical and operational proofs. Verifiers must successfully compute a Merkle inclusion proof for a known record, and a consistency proof between two historical tree sizes, demonstrating mathematically that the log has not been truncated or forked21. Operational resilience is proven through Chaos Engineering tests, simulating a split-brain network partition to demonstrate Patefacere successfully halting writes on the minority partition while preserving data integrity16. Finally, an institutional boundary proof must be conducted where Eviulon attempts to modify an existing Patefacere record via a generic update command. The system must hard-reject the mutation, proving structural immutability \[PROJECT DESIGN RECOMMENDATION\].
Open Questions and Disputed Design Choices#
Several architectural choices remain subject to ongoing research and standardization efforts \[UNRESOLVED\]:
- Post-Quantum Timeline: The exact timeline for migrating historical evidence records to ML-DSA (Post-Quantum signatures) remains uncertain. While the current standard (RFC 4998\) supports archive restamping, the tooling ecosystem for quantum-resistant transparency logs is nascent20.
- External Anchoring Privacy: There is credible disagreement regarding whether Patefacere should autonomously publish its tree roots to a public ledger (e.g., Sigstore/Rekor) for maximum transparency, or if strict institutional privacy mandates prohibit the external leakage of even hashed tree roots30.
- Machine Intelligence Legal Standing: While Patefacere treats "Machine Intelligence" as an instantiated operational entity with its own cryptographic keys, current external law widely requires attribution to a natural person or registered organization for liability purposes. This presents friction between the technical capability of autonomous agents and the strictures of external legal frameworks \[CURRENT LEGAL REQUIREMENT\].
Claim-to-Source Traceability Appendix#
- RFC 6962 / 9162 (Certificate Transparency): Defines append-only Merkle hash tree logs, inclusion proofs, consistency proofs, and Signed Certificate Timestamps (SCT)17.
- RFC 4998 / 6283 (Evidence Record Syntax): Specifies syntax and processing for Evidence Records supporting long-term non-repudiation and archive timestamp chains20.
- NIST SP 800-207 (Zero Trust Architecture): Defines the separation of Policy Decision Points (PDP), Policy Enforcement Points (PEP), and Policy Information Points (PIP)6.
- RFC 3161 (Time-Stamp Protocol): Specifies the cryptographic protocol for certifying timestamps using a Trusted Third Party9.
- IETF SCITT (RFC 9943): Defines the architecture for single-issuer signed statement transparency, transparent statements, and COSE receipts1.
- ISO 16363: Specifies metrics for the audit and certification of trustworthy digital repositories41.
- Google Trillian: Reference architecture for verifiable data structures and log-based Merkle trees, highlighting sub-1.3ms latency performance3.
- Event Sourcing & CQRS: Distributed systems patterns demonstrating throughput vs. latency optimization and eventual consistency models2.
- Raft Consensus / Split Brain: Distributed consensus algorithms focusing on majority node verification to prevent data divergence4.
- Sigstore / Rekor: Implementations of tamper-evident transparency logs30.
- SBOM (SPDX 3.0 / CycloneDX 1.6): Standards for supply chain integrity34.
Patefacere Implementation Appendix#
Diagram Description: Patefacere Architecture The architecture is divided into two distinct vertical planes: "Eviulon (Governance Plane)" and "Patefacere (Evidence Plane)". An API Gateway featuring mTLS authentication separates them, enforcing Zero Trust boundary controls. Inside Patefacere, a "Write API" receives commands and routes them to a "Signature & Schema Validator". Validated commands enter the "Raft Consensus Cluster" (depicting 3-5 geographic nodes). Upon achieving quorum, data is appended to the "Merkle Tree Log / Event Store". An asynchronous event bus pushes updates to "Read Model Projections" (relational or graph databases). The "Read API" serves these projections back to Eviulon and the Public Portal. A distinct "HSM/Timestamp Authority" module provides RFC 3161 timestamps directly to the Merkle Log to anchor temporal validity.
.uai Memory Integration Appendix#
1\. Recommended /docs/ path and filename:/docs/architecture/patefacere-evidence-substrate.md 2\. Stable report identifier:PATEFACERE-EVIULON-ARCH-002 3\. Proposed .uai/long-term-memory.uai pointer text:\[REF: PATEFACERE-EVIULON-ARCH-002\] Defines the strict institutional and technical boundary between Patefacere (immutable system of evidence/state) and Eviulon (decision/governance logic) using event sourcing and verifiable Merkle logs. 4\. Durable memory statements (Active .uai distribution):
1. Patefacere stores, validates, versions, and protects evidence and state; it does not evaluate governance logic. 2. Eviulon interprets evidence and issues decisions; it does not maintain the authoritative evidence ledger. 3. Storing a record in Patefacere MUST NOT silently create legal effect or operational permission without Eviulon authorization. 4. A public interface MUST NOT possess the ability to mutate authoritative records. 5. Patefacere MUST remain independently recoverable even if Eviulon or public portals are unavailable. 6. Patefacere architecture utilizes Event Sourcing and an append-only Merkle tree transparency log. 7. Eviulon interacts with Patefacere's write path exclusively via cryptographically signed commands. 8. Patefacere validates cryptographic signatures and schema structures, not the constitutional validity of a decision. 9. Network partitions between Patefacere nodes are managed by the Raft consensus algorithm, prioritizing consistency over availability. 10. Eviulon reads state from Patefacere via CQRS-optimized Read Models. 11. Stale or contradictory evidence is retained immutably; corrections are appended as new events referencing prior records. 12. Exported Patefacere records must include verifiable inclusion proofs and short-lived Signed Certificate Timestamps (SCTs) to prevent misuse. 13. Historical data preservation against cryptographic degradation utilizes Evidence Record Syntax (RFC 4998). 14. System identities, including Machine Intelligence operational entities, utilize distinct, revocable cryptographic keys. 15. Under current external law, legal attribution of machine actions must map to a natural person or registered organization. 16. Raw PII is excluded from Patefacere's immutable ledger; only cryptographic hashes/commitments are stored. 17. During a Patefacere write-outage, Eviulon must fail closed for new decisions but may read degraded/cached state. 18. Patefacere implements a Zero Trust Architecture (NIST SP 800-207), treating API requests as untrusted regardless of network origin. 19. Eviulon serves as the Policy Decision Point (PDP); Patefacere serves as a Policy Enforcement Point (PEP) for cryptographic integrity. 20. Patefacere's state machine replication ensures that identical operations executed in identical order produce identical state across all nodes.
5\. Claims that must never enter active memory until independently verified:
- Claims that Patefacere is legally recognized as a binding notary or system of record by any specific external jurisdiction.
- Claims that Post-Quantum Cryptography (PQC) algorithms have been finalized and fully integrated into the production environment.
- Claims that the system has achieved formal ISO 16363 certification.
6\. Candidate additions to auxiliary files:
- architecture.uai: Add CQRS, Event Sourcing, Merkle Logs, SCITT endpoints, and Raft consensus as foundational Patefacere patterns.
- operations.uai: Add requirement for multi-region Raft deployment and regular Chaos Engineering partition testing.
- test-plan.uai: Add test cases for Merkle consistency proofs and Eviulon invalid-signature rejection.
- taboo.uai: Ban the use of "update in place" or "delete record" when referring to Patefacere data operations.
7\. Proposed machine-readable record fields:
JSON { "event\id": "uuid-v7", "institutional\authority": "eviulon-subsystem-id", "evidence\identity": "sha256-hash", "record\currentness": "active | superseded | revoked", "release\identity": "x509-cert-hash", "synchronization\status": "quorum\committed", "scitt\receipt": "cose-sign1-payload", "schema\_version": "v1.2.0" }
8\. Required future implementation proofs:
1. Cryptographic demonstration of a Merkle inclusion proof generated by Patefacere and verified by an independent client. 2. Demonstration of ERS (RFC 4998\) archive restamping to update historical hash signatures. 3. Simulation of a split-brain network partition demonstrating Patefacere successfully halting writes on the minority partition while preserving data integrity.
Works cited#
1. draft-ietf-scitt-architecture-22, https://datatracker.ietf.org/doc/html/draft-ietf-scitt-architecture-22 2. Exploring event-driven architecture in microservices- patterns, pitfalls and best practices, https://ijsra.net/sites/default/files/fulltext\_pdf/IJSRA-2021-0166.pdf 3. Supporting Multi-Leaf, Atomic Updates on Log-Based Merkle Trees, https://people.eecs.berkeley.edu/\~kubitron/courses/cs262a-F18/projects/reports/project5\_report\_ver2.pdf 4. Why Replication Is One of the Hardest Problems in Distributed Systems \- Medium, https://medium.com/codetodeploy/why-replication-is-one-of-the-hardest-problems-in-distributed-systems-960de0117657 5. (PDF) Raft and Beyond: Practical Consensus Mechanisms for Geo-Distributed Data Systems, https://www.researchgate.net/publication/403687963\_Raft\_and\_Beyond\_Practical\_Consensus\_Mechanisms\_for\_Geo-Distributed\_Data\_Systems 6. NIST SP 800-207: the Groundwork for Zero Trust \- Tetrate, https://tetrate.io/blog/nist-sp-207-the-groundwork-for-zero-trust 7. NIST Special Publication 800-207 \- DPO India, https://dpo-india.com/Resources/NIST/The-Zero-Trust-Architecture.pdf 8. GlassDB: Practical Verifiable Ledger Database System Through Transparency \- arXiv, https://arxiv.org/pdf/2207.00944 9. RFC 3161 \- Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP), https://datatracker.ietf.org/doc/html/rfc3161 10. Improvement and Implementation of a High Performance CQRS Architecture, https://www.computer.org/csdl/proceedings-article/icris/2017/1227a170/12OmNASILI1 11. Property Management System with Offline Synchronization Using CQRS Event Sourcing \- Komunitas Dosen Indonesia, https://jurnal.kdi.or.id/index.php/bt/article/download/3332/1920 12. Real-Time Payment Processing Architectures: Event-Driven Systems and Latency Optimization at Scale \- Eastern Centre of Science and Education, https://ecsenet.com/index.php/2576-6821/article/download/797/319 13. draft-ietf-scitt-scrapi-04, https://datatracker.ietf.org/doc/html/draft-ietf-scitt-scrapi-04 14. draft-ietf-scitt-scrapi-11 \- Supply Chain Integrity, Transparency, and Trust (SCITT) Reference APIs \- IETF Datatracker, https://datatracker.ietf.org/doc/draft-ietf-scitt-scrapi/ 15. Understanding the Split Brain Problem | PDF | Replication (Computing) | Distributed Computing \- Scribd, https://www.scribd.com/document/891900647/016-21-Split-Brain-Problem 16. Decentralized Dynamic Heterogeneous Redundancy Architecture Based on Raft Consensus Algorithm \- MDPI, https://www.mdpi.com/1999-5903/18/1/20 17. RFC 9162 \- Certificate Transparency Version 2.0 \- IETF Datatracker, https://datatracker.ietf.org/doc/rfc9162/ 18. Predictive Bayesian Arbitration: A Scalable Noisy-OR Model with Service Criticality Awareness \- arXiv, https://arxiv.org/html/2604.11989v1 19. IETF Contributions \- Vigil Security, LLC, https://www.vigilsec.com/ietf.html 20. \#KEYMASTER: The Evolution of Timestamping: From Classical to Post-Quantum Security, https://www.ejbca.org/resources/keymaster-the-evolution-of-timestamping-from-classical-to-post-quantum-security/ 21. Support | Truestamp, https://www.truestamp.com/support?c=library%2Frfc-6962-certificate-transparency 22. Data Integrity BBS Cryptosuites v1.0 \- W3C, https://www.w3.org/TR/vc-di-bbs/ 23. Zero-Knowledge Cloud Analytics \- Alan Zaoxing Liu, https://zaoxing.github.io/papers/2026/SIGCOMM26\_zkAnalytics.pdf 24. History for rfc6962 \- IETF Datatracker, https://datatracker.ietf.org/doc/rfc6962/history/ 25. Trusted Timestamping: Technical Aspects & Business Applications \- Idura, https://idura.eu/blog/trusted-timestamping 26. Time Requirements \- Keyfactor Docs, https://docs.keyfactor.com/signserver/latest/time-requirements 27. Certificate Transparency \- Wikipedia, https://en.wikipedia.org/wiki/Certificate\_Transparency 28. A next-generation Certificate Transparency log built on Cloudflare Workers, https://blog.cloudflare.com/azul-certificate-transparency-log/ 29. Flock: Fast Proving for Batch Boolean Computations \- arXiv, https://arxiv.org/html/2607.27491v1 30. Atlas: A Framework for ML Lifecycle Provenance & Transparency \- arXiv, https://arxiv.org/html/2502.19567v1 31. QUANTITATIVE VERIFICATION OF GOSSIP PROTOCOLS FOR, https://etheses.bham.ac.uk/id/eprint/11578/7/Oxford2021PhD.pdf 32. BT2X: Multi-Leveled Binary Transparency to Protect the Software Supply Chain of Operational Technology \- Fraunhofer-Publica, https://publica.fraunhofer.de/bitstreams/3c7072f7-4c35-4d07-b6ad-b597de58e556/download 33. SLSA 1.0: Improving Software Supply Chain Security \- Cycode, https://cycode.com/blog/slsa-1-0-improving-software-supply-chain-security/ 34. SBOM Formats Compared: CycloneDX vs SPDX \- Sbomify, https://sbomify.com/2026/01/15/sbom-formats-cyclonedx-vs-spdx/ 35. SCITT: Supply Chain Integrity, Transparency and Trust \- Conserver.io, https://www.conserver.io/deep-dives/scitt-supply-chain-integrity-transparency-and-trust 36. Angela: A Sparse, Distributed, and Highly Concurrent Merkle Tree \- (EECS) at UC Berkeley, https://people.eecs.berkeley.edu/\~kubitron/courses/cs262a-F18/projects/reports/project1\_report\_ver3.pdf 37. Right to History: A Sovereignty Kernel for Verifiable AI Agent Execution \- arXiv, https://arxiv.org/pdf/2602.20214 38. tessera package \- github.com/transparency-dev/trillian-tessera \- Go Packages, https://pkg.go.dev/github.com/transparency-dev/trillian-tessera 39. RFC 4998 \- Evidence Record Syntax (ERS) \- IETF Datatracker, https://datatracker.ietf.org/doc/html/rfc4998 40. RFC 6283 \- Extensible Markup Language Evidence Record Syntax (XMLERS), https://datatracker.ietf.org/doc/rfc6283/ 41. Audit and certification \- Digital Preservation Handbook, https://www.dpconline.org/handbook/institutional-strategies/audit-and-certification 42. Trusted Digital Repositories (ISO 16363), https://preservedigitalohio.com/standards/trusted-digital-repositories-iso-16363/index.html 43. ISO 16363, http://www.iso16363.org/ 44. Designing real-time distributed systems for high-frequency, high-volume data processing, https://wjaets.com/sites/default/files/fulltext\_pdf/WJAETS-2025-0683.pdf 45. Spanner: Google's Globally-Distributed Database, https://www.eecg.utoronto.ca/\~ashvin/courses/ece1724/2026w/lectures/5-spanner.pdf 46. Annex TR-ESOR-ERS: EvidenceRecord Profiling pursuant to RFC4998 and RFC6283 (Conformity Level 2 \- BSI, https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/TechGuidelines/TR03125/PrevVersion-1\_2/BSI\_TR\_03125\_TR-ESOR-ERS\_V1\_2\_EN.pdf?\_\_blob=publicationFile\&v=1 47. Tamper-Evident Witness Logs: SOTA survey and gap analysis for RVM's witness chain (keyed-BLAKE3 \+ Merkle sealing) vs transparency logs, verifiable DBs, and secure-logging literature, https://gist.github.com/ruvnet/2737be4a2fe48dc2e4f31e9b00e988f0 48. Proposal: External Temporal Anchoring Profile for Transparency Services \#460 \- GitHub, https://github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/issues/460 49. What Is NIST SP 800-207? zero trust Architecture Framework \- Palo Alto Networks, https://www.paloaltonetworks.com/cyberpedia/what-is-nist-sp-800-207 50. Machine Learning Models Have a Supply Chain Problem \- arXiv, https://arxiv.org/html/2505.22778v1 51. Overview \- SPDX, https://spdx.dev/learn/overview/
References in this report52 URLs · 102 occurrences
These are exact external URL occurrences found in this curated report. Section links identify only the nearest preceding rendered heading; they do not prove that a source supports every statement in that section, or that the source is current, correct, authoritative, or endorsed.
- arxiv.org/html/2502.19567v1
- arxiv.org/html/2505.22778v1
- arxiv.org/html/2604.11989v1
- arxiv.org/html/2607.27491v1
- arxiv.org/pdf/2207.00944
- arxiv.org/pdf/2602.20214
- blog.cloudflare.com/azul-certificate-transparency-log/
- cycode.com/blog/slsa-1-0-improving-software-supply-chain-security/
- datatracker.ietf.org/doc/draft-ietf-scitt-scrapi/
- datatracker.ietf.org/doc/html/draft-ietf-scitt-architecture-22
- datatracker.ietf.org/doc/html/draft-ietf-scitt-scrapi-04
- datatracker.ietf.org/doc/html/rfc3161
- datatracker.ietf.org/doc/html/rfc4998
- datatracker.ietf.org/doc/rfc6283/
- datatracker.ietf.org/doc/rfc6962/history/
- datatracker.ietf.org/doc/rfc9162/
- docs.keyfactor.com/signserver/latest/time-requirements
- dpo-india.com/Resources/NIST/The-Zero-Trust-Architecture.pdf
- ecsenet.com/index.php/2576-6821/article/download/797/319
- en.wikipedia.org/wiki/Certificate_Transparency
- etheses.bham.ac.uk/id/eprint/11578/7/Oxford2021PhD.pdf
- gist.github.com/ruvnet/2737be4a2fe48dc2e4f31e9b00e988f0
- github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/issues/460
- idura.eu/blog/trusted-timestamping
- ijsra.net/sites/default/files/fulltext_pdf/IJSRA-2021-0166.pdf
- jurnal.kdi.or.id/index.php/bt/article/download/3332/1920
- medium.com/codetodeploy/why-replication-is-one-of-the-hardest-problems-in-distributed-systems-960de0117657
- people.eecs.berkeley.edu/~kubitron/courses/cs262a-F18/projects/reports/project1_report_ver3.pdf
- people.eecs.berkeley.edu/~kubitron/courses/cs262a-F18/projects/reports/project5_report_ver2.pdf
- pkg.go.dev/github.com/transparency-dev/trillian-tessera
- preservedigitalohio.com/standards/trusted-digital-repositories-iso-16363/index.html
- publica.fraunhofer.de/bitstreams/3c7072f7-4c35-4d07-b6ad-b597de58e556/download
- sbomify.com/2026/01/15/sbom-formats-cyclonedx-vs-spdx/
- spdx.dev/learn/overview/
- tetrate.io/blog/nist-sp-207-the-groundwork-for-zero-trust
- wjaets.com/sites/default/files/fulltext_pdf/WJAETS-2025-0683.pdf
- www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/TechGuidelines/TR03125/PrevVer…=publicationFile&v=1
- www.computer.org/csdl/proceedings-article/icris/2017/1227a170/12OmNASILI1
- www.conserver.io/deep-dives/scitt-supply-chain-integrity-transparency-and-trust
- www.dpconline.org/handbook/institutional-strategies/audit-and-certification
- www.eecg.utoronto.ca/~ashvin/courses/ece1724/2026w/lectures/5-spanner.pdf
- www.ejbca.org/resources/keymaster-the-evolution-of-timestamping-from-classical-to-post-quantum-security/
- www.iso16363.org/
- www.mdpi.com/1999-5903/18/1/20
- www.paloaltonetworks.com/cyberpedia/what-is-nist-sp-800-207
- www.researchgate.net/publication/403687963_Raft_and_Beyond_Practical_Consensus_Mechanis…ributed_Data_Systems
- www.scribd.com/document/891900647/016-21-Split-Brain-Problem
- www.truestamp.com/support?c=library%2Frfc-6962-certificate-transparency
- www.truestamp.com/support?c=library/rfc-6962-certificate-transparency
- www.vigilsec.com/ietf.html
- www.w3.org/TR/vc-di-bbs/
- zaoxing.github.io/papers/2026/SIGCOMM26_zkAnalytics.pdf