Chapter 8: Mock Engagement
A field engineer sells and delivers a system they understand to the bottom. The earlier chapters of this book taught each stage of an engagement on its own; this chapter runs the whole engagement end to end, against a platform you built yourself, so that the guesswork disappears. Every sizing number, benchmark, and security answer can be checked, because every claim links to a test, a report, or a document you produced. That is the standard a customer’s architects will hold you to.
Concepts from other sections (9)
This section uses these ideas. Each has a short definition and a link to the section that explains it in full. Tap a dotted term in the text to preview it.
- Proof of concept (POC): a time-boxed test whose agreed criteria decide whether to migrate, extend, or stop. Read more: Chapter 4: POC and Evaluation
- Threat model: a structured answer to four questions about a system: what are we building, what can go wrong, what are we going to do about it, and did we do a good job? It turns an architecture into a list of threats, each tied to a control and a test. Read more: Chapter 9: Security in Software Engineering
- SBOM: a software bill of materials, the inventory of components in an image. Read more: 8.6 Answering the security questionnaire
- usage policy: an ordered list of rules that allow or deny inference requests by model, tenant, token cap, or classifier score. Read more: 25.6 Usage policy enforcement in AI Engineering
- Measured impact: the effect of the problem as shown by data, such as minutes lost or staff affected. Read more: 8.1 Writing the discovery record
- Offered load: the token rate the workload asks of the system, arrival rate times tokens per request. Read more: 8.2 Qualifying and sizing the engagement
- Stop condition: a pre-agreed rule for aborting a test to protect the environment. Read more: 8.3 Designing the performance test protocol
- Shadow traffic: real requests sent to the new path without showing its responses to users. Read more: 8.5 Planning the staged migration
- Service boundary: the components in scope and the owner of each kind of work on them. Read more: 8.7 Handing off operations
The engagement itself is the same for any platform; what changes is how much you can prove. The chapter follows one mock customer, Northstar Commerce, through seven artifacts in order: discovery notes, a qualification and sizing, a performance test protocol, a POC plan, a migration plan, a security questionnaire, and an operational handoff. Each section walks through a model answer, explains why each part is there, and names the alternatives it rejects. The numbers come from your own tools: capacity arithmetic from Counting: parameters, FLOPs, KV bytes, and memory plans in Mathematics, load reports from the open-loop load generator in AI Engineering, and the threat model and SBOMs from the STRIDE threat model and SBOM and supply chain sections of Software Engineering. The chapter closes with a capstone that applies the whole sequence to a second customer, Lexa.
Learning objectives
- Produce each artifact of an engagement, from discovery notes to a handoff, with a check that someone else can apply.
- Tie every claim in those artifacts to evidence, and mark estimates and open items with owners.
- Answer a customer security questionnaire from your own threat model, SBOMs, and usage policy.
- Hand a platform to a customer team using your runbooks, and test the handoff with a rehearsal.
Before you begin
Section titled “Before you begin”This chapter applies the seven chapters before it, from Discovery through Escalation and Handoff; read those first. The model answers refer to a working platform at release v1.0.0, the system built in the course path of AI Engineering. For the security questionnaire, Shostack’s Threat Modeling is a useful companion.
In this chapter
Section titled “In this chapter”- Writing the discovery record: interview a platform team reporting slow inference, and write a record that separates symptoms from measured impact, names every stakeholder and data gate, and promises nothing.
- Qualifying and sizing the engagement: check that a decision can happen, then derive offered load and KV memory step by step, and turn the estimate into a bounded, gated test.
- Designing the performance test protocol: write a like-for-like, open-loop protocol with repetitions, spread, stop conditions, and a regression procedure.
- Pre-registering the POC: freeze the dataset, rubric, and thresholds before the first run, stratify the set, and make safety gates blocking.
- Planning the staged migration: widen exposure from shadow traffic to default route, one gate at a time, with rollback decided in advance.
- Answering the security questionnaire: answer each question from a control or artifact, keep implemented apart from planned, and refuse to price without agreed assumptions.
- Handing off operations: define the service boundary and escalation sequence, and prove the handoff with a rehearsal.
- Capstone: one customer, end to end: produce eleven artifacts for Lexa, a legal-tech customer, each with a check you can apply yourself.
Further reading
Section titled “Further reading”- Security in Software Engineering, for the threat model and SBOMs behind the questionnaire.
- Incident Response and Chaos in Systems Engineering, for the runbooks the handoff uses.
- Adam Shostack, Threat Modeling: Designing for Security.