ENGINEERING TOPIC HUB

APIs, SaaS & System Architecture

This hub covers the boundaries that keep SaaS products understandable and safe: tenant context, authorization, API contracts, durable workflows, database isolation and explicit failure semantics.

QUESTIONS THIS HUB ANSWERS
01

Where is tenant isolation enforced?

02

How are retries made safe across services and jobs?

03

When is a modular monolith better than distributed services?

DECISION FRAMEWORK

Define the boundary, then choose the technology.

Protect the boundary

Derive tenant and authorization scope from trusted identity, never from an untrusted payload.

Make retries explicit

Idempotency keys, outboxes and durable inboxes are business correctness mechanisms.

Distribute only for a reason

Separate services when ownership, scaling or failure isolation justifies the coordination cost.

CURATED GUIDES

Continue with practical guides.

All articles →
OpenAI · Image generation · Production systems

GPT-Image 2.6: build a production asset pipeline, not a prompt demo

OpenAI's GPT-Image 2.6 adds Sunburst, Flare, complexity, markup edits, SVG and GIF. Build a governed asset pipeline with validation, evaluation and rollback.

Read the guide
Saudi commerce · Logistics · Zid

Zid shipping weight disputes: build evidence before wallet deductions

Design a reliable Zid shipping-weight workflow with packed measurements, versioned factors, AWB and wallet reconciliation, and per-shipment dispute evidence.

Read the guide
AI · Agents · Model routing

Claude Fable 5.2: route frontier work without making it the default

Migrate to Claude Fable 5.2 with workload routing, retention gates, tool compatibility, evals, canaries and a clean rollback plan.

Read the guide
Saudi commerce · Payments · Mobile POS

Tap to Pay on iPhone in Saudi Arabia: design the payment boundary

Design Saudi Tap to Pay on iPhone safely across merchant apps, PSPs, backends, webhooks, reconciliation, refunds and commerce platforms.

Read the guide
AI engineering · Cybersecurity · Agents

GPT-6 Cyber: build an authorized research control plane

A production guide to GPT-6-Cyber: Daybreak Red access, scope manifests, isolated labs, tool approvals, evidence capture and independent patch verification.

Read the guide
OpenAI · Coding agents · Distributed systems

OpenAI Pando: design Git infrastructure for coding-agent scale

A source-backed analysis of OpenAI's Pando architecture and a practical design for source control that stays correct under coding-agent concurrency.

Read the guide
AI engineering · Anthropic · API migration

Claude Opus 4.8 fast mode retires: migrate without latency regressions

A production migration guide for removing Claude Opus 4.8 fast-mode dependencies without confusing feature retirement with model retirement or hiding compatibility regressions.

Read the guide
Saudi commerce · Salla · Inventory architecture

Salla order stock relocation: move branches without overselling

A production guide to treating Salla stock relocation as an auditable command, recovering unknown outcomes and reconciling every downstream inventory projection.

Read the guide
OpenAI · Life sciences AI · Governance

GPT-6 Rosalind Research: build a governed life-sciences workflow

A production guide to GPT-6 Rosalind Research access, data boundaries, scientific tools, evidence, human review, migration, audit and revocation.

Read the guide
Saudi commerce · Salla · Webhook architecture

Salla conditional webhooks: filter events without losing control

A production guide to filtering Salla events at the source while preserving security, idempotency, audit evidence and authoritative recovery.

Read the guide
OpenAI · AI agents · Governance

OpenAI Model Spec: turn agent autonomy into an action contract

A production guide to translating OpenAI's updated guidance on intent, context, agency and side effects into deterministic controls around tool-using agents.

Read the guide
Saudi commerce · Salla · Booking architecture

Salla order reservations: prevent double-booking across systems

A production guide to treating Salla reservations as observations, detecting interval and capacity conflicts, and keeping calendar and ERP projections recoverable.

Read the guide