Open to principal-scope roles · Phoenix, Arizona · Remote or hybrid
Playbook 06 · Architecture advice ages badly when you stop building
How I take a product from a blank repository to something people depend on: data model, API, auth, front end, pipeline, observability and cost, with the questions, the build in order, and three products I ship myself.
Tap a tool for a quick explanation.
What is it?
A general-purpose programming language used for applications, automation and data work.
Think of it as
The language used to write the instructions.
What is it?
A Python framework for building web APIs using type hints, with request validation and API documentation support.
Think of it as
A structured way to turn Python functions into an API.
What is it?
JavaScript with a type system that helps catch mistakes during development; types do not validate runtime input by themselves.
Think of it as
A development-time check on the shapes of your data.
What is it?
React builds component-based interfaces. Next.js adds an application framework around React, including routing and rendering features.
Think of it as
React supplies interface pieces; Next.js organises the application.
What is it?
An open-source relational database with SQL, transactions and extensibility.
Think of it as
A structured store that keeps related records consistent.
What is it?
A document database that stores records as flexible, JSON-like documents.
Think of it as
Keep related fields together in a document.
What is it?
A family of managed SQL offerings on Azure, including Azure SQL Database and Managed Instance.
Think of it as
SQL databases with different levels of platform management.
What is it?
Entra ID is an identity provider. OAuth 2.0 is a protocol for delegated access; OpenID Connect adds authentication on top.
Think of it as
Who you are and what access an application is granted are related but distinct.
What is it?
Managed container hosting for services and jobs, with scaling options and less direct cluster administration.
Think of it as
Run the container without operating your own Kubernetes cluster.
What is it?
Managed hosting for web applications and APIs, with platform features such as scaling and deployment slots.
Think of it as
A managed home for a web app.
What is it?
Amazon Web Services provides cloud services for computing, storage, databases and other infrastructure needs.
Think of it as
A cloud platform offering building blocks for applications.
What is it?
Amazon Simple Storage Service stores objects in buckets, commonly used for files, backups and static website assets.
Think of it as
An object store, not a relational database.
What is it?
Automates repository workflows such as building, testing and deploying code.
Think of it as
The repeatable checklist that runs when code changes.
What is it?
Application performance monitoring within Azure Monitor, using telemetry to investigate requests, dependencies and failures.
Think of it as
Follow a request to see where it slowed down or failed.
What is it?
Open standards and tooling for producing and exporting traces, metrics and logs.
Think of it as
A common language for application telemetry, not the storage backend.
A principal architect who cannot ship is giving advice they have not tested. I build products end to end: the data model, the services, the authorisation, the interface, the release pipeline, and the operations that keep it alive at three in the morning. This playbook is the sequence I follow whether the product is a clinical system for a non-profit, a consumer platform with real traffic, or a multi-tenant platform for an industry. The stack changes. The order does not.
These are the questions I answer for my own products before writing code, and the ones I ask a team whose product I am reviewing.
This is the order on Azure. The AWS version differs only in the service names, and I run one of each in production.
The record first because every product I have seen fail at scale failed in the data model, and the data model is the one layer you cannot refactor over a weekend. On the EMR, the canonical patient record and its immutable provenance were designed before any screen existed, which is why the system can be trusted with 250+ active patients.
The contract before the interface because the API is the product’s long-term shape. Interfaces get rebuilt; a contract that other systems depend on is forever.
Identity before features because adding authorisation to a product that already works means finding every place a decision should have been made and was not. On a clinical system, that list is the compliance finding.
The boring stack because I operate these products myself. Python, TypeScript, a relational database, containers, and a managed platform are the stack I can debug at any hour, and that fact is worth more than any benchmark.
Containers and a pipeline from the first commit because “it works on my machine” is the most expensive sentence in software, and a pipeline built after the product is a migration nobody schedules.
Three numbers on a dashboard because a wall of metrics is where incidents hide. Success rate, latency, and the count of the core action answer “are users fine” in one glance.
Cost alarms because a consumer platform with real traffic can double its storage and egress bill in a week of success, and the first warning should be an alert, not an invoice.
FAJR Global EMR. A HIPAA-aligned electronic medical record built in Python for a non-profit, in production with 250+ active patient records. One canonical patient record across demographics, cases, labs, imaging, documents and clinical updates. Multilingual document intake with OCR and extraction confidence scores, identity reconciliation that proposes but never merges, immutable audit and provenance on every change, and a human at every point where a judgment enters a record. The data model is the security model.
DivineMarvels. A consumer knowledge platform I designed, built and operate on AWS with MongoDB and S3. Word-by-word recitation and audio, a personalised dashboard, and AI features governed by explicit provenance rules: recitation follow-along with per-word highlighting and audio-based verse detection that jumps the reader to the matching passage. The interesting engineering is not the AI. It is the provenance rule that decides what the AI is allowed to assert and the media pipeline and caching that keep the bill sane under real traffic.
HILUM Systems. A multi-tenant EMR and practice platform, in development, that stands up a clinical practice in minutes: patient portal, admin console, scheduling, notifications. Identity, patient context, authorisation, audit and workflow are shared platform services so specialty applications extend the platform instead of becoming silos. It is the EMR’s lessons rebuilt as a platform, with the tenant model from the foundations playbook underneath.
A schema designed around the first screen. An API that mirrors the database tables. Authorisation checked in the front end. A framework chosen from a conference talk that one person on the team can operate. Deployments by hand from one laptop. Logs without a correlation id. A dashboard with forty charts and no alert. A storage bill that doubled in a month nobody noticed. And a feature list that never had a “not building” column, so the first release never ships. Each of these has a line in the method, because products fail the same way estates do, just faster.
A data model with ownership, audit, and provenance drawn and explained. An OpenAPI document that is the contract. An authorisation matrix: who, what, on which record, logged where. A repository with the application, the infrastructure, and the pipeline, where a new engineer can deploy on day one. A dashboard with three numbers and three alerts. A cost model per user with the alarm thresholds set. And the “not building” list, so the next release has the same discipline as the first.
Every playbook here follows the same five moves: Scope, Harden, Anchor, Measure, Sustain. The SHAMS Method is where they come from, and the gate check is how you find out which one your project is missing.
Next
Agents, grounding, evaluation, and governance: the questions I ask, the Azure build in order, and what it looked like when it was real.