Khalid ShamsPrincipal Solutions Architect

Writing

Notes from the work.

Short essays on architecture, agentic AI, and the decisions that actually cost money. Published here first, then on LinkedIn. RSS.

December 4, 2026

The queue is part of the product

A task deadline includes waiting, execution and review, so queued work needs age and expiry controls.

December 3, 2026

The slide nobody wants to see

A dependency map becomes useful when it identifies owners, unknowns and the consequence of one missing dependency.

December 2, 2026

Version the question behind the metric

A change to a metric definition needs a visible version and a plan for old and new results.

December 1, 2026

What building on AWS taught me about boring

A restore rehearsal checks whether recovered data can support a usable service, not just whether a backup job ran.

November 30, 2026

The cache remembers the old permission

Cached content must remain subject to current access rules at the point it is served.

November 27, 2026

A dashboard can disagree politely

Compare business definitions before treating two different numbers as a data-pipeline failure.

November 26, 2026

A deletion has more than one address

Trace deletion across the copies a system creates, with explicit retention exceptions and verification.

November 25, 2026

The fallback needs a smaller promise

A degraded mode should state which outcomes remain possible and which actions must stop.

November 24, 2026

The pilot that never ends

Pilots don't fail. They just never finish, because nobody wrote down what finished looks like.

November 23, 2026

Draw the finish line before the flow

Work backward from an accepted business outcome to the records, authority and contracts that make it possible.

November 20, 2026

Hand over the proof

Let another person reproduce one permitted result, one refusal and one recovery path.

November 19, 2026

Small models, big boundaries

A model swap belongs inside a tested task boundary, with explicit validation and escalation.

November 18, 2026

Change one assumption on purpose

Test an architectural decision by changing the condition that justified it.

November 17, 2026

The cost of seeing everything

A log budget starts with the decisions the data must support. Keep detection, investigation and retention needs visible.

November 16, 2026

Change the room and keep the decision

The audience changes the explanation; the permissions and operating commitments stay explicit.

November 13, 2026

Recovery needs a clock

Measure the steps required to restore service and reconcile completed actions.

November 12, 2026

A migration is a change of ownership

Customer success taught me the migration isn't done at cutover. It's done when the other team runs it without you.

November 11, 2026

The write you cannot see

A timed-out write needs reconciliation before another attempt.

November 10, 2026

Idempotent or it didn't happen

An agent will retry. If a write isn't safe to retry, the agent will eventually do it twice.

November 9, 2026

Price the finished work

Measure cost across completed, failed and reviewed work before celebrating cheap tokens.

November 6, 2026

Approval has a version

An approval belongs to an exact proposal and must survive a fresh permission check.

November 5, 2026

Fabric changed the question

Before a governed lakehouse the question was where is the data. After, it became who owns this layer.

November 4, 2026

The tool contract must survive the prompt

Try the protected operation directly and inspect who really enforces the boundary.

November 3, 2026

Write the runbook before the incident

The resiliency posture everyone described in the room was not the one the system actually had.

November 2, 2026

Include the refusal in the demo

A useful evaluation shows what happens when the evidence or permission runs out.

October 30, 2026

Give context an expiry date

Test whether a system can stop using information it once had permission to trust.

October 29, 2026

Retrieval is not memory

Teams say their agent has memory when it has retrieval. The difference decides what you can trust.

October 28, 2026

Build the engine first

Work backward from the finished job, then prove the backend before polishing its interface.

October 27, 2026

Where deals actually die

Running a partner channel taught me that deals rarely die in the sales meeting. They die in the handoff.

October 22, 2026

Cost per run is an architecture decision

A license costs the same whether people use it or not. An agent costs more the better it works.

October 20, 2026

Three questions before any AI project

Before the model, before the use case list, three questions decide whether an AI project is real.

October 15, 2026

The cheapest migration is the one you skip

In one assessment, a third of the application estate had no owner. You don't migrate that. You retire it.

October 13, 2026

A landing zone is a political document

The subscriptions and policies are the easy part. A landing zone is really an agreement about who owns what.

October 8, 2026

Where I put the human

I architected an EMR holding 250+ patient records, and it changed where I put the human.

October 6, 2026

The agent inherits the user's permissions

The most important design decision in an enterprise AI system isn't the model.

October 1, 2026

Change the altitude, not the substance

An ad hoc note I was inspired to write. A conversation with people who think about building, and the one habit that lets you talk to a CTO and an engineer in the same hour without lying to either.

October 1, 2026

The dashboard that got applause

I've built dashboards that got applause and then quietly became the most expensive thing in the system.

September 29, 2026

Root cause before remediation

A PostgreSQL escalation, a room full of confident theories, and why we refused to resize first.

September 24, 2026

Ask to see the evaluation harness

The one question that separates real AI projects from expensive demos.

September 22, 2026

$4.5M without looking at a price sheet

$4.5M in cost avoidance without touching a price sheet. The savings weren't in negotiating; they were in noticing.

September 17, 2026

1,000 tenants and a problem you can't reproduce

A performance problem nobody could reproduce across 1,000+ tenant databases, and why the fix was written rules, not a bigger tier.

September 15, 2026

The demo is never the hard part

Most agent demos work. Most agent systems don't. The four things nobody demos are the whole difference.