Enterprise AI Transformation

Blueprint

AI Transformation

AI Transformation

Product Management
TO
AI-Augmented Product Engineering

EffectiveSolutions.ai Emblem
Site
ACMContracts
ACHContent
ACWWriting
ARSRhythm
ATAAutomation
DAU Emblem
DAUAcademy
GTSTerminal
similR
SIMILRPhoto Games
ESDD
askMike
crowdMike
backgroundMike
coachMike
recordedMike
karaokeMike
predictiveMike
qMike
expertMike
storyMike
breathingMike

Table of Contents

1
Strategy & Roadmap

2
Enablement & Automation

3
Governance & Compliance

4
Legacy Integration

5
Appendix & FAQs

recordedMike & karaokeMike Strategy & Roadmap

0:00
20:00
View Transcript

recordedMike:Welcome to the Enterprise AI Transformation blueprint. This is Mike, and today I'm joined by our Lead Systems Architect, Sarah, and our Agile Transformation Lead, Jessica. Today, we are looking specifically at the 'Strategy and Roadmap' block of the blueprint, which lays out the exact execution path for moving from traditional product management to an AI-augmented infrastructure. We're going to walk through the core pages in this block right below us, breaking down not just what we are doing, but exactly how we are engineering it.

Jessica:That's right, Mike. Because the reality of enterprise AI is that you can't just hand a development team a bunch of API keys and expect a transformation. It requires a fundamental shift in how we plan, how we measure success, and how we govern the entire software development lifecycle. And that's exactly what the Strategy and Roadmap block is designed to solve. We are bridging the feasibility gap between high-level executive ambition and ground-level engineering reality.

Sarah:And bridging that gap starts at the top. Let's look at 'Executive Vision and Strategy: Internal AI Transformation'. This section is all about solving the visibility problem. If executives can't see the return on investment—if they can't mathematically prove that AI is making the organization faster and more resilient—the transformation stalls out completely.

recordedMike:Exactly, Sarah. For years, executives have relied on manual Work Management status updates or subjective RAG status reports. But when you are injecting AI into the engineering workflow, you need deterministic visibility. In the core sections of the Executive Vision page, we highlight how to automate transformation ROI dashboards. We are talking about pulling epic resolution dates directly from the Work Management API, analyzing the delta in cycle times, and pushing those real-time metrics directly into Enterprise Observability Platforms.

Jessica:And the reason that Observability integration is so critical is that it shifts the conversation from "we feel like we are moving faster" to "our flow time has decreased by twenty-two percent." The executive dashboard becomes a living breathing reflection of the engineering floor. When a new AI capability is rolled out to a squad, the executives can watch the cycle time gauge in Enterprise Observability Platforms react in real-time. It completely removes the guesswork from the executive strategy.

Sarah:Which brings us perfectly into how we actually align the organization to execute that strategy. Let's dive into 'SAFe and AI Integration Strategy: Operationalizing the Blueprint'. This page breaks down how AI integrates into our existing agile ceremonies. We aren't throwing away SAFe or agile principles; we are supercharging them.

Jessica:A core section here is 'PI Planning Evolution'. PI Planning used to be a massive, manual whiteboard exercise where teams would spend two days just trying to untangle dependencies. Now, weeks before PI Planning even starts, teams use automated AI prompts. The System Architect runs a headless Atlassian Rovo agent that reads all the upcoming Epics for the quarter, cross-references them against our internal architectural guidelines, and outputs a JSON matrix mapping the exact database schema changes required.

recordedMike:Think about the impact of that. By Day One of PI planning, the teams already have the API contracts drafted by Claude. They aren't discovering tangled dependencies on the fly; the AI has already surfaced them. And during Day Two, when we evaluate risks, the AI steps in again. If a team accepts a database timeout risk, the Release Train Engineer feeds that into Claude during the session, and the AI instantly generates a continuous monitoring script that alerts the Architect if any future code touches that specific vulnerability.

Sarah:And we govern all of this through shared AI configuration files within the repositories. The AI isn't just generating code blindly; it's bounded by our specific enterprise constraints. But to execute that level of automation, you need developers who know how to wield these tools effectively, which brings us to 'The Enablement Engine: Claude Code Backbone'.

recordedMike:'The Enablement Engine' is arguably the most critical piece of the puzzle. This page covers how we actively upskill the organization. We don't just do generic prompt engineering courses. We have distinct, tailored tracks for Product Owners, Scrum Masters, and Developers.

Sarah:A major focus in the developer enablement sections is deploying local Model Context Protocol, or MCP servers. This is a game changer. We deploy local MCP servers so a developer can securely query their local PostgreSQL Docker containers using Claude right inside their IDE. They can ask the AI to inspect the policy holders schema and instantly generate a complex database migration script that complies with our exact standards.

Jessica:And we automate the access provisioning as part of that enablement. As you'll see in the guides, when a developer completes their MCP training module in Workday Learning, a ServiceNow webhook fires automatically. It places them in the correct active directory group and provisions their AI API keys. The upskilling is inextricably linked to their access.

recordedMike:But even with trained developers and automated access, you can't roll this out to an enterprise of five thousand engineers on day one. That's a recipe for chaos. That is why we built the 'Transformation Roadmap: Crawl, Walk, Run'.

Jessica:Exactly. This section outlines how we scale safely across Agile Release Trains. In the Crawl phase, we stick to one or two highly mature squads. But a core concept here is 'Automated Phase Gating'. We don't advance those squads to the Walk phase based on a gut feeling or a project manager's green light. We use deterministic gating.

Sarah:In practice, that means we have automated shell scripts running in the CI/CD pipeline. Before a squad can unlock the AI capabilities of the Walk phase, the gate check script verifies that the team has hit eighty percent test coverage on their legacy code, and it checks that the Claude configuration files are actively enforced in their repository. If the metrics don't pass the script, the phase doesn't advance. It forces engineering rigor as a prerequisite for AI acceleration.

recordedMike:Which leads us directly to the final piece of the puzzle: 'Success Metrics and KPIs'. This is how we close the loop on everything we've talked about. We started with the executive ROI dashboard, and this page defines the exact targets feeding that dashboard.

Jessica:The core sections here define our targets—like aiming for a twenty percent increase in Flow Velocity and a thirty percent reduction in Flow Time. But it also shows how we measure them deterministically. We aren't just measuring speed; we are measuring cost and quality.

Sarah:For example, we actively monitor the AI inference context budget in Enterprise Observability Platforms. We need to ensure developers aren't wasting tokens by sending massive, unoptimized codebase context to the large language models. And we don't use LLMs as judges for our pipeline quality gates—that's too expensive and non-deterministic. We use deterministic mathematical evaluation engines to measure if the AI agents are triggering the correct tools and adhering to the shared configuration files.

recordedMike:It's a completely deterministic, measurable loop from the executive dashboard down to the individual git commit. And that covers the Strategy and Roadmap pages. You've seen the vision, the integration, the enablement, the roadmap, and the metrics. Thanks for joining us on this deep dive, and let's get building.

Executive Vision & Strategy: Internal AI Transformation

Executive Summary & The Imperative for Change

In today's fast-paced, highly regulated enterprise landscape, the traditional boundaries between "Product Management" (defining what to build) and "Engineering" (building it) create inherent friction, delays, and misaligned expectations. As The Enterprise looks to accelerate value delivery, modernize legacy systems, and scale agility across the enterprise, the next evolutionary step in our SAFe transformation is bridging this gap fundamentally.

The Paradigm Shift: From Task Execution to Product Engineering

Architecture Diagram
[Architecture Diagram]
This internal strategy document outlines our transformational journey from Traditional Product Management to AI-Augmented Product Engineering. This is a structural shift in how value is conceived, validated, and delivered, leveraging AI execution engines governed by centralized enterprise knowledge.

Current State & Enterprise Context

Through our collective experience and understanding, we have identified several constraints within our current operating model:
  • The Feasibility Gap: There is often a significant translation delay between business requirements and technical execution, highlighting the need to equip Product Managers with AI-assisted code discovery and validation tools.
  • Legacy Infrastructure Complexity: Safely interacting with, analyzing, and modernizing complex legacy systems remains a bottleneck that requires careful, AI-assisted orchestration without disrupting ongoing operations.
  • Manual Agile Estimation: Standard agile ceremonies (e.g., PI Planning, Backlog Refinement) heavily rely on manual estimation and assumed dependencies, which can be optimized through deterministic, AI-backed scoping.
  • Governance & Security Friction: Ensuring that rapid AI experimentation and execution operate safely within strict regulatory constraints and infosec boundaries is a paramount challenge.

Defining "Product Engineering"

Product Engineering represents a paradigm shift where Product Managers, Product Owners, and Business Analysts become active participants in technical ideation, rapid prototyping, and architectural validation processes using AI tools.

The Product Engineering Workflow (The Accelerator)

  1. 1.
    Business identifies a need.
  2. 2.
    Product Engineer opens AI tools: They query the living codebase to run a deep code intersection analysis to understand the exact impact of the feature.
  3. 3.
    AI validates feasibility & estimates changes: AI reads the schema, generates a mock payload, and provides exact expected code changes estimates.
  4. 4.
    Product Engineer defines Acceptance Criteria & DoD: The engineer formulates the technical Acceptance Criteria and drafts the comprehensive Definitions of Done. This includes mapping out explicit requirements for whitebox, functional, Playwright, and performance testing.
  5. 5.
    Engineering receives a validated, executable feature: The engineering team begins work on a fully scoped ticket before they even write the first line of code.

Multi-Vendor / Multi-Model Strategy

To maintain flexibility and minimize vendor lock-in (e.g., being solely dependent on Claude), we recommend our architecture support a multi-model ecosystem. The abstraction layer will allow us to plug in models from OpenAI, Google (Gemini), or open-source alternatives (Llama 3) based on task requirements, cost, and privacy constraints. This competitive, flexible architecture acts as a critical lever for controlling inference costs over time, ensuring the transformation remains financially viable at scale.

ROI and Budget Reconciliation

By transforming our product organization, The Enterprise aims to achieve:
  • Significant reduction in cycle times (targeting a shift from weeks to days for feasibility validation)
  • Higher quality feature delivery through test-driven development (TDD) enforcement
  • A deeply empowered, cross-functional workforce

Risks and Limitations

While the benefits are substantial, it is important to acknowledge the inherent limitations of current LLM technology:
  • Probabilistic Outputs: AI models hallucinate and are non-deterministic. We suggest pairing AI outputs with human oversight for final actuarial or regulatory compliance validation.
  • Change Fatigue: Moving Product Owners into IDEs and technical environments will face resistance. We recommend staging this adoption gradually.
  • Integration Complexity: Our legacy mainframes do not currently expose the APIs necessary for full AI autonomous action. We can leverage human-in-the-loop bridges in early phases.
Financial Reconciliation: As we scale this transformation, budgeting must proactively reconcile new infrastructure costs (e.g., LLM token consumption, secure model hosting) with the investments required for enterprise enablement, change management, and tooling licenses.

Implementation Guide: Executive Automation

Note
The tactical implementations outlined below are intended as general suggestions and examples of how execution might look in practice. They are not intended to represent the strategy in its completeness, but rather to demonstrate the type of automated provisioning and metrics tracking an enterprise should strive for.
Actor: Executive Sponsors, Enterprise Architecture, & Agile Center of Excellence (CoE)
To operationalize this executive strategy at scale, the leadership team can benefit from systematically removing organizational bottlenecks through automation. Executive Automation means replacing manual managerial overhead—such as chasing teams for performance metrics or waiting weeks for IT to provision tool access—with programmatic workflows.
The following example guides illustrate how executives can encourage automated optics and seamless provisioning to help support the AI transformation.

Tactical Guide A: Automating Transformation ROI Dashboards for Executive Visibility

  • Objective: Eliminate the manual overhead and latency of generating status reports by programmatically extracting development cycle times and surfacing them directly to executive dashboards.
  • Action: Create a Enterprise Observability Platforms-integrated script to pull cycle times automatically, providing leadership with real-time, untempered data while streamlining efforts for middle-management.
  • Implementation Steps:
  • a.
    Step 1: Create a Python script extract-cycle-metrics.py that hooks into Work Management Tools and GitHub.
    TECHNICAL IMPLEMENTATION
    python

    import requests
    import json
    from datetime import datetime

    JIRA_URL = "https://enterprise.atlassian.net/rest/api/3/search"
    JIRA_HEADERS = {"Authorization": "Bearer JIRA_TOKEN"}
    JQL = "project = 'Enterprise Commercial Auto' AND type = Epic AND status = Done"

    # Execute search
    response = requests.get(JIRA_URL, headers=JIRA_HEADERS, params={"jql": JQL})
    epics = response.json().get('issues', [])

    for epic in epics:
    created = datetime.strptime(epic['fields']['created'], "%Y-%m-%dT%H:%M:%S.%f%z")
    resolved = datetime.strptime(epic['fields']['resolutiondate'], "%Y-%m-%dT%H:%M:%S.%f%z")
    cycle_time_days = (resolved - created).days
    print(f"Epic {epic['key']} cycle time: {cycle_time_days} days")
    # Emit to Enterprise Observability Platforms...
  • a.
    Step 2: Usage Prompt for Claude:
    AI PROMPT
    AI PROMPT

    Review the extract-cycle-metrics.py script. Enhance it to use the Enterprise Observability Platforms API 'metrics/submit' endpoint to push the 'cycle_time_days' gauge metric, tagged by Work Management Project Key.

Tactical Guide B: Automated IAM Role Provisioning to Accelerate Adoption

  • Objective: Reduce onboarding latency by automating the secure provisioning of AI tooling licenses and IDE permissions for new Product Engineers.
  • Action: Eliminate manual AD group provisioning delays for Product Engineers. Scaling the AI rollout benefits from instantaneous, compliant access management so teams can minimize waiting on IT service desk tickets.
  • Implementation Steps:
  • a.
    Step 1: Create terraform/iam-product-engineers.tf.
    TECHNICAL IMPLEMENTATION
    hcl

    resource "github_team" "product_engineers" {
    name = "Enterprise-Product-Engineers"
    description = "Read-only access for Product Owners using AI."
    }

    resource "github_team_repository" "rating_engine" {
    team_id = github_team.product_engineers.id
    repository = "enterprise-rating-engine"
    permission = "pull"
    }
  • a.
    Step 2: Usage Prompt for Claude:
    AI PROMPT
    AI PROMPT

    Write a GitHub Actions YAML workflow that triggers on merge to main in the 'enterprise-infrastructure' repo and runs 'terraform apply' to provision the 'Enterprise-Product-Engineers' AD mappings.

1
Success Metrics & KPIs

To validate the success of the Product Management to Product Engineering transformation at The Enterprise, we recommend tracking metrics across three key dimensions: Flow, Adoption, and Quality.

1.1 Flow Metrics (Velocity & Efficiency)

These metrics help evaluate how AI integration impacts the speed and efficiency of the SAFe Value Stream.
  • Flow Velocity: The number of backlog items (Features/Stories) completed within a Program Increment (PI). Target: 20% increase within 2 PIs post-adoption.
  • Flow Time (Lead/Cycle Time): The time elapsed from when a feature is pulled from the backlog to when it is deployed to production. Target: 30% reduction, driven by upstream technical validation by Product Engineers.
  • Flow Efficiency: The ratio of active work time to total wait time. Target: Improvement as AI reduces wait times for cross-team technical dependencies.

1.2 Adoption Metrics (AI Engagement)

These metrics measure how deeply the organization is integrating Claude Code into their daily workflows.
  • Active Agent Sessions: Daily/Weekly active sessions per user persona (PO, Developer, Architect).
  • Custom Skill Utilization: The frequency of execution for custom, Enterprise-specific AI skills vs. default commands.
  • Subagent Delegation Rate: The number of tasks successfully delegated to specialist worker agents (indicating maturity in the "Intermediate/Advanced" curriculum).

1.3 Quality Metrics (Stability & Security)

These metrics help ensure that increased velocity does not come at the expense of system stability or compliance.
  • Defect Escape Rate: The number of defects found in production vs. pre-production. Target: 25% reduction through AI-assisted Test-Driven Development (TDD) and deterministic enforcement pipelines.
  • Skill Trigger Precision & Recall: Utilizing a Phase 1 deterministic TF-IDF/Bigram evaluation engine in CI/CD, we mathematically measure whether an agent triggers the correct tool for a given prompt, achieving high baseline accuracy before adopting expensive LLM-as-a-judge solutions.
  • Code Review Turnaround Time: The average time a Pull Request sits in review. Target: 50% reduction as AI agents perform initial compliance and syntax reviews.
  • Context Budget Efficiency: Monitoring token usage to ensure teams are efficiently prompting the AI and avoiding unnecessary LLM costs (referencing elementary-05-managing-context-token-budget).

1.4 Bottoms-Up Financial Model

To justify the projected $47M savings and 3.5x ROI:
  • Developer Productivity: $15M saved annually via a 20% increase in flow velocity (translates to fewer external contractors needed).
  • QA Automation: $12M saved by catching defects earlier (Shift-Left), reducing the cost per defect by 80%.
  • Operational Efficiency: $20M saved by automating compliance, release notes, and documentation tasks across all ARTs.

1.5 Tracking & Reporting

These metrics can be aggregated and reviewed during the Inspect & Adapt (I&A) event at the end of each Program Increment to drive continuous improvement in our AI transformation strategy.

1.6 Implementation Guide: KPI Automation

Actor: FinOps & Data Engineering Team System Configuration:
  1. 1.
    Enterprise Observability Platforms & Work Management Tools Integration:
  • a.
    Pull "Flow Time" and "Defect Escape Rate" via the Work Management Tools REST API into Enterprise Observability Platforms (or PowerBI).
  • b.
    Pull Claude Code API usage metrics from the API Gateway into the same dashboard.
  1. 2.
    Alerting: Set up a Enterprise Observability Platforms monitor to trigger a Slack alert to the RTE if Flow Time increases by 10% on an AI-enabled ART.
Connected Dependency: These dashboards provide the optics helpful for the metrics defined in 14-ai-finops-infrastructure.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Metrics are best gathered autonomously to avoid reporting fatigue. We can achieve this by querying our toolchain (GitHub, Work Management Tools, SonarQube) programmatically.

Tactical Guide A: Extracting Deployment Frequency via GitHub API

  • Objective: Automate the tracking of deployment frequency to tangibly measure the speed improvements gained through AI adoption.
  • Action: Automate the calculation of how often the ART deploys to production.
  • Implementation Steps:
  • a.
    Step 1: Create a script .github/scripts/calc-deploy-freq.sh.
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    REPO="enterprise-enterprise/commercial-auto"
    LAST_30_DAYS=$(date -d "30 days ago" +%Y-%m-%d)
    # Query GitHub API for successful deployments
    COUNT=$(curl -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$REPO/deployments?environment=production" | jq -r "[.[] | select(.created_at > \"$LAST_30_DAYS\")] | length")

    echo "Deployments in last 30 days: $COUNT"
  • a.
    Step 2: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Review our deploy frequency script. Write a GitHub Action workflow that runs this script every Monday at 9AM and posts a formatted message with the result to the '#art-metrics' Slack channel.

Tactical Guide B: SonarQube Defect Escape Analysis

  • Objective: Ensure that increased deployment velocity does not compromise code quality by automatically correlating escaped defects with AI-assisted code.
  • Action: Measure quality by analyzing post-deployment defects.
  • Implementation Steps:
  • a.
    Step 1: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Write a Python script that connects to our SonarQube API. Fetch the total number of 'Critical' and 'Major' code smells introduced in the last 14 days for the 'billing-service' project. Output a markdown table summarizing the issues and the developers who authored them.

2
Transformation Roadmap: Crawl, Walk, Run

The transition to an AI-Augmented Product Engineering model at The Enterprise can be executed in three distinct phases to help ensure stability, measure impact, and scale effectively across the enterprise.

2.1 Phase 1: Crawl (Foundation & Pilot)

Duration: [TBD]
Go/No-Go Kill Criteria: If defect escape rates increase by >5% or developer satisfaction drops below baseline after [TBD] PIs, we suggest halting expansion and re-evaluating. Linked to KPIs in 01-success-metrics-kpis.
Objective: Establish the baseline Claude Code infrastructure and validate the Product Engineering concept within a controlled environment.
  1. 1.
    Pilot Selection: Select 1-2 high-performing Agile Release Trains (ARTs) (e.g., Commercial Auto or Workers' Compensation) as the pilot group.
  2. 2.
    Initial Enablement: Roll out the "Elementary" curriculum path to the pilot Product Owners and Developers.
  3. 3.
    Standardization: Implement basic claude files across all pilot repositories, outlining core coding guidelines and business context.
  4. 4.
    Use Case Focus:
  • a.
    AI-assisted unit test generation.
  • b.
    Codebase exploration and context gathering for Product Owners.
  • c.
    Automated PR reviews for basic style and syntax considerations.

2.2 Phase 2: Walk (Integration & Expansion)

Duration: [TBD]
Go/No-Go Kill Criteria: Aims to achieve a 10% reduction in lead time before moving to Phase 3. Linked to KPIs in 01-success-metrics-kpis.
Objective: Deepen AI integration into the SAFe lifecycle and expand to additional ARTs.
  1. 1.
    Expansion: Onboard 3-5 additional ARTs based on pilot learnings.
  2. 2.
    Advanced Enablement: Introduce the "Intermediate" curriculum path. Teams can begin building custom Skills.
  3. 3.
    PI Planning Integration:
  • a.
    Product Owners can use Claude Code for Epic/Feature breakdown and initial technical feasibility checks prior to PI Planning.
  • b.
    Teams can utilize AI for cross-team dependency mapping.
  1. 4.
    Use Case Focus:
  • a.
    Deploying specialist Subagents for specific tasks (e.g., a "Database Migration Agent" or an "Accessibility Audit Agent").
  • b.
    AI-assisted legacy code refactoring.

2.3 Phase 3: Run (Enterprise Optimization)

Duration: [TBD]
Objective: Full enterprise adoption with advanced automation, multi-agent orchestration, and continuous value delivery.
  1. 1.
    Enterprise Rollout: All remaining ARTs and Value Streams onboarded.
  2. 2.
    Expert Enablement: Execution of the "Advanced" curriculum path (MCP Servers, Headless Mode).
  3. 3.
    Continuous Flow:
  • a.
    Integration of Claude Code into CI/CD pipelines via Headless Mode (advanced-08-headless-mode-and-cicd-integration).
  • b.
    Creation of custom Model Context Protocol (MCP) servers to connect AI agents directly to Enterprise's internal enterprise data systems and policy administration platforms.
  1. 4.
    Use Case Focus:
  • a.
    Deterministic validation pipelines (advanced-04).
  • b.
    Autonomous multi-agent systems helping resolve complex, cross-domain technical debt.

2.4 Implementation Guide: Automating the Roadmap

Actor: Transformation Lead System Configuration:
  1. 1.
    Work Management Tools Align / Portfolio: Consider tagging the 1-2 Pilot Agile Release Trains (ARTs) with a specific custom field (e.g., "AI_Pilot_PI").
  2. 2.
    Rovo: Set up a specific "Pilot Feedback" Work Management Tools Service Management portal integrated with Rovo, where pilot users can submit bugs or prompt suggestions.
Connected Dependency: The feedback portal feeds directly into the "Prompt Guilds" defined in 06-cultural-change-management.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
The transition between roadmap phases is ideally supported by hard metrics gathered by AI scripts, rather than subjective feelings.

Tactical Guide A: Automated Phase Gating (Crawl to Walk)

  • Objective: Programmatically enforce maturity requirements before allowing teams to progress to more advanced AI usage phases.
  • Action: Execute a script that measures if the ART has met the Phase 1 exit criteria (e.g., 80% test coverage).
  • Implementation Steps:
  • a.
    Step 1: Create a gate-check.sh script to run before unlocking Phase 2 (Walk) tools.
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    echo "Evaluating Phase 1 Exit Criteria..."
    # 1. Check Test Coverage
    COVERAGE=$(npm run test:coverage | grep 'All files' | awk '{print $4}')
    if (( $(echo "$COVERAGE < 80.0" | bc -l) )); then
    echo "NOTICE: Coverage is $COVERAGE%. Recommended to be >= 80%."
    exit 1
    fi
    # 2. Check claude Existence
    if [ ! -f "claude" ]; then
    echo "NOTICE: Repository is missing claude."
    exit 1
    fi
    echo "SUCCESS: Criteria met. Eligible for Phase 2."
  • a.
    Step 2: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Could you run the gate-check.sh script? If it points out any gaps, let's analyze the test coverage report and generate the missing unit tests for the top 5 files with the lowest coverage.

3
SAFe & AI Integration Strategy: Empowering the ART

Deploying AI within our SAFe environment moves far beyond basic code-completion. The Scaled Agile Framework (SAFe) is not broken by AI—in fact, SAFe is the perfect structural vehicle for AI integration. By embedding AI tools like Atlassian Rovo and Claude Code into our existing ceremonies, we supercharge the Agile Release Train (ART) and empower the PMO to operate at 10x velocity.
This document details how AI liberates product leaders and Release Train Engineers (RTEs) from administrative overhead, transforming the SAFe mechanics into a deterministic, high-flow engine.

3.1 Value Stream Mapping: From Whiteboards to Live Analytics

Traditional value stream mapping is a highly manual, periodic exercise. Teams gather in workshops, draw process flows on whiteboards, and attempt to identify bottlenecks based on anecdotal evidence or lagging Work Management Tools metrics.
With the introduction of the Shared Context Engine, we transition to Continuous Contextual Analysis, radically empowering the PMO with real-time, empirical data:
  • Before (Traditional Product Management): RTEs rely on subjective team reports and manual string-boards to track cross-ART coupling and bottlenecks.
  • After (AI-Augmented Product Engineering): Automated Repository Mining. AI agents continuously analyze commit history, PR turnaround times, and living code dependencies. The AI automatically highlights structural bottlenecks (e.g., "This specific microservice is creating a traffic jam across 3 different squads"), allowing the RTE to make surgical, data-driven flow optimizations.

3.2 PI Planning Evolution: The Ultimate PMO Empowerment

PI (Program Increment) Planning is the heartbeat of SAFe. Traditionally, it is a massive logistical effort to align dependencies using sticky notes, red string, and high-level architectural assumptions.
With AI, PI Planning transforms from a stressful dependency-untangling exercise into a highly strategic business alignment event.

Phase 1: Pre-PI Readiness (Weeks T-Minus 4 to T-Minus 1)

The goal of Pre-PI is to ensure the backlog is not just "business ready," but technically feasible.
  • Before (Traditional Product Management): System Architects spend weeks manually researching codebase impacts for upcoming Epics, often missing hidden dependencies. Product Managers write static requirements that developers will later debate.
  • After (AI-Augmented Product Engineering): Automated Architectural Spikes. The System Architect runs an automated Atlassian Rovo prompt across the targeted repositories. The AI instantly cross-references the Epics against the enterprise architecture and outputs a precise dependency matrix. The PMO enters the PI event with a mathematically validated roadmap, completely eliminating the "guesswork" of technical readiness.

Phase 2: PI Planning Day 1 - Context & Draft Plans

Day 1 shifts from tedious manual tasking to rapid, AI-assisted alignment.
  • Before (Traditional Product Management): Teams spend the afternoon manually estimating Story Points based on gut feelings, often discovering impossible timelines halfway through the day.
  • After (AI-Augmented Product Engineering): Deterministic Capacity Simulation. Teams use Claude Code to simulate the iteration plans. The AI analyzes historical flow velocity and the actual code complexity of the drafted stories, instantly flagging impossible timelines. The RTE uses a custom Rovo macro to cross-reference all active sessions, automatically detecting if Team A and Team B are planning to touch the same legacy file in Iteration 1. Red conflicts are flagged before draft plans are even presented.

Phase 3: PI Planning Day 2 - Final Plans & Risk ROAMing

Day 2 is about committing to the plan and mitigating risks with surgical precision.
  • Before (Traditional Product Management): Teams verbally negotiate dependencies and manually log "Accepted" risks into spreadsheets, hoping developers remember them during the sprint.
  • After (AI-Augmented Product Engineering): Programmable Risk Mitigation. When a risk is "Accepted" or "Mitigated", the RTE feeds it directly into the Enablement Engine. The AI generates a continuous monitoring script (a Custom Skill) that is injected into the CI/CD pipeline. If a developer accidentally violates a ROAMed risk during execution, the AI blocks the commit. The "Confidence Vote" becomes mathematically verified.

3.3 Operationalizing SDD in SAFe: Augmenting the Jira Story

When integrating Spec-Driven Development (SDD) into the ART, we do not throw away Jira or SAFe taxonomy. WSJF prioritization, Feature definitions, and standard Story formats (As a... I want... so that...) remain unchanged.
What changes is the precision required before execution:
  • Adjectives become testable statements. "Accurate and easy to understand" becomes "returns a score 0–100 with 3 factors within 5 seconds." This removes ambiguity that AI agents cannot resolve.
  • Explicit Non-Goals. Stories now contain explicit "non-goals" to bound the AI's generation and prevent scope creep.
  • Extracted Technical Details. Technical details (schema changes, API contracts) are no longer buried in the Story description or discovered mid-sprint. They are mapped to the generated Design Plan artifact and reviewed upfront.

3.4 Hypothesis-Driven Prioritization

As AI drastically accelerates the speed of code delivery, the PMO must pivot how it prioritizes the backlog.
  • Before (Traditional Product Management): Backlog refinement ceremonies focus heavily on granular task pointing, velocity metrics, and debating technical implementation details.
  • After (AI-Augmented Product Engineering): Strategic Value Focus. Because AI handles the technical execution and grading, Backlog Refinement pivots entirely to "Hypothesis-driven prioritization" and "Test-and-learn planning." The PMO is liberated to focus strictly on what business value needs to be validated (MVPs, A/B testing) rather than debating how many points a task is worth.

3.5 Tactical Engineering Guardrails & The Definition of Done

AI introduces immense speed, but also new failure modes (hallucinations, over-complexity) that must be governed safely by the PMO.
  • Definition of Ready (DoR) Shift: A Story cannot enter a sprint simply because it has a gut-feel estimate. The new DoR requires the Story to have an approved Requirements Spec artifact with zero Open Questions remaining. The AI-generated task breakdown must be bounded and reviewed by a developer.
  • Before (Traditional Product Management): The Definition of Done (DoD) relies on human QA testers and manual security reviews at the end of a sprint, creating massive bottlenecks.
  • After (AI-Augmented Product Engineering): Automated DoD Enforcement. The DoD requires all AI-inclusive features to contain explicit, machine-readable guardrails. Headless AI agents sit directly in the CI/CD pipeline, automatically enforcing schema validation, threat modeling, and code maintainability on every Pull Request. Furthermore, a Validation Checklist artifact must confirm that each acceptance criterion from the Requirements Spec was verified against the final code, with no undocumented drift.

4
SDLC & Organizational Transformation

The shift to an AI-Augmented Product Engineering model is not isolated to the "coding" phase. Because Claude Code acts as a shared context engine, work done at the very beginning of the Software Development Life Cycle (SDLC) creates a powerful "ripple effect" that transforms and accelerates the entire organization.

4.1 The Product Engineering Ripple Effect

When Product Managers (acting as Product Engineers) leverage AI to prototype and validate technical constraints before an Epic enters the backlog, it fundamentally changes the downstream phases:
  1. 1.
    Reduced Rework: Engineering receives clearer, pre-validated requirements.
  2. 2.
    Shared Language: QA, Security, and Ops all reference the same AI-generated architectural context.
  3. 3.
    Shift-Left Everything: Quality, security, and performance testing are pulled to the very front of the lifecycle.

4.2 SDLC Phase Mapping

Here is how the transformation manifests across the full SDLC at The Enterprise.

Discovery & Requirements Gathering

  • Before (Traditional Product Management): Product writes a PRD in isolation; lengthy back-and-forth with engineering for sizing, often resulting in scope creep.
  • After (AI-Augmented Product Engineering): Product Engineers use Claude Code interactively to simulate requirements and discover architectural realities before presenting to developers. This gives the PMO absolute control over locking down precise API contracts and defining out-of-scope boundaries to prevent AI gold-plating.

Architecture & Design

  • Before (Traditional Product Management): Static Visio diagrams and manual dependency mapping that quickly become outdated, leaving PMs blind to technical debt.
  • After (AI-Augmented Product Engineering): Architecture becomes dynamic. Claude Code continuously maps actual code-level dependencies. Architects and PMs can instantly verify if a proposed Epic will introduce cyclical dependencies, providing deterministic confidence for the roadmap.

Development & Implementation

  • Before (Traditional Product Management): Developers write code, then write tests (or skip tests due to time constraints), leaving business rules vulnerable.
  • After (AI-Augmented Product Engineering): Execution is driven by explicit domain acceptance tests defined by the PMO. Because the PM explicitly defines business rules upfront, developers use Claude Code to scaffold comprehensive test suites before implementation begins. The PMO owns the "Why" and the "What", while the AI handles the "How".

Testing & Quality Assurance (QA)

  • Before (Traditional Product Management): Manual regression testing and reactive bug fixing at the end of the sprint, constantly jeopardizing release dates.
  • After (AI-Augmented Product Engineering): "Deterministic Enforcement Pipelines." Headless AI agents operate in CI/CD, running deep semantic analysis on Pull Requests. They catch security vulnerabilities and business-logic violations prior to human review, ensuring the PMO's release schedule is never delayed by trivial syntax errors.

Skill Governance & Promotion

  • Before (Traditional Product Management): Developer scripts are shared ad-hoc with no formal review, creating shadow IT.
  • After (AI-Augmented Product Engineering): The PMO oversees a Tier-Gated Governance pipeline. New AI skills are rigorously audited from Experimental to General Availability (GA), giving enterprise leaders complete visibility and control over automation.

Deployment & Release Management

  • Before (Traditional Product Management): Manual aggregation of release notes from Jira tickets; high-stress release weekends driven by human anxiety.
  • After (AI-Augmented Product Engineering): Release Train Engineers (RTEs) use Claude Code to automatically synthesize Git commit histories into business-friendly release notes and compliance documentation. The PMO enjoys stress-free releases backed by mathematically verified deployment risk scores.

Maintenance & Operations

  • Before (Traditional Product Management): Production bugs require extensive manual log digging, keeping MTTR (Mean Time to Resolution) dangerously high.
  • After (AI-Augmented Product Engineering): Operational teams connect Claude Code directly to Datadog/Splunk logs. The AI pinpoints the exact commit that introduced the bug, drastically reducing MTTR and protecting the PMO's Service Level Agreements (SLAs).

4.3 Spec-Driven Development (SDD) vs. AI-Augmented Product Engineering

The AI-Augmented Product Engineering model shares a significant philosophical overlap with Spec-Driven Development (SDD)—in fact, you can think of it as SDD on steroids.
In traditional Spec-Driven Development, the specification (e.g., OpenAPI, AsyncAPI, or BDD Gherkin files) is defined upfront and acts as the single source of truth. The AI-Augmented model takes this core concept and drastically accelerates how those specs are created, enforced, and executed across standard cadences and artifacts.

1. Creation of the Spec (The Artifact)

  • Traditional SDD: Creating the spec is a highly manual, human-driven cadence. Product, Engineering, and QA sit in lengthy refinement meetings to hash out edge cases and API schemas before manually writing the YAML or Gherkin files.
  • AI-Augmented SDLC: The spec is still the starting artifact, but its creation is interactive. The "Product Engineer" uses AI to simulate requirements, rapidly prototype data models, and discover architectural blind spots. The AI does the heavy lifting of generating the explicit, lockdown API contracts and constraints based on conversational alignment.

2. Execution of the Spec (The Cadence)

  • Traditional SDD: Once the spec is defined, developers often use tooling to auto-generate boilerplate code. However, the complex business logic, domain constraints, and comprehensive unit testing still require manual coding cadences by the developer.
  • AI-Augmented SDLC: The explicit spec acts as the ultimate "prompt context" for the AI assistant (Claude Code). Instead of just generating boilerplate, the developer uses the AI to instantly scaffold out comprehensive Jest/JUnit test suites that represent the spec's domain rules. The AI is then heavily utilized to write the underlying business logic to pass those tests, shifting the cadence from manual coding to AI-assisted validation.

3. Enforcement and Validation (The Feedback Loop)

  • Traditional SDD: Enforcement relies on strict schema validation tools and contract testing (like Pact) integrated into the CI/CD pipeline. It is rigid and syntax-focused.
  • AI-Augmented SDLC: Employs "Deterministic Enforcement Pipelines." Headless AI agents in the CI/CD pipeline provide semantic validation. The AI reads the original spec and evaluates the Pull Request to see if the developer's code actually fulfills the intent of the business rules, catching logic gaps that a traditional linter or schema validator would miss.

4. Evolution and Maintenance

  • Traditional SDD: When a spec artifact changes, developers must manually hunt down the affected services in subsequent sprint cadences, update the tests, and refactor the code to match the new spec.
  • AI-Augmented SDLC: Because the AI continuously maps code-level dependencies across the repository, when a spec changes, the AI can automatically identify all downstream impacts and instantly generate the necessary code refactors to support the new version.

Concrete Example: Commercial Property Risk Scoring

To understand this in practice, compare how we write SAFe Features and Stories today versus how we write them under SDD.
Feature: Automated Commercial Property Risk Scoring for New Business Submissions
| Feature Component (SAFe) | How We Write It Today | How We Write It with SDD (Future state) | | :--- | :--- | :--- | | Feature Name | "Automated Risk Scoring for Commercial Property" | Same — no change. Name stays business-facing. | | Benefit Hypothesis | "We believe automating risk scoring will reduce underwriter review time." (often vague, not measurable) | "We believe that if underwriters receive an auto-generated risk score with contributing factors, then quote turnaround time will drop from 3 days to same-day, measured by average submission-to-quote cycle time in the underwriting workbench." (must be measurable and tied to a metric) | | Business/Enabler Type | Loosely tagged, sometimes missing | Same tagging, but Enabler Features (e.g., "integrate third-party property data API") must now include a technical non-goals list so AI agents don't scope-creep into unrelated integrations. | | Acceptance Criteria (Feature-level) | Written as 2–3 bullet points, often subjective, e.g., "Risk score should be accurate and easy to understand" | Written as testable Given/When/Then statements, e.g., "Given a commercial property submission with complete data, When risk scoring runs, Then a score between 0–100 with 3 top contributing factors is returned within 5 seconds" (AI Agent will translate for us). | | Non-Functional Requirements | Rarely captured at Feature level; assumed | Explicitly required: response time SLAs, data retention rules for scoring inputs, audit logging requirements for regulatory review. | | WSJF / Prioritization | Estimated using rough business judgement | Unchanged — SDD does not touch prioritization mechanics. | | PI Scope | Feature is sized to fit a Program Increment based on gut-feel decomposition | Feature is still sized to a PI, but decomposition into Stories is guided by the generated Design Plan, reducing mid-PI scope surprises. | | Dependencies | Called out in free text, e.g., "depends on data team" | Same, but the SDD Design Plan artifact explicitly lists affected systems/modules (e.g., "Property Data API," "Underwriting Workbench UI," "Rating Engine"), making dependencies traceable, not just narrative. | | Owner | Product Manager | Unchanged — PM still owns the Feature. |

Deep Dive: Artifacts and Cadences Comparison

To fully grasp the operational shift, we must look at how the actual artifacts (the tangible outputs) and cadences (the recurring ceremonies and workflows) evolve.

The SDD Artifacts in Practice

For the Story "As an underwriter, I want to see a risk score with contributing factors on the submission screen, so that I can make a faster quote decision," SDD generates the following artifacts. Crucially, there is a human review checkpoint on the Requirements Spec and Design Plan before any coding begins, catching misunderstandings early and cheaply.
| Artifact | Purpose | Example Content for This Story | | :--- | :--- | :--- | | Requirements Spec | Removes business ambiguity | Problem: underwriters manually assess risk, causing 3-day delays. Users: commercial property underwriters. Goals: display auto-generated score + factors. Non-goals: no manual override in this story. Acceptance criteria: Given/When/Then. Open questions: "What happens if the scoring API times out?" (must be answered before proceeding). | | Design Plan | Removes technical ambiguity | Affected modules: Underwriting Workbench UI, Rating Engine, Property Data API. Data model: add risk_score (int, 0–100) and contributing_factors (array) to submission record. API contract: GET /submissions/{id}/risk-score. Security: score data classified as underwriting-sensitive, access logged. Test strategy: unit tests for scoring boundary values, integration test for API timeout handling. | | Task List | Removes execution ambiguity | 1) Add DB fields for score/factors. 2) Build API endpoint. 3) Build UI component to display score. 4) Add loading/error states for API timeout. 5) Write unit + integration tests. 6) Update audit log for score access. Each task lists dependencies and which acceptance criterion it satisfies. | | Validation Checklist | Proves the work matches the spec | Confirms: score displays within 2 seconds (tested), timeout scenario handled per spec, no undocumented fields added, all acceptance criteria from Requirements Spec verified against final code. |
These four artifacts live in the code repository (not in Jira directly), while Jira continues to hold the Feature, the Story, its acceptance criteria, and a link/reference to where the corresponding spec artifacts live.

The Artifacts Comparison

  • Traditional SDD Artifacts:
  • a.
    The Spec File: Heavyweight JSON/YAML files (OpenAPI) or Gherkin .feature files. These are rigid and syntax-heavy.
  • b.
    The Jira Ticket: Lengthy User Stories detailing acceptance criteria, edge cases, and manual testing steps.
  • c.
    The PRD (Product Requirement Document): A static document outlining the business justification and high-level requirements.
  • AI-Augmented Artifacts:
  • a.
    The Rovo Prompt Template: A dynamic, reusable prompt living in Atlassian Rovo that acts as a living spec. It contains business rules but expects the AI to generate the exact syntax when invoked.
  • b.
    The AI Context Payload: Instead of a heavy Jira ticket, the "ticket" is a lightweight pointer that an AI agent uses to automatically fetch context from the codebase, the Rovo prompt, and the PRD, synthesizing its own execution context on the fly.
  • c.
    The Auto-Generated Test Suite: The true "spec" becomes the scaffolding of Jest/Playwright tests generated by Claude Code during the Discovery phase. If the test suite passes, the spec is met.

The Cadences

  • Traditional SDD Cadences:
  • a.
    Backlog Refinement (Weekly/Bi-weekly): 1-2 hours of the entire squad (Product, Dev, QA) debating edge cases to ensure the spec is perfectly written before a sprint begins.
  • b.
    Sprint Planning (Bi-weekly): Developers manually estimating the effort required to implement the rigid spec.
  • c.
    QA Handoff (End of Sprint): A distinct cadence where code is passed to a QA engineer to manually verify against the original spec ticket.
  • AI-Augmented Cadences:
  • a.
    Continuous Discovery (Asynchronous): Product Engineers interact with Claude Code to simulate and refine features before bringing them to the team, drastically reducing the time spent in group refinement meetings.
  • b.
    AI-Assisted Estimation (Just-in-Time): Because Claude Code understands the exact code-level dependencies, estimation becomes an automated task run against the Rovo Prompt Template.
  • c.
    Deterministic Merge (Continuous): The concept of a "QA Handoff" cadence is eliminated. QA is shifted left as headless AI agents continuously validate every commit against the spec in CI/CD, allowing for continuous delivery rather than sprint-batched releases.

The SAFe Transition: High-Level Vision to Low-Level Execution

For organizations operating within the Scaled Agile Framework (SAFe), the shift from traditional Spec-Driven Development to AI-Augmented Product Engineering is not merely a tool upgrade—it is a fundamental restructuring of the Value Stream across all levels of operation.

1. High Level: The Strategic Vision & Flow Velocity

At the enterprise portfolio level, the strategic goal is not to simply use AI to write legacy specs faster. Using AI to accelerate the creation of rigid artifacts only serves to rush bottlenecks and pile up untested inventory.
  • The Paradigm Shift: The true vision is to eliminate the manual translation hops between Product, Engineering, and QA entirely. By treating AI as a shared context engine across the entire organization, leadership can shift focus away from proxy metrics (like estimated Story Points) and toward actual Flow Velocity and reduced lead times for delivering tangible business value.

2. Mid Level: SAFe Mechanics & PI Planning

On the Agile Release Train (ART), the traditional workflow relies on static Jira tickets and PRDs that require hours of cross-functional Backlog Refinement just to meet a basic Definition of Ready (DoR).
  • Dynamic Artifacts: Under the AI-Augmented model, Features evolve into dynamic, living Prompt Templates managed within Atlassian Rovo.
  • AI-Driven Discovery: Product Managers transition into Product Engineers. Instead of guessing at technical sizing before PI (Program Increment) Planning, they use Claude Code interactively during the Discovery phase. The AI simulates requirements, automatically maps code-level dependencies, and identifies edge cases.
  • Instant Readiness: Because the AI has pre-validated the architectural constraints, WSJF (Weighted Shortest Job First) scoring is highly accurate. The DoR is achieved instantly, drastically reducing time spent in refinement meetings.

3. Low Level: Tactical Execution & Code

At the squad execution level, the day-to-day workflow changes from manual coding to AI-orchestrated validation.
  • Test-Driven Scaffolding: Developers no longer receive a static YAML file to interpret. Instead, they feed the locked Rovo Prompt directly into Claude Code. The immediate output isn't raw business logic—it is the instant scaffolding of comprehensive Jest and Playwright test suites. Execution becomes entirely test-driven, with the AI tasked to write the underlying logic necessary to pass those strict constraints.
  • Automating the Definition of Done (DoD): The traditional, manual QA handoff is eliminated and replaced by Deterministic Enforcement Pipelines. Headless AI agents are deployed directly into the CI/CD pipeline (e.g., GitHub Actions).
  • Semantic Validation: These headless agents do more than syntax linting. They run deep semantic validation on every Pull Request, checking the code against the original Rovo Prompt to ensure it fulfills the actual business intent. They simultaneously run security audits (OWASP) and accessibility checks, catching critical logic gaps before a human reviewer ever looks at the PR.

4. The Self-Correction Loop (Continuous Refinement)

A critical flaw in traditional SDD is that once the specification is handed off to developers, it quickly falls out of sync with reality. When edge cases or unforeseen technical blockers are discovered during coding, developers often write undocumented workarounds, meaning the original spec is no longer the source of truth. The AI-Augmented model solves this through a continuous self-correction loop:
  • Bidirectional Context: If a developer (or Claude Code) discovers an unforeseen architectural limitation or edge case during test scaffolding or implementation, they do not just patch the code. They feed the discovery back into the original Rovo Prompt Template.
  • Living Documentation: The Rovo Prompt is treated as version-controlled, living code. Updating the prompt instantly updates the "Definition of Ready" for all future interactions and dependent services.
  • CI/CD Feedback Loop: If the headless AI agent in the CI/CD pipeline flags a semantic failure on a Pull Request, the output isn't just a rejection. The AI provides specific feedback on why the implementation drifted from the intent of the Rovo Prompt.
  • Institutional Memory: The Product Engineer reviews this feedback to determine if the developer made a mistake, or if the original Rovo Prompt was ambiguous. If it was ambiguous, the Product Engineer refines the Prompt Template to be more explicit. Over time, these refined prompts become a hyper-accurate institutional memory, ensuring future squads never trip over the same edge cases.

4.4 Implementation Guide: AI-Augmented SDLC

Actor: DevOps & CI/CD Engineers System Configuration:
  1. 1.
    CI/CD Pipeline YAML: Consider adding a GitHub Actions/GitLab CI stage before the deployment job.
  2. 2.
    Claude Headless Execution: The CI job is recommended to invoke claude --headless to run the 08-rovo-prompt-universe DoD Enforcer prompt against the built artifacts. If the exit code is non-zero (Fail), the deployment could be halted for review.
Connected Dependency: Supports the shift-left security strategy defined in 12-security-privacy-governance.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Architecture Diagram
[Architecture Diagram]
At the core of the Product Engineering shift is replacing manual handoffs with automated AI workflows, removing the manual bottleneck of QA handoffs:

Phase 1: IDE Context (Local Development)

  1. 1.
    Developer: The flow starts with the human engineer working in their local environment.
  2. 2.
    Claude Code: The developer prompts the AI agent to write code, generate tests, or refactor.
  3. 3.
    check-pii.sh (Local Hook): Before the AI is even allowed to finish, a local pre-commit hook runs to ensure the AI didn't leak personally identifiable information (PII).

The Handoff

  1. 4.
    Pull Request: Once the local code passes the AI hooks, the developer commits and pushes the code, opening a Pull Request.

Phase 2: CI/CD Pipeline (Automated QA)

  1. 5.
    GitHub Actions: The opening of the PR immediately triggers the headless CI/CD pipeline.
  2. 6.
    AI Security Audit: A Headless AI agent scans the diff against the Enterprise guidelines for vulnerabilities.
  3. 7.
    Playwright E2E Tests: Simultaneously, AI agents execute end-to-end regression tests to ensure the new code didn't break existing UI flows.

The Resolution

  1. 8.
    Merged: If both the Security Audit and E2E tests pass (meeting the Definition of Done), the PR is automatically approved and merged. (If they fail, they loop back to Step 1 for the developer to fix).

Tactical Guide A: AI-Assisted Playwright E2E Generation

  • Objective: Drastically reduce QA cycles by using AI to generate robust, resilient end-to-end tests based on structural DOM changes.
  • Action: Generate end-to-end tests directly from the PR diff and Jira criteria.
  • Implementation Steps:
  • a.
    Step 1: Create a script .claude/skills/generate-e2e.sh.
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    JIRA_TICKET=$1
    echo "Generating E2E for $JIRA_TICKET..."
    <strong class="text-text-main font-bold">Prompt Example</strong>: <details open class="group block my-4">
    <summary class="inline-flex items-center gap-1.5 align-middle bg-fuchsia-500/10 text-fuchsia-500 border border-fuchsia-500/30 px-2 py-0.5 rounded text-[10px] font-black tracking-widest uppercase cursor-pointer hover:bg-fuchsia-500/20 transition-colors outline-none list-none [&::-webkit-details-marker]:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg> AI PROMPT</summary>
    <div class="block w-full max-w-4xl mt-6 mb-8 flex flex-col h-auto max-h-[350px] bg-bg-surface/90 border border-fuchsia-500/30 rounded-xl overflow-hidden shadow-2xl shadow-fuchsia-500/10 text-sm animate-in fade-in slide-in-from-top-4 duration-500">
    <div class="bg-bg-hover/50 px-4 py-3 border-b border-fuchsia-500/20 flex items-center justify-between shrink-0">
    <div class="flex items-center gap-3">
    <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-fuchsia-500"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>
    <span class="text-[10px] font-black uppercase tracking-widest text-fuchsia-500">AI PROMPT</span>
    </div>
    </div>
    <pre class="flex-1 overflow-auto custom-scrollbar bg-black/40 p-6 font-mono text-[13px] leading-relaxed text-fuchsia-400 whitespace-pre-wrap"><code><br />Fetch the acceptance criteria for Jira $JIRA_TICKET. Read the latest diff in the current branch. Generate a Playwright TypeScript test in 'tests/e2e' that covers all user flows introduced in this diff. Use the existing page object models in 'tests/pages'.<br /></code></pre>
    </div>
    </details>
  • a.
    Step 2: Workflow: The developer can run ./.claude/skills/generate-e2e.sh DEV-102 before creating a PR. The AI outputs a fully functional Playwright test suite ready for CI.

Tactical Guide B: Wiring AI Security Reviews into CI/CD

  • Objective: Shift security left by enforcing an automated AI-driven vulnerability analysis on every pull request prior to merge.
  • Action: Enforce an AI security review before any human review.
  • Implementation Steps:
  • a.
    Step 1: Add a GitHub Action .github/workflows/ai-security.yml.
    TECHNICAL IMPLEMENTATION
    yaml

    name: AI Security Gate
    on: [pull_request]
    jobs:
    ai-review:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Run Claude Code Security Review
    env:
    ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
    run: |
    npm i -g @anthropic-ai/claude-code
    <strong class="text-text-main font-bold">Prompt Example</strong>: <details open class="group block my-4">
    <summary class="inline-flex items-center gap-1.5 align-middle bg-fuchsia-500/10 text-fuchsia-500 border border-fuchsia-500/30 px-2 py-0.5 rounded text-[10px] font-black tracking-widest uppercase cursor-pointer hover:bg-fuchsia-500/20 transition-colors outline-none list-none [&::-webkit-details-marker]:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg> AI PROMPT</summary>
    <div class="block w-full max-w-4xl mt-6 mb-8 flex flex-col h-auto max-h-[350px] bg-bg-surface/90 border border-fuchsia-500/30 rounded-xl overflow-hidden shadow-2xl shadow-fuchsia-500/10 text-sm animate-in fade-in slide-in-from-top-4 duration-500">
    <div class="bg-bg-hover/50 px-4 py-3 border-b border-fuchsia-500/20 flex items-center justify-between shrink-0">
    <div class="flex items-center gap-3">
    <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-fuchsia-500"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>
    <span class="text-[10px] font-black uppercase tracking-widest text-fuchsia-500">AI PROMPT</span>
    </div>
    </div>
    <pre class="flex-1 overflow-auto custom-scrollbar bg-black/40 p-6 font-mono text-[13px] leading-relaxed text-fuchsia-400 whitespace-pre-wrap"><code><br />Review this PR diff against the OWASP Top 10. Does it introduce SQL Injection, XSS, or hardcoded secrets? If yes, exit 1 and output the vulnerability. If no, exit 0.<br /></code></pre>
    </div>
    </details>
  • a.
    Result: The AI acts as a helpful CI/CD security gate.

5
AI Skills & Tactical Role Transformations: Elevating the PMO

The transformation of the enterprise software delivery lifecycle requires concrete, tactical changes to our operating model. As AI agents automate boilerplate execution, the enterprise must tactically pivot its workforce. This is not a replacement of the SAFe structure; it is a massive promotion for Product Management and Agile leaders, elevating them to focus on systems thinking, governance, and cross-functional velocity.
This document outlines how the PMO and engineering roles are aggressively empowered in this new, high-flow paradigm.

5.1 Evolving Agile Ceremonies & PI Planning: A PMO Promotion

The speed at which AI can deliver code breaks traditional PI Planning timelines and manual task estimation processes. The PMO is promoted from managing manual processes to managing deterministic business outcomes.

Hypothesis-Driven Prioritization

  • Before (Traditional Product Management): Backlog refinement ceremonies focus on granular task pointing, velocity metrics, and estimating the time required for developers to write boilerplate.
  • After (AI-Augmented Product Engineering): Because AI writes the boilerplate, the PMO pivots ceremonies to "Hypothesis-driven prioritization" and "Test-and-learn planning" (MVPs, A/B testing). The PMO is empowered to focus purely on what business value needs to be validated rather than how many points a task represents.

Outcome Management

  • Before (Traditional Product Management): Release Train Engineers (RTEs) and Portfolio Leads spend hours tracking process adherence and chasing manual status updates across pods.
  • After (AI-Augmented Product Engineering): These roles are liberated to tactically "Manage PI Objectives to Outcomes." By utilizing AI-generated Flow Metrics (DORA), RTEs supervise flow efficiency optimization, ensuring the pipeline never stalls when AI delivers rapid bursts of code.

5.2 Tactical Engineering Guardrails & The PMO Definition of Done

AI introduces immense speed, but also new failure modes (hallucinations, over-complexity) that the PMO must govern safely.
  • Before (Traditional Product Management): The Definition of Done (DoD) relies on human QA testers and manual security reviews at the end of a sprint, keeping the PMO guessing on release dates.
  • After (AI-Augmented Product Engineering): The PMO mandates explicit, machine-readable guardrails in the DoD. Headless AI agents sit in the CI/CD pipeline, automatically enforcing schema validation, threat modeling, and telemetry on every PR. The PMO gains deterministic confidence that no feature will be released without strict architectural compliance.

5.3 Upskilling Strategy: Role Promotions

Transitioning from a traditional Scaled Agile Framework (SAFe) to an AI-Augmented Product Engineering model requires a fundamental shift in mindset. It moves teams from manual coordination and manual coding to AI-orchestrated workflows and continuous value delivery.

1. Release Train Engineers (RTEs)

The Promotion: From Dependency Coordinators to AI Value Stream Orchestrators
  • Before (Traditional Product Management): RTEs spend days chasing status updates across 10 squads, manually mapping string-boards, and trying to resolve localized impediments.
  • After (AI-Augmented Product Engineering): RTEs are elevated to systemic optimizers. They review AI-generated flow dashboards to make strategic PI pivots. The AI predicts bottlenecks and maps live topologies automatically, giving the RTE mathematical visibility into the entire Agile Release Train (ART).
  • Upskilling Strategy:
  1. 1.
    Workshops on Predictive Management: Train RTEs on using AI analytics to monitor the "Continuous Value Delivery" pipeline and interpret DORA metrics.
  2. 2.
    AI-Augmented PI Planning Simulations: Run mock PI planning events where RTEs use AI to proactively highlight feature dependencies before draft plans are made.

2. Scrum Masters (SMs)

The Promotion: From Process Facilitators to AI Workflow & Prompt Champions
  • Before (Traditional Product Management): Scrum Masters are bogged down facilitating manual grooming debates, taking stand-up notes, and clearing localized blockers.
  • After (AI-Augmented Product Engineering): Scrum Masters are promoted to Workflow Champions. They utilize AI to automatically generate daily standup summaries and retrospective insights. They champion "The Prompt Universe," ensuring their team is using the most optimal AI prompts to maximize flow velocity.
  • Upskilling Strategy:
  1. 1.
    Prompt Engineering Bootcamps: Certify SMs as "Prompt Champions" so they can maintain the team's prompt library and teach effective prompting techniques.
  2. 2.
    Workflow Automation Projects: Assign SMs to automate one traditional ceremony (e.g., Retrospectives) using AI tools, dramatically reducing meeting overhead.

3. Product Managers & Owners (PMs/POs)

The Promotion: From Requirements Proxies to AI-Augmented Product Engineers
  • Before (Traditional Product Management): PMs write lengthy, static PRDs (Product Requirement Documents) and spend hours in sizing meetings negotiating with developers over what is feasible.
  • After (AI-Augmented Product Engineering): PMs interact directly with the Enterprise Knowledge Graph (Rovo) to simulate technical realities before engaging developers. They explicitly lock down API contracts and business rules upfront, controlling the exact "Why" and "What" while the AI confidently handles the "How."
  • Upskilling Strategy:
  1. 1.
    AI Prototyping: Train PMs to utilize AI-driven UI mockups and data schema generators to rapidly validate hypotheses.
  2. 2.
    Context Directive Creation: Upskill PMs in writing "Context Directives" instead of traditional User Stories, focusing on machine-readable business constraints.

4. Developers (Devs)

The Promotion: From Code Writers to Architects & Validators
  • Before (Traditional Product Management): Developers spend days writing repetitive boilerplate syntax, manually resolving merge conflicts, and writing tedious unit tests.
  • After (AI-Augmented Product Engineering): Developers act as high-level architects and rigorous validators of AI-generated logic. They spend their time designing robust systems, reviewing AI output for edge cases, and ensuring long-term maintainability.
  • Upskilling Strategy:
  1. 1.
    Pair-Programming with AI (Mandatory): Institute policies where devs must use AI copilots to instantly generate tests and boilerplate.
  2. 2.
    Continuous Architecture Learning: Upskill developers in high-level system design, FinOps, and modern stack architecture so they can effectively guide the AI Enablement Engine.

6
Cultural Change Management & Adoption

Transforming The Enterprise into a Product Engineering organization requires more than just new tools; it requires a massive cultural shift. Fear of job redundancy, reluctance to abandon familiar processes, and skepticism of AI output are natural hurdles.

6.1 The Strategy: Incentivization and Guilds

  1. 1.
    Redefining Roles, Not Replacing Them: Clear messaging from the C-Suite that Claude Code is an augmenter, not a replacer. Product Owners are freed from writing static tickets to become system designers; Developers are freed from boilerplate to focus on complex architecture.
  2. 2.
    Prompt Engineering Guilds: Establishing cross-functional guilds where early adopters share their most successful Atlassian Rovo prompt templates.
  3. 3.
    Gamifying Contribution: Shifting the incentive structure to reward teams that build reusable AI skills and prompts that benefit the wider organization.

6.2 Leadership Optics: How We Track Culture

To ensure the transformation is taking root, leadership needs visibility into actual adoption velocity and team sentiment.

The Rovo Contribution Leaderboard

  • What it tracks: Which individuals and Agile Release Trains (ARTs) are authoring and refining the most heavily utilized prompt templates in Atlassian Rovo.
  • Why it matters: Identifies the "Prompt Champions" within the organization who can be leveraged as internal evangelists and trainers.
  • Integration: Native reporting within Atlassian Rovo / Confluence.

Adoption Velocity per ART

  • What it tracks: The ratio of active daily Claude Code sessions to total developers/POs on a given ART.
  • Why it matters: Highlights which teams are embracing the Product Engineering model and which are resisting. A lagging ART requires targeted intervention and training (leveraging the curriculum in apps/dau-docs/07-archive/claudeCode).
  • Integration: Aggregated usage logs displayed via Jira Align or a custom PowerBI dashboard.

Developer & PO Sentiment Index

  • What it tracks: Qualitative feedback gathered through brief, bi-weekly Agile health checks. Questions include: "Did AI tooling reduce your frustration this sprint?" and "Do you trust the output of the automated PR reviews?"
  • Why it matters: High tool usage but low sentiment indicates a process problem (e.g., the claude rules are too restrictive, causing the AI to be unhelpful).
  • Integration: Automated Slack/Teams polls integrated into the standard Scrum Master toolkit.

6.3 Workforce Impact Analysis

  • Displacement Projections: We project a 15% reduction in manual regression testing needs and basic boilerplate coding.
  • Reskilling Pathways: Affected staff will be offered paid reskilling tracks to transition into Data Engineering, Prompt Engineering, or AI Governance roles.
  • Labor Relations: Transparent communication with internal stakeholders regarding these transitions is highly recommended to foster trust and maintain morale.

6.4 Implementation Guide: Gamification & Adoption Automation

Actor: Agile Center of Excellence (CoE) & HR System Configuration:
  1. 1.
    Sentiment Polling: Configure a Slack/Teams bot (e.g., Polly or Geekbot) to run every second Friday (end of sprint) asking the Agile teams the three AI sentiment questions.
  2. 2.
    Leaderboard Dashboard: Use the Confluence API to count which users have authored or edited the most pages tagged "Prompt Template" in Rovo. Display this leaderboard on the CoE intranet homepage.
Connected Dependency: Tracks the success of the enablement rollout defined in 07-enablement-engine-claude-code.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Cultural change can be driven by visibility. By automating the tracking of "AI wins," we can foster healthy competition and clearly demonstrate value.

Tactical Guide A: Generating the AI Leaderboard

  • Objective: Foster a culture of innovation and gamify AI adoption by publicly highlighting teams and individuals with the highest AI enablement metrics.
  • Action: Parse CI/CD logs to highlight which developers are effectively using AI to prevent build failures or speed up reviews.
  • Implementation Steps:
  • a.
    Step 1: Create a script to parse PR comments for the claude user.
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    # Fetch the last 100 PRs and count how many times 'claude' approved or commented
    curl -H "Authorization: token $GITHUB_TOKEN" \
    "https://api.github.com/repos/cna/rating-engine/pulls?state=closed&per_page=100" \
    | jq -r '.[] | .user.login' | sort | uniq -c | sort -nr > ai_usage_stats.txt
  • a.
    Step 2: Usage Prompt for Claude:
    AI PROMPT
    AI PROMPT

    Read the 'ai_usage_stats.txt' file. Generate a highly engaging Markdown leaderboard celebrating the top 3 developers who merged the most AI-assisted PRs this week. Add emojis and format it for our Confluence engineering blog.

7
The Enablement Engine: Claude Code Backbone

The transition to an AI-Augmented Product Engineering organization requires highly tailored learning paths. The curriculum is specifically designed to bridge the gap from Product Managers to Product Engineers, ensuring both roles can leverage AI to accelerate the Software Development Life Cycle (SDLC).

7.1 Curriculum Mapping by Persona

The following multi-tiered curriculum creates role-specific onboarding paths, breaking down capabilities into Foundation, Intermediate, and Advanced mastery for both Product Managers and Product Engineers.

Persona 1: Product Owners / Product Managers

The Goal: Shifting from static requirements gathering to architectural understanding and rapid, code-backed prototyping.
The Conceptual Curriculum Path:
  • Elementary Foundation:
  • a.
    Introduction to AI Workspaces: Understanding the local IDE environment and how to load repository context without writing code.
  • b.
    Understanding Project Architecture Context: Learning how to read and interpret the guidelines defined in claude.
  • c.
    Executing Slash Commands for Discovery: Using commands like /search and /explain to demystify legacy codebase structures.
  • d.
    Writing Effective Technical Prompts: Moving beyond basic chat to highly structured, persona-driven prompts.
  • Intermediate Skills:
  • a.
    Skills Development for Business Logic: Understanding how custom Skills act as executable tools, and how to encourage their use in Acceptance Criteria.
  • b.
    Delegating Complex Workflows to Subagents: Using the /task command to instruct an autonomous agent to build a proof-of-concept while the PO continues writing stories.
Tactical Execution: A Day in the Life of a Enterprise Product Engineer
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
  1. 1.
    Context Loading: Navigate to the terminal for the target product repository (e.g., cd ~/src/enterprise-commercial-auto) and launch claude.
  2. 2.
    Architectural Discovery: The PO wants to understand how quoting works. They type: /prompt Explain the core architecture of the rating engine. Point me to the specific files where the business logic for 'Liability Limits' lives.
  3. 3.
    Prototyping a Requirement: The business wants to add a new term. The PO types: /prompt I want to add a new field for 'Policy Term length' to the quoting process. Map out which files would need to be changed to support this. Generate a sample JSON payload for the updated API.
  4. 4.
    Defining the Execution Bounds: Instead of just passing raw notes to engineering, the PO uses the discovery outputs to construct a strict set of requirements for the AI agent. The PO explicitly writes out the Domain-Specific Acceptance Tests, locks in the API Data Contracts, and defines explicit Out-of-Scope boundaries so the execution agent won't have to guess business intent.

Persona 2: Scrum Masters / Release Train Engineers (RTEs)

The Goal: Enhancing overall team velocity, managing AI context budgets (FinOps), and orchestrating complex multi-agent workflows to help ensure flow.
The Conceptual Curriculum Path:
  • Elementary Foundation:
  • a.
    Defining Project Standards and Guidelines: Mastering the creation and maintenance of the repository claude file.
  • b.
    Managing Context Token Budgets: Understanding token limits, context windows, and how to optimize prompts to help reduce API costs.
  • c.
    Configuring Cross-Team Permissions: Managing what data the AI is allowed to access across different ARTs.
  • Intermediate & Advanced Mastery:
  • a.
    Building Orchestrator Agents: Using Claude Code to coordinate tasks across multiple microservice repositories simultaneously.
  • b.
    Parallel Execution in Multi-Agent Systems: Launching multiple subagents to help tackle massive tech-debt refactoring in parallel.
  • c.
    Building Deterministic Validation Pipelines: Creating AI validation gates that support the "Definition of Done".
Tactical Execution: A Day in the Life of a Enterprise RTE/Scrum Master
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
  1. 1.
    Establishing Guidelines: The RTE works with the System Architect to define the repository's claude guidelines. They suggest: "Definition of Done: We recommend all new endpoints aim for 90% test coverage and include Swagger documentation."
  2. 2.
    Monitoring Context Health: Before a retrospective, the RTE checks the repo: /prompt Analyze the last 10 merged PRs. Are teams finding success with the Definition of Done established in claude? Identify any PRs that might have missed the automated tests.
  3. 3.
    Facilitating Dependency Mapping: Preparing for the Scrum of Scrums: /prompt Based on the current open branches across this repository and the linked Payment Gateway repository, identify any potential conflicting changes being made to the shared authentication libraries.

Persona 3: Developers / System Architects

The Goal: Deep technical integration, building custom executable tools (Skills), and enabling AI-driven CI/CD automation.
The Conceptual Curriculum Path:
  • Elementary Foundation:
  • a.
    Deep Dive into Context Architecture: Understanding how Claude parses files, limits, and context inclusion.
  • b.
    Essential CLI Commands and Flags: Mastering --headless, --compact, and direct bash integration.
  • Intermediate Skills:
  • a.
    Creating Custom Enterprise-Specific Skills: Writing bash and python scripts that extend the AI's capabilities (e.g., custom linters, database validators).
  • b.
    Agent Skill Authoring Standards: Leveraging the official plugin.json format to provide structured programmatic validation of skill metadata, helping migrate away from loose markdown frontmatter.
  • c.
    Deploying Specialist Worker Agents: Spawning agents dedicated solely to tasks like accessibility auditing or documentation generation.
  • Advanced Mastery:
  • a.
    Leveraging the Hooks System: Intercepting Claude Code requests and responses (e.g., to help scrub PII data before it hits the LLM).
  • b.
    Integrating Model Context Protocol (MCP): Connecting Claude Code to external enterprise data sources.
  • c.
    Building Custom MCP Servers for Legacy Systems: Allowing the local IDE AI to securely query the live legacy AS400 mainframe or Enterprise Observability Platforms metrics.
Tactical Execution: A Day in the Life of a Enterprise Developer
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
  1. 1.
    Accelerating TDD: Before writing business logic, the developer uses the PO's Acceptance Criteria to generate tests: /prompt Write Jest unit tests for the functionality described in Work Management Tools Ticket #1234. Make them fail initially, testing core edge cases.
  2. 2.
    Automating Boilerplate: /prompt Generate the boilerplate for a new React component that handles the Policy Document upload, including the Redux slice, API mock, and CSS modules.
  3. 3.
    Building Custom Skills: A developer builds a custom script .claude/skills/validate-actuarial.py. They document it so the AI can execute it whenever a pricing file is modified.
  4. 4.
    Integrating MCP: An architect builds a local MCP server. Now, a developer can ask Claude Code: "Query the staging database via MCP. What is the current schema for the 'requests' table?" directly from the terminal.

7.2 The Relationship: System Guidelines (`claude`) vs. Active Skills

A key part of the enablement curriculum is understanding the difference between static guidelines and active execution.

The Static Guidebook (`claude`)

The claude file in each repository acts as a living artifact of Enterprise's Product Engineering practices. It is passive memory. It helps outline:
  • Business Context: "This application processes workers' compensation requests."
  • Technical Considerations: "We recommend using Java 17. Please avoid Lombok where possible. Use AWS KMS for encryption."
  • Review Practices: "Teams typically seek approval via the Headless DoD enforcer on PRs."

The Executable Tools (Skills)

Skills are active. They are scripts designed to perform actions. While claude might suggest "Ensure all code aligns with state regulations," an active Skill like run-compliance-check.sh allows the AI to execute the script, review the output, and propose fixes based on the results.

7.3 Implementation Guide: The Enablement Engine

Actor: Agile Coaches, Learning & Development (L&D), & IT Provisioning System Configuration: Workday Learning & ServiceNow

LMS Integration & Journey Mapping

  • Action: Consider structuring the curriculum into discrete modules within the corporate Learning Management System (e.g., Workday Learning).
  • Configuration:
  • a.
    Create three distinct Learning Paths (The PO Path, The RTE Path, The Developer Path).
  • b.
    Structure each path to begin with the "Elementary Foundation" prerequisites.
  • c.
    Offer knowledge-check quizzes at the end of the Elementary path to help verify understanding of Token Budgeting and Security Guardrails.

Automated Access Provisioning (ServiceNow API)

  • Action: We suggest automating the distribution of Claude Code API keys based on training completion to help manage access efficiently.
  • ServiceNow REST API Payload (Post-Training Webhook):
    TECHNICAL IMPLEMENTATION
    json

    {
    "u_caller_id": "${employee.id}",
    "short_description": "Auto-Provision: Claude Code Enterprise Access",
    "category": "Software Access",
    "u_business_service": "AI Tooling Center",
    "assignment_group": "IDAM-Automation",
    "work_notes": "Employee completed Workday Learning Module: 'Introduction to AI Workspaces'. Requesting addition to AD Group: Enterprise-AI-Enabled."
    }
  • Connected Dependency: This training and AD group provisioning helps ensure teams are prepared for the "Crawl" phase outlined in 02-transformation-roadmap.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
To bring the Enablement Engine to life, we encourage moving beyond conceptual prompts. The following are suggested configurations, scripts, and workflows that engineering pods can implement.

Centralized Skill Orchestration

Rather than maintaining a fragmented list of capabilities across teams, the enterprise can leverage a central core plugin acting as a dynamic skills scanner. This orchestration layer helps automatically discover, register, and route agent requests to the appropriate custom tools across the repository.

Tactical Guide A: Constructing the `.claude.json` Configuration

  • Objective: Standardize AI execution contexts across the enterprise by defining universal system prompts and organizational guardrails.
Repositories are encouraged to have a .claude.json file in the root to help guide Claude Code to operate within the specific context of that domain (e.g., Processing vs. Requests).
  • Action: Create the workspace context configuration.
  • Implementation Steps:
  • a.
    Step 1: Open the repository root.
  • b.
    Step 2: Create .claude.json.
  • c.
    Step 3: Add the following schema to help support testing, typings, and architectural patterns:
    TECHNICAL IMPLEMENTATION
    json

    {
    "projectContext": "Enterprise Commercial Auto Rating Engine. This service calculates premiums based on vehicle weight, radius, and driver history.",
    "rules": [
    "Please use JUnit 5 and Mockito for testing.",
    "We recommend avoiding Lombok annotations like @Data. It is preferred to explicitly write getters and setters.",
    "New endpoints should generally return a standard <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">EnterpriseApiResponse<T></code> wrapper.",
    "Please avoid logging raw PII. Use <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">MaskingUtil.maskPolicyNumber()</code>."
    ],
    "customTools": [
    {
    "name": "validate-rating",
    "description": "Runs the actuarial validation suite.",
    "command": "./gradlew test --tests *RatingAlgoTest"
    }
    ]
    }
  • a.
    Result: When a developer asks Claude to "Create a new rating endpoint", Claude is guided to wrap the response in EnterpriseApiResponse, avoid Lombok, and write JUnit 5 tests.

Tactical Guide B: Writing Custom Bash Skills for the IDE

  • Objective: Extend AI capabilities beyond text generation by allowing agents to execute secure, localized build and testing scripts directly within the workspace.
Skills are executable tools that Claude can run on the developer's machine to gather context or help validate work.
Developer Experience (DX) & Bootstrapping: To build new skills smoothly, teams can utilize lightweight init-skill-v0 starter templates. This template-driven approach enables teams to deploy structurally consistent skills containing a plugin.json and basic shell script, reducing the friction of upfront scaffolding.
  • Action: Create a custom PII linter skill.
  • Implementation Steps:
  • a.
    Step 1: Create a .claude/skills directory in the repo.
  • b.
    Step 2: Create check-pii.sh.
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    # A simple regex checker for SSN patterns in code
    TARGET_DIR=${1:-"src/main/java"}

    echo "Scanning $TARGET_DIR for potential hardcoded SSNs..."
    grep -rE --color=always "\b[0-9]{3}-[0-9]{2}-[0-9]{4}\b" $TARGET_DIR

    if [ $? -eq 0 ]; then
    echo "NOTICE: Potential unmasked SSN found in codebase."
    exit 1
    else
    echo "SUCCESS: No hardcoded SSNs found."
    exit 0
    fi
  • a.
    Step 3: Usage Prompt:
    AI PROMPT
    AI PROMPT
    I just finished refactoring the CustomerService.java class. Could you run the check-pii.sh skill to help ensure I didn't accidentally include any test SSNs?

Tactical Guide C: Deploying a Local MCP Server for Database Querying

  • Objective: Enable AI agents to securely query and analyze local schemas and databases without exposing sensitive production credentials.
The Model Context Protocol (MCP) helps Claude read local databases to understand schema context clearly.
  • Action: Connect Claude Code to the local PostgreSQL Docker container.
  • Implementation Steps:
  • a.
    Step 1: Start the local database: docker-compose up db -d
  • b.
    Step 2: Configure the MCP server in your global claude_config.json:
    TECHNICAL IMPLEMENTATION
    json

    {
    "mcpServers": {
    "enterprise-local-db": {
    "command": "npx",
    "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://cna_user:password123@localhost:5432/cna_rating_db"]
    }
    }
    }
  • a.
    Step 3: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Please use the enterprise-local-db tool to inspect the 'policy_holders' table schema. I need to write a migration script to add a 'fleet_size' integer column. Could you help generate the Liquibase XML for this change?
  • b.
    Result: Claude can review the active database schema to help generate accurate migration scripts.

8
The Prompt Universe: Atlassian Rovo & Claude Code

To scale an AI transformation across an enterprise like The Enterprise, AI is most effective when it doesn't exist in isolated silos on developers' laptops. It is highly beneficial to establish a connective tissue that aligns business intent, architectural guidance, and code execution.
This is the Prompt Universe, empowered by the integration of Atlassian Rovo (The Brain) and Claude Code (The Hands).

8.1 The Architectural Paradigm

  • Atlassian Rovo (The System of Record & Discovery): Rovo sits across Jira, Confluence, and the enterprise ecosystem. It acts as a centralized library for highly optimized, enterprise-approved "Prompt Templates". It indexes Architecture Decision Records (ADRs), actuarial guidelines, and best practices.
  • Claude Code (The System of Execution): Claude Code operates within the codebase (IDE/CLI/CI). It can ingest the centralized prompts stored in Rovo to help manipulate code, generate tests, and support the principles defined in the organizational brain.
When a Product Engineer or Developer needs to execute a task, we recommend they query Rovo for a curated Prompt Template, inject their specific Jira context, and execute it in Claude Code, rather than starting from scratch.
Note: As Atlassian branding and tooling evolve, references to "Rovo" may change (e.g., to Atlassian Intelligence). The underlying concept of a centralized, enterprise-level prompt repository remains a valuable architectural component.

8.2 The SDLC Prompt Flow

The following diagram illustrates how Atlassian Rovo can feed contextual prompts into Claude Code across the Software Development Life Cycle (SDLC).
Architecture Diagram
[Architecture Diagram]

The Step-by-Step Flow

Phase 1: Discovery & Requirements

  1. 1.
    Search: The Product Owner searches Atlassian Rovo for a "Discovery Prompt" tailored to validating feasibility.
  2. 2.
    Returns: Rovo provides the sanctioned Prompt Template.
  3. 3.
    Inject Context: The PO takes the template and injects their specific Jira Epic or Story details.
  4. 4.
    Execute: The enriched prompt is fed into Claude Code running in their workspace.
  5. 5.
    Output: Claude Code validates the local codebase against the requirements and generates a mock payload or feasibility report.

Phase 2: Development & QA

  1. 6.
    Search: The Developer queries Rovo for a "Development Prompt," such as a Test-Driven Development (TDD) scaffold.
  2. 7.
    Returns: Rovo provides the sanctioned Prompt Template.
  3. 8.
    Inject Context: The Developer injects the mock payload generated in Phase 1, alongside their local code context.
  4. 9.
    Execute: The combined context is fed into Claude Code.
  5. 10.
    Output: Claude Code generates unit tests, writes business logic, and suggests alignment with enterprise Architecture Decision Records (ADRs).

Phase 3: Deployment (CI/CD)

  1. 11.
    Automated Search: A CI/CD pipeline hook automatically pulls an "Ops Prompt", such as a Definition of Done (DoD) enforcer, from Rovo.
  2. 12.
    Returns: Rovo provides the sanctioned Prompt Template to the pipeline.
  3. 13.
    Inject Context: The pipeline injects the Pull Request diff into the prompt.
  4. 14.
    Execute Headless: The context is fed into a headless instance of Claude Code.
  5. 15.
    Output: The AI autonomously reviews the code against enterprise standards and generates comprehensive release notes for the operations team.

8.3 The Shared Prompt Library: Deep Dive Examples

Below are detailed, Enterprise-specific prompt templates that can be stored in Atlassian Rovo. Users can copy these templates, fill in the bracketed [VARIABLES], and execute them in Claude Code.

Discovery Phase: The Feasibility & Scaffold Prompt

Stored in Rovo as: Prompt-Template-Discovery-001 Persona: Product Manager / Product Engineer Goal: Validate a business idea against the legacy rating engine and scaffold the technical requirement.
> The Rovo Prompt Template:
TECHNICAL IMPLEMENTATION
text

Role: Act as an expert Principal Architect at The Enterprise specializing in the [INSERT LOB, e.g., Commercial Auto] domain.

Context: We are exploring a new Epic defined in Jira: [INSERT JIRA EPIC LINK OR TEXT].

Task:
1. Review the current codebase in this repository. Specifically, look at the data models and product features related to [INSERT FEATURE AREA, e.g., Liability Limits].
2. Determine if the current database schema and API structure can support this Epic smoothly, or if downstream adjustments are advisable.
3. If feasible, generate a mock JSON payload representing a proposed API input for this new feature.
4. Identify any legacy modules touched by this feature that might benefit from additional unit test coverage.

Output: Format the response as a Markdown feasibility report. Please focus on analysis before writing implementation code.

Development Phase: The Enterprise Secure TDD Prompt

Stored in Rovo as: Prompt-Template-Dev-TDD-004 Persona: Lead Developer Goal: Encourage Test-Driven Development and actuarial alignment before writing business logic.
> The Rovo Prompt Template:
TECHNICAL IMPLEMENTATION
text

Role: Act as a Senior Software Engineer and Security Champion for The Enterprise.

Context: The Product Engineer has provided the following mock JSON payload and acceptance criteria: [INSERT PO's MOCK PAYLOAD AND BDD CRITERIA].

Task:
1. Review our repository's <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">claude</code> file to understand our recommended tech stack, testing frameworks, and security best practices.
2. Based on the acceptance criteria, generate a comprehensive suite of failing [INSERT FRAMEWORK, e.g., Jest/JUnit] unit tests to guide development.
3. Ensure the test suite includes boundary condition tests relevant to enterprise quoting (e.g., negative premiums, out-of-state zip codes, missing limits).
4. Where possible, utilize our internal <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">enterprise-mock-rating-engine</code> utility library rather than hardcoding mock data.

Output: Provide the test file code, formatted to be easily executed locally.

Deployment Phase: The Headless DoD Guidance Prompt

Stored in Rovo as: Prompt-Template-Ops-DoD-002 Persona: DevOps / CI-CD Pipeline (Automated) Goal: Automate Definition of Done (DoD) checks via Claude Code's headless mode to assist with Pull Request reviews.
> The Rovo Prompt Template (Executed via GitHub Actions):
TECHNICAL IMPLEMENTATION
text

Role: Act as a supportive Release Train Engineer and Code Reviewer for The Enterprise.

Context: You are reviewing Pull Request #[INSERT PR NUMBER]. The diff is provided in your context.

Task:
1. Code Review: Analyze the PR diff. If the code appears to introduce any hardcoded credentials or API keys, flag the review for immediate attention.
2. Coverage Check: Check if new unit tests are included that cover the modified lines of code.
3. Architectural Alignment: Query our internal Rovo database [OR READ synced claude] for the latest 'Enterprise Microservices Standards'. Does this PR align with our data payload standards? Please highlight any discrepancies.
4. Release Notes: If the PR looks good, synthesize the commit history into a 3-bullet-point, business-friendly release note suitable for the Sprint Review.

Output: Output a JSON object with two keys: "status" (e.g., "NEEDS_REVIEW" or "READY"), and "report" (the detailed review notes or the release notes).

8.4 Managing the Universe: The Feedback Loop

The Prompt Universe is a living ecosystem. The Enterprise can foster a continuous feedback loop:
  1. 1.
    Iterative Refinement: When a developer tweaks a Rovo prompt inside Claude Code to get a better result, they are encouraged to propose an update to the original template in Rovo.
  2. 2.
    Prompt Guilds: Consider establishing "Prompt Engineering Guilds" across the Agile Release Trains. These guilds could meet regularly to review prompt effectiveness, archive older prompts, and share new, highly useful prompts in the Rovo Library.
  3. 3.
    Synchronization: Over time, claude files in individual repositories can be dynamically generated or synced from Rovo, helping to ensure that local IDE contexts remain aligned with shared enterprise knowledge.

8.5 Implementation Guide: Prompt Chaining & Automation

Actor: Prompt Engineering Guild & Knowledge Management System Configuration:
  1. 1.
    Rovo Prompt Library: Set up a structured Confluence space indexed by Rovo. Use Confluence Page Properties to organize prompts by "Persona" and "SDLC Phase".
  2. 2.
    Sync Script: Consider writing a scheduled job (e.g., Python script in AWS Lambda) to fetch curated prompts from the Rovo API and seamlessly update the global .claude templates in the codebase.
Connected Dependency: This serves as a technical foundation to help make the guidelines in 07-enablement-engine-claude-code actionable.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
To scale the benefits of the Rovo Prompt Universe, teams can explore moving beyond manual copy-pasting to invoking these prompts programmatically in CI pipelines or via webhooks.

Tactical Guide A: Testing Prompts via the Rovo REST API

  • Objective: Validate and optimize prompt templates programmatically to ensure deterministic and accurate responses in production.
  • Action: Execute the ROVO-DISCOVERY-001 prompt programmatically.
  • Implementation Steps:
  • a.
    Step 1: Obtain a Rovo API Token from the Atlassian admin console.
  • b.
    Step 2: Construct the cURL execution script:
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    API_TOKEN="your_rovo_token"
    EPIC_DESCRIPTION="We need to migrate the AS400 billing module to the new cloud Spring Boot microservice."

    curl -X POST "https://api.atlassian.com/rovo/v1/prompts/execute" \
    -H "Authorization: Bearer $API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
    "promptTemplateId": "ROVO-DISCOVERY-001",
    "variables": {
    "epicDescription": "'"$EPIC_DESCRIPTION"'"
    }
    }'
  • a.
    Step 3: Usage Prompt for Claude:
    AI PROMPT
    AI PROMPT

    I have a script that interacts with the Rovo API. Could you help wrap this cURL command in a Node.js script using Axios, including error handling? If the API returns a 429 Rate Limit error, please add exponential backoff.

9
Connected Use Cases: The Feature Lifecycle

To demonstrate how the Product Engineering transformation can impact the entire organization, we follow a single feature—adding a "Cyber Liability" tier to an existing quoting engine—through three connected objectives.
Build vs. Buy Decision Framework: Before pursuing custom development, the team can use AI to evaluate if a COTS (Commercial Off-The-Shelf) solution exists that fulfills the requirement. If build is selected, we proceed with the following phases.
We highly recommend using Claude Code across all three phases, helping to ensure shared context and accelerated delivery.

9.1 Objective 1: Accelerated Discovery & Feasibility Validation

Architecture Diagram
[Architecture Diagram]
Workflow Description:
  1. 1.
    Intake Agent: Automatically ingests and categorizes the initial input from the human adjuster.
  2. 2.
    Policy DB / RAG: Queries the structured databases and retrieves unstructured policy guidelines using Retrieval-Augmented Generation.
  3. 3.
    Vision Agent: Concurrently processes any submitted images to extract text, damages, and contextual metadata.
  4. 4.
    Validation Agent: Aggregates the findings from the policy check and the vision analysis to validate against business logic.
  5. 5.
    Decision Recommendation: Synthesizes the validated data into a clear, actionable recommendation for the adjuster.
Use Case 1.1: Rapid Prototyping of Processing Rules Persona: Product Owner (Acting as Product Engineer)
The Challenge: The business wants to add a Cyber Liability option to the existing Commercial lines quoting flow. The Product Owner needs to know if the legacy rating API can support this new data structure without a massive refactor.
The Solution with Claude Code: Instead of submitting a ticket for a "Technical Spike" and waiting a sprint, the Product Owner opens the codebase in Claude Code.
  • The Action: They prompt: Review the current Commercial Quoting API logic. I need to add a 'Cyber_Liability_Limit' field. Does the current database schema and rating algorithm support this, or will it require a breaking change? Generate a mock JSON payload showing the new request structure.
  • The Result: Claude Code analyzes the codebase, confirms that the limits table is extensible, and provides the mock JSON. It also flags that the legacy rating module lacks test coverage for this edge case.
  • The Organizational Impact: The PO instantly validates technical feasibility. The requirement enters the backlog not as a vague idea, but as an actionable, technically-grounded feature with a validated data payload.

9.2 Objective 2: Shift-Left Quality & Rapid Implementation

Phase: Development / QA Persona: Lead Developer
The Challenge: The developer picks up the Cyber Liability feature. Because it touches a core legacy rating module, the risk of regression is high.
The Solution with Claude Code: The developer utilizes the context generated by the Product Owner to help ensure test-driven, secure development.
  • The Action (TDD): The developer takes the PO's mock JSON and prompts Claude: Based on this new Cyber Liability payload, generate a suite of failing Jest unit tests that cover standard limits, out-of-bounds limits, and missing fields.
  • The Action (Implementation): After generating the tests, the developer implements the logic. They can then use a custom Enterprise skill: /skill validate-rating-algo to verify the new algorithm aligns with internal actuarial standards defined in the claude.
  • The Result: The feature is built rapidly with excellent test coverage from day one. The custom skill acts as an AI pair-programmer, catching potential business logic errors early.
  • The Organizational Impact: Defect escape rates often drop significantly. QA can focus on complex exploratory testing rather than basic regression, as the AI has helped guide quality at the keystroke level.

9.3 Objective 3: Automated Compliance & Deployment

Phase: CI/CD / Release Management Persona: Release Train Engineer (RTE) / DevOps
The Challenge: The feature is complete, but it needs to pass compliance reviews and be documented for the business stakeholders before deployment.
The Solution with Claude Code: The organization can integrate Claude Code in Headless Mode directly into their CI/CD pipeline (e.g., GitHub Actions).
  • The Action (Guidance): When the developer opens the Pull Request, the CI/CD pipeline triggers an AI subagent. The subagent compares the code changes against the enterprise claude file to help ensure no hardcoded secrets exist and that the new Cyber Liability variables follow established naming conventions.
  • The Action (Documentation): Once merged, the RTE prompts Claude Code: Summarize the changes in PR #405. Generate business-friendly release notes explaining the new Cyber Liability feature, and draft an update for the internal Wiki.
  • The Result: The PR is automatically reviewed for best practices, potentially reducing human review time from days to hours. Accurate, context-aware release notes are generated instantly.
  • The Organizational Impact: The release process becomes smoother. Alignment with standards is supported by AI guidance, and business stakeholders receive immediate, clear communication about the value delivered.

9.4 Implementation Guide: Executing the Use Cases

Actor: Lead Developers & System Architects System Configuration:
  1. 1.
    Enterprise Custom Skills: Consider creating the /skill validate-rating-algo locally. Place the script in a .claude/skills/ directory in the target repository.
  2. 2.
    Skill Registry: We recommend documenting the script in Atlassian Rovo so other developers know it exists and can leverage it.
Connected Dependency: This supports the prompt workflows defined in 08-rovo-prompt-universe.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
To realize these connected use cases, practitioners can leverage advanced prompt engineering, chaining tools, and JSON schema guidance.

Tactical Guide A: Prompt Chaining for Request Validation

  • Objective: Automate complex business logic validation by chaining multiple targeted prompts to iteratively evaluate edge cases.
  • Action: Automate the multi-step validation of a request incident.
  • Implementation Steps:
  • a.
    Step 1: The Context File (incident.txt):
    TECHNICAL IMPLEMENTATION
    text

    Customer: John Doe. Policy: AC-12345. Date of Loss: 2023-10-15.
    Event: Vehicle rear-ended at stoplight.
  • a.
    Step 2: The MCP Setup: Ensure an MCP server connected to the PolicyAdmin API is active.
  • b.
    Step 3: The Prompt Chain:
    AI PROMPT
    AI PROMPT

    Step 1: Read incident.txt and extract the Policy Number and Date of Loss.
    Step 2: Use the 'policy_admin_mcp' tool to query the active dates for that policy.
    Step 3: Determine if the policy was active on the Date of Loss.
    Step 4: Output the final decision using the following JSON schema as a guide: { 'policy': string, 'isActiveOnDate': boolean, 'reason': string }.
  • c.
    Result: The AI orchestrates data extraction, API querying, business logic evaluation, and outputs structured JSON.

Tactical Guide B: Automated Legacy Test Harness Generation

  • Objective: De-risk legacy modernization by automatically generating comprehensive test coverage around undocumented legacy systems.
  • Action: Generate unit tests for undocumented legacy C code.
  • Implementation Steps:
  • a.
    Step 1: Navigate to the legacy directory: cd legacy-rating-engine/src
  • b.
    Step 2: The Prompt Chain:
    AI PROMPT
    AI PROMPT

    Read the C file 'calc_premium.c'. I need to write a test harness.
    Step 1: Identify all input parameters and expected return types.
    Step 2: Generate a Python script using 'ctypes' to load the compiled shared library (.so) of this C code.
    Step 3: Write 5 pytest test cases that pass boundary values (0, negative, extremely large numbers) to the 'calc_premium' function.

10
Legacy Integration Strategy

10.1 Target System Inventory

Our integration strategy targets several core legacy systems:
  • Guidewire PolicyCenter and CoreSystem
  • Mainframe-based billing systems
  • AS400 rating engines

10.2 API Assessment

We recommend conducting a comprehensive API assessment to identify which legacy systems expose RESTful/SOAP interfaces and which might require screen scraping, RPA, or direct database access as interim solutions.

10.3 Middleware/Integration Architecture

An event-driven middleware layer (e.g., Kafka) will abstract legacy system complexity from the AI layer, allowing AI tools to interact with modern APIs while the middleware handles the legacy translations.

10.4 Tactical Execution: The Strangler Fig Implementation

Note
This is a sampling of suggestions. Actual implementation details will drive the final Tactical Execution specs.
Architecture Diagram
[Architecture Diagram]
Modernizing monolithic legacy systems (like AS400 COBOL) often benefits from surgical precision. Teams can leverage Claude Code to map these monolithic dependencies to new microservice candidates.

Tactical Guide A: Extracting Business Logic from COBOL

  • Objective: Decode and document opaque legacy systems by using AI to analyze COBOL syntax and extract human-readable business rules.
  • Action: Translate legacy rules into modern Java API contracts.
  • Implementation Steps:
  • a.
    Step 1: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Read the COBOL copybook 'POL_ADMIN_01.cob'. Focus specifically on the 'ADDRESS-VALIDATION-ROUTINE'. Translate the business logic (the IF/ELSE statements regarding ZIP codes and state formats) into a modern Java 17 Spring Boot REST Controller. The endpoint should accept a JSON payload, execute the translated logic, and return a standardized validation response.

Tactical Guide B: Writing the Strangler Facade

  • Objective: Enable incremental modernization by automatically generating API facades that route traffic safely between legacy and modern systems.
  • Action: Route traffic dynamically between the old monolith and the new microservice during the transition phase.
  • Implementation Steps:
  • a.
    Step 1: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Generate an NGINX configuration file (nginx.conf). Configure it to act as a Strangler Facade. Route all traffic for '/api/v1/address-validate' to the new Java microservice (http://address-service:8080), but route all other '/api/v1/
    ' traffic to the legacy AS400 gateway (http://legacy-gateway:9000).*

11
Data Readiness Assessment

11.1 Data Quality Scorecard

Before integrating AI into any product stream, we recommend assessing the underlying data using our Data Quality Scorecard, which measures:
  • Accuracy
  • Completeness
  • Consistency
  • Timeliness

11.2 Architecture Review Template

Best practices suggest that AI integrations undergo a standardized Architecture Review. This helps ensure data pipelines can support real-time inference and batch processing without introducing latency or security vulnerabilities.

11.3 Governance Maturity Model

We track our data governance maturity across five levels:
  1. 1.
    Initial (Ad-hoc)
  2. 2.
    Managed (Siloed)
  3. 3.
    Defined (Standardized)
  4. 4.
    Quantitatively Managed (Measured)
  5. 5.
    Optimizing (Continuous Improvement)

11.4 Deep Tactical Execution: AI-Driven Technical Debt Analysis

Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Before AI can modernize a system, it is helpful to first understand the depth of the data debt.

Tactical Guide A: Automated Schema Analysis

  • Objective: Accelerate database migrations by using AI to automatically analyze legacy schemas and map them to modernized architectures.
  • Action: Find anti-patterns in legacy relational databases.
  • Implementation Steps:
  • a.
    Step 1: Export the schema: pg_dump -s -U cna_admin legacy_db > schema.sql
  • b.
    Step 2: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Analyze 'schema.sql'. Find instances of technical debt including: 1) Columns using generic names like 'val1', 'temp', or 'misc'. 2) Tables with more than 50 columns (wide tables). 3) Missing foreign key constraints between logically related tables (e.g., 'Request' and 'Policy'). Output a technical debt report in JSON format.

Tactical Guide B: Resolving Debt via Automated Migrations

  • Objective: Safely eliminate technical debt by programmatically generating and executing database migration scripts with AI assistance.
  • Action: Generate the Flyway or Liquibase scripts to fix the identified debt.
  • Implementation Steps:
  • a.
    Step 1: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Based on the JSON technical debt report you just generated, write a Liquibase XML migration script to rename all generic 'val1' columns in the 'PolicyHeader' table to 'RiskScore'. Include the rollback statements.

12
Security, Privacy, and Data Governance

As an enterprise provider, Enterprise handles highly sensitive Personally Identifiable Information (PII), Protected Health Information (PHI), and financial data (PCI). Integrating Claude Code across the SDLC benefits from clear, auditable guardrails. This document outlines recommended strategies and optics to support compliance.

12.1 The Strategy: Zero-Trust AI Execution

  1. 1.
    Synthetic Data Utilization: We recommend Product Engineers and Developers leverage synthetic data (mock payloads) generated via approved Atlassian Rovo prompts during the Discovery and Development phases. Utilizing production data in local IDE context windows is strongly advised against.
  2. 2.
    Automated Context Scrubbing: Before Claude Code transmits context to the LLM backend, custom hooks intercept the payload and run a regex-based scrubbing algorithm to mask accidental PII (e.g., social security numbers, policy IDs).
  3. 3.
    Headless DoD Auditing: In the CI/CD pipeline, Claude Code runs in Headless Mode to perform semantic security reviews, checking for hardcoded credentials, API keys, and violations of the claude security constraints.

12.2 Leadership Optics: How We Track Compliance

To provide leadership with confidence in the transformation, we will implement the following tracking and reporting mechanisms.

The PII Interception Dashboard

  • What it tracks: The number of times the local Claude Code hooks intercept and mask potential PII before transmission.
  • Why it matters: High interception rates on a specific Agile Release Train (ART) indicate a training gap where developers are pulling production data into their local environments instead of using synthetic mock data.
  • Integration: Hook logs are pushed directly to Datadog/Splunk for real-time alerting.

The AI Compliance Audit Log

  • What it tracks: A centralized, immutable log of every Pull Request reviewed and approved by the "Headless DoD Enforcer" subagent.
  • Why it matters: Satisfies internal risk and external regulatory audit requirements, proving that AI-generated code was subjected to automated security enforcement before deployment.
  • Integration: Stored within Jira via integration with GitHub Actions / GitLab CI.

The "Shift-Left" Vulnerability Metric

  • What it tracks: The ratio of security vulnerabilities caught by Claude Code during development/PR review versus vulnerabilities caught by traditional SAST/DAST tools in the staging environment.
  • Why it matters: Proves the ROI of the Product Engineering shift. Catching a vulnerability locally via AI is significantly cheaper than catching it in staging or production.

12.3 AI Model Risk Management

  • Model Validation & Explainability: We recommend that models influencing pricing be explainable. Black-box outputs without clear actuarial derivation should be avoided.
  • Bias Testing: Routine audits are highly encouraged to help ensure AI models do not introduce proxy discrimination based on protected classes.
  • Immutable Architectural Tracking: The enterprise recommends the use of structured, Nygard-format Architecture Decision Records (ADRs) to track fundamental AI architecture shifts. This shared ledger helps teams stay aligned with compliance goals and avoids revisiting established security boundaries without formal, peer-reviewed documentation.

12.4 AI Incident Response Plan

If an AI system generates a severe hallucination leading to a production outage or data breach:
  1. 1.
    Kill Switch: Immediate automated rollback of the offending AI-generated PR.
  2. 2.
    Containment: Suspend API access for the targeted LLM across the affected ART.
  3. 3.
    Audit: Review the intercept logs to determine if the prompt template or the claude constraints failed.

12.5 E&O Liability for AI Decisions

Errors and Omissions (E&O) liability remains an important consideration. As AI systems take on more decision-making capabilities, human-in-the-loop (HITL) approval gates are strongly recommended for final rate filings and coverage denials to align with best practices.

12.6 Implementation Guide: Automated Governance

Actor: InfoSec & DevSecOps System Configuration:
  1. 1.
    Git Hooks (Husky): Teams can leverage a pre-commit and pre-push hook globally using Husky. It is recommended that the hook run a regex scan for SSNs, credit card formats, and policy ID patterns.
  2. 2.
    Claude Hook Configuration: Configure Claude Code's internal hooks to intercept all outgoing payloads to the LLM backend. If PII is detected, the hook replaces it with [REDACTED_PII] before the network call is made.
Connected Dependency: Essential for the compliance and liability optics discussed throughout the blueprint.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Governance is most effective when integrated proactively; teams are encouraged to implement it as an executable block of code in the deployment pipeline.

Tactical Guide A: The Automated PII Masking Audit

  • Objective: Enforce strict data privacy by continuously scanning and auditing codebases for unmasked Personally Identifiable Information (PII).
  • Action: Prevent code containing unmasked PII from ever reaching production.
  • Implementation Steps:
  • a.
    Step 1: Create .claude/skills/audit-pii.sh.
    TECHNICAL IMPLEMENTATION
    bash

    #!/bin/bash
    echo "Running PII Governance Audit..."
    # Check if developers are returning raw 'social_security' fields instead of using the Masker
    FAILURES=$(grep -rn "social_security" src/ | grep -v "MaskingUtil")
    if [ ! -z "$FAILURES" ]; then
    echo "GOVERNANCE VIOLATION: Unmasked PII found."
    echo "$FAILURES"
    exit 1
    fi
    echo "Audit Passed."
  • a.
    Step 2: Usage Prompt:
    AI PROMPT
    AI PROMPT
    I need to add a pre-commit hook using Husky. Modify my package.json to run '.claude/skills/audit-pii.sh' automatically before every git commit. If the script fails, the commit should be aborted.

Tactical Guide B: OWASP Dependency Scanning

  • Objective: Proactively identify and mitigate supply chain vulnerabilities by integrating automated OWASP dependency checks into the pipeline.
  • Action: Guide Claude to address security vulnerabilities found by scanners.
  • Implementation Steps:
  • a.
    Step 1: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Run 'npm audit --json'. Parse the output. For every 'High' or 'Critical' vulnerability found in the dependencies, automatically run 'npm update <package>' to the non-vulnerable version. If a breaking change occurs, generate the necessary code refactor to support the new version.

13
Regulatory Compliance Roadmap

13.1 State Compliance Requirements

Alignment with Department of Enterprise (Compliance) regulations across all operating states is highly encouraged. We recommend that AI-generated models and pricing logic undergo thoughtful reviews to help ensure they align with non-discrimination and fairness guidelines set forth by each state's Compliance.

13.2 NAIC AI Model Bulletin Compliance Matrix

We suggest aligning AI governance with the National Association of Enterprise Commissioners (NAIC) guidelines.
  • Model Inventory: We recommend maintaining a clear inventory of all AI models in use.
  • Risk Management Framework: Teams can benefit from embedding AI risk management into the broader enterprise risk framework.
  • Vendor Management: It is advisable to guide third-party AI vendors toward compliance with NAIC standards.

13.3 Rate Filing Disclosure Plan

When AI is used to influence product features or processing decisions, we recommend that rate filings transparently document the AI's role, the data used, and the steps taken to help prevent proxy discrimination. Transparency is a key best practice.

13.4 Deep Tactical Execution: Automated Auditing

Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Manual compliance reporting can sometimes be time-consuming. Teams can leverage AI to continuously map code modifications directly back to regulatory guidelines.

Tactical Guide A: Generating the NY Compliance Regulation 187 Audit Matrix

  • Objective: Streamline regulatory audits by automatically generating compliance matrices that map specific code deployments to NY Reg 187 requirements.
  • Action: Demonstrate to auditors how our algorithm changes align with state regulations.
  • Implementation Steps:
  • a.
    Step 1: Prepare a regulation-187.txt file containing the core guidelines.
  • b.
    Step 2: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Load 'regulation-187.txt'. Now, analyze all Git commits in the 'commercial-rating' module from the last 30 days. Specifically look at changes to 'BaseRateCalculator.java'. Generate a Markdown compliance matrix mapping every code change to a specific clause in Regulation 187. If any commit appears to misalign with a clause (e.g., age-based discrimination), highlight it in RED.

Tactical Guide B: Enforcing Immutable Log Generation

  • Objective: Guarantee auditability by ensuring all AI-assisted actions and data modifications are immutably logged.
  • Action: We recommend designing systems so that every pricing calculation leaves a clear, auditable trail.
  • Implementation Steps:
  • a.
    Step 1: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Review the 'PricingEngine' module. Identify any public methods that return a premium calculation but might not invoke the 'AuditLogger.logTransaction()' method. For any identified methods, generate the necessary Java code to integrate the AuditLogger and record the relevant input variables.

14
AI FinOps & Infrastructure Management

Operating Claude Code at enterprise scale introduces a new operational expense: LLM Token Costs. To ensure the transformation remains financially viable, we recommend treating AI infrastructure with the same rigor as cloud hosting (FinOps).

14.1 The Strategy: Context Optimization

  1. 1.
    Context Budgeting: We encourage educating teams on how to write efficient prompts. Large, bloated prompts consume excess tokens and can increase latency. (Referencing the elementary-05-managing-context-token-budget curriculum).
  2. 2.
    Dynamic claude Files: We suggest keeping repository context files concise. Sending a 10,000-line architectural history to the LLM on every query can become financially unsustainable. Rovo can be used to store the deep history, while claude only stores the immediate context.
  3. 3.
    Centralized API Gateway: We recommend routing all Claude Code traffic through an internal API gateway, allowing the Enterprise to help manage rate limits, route traffic to different LLM tiers based on task complexity, and track usage.
  4. 4.
    The AI Monorepo Strategy: To optimize discoverability, streamline FinOps tracking, and enable cross-cutting security updates, teams can consolidate all custom AI plugins into a single enterprise monorepo rather than fragmented polyrepos.
  5. 5.
    Evolutionary Plugin Architecture: To help prevent premature micro-service fragmentation and reduce operational overhead, related skills can remain bundled within the monorepo until they naturally benefit from distinct release cadences, at which point they can be deliberately split.

14.2 Leadership Optics: How We Track FinOps

It is beneficial for leadership to have real-time visibility into the financial performance of the AI rollout to understand ROI.

Token Cost per Agile Release Train (ART)

  • What it tracks: The exact dollar amount of API usage generated by each ART per Program Increment (PI).
  • Why it matters: Allows Finance and RTEs to forecast budgets accurately. If an ART spikes in token usage without a corresponding spike in feature delivery, it may indicate inefficient prompting or an automated pipeline caught in an infinite loop.
  • Integration: API Gateway logs can be pushed to Datadog/Splunk for cost dashboarding.

The AI Burn-Rate Alert System

  • What it tracks: Automated thresholds that trigger alerts when an individual user or CI/CD pipeline exceeds a predefined daily token budget.
  • Why it matters: Helps prevent unexpected costs. An improperly configured Headless DoD script running on a rapid loop in GitHub Actions can generate significant expenses overnight.
  • Integration: Slack/Teams alerts can be routed directly to the specific ART's Scrum Master and the FinOps team.

The Enterprise ROI Equation

  • What it tracks: A macro-level dashboard comparing the overall LLM API costs against the measurable reduction in "Flow Time" (Lead Time) and the reduction in staging environment costs (due to fewer defect deployments).
  • Why it matters: This is a key metric for the C-Suite. It helps answer the question: Are we saving more money in developer time and defect reduction than we are spending on AI infrastructure?
  • Integration: A high-level executive dashboard (e.g., Tableau or PowerBI) correlating Jira Align velocity data with API billing data.

14.3 Implementation Guide: FinOps Guardrails

Actor: Cloud Infrastructure / FinOps System Configuration:
  1. 1.
    API Gateway Setup: Provision an AWS API Gateway (or equivalent). Route all Claude Code CLI endpoints (e.g., https://api.anthropic.com) to https://enterprise-ai-gateway.internal.
  2. 2.
    Usage Plans & Quotas: Create Usage Plans in the API Gateway. Map the "Pilot ART" API Keys to a reasonable daily quota (e.g., 500,000 tokens/day).
  3. 3.
    Alerting: Configure AWS CloudWatch to trigger an SNS notification to the FinOps Slack channel when a quota reaches 80% utilization.
Connected Dependency: Provides the financial data necessary to populate the dashboards in 01-success-metrics-kpis.
Note
This is a sampling of suggestions. Actual implementation details will drive the final Deep Tactical Execution specs.
Token usage can rapidly scale if unmonitored. We recommend setting up token budgeting directly in the CI/CD pipeline to help guide usage.

Tactical Guide A: The Token Budgeting Hook

  • Objective: Prevent runaway infrastructure costs by programmatically enforcing token consumption limits and alerting on anomalous usage patterns.
  • Action: Monitor API usage and automatically pause AI requests if the budget is reached.
  • Implementation Steps:
  • a.
    Step 1: Create a GitHub Action .github/workflows/ai-budget-check.yml.
    TECHNICAL IMPLEMENTATION
    yaml

    name: AI Token Budget Check
    on: [pull_request]
    jobs:
    check-budget:
    runs-on: ubuntu-latest
    steps:
    - name: Fetch Anthropic Billing Usage
    env:
    ANTHROPIC_ADMIN_KEY: ${{ secrets.ANTHROPIC_ADMIN_KEY }}
    run: |
    USAGE=$(curl -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \
    -H "anthropic-version: 2023-06-01" \
    "https://api.anthropic.com/v1/organizations/cna/usage" \
    | jq '.total_cost')
    if (( $(echo "$USAGE > 5000.0" | bc -l) )); then
    echo "BUDGET EXCEEDED: Usage is $$USAGE. Limit is $5000."
    echo "Blocking AI PR Reviews."
    exit 1
    fi
  • a.
    Step 2: Usage Prompt:
    AI PROMPT
    AI PROMPT
    Our AI PR Reviewer tool is failing because the budget check exited with 1. I need an override mechanism. Write a python script 'request_budget_override.py' that opens an automated Jira Service Desk ticket requesting an additional $500 token allocation.

15
Shared Context

15.1 What is the concept of a Shared Context Engine across the organization?

In the context of Enterprise AI Transformation, a "Shared Context Engine" refers to treating an AI system (like Claude Code or Atlassian Rovo) as a persistent, unified "brain" that connects every phase of the Software Development Life Cycle (SDLC) and every role in the organization.
Rather than having siloed teams who manually hand off information to one another, the AI sits at the center and holds the complete context of both the business intent and the technical codebase.
Here are the key principles of this concept:

1. Eliminating Manual "Translation Hops"

Traditionally, context degrades as it passes between humans (e.g., Product writes a PRD → a Business Analyst writes a Jira Ticket → a Developer writes code → QA writes a test plan). With a shared context engine, a Product Owner inputs the business intent directly into the AI. That exact same engine then uses that context to help the Developer write the code, and subsequently helps QA generate the exact test cases needed to validate it.

2. The "Ripple Effect"

Because the AI is a shared engine, work done at the very beginning of the SDLC creates an immediate ripple effect downstream. If an architect defines a new security guardrail or a product manager updates an assumption in Jira, the shared context engine instantly makes that new rule available to the developer's IDE and the CI/CD pipeline's automated security audits.

3. Shifting from "Story Points" to "Flow Velocity"

When context is shared seamlessly via AI, the friction of communication and documentation drops significantly. This allows leadership to stop measuring teams by proxy metrics (like estimated Agile Story Points) and instead measure true Flow Velocity—how fast a feature moves from an idea to tangible business value in production.
Ultimately, a shared context engine breaks down organizational silos by ensuring that Product, Engineering, and Operations are all working from the exact same intelligent, constantly-updated source of truth.
For more information on how this is applied, please review the SDLC & Organizational Transformation and The Enablement Engine: Claude Code Backbone sections.

16
Engine Setup

16.1 Establishing a Shared Context Engine in the Enterprise SDLC

To move from a conceptual "Shared Context Engine" to a physical reality, an enterprise must stitch together its existing toolchain so that business intent flows seamlessly from ideation to production without degradation.
In this organization, the Shared Context Engine is not a single piece of software, but an integrated ecosystem primarily driven by Atlassian Rovo (The Prompt Universe) and Claude Code (The Enablement Engine).

How it is Established

  1. 1.
    The Knowledge Graph (Atlassian Rovo): Rovo is connected to Jira, Confluence, and Bitbucket/GitHub. It acts as the high-level semantic search engine that understands organizational goals, Epics, and historical decisions (ADRs).
  2. 2.
    The Execution Layer (Claude Code): Claude Code operates locally in the developer's IDE and in headless CI/CD runners. It connects to the local codebase and can retrieve Jira context via hooks.
  3. 3.
    The Bridge (Custom Instructions & Prompts): The engine is powered by standardized "System Prompts" that instruct the AI on how to interpret Jira tickets, apply enterprise coding standards, and generate tests.

Scenario: Product A Needs a Pop-up

The Goal: Product A requires a new "User Onboarding Pop-up" that appears on the user's first login. It must capture their role (Admin vs. User) and save this to the Cloud SQL database.
Here is how the Shared Context Engine orchestrates this across the SAFe Agile SDLC, eliminating manual translation hops.

1. Discovery & Requirements (Product Owner / PM)

The Shift: The PO does not write a 10-page PRD. They write the core business intent in Jira and use Atlassian Rovo to validate feasibility based on the existing codebase context.
  • Tool: Atlassian Rovo / Jira
  • The Context Established: The core business rules (must appear on first login, must save role).
  • PO Prompt to Rovo:
    AI PROMPT
    AI PROMPT

    I am creating a new Epic for an Onboarding Pop-up in Product A. Based on our current authentication flow in the <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">apps/marketing-site</code> repository, where should the 'first login' flag be stored? Generate a draft Jira Story with acceptance criteria that aligns with our existing PostgreSQL schema.
Engine Output: Rovo reads the Prisma schema, recognizes the User model, and drafts a Jira ticket suggesting adding a hasCompletedOnboarding boolean and a role enum. The PO saves this as Ticket-101.

2. Refinement & Architecture (Scrum Master / Tech Lead)

The Shift: Instead of pointing the story based on gut feeling, the team uses Claude to analyze Ticket-101 against the live codebase to identify hidden complexities.
  • Tool: Claude (Web or Code)
  • The Context Maintained: Claude pulls the exact Acceptance Criteria generated in Phase 1.
  • Tech Lead Prompt to Claude:
    AI PROMPT
    AI PROMPT

    Analyze Ticket-101. We need to implement this onboarding pop-up in our Next.js 15 App Router structure. Are there any existing UI components (like Modals or Dialogs) in our <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">@repo/ui</code> library that we should reuse? Generate a brief technical task list.
Engine Output: Claude identifies the existing FloatingWindowManager and glass-card CSS classes. It outputs a checklist of files to modify (e.g., schema.prisma, route.ts for the API, and page.tsx).

3. Development (Developer)

The Shift: The developer does not need to read the ticket, ask the PO for clarification on the UI, and look up the CSS standards. The context engine already knows.
  • Tool: Claude Code (CLI in the IDE)
  • The Context Maintained: The developer injects the Ticket ID, and Claude Code applies the technical task list from Phase 2.
  • Developer Prompt to Claude Code:
    AI PROMPT
    AI PROMPT

    Implement the frontend and backend for Ticket-101.
    1. Update the Prisma schema with the new fields and run <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">prisma db push</code> locally.
    2. Create the API route to handle the role update.
    3. Build the React component using our <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">glass-card</code> styling and ensure it only renders if <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">hasCompletedOnboarding</code> is false.
    Review <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">apps/marketing-site/docs/MARKETING_API_REFERENCE.md</code> to ensure the API matches our standards.
Engine Output: Claude Code autonomously writes the Prisma schema update, the API route, and the React component, adhering perfectly to the enterprise's visual standards and database rules because it has the context of the entire workspace.

4. QA & Security Validation (QA / Sec)

The Shift: QA does not write manual test scripts from scratch. The context engine uses the original business intent (Phase 1) and the generated code (Phase 3) to build the tests.
  • Tool: Claude Code (Headless in CI/CD) or Local Copilot
  • The Context Maintained: The AI understands why the pop-up was built and how it was built.
  • QA Prompt to Claude:
    AI PROMPT
    AI PROMPT

    Generate a Playwright E2E test for the Onboarding Pop-up implemented in Ticket-101. The test must:
    1. Mock a user login where <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">hasCompletedOnboarding</code> is false.
    2. Verify the pop-up renders and intercepts the screen.
    3. Select 'Admin' and submit.
    4. Verify the database mock receives the correct payload.
    Also, audit the new API route for potential SQL injection or unauthorized access.
Engine Output: The engine generates robust, white-box Playwright tests that cover the exact edge cases of the code that was just written.

5. Release & Operations (RTE / DevOps)

The Shift: The RTE needs to communicate the release to stakeholders. They don't need to track down the dev to ask what was shipped.
  • Tool: Atlassian Rovo
  • The Context Maintained: Rovo has monitored the Jira ticket moving to "Done" and the GitHub PR merging.
  • RTE Prompt to Rovo:
    AI PROMPT
    AI PROMPT

    Summarize the changes merged for Ticket-101 today. Generate a non-technical release note for the business stakeholders explaining the new Onboarding Pop-up, and generate a technical deployment note for DevOps highlighting the database schema changes that require attention during the Cloud Run rollout.
Engine Output: Rovo generates two distinct summaries. The deployment note automatically warns DevOps that the User schema has changed, ensuring data readiness.

Edge Cases, Gotchas, and Mitigations

Relying on a Shared Context Engine introduces new failure modes. Leadership must proactively address these "gotchas" before they break the SDLC.

1. The "Dirty Data" Contradiction

Warning - The Gotcha: The engine is only as intelligent as the data it accesses. If old, deprecated Confluence pages contradict new Architecture Decision Records (ADRs), or if a PO updates a Jira ticket after development begins without notifying the engine, the AI will hallucinate or generate flawed code. The Mitigation: Enforce strict "Docs as Code" policies and automated archiving. Old documentation must be explicitly tagged as [DEPRECATED]. The engine must be explicitly prompted to prioritize recent ADRs over older Confluence pages.

2. Context Window Overflow & Token Dilution

Warning - The Gotcha: In complex enterprise products, passing "all the context" (thousands of files, hundreds of tickets) into a prompt will exceed the LLM's token limit, or worse, cause "token dilution" where the AI forgets the primary instruction because it's buried in irrelevant data. The Mitigation: Use semantic RAG (Retrieval-Augmented Generation). Do not feed the engine the entire codebase; feed it only the specific domain bounded context. Prompts must be highly scoped (e.g., "Only analyze the files in the apps/marketing-site/app/api directory").

3. The "Automation Paradox" & Skill Atrophy

Caution - The Gotcha: If Developers and QA blindly trust the engine's output, critical logic bugs will slip into production. For instance, the AI might generate an E2E test that expects a "Success" pop-up but fails to actually assert that the database record was created. The test passes, but the feature is broken. The Mitigation: Shift evaluation from writing to reviewing. Developers and QA must be cross-trained in adversarial thinking and threat modeling. Human validation of AI output is mandatory for business logic.

4. Enterprise Security & Zero-Trust Data Leakage

Caution - The Gotcha: An all-knowing Shared Context Engine could inadvertently expose sensitive HR data, PII, or production API keys if a user asks a cleverly disguised prompt. The Mitigation: Implement strict Role-Based Access Control (RBAC) at the RAG layer. The engine must only return context that the querying user is authorized to see in Jira or GitHub. Additionally, API keys and secrets must never be committed to code (use Secret Manager), ensuring they never enter the context engine's training or retrieval space.

5. Prompt Drift

Warning - The Gotcha: Different Scrum Teams prompt the engine differently. Pod A writes highly technical, restrictive prompts, while Pod B writes loose, ambiguous prompts. This results in inconsistent code architecture and unpredictable QA results across the release train. The Mitigation: Establish "The Prompt Universe"—a centralized, version-controlled library of enterprise-approved prompts for every SDLC phase. SMs and RTEs ensure teams are pulling from this repository rather than inventing their own workflows.

Conclusion

By using a Shared Context Engine, the business intent ("We need an onboarding pop-up") was never lost or misinterpreted. At no point did a human have to manually copy-paste context or write a translation document. However, its success relies entirely on rigorous data hygiene, strict RBAC, and a workforce trained to validate rather than blindly trust the AI's output.

17
State Continuity

17.1 State-Managed Continuity: Maintaining Context Across Product Teams

Relying on humans to manually remind the AI of the "big picture" every time they open a new chat session is a recipe for Prompt Drift.
To maintain the context window consistently across dozens of SAFe Agile product teams, you must hardcode the context into the environment itself. This is achieved using State-Managed Continuity through Repository-Level Directives, Context Digests, and Jira Automation.
Here is what that looks like in practice.

1. The Repository-Level Directive (`AGENTS.md`)

Instead of hoping developers prompt Claude correctly, you commit a system-level prompt into the root of your repository (e.g., .agents/AGENTS.md or .clauderc).
Whenever a developer on any team initializes Claude Code in that repo, the AI reads this file first, automatically establishing the context window before the human even types a word.
What it looks like:

Technical Implementation

markdown
1# ENTERPRISE CONTEXT DIRECTIVE (AGENTS.md)
2You are an AI-Augmented Product Engineering assistant for the "Effective Solutions" platform.
3BEFORE you write any code or answer any questions, you MUST:
41. Search Atlassian Rovo / Jira for the active Ticket ID provided by the user.
52. Read the `docs/ARCHITECTURE.md` file to establish our current Next.js boundaries.
63. Check for any active ADRs (Architecture Decision Records) in the `docs/adr/` folder.
74. Adhere strictly to the "glass-card" UI aesthetic defined in `@repo/ui`.
8
9Do NOT proceed until you have explicitly confirmed to the user that you have loaded this context.
Result: Every developer gets the exact same architectural guardrails, instantly.

2. The "Context Digest" Handoff (Chain-of-Context)

To pass context between different SDLC phases (e.g., from the Product Owner using Rovo to the Developer using Claude), you use a prompt that forces the AI to generate a machine-readable digest. The PO generates the digest, and the Developer simply feeds it to their local AI.
  • PO Prompt (Product Owner Phase):
    AI PROMPT
    AI PROMPT

    Finalize the requirements for Ticket-101. At the bottom of the Jira ticket, generate a <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">[CONTEXT_DIGEST]</code> block. This block must be a highly compressed, AI-optimized summary of the business intent, the technical constraints, and the specific files to modify.
Engine Output (Appended to Jira ticket):

Technical Implementation

markdown
1[CONTEXT_DIGEST]
2Epic: User_Onboarding
3Intent: Modal pop-up on first login, capture user role (Admin/User).
4Constraints: Next.js 15 App Router, Prisma SQL, strict zero-trust auth.
5Target_Files: schema.prisma, route.ts, FloatingWindowManager.tsx.
6Dependencies: Auth0_Session_Token
7[/CONTEXT_DIGEST]
  • Dev Prompt to Claude Code (Developer Phase):
    AI PROMPT
    AI PROMPT

    Load Ticket-101. Extract the <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">[CONTEXT_DIGEST]</code> and use it to populate your context window. Then, begin implementation.
Result: The context window is perfectly preserved during the handoff, with zero ambiguity or loss of detail.

3. "Vision-Anchored" Prompt Templates (Jira Automation)

To ensure every team maintains the same context, you can configure Jira to automatically append a standardized prompt template to the description of every new User Story.
What it looks like (Jira Ticket Template):

Technical Implementation

markdown
1### User Story
2As a new user, I want...
3
4### AI Context Payload 
5*(Note: Claude/Rovo, read this before generating code or tests for this ticket)*
6*   **Bounded Context:** User Management Service
7*   **Upstream Dependencies:** Auth0, Cloud SQL
8*   **Downstream Consumers:** Reporting Dashboard
9*   **Security Clearance:** Requires PII Handling Protocols
Result: When Claude pulls the Jira ticket to write the code (or when QA pulls it to write tests), it is immediately forced to load the Upstream/Downstream dependencies into its context window, preventing integration bugs.

Summary

By embedding prompts into the repository structure (AGENTS.md), forcing machine-readable handoffs ([CONTEXT_DIGEST]), and templating your ticketing system, you shift the burden of "remembering context" from the human to the infrastructure.
The context window is never "lost" across product teams because the environment forces the AI to rebuild it perfectly at the start of every single session through State-Managed Continuity.

18
Engine Build

18.1 How is a Shared Context Engine Actually Developed?

While it is conceptually described as an "engine", a Shared Context Engine in an enterprise is practically developed through a spectrum of configurations, ranging from simple static files to complex, dynamically synced API integrations.
Here is how an enterprise actually builds this piece, from an elementary to an advanced level.

Level 1: Elementary (The Static System Prompt)

At the most basic level, a Shared Context Engine is simply a text file checked into version control. It establishes the baseline context for every developer who clones the repository.
  • How to Build It: Create a .clauderc or AGENTS.md file in the root of your Git repository.
  • What It Contains: A bulleted list of your specific tech stack dependencies, UI component libraries, and the exact path to your architecture documents.
  • The Engine Mechanism: When a developer opens an AI assistant in their IDE, the assistant is instructed to automatically read this file first. The "Engine" is just Git ensuring everyone has the same file.

Level 2: Intermediate (Dynamic Context Retrieval)

At the intermediate level, the engine moves beyond a static file by using custom CLI scripts or pre-commit hooks to pull live context into the AI's window.
  • How to Build It: You write a Python or Bash script (e.g., scripts/fetch_context.sh) that makes a GET request to your Jira or Confluence API.
  • What It Contains: The script fetches the active sprint goals, recent Architectural Decision Records (ADRs), and known bugs, and dynamically writes them into a temporary .context.md file.
  • The Engine Mechanism: The developer's AI assistant is configured to read .context.md on startup. The "Engine" is the automation script bridging the gap between your project management software and your local code environment.

Level 3: Advanced (The RAG-Enabled Knowledge Graph)

At the advanced enterprise level, the Shared Context Engine is a specialized application utilizing Retrieval-Augmented Generation (RAG) and an Enterprise Knowledge Graph (like Atlassian Rovo or a custom vector database).
  • How to Build It: You deploy an orchestration layer (often using LangChain or LlamaIndex) connected to a Vector Database (like Pinecone or pgvector). This system continuously indexes every commit in GitHub, every ticket in Jira, and every wiki page in Confluence.
  • What It Contains: A massive, semantically searchable database of the organization's entire history and codebase.
  • The Engine Mechanism: When a developer prompts Claude Code, the IDE tool does not just look at local files. It first queries the central RAG API (The Shared Context Engine). The API performs a semantic search across Jira/Confluence/GitHub, retrieves the 5 most relevant documents, and injects them seamlessly into the developer's prompt as invisible context before generating an answer. This guarantees that the AI's response is governed by the live state of the entire organization, not just the local code.

19
Agile Evolution

19.1 The Future of Agile: Empowering the PMO

When an organization places a Shared Context Engine (powered by tools like Atlassian Rovo and Claude Code) at the center of its Software Development Life Cycle (SDLC), the traditional rituals of Agile and SAFe (Scaled Agile Framework) do not disappear—they are dramatically empowered.
For the PMO and Enterprise Leaders, this is a highly positive transformation. By shifting from Traditional Product Management to AI-Augmented Product Engineering, the AI absorbs the heavy administrative overhead of tracking dependencies, translating requirements, and chasing status updates. This liberates product leaders and Scrum Masters to focus on what humans do best: strategic vision, creative problem solving, and maximizing business value.
Here is how the standard SAFe Agile cadences and ceremonies evolve in this new, high-velocity paradigm.

The Transformation of SAFe Agile Ceremonies

(From Traditional Product Management → AI-Augmented Product Engineering)

1. PI (Program Increment) Planning

  • Before (Product Management): PI Planning requires weeks of manual preparation. Product Managers and Release Train Engineers (RTEs) spend days in physical or virtual rooms, manually mapping dependencies across dozens of squads using string-boards, and relying on human estimates to calculate program capacity.
  • After (AI-Augmented): AI-Assisted Dependency Mapping. Before the planning event even begins, Atlassian Rovo scans the proposed Epics, cross-references the enterprise architecture, and instantly highlights all cross-team dependencies (including API contracts, database schema changes, shared UI components, and infrastructure requirements). It simulates capacity based on historical flow data. The PMO enters the PI Planning event with a pre-validated map, allowing leaders to spend their time negotiating strategic business priorities rather than untangling technical dependencies.

2. Backlog Refinement

  • Before (Product Management): Refinement involves 10 engineers sitting in a room for two hours, manually reading through User Stories to uncover missing requirements or debate technical approaches.
  • After (AI-Augmented): Context Grooming. The PM runs an AI "Grooming Agent" over the backlog prior to the meeting. The AI adversarially reviews the tickets, ensuring all architectural guidelines are present and flagging any missing dependencies. The human refinement meeting shrinks to a highly-focused 20-minute discussion tackling only the complex, strategic edge cases the AI flagged.

3. Sprint Planning & Estimation

  • Before (Product Management): Teams spend hours playing Planning Poker, debating whether a feature is a 5-point or an 8-point story based on subjective gut feelings.
  • After (AI-Augmented): Deterministic Complexity & Continuous Flow. The traditional "User Story" (built for human empathy) evolves into a "Context Directive" (built for machine execution). Human estimation is replaced by an AI Complexity Score. Rovo analyzes the codebase, compares the new feature to thousands of historical Pull Requests, and grades its complexity based on the actual number of files and APIs that will be touched. With deterministic grading, teams confidently pivot to continuous flow (pulling the highest-value Directive next) rather than debating artificial capacity constraints.

4. Daily Stand-up

  • Before (Product Management): Developers go around the room giving manual status updates ("What I did yesterday, what I am doing today, any blockers").
  • After (AI-Augmented): Strategic Unblocking. Rovo automatically compiles a daily digest of merged code, active PRs, and CI/CD testing failures before the meeting. Because the administrative status is already known, the Stand-up transforms into a 5-minute strategic huddle where the Scrum Master focuses entirely on unblocking the architectural or business constraints flagged by the AI.

5. Sprint Review & System Demo

  • Before (Product Management): Developers spend hours preparing environments and manually clicking through the UI to demonstrate new features to stakeholders.
  • After (AI-Augmented): Automated Value Demonstration. Claude Code and the CI/CD pipeline autonomously generate localized preview environments and record Playwright testing videos for every completed feature. Stakeholders receive a flawless, deterministic demonstration of the exact business value that was delivered, backed by automated quality metrics.

6. Sprint Retrospective

  • Before (Product Management): Subjective discussions about team morale and process friction, often relying on recency bias and sticky notes.
  • After (AI-Augmented): Data-Driven Flow Optimization. The PMO utilizes AI-generated DORA metrics (see below) to objectively identify where the SDLC bottlenecks occurred during the sprint. The retrospective becomes a powerful, evidence-based session on how to tune the AI guardrails and system prompts to eliminate friction for the next iteration.

The Shift to Flow Velocity (DORA Metrics)

One of the most liberating aspects of AI-Augmented Product Engineering for leadership is the shift in how success is measured. Rather than measuring "Velocity" based on subjective, imaginary Story Points, leadership shifts to measuring deterministic Flow Metrics using the industry-standard DORA framework.
When Claude Code is rapidly accelerating feature development, DORA metrics provide the PMO with the ultimate source of truth:
  1. 1.
    Deployment Frequency (Speed): How often the organization successfully releases code to production.
  2. 2.
    Lead Time for Changes (Speed): The exact time it takes a Context Directive to move from a developer's IDE to production.
  3. 3.
    Change Failure Rate (Quality): The percentage of deployments causing a failure in production. If AI prompts begin to drift, this metric mathematically alerts the PMO to tighten the guardrails.
  4. 4.
    Time to Restore Service (Quality): How fast the system can recover from a production failure.
By embracing these metrics, the PMO is no longer managing arbitrary estimates. They are managing a high-performance, deterministic engine of continuous value delivery.

Open Governance Questions for SDD

While the framework for Spec-Driven Development (SDD) is clear, tactically implementing it within the enterprise requires active organizational alignment. The PMO and Engineering Leadership must continuously evaluate the following open governance questions as the transformation matures:
  • Where should the "Spec Path" reference live? Does it belong as a custom field on the Jira Story, a linked Confluence page, or an automated comment driven by the CI/CD pipeline?
  • Who owns the final sign-off? Does the Product Manager alone sign off on the Requirements Spec before AI generation begins, or does it require a joint sign-off with the Tech Lead?
  • How do we handle Non-Functional Requirements (NFRs)? Do NFRs like SLAs and audit logging live centrally in the Feature-level Design Plan, or must they be repeated explicitly in every downstream Story?
  • Is our Definition of Ready (DoR) absolute? Do we strictly require zero "Open Questions" in the Requirements Spec before a Story enters a Sprint, or is there an acceptable threshold for discovery during execution?

20
AI-Augmented Product Engineering through Spec-Driven Development (SDD)

The transition to AI-Augmented Product Engineering requires a structural bridge between executive ambition and agile execution. This document defines how we use Spec-Driven Development (SDD) as the operational engine to translate SAFe Features and Stories into highly deterministic, AI-executable work.

20.1 1. SDD as the Architectural Blueprint

Before any code is written, a detailed specification must be established as the single source of truth. Rather than building from vague Jira descriptions, both human engineers and AI agents build strictly against a reviewed, machine-readable blueprint.
Because AI agents write code exponentially faster than humans, a perfectly bounded spec prevents them from rapidly building the wrong thing.
SDD does not replace SAFe or Jira. Feature and Story formats remain identical. SDD simply inserts a structured artifact layer between "Story written" and "Code implemented."

20.2 2. The Artifacts: Bridging the Gap

To execute a Jira Story deterministically, SDD introduces four repository-based artifacts. For the example Story: "As an underwriter, I want to see a risk score...", SDD generates:
| Artifact | Purpose | Example Content | | :--- | :--- | :--- | | Requirements Spec | Removes business ambiguity | Problem: Underwriters manually assess risk, causing 3-day delays.
Users: Commercial property underwriters.
Goals: Display auto-generated score + factors.
Non-goals: No manual override in this story.
Open questions: "What happens if the scoring API times out?" (Must be answered before proceeding). | | Design Plan | Removes technical ambiguity | Affected modules: Underwriting Workbench UI, Rating Engine.
Data model: Add risk_score (int) and contributing_factors (array).
API contract: GET /submissions/{id}/risk-score.
Security: Data classified as underwriting-sensitive. | | Task List | Removes execution ambiguity | 1) Add DB fields for score/factors. 2) Build API endpoint. 3) Build UI component. 4) Add loading/error states for API timeout. 5) Write unit + integration tests. | | Validation Checklist | Proves the work matches the spec | Confirms: Score displays within 2 seconds (tested), timeout scenario handled per spec, no undocumented fields added, all acceptance criteria verified. |
Important
The Human Review Gate: The most significant process change is that a strict human review checkpoint exists after the Requirements Spec and Design Plan are generated, but before any code is written. This catches misunderstandings early and cheaply before AI agents hallucinate complex architectures.

20.3 3. Concrete Example: Transforming Features and Stories

When integrating SDD into the Agile Release Train (ART), WSJF prioritization and standard SAFe taxonomy do not change. What changes is the precision required before execution. Adjectives become testable statements, and technical details are extracted into formal plans.

Feature: Automated Commercial Property Risk Scoring

| SAFe Component | How We Write It Today (Traditional) | How We Write It with SDD (AI-Augmented) | | :--- | :--- | :--- | | Benefit Hypothesis | "We believe automating risk scoring will reduce underwriter review time." (Vague) | "We believe that if underwriters receive an auto-generated score, quote turnaround time will drop from 3 days to same-day, measured by cycle time in the workbench." (Measurable) | | Acceptance Criteria | "Risk score should be accurate and easy to understand." (Subjective Adjectives) | "Given a commercial property submission with complete data, When risk scoring runs, Then a score between 0–100 with 3 top contributing factors is returned within 5 seconds." (Given/When/Then) | | Non-Functional Req. | Rarely captured at Feature level; assumed. | Explicitly required: response time SLAs, data retention rules, audit logging for regulatory review. | | Dependencies | Called out in free text, e.g., "depends on data team." | The SDD Design Plan artifact explicitly lists affected systems/modules, making dependencies traceable, not just narrative. |

Story Execution

| Story Component | How We Write It Today (Traditional) | How We Write It with SDD (AI-Augmented) | | :--- | :--- | :--- | | Non-Goals | Not typically written — assumed via conversation. | Explicit line item: "This story does not include manual score override capability." (Bounds the AI from scope creep). | | Definition of Ready | Story has AC, is estimated, and dependencies are noted informally. | Story must additionally have: an approved Requirements Spec artifact with zero open questions remaining. | | Technical Detail | Usually absent from the Story; discovered during sprint via conversation with developers. | A linked Design Plan captures data model changes, API contracts, and security handling upfront. | | Definition of Done | Code merged, tests pass, story demoed. | Same, plus a Validation Checklist artifact confirming each acceptance criterion was verified against generated code with zero undocumented drift. |

20.4 4. The SDLC Ripple Effect

Prototyping SDD artifacts before a sprint accelerates the entire SDLC:
  • PI Planning Evolution: By Day 1 of PI planning, teams already have API contracts drafted by Claude Code based on the SDD Specs. Dependencies aren't discovered on the fly; the AI surfaces them instantly.
  • Continuous Discovery: Product Engineers interact with AI to simulate and refine features asynchronously, drastically reducing the hours spent in group Backlog Refinement meetings.
  • Deterministic Merge: The traditional "QA Handoff" is eliminated. Headless AI agents in the CI/CD pipeline use the Validation Checklist to run deep semantic validation on every Pull Request, checking if the code fulfills the actual business intent of the original spec.

20.5 5. Integration with the Shared Context Ecosystem

SDD is the primary input mechanism for the organization's Shared Context Engine. It interacts directly with the core transformation pillars:
  • Shared Context (Concept): The SDD artifacts (Requirements Spec, Design Plan) are the literal "Shared Context." By moving away from human-only Jira descriptions to machine-readable SDD specs, we eliminate manual translation hops. The exact intent the Product Owner writes is the exact intent the AI uses to generate tests downstream.
  • Engine Setup (Establishing): When a Product Owner uses Atlassian Rovo to ideate a feature, Rovo's primary output must be the formal Requirements Spec. Similarly, when the Tech Lead uses Claude to refine the story, Claude is instructed to output the Design Plan. SDD provides the structured formats that the engine is expected to output.
  • State Continuity: To prevent prompt drift across product teams, the SDD artifacts act as the ultimate "Context Digest." When the ticket moves from Product to Development, the developer does not need to guess the architectural constraints; they simply feed the SDD Design Plan into their local Claude Code environment, instantly re-establishing the exact state of the feature.
  • Engine Build (Development): The organization's AGENTS.md (the repository-level directive) must be updated to enforce SDD. The system prompt should explicitly state: "Before generating any code, you must locate and read the SDD Requirements Spec and Design Plan for the active Jira ticket." This ensures the Engine is mechanically bound to the SDD process.
  • Agile Evolution (Future of Agile): SDD fundamentally alters standard Agile ceremonies. PI Planning is no longer a manual dependency mapping exercise because the SDD Design Plans highlight all cross-team API and schema impacts upfront. Backlog Refinement shrinks from a 2-hour debate into a 20-minute review of the AI-generated Requirements Specs. Furthermore, measuring the speed at which these SDD specs are successfully merged allows the PMO to transition fully to DORA flow metrics rather than subjective Story Points.

20.6 6. Active Governance Standards

Tactically implementing SDD relies on these enterprise governance standards:
  1. 1.
    The "Spec Path" Reference: The formal link to the SDD artifacts (the "Spec Path") lives as a dedicated custom field directly on the Jira Story. This ensures the CI/CD pipeline and the AI Enablement Engine can programmatically trace from code back to the Jira issue without parsing informal comments.
  2. 2.
    Final Sign-off Authority: The Requirements Spec requires a joint sign-off from both the Product Manager and the Tech Lead before AI code generation begins. The PM owns the business intent, while the Tech Lead validates the technical feasibility.
  3. 3.
    Handling Non-Functional Requirements (NFRs): NFRs (e.g., SLAs, audit logging) are captured centrally in the Feature-level Design Plan. Downstream Stories inherit these requirements programmatically rather than repeating them, reducing manual overhead while maintaining compliance.
  4. 4.
    The Absolute Definition of Ready (DoR): The DoR is absolute. We strictly require zero "Open Questions" in the Requirements Spec before a Story enters a Sprint. Any ambiguity that a human would normally figure out during development will cause an AI agent to hallucinate or stall, making upfront resolution mandatory.