Skip to content

Humans as architects of intent.

I'm Ayman Diab, a tech lead in Montréal. I design how engineering organizations work with AI, so teams get real leverage from machines and can still defend every line they ship.

  1. Sense the work before you process it.
  2. Do the thinking before the doing.
  3. Checkpoint the seams.
  4. Stay the owner.
Agents recommend.
A person decides.
NIC runs in ArcelorMittal Canada's mining operations. I took it into production and I still maintain it.

Four systems keep people in charge of the work.

Write down how people and AI build together

The Engineering Workflow Playbook is a company-wide philosophy, with a six-stage pilot that tests it on real delivery. I pitched it to leadership, and they approved it.

Read the playbook case study

A gate asks the owner three questions

  • Can you verify the output?
  • Can you rebuild the reasoning when it breaks?
  • Can you see where the work should have stopped?

One number I took back

8.1 days

Given the same time to finish, tickets took 14.7 days.

Map what can go wrong first

Before integrating an AI coding agent with a source-code platform, I mapped the risk across six frameworks at once. No single one covers it.

Read the threat-modeling case study

STRIDE
No real account of privacy
LINDDUN
No account of autonomy
OWASP Top 10s
Checklists more than models

Let CI hold the line

Reviewers cannot watch for every broken rule once AI writes much of the code. These gates turn a codebase's architecture rules into tests that fail the build.

Read the gates case study

See them run, on GitHub (opens in a new tab)

My public build stops the merge when:

  • An adapter reaches across the core boundary
  • Logic turns up in a template
  • An import points the wrong way
  • The public build carries private content

Train the instinct

Safe Mode is a bilingual security game that replaced the policy page nobody reads. It unblocked the rollout.

Read the Safe Mode case study

  • IntelA fact.
  • HabitA reflex.
  • Your callA decision, with instant feedback.

About 25 words a card, about three minutes.

Agents recommend. A person decides.

NIC is an AI-agent platform in ArcelorMittal Canada's mining operations. Its agents talk to reliability engineers in Teams, and they never act on their own.

On 10 March 2026, an agent flagged a haul truck that no threshold would have caught.

90%

It had just left maintenance, so it should have been full

  1. The agent flags it

    The truck is leaving the garage with its oil at 90%.

  2. The driver sees no leak

    The reliability engineer relays the flag. The driver checks, and carries on.

  3. The agent holds its position

    It can disagree. It cannot decide.

  4. A person decides

    The engineer sends the truck back to the garage. There was a leak.

Field notes from the methodology

The Aviation Model
Aviation got safer by training pilots to manage automation, and they still have to be able to land the plane. Let routine fluency fade, and keep enough to take over. That is what Manual Flight Days are for.
Proof of Ownership
You ship it, you defend it in the room. "The AI just did that" means the change is not ready to merge.
The Capability–Comprehension Gap
The distance between what an engineer can produce with AI and what that engineer alone understands. It widens without anyone noticing, because assisted output keeps looking fine until something breaks and the understanding is gone.
The Cognitive Integrity Threshold
The floor an owner has to stay above, and what those three questions test for. Below it, a review is only a signature.

Is your team flying the plane, or riding in it?

Twelve questions on how your organization uses AI. It takes about four minutes and asks for no email.

Run the Pre-Flight Checklist

Building a human-AI engineering practice? Let's compare drawings.

Email is the fastest way to reach me.

enquiries@aymandiab.com