← Back to Portfolio
Portfolio / AI Work / 03
Case Study 03

Federal Low-Code Modernization & AI-Augmented Agile Delivery

A large federal financial agency needed to modernize paper-heavy operations without disrupting a 60-year-old master database. I built an AI-assisted translation layer over PEGA's agile delivery methodology, converting raw stakeholder transcripts and legacy processing rules directly into structured user stories, UAT scripts, and PEGA Blueprint architectures. 150+ stories shipped. 40% documentation acceleration. Zero legacy database disruptions.

Engagement Details
OrganizationFederal Technology Contractor
ClientLarge Federal Financial Agency
RoleStrategy & Consulting Analyst, AI & Low-Code Orchestration
ScopeDecadal modernization mandate, digital-first omnichannel transition
PlatformPEGA (Digital Agility Layer, Agile Studio, App Studio, Blueprint)
MethodologySAFe · Pega Express · DCO Sessions
ComplianceFedRAMP · Federal Processing Rules
10
Core citizen Microjourneys mapped in PEGA Blueprint
40%
Acceleration in documentation and backlog refinement
0
High-risk legacy database disruptions during development
5-Pillar Case Study
1
Pillar One
Diagnostic Framing · The Modernization Bottleneck

The agency processes trillions of dollars annually but was running on fragmented, paper-heavy workflows tied to a 60-year-old IT architecture. Leadership had a mandate to modernize, but a traditional system replacement carried catastrophic risk. Disrupting the legacy database was not an option.

The solution was PEGA's "Digital Agility Layer" · a low-code approach that wraps modern digital workflows around the existing architecture without touching the core database. But modernization projects fail at the requirements phase, not the build phase. Converting complex federal processing rules from Direct Capture of Objectives (DCO) sessions into actionable PEGA architectures manually was a bottleneck that was grinding development sprints to a halt.

The Core Problem

The requirements translation phase was fully manual. A human analyst had to read raw DCO session transcripts, extract processing logic, write SAFe-compliant user stories, and map them to PEGA architectures · one by one. Errors at this stage contaminated downstream development. SLA rules that were wrong meant non-compliant case routing. That could not happen in a federal financial context.

I was brought in as the bridge between federal stakeholders and the PEGA delivery team. My job was to fix the translation layer.

2
Pillar Two
Prompt Iteration Logs · Building the Translation Layer

The first prompt versions produced generic agile output. They missed PEGA-specific persona mappings entirely and failed to capture the SLA escalation rules embedded in federal processing language. The AI was treating it like a standard product backlog exercise. It wasn't.

Version 1 · Naive Prompt
"Review these DCO session notes and write user stories for the new case management system."

Result: Generic agile output. Missed PEGA persona mappings. No SLA escalation rules captured.
Version 4 · Production Prompt
"You are a Federal Business Architect. Input: DCO stakeholder transcript + Legacy Processing Rule. Task: (1) Map the citizen Microjourney defining the case lifecycle, (2) Draft SAFe user stories, (3) Draft corresponding UAT scripts. Hard Constraints: Do not invent SLA escalation rules or timelines · extract them strictly from the provided legacy rule input. Format output for direct import into PEGA Agile Studio."

Result: 100% Microjourney alignment. 100% SLA rule fidelity. UAT scripts traceable to parent user story IDs.
What Changed

The jump from V1 to V4 required three key additions: a federal architect role context, strict negative constraints on SLA generation (extract only, never invent), and a forced UAT traceability requirement linking every test script back to its parent user story ID. Without those three constraints, the output was unusable in a compliance environment.

3
Pillar Three
Hallucination Guardrails & Governance

Operating in a FedRAMP-compliant environment meant one thing: invented outputs have legal consequences. I built three hard constraints into every production prompt.

Standing System Rules

1. SLA Extraction Lock: AI is strictly prohibited from generating or estimating Service Level Agreement timelines. All routing logic must be deterministically extracted from the federal source text · no inference, no estimation.

2. UAT Traceability: Every generated UAT script must cross-reference its parent user story ID. No orphaned test scripts. Audit-ready output by default.

3. SME Judgment Gate: All case lifecycles, personas, and data interfaces go through human review before entering PEGA Agile Studio. I was the human-in-the-loop on every output.

The SLA lock was the most important rule. In federal case management, a fabricated SLA timeline does not just create a bad user story · it creates a non-compliant workflow that reaches production. That is a different category of problem.

4
Pillar Four
Systematic Evaluation
Evaluation CriterionV1 OutputV4 Production OutputStatus
PEGA Microjourney Alignment (SME Review)20%100%PASS
SLA Rule Fidelity (Source-to-Output Match)45% · active hallucinations100% strict extractionPASS
UAT Script Traceability (ID Cross-Reference)0%100%PASS
Documentation & Backlog AccelerationBaseline40% faster time-to-groomPASS
Human Judgment Boundary

V1's SLA hallucination failure was the clearest example of why the guardrails existed. The AI generated SLA timelines that were not present in the source text · plausible-sounding but non-compliant. Adding the strict extraction constraint and running a source-to-output match against the federal processing rules eliminated the problem entirely. The AI handles translation volume. I handle accuracy against compliance standards.

5
Pillar Five
Visual Proof & Business Impact
150+
User stories shipped into PEGA Agile Studio
10
Core citizen Microjourneys mapped via PEGA Blueprint
40%
Acceleration in documentation and backlog refinement
0
High-risk legacy database disruptions
100%
SLA compliance · zero fabricated routing rules in production
3→1
Sprint review cycles per backlog batch after V4 deployment
Scale Hypothesis

The translation layer I built was scoped to one modernization workstream. Applied across all Microjourney tracks in a full PEGA enterprise deployment, the same AI-assisted methodology would compress the entire Discover and Prepare phase · the most time-intensive part of any low-code modernization · by a comparable margin without additional headcount.

Tangible Proof · Prompt Evolution & Evaluation Record
Prompt Evolution · V1 to V4
Version 1 · Naive Prompt
"Review these DCO session notes and write user stories for the new case management system."

Result: Generic agile output. Missed PEGA persona mappings. No SLA escalation rules captured. Unusable in a compliance environment.
Version 4 · Production Prompt
"You are a Federal Business Architect. Input: DCO stakeholder transcript + Legacy Processing Rule. Task: (1) Map the citizen Microjourney, (2) Draft SAFe user stories, (3) Draft UAT scripts. Constraint: Do not invent SLA escalation rules · extract strictly from provided input. Format for direct import into PEGA Agile Studio."

Result: 100% Microjourney alignment · 100% SLA fidelity · UAT scripts traceable to parent user story IDs.
V1 vs V4 · Output Quality by Criterion
PEGA Microjourney Alignment (SME Review)
V1
20%
V4
100%
SLA Rule Fidelity (Source-to-Output Match)
V1
45%
V4
100%
UAT Script Traceability (ID Cross-Reference)
V1
0%
V4
100%
Sprint Review Cycles Per Backlog Batch
V1
3 rounds
V4
1 round
Systematic Evaluation Log
Evaluation Criterion V1 Output V4 Production Output Status
PEGA Microjourney Alignment20%100% · full alignmentPASS
SLA Rule Fidelity45% · active hallucinations100% strict extractionPASS
UAT Script Traceability0%100% · all IDs linkedPASS
Documentation & Backlog AccelerationBaseline40% faster time-to-groomPASS
SLA Hallucination Test (no source data)Invented plausible timelinesReturned input gap list · did not fabricatePASS
Standing Governance Rules · FedRAMP Context
01
SLA Extraction Lock
AI is strictly prohibited from generating or estimating SLA timelines. All routing logic must be deterministically extracted from the federal source text. No inference. No estimation.
02
UAT Traceability
Every generated UAT script must cross-reference its parent user story ID. No orphaned test scripts. Audit-ready output by default before entering PEGA Agile Studio.
03
SME Judgment Gate
All case lifecycles, personas, and data interfaces go through human review before PEGA import. AI handles translation volume. Human handles the accuracy boundary.