// "sum the transaction amounts" public double Total(List<Tx> t) => t.Sum(x => (double)x.Amount);
Outcome: a reconciliation shortfall compounding silently below monitoring thresholds — figures illustrative, sized to a realistic mid-market payment volume. Passes review. Passes tests.
ILLUSTRATIVE SCENARIOConstructed teaching example — demonstrates a failure mechanism documented in published post-mortems; not a transcription of an actual incident. Why the book marks these →
// money is never a binary float public Money<USD> Total(List<Tx> t) => t.Aggregate(Money<USD>.Zero, (s,x) => s.Add(x.Amount));
Difference: one constraint sentence — "use Money<TCurrency> for all amounts; never double." Ten words.
The model was not wrong. It produced what was statistically most likely. The prompt asked for what was statistically most likely. That is the entire problem, stated precisely.
A four-element prompt structure — role, context, task, constraints — that closes the domain, context, and constraint gaps simultaneously. Read the overview →
A three-component diagnosis — domain, context, and constraint gaps — of why capable models still produce domain-incorrect code.
A six-section debugging protocol that turns "help, it's broken" into a systematic diagnosis, often before the prompt is sent.
A unified, numbered set of structural truths for enterprise AI prompting that hold regardless of which model is used.
HIPAA, PCI-DSS, GDPR, idempotency, money-types, and the AI security attack surface — applied where agents measurably struggle most: brownfield systems with undocumented conventions, not greenfield demos.
The book's intellectual-property note says what builds on earlier work: the four-element structure follows published conventions such as CO-STAR and RISEN, and Laws 5, 6 and 8 apply the Money pattern, the OWASP LLM Top 10, and the prompts-are-code principle. What the book claims as its own is the enterprise specialization of the Frame, the gap diagnosis, the Evidence Brief, and the Ten Laws as one numbered set.
The book also includes 100+ worked examples across 19 chapters and 11 appendices (foundational implementations compilable in the companion repository) spanning code generation, review, debugging, testing, MCP, security, and DevOps.
BibTeX: delta-book.bib. The CITATION.cff file is in the companion repository. The research paper and dataset have their own citations on the data page.
The Reverse Review (Appendix H): every prompt in this book was passed back through the AI and asked what’s missing — the critiques are published alongside the author’s responses, inside the book.
is the one an AI generated from a vague prompt on a quiet afternoon.
The EPUB is the recommended accessible edition (reflowable text, screen-reader friendly). Media: fact sheet.
Prefer a store? Kobo · Barnes & Noble · Booktopia · IBS.it — free everywhere.
If Delta helps you, a rating on Kobo or Goodreads helps other engineers find it.
All writing → · Read the book online, chapter by chapter → · Press & media kit → · The data and the paper →