Kick off your book project in 3 hours! Live workshop on Zoom. You’ll leave with a real book project, progress on your first chapter, and a clear plan to keep going. Saturday, May 16, 2026. Learn more…

Leanpub Header

Skip to main content

Boundary-First Design

From AI-as-Response to AI-as-Governed-Execution

This book is 100% completeLast updated on 2026-05-07

Most AI systems generate outputs.

Very few govern execution.

Boundary-First Design introduces a protocol-bound approach to AI systems where reliability is enforced through containment, validation, and controlled acceptance—not assumed from generation.

Minimum price

$9.99

$18.99

You pay

Author earns

$
PDF
About

About

About the Book

Artificial Intelligence systems are often described as capable of reasoning, decision-making, and autonomous action.

In practice, they generate outputs that resemble these behaviors—but do not guarantee them. The same system can produce a correct result once and an incorrect result the next, while sounding equally confident in both cases.

This is not an edge case. It is a fundamental property of how these systems operate.

Modern AI is probabilistic. Execution requires certainty. This creates a structural gap: outputs are generated and acted upon without a system that defines how those outputs become execution, how correctness is verified, or how misalignment is prevented.

This book does not improve AI outputs.
It defines how execution itself must be governed.

It is not a general introduction to AI. It does not cover history, trends, or societal debate. It focuses on a single question:

What must exist for AI systems to behave reliably?

The answer is not found in improving the model. It is found in designing the system around it. This book introduces a boundary-first approach in which AI is treated as an untrusted component operating within a governed structure.

Most approaches attempt to influence AI behavior.
This book governs AI execution.

Through a structured progression, it defines the layers required to transform generation into controlled execution:

- Containment – defines the conditions of operation
- Execution – structures how outcomes are produced
- Validation – determines whether outcomes are admissible
- Refusal – prevents invalid results from proceeding

Within this framework, reliability is not assumed. It is enforced.

Who this book is for:

Architects, engineers, and technical leaders responsible for deploying AI in real-world systems—where outputs influence behavior and correctness cannot be optional.

If you are responsible for ensuring that AI-driven systems behave correctly, this book defines the architectural foundation required to do so.

Author

About the Author

Reda Mahmoud

Author of AI Boundary-First Design | Director @ CASE-PRO | Solving the Reliability Crisis in Probabilistic AI Systems

I bridge the structural gap between probabilistic AI and deterministic execution.

With over a 2 decades of experience as a developer and IT professional, I have focused on building systems where correctness is a mandate. As the founder and architect of CASE-PRO (www.case-pro.co.uk), I developed an advanced Claims Management System designed for high-stakes accuracy and nationwide scalability.

CASE-PRO handles the full lifecycle of complex claims—from RTA and Hire to housing—integrating automated notifications, bespoke claim forms, and secure e-signature protocols. It is a system built on the premise that in the claims domain, an "approximation" of data is a failure.

From Claims Infrastructure to AI Governance

My work in claims management taught me a critical lesson: In professional infrastructure, the appearance of correctness is a vulnerability.

This insight led to my research into the "Execution Gap" in modern AI. While large language models are fluent, they are fundamentally probabilistic engines. Without a deterministic boundary, they remain "untrusted components" that cannot be safely embedded in load-bearing claims or legal infrastructure.

The Boundary-First Framework

I am the author of "Boundary-First Design: Toward Governed AI Systems" (Vol. I)

I advocate for a shift in how we build: moving away from "prompt-level guidance" toward architectural enforcement. My framework treats AI as a governed system component, ensuring that every outcome is established through evidence-references rather than statistical plausibility.

Expertise & Solutions:

Claims Management Architecture: Building secure, scalable CMS platforms for nationwide legal and financial workflows

.

System Architecture: Designing protocol-bound interaction layers for AI integration in regulated industries.

Deterministic Governance: Solving the reliability crisis in probabilistic systems where correctness is not optional.

Audit & Verification: Establishing admissibility in automated systems through forensic trace alignment.

Contents

Table of Contents

Table of Contents

  • Preface
    • Purpose
    • Who This Book Is For
    • What You Will Gain
  • The Problem Radar
    • The Transition to Infrastructure
    • The Execution Gap
    • The Structural Reality
  • How to Read
    • How to Read This Structure
    • Structural Layers
    • Conventions
    • Terminology Note
    • Scope Boundary
    • Orientation Summary
  • Part I: The Illusion
    • The Illusion of Intelligence
    • The Inconsistency Problem
    • When Information Is Assembled vs. Defined
  • Part II: The Problem
    • The Shift to Operational Systems
    • Where Systems Break
    • The Missing Layer
  • Part III: The Experiment
    • The Introduction of Containment
    • Boundary-First Thinking
    • From Output to Execution
    • The Need for Validation
  • Part IV: The Proof
    • Validation as Authority
    • When Systems Refuse
    • From AI to Systems
    • When the System Becomes Visible
  • Afterword
    • The Shift in Reliability
    • The Governing Structure
    • The Nature of Reliability
    • The Architectural Direction

Get the free Community Edition

You can get the free Community Edition in PDF or EPUB just by sharing your name and email address with the author, or you can just click this link to read a shorter sample online...

 

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub