Chapter 02 · The Pipeline
The whole pipeline, in one diagram
Everything on one page: how a Jira Story flows through the agents to a shipped release, the Jira ticket lifecycle the agents key off, and the autonomous defect loop that closes bugs without a human in the path for 2 - HIGH / 3 - MEDIUM issues.

Nodes are colored by who owns them — the seven named agents, the humans, and the Atlassian artifacts they read from and write back to. Source of truth is Jira + Confluence in the JAGGAER instance; the same statuses, priorities, and labels used everywhere else in this playbook appear here verbatim.

Human
Jira
Confluence
Builder
Reviewer
Tester
Fixer
Shipper
Maintainer
InfoSec
Gate / decision
End-to-end · Story → Ship
FlowFrom a Jira Story to a shipped release
Humans write requirements and approve the critical decisions; agents do the work in between. Thick arrows trace the main path; dashed arrows are feedback loops and conditional branches. The only hard human gates (👤) are the Ready for Work gate, the merge approval, and the release sign-off.
scroll to zoom · drag to pan
flowchart TB classDef human fill:#F8FAFC,stroke:#475569,color:#0F172A,stroke-width:1.5px; classDef hgate fill:#F1F5F9,stroke:#1E293B,color:#0F172A,stroke-width:2.5px; classDef jira fill:#EFF6FF,stroke:#1D4ED8,color:#1E3A8A,stroke-width:1.5px; classDef conf fill:#F0FDFA,stroke:#0D7490,color:#134E4A,stroke-width:1.5px; classDef builder fill:#ECFEFF,stroke:#0E7490,color:#155E75,stroke-width:1.5px; classDef reviewer fill:#FDF2F8,stroke:#BE185D,color:#9D174D,stroke-width:1.5px; classDef tester fill:#F0FDF4,stroke:#15803D,color:#166534,stroke-width:1.5px; classDef shipper fill:#FFF7ED,stroke:#C2410C,color:#9A3412,stroke-width:1.5px; classDef maintainer fill:#F1F5F9,stroke:#475569,color:#334155,stroke-width:1.5px; classDef infosec fill:#FEF2F2,stroke:#B91C1C,color:#991B1B,stroke-width:1.5px; classDef fixer fill:#EEF2FF,stroke:#4338CA,color:#3730A3,stroke-width:1.5px; classDef gate fill:#FFFBEB,stroke:#B45309,color:#92400E,stroke-width:2px; subgraph INTAKE["01 · Intake — Jira + Confluence"] direction TB PM([👤 Product Manager
writes the Story]):::human EPIC[Epic · scope + Definition of Done]:::jira PRD[PRD · Confluence
Product Management · PSF]:::conf ARCH[Architecture / ADRs · Confluence
Infra & Architecture · IAA]:::conf STORY[Story · status Open
acceptance criteria]:::jira EPIC --> STORY PRD --> STORY ARCH --> STORY PM --> STORY end GATE{{"Ready for Work?
AC complete · Priority set · chain resolves"}}:::gate STORY ==> GATE subgraph DEV["02 · Development — BUILDER"] direction TB CODER[BUILDER picks up the queue
Priority → ticket# → epic#]:::builder IMPL[Implements end-to-end
branch · code · tests]:::builder PR[Opens PR]:::builder CODER ==> IMPL ==> PR end GATE ==>|"→ In Progress"| CODER subgraph REVIEW["03 · Code Review — REVIEWER + INFOSEC"] direction TB CRITIC[REVIEWER auto-reviews every PR
bugs · style · coverage]:::reviewer SENT[INFOSEC deep review
auth · payments · data paths]:::infosec end PR ==>|"→ In Review"| CRITIC PR -.->|"sensitive paths"| SENT HUMAN([👤 Human reviews + approves]):::hgate CRITIC ==> HUMAN SENT -.-> HUMAN MERGE[/👤 Merge to main/]:::hgate HUMAN ==>|"approved"| MERGE subgraph QA["04 · Test & QA — TESTER"] direction TB VAL[TESTER · Validator mode
re-run tests · confirm regression gone]:::tester NIGHT[TESTER · nightly regression
files Defects on failure]:::tester end MERGE ==> VAL VAL ==>|"→ Resolved"| DONE[Ticket Resolved / Closed]:::jira subgraph REL["05 · Release — SHIPPER"] direction TB SHIP[SHIPPER · Friday
changelog · tag · Confluence · close Jira version]:::shipper end DONE ==> SHIP SHIP ==> RELEASED([👤 Released]):::hgate JAN[MAINTAINER · weekly scan
deps · dead code · CVEs]:::maintainer subgraph DEFECT["Cross-cutting · Autonomous Defect Loop — FIXER"] direction TB FILE[Defect filed · status Open
repro · failing test · regression commit · AC]:::tester DGATE{{"Defect Ready for Work
+ label JAI_Agent"}}:::gate MEND[FIXER fixes root cause
opens PR · ticket → In Review]:::fixer FILE --> DGATE -.->|"URGENT real-time · others 7am"| MEND end NIGHT -.-> FILE JAN -.-> FILE MEND -.->|"back to review"| CRITIC
🔒
Human gate on URGENT. 2 - HIGH / 3 - MEDIUM defects flow through Reviewer auto-review fully autonomously; 1 - URGENT fix PRs always require human approval before merge, and Tester only resolves them after that approval.
📘
Confluence spaces. The context chain reads from Confluence as well as Jira: PSF is the Product Management space (PRDs), IAA is the Infrastructure & Architecture space (ADRs), and DEVKB is the Development Knowledgebase (engineering patterns) — all in the JAGGAER Confluence at jira-jaggaer.atlassian.net/wiki.
The states agents key off
State machineJira ticket lifecycle
Agents read and write Jira status through the Jira MCP, and resolve the full context chain — Story & Epic from Jira, PRD & Architecture from Confluence MCP — at the gate. The Ready for Work gate is the single rule that stops Builder or Fixer from acting on a half-written ticket. Each transition is labelled with the agent that drives it. Humans own Open, Resolved / Closed, and unblocking On Hold.
scroll to zoom · drag to pan
stateDiagram-v2 classDef gate fill:#FFFBEB,stroke:#B45309,color:#92400E,stroke-width:1.5px; classDef done fill:#F0FDF4,stroke:#15803D,color:#166534,stroke-width:1.5px; classDef hold fill:#FEF2F2,stroke:#B91C1C,color:#991B1B,stroke-width:1.5px; [*] --> Open Open: Open · drafting AC (humans only) Open --> RFW: PM / Eng · AC + Priority set RFW: Ready for Work · the gate note right of RFW Gate check resolves the context chain via MCP: Story + Epic — Jira MCP PRD (PSF) + Architecture (IAA) — Confluence MCP end note RFW --> InProgress: BUILDER / FIXER picks up InProgress: In Progress · agent owns it InProgress --> InReview: BUILDER / FIXER opens PR InReview: In Review · REVIEWER + human InReview --> Resolved: REVIEWER + human approve · TESTER validates Resolved: Resolved / Closed (Done) Resolved --> [*] RFW --> OnHold: agent flags missing info InProgress --> OnHold: blocked / open question OnHold: On Hold · agents stop & wait OnHold --> RFW: unblocked by a human class RFW gate class Resolved done class OnHold hold
↪
Guardrails: agents act only inside the Ready for Work → In Progress → In Review band. They never touch Open, never re-open Resolved / Closed, and never push past On Hold.