Demiton LogoDemiton
Back to all articles
Building the Bedrock: A Look Inside Demiton's Foundational Engineering Sprint

Building the Bedrock: A Look Inside Demiton's Foundational Engineering Sprint

By Justin Trollip, Founder of Demiton on 23 June 2025

engineering
architecture
product development
industrial automation
gmp compliance
technical debt
devops

Every factory floor operates on a fundamental truth: the code running on a machine is the business. An incorrect parameter in a PLC isn't a technical glitch; it's a multi-million-dollar batch failure, a product recall, or a critical audit finding waiting to happen.

At Demiton, our ultimate vision is to provide a real-time Control Hub for the factory floor—an active governance layer that doesn't just report what happened, but ensures the right code is running at all times. But to build that automated future, we first had to perfect the manual present.

This past week, our engineering department completed a monumental sprint to build that very foundation. We didn't just fix bugs; we re-architected our core platform to forge an unbreakable, auditable "chain of custody" for operational code. This post is a look inside that effort.

The Core Problem: Architecting for an Unbreakable Audit Trail

Our ultimate goal, the Demiton Gateway, requires a perfect, unambiguous system of record. To govern a device in real-time, we must know with absolute certainty: What code should be on this device? Who approved it? And when was it deployed?

Our previous architecture was not built for this level of rigor. So, we started with a foundational refactor.

  • We eliminated our old, ambiguous "Snippet" model and replaced it with a highly structured FunctionBlock + FunctionBlockLink architecture.

So What? (The ROI): This wasn't just a rename. This change created a new, explicit data model that forms the core of our value proposition. We can now say, with database-enforced certainty: "This specific Device is associated with this specific Function Block Link, which points to this specific version of the Function Block code, which was authorized by this specific Deployment Request."

This is the digital chain of custody. It's the bedrock on which everything else is built.

The First Milestone: A Bulletproof Manual Deployment Workflow

With the new architecture in place, we were able to build the essential prerequisite for real-time control: a complete, end-to-end workflow for manual deployments. This feature is a direct solution for our partners and customers today.

  • We built out the full-stack Change Control feature, allowing engineers to request a deployment and managers to approve it with a full side-by-side "diff" view of the code changes.
  • We implemented the concept of an "Approved" Golden Record, allowing QA teams to designate the single, validated version of a template that is authorized for use.
  • We fixed a cascade of bugs across the entire stack, from login and permissions to the UI and email validation, to ensure the process is seamless and secure.

So What? (The ROI): For our customers in TGA and GMP-regulated environments, this is the digital equivalent of their paper-based change control system, but without the paperwork. It provides the formal procedure and the immutable electronic records required to effortlessly pass an audit.

The Path Forward: The Real-Time Control Hub

This is the most critical point: the manual deployment workflow we just built is not the final destination. It is the blueprint for automation.

The Demiton Gateway, our on-site agent, will plug directly into this exact workflow. When the Gateway detects an unauthorized change on a locked-down device, it will use this same "chain of custody" to:

  1. Identify the device's designated "Golden Record" from the approved FunctionBlockLink.
  2. Instantly and automatically revert the device's configuration back to that approved state.
  3. Create an AuditLog entry showing the deviation was detected and automatically corrected.

The manual process we perfected this week defines the rules. The Gateway will be the tireless robot that enforces them, 24/7.

This sprint was a massive leap forward. We've built the auditable, structured foundation that makes our real-time vision possible. We've delivered immediate value to our partners who need to manage change control today, while paving the way for the active, automated governance of tomorrow.


Want to see how this new foundation can de-risk your operations? Schedule a demo with our team and let's talk about building your system of action.