Partnership · Case Study — Platform Governance

One template ID, identical in every environment

A leading U.S. supplier of home-delivered urologic and ostomy products runs a document intelligence platform that depends on templates behaving the same way from Development to Production. 10Decoders built a synchronisation engine that keeps template IDs and schemas aligned across all four environments automatically, without ever slowing down the people using them.

Canonical ID ReservationSkeleton DistributionDegraded-Mode FallbackZero-Trust Service Auth
Client
Home-Delivered Urology & Ostomy Supplier
Domain
Healthcare · Enterprise AI Governance
Model
Core Platform Engineering
Disciplines
Distributed Systems · Security · AI Ops
Overview

Same template, same number, everywhere

The client's platform reads medical forms with AI: extraction models, text-region detection and signature checks all follow structured templates. Every template has an ID, and every downstream step trusts that ID to point at the right form. When a template built in testing got a different ID once it reached Production, results landed against the wrong schema and audit trails broke.

10Decoders made Production the single source of truth for template IDs, then built the plumbing to reserve, distribute and secure those IDs across Development, UAT, Staging and Production — all in the background, with a safe fallback when a remote environment is unreachable.

Under the Hood

Six pieces that keep environments in step

Source of Truth

Production as Canonical Registry

Production allocates every global template ID, so no two environments ever hand out the same number twice.

Reservation

Canonical ID Reservation

Lower environments request the next global ID before creating a template, then align their own sequences to match.

Distribution

Skeleton Reference Copies

Production pushes an inactive placeholder with the canonical ID and metadata to every other environment.

Resilience

Degraded-Mode Fallback

If Production can't be reached, template creation falls back to local allocation and finishes in milliseconds.

Security

Dedicated Service Accounts

Each environment provisions its own service account on first sync, so no user credentials cross environment lines.

Verification

Signed Token Checks

Every inter-environment request is cryptographically signed and independently verified before any data is accepted.

Template ID 45 meant one form in UAT and a different form in Production.

The Challenge

  • Each environment's database handed out its own template IDs, so the same template drifted to different numbers.
  • Extraction pipelines referencing a drifted ID mapped medical data to the wrong form schema.
  • Moving templates between environments meant manual scripts, environment freezes and release delays.
  • Synchronous cross-environment calls risked stalling local users whenever a remote environment was slow or down.

Our Approach

  • Made Production the only place global template IDs are issued, with every environment reserving from it.
  • Guaranteed every environment uses the same canonical ID for the same template, so schemas always match.
  • Replaced manual migration with automatic skeleton distribution running in the background.
  • Kept every sync step non-blocking, with a local fallback so template creation never waits on the network.
The Approach

The Solution

Before a template is created in any lower environment, the platform sends a short, authenticated request to Production to reserve the next canonical ID. Production records the reservation and returns the number; the originating environment saves its template under that exact ID and moves its own database sequence forward so it never collides later.

Once a template exists, Production broadcasts an inactive skeleton copy to every other environment, holding that ID so nobody can overwrite the slot by accident. Teams configure and test templates the way they always have — the alignment happens on its own, and every lifecycle event is logged with a trace that follows it across environments.

1

Reserve

Lower environment asks Production for the next global template ID.

2

Create & Align

Template is saved under the canonical ID; the local sequence is moved past it.

3

Distribute

Production sends an inactive skeleton copy to every other environment.

4

Verify & Trace

Signed requests are checked on arrival; every event is logged end to end.

Architecture

From local edit to global alignment

Lower Environments

Dev · UAT · Staging

Teams create and test templates locally, requesting a canonical ID first.

Sync Engine

Production Canonical Registry

Reserves IDs, verifies signed requests and broadcasts skeleton copies.

Outcome

Aligned Schemas Everywhere

Extraction pipelines in every environment resolve each ID to the same form.

Why It Works

Built to be correct and fast at once

Integrity

One Issuer, No Collisions

A single canonical registry removes the root cause of ID drift instead of patching it after the fact.

Canonical IDsSequence Alignment
Speed

Nothing Waits on the Network

Sync runs asynchronously, so local API responses stay sub-second regardless of remote latency.

AsyncNon-Blocking
Resilience

Graceful When Production Is Down

Degraded mode lets work continue locally instead of throwing errors during outages or maintenance.

FallbackZero Errors
Protection

Reserved Slots Can't Be Overwritten

Skeleton copies hold each canonical ID in every database before anyone can reuse it.

SkeletonsSlot Guard
Security

Zero-Trust Between Environments

Dedicated service accounts and signed tokens mean each environment verifies callers for itself.

Service AccountsSigned Tokens
Compliance

Every Change Is Traceable

Global trace tracking follows each template lifecycle event across all environments for audits.

Audit TrailGlobal Trace
What We Built

Three capabilities, one engine

01

Canonical ID Reservation

Production-issued global template IDs with automatic sequence alignment in every lower environment.

02

Asynchronous Skeleton Distribution

Background broadcast of inactive reference copies that reserve each ID across all databases.

03

Zero-Trust Service Security

Auto-provisioned service accounts and cryptographic token checks on every cross-environment request.

The Shift

What changed for the platform

1

Zero ID collisions

Every environment now resolves a template ID to the same form, with one source of truth behind it.

2

Zero processing delays

Local workflows stay sub-second because synchronisation never sits in the request path.

3

Four environments aligned

Development, UAT, Staging and Production stay in continuous step without coordination meetings.

4

No more manual scripts

Template distribution is fully automated — no hand-run database updates or environment freezes.

5

Extraction data stays correct

AI pipelines no longer map medical form data to the wrong schema between UAT and Production.

6

Audits get simpler

Each template's full lifecycle is logged with a trace that spans every environment.

Delivery & IP

How it was delivered

Delivery Quality

  • Live in production, synchronising real medical templates in the client's infrastructure.
  • Rolled out without blocking day-to-day template configuration or testing.
  • Built on top of the client's existing document intelligence platform.

Security & Compliance

  • No user credentials ever travel between environments.
  • Every inbound sync request is signed and independently verified.
  • Lifecycle events carry a global trace for regulatory review.

IP & Reusability

  • Designed as a reusable core platform capability.
  • Now a standard 10Decoders pattern for multi-environment AI schema management.
  • Roadmap: field-level diffing and one-click versioned rollback.
The Outcome

Value for every team that touches templates

Engineering

Configure freely, ship sooner

Teams build and test templates anywhere without scheduling migrations or freezing environments.

Operations

Extraction you can trust

Medical documents are always read against the right form, so downstream workflows fire correctly.

Compliance

A clear trail for audits

Every template change is traceable across environments, simplifying regulatory review.

Talk to our CTO

Start with a thirty-minute conversation.

No 50-page proposals. We'll tell you which level fits your situation, what a realistic engagement looks like, and what it would cost — in one direct meeting.

Who you'll talk to
Thomas, CTO at 10decoders

Thomas

Chief Technology Officer

Connect on LinkedIn

Thomas leads 10decoders' AI engineering practice and sits in on the scoping call himself — so the person mapping your engagement is the one who has shipped it before. His teams build and deploy agents for mid-market healthcare and fintech companies, with enterprise grade build experience for clients like IBM, Dedalus and Harris Healthcare. He'll be straight with you about what's worth doing and what isn't.

200+
Engineers
37+
Global Clients
ISO
27001 / 9001
Partner Program

Love what we're doing? Want to partner and sell our products or services?

Explore partner programs →

Send us an inquiry

Three fields. We'll reply within one business day.