Civil & ID check · Civil Registry Adapter → Social Fund
instrument=INST-ID-04 | assertion=ALIVE_MATCH | pii=MINIMISED
Technology · Layer: transport
How does one signed sovereign exchange gateway connect existing public registries without duplicating databases or creating a single point of surveillance?
01 · Layer 02 · Sovereign transport & exchange · Heat 3 · Time test
Registry interoperability connects existing ministries and agencies through one signed, schema-governed exchange gateway so each registry remains the sole authority for its own records while every cross-agency query is logged, hash-chained and revocable.
OpenAPI 3.1 contracts publish machine-readable schemas and versioned deprecation windows for every registry adapter.
ISO 20022 provides structured payment and settlement messaging between Treasury, banks and benefit platforms.
GDPR Article 5(1)(c) benchmark for limiting cross-registry exchanges to strictly necessary attributes.
World Bank ID4D global benchmark showing why linking civil, identity and payment registries matters.
Most public digital reforms stall because they attempt to merge ten agency databases into one monolithic super-registry. Ministries rightly resist surrendering custody of civil registration, tax rolls, company registries or customs declarations, and multi-year data migrations routinely overrun both budget and political cycles. Public-sector IT studies confirm how severe that duration risk is: across a 1,355-project public IT sample, every extra year of project duration adds measurable cost risk and pushes tail-risk projects into severe overruns.
Tie Wang follows the inverse architecture: connect, never duplicate. Each statutory agency keeps its own database, legal custodian and schema ownership. A sovereign exchange gateway sits between them as a documented transport layer, translating published interface contracts over mutual TLS, enforcing purpose-limited access scopes, and sealing every request and response digest into a hash-chained exchange log.
This federated design allows a customs office to verify a company tax status, a social-security fund to confirm a civil birth or death record, or a payment gateway to validate a beneficiary entitlement in seconds without copying bulk tables across agencies. Every certificate issued through the gateway carries a compact cryptographic signature that any field officer, bank or citizen can verify offline by code.
Crucially, every bilateral link operates under its own signed electronic instrument specifying which fields may cross, for what statutory purpose, and which public officer can suspend the link instantly. Interoperability becomes an auditable legal contract enforced in software rather than an informal file transfer.
+4.2 pp/yr
In 1,355 public-sector IT projects, each extra year of duration adds 4.2 percentage points to average cost overrun risk.
Source: Saïd Business School (arXiv:1304.4525, 2013) Open record ↗
Article 5(1)(c)
Exchange profiles return only yes/no assertions or strictly required statutory attributes instead of full personal dossiers.
Source: EU Regulation 2016/679 (GDPR) Open record ↗
Rec. 33
International trade single-window principles emphasise submitting standardised data once and routing across agencies.
Source: UN/CEFACT Recommendation 33 (2020) Open record ↗
Standards designed against
Published standards shaping Registry interoperability within Sovereign transport & exchange (design basis only, never a certification claim):
02 · Architecture & data model
Inspect the 4 security nodes for Registry interoperability or toggle the tabular register, then review canonical custody rules starting with RegistryMember.
Federated sovereign exchange gateway with per-agency security servers and chained audit logs. Four security zones in sequence: Agency A · Provider (Authoritative registry adapter, OpenAPI 3.1 / X.509 mTLS); Layer 02 · Gateway (Signed exchange bus, Mutual TLS + signed envelope); Layer 03 · Proof (Hash-chained exchange log, SHA-256 + RFC 3161); Agency B · Consumer (Consuming portal & QR verifier, Signed JSON-LD / CBOR cert).
Control gate: Agency keeps write custody; adapter exposes strictly scoped read views (OpenAPI 3.1 / X.509 mTLS)
Control gate: Checks bilateral legal instrument ID, rate quota and attribute minimisation (Mutual TLS + signed envelope)
Control gate: Logs requester, legal basis, timestamp and response digest without hoarding PII (SHA-256 + RFC 3161)
Control gate: Verifies signed status certificate online or offline via public-key bundle (Signed JSON-LD / CBOR cert)
| Security zone | Component | Protocol / standard | Control gate | Custody owner |
|---|---|---|---|---|
| Agency A · Provider | Authoritative registry adapter | OpenAPI 3.1 / X.509 mTLS | Agency keeps write custody; adapter exposes strictly scoped read views | Source ministry |
| Layer 02 · Gateway | Signed exchange bus | Mutual TLS + signed envelope | Checks bilateral legal instrument ID, rate quota and attribute minimisation | National exchange operator |
| Layer 03 · Proof | Hash-chained exchange log | SHA-256 + RFC 3161 | Logs requester, legal basis, timestamp and response digest without hoarding PII | State audit vault |
| Agency B · Consumer | Consuming portal & QR verifier | Signed JSON-LD / CBOR cert | Verifies signed status certificate online or offline via public-key bundle | Consuming authority |
Illustrative Source: Tie Wang Layer 02 interoperability architecture (designed against OpenAPI 3.1, ISO 20022 and UN/CEFACT Rec. 33)
A disciplined exchange gateway deliberately stores as little personal or commercial data as possible. It maintains five control tables: the member registry directory, signed bilateral exchange instruments, versioned OpenAPI schema contracts, cryptographic key-revocation lists and the hash-chained exchange metadata log. Business payloads pass end-to-end encrypted between the provider security server and the consumer security server; the central gateway records only who asked, under which statutory instrument, at what millisecond and what digest was signed.
To preserve privacy and avoid fragile national-ID lock-in, cross-registry matching uses sector-scoped pairwise tokens or minimal verifiable assertions (for example, returning "tax-clearance valid through date" rather than full tax returns). When an agency revokes an agreement or rotates a signing certificate, the gateway enforces the change across every connected endpoint within seconds.
| Data entity | Join / primary key | Immutability control | Retention window | Custodian |
|---|---|---|---|---|
| RegistryMember | agency_code + x509_thumbprint | PKI directory signed by national CA | Active plus historical cert archive | National PKI authority |
| ExchangeInstrument | instrument_id + effective_dates | Dual-signed by both agency heads | Permanent legal record | Inter-ministerial committee |
| SchemaContract | service_id + semver | Versioned OpenAPI 3.1 bundle | All past versions archived | Technical architecture board |
| ExchangeReceipt | trace_uuid + prev_receipt_hash | SHA-256 chained metadata (no payload PII) | Statutory audit period | Sovereign ledger mirror |
| VerifiableCertificate | cert_id + issuer_key_id | Ed25519/ECDSA signed QR/code payload | Validity window + revocation list | Issuing statutory agency |
Illustrative Source: Tie Wang Layer 02 canonical schema specification
03 · Operable instrument & performance budget
Run Signed inter-registry exchange log & revocation verifier below to stress-test registry interoperability controls live, paired with illustrative round-trip latency budget for a multi-registry clearance query.
Operable engineering instrument
ComputedTamper with any cross-agency exchange receipt below to observe how the federated audit chain exposes unauthorised lookup alteration or instrument spoofing.
b9738ca3adb1869df7f8100c... Civil & ID check · Civil Registry Adapter → Social Fund
instrument=INST-ID-04 | assertion=ALIVE_MATCH | pii=MINIMISED
Company status · Company Registry → Customs Gateway
instrument=INST-REG-12 | status=ACTIVE_GOOD_STANDING
Tax clearance · Tax Registry → Licensing Desk
instrument=INST-TAX-09 | cert=TC-2026-991 | valid=TRUE
Payment settlement · Treasury Switch → Benefit Platform
instrument=INST-PAY-02 | iso20022=pacs.008 | settled=CONFIRMED
Source: Live FIPS 180-4 SHA-256 verification across illustrative four-registry clearance workflow
Illustrative round-trip latency budget for a multi-registry clearance query. Illustrative round-trip latency budget for a multi-registry clearance query from mTLS & instrument policy check to Consumer validation & render: starts at 65 ms, ends at 80 ms, range 65 ms to 340 ms.
Federated adapters resolve multi-agency checks inside a two-second interactive SLA without centralising databases
| Stage or tier | Value (ms) | Engineering rationale |
|---|---|---|
| mTLS & instrument policy check | 65 | Proxy verification of cert & legal scope |
| Source registry indexed lookup | 340 | Legacy agency database read adapter |
| Attribute filter & response sign | 95 | Data-minimisation filter + HSM sign |
| Exchange receipt hash chain | 110 | Append metadata digest to audit log |
| Consumer validation & render | 80 | Signature verify and officer desk display |
Illustrative Source: Tie Wang Layer 02 exchange gateway engineering design envelope (illustrative)
04 · Operational sequence
Step through Registry interoperability from legal scope precedes technical access to certificates checkable anywhere by code; the schematic plate updates on every beat.
Before two registries exchange a single byte, both agency heads sign a machine-readable Exchange Instrument defining allowed endpoints, fields, rate quotas and statutory purpose. The gateway refuses traffic that lacks an active signed instrument.
Queries travel peer-to-peer between hardened agency security proxies over mutual TLS. Both sides stamp the transaction digest into their local log and replicate only the non-sensitive metadata receipt to the sovereign audit chain.
Certificates issued after cross-registry checks (tax clearance, export permits, contribution receipts) embed a compact cryptographic signature in a QR code so remote officers or banks verify authenticity even during connectivity loss.
05 · Interfaces, failure modes & honest limits
5 published interface contracts and 4 failure modes for Registry interoperability, stating degraded fallbacks and where statutory or field duties begin.
| Interface | Direction | Protocol / schema | Control gate | Degraded / offline mode |
|---|---|---|---|---|
| Legacy Registry Read Adapter | Bidirectional (agency edge) | OpenAPI 3.1 / REST or ISO 20022 bridge | Read-only replica query; never writes to agency core tables | Circuit breaker trips on timeout; returns explicit unavailable state |
| Inter-Agency Security Bus | Peer-to-peer federated | TLS 1.3 mutual auth + signed JWS | Active Exchange Instrument ID + per-second rate cap | Queued asynchronous fallback for non-blocking batch reconciliations |
| National PKI & Revocation Feed | Control plane | OCSP / CRL signed distribution | Root CA held offline in sovereign ceremony; short-lived leaf certs | Graceful cached CRL window with alert on stale revocation data |
| Citizen & Officer Verifier API | Public read-only | Signed QR payload + HTTPS verify endpoint | Returns validity, issuer and date only; never exposes underlying dossier | Offline public-key verification inside installable field app |
| Audit & Privacy Oversight Feed | Outbound (oversight) | Append-only metadata stream | Flags anomalous lookup spikes or after-hours bulk queries automatically | Local immutable spool on agency proxy until central audit reconnects |
Illustrative Source: Tie Wang Layer 02 interface control document
| Failure mode | Operational symptom | Engineering containment | Honest limit |
|---|---|---|---|
| Legacy registry downtime or slow index | One ministry database goes offline during peak customs or benefit hours. | Per-endpoint circuit breakers isolate the outage, mark affected assertions as "unverified due to source outage" and allow explicit statutory contingency rules without crashing sibling agencies. | An exchange gateway cannot make an unmaintained legacy database reliable; read replicas and clear SLAs remain necessary. |
| Silent schema change by a participating agency | An agency upgrades its software and alters a field meaning or code list without notice. | Strict OpenAPI 3.1 contract validation rejects malformed responses at the provider proxy before bad data propagate downstream. | Contract tests catch structural breaks immediately, whereas semantic shifts (redefining a status code) require joint change-control governance. |
| Duplicate or unlinked entity identifiers across agencies | A taxpayer or company appears under three incompatible spellings across tax, customs and company rolls. | Deterministic cross-walk tables record confidence-scored candidate links and route ambiguous matches to a human data steward rather than auto-merging. | Interoperability exposes historical master-data debt; cleaning legacy duplicates is a phased administrative effort. |
| Insider browsing of personal records | A valid officer account queries records unrelated to any assigned case. | Every lookup requires a case reference, logs to the immutable exchange chain and triggers automated anomaly alerts to the privacy officer. | Logging deters and detects abuse after the fact; strict role scoping and legal sanctions remain essential. |
Illustrative Source: Tie Wang engineering hazard and failure-mode register
Technical interoperability cannot override missing legal authority. Connecting a tax registry to a land cadastre or social-security fund requires explicit statutory backing, data-protection compliance and ministerial sign-off on each bilateral exchange instrument. Tie Wang treats legal mapping as a prerequisite of Layer 02 rather than an afterthought.
Equally, federated exchange does not magically clean twenty years of duplicate paper entries inside legacy ministries. What it does is stop new fragmentation immediately, establish one verifiable interface contract and surface legacy identity mismatches systematically so agencies can resolve them in priority order.
06 · Action by audience
Follow how Registry interoperability inside Sovereign transport & exchange connects to adjacent stack layers, illustrative structures and working instruments.
Ministry of digital governance or finance
Connect tax, customs, civil and payment registries in months without forcing any agency to abandon its core system.
Development bank & DPI lender
Reduce multi-year IT overrun risk by sequencing modular, contract-tested adapters instead of monolithic rewrites.
Agency technical director
Expose strictly read-only, rate-limited endpoints backed by signed bilateral instruments you can revoke in seconds.
Local systems integrator
Build and maintain agency-specific legacy adapters under published OpenAPI 3.1 contracts and automated regression tests.