Vibe Engines is free, interactive AI engineering & system design — runs in your browser. Pick a learning path →
Nine months, one task order, and a panel nobody could hear
The Office of Survivor Benefits, inside a fictional federal department, wants AI to “clear the backlog.” What it can buy, host and lawfully run is drafting help for caseworkers who keep every decision. The model is the easy part. The engagement turns on the contract, the authorization boundary, records law, accessibility, and a wary workforce.
The customer, the ask, and how to read this page
The last of five cases, and the slowest by design.
This is an authored, synthetic engagement. The customer, the people and every number are invented for teaching and are internally consistent; none comes from a real customer, and every figure on this page is illustrative unless a source is named next to it. Regulatory facts are real and are stated as rules, not as outcomes.
“We have thirty-one thousand claims waiting and families who have just lost someone. I want AI that reads the files and decides the easy ones. Congress is asking about the backlog in the spring.” — the Deputy Administrator, Office of Survivor Benefits (OSB), Department of Civic Services. Both names are invented.
OSB (illustrative) pays monthly benefits to the surviving spouses and children of people covered by a fictional federal programme. About 210 caseworkers in four regional processing centres handle roughly 9,000 new claims a month. A claim file is a stack of scanned documents (death, marriage and birth certificates, earnings records), and a caseworker’s first job is to work out what is missing. The median claim takes 118 days from filing to decision; the backlog is 31,000.
The FDE’s employer is a subcontractor to a prime systems integrator that holds a task order under an existing department-wide contract vehicle. That decides more here than any model choice.
Read the contract, then the floor
The work statement first, then a 160-file time study.
Earn the right to run
Privacy, AI and authorization packages, in parallel with a synthetic build.
The hard moment
Blind caseworkers cannot use a panel that passed its scan.
Parallel run, then pilot
One centre, drafts compared before anyone relies on them.
Hand off
To the prime’s operations team, with continuous monitoring.
Discovery: who was in the room, and what they actually needed
Fourteen interviews in three weeks: in government the list of people who can say no is long.
| Person / role | Goal | Pain | Influence |
|---|---|---|---|
| Deputy Administrator | Visible backlog reduction before spring oversight | Three prior modernisation efforts delivered dashboards, not throughput | Sponsor; sets priority |
| Contracting Officer (CO) and COR | Work inside the task order’s scope and price | Weekly “quick asks” from the programme office | Only the CO can change scope; the COR monitors performance |
| Authorizing Official + CISO | No production system without an ATO | “FedRAMP” services outside the authorized boundary | Hard gate on running at all |
| Privacy office | Use of records matches the published system of records notice | Uses never checked against the SORN | Gate on data use |
| Chief AI Officer’s office | Use case inventoried and governed | Needs an impact assessment it can defend publicly | Gate on AI-specific practices |
| Section 508 programme manager | Comparable access for staff and public with disabilities | Tools accepted on a vendor’s conformance claim, then unusable | Gate on production use |
| Union local president | No new production standards by stealth | A past tool rated staff before training | Bargaining over impact and implementation |
| Caseworkers (14 of 210 use assistive technology) | Fewer hours indexing scans | Writing the same development letter thirty times a week | Adoption, and the best evidence |
Where the 55 minutes go (time study, 160 new claim files)
| Activity during initial file review | Share |
|---|---|
| Reading and indexing scanned documents | 48% |
| Drafting the development letter asking for missing documents | 22% |
| Writing the case summary for the next reviewer | 17% |
| Checking eligibility rules | 13% |
Illustrative baseline: median initial review 55 minutes; median 21 days from filing to the first development letter; 118 days filing to decision (agency report).
What was asked versus what was needed
- Asked: decide the easy claims. Found: the deciding is 13% of the first review. Claims are slow because the development letter leaves three weeks late.
- Asked: clear the backlog. Found: an earlier first letter helps future claims more than the existing 31,000. The sponsor needed to hear that in month 1, not month 8.
- Found, unprompted: existing letter templates read at roughly a grade-11 level. The Plain Writing Act of 2010 already requires agencies to write documents the public needs for obtaining benefits in plain language.
Before any architecture, the FDE asked the COR for the performance work statement (PWS) and read it twice. It authorised “decision-support tools for casework modernisation.” It did not authorise automated determinations, Knowing that in week 1 turned the auto-decide debate into a fact.
The scoped first delivery
End of month 1. Accepted by the COR as a deliverable under the existing task order; reviewed by the CO, who confirmed no modification was needed.
Problem. Initial file review takes a median 55 minutes, nearly half of it indexing scans, and the first development letter leaves a median 21 days after filing, in language claimants find hard to act on.
First delivery. For new survivor claims at one centre, a panel inside the existing case system that gives the caseworker: an indexed list of documents found, with page references; the documents still required for that claim type; a draft development letter in plain language; and a draft case summary. The caseworker edits, decides and sends.
Success. Median initial review ≤38 minutes on assisted files; first development letter median ≤10 days; letter drafts at or below a grade-8 reading level; unnecessary document requests ≤8% on every slice the tool is enabled for; every pilot task completable by caseworkers using assistive technology, verified by them.
Guardrails. No eligibility determination, recommendation or score. No letter leaves without a caseworker’s approval. Deadlines, dates and benefit amounts are never written by the model.
| In scope | Out of scope, with the reason |
|---|---|
| Document index and missing-document list | Automated determinations. Outside the PWS; and an eligibility decision on a federal benefit is exactly the kind of output OMB treats as high-impact AI |
| Plain-language development letter drafts | Decision and denial letters. They carry appeal rights; a separate, later effort with programme counsel |
| Case summary; one centre, new claims only | The other three centres. Only after the pilot and bargaining are complete |
No ethics lecture. The FDE showed the PWS paragraph, then the time study: “Even if we could automate the decision, it is 13% of the first review. The letter is late by three weeks, and that we can fix inside the contract you already have.” She took earlier letters, with a measured number, to the hearing instead.
Architecture: the authorization boundary decides the design
Months 2–5. In this setting, “can we run it?” is answered by an authorizing official, not by an engineer, and the package takes longer than the code.
The rules that shaped it, in plain words
- FedRAMP and the agency ATO. FedRAMP authorizes cloud service offerings for federal use at impact levels (Low, Moderate, High) derived from FIPS 199 categorisation. The agency still grants its own authority to operate (ATO) under FISMA: its Authorizing Official accepts the risk of this system, inheriting controls from the FedRAMP package. OSB categorised the system Moderate.
- Inside the boundary, not just inside the provider. A FedRAMP-authorized cloud does not mean every service it sells is inside the authorized boundary. The model service had to be covered, and the AO added an ATO condition: US-only processing and administrative access.
- The Privacy Act of 1974. Claim files, retrieved by a claimant’s name or identifier, are a system of records with a published system of records notice (SORN); privacy confirmed drafting fell within its stated purposes. A privacy impact assessment (E-Government Act of 2002, section 208) covered the new technology.
- The Paperwork Reduction Act. An agency needs OMB approval before posing identical information requests to ten or more members of the public. So the model may only request documents on OSB’s approved list.
- OMB M-25-21 (April 2025). Agencies must apply minimum risk management practices to high-impact AI, including pre-deployment testing, an AI impact assessment, ongoing monitoring and adequate human training and oversight; a Chief AI Officer may waive practices, publicly. OSB applied them from the start rather than argue the label.
Options considered
| Option | For | Against | Verdict |
|---|---|---|---|
| A. A commercial AI assistant without a FedRAMP authorization | Fast, polished | No path to an ATO at Moderate within the engagement | Rejected |
| B. A model service inside the department’s existing FedRAMP Moderate cloud, confirmed in the authorized boundary, US regions | Controls inherited; the department already pays for the cloud under its own contract | Narrower model menu; boundary confirmation took four weeks | Chosen |
| C. Self-hosted open model on agency hardware | Full control | Hardware acquisition estimated at over a year | Rejected |
Data flow
- Export, intake and OCR. The legacy case system exports new documents nightly (no write-back was built); scans are indexed by type and page inside the boundary.
- Rules engine. Owned by programme policy: the required documents for each claim type, and every deadline and date that will appear in a letter, computed from regulation, not generated.
- Drafting model. Produces the index, the gap list, the letter body and the summary. It has no tools and no access to the case system.
- Validator. Every requested document must be on the PRA-approved list; any date, deadline or amount in the draft is replaced with the rules engine’s value or the draft is rejected; reading level is measured and drafts above grade 8 are flagged.
- Caseworker panel. The caseworker edits and approves; the case system records the sent letter as it always has.
Defend the boundary
The hard moment: a panel that passed every scan and failed every user
Month 5. The formal Section 508 test is the first time a blind caseworker touches the panel.
Section 508 of the Rehabilitation Act requires federal agencies that develop, procure, maintain or use information and communication technology to give people with disabilities, employees and public alike, comparable access. The 2017 Refresh of the standards incorporates WCAG 2.0 Level A and AA by reference. Caseworkers are covered users.
| When | What happened |
|---|---|
| Week 1, Mon 09:30 | Test session with the 508 programme manager, two blind caseworkers (one on each of two common screen readers) and one caseworker using screen magnification. CI’s automated scan had reported zero violations. |
| 09:50 | The case summary streams into the panel token by token through a live region. The screen reader announces fragments nonstop. |
| 10:05 | Document references read as “link, 1; link, 2; link, 3.” |
| 10:15 | Tab moves into the panel and never out (a keyboard trap). “Add to letter” has no keyboard access or accessible name. |
| 11:00 | The 508 programme manager records a failure against several WCAG 2.0 criteria, among them Keyboard (2.1.1), No Keyboard Trap (2.1.2), Link Purpose (2.4.4) and Name, Role, Value (4.1.2). OSB policy: no production use without conformance. |
| Week 1, Tue | The union president, an observer at the session, raises the larger problem: the 14 assistive-technology users would be measured against a pace set by a tool they cannot use. |
| Week 1, Tue | FDE writes to the COR: findings, root cause, plan, and a four-week slip to the parallel run. The COR informs the CO. No change to scope or price; no modification needed. |
| Week 2 | The programme office asks, “Since you are slipping anyway, can you add decision letters?” The FDE declines in writing and points to the CO: it is new scope. |
Why it happened (owned, not blamed)
- The panel reused a streaming chat component: fast to the eye, noise to a screen reader.
- The team treated an automated scan as a 508 test. Automated checkers cannot evaluate many success criteria, including whether link text makes sense or whether a workflow can be completed at all.
- No assistive-technology user saw the panel until month 5. The 14 caseworkers who use AT were known from week 2; nobody put them in the design loop.
How it was handled
The tempting shortcut was to let AT users opt out. That would have been faster, and wrong.
- Refuse the two-tier workforce. “Launch for sighted users, fix later” was rejected on day one. Comparable access is the legal standard, and productivity would have diverged on a line drawn by disability.
- Fix the cause, not the symptom. No streaming: the summary renders complete and a single status message announces “Summary ready.” Document references became descriptive links (“Marriage certificate, page 3”). Native buttons replaced clickable elements. Focus moves into the panel on request and returns to the case on close. Headings let a screen-reader user jump between sections.
- Re-test with people, then keep them. Five AT users re-ran the full task script, and now review every release on paid time.
- Re-sequence, in writing. The schedule moved one month. The COR got a written revised schedule; the ATO package kept moving in parallel. The conformance report was rewritten from test evidence.
- Hold the scope line while slipping. Decision letters went into a written request to the CO for a possible future modification.
- Change the gate. The automated scan stays in CI. A manual assistive-technology test script, run by an AT user, became a release requirement alongside the eval gate.
A gate you can pass without a user is a gate that measures the tool, not the work. Scan and eval both said green; only a person doing the job could say whether it could be done. Ask early which users you have not yet watched.
What was measured, and its honest limits
A golden set gates changes, a parallel run precedes reliance, and the pilot is measured against month 1. The outcome the sponsor wanted is not in yet.
Golden set: the missing-document list
400 closed claim files, kept inside the ATO boundary under the privacy impact assessment, labelled by two senior caseworkers with a supervisor resolving disagreements. Each file gets one outcome: exact (the gap list matches the labelled list), unnecessary request (asks for a document already in the file, burdening a grieving claimant) or missed document (fails to ask for one that is needed, delaying the claim). A file with both errors counts as missed.
| Slice | Files | Exact | Unnecessary request | Missed document |
|---|---|---|---|---|
| Typed, complete file | 150 | 138 (92.0%) | 3 (2.0%) | 9 (6.0%) |
| Scanned, poor quality | 90 | 72 (80.0%) | 6 (6.7%) | 12 (13.3%) |
| Non-English documents | 50 | 34 (68.0%) | 7 (14.0%) | 9 (18.0%) |
| Complex family (prior marriages, several claimants) | 70 | 51 (72.9%) | 5 (7.1%) | 14 (20.0%) |
| Prior denial or appeal | 40 | 33 (82.5%) | 2 (5.0%) | 5 (12.5%) |
| Total | 400 | 328 (82.0%) | 23 (5.75%) | 49 (12.25%) |
The gate decision: unnecessary requests must stay at or under 8% on every enabled slice. The non-English slice is at 14%, so for those files the panel shows “gap list not generated” and the caseworker works it by hand. The gate sits on unnecessary requests because they land on the public; a missed document is caught by the reviewing caseworker.
Parallel run and pilot (illustrative)
For four weeks in month 6–7, the panel produced drafts that caseworkers did not see; supervisors compared 300 of them with what caseworkers actually sent. Only then did the pilot begin at one centre of 52 caseworkers.
| Measure | Baseline (month 1) | Target | Assisted pilot (month 8) |
|---|---|---|---|
| Median initial file review | 55 min | ≤38 min | 34 min |
| Median days to first development letter | 21 | ≤10 | 6 |
| Letter reading level (median grade) | 11.2 (current templates) | ≤8 | 7.4 |
| Caseworkers using the panel on most new files | — | — | 44 of 52, including all 4 AT users at the centre |
| Median days filing to decision | 118 | — | Not yet measurable |
Run cost: about $0.30 per file × roughly 2,300 new files a month at the pilot centre ≈ $690 a month, illustrative, billed through the department’s existing cloud agreement rather than the task order.
The limits, stated before the oversight hearing
- The number the sponsor wanted is not in. Claims take about four months. Pilot files will be decided after handoff, so filing-to-decision cannot be claimed.
- Letter timing has a confounder. The pilot centre also cleared a mail-room delay in month 7. Part of the 21-to-6-day gain may be that, and the report does not separate them.
- Reading level is a proxy for comprehension, not proof of it.
- Time saved is capacity. Twenty-one minutes per file is time to work more claims, not a staffing reduction, and bargaining agreed that pilot data would not set production standards.
Handoff
Month 9. The prime’s operations and maintenance team takes it over under the same task order, with an OSB product owner.
- Owners: an OSB product owner for priorities; the prime’s O&M lead for operations; programme policy for the rules engine and the approved document list.
- Continuous monitoring: monthly security evidence to the CISO; model, region or data-flow changes go through agency change control.
- Ongoing AI monitoring: quarterly golden-set run on the pinned model and prompt, filed with the CAIO’s office; supervisors sample 25 sent letters a month for unnecessary requests and reading level.
- Controls: off per centre and per feature (letters, summary, gap list), rehearsed by the O&M lead. Off returns caseworkers to today’s process; nothing writes back.
- Open items with owners: non-English documents (programme office), decision letters (CO, as a possible modification), expansion to three more centres (labour relations first).
The handoff test, run by an O&M lead new to the system, found one gap: the runbook said to “turn off letters” but not that drafts already approved and queued would still send.
What an interviewer would probe
The scepticism to expect: did you ship, or write documents for nine months?
| Probe | Weak answer | Strong answer |
|---|---|---|
| “Nine months for a drafting tool. Why so slow?” | “Government is slow.” | Authorization, privacy and the AI impact assessment ran in parallel with a build on synthetic files from month 2. The one month we lost was ours: we tested accessibility too late. |
| “The programme office asked for decision letters. Why say no?” | “We were busy.” | It was outside the task order. Only the CO can change scope; doing it on a programme manager’s say-so is an unauthorized commitment. I put it in writing to the CO instead. |
| “It runs on a FedRAMP cloud. Isn’t that enough?” | “Yes.” | No. The service has to be inside the authorized boundary, and the agency still needs its own ATO from its Authorizing Official. Residency was an ATO condition on top. |
| “Did the backlog go down?” | “Yes, by a lot.” | We do not know yet; claims take four months. What we measured: review time and days to first letter, with a confounder named. |
Use this in your interview
This case answers two common behavioural prompts well: “a time you pushed back on a senior stakeholder” and “a time you got something wrong.” Use one; do not try to tell both at once.
As a behavioural story (“Tell me about a time you made a mistake that affected a customer”)
Situation. Federal benefits office, 210 caseworkers, a drafting assistant five months into a nine-month engagement. The formal accessibility test showed blind caseworkers could not use the panel, though our automated scan was clean.
Task. Make it usable for everyone without letting schedule or scope drift.
Action. Rejected the opt-out shortcut with the 508 manager. Removed streaming, fixed links, controls and focus at source. Re-tested with five AT users and kept them as a release panel. Gave the COR a written one-month slip; declined new scope.
Result. Passed re-test; the pilot met its targets (illustrative: initial review 55 to 34 minutes, first letter 21 to 6 days), and all four AT users at the pilot centre used the panel.
Reflection. I had treated a scan as a test. Now the first users I watch are the ones least like me.
As a decomposition answer (“Design an AI assistant for caseworkers at a federal benefits agency”)
- Ask about the contract first. Who holds it, what the work statement authorises, who the CO and COR are.
- Find where the time and the delay are. Propose a time study; separate minutes worked from days waiting.
- Draw the boundary. FIPS 199 level, a service inside the FedRAMP boundary, the agency ATO, residency.
- Check the records law. Privacy Act SORN, privacy impact assessment, PRA limits.
- Apply AI governance. Treat it as potentially high-impact under M-25-21: pre-deployment testing, impact assessment, monitoring, human oversight.
- Keep the decision human and the facts deterministic. The model drafts; a rules engine owns dates and deadlines; the caseworker sends.
- Plan for people. 508 testing with AT users from the first prototype; impact-and-implementation bargaining; a parallel run.
Common mistakes when candidates tell a public-sector story
- “It was FedRAMP, so it was approved.” FedRAMP covers a cloud offering; the agency authorizes the system.
- Treating the COR as the customer’s decision maker for scope. Only the CO binds the government.
- Accessibility as a final checklist. Federal employees are covered users; test with them early.
Rehearse the loop
Run the decomposition outline in the simulator, map the story onto the behavioural bank, then do the take-home spec closest to this case under its time box.
Pattern recognition across the five cases
The FDE moves repeat; the gatekeepers change. Here the gatekeepers outnumber the users.
| Case | Fictional customer | Dominant FDE challenge |
|---|---|---|
| Insurance | Northstar Mutual | Scope down a vague “agent” ask; idempotent ingest; honest ROI |
| Healthcare (payer) | Cedarline Health Plan | PHI boundaries, BAAs, clinician trust, edge-case evals |
| Banking (AML) | Harborview Bank | Model risk management, auditability, false-negative cost, in-VPC |
| Logistics | Ridgeway Freight | EDI and legacy APIs, messy data, idempotency, warehouse adoption |
| Retail support | Lumen & Loom | Agent tool use, escalation, cost per conversation, honest deflection |
| Public sector (this page) | Federal benefits office | Procurement, Section 508, data residency, change management |
Shared with the others: a vague ask cut down by a time study, a veto-holder’s scope line, an eval gate on the error that lands on a person. Specific here: the contract defines what you may build, authorization where it runs, records law what it may read and ask.
Check yourself
Five questions. Open one to see the answer.
A programme manager asks the FDE to add decision letters while the schedule is slipping. What is the right response?
- Do it quietly; it is small
- Decline and route it to the Contracting Officer as possible new scope
- Ask the COR to approve it
- Do it and bill later
Answer: B. Only the CO can change scope. The COR monitors performance but cannot authorise new work, and work directed without authority risks an unauthorized commitment.
The cloud provider holds a FedRAMP Moderate authorization. What else is required before production?
- Nothing
- The model service must be inside the authorized boundary, and the agency’s Authorizing Official must grant this system an ATO
- A FedRAMP High upgrade
- A vendor letter
Answer: B. FedRAMP covers the cloud offering; the agency authorizes its own system under FISMA, reusing the inherited controls.
Why may the model only request documents from an approved list?
- To save tokens
- The Paperwork Reduction Act requires OMB approval before an agency poses identical information requests to ten or more people
- Section 508 requires it
- The SORN forbids letters
Answer: B. An invented request would be an unapproved information collection.
The automated accessibility scan reported zero violations. Why did the panel still fail?
- The scan was misconfigured
- Automated checkers cannot judge many criteria, such as whether links make sense or a task can be completed with a screen reader
- WCAG 2.0 does not cover panels
- The users were untrained
Answer: B. Section 508 conformance needs testing by people, including assistive-technology users, on real tasks.
Why does the report not claim a reduction in filing-to-decision time?
- It got worse
- Claims take about four months, so files from the pilot were not decided before handoff
- The union objected
- It was out of scope
Answer: B. A lagging outcome cannot be claimed inside the engagement; the report names it as the next metric.
Quick answers
Is the Office of Survivor Benefits a real agency?
No. This is an authored, synthetic engagement: the office, department, people and numbers are invented and internally consistent. The rules quoted are real.
Does Section 508 apply to internal tools used only by federal staff?
Yes. Section 508 covers information and communication technology that federal agencies develop, procure, maintain or use, and requires comparable access for federal employees with disabilities as well as members of the public. The 2017 Refresh incorporates WCAG 2.0 Level A and AA by reference.
Is a FedRAMP-authorized cloud enough to run an AI tool at a federal agency?
Not on its own. The specific service must be inside the cloud offering’s authorized boundary and the agency’s Authorizing Official must still grant the system an authority to operate under FISMA.
What makes public-sector FDE work different?
The contract sets what you may build and who may change it, authorization sets where it may run, records law sets what it may read and ask, and timelines are measured in months. Run those tracks in parallel with the build and claim only what you can measure before you leave.
Explore the topic
See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.
More Handbooks
- The Agent Evaluations HandbookA self-contained handbook on evaluating AI agents — theory, interactive widgets, and practical guidance. Trajectory evals, tool-use scoring, LLM-as-judge, observability, and reliability for PMs, engineers, and founders.Read →
- The Agent Patterns HandbookThe design patterns behind every LLM agent — the ReAct Thought–Action–Observation loop, tool/function calling, plan-and-execute, reflection, memory, multi-agent orchestration, and the failure modes (loops, hallucinated tools, recovery, human-in-the-loop) that break agents in production.Read →
- The Kubernetes HandbookThe one idea under all the YAML — declare desired state, and a control loop makes reality match. Covers the orchestration problem, pods, deployments and replicasets, services and networking, the reconciliation loop and self-healing, the scheduler, config/secrets and health probes, autoscaling, and when you actually need Kubernetes.Read →
- The Observability HandbookSeeing inside production — monitoring vs observability, the three pillars (metrics, logs, traces) and what each answers, structured logging, metric types and the cardinality trap, distributed tracing, the golden signals and SLIs/SLOs/error budgets, alerting on symptoms not causes, and correlating all three during an incident.Read →
- The AI Security HandbookYour app now reads the internet and believes it. Why prompt injection is a design problem filters cannot solve, the lethal trifecta (private data + untrusted content + exfiltration), defense in depth from least privilege to output validation, where PII actually leaks (logs, embeddings, weights), MCP/model supply-chain trust, and the red-team eval suite that gates CI.Read →
- The Docker HandbookA container is a lie told by the kernel — namespaces (what a process sees) plus cgroups (what it uses), not a VM. Image layers and the cache-ordering rule that halves build times, multi-stage Dockerfiles that ship small, volumes vs bind mounts, name-based networking, Compose, and the handoff to Kubernetes.Read →