Scoping to Deployed Agent
Take a customer from a scoping document to a governed agent deployment in two weeks, where every stage advances only on evidence signed by the right owner.
- Kind
- Case study
- Level
- Core
- View
- Interview prep
- Sections
- 4
- By
- Sourav Banerjee
- Last updated
- 20 Nov 2026
Read the classic design: Delivering an Agent in Two Weeks with Enforced Gates
Interview view. The case brief, design walkthrough, technical deep dives and quick review, condensed into bullets, tables and lines to say out loud, with interactive diagrams to step through.
Want to go deep? The full casebook has the complete reasoning in prose, the original diagrams, practice questions with worked answers and the sources.
Case brief
The case in one line: take a customer's "agent in two weeks" request from scoping document to deployed agent, with every stage closed by evidence signed by the right person.
30-Second Cheat Sheet
- The prompt: a customer wants an AI agent and expects something real in two weeks.
- Running example: Northwind Logistics, a tier-1 support triage agent. Success = first response under five minutes on a tier-1 ticket.
- The hard part is governance on a fixed calendar: who may approve each step, and what proof they need.
- A failed gate stops or escalates the engagement. It never continues as a quiet, unrecorded exception.
- Two systems: a deterministic delivery state machine (seven gated stages) and the agent it delivers.
- Speed comes from reuse: Northwind builds one of six components from scratch (its custom escalation policy).
- The flow to hold: name the outcome, prove each gate, ship small, own rollback.
- Caveat: every Northwind number comes from a scripted demo, not live production. Say so before you're asked.
1. A Customer Wants an Agent in Two Weeks
The situation
- A customer asks for an AI agent and expects something real in two weeks.
- The interview question: how do you get from a scoping document to a deployed agent without cutting the corners that make the deployment safe?
- Northwind Logistics wants a tier-1 support triage agent.
- Its success measure is concrete: the first response to a tier-1 ticket arrives in under five minutes.
The hard part
- Governance on a fixed calendar. Governance here means deciding who may approve each step and what proof they need.
- Every stage ends with evidence signed by the right person.
- When a gate fails, the engagement stops or escalates. It does not continue as a quiet exception that nobody records.
The terms that carry the whole case
| Term | Meaning |
|---|---|
| Engagement | One customer delivery, from accepted intake to handover |
| Gate | A named condition that must pass before the next stage, such as security_review_passed. It records who signed and what evidence they attached. |
| SME (subject-matter expert) | The person at the customer who knows the domain well enough to say whether an answer is right |
| Sponsor | The customer executive who owns the business outcome and makes the final go/no-go |
| FDA (Forward Deployed Architect) | The delivery lead who signs the evaluation and rollback gates |
| Golden set | A fixed collection of real example tickets with agreed correct handling: the exam the agent must pass |
| Shadow mode | The agent sees real traffic and drafts replies but takes no action. Humans compare its drafts with what they actually sent. |
| Accelerator library | Reusable connectors, prompt templates, evaluation harnesses, guardrail policies and dashboards that each engagement assembles from instead of writing new code |
The core idea in one sentence
The clock starts only when the outcome, the expert and the data sources are real, and each gate advances only on signed evidence.
Intake → outcome and sources named?
- No → do not start the clock.
- Yes → gated stages with signed evidence → sponsor says go?
- Go → limited production and handover.
- No → stop or escalate.
How to read the flow
- If intake can't name the outcome and the sources, the clock never starts.
- Once it starts, the engagement moves through gated stages until the sponsor decides.
2. Follow One Northwind Engagement and One Ticket
- The design contains two systems. Keeping them apart is the first useful move.
System 1: the deterministic delivery state machine
Deterministic = the same inputs always produce the same decision, with no model judgement involved.
- Seven gated stages: security review → data access → configuration → evaluation → shadow mode → limited production → sponsor's go/no-go and handover.
- Northwind's intake records:
- Target: "first response under five minutes"
- The baseline
- The sponsor and the SME
- Three data sources: Zendesk (tickets), Confluence (knowledge base), Salesforce (customer records)
- Each stage then waits for its signer.
System 2: the agent the process delivers (one ticket)
- A ticket arrives in Zendesk.
- The agent redacts PII (personally identifiable information: names, emails, phone numbers, account numbers).
- A model classifies the ticket. Not one of the top three categories → straight to the human queue.
- Otherwise the agent reads context from Confluence and Salesforce, with read-only access.
- An LLM (large language model) drafts a reply grounded in that context.
- The draft is checked for groundedness (is every claim supported by the retrieved text?) and against Northwind's escalation rules.
- A human approves or edits it before it's sent.
Where the speed comes from
- Reuse. Northwind builds only one thing from scratch: its custom escalation policy.
- The other five of its six components come from the accelerator library.
3. What You Need to Design
The task
- Design the repeatable delivery process and the small agent it produces, as one answer.
- Explain the delivery pipeline end to end, starting from its dangerous constraint:
- No stage advances without evidence signed by the right owner.
- A failed gate stops the engagement.
- Be ready for follow-ups on:
- Intake
- Gate enforcement
- Accelerator reuse
- The agent runtime
- Evaluation
- Rollback
- Cost
- Handover
The flow to hold in your head
name the outcome → prove each gate → ship small → own rollback
- Production is planned now, not deferred to "we'll figure production out later".
- Open-ended custom planners wait for a later engagement.
Who it's for
- Engineers preparing for forward-deployed, solutions or applied-AI interviews, especially a delivery round.
What it assumes
- Comfort with:
- LLM agents
- Grounded drafting from retrieved context
- Golden-set evaluation
- Staged rollouts such as shadow mode
The caveat that applies to every number
- The Northwind figures come from a scripted demo.
- Its day-14 results are demonstration values, not live production evidence.
- The case teaches you to say so before the interviewer asks.
- Practice drills and follow-ups are in the full casebook.
Quick Recall: Lines to Say in the Interview
- "The clock starts only when the outcome, the SME and the data sources are real."
- "Northwind's target is a first response under five minutes on tier-1 tickets."
- "There are two systems here: the gated delivery state machine and the agent it delivers."
- "A failed gate stops or escalates. It never becomes a quiet exception."
- "Five of six components come from the library; only the escalation policy is custom."
- "The agent drafts, a human approves. It doesn't send on its own."
- "These Northwind numbers are scripted demo values, not production evidence."
Design walkthrough
The goal: show a repeatable two-week delivery where speed comes from a reuse library and safety comes from hard, role-gated checkpoints, then show the small agent it ships.
30-Second Cheat Sheet
- Frame it as an operating-model question, not software architecture: are the seven boxes enforced gates or honest statuses?
- Speed is a side effect of reuse and hard gates, never a target chased by cutting corners.
- Intake refuses (
ScopingRefused) without a measurable metric, a named SME and named sources. No engagement, no clock. - Two Northwind metrics: first response under 5 minutes on the top 3 categories; ≥ 60% zero-edit sends by week 4.
- Fourteen days, seven stages, six gates, each signed by an allowed role with evidence, in order. Deny overrides.
- Deny rules:
wrong_role,no_evidence,prior_gate_incomplete. Seniority is not an override. - Shadow → limited production is a trust ladder. Rollback is tested, not documented.
- Reuse 5 of 6 (about 83%). Every demo number is scripted, and week-4 retention is
None.
Opening line (source's spoken framing): "This isn't really a software architecture question. It's an operating-model question. Anyone can draw a pipeline with seven boxes. The signal is whether each box is a real, enforced gate or just a status someone reports honestly. I designed it so the gates are code, not trust."
1. Frame the Round as an Operating-Model Question
- The prompt arrives in a system design round, but it asks: how should an organisation run deliveries so they are repeatable and safe?
- Anyone can draw seven boxes. The signal is whether each box is a real, enforced gate or only a status someone reports honestly.
- Say the framing in the first two minutes, before drawing anything.
The trap
- Naive answer: "work faster" or "hire more people".
- Two weeks is only possible if most of the work existed before the customer showed up.
- Starting every engagement from a blank page makes two weeks a wish, not a schedule.
- So speed must be a side effect of reuse and hard gates, never a target chased by cutting corners.
- Two weeks is fast enough to lose the customer's trust by cutting a corner, and slow enough to prove the process never needed one.
The two questions the round is really asking
| Question the round is really asking | What answers it |
|---|---|
| How do we know each stage is safe to leave, beyond the fact that time passed? | Gates: a named, checkable condition, signed by the right role, never by the person closest to the work |
| How do we make two weeks achievable for a different customer every time? | A library of reusable assets that most of each stage is assembled from, not written |
Gate vs checklist
- Weak answer: seven boxes labelled scoping, data, build, test and launch, then stop. That's a checklist, and checklists get skipped under deadline pressure.
- A gate is enforced by code and names who may pass it.
One-breath restatement: "We're designing a repeatable delivery pipeline, not a one-off project plan. Speed comes from a reusable accelerator library; safety comes from hard, role-gated checkpoints between stages. Two weeks is then an achievable outcome of the process, not a deadline we hope to hit by cutting corners."
- The whole case in one sentence: turn a customer request into a governed, two-week agent deployment with measurable value, named approvers, evidence-backed gates, a working rollback and a clear owner.
2. Ask the Questions That Change the Design
- A clarifying question earns its minute only if a different answer changes a box on the board.
- Make it specific with Northwind: are we cutting first response from 40 minutes to 5, or just "launching an agent"?
Customer-facing questions
| Question to ask | What it's really asking | What you then decide |
|---|---|---|
| What customer outcome and baseline define success by week four? | Cutting first response from 40 minutes to 5, or just "launch an agent"? | Whether the build has a measurable goal |
| Who is the sponsor, SME and go/no-go owner? | If the Confluence owner is on vacation, who can still say ship or stop? | Approvals and escalation |
| Which data sources, credentials and policies are available now? | Do we already have Zendesk + Salesforce read access, or is that a six-week ticket? | Whether two weeks is even possible |
| Which accelerator parts can be reused, and what is bespoke? | Reuse the support template, or write a custom planner? | Delivery time and later maintenance |
| What happens when a gate fails or an SME misses a deadline? | If golden-set review slips two days, do we ship anyway? | No-go, escalation and schedule impact |
| Which agent actions need human review, and how is rollback tested? | If drafts go weird, can we kill send in two minutes? | Production autonomy and containment |
Framework questions
| Question | What changes with the answer |
|---|---|
| Is "2 weeks" a hard SLA or a target? | Whether a gate failure means "slip the date" or "abort and re-scope" |
| Who owns go/no-go: the FDA, the account team or the customer? | Who the success_metrics_met gate's allowed role is |
| What is genuinely reusable versus inherently one-off? | Whether the library covers day 1 of a new engagement type, or only the 50th customer of a proven one |
| What happens if a hard gate fails outright, not late but genuinely? | Whether the engagement pauses or terminates when a security review finds a real blocker |
| Is this for one team or an org-wide standard? | Whether the library is a shared asset with ownership and versioning, or tribal knowledge |
SLA = service level agreement: a contractual promise with penalties.
Worked through: the SLA question
- Hard SLA: a failed gate means abort and re-scope.
- Target: a failed gate means the date slips while the gate holds.
- Either way the gate doesn't move. Only the calendar consequence changes.
Then scope out loud
- Design the pipeline as a state machine with named, role-gated checkpoints and a reusable asset library behind each stage.
- Name the infrastructure-provisioning layer under "configure, do not code" as a real system, say what it must do, and move on. It's out of scope, but pretending it doesn't exist would be a gap.
- Don't start the clock without measurable success metrics, a named SME and named sources. Step 4 turns these three into a hard refusal.
3. Write the Success Metrics and Requirements Before Day 1
- A two-week clock against something nobody can measure is worse than no clock: its "done" means only that time passed.
- So the requirements are the contents of the scoping document, and intake refuses the engagement if they're missing.
Northwind's two success metrics (verbatim from the intake record)
| Metric | How it is measured |
|---|---|
| Tier-1 ticket first-response time drops below 5 minutes for the top 3 ticket categories | Ticket timestamps |
| Agent-drafted replies are sent with no human edit on at least 60% of eligible tickets by week 4 | Edit history |
- Both are measurable from data the customer already has.
- Compare "the agent should be helpful", which no system can measure.
- Say aloud: if a metric can't be measured this cleanly, intake refuses rather than starting a clock.
The timing problem
- The week-4 zero-edit target can't be proved on day 14.
- So intake also agrees a limited-release acceptance rule that the day-14 gate checks, and names the owner who measures the week-4 target later.
- Keep them separate: the sponsor decides on day 14 against the acceptance rule; a named owner reports the week-4 number afterwards.
Functional requirements = what the system does. Non-functional = how well, and under what constraints. Here there are functional requirements for two systems.
Functional requirements: the delivery framework
| Priority | Requirement |
|---|---|
| Must | Intake refuses a request with no measurable success metric, no named customer SME or no named data sources; no engagement object is created |
| Must | Seven stages in fixed order, each blocked by a gate; no code path skips a stage |
| Must | Every gate signed by an allowed role, with evidence, in order; deny overrides |
| Must | Every stage pulls from the accelerator library before building custom; every custom build is logged |
| Must | Data access still pending on day 3 raises an escalation automatically |
| Must | Every sign-off attempt, stage move, escalation and pull goes to a replayable event log, allowed or denied |
| Must | Day 14 hands over a runbook, dashboards and a named owner |
| Should | Scope changes after intake go through the sponsor's authority (named, not yet built) |
| Should | Gate evidence has a required shape, a checklist rather than a sentence (section 10 of the source; see the evidence-bar deep dive) |
| Could | A portfolio view across engagements per FDA |
Functional requirements: the delivered agent
- Classify incoming tier-1 tickets and handle the top three categories.
- Draft a grounded reply from the Confluence knowledge base and the customer's Salesforce record.
- Redact PII.
- Escalate anything outside policy to a human.
- Shadow mode: drafts without sending. Limited production: sends only after human approval.
- People stay in control of sending while autonomy is earned.
Non-functional requirements
| Attribute | Target | Why it is the bar |
|---|---|---|
| Time to deploy | Day 14, or a named gate explains why not | The promise is the process, not the date |
| Agent latency | First response under 5 minutes on the top 3 categories | The customer's own success metric |
| Quality at handover | Eval score clears the agreed baseline (the demo scripts 0.83 against 0.75; no real eval harness runs) | The number true when responsibility transfers |
| Safety of rollout | Rollback tested, not documented (the demo's sign-off text says under 2 min; scripted, not timed) | The first real action must not be the first unwatched one |
| Auditability | Every gate decision replayable with signer, role, evidence and reason | "Why did it stall at day 3?" has one answer |
| Data access | Read-only (Zendesk: OAuth with the read scope; its API tokens are all-or-nothing and being retired), scoped to the engagement, revoked at handover |
The delivery process holds live customer credentials |
| Repeatability | Accelerator reuse rate tracked per engagement (83% on Northwind) | The measure of productised versus bespoke |
The shorter requirement summary (interview guide)
| Requirement | Example target / constraint |
|---|---|
| Schedule | Two-week delivery target |
| Governance | Auditability, separation of duties; a failed gate stops advancement |
| Reuse | Accelerators over bespoke planners |
| Security | Tenant isolation, secure credentials |
| Reliability | Reliable escalations; demo rollback under two minutes |
| Value | Measurable first value. Northwind demo: first response <5 min; ≥60% zero-edit sends by week four |
Why the data-access row matters more than it looks
- Zendesk API tokens are all-or-nothing and being retired, so read-only needs OAuth with the read scope.
- Confluence supports scoped tokens.
- Every delivery-team credential is scoped to the engagement and revoked at handover.
- The running agent still needs access after day 14, so its credentials move to a customer-owned service identity at handover rather than being revoked.
Constraints
- Two calendar weeks.
- A customer SME who has other work.
- A security review before any connection is made.
- Three of the six gates need a customer signature (two from the SME, one from the sponsor), so customer-side delay is the default risk.
Non-goals, said out loud
- Real infrastructure provisioning under "configure, do not code".
- A running evaluation harness, even though the Evaluate stage references one.
- More than one engagement at a time.
- A versioned rollback mechanism: the gate only attests that rollback was tested elsewhere.
- Above all four: some engagements should not be two weeks, and knowing which to reject is part of the framework.
Spoken answer ("What are the requirements?"): "Functionally, gated two-week delivery plus a small triage agent that drafts rather than sends. Non-functionally, two weeks, tested rollback, and a number for first-response time rather than 'launch an agent'."
4. Refuse at Intake Rather Than Start a Clock
- Refusing an immeasurable metric is the cheapest, highest-signal move. Say it before you draw a single box.
- Missing metric, SME or sources → intake raises
ScopingRefusedand creates no engagement object at all. - No clock starts, so nothing can later be reported as late.
The RAG parallel
- RAG = retrieval-augmented generation. ACL = access control list.
- In the same course's RAG work, the indexer refuses a document with no usable ACL.
- Both places refuse an input they can't govern instead of accepting it and hoping.
Why the SME is refused at intake
- Two of the six gates need an SME signature:
data_access_grantedandgolden_set_signed_off. Every later gate waits on them. - An engagement with no SME can't finish. Better to learn it on day 0 than day 8.
The revisit condition
- A strategic customer may be accepted despite the risk.
- Then intake needs an explicit override path with its own sign-off, never a silent bypass.
- The override becomes a recorded decision with a named authority, just like a gate.
5. Draw Both Systems End to End
- Two systems on the board; naming both is the move.
- The delivery pipeline is the answer.
- The triage agent is what it produces: one diagram of it shows the gates protect something real.
- The delivery state machine is deterministic: an LLM does not approve its own release.
- Inside the agent, model calls may classify tickets and draft replies, and nothing more.
- The runtime half is a design sketch grounded in the source; the demo didn't implement every runtime component.
The control plane, read top to bottom as one engagement
- Intake records target outcome, baseline, sponsor, SME and data sources. Incomplete intake doesn't start the clock.
- Security and data-access reviewers sign their own gates with evidence before the agent touches customer data.
- The team pulls reusable connectors, prompts, evaluations and dashboards, then builds only the customer-specific escalation policy. The SME signs the golden set.
- A baseline evaluation tests quality and safety.
- Shadow mode compares agent behaviour with human behaviour without unrestricted sending, and the team proves rollback.
- Limited production checks the agreed limited-release acceptance rule.
- The sponsor makes the day-14 go/no-go on that rule. A named owner measures the week-4 target later. Handover: runbook, dashboard, owner and credentials plan.
The agent runtime beside it
Zendesk ticket → PII redaction → LLM classification (top 3 routes) → Confluence KB + Salesforce read-only retrieval → LLM grounded reply draft
Write the nouns first (they become the data model)
Engagement · Stage · Gate · Principal (role) · Artifact · AcceleratorAsset · Escalation · Metric
Narrate one engagement
- A scoping request comes in.
- Intake checks it's measurable, has an SME and names its sources, or refuses it outright.
- Accepted → enters day 1 at the Scoping stage.
- Each of the next six stages is blocked behind a named gate, signed only by the authorised role. The FDA can't sign the security gate, however senior.
- Every stage pulls from the library before building custom.
- Day 14: if the acceptance rule was met, the sponsor signs go/no-go, the engagement deploys, runbook and dashboards are handed over, and a named owner measures week 4 later.
Label every gate with its signer
- The source draws the pipeline vertically with who signs on every gate. Keep that on the whiteboard: an unlabelled gate invites "who decides?".
Scoping (days 1–2) → security reviewer passes security_review_passed → Data ready (days 3–4) → customer SME grants data_access_granted → Configure (days 5–7) → customer SME signs golden_set_signed_off → Evaluate (days 8–9) → FDA confirms eval_baseline_met → Shadow (days 10–11) → FDA confirms rollback_tested → Limited production (days 12–13) → sponsor confirms success_metrics_met → Go or no-go (day 14) → Deployed
- Signer order: security reviewer, customer SME twice, FDA twice, then the sponsor.
- Side branch from data readiness: day 3 with access still pending → auto-escalate.
The supporting pieces around the state machine
Scoping request → intake check
- Fail → refused, no engagement and no clock.
- Pass → engagement state, shared by:
- The 7-stage machine and 6 role-gated sign-offs → Deployed
- The accelerator library (connectors, prompts, evaluation, policies, dashboards)
- The day-3 data-access check (escalate once if pending)
- A replayable event log of allowed and denied attempts
- Metrics: time-to-value, eval, override, week-4 retention, reuse
- The framework configures and gates the agent. Each stage pulls a library asset when one exists; otherwise builds it and logs the custom build. Rollback is tested before limited production.
- Seven stages vs six gates: the seven stages run from Scoping to Go/no-go; the six gates sit between them.
- The source also compresses it into one horizontal strip, quicker to sketch: intake's three questions (measurable metric? SME? sources named?), the refusal branch, then each numbered stage (1 Scoping through 6 Limited prod) with its gate and signer.
Components, in dependency order
- The third column is the interview-useful one: the failure each component exists to prevent.
| Component | Job | What goes wrong without it |
|---|---|---|
| Intake validation | Refuses unmeasurable, SME-less or source-less requests | A clock starts against a goal nobody can prove |
| Engagement state | The one piece of mutable state, threaded through every stage | Status lives in five trackers and disagrees |
Stage state machine (advance_stage) |
Moves only to the immediate next stage | A stage is skipped under deadline pressure |
Gate engine (sign_off) |
Role, evidence and order checks, deny overrides | The FDA certifies their own security review |
| Escalation check | Raises data-access delay on day 3, once, logged | The delay is noticed on day 6 |
Accelerator library (pull_or_build) |
Pulls a named asset or logs a custom build | Week two turns into bespoke code |
| Event log | Every attempt, allowed or denied | "It's taking longer than expected" |
| Metrics | Computed on demand from the engagement's history | Success is argued, not read |
| Connectors (Zendesk, Confluence, Salesforce) | Read-only ingestion from the customer's systems | Data readiness slips; credentials sprawl |
| PII redaction policy | Strips personal data before the model sees it | Customer data leaks into prompts and logs |
| Triage classifier | Keeps the agent to the top 3 categories | The agent answers what it was never evaluated on |
| Draft plus groundedness check | Reply built from retrieved evidence, judged before a human sees it | A fluent, wrong reply reaches a customer |
| Custom escalation policy | Northwind's own rules for what goes to a human | The one custom asset is skipped because it's custom |
| Human approval step | The override signal in shadow and limited production | Trust is assumed rather than earned |
| Handover bundle | Runbook, dashboards, named owner | Day 15 has nobody to call |
- First nine rows = delivery framework; the rest = the agent (traced in the agent runtime deep dive).
Two parallels with the RAG project
ABAC = attribute-based access control: permission decided by rules over attributes of the user, resource and action.
- The gate engine has the same decision shape as that project's ABAC engine: a named rule, a role check, deny overrides, an explicit reason.
- No code path jumps a stage, just as the RAG project has no code path that queries the vector store without the ACL filter.
6. Walk the Fourteen Days in Order
- The order isn't optional:
- Configuring against unconnected data fails.
- Evaluating against an unsigned golden set proves nothing.
- Limited production without a tested undo is a gamble.
- So transitions form a state machine with hard gates, not a checklist someone can reorder.
The fourteen days
Evidence comes from the demo; notes mark which values were scripted.
| Days | Stage | What has to be true to leave it | Northwind evidence in the demo | Signed by |
|---|---|---|---|---|
| 0 | Intake | Measurable metrics, a named SME, named sources; otherwise refused | Intake record accepted | (none) |
| 1–2 | Scoping and qualification | Metrics written and measurable; SME assigned; security review started | scoping_questionnaire.pdf, success_metrics_signoff.pdf; Zendesk and Confluence connectors pulled; "SEC-2026-0142 review report, no blocking findings" |
Security reviewer |
| 3–4 | Data readiness | Sources connected; access live and verified, not "requested" | "Read-only Zendesk (OAuth read scope), Confluence (scoped token) and Salesforce (read-only integration user) access verified live"; escalation check runs on day 3 | Customer SME |
| 5–7 | Configure, do not code | Assembled from the library and configured for this customer | Triage prompt, golden-set harness, PII policy pulled; Northwind escalation policy built custom; golden_set_v1.json |
Customer SME ("golden_set_v1.json reviewed, 40 cases approved") |
| 8–9 | Evaluate and iterate | Golden set signed off as representative; baseline clears the bar | "eval_baseline_report.pdf - 0.83 vs 0.75 agreed baseline" (scripted, no eval harness run) | FDA |
| 10–11 | Shadow mode | Agent sees real traffic, decides, takes no action; humans compare | 5 shadow approvals, 2 overridden; "rollback_runbook.md - tested in staging, verified <2min" (scripted text, not timed) | FDA |
| 12–13 | Limited production | Agent acts for real with a human approving, and a tested rollback | 6 approvals, 1 overridden; cumulative override rate 0.27 | (none) |
| 14 | Go/no-go and handover | Acceptance rule met; runbook, dashboards, owner handed over; week-4 target measured later by a named owner | "Week-2 metrics: first-response 4m12s, 63% zero-edit sends" (scripted, not measured, and an interim reading, not evidence for week 4); handover_runbook.md, dashboards_live.url |
Sponsor |
- Evidence and figures come from the reference implementation's
scripts/run_engagement_demo.py.
Rows worth reading closely
- Days 3–4: the exit is access "live and verified, not requested". An open access ticket doesn't pass.
- Days 5–7: three assets pulled, one built custom (the escalation policy). The SME's evidence names the artefact and its size ("40 cases approved").
- Days 10–11: shadow records 5 approvals, 2 overridden.
- Days 12–13: adds 6 approvals, 1 overridden → cumulative override rate 0.27 (3 overrides in 11 approvals).
The two-step trust ladder
- Same idea as the SHADOW and LIVE stages in the course's Module 05.
- Shadow: the agent decides but takes no action.
- Limited production: it acts for real, a human approves each send, and a tested rollback is ready.
Soundbite: "Never let a system's first real action also be the first time nobody is watching."
7. Make Every Gate a Decision with a Named Authority
- A checkbox is a status. A gate is a decision with a named authority behind it.
Naive version: "security review complete: [x]" <- a checkbox anyone can tick
This version: sign_off(gate, signer, evidence)
signer.role must be in gate.allowed_roles <- deny overrides
evidence must be non-empty <- "approved" is not evidence
every earlier gate must already be PASSED <- no signing out of order
The six gates
| Gate | Blocks entry to | Signed by |
|---|---|---|
security_review_passed |
Data readiness | Security reviewer |
data_access_granted |
Configure | Customer SME |
golden_set_signed_off |
Evaluate | Customer SME |
eval_baseline_met |
Shadow mode | Forward Deployed Architect |
rollback_tested |
Limited production | Forward Deployed Architect |
success_metrics_met |
Go/no-go, deploy | Executive sponsor |
The same mapping by stage and day (interview guide)
| Stage | Source gate | Signer |
|---|---|---|
| Scoping, days 1–2 | security_review_passed |
Security reviewer |
| Data readiness, days 3–4 | data_access_granted |
Customer SME; pending access escalates on day 3 |
| Configure, days 5–7 | golden_set_signed_off |
Customer SME |
| Evaluate, days 8–9 | eval_baseline_met |
FDA |
| Shadow, days 10–11 | rollback_tested |
FDA |
| Limited production, days 12–13 | success_metrics_met |
Sponsor |
| Day 14 | Go/no-go and handover | Named decision owner |
The three deny rules (in order; every attempt logged)
| # | Rule | Denies when |
|---|---|---|
| 1 | wrong_role |
The signer's role isn't in the gate's allowed_roles, no exception for seniority |
| 2 | no_evidence |
An approval has no artefact behind it |
| 3 | prior_gate_incomplete |
An earlier-stage gate hasn't passed |
Deny overrides = a policy-combining rule: the checks are evaluated together, and if any one denies, the attempt is denied even when the others would permit it.
- A denied attempt changes nothing: it neither passes the gate nor revokes one that already passed. Reopening a passed gate needs its own recorded event.
- Seniority isn't an override. Same reason an LLM can't enforce its own access control: the person closest to the work isn't automatically authorised to certify it's safe.
Two gate pairs interviewers like to probe
security_review_passedvsdata_access_granted:- The first asks whether it's safe to touch this customer's systems at all: a go-ahead.
- The second asks whether the agreed sources actually connected: confirmation that the later work succeeded.
golden_set_signed_offvseval_baseline_met:- The first certifies the exam is fair, judged by the SME who knows the business.
- The second certifies the agent passed it, judged by the FDA.
- A representative set with a failing score fails, and so does a rigorous score against a bad set.
The Northwind stall: gates enforcing themselves
| Who is asking | What actually happened |
|---|---|
| The FDA, wanting to sign the security gate themselves | Denied, wrong_role. Only a security reviewer can sign it, however senior the FDA is. |
| The customer SME, signing data access with "looks good" as evidence | Denied, no_evidence. An approval with no artefact isn't a sign-off. |
| Anyone, on day 3, with data access still not granted | The system escalated automatically; nobody had to notice and raise it |
What the production gate API needs
- Rejects wrong roles, missing evidence and skipped prior stages
- Logs every attempt
- Requires structured checklist items and links to the evaluation or rollback proof (free text is weak; see the evidence-bar deep dive)
- Treats no-go as a valid outcome
8. Evaluate, Shadow, Roll Back and Hand Over
The golden set
- Must cover:
- The top categories
- Retrieval misses
- PII
- Policy escalations
- Cases where a draft should not be sent at all
- Why: a set of only easy, answerable tickets would pass an agent that drafts confidently when it should escalate.
What to measure, and what each answers
| Measure | The question it answers |
|---|---|
| Response time | The customer's metric |
| Zero-edit sends and human overrides | Trust |
| Groundedness and escalation correctness | Safety |
| Rollback time | Containment |
| Cost per resolved ticket | Cost, agreed at intake (step 9) |
| Week-four retention | Whether it's still used (measured once it exists) |
Shadow, then limited production
- Shadow mode collects evidence without broad sending.
- Limited production runs under a defined approval policy and a rollback trigger.
- Rollback is proved before limited production begins. Northwind demo's target: kill sending within two minutes.
The send path is a write
- A read-scoped Zendesk token can't post a reply. Two options:
- The approving human posts the draft from their own Zendesk session.
- The rollback gate approves a separate, narrowly scoped write grant for the send path.
- That write grant is what the kill switch disables.
- Refuse broad rollout until sponsor-approved metrics and rollback evidence hold.
The day-14 decision and handover
- The sponsor's go/no-go cites measured metrics against the acceptance rule, not only a checkbox.
- Handover bundle: runbook, dashboards, named owner, credentials plan.
- The runbook names:
- The ongoing owner
- How to inspect the dashboards
- How to stop sends
- Which version to roll back to
- Engagement-scoped credentials are transferred or revoked at handover.
- Without the bundle, day 15 has nobody to call.
9. State the Trade-Offs, Cost and Honest Limits
Reuse as the proof of the schedule
- Northwind reuses five of six accelerator components, about 83%.
- The bespoke part is the custom escalation (guardrail) policy.
- That ratio is the evidence the two-week schedule comes from reuse, not heroics.
What the demo does and doesn't prove
| Demo value | Status |
|---|---|
| 4m12s first response | Hard-coded, not measured |
| 63% zero-edit sends | Hard-coded, not measured |
| 0.83 eval score vs 0.75 baseline | Hard-coded, not measured |
| Rollback "under two minutes" | A note, never timed |
| Week-four retention | Not observed; value None. None does not mean zero. |
- The deterministic gate demo has 17 tests.
- Not implemented: full agent provisioning, evaluation-harness wiring, scope-change approval, versioned rollback, multi-engagement operations.
- State those gaps plainly in the interview.
Cost
- Agree cost per resolved ticket at intake.
- Bound model steps and tokens.
- Reuse common connectors.
- Sample evaluation in proportion to risk.
- Keep customer credentials in a vault with scoped access; revoke or transfer at handover.
- Record tenant boundaries and the override rate.
- A low-cost pilot that fails its outcome metric is not a success.
Spoken answer (two-minute version, source's example): "I start with a measurable business result, a named SME and real data sources; without those, the two-week clock is fiction. I run seven gated stages from scoping and security through data access, configuration, evaluation, shadow, limited production and sponsor go/no-go. Each gate needs evidence from the right owner and cannot be skipped. For the support-triage agent, a ticket is redacted, classified, enriched from read-only knowledge and CRM, drafted by an LLM, checked for grounding and escalation, then human-approved as needed. I reuse standard components, measure first response and zero-edit sends, prove rollback, and hand over ownership. If a gate fails, I stop or escalate rather than calling an unverified demo deployed."
CRM = customer relationship management (here, Salesforce).
Quick Recall: Lines to Say in the Interview
- "This is an operating-model question. The signal is whether each box is an enforced gate."
- "Speed is a side effect of reuse and hard gates, never a target."
- "No measurable metric, no SME, no sources: intake raises ScopingRefused and no clock starts."
- "First response from 40 minutes to under 5 on the top 3 categories, and 60% zero-edit sends by week 4."
- "The sponsor decides on day 14 against the acceptance rule; a named owner reports week 4 later."
- "Wrong role, no evidence, prior gate incomplete: any one denies, and seniority is not an override."
- "Never let the first real action be the first time nobody is watching."
- "Five of six components reused, about 83%: that's where two weeks comes from."
- "Every demo number is scripted, and week-four retention is None, not zero."
Technical deep dives
The goal: defend each mechanism under follow-up: where the model acts, how gates deny, how reuse becomes a number, and what the Northwind numbers can and can't prove.
30-Second Cheat Sheet
- Two systems: a deterministic state machine decides on recorded facts; the LLM only classifies and drafts. Only the gate engine was built (17 tests, no LLM).
- Entry contract: target and baseline, named SME, named sources. A missing one is an intake failure, not a day-6 surprise.
- Reuse rate = reused pulls / total pulls. Northwind 5 / 6 = 0.833; with a Salesforce pull it'd be 6 / 7, about 86%.
- Agent runtime: redact → classify (top 3) → read-only retrieve → draft → groundedness + escalation → human → telemetry.
- Three of four risk mitigations are built. Scope-change control isn't.
- A real gate still needs an evidence bar: a checklist (adversarial testing, permission boundaries, data agreements), not a sentence.
- Scale = one FDA running six engagements, not data volume. Gates queue behind a person's calendar.
- Read the numbers honestly: one engagement run once, scripted values,
Nonefor week 4. The 0.27 override rate's 95% interval is about 10% to 57%.
1. Two Distinct Systems and Where the Model Acts
| System | What decides | The model's role |
|---|---|---|
| Deterministic delivery state machine (primary) | Recorded facts only: who signed, with what role, what evidence, in which order. Same history → same state. | None |
| Support-triage agent (delivered) | Model calls plus checks and a human | Classifies tickets and drafts replies |
- The LLM does not adjudicate its own security review, evaluation baseline or production approval.
- Those belong to people with named roles, recorded by the first system.
The evidence boundary
- The source's agent runtime diagrams are design constructions.
- Only the gate demo is exercised, by 17 deterministic tests with no LLM anywhere.
Spoken answer ("What was actually built?"): "The gate engine, not the agent."
2. Entry Contract, Stage Rules and Audit
The entry contract
- What intake requires before an engagement exists:
- A measurable target and baseline
- A named SME
- Named sources
- A missing SME or data source is an intake failure, not a hidden implementation task to discover on day 6.
Intake questions that change staffing, access and schedule
- Is the two-week SLA a target or a commitment?
- Who owns go/no-go?
- What is reused, and what is bespoke?
- What does a failed gate mean: pause, re-scope or terminate?
- Will this scale per team or across an organisation?
Stage rules
| Stage | Days |
|---|---|
| Security review | 1–2 |
| Data access | 3–4 (still pending on day 3 → automatic escalation) |
| Configuration with the golden set | 5–7 |
| Baseline evaluation | 8–9 |
| Shadow with rollback | 10–11 |
| Limited production against the limited-release acceptance rule | 12–13 |
| Go/no-go | Day 14 |
- Each gate records the signer's role and the evidence.
- The engagement moves on only when the previous gate is complete.
- If any deny rule fires, the attempt is denied, whatever the other checks say.
Audit
- Audit every attempt, including rejected sign-offs, in a replayable event log.
Replayable = you can rebuild the engagement's state from the log alone, so "why did it stall at day 3?" has one answer.
Two controls that keep gates honest
- Structured evidence. Free text can rubber-stamp a gate. The production form should require:
- Structured security controls
- Dataset lineage
- A signed golden set
- A baseline report
- Rollback evidence
- Separation of duties. The people who build are not the people who approve risk: the FDA who built the agent doesn't sign the security gate.
- Sponsor approval cites measured metrics, not only a ticked box.
3. Accelerator Reuse as a Number
- "Productised process, not bespoke heroics" is the thesis of this problem type, and a thesis on a slide proves nothing.
- The design makes it measurable: every asset is pulled from the library or built custom and logged. No third option.
Every stage needs an asset (a connector, a prompt template, a guardrail policy...)
Pull it from the library? -> reused = true
Not there yet? -> build it custom, reused = false, LOGGED
accelerator_reuse_rate = reused pulls / total pulls
pull_or_buildrecords the choice per component, so teams see where bespoke work accumulates.
The library, by name
| Kind | Assets |
|---|---|
| Connectors | zendesk_connector, confluence_connector, salesforce_connector |
| Prompt templates | support_triage_prompt, groundedness_prompt |
| Evaluation harness | golden_set_harness (a "recall@k / MRR / groundedness / leak-rate harness") |
| Guardrail policies | pii_redaction_policy, destructive_action_gate |
| Dashboard templates | eval_baseline_dashboard, cost_attribution_dashboard |
MRR = mean reciprocal rank: how high the first correct result sits in a ranked list, averaged over queries.
Northwind's number, worked
- 5 reused pulls ÷ 6 total pulls = 0.833 → 83%. The one custom build: the escalation (guardrail) policy.
- The catch: the demo log records Zendesk and Confluence connector pulls but no
salesforce_connectorpull, though Salesforce is one of the three sources. - Had it been pulled: 6 of 7, about 86%. Treat 83% as the demo's own count.
- A rising custom-build count is the early signal that two weeks is about to slip.
- Tracked across engagements, the ratio says whether the framework works or is quietly turning bespoke again.
Reuse still has to be adapted
- A pulled connector must respect the tenant's identity model.
- A pulled guardrail must reflect the customer's own policy.
- Pulling an asset saves writing it, not configuring it.
What the library is not
- Its entries are named assets, not the connector code or the evaluation harness itself.
- The real harness exists one project over, in the RAG platform; wiring Evaluate to call it is on the punch list.
- The gate mechanism is real; the number behind one piece of its evidence is not yet.
4. The Delivered Agent Runtime
The path
Zendesk ticket → webhook → PII redaction → top 3 supported categories?
- No → human queue.
- Yes → read-only Confluence + Salesforce retrieval → draft reply (
support_triage_prompt) → groundedness check → custom escalation policy → scoped rollout:- Shadow (days 10–11): store draft, compare with the human reply.
- Limited production (days 12–13): human approves or edits, then send via Zendesk.
- → Telemetry: first response, zero-edit sends, overrides, cost.
Trace one ticket
- Zendesk calls a webhook.
- PII redaction strips personal data before any model sees the text.
- Redaction applies to the free text sent to the model.
- So the Salesforce lookup uses the structured requester or organisation ID, not a name parsed from the message.
- Retrieval returns only the fields the reply needs (plan, entitlement). Any personal detail the reply must contain is filled in from those records after drafting.
- Classifier: one of the top three supported categories? If not → human queue, because the agent was never evaluated on anything else.
- Read-only retrieval from Confluence and Salesforce; the agent drafts a reply.
- The groundedness check and escalation policy judge the draft before any human sees it.
- Rollout stage decides what happens next:
- Shadow (days 10–11): the draft is stored and compared with what a human actually sent.
- Limited production (days 12–13): a human approves or edits, then it's sent.
- Telemetry records first response, zero-edit sends, overrides and cost.
Pulled vs built
| Component | Source |
|---|---|
| PII redaction policy | Library |
Draft (support_triage_prompt) |
Library |
| Groundedness check | Library |
| Escalation policy | Custom: the one Northwind-specific asset, and the one most likely to be skipped because it's custom |
Three runtime rules
- Scoped credentials, secrets in a vault, customer data segregated.
- A retrieval miss triggers abstention or escalation, not a fluent guess.
- The source doesn't demonstrate an autonomous action loop, so don't call the LLM draft an independent release authority.
- The human approval step is both a safety control and the source of the override signal the sponsor uses later.
5. Risk Mitigations as Checks, Not Reminders
- A reminder fires only if someone is watching. A check fires anyway, and lands in the permanent event log.
| Risk | Mitigation | How it is enforced | Built? |
|---|---|---|---|
| Data access delays | "Start day 1, escalate day 3" | check_escalation_triggers() raises it once if data_access_granted is pending on day 3 |
Yes |
| Scope creep | Change-control on the signed scope | A request_scope_change() requiring the sponsor role, reusing sign_off()'s pattern |
No, sized as low effort |
| Unmeasurable success criteria | Refuse to start | intake() raises ScopingRefused |
Yes |
| No customer SME | Contractual prerequisite | Also enforced at intake() |
Yes |
- Three of four built: the day-3 escalation, and the two intake refusals.
- Scope-change control isn't built. It would reuse the
sign_off()pattern with the sponsor role; the source sizes it as low effort.
Soundbite (source's line): "I'd rather show you three of four real and name the honest gap on the fourth than claim all four and get caught on it under a follow-up."
6. Raise the Evidence Bar Behind Each Signature
- A gate can be structurally real and still a rubber stamp.
- Two separate questions: "does the gate exist?" and "what counts as sufficient evidence?".
- The security gate shows the difference most clearly.
| What a thorough security review should include | Does a generic "security review passed" checkbox prove it? |
|---|---|
| Basic output validation | No; a runtime control, for quality and security, not proof a review happened |
| Retrieval and tool-selection accuracy | No |
| Task success on real test cases | No, that's the evaluation gate |
| Adversarial testing: prompt injection, permission-boundary probes | This is what a security review should mean, and free-text evidence can't prove it happened |
| Ongoing production monitoring | No; continuous, not a gate |
- Adversarial testing is the part most specific to an LLM agent.
- A security review also covers credential scope, PII flows and the data agreements.
The fix: a checklist, not a sentence
Adversarial testing done
Permission boundaries tested
Data agreements signed
All must be present before the gate passes: intake's discipline applied to what a signature attests to.
Three gaps in the delivery process itself
Easy to miss because attention is on what gets deployed.
| Gap | What it needs |
|---|---|
| Credentials | Live customer credentials are held in two windows: first connection to sources, and the agent's first run against the real environment. They need a vault, engagement scope and revocation at handover. |
| Golden-set sensitivity | The golden set often contains real customer data, so it follows that customer's sensitivity tier, not one default |
| Tenancy | Many engagements at once is a tenancy decision, not only capacity: are two customers' evidence and test sets separated by a tag, or physically? |
Source quote (the credential gap): "A gate proving access was granted proves a human attested it's live. It doesn't prove the credentials enabling that access were ever handled safely during the engagement: stored in a vault, scoped only to what this engagement needs, revoked cleanly at handover."
- The delivery process has to meet the same security bar as the product.
7. Stalled Engagements and Portfolio Scale
- The framework doesn't guarantee every engagement deploys in 14 days.
- It guarantees that when one doesn't, everyone knows which gate stopped it and why.
| Fails | Behaviour |
|---|---|
| A hard gate genuinely fails (denied, not late) | Stays at its current stage; the failure is a first-class event, not a silent stall |
| The wrong person attempts a sign-off | Denied, logged, state unchanged; no partial progress |
| The golden set never gets customer sign-off | Evaluate is blocked; a customer-side failure the framework surfaces rather than routes around |
| The acceptance rule isn't met by day 14 | Go/no-go doesn't pass; "no-go" is legitimate, and the week-4 target stays pending with its named owner |
- If data access, security or golden-set agreement fails, a no-go is safer than silently compressing later stages to protect the date.
- Compressing evaluation or shadow would remove exactly the evidence the sponsor needs.
Scale means FDA capacity, not data volume
- Scale here = one FDA running six engagements at once, not ten million document chunks.
- The state machine doesn't change with portfolio size; capacity does.
- Gates start queueing behind a person's calendar rather than the customer's.
- Sizing it needs real engagement-duration data first, as tuning an embedding cache needs real query logs before predicting its hit rate.
8. Read the Northwind Numbers Honestly
- Five metrics, computed on demand from the engagement's own history, never tracked separately. No second tracker can disagree with the event log.
| Metric | What it tells | Northwind demo |
|---|---|---|
| Time-to-first-value | How long until the customer saw anything real | 1 day |
| Eval score at handover | The number true when responsibility transferred | 0.83 |
| Human-approval override rate | Falling = trust earned; flat = not ready for less supervision | 0.27 |
| Week-4 retention | Whether the deployed thing is still used a month later | None until recorded, never a fake 0.0 |
| Accelerator reuse rate | Productised process versus bespoke heroics | 0.83 |
The override rate, explained
- Falling: the agent is earning trust. Flat: not ready for less supervision.
- High is diagnostic: measure the override reasons. They can reveal weak retrieval, an overly conservative policy or poor classification.
- Sample size limits it: 3 overrides in 11 approvals → 95% Wilson interval of roughly 10% to 57%. A trend needs many more approvals before "falling" means anything.
Wilson interval = a confidence interval for a proportion that stays sensible at small sample sizes.
The full demo output
- 6 of 6 gates passed; deployed
Trueon day 14. - One escalation, auto-raised on day 3, resolved when the gate passed.
- 4m12s first response, 63% zero-edit sends, 0.83 eval vs 0.75 baseline, rollback note "under two minutes" (never timed), 0.27 override rate, first value in one day.
How to read them
- One engagement, run once. Eval score and time-to-value are demo-scripted, not measured.
- Even a measured score needs care:
- If 0.83 were a pass rate on the 40-case golden set (about 33 of 40), its 95% interval would run roughly 0.68 to 0.91 and overlap the 0.75 bar.
- A small golden set can certify coverage of the categories, but not a narrow margin over the baseline.
- Week-four retention has no value, so it can't support a retention claim. A fake 0.0 would be worse than
None. - The 17 tests show gate enforcement, not agent quality in live production.
- The run proves only that the pipeline enforces its own gates. Say so before the interviewer asks; that's the signal.
Missing before you could promise the same calendar broadly
- Scope-change sponsor approval
- Real provisioning
- Evaluation-harness integration
- Versioned rollback
- Concurrent-engagement scaling
- A production plan adds these first.
The most persuasive artefact: the negative-control demo (demo_gate_failure.py)
- Intake refuses an unmeasurable request.
- Three denials:
wrong_role,no_evidence,prior_gate_incomplete. - A stage skip is attempted, and there is no code path for it.
- The day-3 escalation fires by itself.
Soundbite: "A demo of things being stopped proves more than a demo of things working."
9. Evaluation, Cost and Operations
Build the golden set to catch specific failures
- Include: top ticket classes, ambiguous cases, PII, retrieval gaps, escalation triggers and policy exceptions.
- Each category catches a different failure, for example:
| Category | What it tests |
|---|---|
| Ambiguous ticket | Classification |
| Retrieval gap | Abstention |
| Policy exception | The custom escalation policy |
- Test: classification, grounded replies, refusal and escalation behaviour, response latency and the human-edit rate.
Rollout and cost tracking
- Shadow collects evidence without broad sending. Limited production uses a defined approval policy and a rollback trigger.
- Track separately from demo results:
- Cost per resolved ticket
- The token and step budget
- The human review load
- Post-handover retention
- Why separately: so scripted values never mix with measured ones.
Operations after handover
- Credentials scoped during the engagement are transferred or revoked at handover.
- The runbook names: the ongoing owner, how to inspect the dashboards, how to stop sends, which version to roll back to.
- Override reasons remain the main diagnostic signal once the delivery team has left.
10. References and Source Boundaries
Primary references (rechecked November 2026)
- XACML 3.0 core specification: the deny-overrides combining algorithm.
- OWASP LLM05:2025 Improper Output Handling.
- Zendesk's announcement of more granular OAuth scopes and its API token removal notice.
What the source fact-checked on 27 September 2026
| Reference | What it confirms |
|---|---|
Demo script run_engagement_demo.py |
The 0.83 eval score, "verified <2min" rollback and week-2 metrics are hard-coded evidence strings, not measurements |
Gate definitions gates.py |
The customer SME signs two gates; the FDA signs the evaluation and rollback gates |
| Zendesk: Announcing the removal of API tokens | API tokens are all-or-nothing; no new tokens from 27 October 2026, all switched off on 30 April 2027 |
| Zendesk: Creating and using OAuth tokens with the API | Read-only uses the OAuth read scope, or a narrower resource scope such as tickets:read |
| Atlassian: Scoped API tokens in Confluence Cloud | Confluence supports scoped tokens |
Related cases and what each contributed
| Case in the group | What it contributes here |
|---|---|
| Scoping Doc to Deployed Agent in Two Weeks, 60-minute whiteboard script (anchor) | Sections 1 to 11 and 14: framing, clarifying questions, gates, the library, risks, failure modes, scale, the close |
| Northwind Logistics tier-1 support triage, Module 10 running case and the AI_Engineer interview script and code project | The fourteen-day table, the five metrics, the evidence-bar critique and the verified numbers; the delta is in section 13 |
| Self-drill, Drill Add-ons tab | Section 15 |
| Module 10 doc 4 and the project's docs/05 | Sections 6, 9 and 10 |
The Northwind sources and what each adds beyond the anchor script
| Source in the Northwind case | What it adds beyond the anchor script |
|---|---|
| Module 10 doc 3, Scoping to Production in Two Weeks | The fourteen-day table with exit conditions, the trust-ladder link to Module 05, the one-breath restatement |
| FDE delivery framework reference implementation, case-study data | The two success metrics verbatim, the three connectors, the SME id |
| AI_Engineer INTERVIEW_SCRIPT.md | Identical to the anchor; the anchor was lifted from it, so reading one covers both |
The code project (run_engagement_demo.py, demo_gate_failure.py, 17 tests) |
The evidence strings and figures in section 5, and the negative-control demo |
| Module 10 doc 4 and docs/05 | The five metrics, the two gate pairs, the evidence-bar critique, credentials, residency and tenancy |
- The Northwind triage case is not a second design. It's the anchor's running case written three ways: a course document, an interview script, and a code project with verified output.
- The code project supplies the evidence strings and figures in the fourteen-day table and the negative-control demo.
Quick Recall: Lines to Say in the Interview
- "The state machine decides on recorded facts; the model only classifies and drafts."
- "What was actually built is the gate engine, with 17 tests and no LLM, not the agent."
- "Reuse is a number: 5 of 6 pulls, 83%. A rising custom-build count is the early warning."
- "Redaction runs before any model sees the text, so the Salesforce lookup uses the structured ID."
- "Three of four mitigations are built; scope-change control is the honest gap."
- "A gate can be real and still a rubber stamp. The fix is a checklist, not a sentence."
- "Scale here is one FDA running six engagements. Gates queue behind a person's calendar."
- "3 overrides in 11 gives roughly 10% to 57%. That's not a trend yet."
- "A demo of things being stopped proves more than a demo of things working."
Quick review
One sentence: start the clock only when outcome, SME and sources are real, pass seven stages on signed evidence, ship a drafting agent behind a human, and say plainly which numbers are scripted.
30-Second Cheat Sheet
- Ask first: metric and baseline, sponsor and SME, sources and credentials, reuse vs bespoke, failed-gate policy, approval and rollback.
- Seven gated stages over 14 days; pending access escalates on day 3.
- Six gates, three signers: security reviewer, customer SME (×2), FDA (×2), sponsor.
- Deny rules:
wrong_role,no_evidence,prior_gate_incomplete. Deny overrides; every attempt logged. - Agent: redact → classify → read-only retrieve → grounded draft → checks → human approval → telemetry.
- The model can't approve itself: the delivery gates are deterministic.
- Northwind: 5 of 6 reused (83%), 4m12s, 63%, 0.83 vs 0.75, 0.27 override, 17 gate tests.
- All scripted; week-four retention unobserved. Name the gaps.
1. Recall the Stages, Gates and Agent
Ask first
- Success metric and baseline?
- Sponsor and SME?
- Data sources and credentials?
- Reuse versus bespoke?
- Failed-gate policy?
- Human approval and rollback?
Seven gated stages
Intake → security (days 1–2) → data access (3–4) → golden set (5–7) → baseline evaluation (8–9) → shadow + rollback (10–11) → limited production (12–13) → sponsor go/no-go and handover (14)
- Each needs the right signer, evidence and the prior gate.
- Pending access escalates on day 3.
| Gate | Signer |
|---|---|
security_review_passed |
Security reviewer |
data_access_granted |
Customer SME |
golden_set_signed_off |
Customer SME |
eval_baseline_met |
FDA |
rollback_tested |
FDA |
success_metrics_met |
Sponsor |
Deny rules
wrong_role,no_evidence,prior_gate_incomplete.- Deny overrides; every attempt logged.
Agent runtime
Zendesk → PII redaction → LLM classification → knowledge base + read-only CRM → grounded LLM draft → escalation and grounding checks → human approval and send → telemetry
- The delivery gates are deterministic; the model cannot approve itself.
Demo facts and caveat
| Northwind demo fact | Value |
|---|---|
| Components reused | Five of six (83%) |
| First response | 4m12s |
| Zero-edit sends | 63% |
| Evaluation | 0.83 against a 0.75 baseline |
| Rollback | Note says "<2 min" (not timed) |
| Override rate | 0.27 |
| Gate tests | 17 |
- These are scripted demo results, and week-four retention is unobserved.
- Remaining gaps:
- Real provisioning
- Evaluation wiring
- Versioned rollback
- Scope-change control
2. Key Takeaways
- The round is an operating-model question; speed is a side effect of reuse and hard gates.
- Five clarifying questions each change a box: SLA or target, go/no-go owner, reusability, hard failure, scope of adoption.
- The requirements are the scoping document: two measurable metrics, a named SME, named sources, constraints and stated non-goals.
- Two systems share the board: the gated delivery pipeline and the triage agent it produces.
- Fourteen days run in a fixed order, and each stage exits only when a checkable thing is true.
- Every gate is a decision by an allowed role, with evidence, in order; seniority is not an override.
- Intake refuses rather than start a clock against something unmeasurable.
- The accelerator reuse rate, 83% on Northwind, turns "productised" into a number.
- Risk mitigations are checks in code, with change control named as the open gap.
- A real gate still needs an evidence bar with a required shape, and the delivery process meets the same security bar as the product.
- A stalled engagement names its gate, and scale means FDA capacity, not data volume.
- The Northwind numbers are one engagement run once; the proof is that the gates enforce themselves.
- The Northwind triage case is the anchor's running case in prose, code and verified output.
- The hour goes to gates and reuse, and the close makes two gates unskippable first.
- Pilot cost is a success metric agreed at intake, capped, sampled and reported beside quality.
Close (source's line): "I start the clock only when outcome, SME and sources are real. Each phase has evidence and an owner. I shadow, prove rollback, then limit production and let the sponsor make an informed go/no-go decision."
Flashcard Drill
Quick Recall: Lines to Say in the Interview
- "I start the clock only when outcome, SME and sources are real."
- "Seven stages over fourteen days; pending access escalates on day 3."
- "Security reviewer, SME twice, FDA twice, then the sponsor."
- "Wrong role, no evidence, prior gate incomplete: deny overrides, and every attempt is logged."
- "The delivery gates are deterministic; the model cannot approve itself."
- "Five of six components reused, 83%."
- "4m12s, 63% and 0.83 against 0.75 are scripted demo values; week-four retention is unobserved."
- "Pilot cost is a success metric agreed at intake, capped, sampled and reported beside quality."
Where next
- Revise the concepts